:root{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#ededed;background:#000;font-synthesis:none;font-weight:400;font-size:16px;letter-spacing:0;color-scheme:dark;--surface:#1b1b1b;--muted:#999;--border:#303030;--app-height:100dvh;--app-top:0px}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit;letter-spacing:0}button{cursor:pointer;color:inherit}button,input,textarea,select{-webkit-tap-highlight-color:transparent}button{touch-action:manipulation}button:disabled{opacity:.38;cursor:default}button:active:not(:disabled){opacity:.7}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid #a0bcf0;outline-offset:3px}button{border:0;background:transparent}h1,h2,h3,p{margin:0}h1,h2{font-weight:600}a{color:inherit}svg{flex-shrink:0}input,textarea{min-width:0;color:inherit;border:0;background:transparent}input{font-size:16px}textarea{resize:none}select{min-width:0;color:inherit;background:transparent;border:0}option{background:#202020}small{font-size:12px}pre{white-space:pre-wrap;overflow-wrap:anywhere;font:12px/1.55 Consolas,monospace;margin:0}.muted{color:var(--muted)}.spin{animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.app-shell{position:fixed;top:var(--app-top);left:50%;transform:translate(-50%);height:var(--app-height);width:100%;max-width:590px;background:#000;display:flex;flex-direction:column;padding-top:env(safe-area-inset-top);overflow:hidden}.icon-button{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:44px;height:44px;border-radius:50%;padding:0;color:#dedede;transition:opacity .16s,background .16s}.round-button{background:linear-gradient(#242424,#1b1b1b);border:1px solid #333;box-shadow:inset 0 1px 1px #ffffff09;width:44px;height:44px}.home-header{display:flex;align-items:center;justify-content:space-between;flex-shrink:0;padding:20px 16px 10px;height:88px;border-bottom:1px solid #101010}.home-brand{text-align:center;min-width:0}.home-brand h1{font-size:21px;line-height:1.25}.home-brand>span{font-size:11px;color:#8a8a8a;display:flex;gap:4px;align-items:center;justify-content:center;margin-top:3px}.status-dot{display:inline-block;width:6px;height:6px;flex-shrink:0;border-radius:50%;background:#737373}.status-dot.connected{background:#64b98a}.view-tabs{display:flex;justify-content:space-between;align-items:center;padding:12px 16px 13px;flex-shrink:0}.view-tabs>div{display:flex;gap:12px}.view-tabs>div>button{height:36px;padding:0 16px;border:1px solid #292929;border-radius:24px;background:#1a1a1a;font-size:15px}.view-tabs>div>button.active{background:#efefef;color:#111;border-color:#eee;font-weight:500}.small-round{width:40px;height:40px}.project-list{flex:1;min-height:0;overflow:auto;padding:8px 10px 16px;scrollbar-width:thin;scrollbar-color:#555 transparent}.project-group{margin-bottom:18px}.project-path{display:flex;align-items:center;padding:0 3px 0 10px;gap:2px;min-height:45px}.folder-toggle{display:flex;align-items:center;gap:9px;flex:1;min-width:0;padding:0;height:44px;text-align:left;font-size:15px}.folder-toggle>span{flex:1;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.folder-toggle>svg:last-child{color:#7c7c7c}.project-path>.icon-button{color:#7c7c7c}.collapsed-chevron{transform:rotate(-90deg)}.project-chats{display:flex;flex-direction:column;gap:2px}.chat-list-row{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:46px;padding:12px;text-align:left;width:100%;font-size:15px;line-height:1.5;border-radius:22px}.chat-list-row>span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}.chat-list-row.latest{background:#111}.flat-chat{border-radius:0;min-height:65px;border-bottom:1px solid #151515}.flat-chat small{display:block;color:var(--muted);margin-top:2px}.list-empty{display:flex;align-items:center;justify-content:center;gap:12px;color:#999;padding:40px 14px;font-size:15px}.home-bottom{display:flex;gap:10px;align-items:center;padding:10px 16px calc(16px + env(safe-area-inset-bottom));flex-shrink:0;background:#000}.search-field{display:flex;align-items:center;gap:8px;min-width:0;flex:1;background:linear-gradient(#242424,#1a1a1a);border:1px solid #353535;box-shadow:inset 0 1px 1px #ffffff0c;border-radius:28px;height:44px;padding:0 13px;color:#999}.search-field input{width:100%;outline:0!important;font-size:16px}.search-field input::placeholder{color:#8c8c8c}.search-field .icon-button{width:28px;height:36px}.home-bottom>.round-button{width:44px;height:44px}.home-bottom>.round-button:last-child{background:#272727;color:#bbb}.chat-header{display:flex;gap:13px;align-items:center;padding:14px 12px 12px 16px;border-bottom:1px solid #121212;flex-shrink:0;height:82px}.back-button{width:46px;height:46px}.chat-heading{flex:1;min-width:0}.chat-heading h1{font-size:14px;font-weight:500;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;line-height:1.5}.chat-heading p{font-size:10px;color:#888;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:1px}.chat-header>.icon-button:last-child{width:32px}.chat-body{min-height:0;flex:1;overflow:auto;padding:6px 16px 20px;scrollbar-width:thin;scrollbar-color:#666 transparent}.chat-empty{height:100%;min-height:160px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;color:#888}.chat-empty h2{font-size:19px;color:#dedede}.chat-empty span{font-size:12px;overflow-wrap:anywhere;text-align:center}.message{margin:12px 0 17px;min-width:0}.message-text{font-size:15px;line-height:1.47;white-space:pre-wrap;overflow-wrap:anywhere}.message.user{padding:10px 13px;border-radius:20px;background:#181818;margin-left:32px}.message.assistant .copy-button{color:#8d8d8d;margin:5px 0 -3px -10px;width:38px;height:32px}.tool-row{color:#969696;margin:14px 0;font-size:14px}.tool-row summary{list-style:none;display:flex;align-items:center;gap:9px;min-height:40px;cursor:pointer}.tool-row summary::-webkit-details-marker{display:none}.tool-row summary>span{min-width:0;flex:1}.tool-row summary small{display:block;color:#dedede;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-top:5px}.tool-row summary>svg:last-child{margin-right:auto;transition:transform .15s}.tool-row[open] summary>svg:last-child{transform:rotate(90deg)}.tool-row pre{max-height:320px;overflow:auto;padding:12px;background:#111;border-top:1px solid #292929;color:#bcbcbc}.file-change{border:1px solid #272727;border-radius:14px;background:#101010;padding:2px 12px}.file-change summary{min-height:50px}.agent-working{display:flex;align-items:center;gap:8px;font-size:13px;color:#999;margin:12px 0}.composer-area{flex-shrink:0;padding:4px 12px calc(12px + env(safe-area-inset-bottom));z-index:3;background:#000}.composer{position:relative;display:flex;flex-direction:column;border:1px solid #353535;border-radius:28px;background:linear-gradient(#1e1e1e,#191919);box-shadow:inset 0 1px 1px #ffffff09;padding:12px 10px 6px;min-height:100px}.composer textarea{width:100%;padding:3px 4px 7px;min-height:34px;max-height:130px;line-height:1.45;font-size:16px;outline:0!important;background:transparent}.composer textarea::placeholder{color:#898989}.composer-tools{display:flex;align-items:center;gap:0;min-height:44px}.composer-tools .icon-button{width:40px;height:44px}.model-control{display:flex;align-items:center;justify-content:flex-end;gap:7px;flex:1;min-width:0;padding:0 5px;color:#c8c8c8}.model-control select{max-width:135px;width:auto;font-size:12px;text-overflow:ellipsis;-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:6px 0;cursor:pointer;outline:0}.model-ring{display:block;flex-shrink:0;width:18px;height:18px;border:2px solid #393939;border-top-color:#747474;border-radius:50%}.composer-tools .send-button{margin-left:5px;width:40px;height:40px;border-radius:50%;background:#eee;color:#111}.composer-tools .send-button:disabled{background:#363636;color:#969696;opacity:.65}.composer-tools .recording{color:#f16e69;background:#3d1a1a}.permission-anchor{position:relative}.permission-menu{position:absolute;bottom:58px;left:-43px;width:min(320px,calc(100vw - 32px));padding:9px 8px;background:#1b1b1b;border:1px solid #3a3a3a;box-shadow:0 6px 30px #0008,inset 0 1px 1px #ffffff08;border-radius:30px;z-index:9}.permission-menu:after{content:"";position:absolute;bottom:-9px;left:65px;width:17px;height:17px;background:#1b1b1b;border-bottom:1px solid #3a3a3a;border-right:1px solid #3a3a3a;transform:rotate(45deg);border-radius:0 0 4px}.permission-menu button{display:flex;align-items:center;text-align:left;gap:15px;width:100%;padding:15px 13px;border-radius:18px}.permission-menu button>span{flex:1;min-width:0}.permission-menu strong{font-weight:400;display:block;font-size:14px;line-height:1.35}.permission-menu small{display:block;font-size:12px;line-height:1.4;color:#9c9c9c;margin-top:4px}.permission-menu button>svg:last-child{width:18px}.connection-banner{display:flex;align-items:center;gap:10px;background:#1c1c1c;border:1px solid #353535;border-radius:21px;padding:12px;margin-bottom:10px}.connection-light{background:#e69336;box-shadow:0 0 0 7px #e6933612;width:8px;height:8px;border-radius:50%;margin:0 7px;flex-shrink:0}.connection-banner>div{flex:1;min-width:0}.connection-banner small{color:#b59670;font-size:10px}.connection-banner p{font-size:13px;line-height:1.35;margin-top:4px}.connection-banner button{color:#f5a850;font-size:11px;padding:8px 0}.approval-banner{border:1px solid #3b3b3b;background:#1b1b1b;border-radius:20px;padding:13px;margin-bottom:10px}.approval-banner>div:first-child{display:flex;gap:9px;align-items:center;font-size:14px}.approval-banner pre{max-height:80px;overflow:auto;color:#aaa;padding:8px 0}.approval-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:5px}.approval-actions button{min-height:36px;font-size:13px}.approval-actions .solid-button{min-height:36px;padding:8px 16px}.scroll-bottom{position:absolute;bottom:155px;left:calc(50% - 20px);width:40px;height:40px;z-index:2}.sheet-backdrop{position:absolute;top:0;right:0;bottom:0;left:0;z-index:20;background:#000a;display:flex;align-items:flex-end;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.sheet{background:#191919;border:1px solid #343434;border-bottom:0;border-radius:28px 28px 0 0;width:100%;max-height:calc(100% - 24px);overflow:auto;padding:9px 16px calc(24px + env(safe-area-inset-bottom));box-shadow:0 -15px 50px #0007;animation:sheet-in .18s ease-out;outline:0}@keyframes sheet-in{0%{transform:translateY(30px);opacity:.5}to{transform:translateY(0);opacity:1}}.sheet-grip{width:32px;height:4px;border-radius:4px;background:#545454;margin:0 auto 7px}.sheet-header{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}.sheet-header h2{font-size:18px;min-width:0;overflow-wrap:anywhere}.sheet-form{display:flex;flex-direction:column;gap:12px}.sheet-form>label:not(.search-field){font-size:13px;color:#bdbdbd;margin-top:5px}.sheet-form>input{border:1px solid #383838;background:#111;border-radius:12px;padding:13px;width:100%;min-height:46px}.solid-button,.secondary-button{display:flex;align-items:center;justify-content:center;gap:8px;min-height:44px;border-radius:24px;padding:10px 18px;font-size:14px;font-weight:500}.solid-button{background:#eee;color:#111}.secondary-button{border:1px solid #404040;background:#252525;color:#eee}.text-button{min-height:40px;display:flex;align-items:center;justify-content:center;gap:8px;font-size:13px;color:#bcbcbc;padding:6px;text-decoration:none}.menu-list>button,.upload-row{display:flex;align-items:center;gap:14px;min-height:54px;width:100%;text-align:left;padding:8px 10px;font-size:15px}.menu-list>button>span,.upload-row>span{flex:1;min-width:0;overflow-wrap:anywhere}.menu-list>button>svg:last-child{color:#8c8c8c}.menu-divider{height:1px;background:#313131;margin:8px 0}.account-row{display:flex;align-items:center;gap:12px;padding:12px 10px}.avatar{height:36px;width:36px;background:#393939;border-radius:50%;display:flex;align-items:center;justify-content:center}.account-row strong{font-size:14px;font-weight:500}.account-row small{color:#aaa;display:block;margin-top:3px}.inline-error{display:flex;gap:8px;justify-content:space-between;align-items:center;font-size:13px;line-height:1.45;color:#ffb2a8;padding:10px 12px;overflow-wrap:anywhere;background:#331b18;border-radius:12px;margin-bottom:10px}.inline-error .icon-button{width:28px;height:28px}.toast{position:absolute;bottom:85px;left:16px;right:16px;display:flex;align-items:center;justify-content:space-between;border:1px solid #454545;border-radius:16px;background:#222;padding:10px 12px;font-size:13px;z-index:30}.sheet-loading{display:flex;align-items:center;justify-content:center;gap:8px;padding-top:16px;color:#bbb;font-size:12px}.github-account{display:flex;align-items:center;gap:10px}.github-account strong{flex:1;font-size:15px}.repo-search{flex:auto;background:#111}.repo-list>button{display:flex;align-items:center;gap:11px;width:100%;min-height:56px;text-align:left;border-bottom:1px solid #303030;padding:9px 2px}.repo-list>button>span{flex:1;min-width:0;overflow-wrap:anywhere;font-size:14px}.repo-list strong{display:block;font-weight:500;font-size:14px}.repo-list small{display:block;color:#aaa;margin-top:3px;font-size:11px}.provider-status{display:flex;gap:7px;align-items:center;font-size:13px;color:#bbb}.terminal-output{background:#080808;border:1px solid #333;border-radius:8px;padding:12px;max-height:300px;overflow:auto;min-height:100px}.file-editor{font:12px/1.6 Consolas,monospace;background:#0b0b0b;border:1px solid #333;padding:12px;border-radius:8px;height:320px}.deployment-row{border-bottom:1px solid #333;padding:9px 0}.deployment-row summary{display:flex;list-style:none;align-items:center;gap:9px;min-height:44px;cursor:pointer;font-size:14px}.deployment-row summary>span{flex:1}.deployment-row pre{padding:10px 0;color:#aaa;max-height:220px;overflow:auto}.upload-row{cursor:pointer}.upload-row input{position:absolute;width:1px;height:1px;opacity:0}.loading-screen{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;min-height:100dvh;padding:24px;color:#aaa;font-size:14px;text-align:center}.loading-screen>p{max-width:350px;overflow-wrap:anywhere}.access-gate h1{font-size:28px;color:#eee}.access-gate form{width:100%;max-width:360px;text-align:left}.access-gate .inline-error{margin:0}@media(min-width:500px){.home-header{padding:25px 24px 14px;height:100px}.home-brand h1{font-size:24px}.view-tabs{padding:15px 24px}.view-tabs>div>button{height:42px;font-size:17px;padding:0 20px}.round-button{width:52px;height:52px}.project-list{padding:12px 16px 20px}.project-path{min-height:55px}.folder-toggle{font-size:18px}.chat-list-row{min-height:60px;font-size:18px;padding:15px 16px}.project-group{margin-bottom:28px}.home-bottom{padding-left:24px;padding-right:24px}.home-bottom>.round-button{width:52px;height:52px}.search-field{height:52px}.chat-header{height:100px;padding:18px 20px;gap:17px}.chat-heading h1{font-size:17px}.chat-heading p{font-size:12px}.chat-body{padding:8px 24px 24px}.message-text{font-size:18px}.composer-area{padding-left:18px;padding-right:18px}.composer{padding:13px 14px 8px}.composer textarea{font-size:18px}.composer-tools .icon-button{width:44px;height:44px}.model-control select{font-size:14px;max-width:170px}.model-ring{height:22px;width:22px}.composer-tools .send-button{width:44px;height:44px}.tool-row{font-size:16px}.permission-menu{width:355px}.permission-menu strong{font-size:16px}.permission-menu small{font-size:14px}}.composer:not(.composer-expanded){flex-direction:row;align-items:center;min-height:48px;padding:2px 8px;border-radius:28px}.composer:not(.composer-expanded) textarea{flex:1;width:0;order:2;padding:7px 5px;height:36px!important;min-height:36px;max-height:36px}.composer:not(.composer-expanded) .composer-tools{display:contents}.composer:not(.composer-expanded) .composer-tools>.icon-button{order:3}.composer:not(.composer-expanded) .composer-tools>.icon-button:first-child{order:1}.composer:not(.composer-expanded) .permission-anchor,.composer:not(.composer-expanded) .model-control,.composer:not(.composer-expanded) .send-button{display:none}html,body,.app-shell{touch-action:manipulation}.attachment-caption>span>small{display:block;margin-top:3px}.provider-summary{display:flex;flex-direction:column;gap:9px;padding:8px 0}.provider-summary>small{color:#999}.provider-summary>p,.provider-summary>code{font-size:14px;overflow-wrap:anywhere}.provider-summary .secondary-button{margin-top:8px}.provider-success{display:flex;align-items:center;gap:8px;font-size:13px;color:#91d3ab}.settings-admin{display:flex;align-items:center;gap:12px;min-height:60px;text-align:left;border-top:1px solid #383838;padding:12px 2px}.settings-admin>span{flex:1;font-size:15px}.settings-admin small{display:block;color:#999;margin-top:4px}.admin-model-list>div{display:flex;align-items:center;gap:10px;border-bottom:1px solid #353535;padding:8px 0;min-height:58px}.admin-model-list>div>span{min-width:0;flex:1;overflow-wrap:anywhere;font-size:14px}.admin-model-list small{display:block;color:#999;margin-top:3px}.disabled-model>span{opacity:.45}.model-picker-button{display:flex;align-items:center;gap:5px;min-width:0;padding:6px 0;font-size:12px}.model-picker-button>span{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;max-width:110px}.model-picker-button small{color:#999;font-size:11px}.model-popover{position:absolute;bottom:calc(100% + 10px);left:8px;right:8px;display:flex;flex-direction:column;gap:10px;background:#202020;border:1px solid #3c3c3c;border-radius:20px;padding:16px;z-index:8;box-shadow:0 5px 25px #0008}.model-popover>label{font-size:13px;color:#aaa}.model-popover>select{width:100%;min-height:40px;background:#111;border-radius:8px;padding:8px;font-size:14px}.attachment-view{margin-top:8px;max-width:100%;min-width:0}.attachment-view>img,.attachment-view>video{display:block;width:100%;max-height:240px;object-fit:contain;border-radius:8px;background:#0c0c0c}.attachment-view>audio{display:block;width:100%;height:40px}.attachment-caption{display:flex;align-items:center;gap:8px;min-width:0;font-size:12px;padding:6px 0}.attachment-caption>span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.attachment-caption small{color:#999}.attachment-caption a{display:flex;align-items:center;justify-content:center;width:32px;height:32px}.pending-attachments{display:flex;gap:8px;overflow-x:auto;max-height:140px;margin-bottom:8px}.pending-attachments>div{position:relative;flex:0 0 150px;background:#161616;border-radius:8px;padding:6px}.pending-attachments .attachment-view{margin:0}.pending-attachments img,.pending-attachments video{height:68px}.pending-attachments>div>.icon-button{position:absolute;top:2px;right:2px;width:28px;height:28px;background:#262626}.voice-panel{display:flex;flex-direction:column;align-items:center;gap:20px;padding:16px 0}.voice-panel>p{font-size:15px;text-align:center;overflow-wrap:anywhere}.voice-panel .voice-record{width:96px;height:96px;background:#303030;border:1px solid #444}.voice-panel .voice-record.recording{background:#492323;color:#ffb1a7}.voice-panel>.approval-banner{width:100%;margin:0}.voice-panel>.secondary-button{width:100%}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
