:root{color-scheme:dark;--bg:#11131d;--panel:#1b1e2b;--soft:#252938;--line:#30364a;--text:#e2e7f3;--muted:#909db7;--accent:#5365ef;--green:#78baa1;--radius:16px;font-family:Inter,Segoe UI,system-ui,sans-serif;font-synthesis:none}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font-size:14px;line-height:1.55}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:wait;opacity:.55}a{color:inherit;text-underline-offset:4px}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid #9daaff;outline-offset:3px}[hidden]{display:none!important}button{border:1px solid var(--line);border-radius:9px;background:var(--soft);color:var(--text);padding:10px 15px}button:hover{filter:brightness(1.12)}input,textarea,select{width:100%;border:1px solid var(--line);border-radius:9px;background:#151925;color:var(--text);padding:12px 13px;outline:none}input:focus,textarea:focus,select:focus{border-color:#7587ff}input::placeholder,textarea::placeholder{color:#78859e}textarea{resize:vertical;min-height:75px}label{display:block;font-size:12px;color:#b8c2d9;margin:18px 0 7px}h1,h2,h3,p{margin-top:0}h2{font-size:25px;line-height:1.3;letter-spacing:-.5px}h3{font-size:16px}.muted,.fineprint{color:var(--muted)}.fineprint{font-size:12px;line-height:1.8}.eyebrow{font-size:10px;letter-spacing:1.8px;color:#94a0be;font-weight:600}.brand{display:flex;gap:12px;align-items:center;text-decoration:none;font-size:21px;font-weight:700;letter-spacing:-.5px}.brand small{font-size:8px;letter-spacing:1.7px;display:block;color:#91a0c5;margin-top:2px;font-weight:500}.brand-mark{display:grid;place-items:center;width:37px;height:41px;border-radius:12px;background:#29345b;color:#a7b3ff;font-size:21px;font-weight:700}.primary{background:var(--accent);border-color:transparent;color:#fff}.wide{width:100%;display:flex;justify-content:space-between;align-items:center;margin-top:25px}.text-button{border:0;background:none;color:#a9b5e6;padding:12px 0}.error{color:#f4b9b5;background:#422a31;border:1px solid #74404b;border-radius:9px;padding:11px 14px;font-size:13px}.global-error{margin:0 0 16px}.boot{min-height:100dvh;display:grid;align-content:center;justify-items:center;gap:15px;color:var(--muted)}.auth-layout{min-height:100dvh;display:grid;grid-template-columns:1fr 1fr}.auth-intro{display:flex;flex-direction:column;justify-content:space-between;gap:65px;padding:42px clamp(28px,5vw,100px);background:radial-gradient(ellipse at 10% 30%,#263052 0,transparent 70%),#141924;border-right:1px solid var(--line)}.auth-intro h1{font-size:clamp(38px,4vw,65px);line-height:1.1;letter-spacing:-2.5px;margin:20px 0}.auth-intro p{max-width:410px;color:#aab7d0;font-size:16px;line-height:1.9}.intro-points{display:grid;gap:12px;margin-top:35px;color:#c1cce3;font-size:13px}.auth-intro nav{display:flex;gap:20px;flex-wrap:wrap;font-size:11px;color:var(--muted)}.auth-main{display:grid;place-items:center;padding:40px 30px}.auth-card{width:100%;max-width:390px}.auth-tabs{display:flex;padding:5px;border-radius:12px;background:#0e111b;margin-bottom:34px;border:1px solid #252b3e;gap:5px}.auth-tabs button{flex:1;background:none;border:0;font-size:13px}.auth-tabs button.active{background:#29324f}.auth-card h2{margin-bottom:10px}.auth-card .muted{font-size:13px}.auth-card .fineprint{margin:22px 0 0}.workspace{display:grid;grid-template-columns:208px 252px minmax(0,1fr);height:100dvh;overflow:hidden}.rail{display:flex;flex-direction:column;padding:30px 15px 16px;background:#0f121b;border-right:1px solid var(--line);gap:38px}.rail .brand{font-size:18px;gap:8px}.rail nav{display:grid;gap:10px}.rail nav button{text-align:left;background:none;border:0;color:#b6c1d9;display:flex;gap:12px;align-items:center;font-size:12px;padding:13px 12px}.rail nav button span{font-size:18px;width:18px}.rail nav button.active{background:#252f4c;color:#eef1ff}.rail-bottom{margin-top:auto;display:grid;gap:16px}.rail-bottom>a{font-size:10px;color:var(--muted);padding-left:9px}.profile-button{display:flex;gap:10px;align-items:center;text-align:left;background:none;border-width:1px 0 0;border-radius:0;padding:18px 3px 0;font-size:12px}.avatar{display:grid;place-items:center;width:30px;height:30px;flex:0 0 30px;border-radius:50%;background:#344066;color:#dbe2ff;font-size:13px}.library{background:#181b26;border-right:1px solid var(--line);display:flex;flex-direction:column;min-height:0;padding:26px 15px}.library-header{display:flex;align-items:center;justify-content:space-between;font-size:12px;margin-bottom:23px}.icon-button{padding:6px 10px;min-width:32px;background:transparent;border-color:transparent;font-size:21px;line-height:1}.library #library-content{overflow:auto;flex:1}.library-foot{border-top:1px solid var(--line);padding-top:17px;margin-top:18px;color:var(--muted);font-size:11px}.library-foot button{font-size:11px}.list-item{display:block;width:100%;text-align:left;border:1px solid transparent;background:none;padding:11px 12px;font-size:12px;margin-bottom:5px}.list-item.active{background:#2a3047;border-color:#3c4665}.list-item small{display:block;color:#93a1bd;font-size:10px;margin-top:5px}.main-area{min-width:0;display:flex;flex-direction:column;padding:35px 30px 22px;background:#151821;min-height:0}.page-header{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:28px}.page-header h1{font-size:23px;letter-spacing:-.6px;margin:10px 0 0}.connection{font-size:10px;color:var(--green);white-space:nowrap}.page-content{flex:1;min-height:0;display:flex;flex-direction:column}.empty{flex:1;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:30px;color:var(--muted)}.empty-symbol{display:grid;place-items:center;width:65px;height:65px;border:1px solid #3e4966;background:#20273b;color:#a1aff0;border-radius:21px;font-size:30px;margin-bottom:23px}.empty h2{color:#e1e8f8;font-size:25px}.empty p{max-width:470px;line-height:1.9}.empty button{margin-top:15px}.chat-panel{display:flex;flex-direction:column;flex:1;min-height:0;border:1px solid var(--line);border-radius:var(--radius);background:#1a1e29;overflow:hidden}.chat-toolbar{padding:16px 21px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:15px}.chat-toolbar strong{font-size:13px}.chat-toolbar small{display:block;font-size:10px;color:var(--muted);margin-top:4px}.toolbar-actions{display:flex;gap:7px;align-items:center}.toolbar-actions button{font-size:11px;padding:8px 10px}.chat-select{max-width:300px;padding:8px 10px;font-size:12px;min-width:0}.messages{flex:1;min-height:0;overflow:auto;padding:20px max(22px,calc((100% - 840px)/2));overscroll-behavior:contain}.message{padding:18px 0;border-bottom:1px solid #2a3040}.message header{display:flex;gap:10px;align-items:center;font-size:12px;color:#c9d3ea}.message header time{margin-left:auto;font-size:10px;color:#8593ad;white-space:nowrap}.message .message-text{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;color:#dbe3f3;margin:11px 0 0;line-height:1.8}.message.mine .message-text{background:#2a3148;border-radius:12px;padding:13px 17px}.message-model{color:#93a3c3;font-size:10px;font-weight:400}.message-composer{padding:15px 18px;border-top:1px solid var(--line)}.compose-field{display:flex;align-items:flex-end;gap:10px;background:#242a3b;border:1px solid #3c4661;border-radius:14px;padding:10px}.compose-field textarea{border:0;background:none;resize:none;min-height:55px;max-height:180px;padding:7px;font-size:13px}.send-button{width:40px;height:40px;flex:0 0 40px;border-radius:50%;padding:0;font-size:21px;background:var(--accent);border:0}.composer-note{font-size:10px;margin:9px 4px 0;color:#8493ae}.pill{display:inline-block;font-size:10px;background:#283e37;color:#a8d8be;padding:4px 8px;border-radius:7px}.pill.offline{background:#3c3330;color:#dcbfa1}.card{border:1px solid var(--line);border-radius:var(--radius);background:#1b1f2b;padding:25px;margin-bottom:18px}.card p{color:var(--muted);font-size:13px;line-height:1.8}.card h2{font-size:20px}.card h3{margin:0 0 12px}.card .actions{display:flex;gap:10px;flex-wrap:wrap}.account-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;overflow:auto;align-content:start}.account-grid .card{margin:0}.account-grid .span2{grid-column:1/-1}.device-line{display:flex;gap:12px;align-items:center;justify-content:space-between;padding:14px 0;border-top:1px solid var(--line)}.device-line strong{font-size:12px}.device-line small{display:block;font-size:10px;color:var(--muted)}.device-line button{font-size:11px}.remote-status{padding:12px 20px;background:#20293a;border-bottom:1px solid var(--line);font-size:11px;color:#b3c5e5}.remote-run{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 17px;background:#29334b;font-size:11px}.remote-run button{padding:6px 12px;color:#ffc0bd;background:#61343c;border:0;font-size:11px}.remote-controls{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:10px 4px 0}.remote-controls select{font-size:11px;padding:6px 9px;width:auto;max-width:220px}.remote-controls span{font-size:10px;color:var(--muted)}dialog{color:var(--text);background:#1b2130;border:1px solid #46516e;border-radius:18px;padding:30px;max-width:480px;width:calc(100% - 30px);box-shadow:0 25px 120px #0008}dialog::backdrop{background:#050814b3;backdrop-filter:blur(5px)}.modal-close{position:absolute;right:12px;top:9px}dialog h2{padding-right:25px;font-size:22px}dialog p{font-size:13px;color:var(--muted)}dialog .actions{display:flex;justify-content:flex-end;gap:8px;margin-top:25px}.secret-code{padding:17px;border:1px solid #4e5b80;background:#101622;border-radius:10px;overflow-wrap:anywhere;color:#dce6ff;font-family:ui-monospace,Consolas,monospace;font-size:13px}.noscript{padding:25px}.status-note{padding:8px 0;color:#9dc8b4;font-size:12px}.small-label{display:block;color:var(--muted);font-size:10px;margin:20px 10px 8px}.scroll-area{overflow:auto;min-height:0}
@media(min-width:1500px){.main-area{padding:43px 50px 30px}.workspace{grid-template-columns:220px 270px minmax(0,1fr)}}
@media(max-width:1100px){.workspace{grid-template-columns:175px 205px minmax(0,1fr)}.rail{padding:25px 10px 15px}.rail .brand{font-size:15px}.brand-mark{width:31px;height:35px;font-size:18px}.main-area{padding:25px 19px 16px}.account-grid{grid-template-columns:1fr}.account-grid .span2{grid-column:auto}.toolbar-actions{flex-wrap:wrap;justify-content:flex-end}.messages{padding:12px 20px}}
@media(max-width:760px){.auth-layout{grid-template-columns:1fr}.auth-intro{border:0;padding:24px 22px;gap:20px}.auth-intro>div{display:none}.auth-intro nav{display:none}.auth-main{padding:22px 24px 40px;align-items:start}.auth-card{max-width:440px}.workspace{grid-template-columns:1fr;grid-template-rows:auto auto minmax(0,1fr);overflow:hidden}.rail{padding:9px 14px;flex-direction:row;align-items:center;justify-content:space-between;border-right:0;border-bottom:1px solid var(--line);gap:12px}.rail .brand{font-size:15px}.rail .brand small,.rail-bottom{display:none}.rail nav{display:flex;gap:3px}.rail nav button{font-size:0;padding:10px;gap:0;border-radius:8px}.rail nav button span{font-size:20px}.rail nav button.active{box-shadow:0 0 0 1px #495378}.library{border-right:0;border-bottom:1px solid var(--line);padding:9px 13px;gap:7px;min-height:61px;max-height:145px}.library-header{margin:0;min-height:26px;flex:0 0 auto}.library #library-content{display:flex;gap:7px;flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;flex:0 0 auto;max-height:57px}.list-item{white-space:nowrap;margin:0;padding:7px 11px;width:auto;max-width:200px;overflow:hidden;text-overflow:ellipsis;font-size:11px}.list-item small{display:none}.library-foot{display:none}.main-area{padding:15px 12px 9px;min-height:0}.page-header{margin-bottom:14px;gap:7px}.page-header h1{font-size:18px;margin-top:5px}.eyebrow{font-size:8px;letter-spacing:1.4px}.connection{font-size:8px}.chat-toolbar{padding:11px 12px;gap:9px;flex-wrap:wrap}.chat-toolbar strong{font-size:12px}.toolbar-actions{gap:5px}.toolbar-actions button{font-size:10px;padding:7px 8px}.chat-select{max-width:190px}.messages{padding:8px 15px}.message{padding:15px 0}.message .message-text{font-size:13px}.message header time{font-size:8px}.message-composer{padding:10px 9px}.compose-field textarea{font-size:14px;min-height:55px}.composer-note{font-size:9px}.remote-controls{gap:6px}.remote-controls select{max-width:145px}.card{padding:19px}.empty{padding:20px 13px}.empty h2{font-size:22px}.empty p{font-size:13px}.account-grid{gap:12px;padding-bottom:8px}dialog{padding:27px 21px}.remote-status{padding:9px 12px;font-size:10px}}
@media(prefers-reduced-motion:no-preference){.boot .brand-mark{animation:pulse 1.2s ease-in-out infinite}@keyframes pulse{50%{opacity:.4}}}
.workspace.account-view{grid-template-columns:208px minmax(0,1fr)}.legal-links{font-size:10px;color:var(--muted);padding-left:9px;line-height:2}@media(min-width:1500px){.workspace.account-view{grid-template-columns:220px minmax(0,1fr)}}@media(max-width:1100px){.workspace.account-view{grid-template-columns:175px minmax(0,1fr)}}@media(max-width:760px){.workspace.account-view{grid-template-columns:1fr;grid-template-rows:auto minmax(0,1fr)}.auth-intro nav{display:flex;font-size:10px;gap:12px}.workspace.account-view .page-content{overflow:auto}}

/* The connected workspace uses the same quiet three-column layout as the app. */
:root{--bg:#15171e;--panel:#1b1e26;--soft:#252934;--line:#323744;--text:#dce4f1;--muted:#93a0b7;--accent:#4d61ee}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.page-heading,.header-connection{display:flex;align-items:center;gap:15px;min-width:0}.page-heading>div:last-child{min-width:0}.page-header h1{font-size:19px;margin-top:7px}.header-connection{gap:12px}.header-connection select{width:auto;max-width:235px;font-size:11px;padding:7px 10px;background:transparent}.mobile-actions{display:none}.main-area{padding:27px 23px 19px}.page-header{margin-bottom:23px;min-height:46px}.rail{background:#101319;gap:30px;padding-top:30px}.rail nav button{padding:14px 10px;font-size:11px}.rail .brand{font-size:18px}.brand-mark{width:34px;height:38px}.rail .brand-mark svg{max-width:26px}.library{background:#191c24;padding:26px 14px 18px}.library-header{margin-bottom:13px;gap:10px;font-size:12px}.library-close,.library #library-close{font-size:20px;line-height:1;padding:4px}.library-new{margin-bottom:18px;background:#303d86;border-color:#3c4892;font-size:11px;text-align:left;padding:11px 13px}.library-section-label{font-size:8px;letter-spacing:1.3px;color:#8e9ab4;margin:15px 9px}.folder-title{display:flex;align-items:center;gap:9px;width:100%;padding:9px 7px;background:none;border-color:transparent;text-align:left;font-size:11px;color:#b1bfd6}.folder-title span{font-size:16px;color:#8c9bb8}.folder-title.selected{color:#e0e8f9}.project-chats{margin:1px 0 15px}.project-chats .list-item{display:flex;gap:8px;align-items:center;font-size:10px;padding:10px 10px}.project-chats .list-item span:last-child{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.library-foot{font-size:10px;line-height:1.8}.library #library-close{display:none}.drawer-shade{position:fixed;inset:0;z-index:35;background:#03050ab8;border:0;border-radius:0;backdrop-filter:blur(3px)}
.remote-workbench{display:grid;grid-template-columns:minmax(0,1fr);flex:1;min-height:0;gap:12px}.remote-workbench.tree-visible{grid-template-columns:minmax(0,1fr) 300px}.desktop-chat{background:#1b1e26;border-radius:15px}.remote-toolbar{border:0;padding:17px 20px 13px;gap:13px}.remote-toolbar>strong{font-weight:500;font-size:13px}.remote-toolbar .chat-synced-title{font-size:10px;color:#8f9cb5;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}.remote-toolbar>button{border-color:transparent;background:transparent;font-size:10px;color:#9ba8c1;white-space:nowrap;padding:7px}.desktop-chat .remote-status{font-size:9px;border:0;background:transparent;color:#91a491;padding:0 21px 9px;line-height:1.7}.desktop-chat .remote-status.permission-note{color:#c5b07f}.desktop-chat .remote-run{margin:0 20px 8px;border:1px solid #3b4767;border-radius:8px;padding:8px 12px}.remote-run small{display:block;color:#a7b5d2;font-size:9px;margin-top:4px}.desktop-chat .messages{padding:18px max(23px,calc((100% - 790px)/2)) 8px}.desktop-chat .message{border:0;margin:0 0 24px;padding:0}.desktop-chat .message header{font-size:10px;font-weight:400;gap:8px}.desktop-chat .message header .avatar{width:22px;height:22px;flex-basis:22px;font-size:10px}.desktop-chat .message header time{font-size:8px}.desktop-chat .message .message-text{line-height:1.9;margin-top:9px;font-size:14px;white-space:normal}.desktop-chat .message.mine{margin-left:12%;margin-bottom:28px}.desktop-chat .message.mine header{display:none}.desktop-chat .message.mine .message-text{background:#2a3040;border-radius:17px;padding:12px 17px;white-space:pre-wrap}.message-text p{margin:0 0 9px}.message-text h3{font-size:16px;margin:16px 0 8px}.message-text ul{padding-left:22px;margin:8px 0 14px}.message-text li{margin:5px 0}.message-text code{font-family:ui-monospace,Consolas,monospace;font-size:.91em;background:#11151e;border:1px solid #30394c;border-radius:4px;padding:1px 4px}.message-text pre{background:#11151e;border:1px solid #30394c;border-radius:10px;padding:14px;overflow:auto;white-space:pre;font-size:12px}.message-text pre code{border:0;padding:0;background:transparent}.desktop-chat .empty{min-height:240px}.desktop-chat .empty-symbol{border:0;background:none;font-size:34px;margin-bottom:8px}.desktop-chat .empty h2{font-size:25px;font-weight:500}.desktop-chat .empty p{font-size:12px;max-width:410px}
.pc-composer{border:0;padding:9px 20px 12px}.composer-context{display:flex;align-items:center;gap:13px;color:#b9c5dc;font-size:10px;margin:0 10px 9px;min-height:23px}.context-select{display:flex;align-items:center;gap:6px;margin:0;font-size:10px;max-width:45%;color:inherit}.context-select select{border:0;background:transparent;width:auto;max-width:100%;padding:1px 16px 1px 0;font-size:10px}.context-device{font-size:10px;color:#9eaac3;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.context-assistant{margin-left:auto;color:#a5b1c9;font-size:9px}.composer-shell{position:relative;background:#282d39;border:1px solid #414b61;border-radius:20px;padding:10px 12px 8px}.composer-shell>textarea{width:100%;border:0;background:transparent;resize:none;min-height:70px;max-height:200px;padding:9px 3px 16px;font-size:13px;line-height:1.6}.composer-shell>textarea:focus{outline:0}.composer-bottom{display:flex;align-items:center;gap:9px;min-width:0;min-height:40px}.composer-bottom button,.composer-bottom select{border:0;background:transparent}.composer-icon{padding:3px 7px;font-size:25px;line-height:1;min-width:28px;color:#dce5f5}.composer-access{display:flex;align-items:center;gap:6px;min-width:0;margin:0;color:#b8c5db;max-width:200px}.composer-access select{width:auto;max-width:100%;font-size:10px;padding:5px 3px;color:inherit}.composer-access:has(select[value="full"]){color:#dba473}.composer-tree{font-size:9px;color:#9eacc4;display:flex;align-items:center;gap:5px;white-space:nowrap;padding:7px 4px}.model-trigger{display:flex;align-items:center;justify-content:flex-end;gap:4px;margin-left:auto;font-size:10px;padding:7px 3px;color:#d5e0f5;min-width:0;max-width:40%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.model-trigger small{font-size:9px;color:#93a3c4}.composer-bottom .send-button{background:#3c4d9c;font-size:22px;width:35px;height:35px;flex-basis:35px;color:#cad5fa;flex-shrink:0}.stop-button{width:35px;height:35px;border-radius:50%;background:#a94f58!important;color:#ffe5e7;flex:0 0 35px;padding:0;font-size:15px}.composer-feedback{font-size:9px;color:#8c9bb8;padding-left:8px;margin:7px 0 0;min-height:13px}.composer-menu{position:absolute;bottom:58px;width:min(335px,calc(100% - 20px));padding:18px;background:#1d2432;border:1px solid #46516c;border-radius:13px;box-shadow:0 12px 70px #0008;z-index:20;max-height:min(510px,65dvh);overflow:auto}.composer-menu h3{font-size:12px;margin:0 0 12px}.composer-menu label{margin:13px 0 6px;font-size:10px}.composer-menu select{font-size:11px;padding:9px}.composer-menu p{font-size:10px;color:#9eabc3;line-height:1.8;margin:12px 0 0}.composer-menu button{font-size:10px;margin-top:14px}.model-menu{right:10px}.tools-menu{left:10px}.agent-tree{min-width:0;border:1px solid var(--line);border-radius:15px;background:#1a1f29;display:flex;flex-direction:column;min-height:0;overflow:hidden}.agent-tree>header{display:flex;gap:10px;align-items:center;justify-content:space-between;padding:19px 17px 11px;border-bottom:1px solid #2a3243}.agent-tree h2{font-size:12px;margin:7px 0 0;font-weight:500}.agent-tree>p{color:#8e9bb3;font-size:9px;line-height:1.8;margin:13px 17px}.tree-nodes{overflow:auto;padding:15px 24px 25px;background-image:radial-gradient(#3c465e 1px,transparent 1px);background-size:20px 20px;min-height:0;flex:1}.workflow-node{padding:13px 14px;background:#242b3b;border:1px solid #4e5e80;border-radius:11px;position:relative;max-width:260px;margin:0 auto}.workflow-node.running,.workflow-node.waiting{border-color:#9aabed;box-shadow:0 0 0 2px #7186d52b}.workflow-node.done{border-color:#5c987f}.workflow-node strong{font-size:11px;font-weight:500;display:block;margin-top:4px}.workflow-type{font-size:7px;letter-spacing:1px;color:#9daeca}.workflow-node p,.workflow-node small{font-size:8px;line-height:1.8;color:#a4b1cb;margin:7px 0 0;overflow-wrap:anywhere}.workflow-node small{display:block}.workflow-state{position:absolute;right:9px;top:7px;font-size:7px;color:#b4c7ff}.workflow-connector{text-align:center;color:#8eabda;padding:6px;font-size:25px;line-height:1}
@media(min-width:1500px){.workspace{grid-template-columns:186px 245px minmax(0,1fr)}.workspace.account-view{grid-template-columns:186px minmax(0,1fr)}.main-area{padding:31px 25px 20px}}
@media(min-width:761px) and (max-width:1250px){.workspace{grid-template-columns:172px 210px minmax(0,1fr)}.remote-workbench.tree-visible{grid-template-columns:minmax(0,1fr)}.agent-tree{position:absolute;right:25px;top:105px;bottom:25px;width:320px;z-index:24;box-shadow:-20px 0 80px #0006}.composer-tree span{display:none}.composer-access{max-width:150px}.composer-access select{font-size:9px}.model-trigger{font-size:9px}.model-trigger small{display:none}.header-connection select{max-width:170px}.connection{display:none}}
@media(max-width:760px){
  body{font-size:14px}.workspace,.workspace.account-view{display:block;height:100dvh;min-height:0;position:relative;overflow:hidden}.workspace .main-area{height:100%;min-height:0;padding:9px 0 0}.workspace .page-header{min-height:45px;margin:0 12px 9px;gap:7px}.page-heading{gap:6px}.page-header .eyebrow{display:none}.page-header h1{font-size:13px;letter-spacing:-.2px;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:160px}.mobile-actions{display:flex;gap:1px;align-items:center}.mobile-actions .icon-button{min-width:40px;min-height:44px;padding:6px;font-size:20px}.header-connection{gap:0;min-width:0;max-width:140px}.header-connection select{max-width:132px;font-size:9px;padding:8px 6px;border:0;overflow:hidden;text-overflow:ellipsis}.connection{display:none}.workspace .page-content{flex:1;min-height:0}.workspace .rail{display:none;position:fixed;left:0;top:0;bottom:0;width:260px;max-width:calc(100vw - 42px);z-index:45;padding:29px 16px calc(17px + env(safe-area-inset-bottom));flex-direction:column;align-items:stretch;justify-content:flex-start;border-right:1px solid #394154;gap:30px}.workspace.navigation-open .rail{display:flex}.rail .brand{font-size:20px;gap:11px}.rail .brand small{display:block}.rail nav{display:grid;gap:9px}.rail nav button{font-size:13px;gap:12px;min-height:48px;padding:12px;text-align:left}.rail nav button span{font-size:20px;width:20px}.rail-bottom{display:grid;margin-top:auto}.rail-bottom>a,.rail-bottom .legal-links{font-size:11px}.profile-button{min-height:48px;font-size:13px}.workspace .library{display:none;position:fixed;left:0;top:0;bottom:0;width:315px;max-width:calc(100vw - 42px);z-index:45;max-height:none;min-height:0;padding:24px 17px calc(17px + env(safe-area-inset-bottom));border-right:1px solid #394154;flex-direction:column;gap:0}.workspace.library-open .library{display:flex}.library #library-close{display:block;min-width:44px;min-height:44px}.library-header{font-size:14px;margin-bottom:13px;min-height:44px}.library-new{min-height:45px;font-size:13px}.workspace .library #library-content{display:block;overflow:auto;flex:1;max-height:none}.workspace .library .list-item{width:100%;max-width:none;font-size:13px;min-height:45px;padding:12px;margin-bottom:3px}.library .folder-title{font-size:12px;min-height:44px}.library-section-label{font-size:9px}.workspace .library-foot{display:block;line-height:1.8;font-size:11px}.desktop-chat{border:0;border-radius:0;background:#191c24;flex:1}.remote-workbench{display:flex;min-height:0;gap:0}.remote-toolbar{padding:9px 15px;min-height:40px}.remote-toolbar>strong{font-size:12px}.remote-toolbar .chat-synced-title{font-size:10px}.remote-toolbar>button{min-height:40px;font-size:10px;padding:5px}.desktop-chat .remote-status{padding:1px 15px 9px;font-size:9px;line-height:1.6}.desktop-chat .messages{padding:13px 17px 7px}.desktop-chat .message .message-text{font-size:14px;line-height:1.8}.desktop-chat .message.mine{margin-left:9%;margin-bottom:26px}.desktop-chat .message.mine .message-text{padding:11px 14px;font-size:14px}.desktop-chat .message header time{display:none}.desktop-chat .empty{padding:20px 15px;min-height:200px}.desktop-chat .empty h2{font-size:24px}.pc-composer{padding:8px 10px calc(7px + env(safe-area-inset-bottom));background:#191c24;flex:0 0 auto}.composer-context{margin:0 7px 6px;font-size:10px;gap:9px}.context-select{max-width:55%}.context-select select{font-size:10px}.context-device{display:none}.context-assistant{font-size:9px}.composer-shell{padding:8px 9px 5px;border-radius:19px}.composer-shell>textarea{min-height:62px;padding:6px 4px 10px;font-size:16px;max-height:135px}.composer-bottom{gap:4px;flex-wrap:wrap;min-height:44px}.composer-bottom button{min-height:42px}.composer-icon{min-width:32px;font-size:26px}.composer-access{max-width:125px;gap:3px}.composer-access select{font-size:9px;padding:10px 0;min-height:42px;max-width:107px}.composer-access>span[aria-hidden]{display:none}.composer-tree{font-size:17px;padding:4px 5px;min-width:34px}.composer-tree span{display:none}.model-trigger{font-size:9px;max-width:calc(100% - 225px);padding:6px 1px;min-width:52px;overflow:hidden;display:block;text-align:right;white-space:normal;line-height:1.4}.model-trigger small{display:none}.composer-bottom .send-button,.composer-bottom .stop-button{min-height:36px;width:36px;height:36px;flex-basis:36px;font-size:23px}.composer-bottom .stop-button{font-size:14px}.composer-feedback{font-size:8px;margin-top:5px;line-height:1.5}.composer-menu{bottom:58px;width:calc(100% - 16px);padding:17px;max-height:58dvh}.composer-menu label,.composer-menu p{font-size:12px}.composer-menu select{font-size:16px;min-height:44px}.composer-menu h3{font-size:14px}.composer-menu button{min-height:44px;font-size:12px}.remote-workbench.tree-visible{display:flex}.agent-tree{position:fixed;inset:calc(8px + env(safe-area-inset-top)) 8px calc(8px + env(safe-area-inset-bottom));width:auto;z-index:30;border-radius:14px;box-shadow:0 0 0 20px #0508119c}.agent-tree>header{padding:14px 17px}.agent-tree>header button{min-height:44px;min-width:44px}.agent-tree h2{font-size:15px}.agent-tree>p{font-size:11px}.workflow-node strong{font-size:13px}.workflow-type{font-size:9px}.workflow-node p,.workflow-node small{font-size:10px}.chat-panel:not(.desktop-chat){border-radius:0;border-left:0;border-right:0}.global-error{margin:0 10px 8px;font-size:12px}.account-grid{padding:4px 12px 18px}.auth-main input,.auth-main textarea,.auth-main select,dialog input,dialog textarea,dialog select{font-size:16px;min-height:44px}.auth-tabs button,.auth-main button,dialog button{min-height:44px}.toolbar-actions button{min-height:40px}.message-composer textarea{font-size:16px}
}
@media(max-width:370px){.page-header h1{max-width:112px;font-size:12px}.header-connection{max-width:100px}.header-connection select{max-width:100px}.model-trigger{max-width:75px}.composer-access{max-width:110px}.composer-access select{max-width:95px;font-size:8px}.composer-bottom{gap:2px}}
.pc-update-notice{padding:0 21px 12px;font-size:10px;color:#c9d4f4}.pc-update-notice a{text-underline-offset:3px}.composer-access select option:disabled{color:#7f899e}.composer-menu button:disabled{cursor:not-allowed}
@media(max-width:760px){.composer-bottom{display:grid;grid-template-columns:32px minmax(80px,1.1fr) 34px minmax(49px,.9fr) 36px;gap:4px}.composer-bottom .model-trigger{max-width:100%;width:100%;min-width:0;white-space:normal}.composer-bottom .composer-access{max-width:100%;width:100%}.composer-bottom .composer-access select{width:100%;max-width:100%;min-width:0}.composer-bottom .composer-tree{min-width:0;justify-content:center}.composer-bottom .send-button,.composer-bottom .stop-button{width:36px;min-width:36px}.composer-tree svg{width:16px;height:16px;flex:none}}
@media(max-width:370px){.composer-bottom{grid-template-columns:30px minmax(70px,1.1fr) 28px minmax(40px,.9fr) 34px;gap:2px}.composer-bottom .send-button,.composer-bottom .stop-button{width:34px;min-width:34px}}
.tree-nodes{display:flex;flex-direction:column;gap:17px}.workflow-node{width:100%;flex:none}
.remote-mode-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:4px 0 10px;padding:8px 12px;border:1px solid var(--line);border-radius:10px;background:#181d2a}.remote-mode-row label{margin:0;font-size:11px;color:var(--muted)}.remote-mode-row select{width:auto;max-width:100%;min-height:38px;font-size:12px;flex:1;padding:7px 10px}.remote-mode-row #pc-mode-status{flex-basis:100%;font-size:11px;color:#bac8e8}.remote-mode-row:has(select[value="desktop"]){border-color:#6474e9}
@media(max-width:760px){.remote-mode-row{padding:8px 10px;gap:5px 9px;margin:4px 0 8px}.remote-mode-row select{min-height:44px;font-size:16px;flex-basis:180px}.remote-mode-row #pc-mode-status{font-size:10px}}
@media(max-width:760px){.composer-bottom{grid-template-columns:44px minmax(60px,1.1fr) 44px minmax(44px,.9fr) 44px;gap:4px}.composer-bottom #pc-send,.composer-bottom #pc-stop,.composer-bottom #pc-tools-trigger,.composer-bottom #pc-tree-toggle{width:44px;height:44px;min-width:44px;min-height:44px;padding:0;justify-content:center}.composer-bottom #pc-model-trigger{width:100%;min-width:44px;height:44px;min-height:44px}.composer-bottom #pc-access{min-height:44px}}
