:root{color-scheme:dark;--theme-page-bg: #0a0a0a;--theme-canvas-bg: #171717;--theme-sidebar-bg: #101010;--theme-surface-bg: #1d1d1d;--theme-surface-raised: #242424;--theme-surface-subtle: #151515;--theme-hover-bg: #252525;--theme-input-bg: #1d1d1d;--theme-text: #f4f4f4;--theme-text-strong: #ffffff;--theme-text-secondary: #a8a8a8;--theme-text-muted: #858585;--theme-placeholder: #8b8b8b;--theme-border: #303030;--theme-border-subtle: #262626;--theme-primary-bg: #f4f4f4;--theme-primary-fg: #090909;--theme-disabled-bg: #232323;--theme-disabled-fg: #666666;--theme-user-message-bg: #242424;--theme-user-message-text: #f4f4f4;--theme-code-bg: #2a2a2a;--theme-code-text: #f5f5f5;--theme-inline-code-bg: #2a2a2a;--theme-inline-code-text: #eeeeee;--theme-link: #69a9ff;--theme-link-hover: #91c0ff;--theme-danger: #ff7b7b;--theme-success: #74c991;--theme-overlay: rgba(0, 0, 0, .62);--theme-shadow: 0 18px 54px rgba(0, 0, 0, .46);--theme-scrollbar-track: #171717;--theme-scrollbar-thumb: #565656;--theme-scrollbar-thumb-hover: #6a6a6a;--theme-error-bg: #2b1717;--theme-diff-bg: #10201c;--theme-diff-line-bg: #15332c;color:var(--theme-text);background:var(--theme-page-bg);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Microsoft YaHei,sans-serif;line-height:1.5;text-rendering:optimizeLegibility}:root[data-theme=light]{color-scheme:light;--theme-page-bg: #f4f4f2;--theme-canvas-bg: #ffffff;--theme-sidebar-bg: #f1f1ef;--theme-surface-bg: #f7f7f5;--theme-surface-raised: #ffffff;--theme-surface-subtle: #f4f4f2;--theme-hover-bg: #e8e8e5;--theme-input-bg: #f1f1ef;--theme-text: #111111;--theme-text-strong: #050505;--theme-text-secondary: #5f5f5f;--theme-text-muted: #777777;--theme-placeholder: #777777;--theme-border: #d9d9d6;--theme-border-subtle: #e6e6e3;--theme-primary-bg: #111111;--theme-primary-fg: #ffffff;--theme-disabled-bg: #dededb;--theme-disabled-fg: #888888;--theme-user-message-bg: #eeeeec;--theme-user-message-text: #111111;--theme-code-bg: #ededeb;--theme-code-text: #202020;--theme-inline-code-bg: #e8e8e6;--theme-inline-code-text: #222222;--theme-link: #1264c5;--theme-link-hover: #084f9e;--theme-danger: #b3261e;--theme-success: #237a46;--theme-overlay: rgba(0, 0, 0, .22);--theme-shadow: 0 18px 54px rgba(0, 0, 0, .18);--theme-scrollbar-track: #ffffff;--theme-scrollbar-thumb: #b8b8b5;--theme-scrollbar-thumb-hover: #999996;--theme-error-bg: #fff1f1;--theme-diff-bg: #eafff9;--theme-diff-line-bg: #d9fbf4}*{box-sizing:border-box}body{margin:0;min-width:0;min-height:100vh;background:var(--theme-page-bg)}button,input,textarea,select{font:inherit}button{border:0;color:inherit;background:transparent;cursor:pointer}.theme-toggle{display:grid;width:44px;height:44px;flex:0 0 44px;place-items:center;border:1px solid var(--theme-border);border-radius:10px;background:var(--theme-surface-raised);color:var(--theme-text-secondary);box-shadow:none}.theme-toggle:hover{background:var(--theme-hover-bg);color:var(--theme-text-strong)}.theme-toggle:focus-visible{outline:2px solid var(--theme-link);outline-offset:2px}.phone-shell{position:relative;width:100%;max-width:480px;min-height:100vh;margin:0 auto;background:var(--theme-canvas-bg);overflow-x:hidden}.desktop-shell{min-width:960px;min-height:100vh;background:var(--theme-page-bg);color:var(--theme-text);overflow:hidden}.desktop-workspace{display:grid;grid-template-columns:292px minmax(0,1fr);min-height:100vh;background:var(--theme-page-bg)}.desktop-sidebar,.desktop-session-column{display:flex;min-width:0;min-height:100vh;max-height:100vh;flex-direction:column;overflow:hidden}.desktop-sidebar{border-right:1px solid var(--theme-border-subtle);background:var(--theme-sidebar-bg);padding:16px 12px 14px}.desktop-session-column{border-right:1px solid var(--theme-border-subtle);background:var(--theme-surface-subtle);padding:16px 12px 14px}.desktop-detail-pane{position:relative;min-width:0;min-height:100vh;max-height:100vh;overflow:hidden;background:var(--theme-canvas-bg)}.desktop-brand{display:grid;grid-template-columns:38px minmax(0,1fr);align-items:center;gap:10px;margin-bottom:14px;padding:4px 4px 8px}.desktop-brand-icon{display:grid;width:38px;height:38px;place-items:center;border-radius:10px;background:var(--theme-surface-bg);color:var(--theme-text)}.desktop-brand strong,.desktop-brand span{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.desktop-brand strong{font-size:16px;font-weight:700;line-height:1.2}.desktop-brand span{margin-top:2px;color:var(--theme-text-secondary);font-size:12px}.desktop-new-chat,.desktop-logout,.desktop-column-compose{display:inline-flex;width:100%;min-height:38px;align-items:center;justify-content:center;gap:8px;border-radius:8px;background:var(--theme-primary-bg);color:var(--theme-primary-fg);font-size:14px;font-weight:650}.desktop-logout{margin-top:8px;background:var(--theme-surface-raised);color:var(--theme-text);box-shadow:inset 0 0 0 1px var(--theme-border)}.desktop-sidebar-search,.desktop-session-search{display:flex;min-height:36px;align-items:center;gap:8px;border-radius:8px;background:var(--theme-surface-bg);padding:0 10px;color:var(--theme-text-muted)}.desktop-sidebar-search{margin:0 0 12px}.desktop-session-search{margin:12px 0 10px}.desktop-sidebar-search input,.desktop-session-search input{min-width:0;flex:1;border:0;outline:0;background:transparent;color:var(--theme-text);font-size:13px}.desktop-sidebar-scroll{display:grid;min-height:0;flex:1;align-content:start;gap:18px;overflow-y:auto;padding:4px 0 6px;scrollbar-width:thin}.desktop-sidebar-group-block,.desktop-sidebar-project-groups,.desktop-sidebar-dialog-list{display:grid;align-content:start}.desktop-sidebar-group-block{gap:7px}.desktop-sidebar-project-groups,.desktop-sidebar-dialog-list{gap:3px}.desktop-sidebar-title{padding:0 8px;color:var(--theme-text-muted);font-size:12px;font-weight:650}.desktop-sidebar-project-group{display:grid;gap:1px}.desktop-sidebar-project-header{display:flex;align-items:center;gap:6px;width:100%;min-height:30px;border-radius:8px;padding:4px 7px;color:var(--theme-text);font-family:Segoe UI Variable Text,Segoe UI,Microsoft YaHei UI,Microsoft YaHei,sans-serif;font-size:14px;line-height:20px;text-align:left}.desktop-sidebar-project-header .desktop-project-icon{width:16px;height:18px;flex-basis:16px}.desktop-sidebar-project-header .desktop-project-icon svg{width:16px;height:16px;stroke-width:1.7}.desktop-sidebar-project-name,.desktop-sidebar-session-title{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.desktop-sidebar-project-chevron{display:grid;flex:0 0 18px;width:18px;height:18px;place-items:center;color:var(--theme-text-secondary);opacity:0;transition:opacity .12s ease,transform .12s ease}.desktop-sidebar-project-header:hover .desktop-sidebar-project-chevron,.desktop-sidebar-project-header:focus-visible .desktop-sidebar-project-chevron{opacity:1}.desktop-sidebar-project-header:hover,.desktop-sidebar-project-group.selected>.desktop-sidebar-project-header,.desktop-sidebar-session-row:hover,.desktop-sidebar-session-row.selected{background:var(--theme-hover-bg)}.desktop-sidebar-session-list{display:grid;gap:1px;margin-top:-3px;margin-left:22px}.desktop-sidebar-session-row{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;width:100%;min-height:30px;border-radius:8px;padding:4px 7px;color:var(--theme-text);text-align:left}.desktop-sidebar-session-row.failed{grid-template-columns:minmax(0,1fr) auto}.desktop-sidebar-failed-icon{position:absolute;top:50%;left:-14px;display:grid;width:14px;height:14px;place-items:center;color:#ff4b4b;transform:translateY(-50%)}.desktop-sidebar-session-title{font-family:Segoe UI Variable Text,Segoe UI,Microsoft YaHei UI,Microsoft YaHei,sans-serif;font-size:14px;font-weight:400;line-height:1.25}.desktop-sidebar-session-row em,.desktop-sidebar-show-more,.desktop-sidebar-empty{color:var(--theme-text-muted);font-size:12px;font-style:normal;white-space:nowrap}.desktop-sidebar-session-row .spin{color:var(--theme-text-secondary)}.desktop-sidebar-show-more,.desktop-sidebar-empty{min-height:28px;padding:5px 7px;text-align:left}.desktop-sidebar-show-more{width:100%;border-radius:8px}.desktop-sidebar-show-more:hover{background:var(--theme-hover-bg);color:var(--theme-text-secondary)}.desktop-project-list,.desktop-thread-list{min-height:0;overflow-y:auto;scrollbar-width:thin}.desktop-project-list{display:grid;gap:3px;padding-top:2px}.desktop-project-row{display:grid;grid-template-columns:28px minmax(0,1fr) auto;align-items:center;gap:8px;width:100%;min-height:42px;border-radius:8px;padding:5px 7px;color:var(--theme-text);text-align:left}.desktop-project-row:hover,.desktop-project-row.selected,.desktop-thread-row:hover,.desktop-thread-row.selected{background:var(--theme-hover-bg)}.desktop-project-icon{display:grid;flex:0 0 28px;width:28px;height:28px;place-items:center;color:var(--theme-text-secondary)}.desktop-project-icon svg{width:18px;height:18px}.desktop-project-text{min-width:0}.desktop-project-text strong,.desktop-project-text small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.desktop-project-text strong{color:var(--theme-text);font-size:13px;font-weight:600}.desktop-project-text small{margin-top:2px;color:var(--theme-text-muted);font-size:11px}.desktop-project-row em{color:var(--theme-text-muted);font-size:12px;font-style:normal}.desktop-show-all{min-height:34px;margin-top:8px;border-radius:8px;color:var(--theme-text-muted);font-size:12px}.desktop-show-all:hover{background:var(--theme-hover-bg)}.desktop-sidebar-footer{display:flex;justify-content:flex-end;margin-top:8px;border-top:1px solid var(--theme-border-subtle);padding:10px 2px 0}.desktop-sidebar-footer .theme-toggle{width:34px;height:34px;flex-basis:34px;border-radius:8px}.desktop-column-header{display:grid;grid-template-columns:minmax(0,1fr) 34px;align-items:center;gap:10px;padding:2px 2px 0}.desktop-column-header strong,.desktop-column-header span{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.desktop-column-header strong{color:var(--theme-text);font-size:17px;font-weight:700}.desktop-column-header span{margin-top:3px;color:var(--theme-text-muted);font-size:12px}.desktop-column-header button{display:grid;width:34px;height:34px;place-items:center;border-radius:8px;color:var(--theme-text-secondary)}.desktop-column-header button:hover,.desktop-session-search button:hover{background:var(--theme-hover-bg)}.desktop-column-compose{min-height:36px;margin-bottom:8px;background:var(--theme-surface-raised);color:var(--theme-text);box-shadow:inset 0 0 0 1px var(--theme-border)}.desktop-thread-list{display:grid;align-content:start;gap:4px;padding-top:2px}.desktop-thread-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:9px;width:100%;min-height:60px;border-radius:9px;padding:8px 9px;color:var(--theme-text);text-align:left}.desktop-thread-row span{min-width:0}.desktop-thread-row strong,.desktop-thread-row small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.desktop-thread-row strong{font-size:14px;font-weight:620;line-height:1.25}.desktop-thread-row small{margin-top:5px;color:var(--theme-text-muted);font-size:12px}.desktop-thread-row em{color:var(--theme-text-muted);font-size:11px;font-style:normal;white-space:nowrap}.desktop-thread-row .session-status-failed,.session-status-failed{color:#d46a6a;font-weight:600}.desktop-empty-pane,.desktop-compose-pane{display:grid;min-height:100vh;place-items:center;padding:40px;background:var(--theme-canvas-bg)}.desktop-empty-pane>div{display:grid;justify-items:center;gap:12px;color:var(--theme-text);text-align:center}.desktop-empty-pane h1,.desktop-compose-pane h1{margin:0;color:var(--theme-text);font-size:30px;font-weight:680;line-height:1.1}.desktop-empty-pane p,.desktop-compose-pane p{margin:0;color:var(--theme-text-muted);font-size:14px}.desktop-empty-pane button{display:inline-flex;min-height:40px;align-items:center;justify-content:center;gap:8px;margin-top:4px;border-radius:8px;background:var(--theme-primary-bg);color:var(--theme-primary-fg);padding:0 16px;font-weight:650}.desktop-home-pane{display:flex;min-height:100vh;max-height:100vh;overflow-y:auto;background:var(--theme-canvas-bg);padding:64px 48px;scrollbar-width:thin;scrollbar-color:var(--theme-border) transparent}.desktop-home-content{display:grid;width:min(760px,100%);flex:0 0 auto;gap:26px;margin:auto}.desktop-home-header{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;border-bottom:1px solid var(--theme-border-subtle);padding-bottom:18px}.desktop-home-header h1{margin:0;color:var(--theme-text);font-size:24px;font-weight:680;line-height:1.2}.desktop-home-header p{margin:6px 0 0;color:var(--theme-text-muted);font-size:13px}.desktop-home-compose{display:inline-flex;min-height:38px;flex:0 0 auto;align-items:center;justify-content:center;gap:7px;border-radius:8px;background:var(--theme-primary-bg);color:var(--theme-primary-fg);padding:0 14px;font-size:14px;font-weight:650}.desktop-home-groups{display:grid;gap:22px}.desktop-home-group{display:grid;min-width:0;gap:4px}.desktop-home-group-title{display:flex;min-width:0;align-items:center;gap:8px;border-bottom:1px solid var(--theme-border-subtle);padding:0 8px 7px;color:var(--theme-text-secondary)}.desktop-home-group-title svg{flex:0 0 16px}.desktop-home-group-title span{min-width:0;overflow:hidden;color:var(--theme-text);font-size:14px;font-weight:600;text-overflow:ellipsis;white-space:nowrap}.desktop-home-group-title small{flex:0 0 auto;margin-left:auto;color:var(--theme-text-muted);font-size:12px}.desktop-home-session-list{display:grid;gap:2px}.desktop-home-session-row{display:grid;grid-template-columns:minmax(0,1fr) 58px 16px;align-items:center;gap:10px;width:100%;min-height:44px;border-radius:8px;padding:7px 10px;color:var(--theme-text);text-align:left}.desktop-home-session-row:hover,.desktop-home-session-row:focus-visible{background:var(--theme-hover-bg)}.desktop-home-session-row:focus-visible{outline:2px solid var(--theme-link);outline-offset:-2px}.desktop-home-session-title{min-width:0;overflow:hidden;font-family:Segoe UI Variable Text,Segoe UI,Microsoft YaHei UI,Microsoft YaHei,sans-serif;font-size:14px;font-weight:400;line-height:1.3;text-overflow:ellipsis;white-space:nowrap}.desktop-home-session-time,.desktop-home-session-live{display:flex;width:58px;align-items:center;justify-content:flex-end;color:var(--theme-text-muted);font-size:12px;white-space:nowrap}.desktop-home-session-row>svg{color:var(--theme-text-muted)}.desktop-compose-pane{align-content:center;grid-template-rows:minmax(0,1fr) auto;gap:28px}.desktop-compose-center{display:grid;justify-items:center;gap:10px;text-align:center}.desktop-compose-kicker{display:inline-flex;align-items:center;gap:7px;color:var(--theme-text-secondary);font-size:13px}.desktop-compose-input{display:grid;width:min(760px,100%);gap:10px}.desktop-prompt-box{display:grid;gap:10px;border:1px solid var(--theme-border);border-radius:14px;background:var(--theme-surface-bg);padding:12px}.desktop-prompt-box textarea{width:100%;min-height:98px;resize:vertical;border:0;outline:0;background:transparent;color:var(--theme-text);font-size:15px;line-height:1.55}.desktop-prompt-box textarea::placeholder{color:var(--theme-placeholder)}.desktop-prompt-actions{display:flex;align-items:center;justify-content:space-between;gap:10px}.desktop-prompt-actions button{display:inline-flex;min-height:36px;align-items:center;justify-content:center;gap:7px;border-radius:8px;background:var(--theme-surface-raised);color:var(--theme-text);padding:0 12px;font-size:13px}.desktop-prompt-actions .desktop-send-button{margin-left:auto;background:var(--theme-primary-bg);color:var(--theme-primary-fg);font-weight:700}.desktop-prompt-actions button:disabled{opacity:.48;cursor:default}.desktop-compose-error{color:var(--theme-danger);font-size:13px}.screen.desktop-detail-screen{--desktop-detail-gutter: min(7vw, 86px);--desktop-scrollbar-size: 10px;display:grid;grid-template-rows:auto minmax(0,1fr) auto;height:100vh;min-height:100vh;max-height:100vh;overflow:hidden;padding:0 var(--desktop-detail-gutter) 0;background:var(--theme-canvas-bg)}.desktop-detail-screen .floating-header{position:relative;top:auto;left:auto;width:100%;max-width:none;margin:0;transform:none}.desktop-detail-screen .desktop-title-header{display:flex;width:calc(100% + var(--desktop-detail-gutter) + var(--desktop-detail-gutter));height:45px;align-items:center;gap:8px;margin:0 calc(0px - var(--desktop-detail-gutter));padding:0 16px;border-bottom:1px solid var(--theme-border-subtle)}.desktop-detail-screen .desktop-title-block{display:grid;width:auto;max-width:min(100%,520px);height:auto;min-height:0;align-content:center;border-radius:0;background:transparent;padding:0;box-shadow:none}.desktop-detail-screen .desktop-title-block strong{color:var(--theme-text);font-size:14px;font-weight:700;line-height:1.22}.desktop-detail-screen .desktop-title-block span{margin-top:2px;color:var(--theme-text-secondary);font-size:12px;line-height:1.2}.desktop-title-more{display:grid;width:22px;height:22px;flex:0 0 auto;place-items:center;border-radius:5px;color:var(--theme-text-muted)}.desktop-title-more:hover{background:var(--theme-hover-bg);color:var(--theme-text)}.detail-scroll-region{min-width:0}.desktop-detail-screen .detail-scroll-region{width:calc(100% + var(--desktop-detail-gutter) + var(--desktop-detail-gutter));min-height:0;margin:0 calc(0px - var(--desktop-detail-gutter));overflow-y:auto;padding:0 max(0px,calc(var(--desktop-detail-gutter) - var(--desktop-scrollbar-size))) 0 var(--desktop-detail-gutter);scrollbar-color:var(--theme-scrollbar-thumb) var(--theme-scrollbar-track);scrollbar-width:thin}.desktop-detail-screen .detail-scroll-region::-webkit-scrollbar{width:var(--desktop-scrollbar-size)}.desktop-detail-screen .detail-scroll-region::-webkit-scrollbar-track{background:var(--theme-scrollbar-track)}.desktop-detail-screen .detail-scroll-region::-webkit-scrollbar-thumb{min-height:48px;border:2px solid var(--theme-scrollbar-track);border-radius:999px;background:var(--theme-scrollbar-thumb)}.desktop-detail-screen .detail-scroll-region::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb-hover)}.desktop-detail-screen .detail-scroll-region::-webkit-scrollbar-button{width:0;height:0;display:none}.desktop-detail-screen .message-flow{width:min(920px,100%);min-height:100%;align-content:end;margin:0 auto;gap:16px;padding-top:18px;padding-bottom:24px}.detail-input-region{min-width:0}.desktop-detail-screen .detail-input-region{width:min(920px,100%);margin:0 auto;padding:0 0 14px;background:var(--theme-canvas-bg)}.desktop-shell .chat-input-wrap{position:relative;right:auto;bottom:auto;left:auto;width:100%;margin:0;padding:0;background:transparent}.desktop-chat-input-wrap{display:grid;gap:8px}.desktop-chat-input{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(44px,auto) 31px;align-items:stretch;gap:2px;min-height:96px;border:1px solid var(--theme-border);border-radius:14px;background:var(--theme-surface-bg);padding:12px 10px 8px;color:var(--theme-text);box-shadow:none}.desktop-chat-input textarea{width:100%;min-height:44px;max-height:180px;resize:none;border:0;outline:0;background:transparent;color:var(--theme-text);padding:2px 40px 0 10px;font-size:15px;line-height:1.45;overflow-y:auto;scrollbar-width:thin}.desktop-chat-input textarea::placeholder{color:var(--theme-placeholder)}.desktop-add-button,.desktop-send-button{display:grid;place-items:center;border-radius:999px}.desktop-add-button{width:31px;height:31px;color:var(--theme-text-secondary)}.desktop-add-button:hover{color:var(--theme-text)}.desktop-input-footer{display:flex;min-width:0;align-items:center;gap:8px}.desktop-input-tools{display:flex;flex:1 1 auto;min-width:0;align-items:center;justify-content:flex-start;gap:10px;margin-left:0;padding:0}.desktop-send-button{width:32px;height:32px;background:var(--theme-surface-raised);color:var(--theme-text-muted)}.desktop-send-button:not(:disabled):hover{background:var(--theme-hover-bg);color:var(--theme-text-strong)}.desktop-send-button:disabled{background:var(--theme-disabled-bg);color:var(--theme-disabled-fg);opacity:1;cursor:default}.desktop-send-button.stop-reply-button,.desktop-send-button.stop-reply-button:hover{background:var(--theme-primary-bg);color:var(--theme-primary-fg)}.desktop-shell .run-settings-popover{width:300px}.desktop-shell .settings-selection-card{width:360px}.screen{min-height:100vh;padding:max(22px,env(safe-area-inset-top)) 22px 132px;color:var(--theme-text);background:var(--theme-canvas-bg)}.project-screen{padding:max(14px,env(safe-area-inset-top)) 22px 118px;color:var(--theme-text);background:var(--theme-canvas-bg)}.dark-screen{color:var(--theme-text);background:var(--theme-canvas-bg)}.access-login-screen{position:relative;display:grid;min-height:100vh;place-items:center;padding-bottom:max(22px,env(safe-area-inset-bottom))}.access-theme-toggle{position:absolute;top:max(18px,env(safe-area-inset-top));right:18px;z-index:2}.access-login-panel{display:grid;width:100%;gap:14px}.access-login-panel svg{color:var(--theme-text)}.access-login-panel h1{margin:0;font-size:34px;font-weight:650;line-height:1.1}.access-login-panel p{margin:0 0 10px;color:var(--theme-text-secondary);font-size:17px}.access-login-panel form{display:grid;gap:12px}.access-login-panel input{width:100%;min-height:58px;border:1px solid var(--theme-border);border-radius:18px;background:var(--theme-input-bg);color:var(--theme-text);padding:0 18px;font-size:20px;outline:0}.access-login-panel button{min-height:58px;border-radius:18px;background:var(--theme-primary-bg);color:var(--theme-primary-fg);font-size:20px;font-weight:560}.access-login-panel button:disabled{background:var(--theme-disabled-bg);color:var(--theme-disabled-fg);cursor:default}.access-login-error{color:var(--theme-danger);font-size:15px}.view-frame{min-height:100vh;animation:page-enter .22s cubic-bezier(.2,.8,.2,1)}@keyframes page-enter{0%{opacity:0;transform:translate(18px) scale(.992)}to{opacity:1;transform:translate(0) scale(1)}}.detail-screen,.file-screen{padding-top:max(74px,calc(env(safe-area-inset-top) + 62px))}.top-header{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;gap:10px;min-height:58px}.top-header.no-right{grid-template-columns:44px minmax(0,1fr)}.header-left,.header-right{display:flex;align-items:center}.header-right{justify-content:flex-end}.title-stack{min-width:0}.round-button{display:grid;width:44px;height:44px;place-items:center;border-radius:999px;border:1px solid var(--theme-border);background:var(--theme-surface-raised);color:var(--theme-text);box-shadow:none}.round-button svg{width:24px;height:24px}.title-stack h1{margin:0;overflow:hidden;font-size:22px;font-weight:620;line-height:1.12;text-overflow:ellipsis;white-space:nowrap}.subtitle{margin-top:2px;color:var(--theme-text-secondary);font-size:13px}.dark-screen .title-stack h1,.dark-screen .floating-title strong{color:var(--theme-text-strong)}.dark-screen .subtitle,.dark-screen .floating-title span{color:var(--theme-text-secondary)}.dark-screen .round-button,.dark-screen .floating-title,.dark-screen .floating-actions{color:var(--theme-text);background:var(--theme-surface-raised);box-shadow:inset 0 0 0 1px var(--theme-border)}.dark-screen .desktop-title-block{background:transparent;box-shadow:none}.project-home-header{display:grid;gap:28px;min-height:108px}.project-home-bar{display:grid;grid-template-columns:minmax(52px,1fr) auto minmax(52px,1fr);align-items:center}.project-home-bar h1{margin:0;overflow:hidden;color:var(--theme-text-strong);font-size:25px;font-weight:680;line-height:1.08;letter-spacing:0;text-align:center;text-overflow:ellipsis;white-space:nowrap}.project-home-status{display:flex;justify-content:flex-start;color:var(--theme-text);font-size:15px;font-weight:680;line-height:1.2}.project-home-action{display:flex;justify-self:end;justify-content:flex-end}.project-home-action:empty{display:block}.mobile-header-actions{display:flex;align-items:center;gap:8px}.project-screen .round-button{width:52px;height:52px;color:var(--theme-text);background:var(--theme-surface-raised);box-shadow:inset 0 0 0 1px var(--theme-border)}.project-screen .theme-toggle{width:52px;height:52px;flex-basis:52px;border-radius:999px}.project-screen .round-button svg{width:28px;height:28px}.session-list-screen{padding-top:max(8px,env(safe-area-inset-top));padding-right:12px;padding-left:12px}.session-list-screen .top-header{margin-right:-2px;margin-left:-2px}.device-line{display:inline-flex;max-width:100%;align-items:center;gap:7px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.device-dot{width:8px;height:8px;flex:0 0 auto;border-radius:999px;background:#10c75a}.project-screen .device-line{gap:8px}.project-screen .device-line svg{width:19px;height:19px}.section-title{margin:36px 0 16px;color:#777;font-size:18px}.project-screen .section-title{margin:24px 0 14px;color:var(--theme-text);font-size:19px;font-weight:720}.active-section-title{margin-top:22px}.project-screen .active-section-title{color:var(--theme-text-secondary);font-size:14px;font-weight:680}.active-session-list{display:grid;gap:10px;margin-bottom:10px}.project-screen .active-session-list{gap:10px}.active-session-group{display:grid;gap:5px}.active-session-group-title{display:flex;min-width:0;align-items:center;justify-content:space-between;gap:10px;padding:0 6px 0 8px;color:var(--theme-text-muted);font-size:12px;line-height:1.2}.active-session-group-title span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.active-session-group-title small{flex:0 0 auto;color:var(--theme-text-muted);font-size:11px}.active-session-group-list{display:grid;gap:5px}.active-session-row{display:grid;grid-template-columns:1fr 32px 18px;align-items:center;gap:6px;width:100%;min-height:52px;border-radius:18px;background:var(--theme-surface-subtle);padding:8px 10px 8px 14px;text-align:left}.project-screen .active-session-row{min-height:44px;border-radius:15px;background:var(--theme-surface-subtle);padding:7px 8px 7px 12px}.project-screen .active-session-row>svg{color:var(--theme-text)}.active-session-main{min-width:0}.active-session-main strong,.active-session-main small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.active-session-main strong{color:var(--theme-text);font-size:17px;font-weight:540;line-height:1.2}.project-screen .active-session-main strong{color:var(--theme-text);font-size:15px;font-weight:560}.active-session-main small{margin-top:4px;color:var(--theme-text-secondary);font-size:14px}.project-screen .active-session-main small{color:var(--theme-text-secondary);font-size:11px}.project-list{display:grid;gap:0}.project-row{display:grid;grid-template-columns:37px 1fr auto 16px;align-items:center;gap:8px;width:100%;min-height:48px;padding:3px 0;text-align:left}.project-icon{display:grid;width:34px;height:34px;place-items:center;color:var(--theme-text)}.project-screen .project-icon{color:var(--theme-text)}.project-icon svg{width:28px;height:28px}.project-icon-chat svg{width:31px;height:31px}.project-main{min-width:0}.project-main strong{display:block;overflow:hidden;font-size:19px;font-weight:480;line-height:1.18;text-overflow:ellipsis;white-space:nowrap}.project-screen .project-main strong{color:var(--theme-text)}.project-main small{display:none;overflow:hidden;margin-top:5px;color:#777;font-size:15px;text-overflow:ellipsis;white-space:nowrap}.project-count{color:#8c8c8c;font-size:15px}.project-screen .project-count{color:var(--theme-text-muted)}.project-screen .project-row>svg{color:var(--theme-text);width:18px;height:18px}.show-all-projects{display:block;margin:14px auto 0;color:#8c8c8c;font-size:13px;line-height:1.5}.project-screen .show-all-projects{color:var(--theme-text-muted)}.thread-list{padding-top:18px}.thread-row{display:grid;grid-template-columns:1fr auto;align-items:center;gap:12px;width:100%;min-height:76px;padding:6px 0;text-align:left}.thread-time.session-status-failed{color:#e07a7a}.thread-title{overflow:hidden;font-size:25px;font-weight:430;line-height:1.28;text-overflow:ellipsis;white-space:nowrap}.dark-screen .thread-title{color:var(--theme-text);font-size:20px}.thread-time{color:#666;font-size:20px;white-space:nowrap}.dark-screen .thread-time{color:var(--theme-text-secondary);font-size:15px}.dark-screen .thread-row{min-height:54px;padding:4px 0}.thread-live{display:grid;width:40px;height:40px;place-items:center;color:#0a84ff}.bottom-dock{position:fixed;right:0;bottom:max(24px,env(safe-area-inset-bottom));left:0;z-index:20;display:grid;grid-template-columns:1fr 140px;gap:13px;width:min(calc(100vw - 44px),436px);margin:0 auto;pointer-events:none}.project-screen .bottom-dock,.dark-screen .bottom-dock{grid-template-columns:1fr 126px;gap:12px;width:min(calc(100vw - 44px),436px)}.bottom-dock>*{pointer-events:auto}.bottom-search{display:flex;min-width:0;height:74px;align-items:center;gap:16px;padding:0 22px;border:1px solid #e5e5e5;border-radius:999px;background:#fffffff0;box-shadow:0 12px 26px #00000014}.project-screen .bottom-search{height:58px;gap:12px;padding:0 18px;border-color:var(--theme-border);color:var(--theme-text);background:var(--theme-input-bg);box-shadow:none}.dark-screen .bottom-search{height:58px;gap:12px;border-color:var(--theme-border);color:var(--theme-text);background:var(--theme-input-bg);box-shadow:none}.project-screen .bottom-search svg{width:25px;height:25px}.dark-screen .bottom-search svg{width:25px;height:25px}.bottom-search input{min-width:0;flex:1;border:0;outline:0;color:var(--theme-text);background:transparent;font-size:25px}.project-screen .bottom-search input,.dark-screen .bottom-search input{color:var(--theme-text);font-size:19px}.project-screen .bottom-search input::placeholder{color:var(--theme-placeholder)}.dark-screen .bottom-search input::placeholder{color:var(--theme-placeholder)}.bottom-search input::placeholder{color:var(--theme-placeholder)}.chat-button{display:inline-flex;height:74px;align-items:center;justify-content:center;gap:13px;border-radius:999px;color:var(--theme-primary-fg);background:var(--theme-primary-bg);font-size:25px;font-weight:650;box-shadow:0 12px 26px #00000029}.project-screen .chat-button,.dark-screen .chat-button{height:58px;gap:10px;color:var(--theme-primary-fg);background:var(--theme-primary-bg);font-size:20px;box-shadow:none}.project-screen .chat-button svg{width:25px;height:25px}.floating-header{position:fixed;top:max(8px,env(safe-area-inset-top));left:50%;z-index:30;display:grid;grid-template-columns:44px minmax(0,1fr) auto;gap:8px;width:min(calc(100vw - 16px),472px);transform:translate(-50%)}.floating-header.readonly{grid-template-columns:minmax(0,1fr) auto}.floating-header.readonly>span{display:none}.floating-title,.floating-actions{height:44px;border-radius:999px;background:var(--theme-surface-raised);box-shadow:inset 0 0 0 1px var(--theme-border)}.floating-title{min-width:0;padding:4px 13px}.floating-title strong,.floating-title span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.floating-title strong{font-size:14px;line-height:1.22}.floating-title span{margin-top:1px;color:var(--theme-text-secondary);font-size:11px}.floating-actions{display:flex;width:auto;align-items:center;justify-items:center;padding:0 3px}.floating-actions button{display:grid;width:38px;height:38px;place-items:center;border-radius:999px}.floating-actions .theme-toggle{flex-basis:38px;border:0;background:transparent}.modal-layer{position:fixed;top:0;right:0;bottom:0;left:0;z-index:60;display:grid;place-items:end center;background:var(--theme-overlay);animation:fade-in .16s ease-out}@keyframes fade-in{0%{opacity:0}to{opacity:1}}.action-sheet,.rename-dialog,.share-link-dialog,.project-picker-card{width:min(calc(100vw - 42px),438px);border-radius:28px;background:var(--theme-surface-raised);color:var(--theme-text);box-shadow:var(--theme-shadow)}.action-sheet{margin-bottom:max(24px,env(safe-area-inset-bottom));padding:24px}.action-menu-layer{place-items:start center;padding:max(104px,calc(env(safe-area-inset-top) + 92px)) 0 0;background:var(--theme-overlay);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.action-menu-anchor{display:flex;width:min(100vw,480px);justify-content:flex-end;padding:0 20px}.action-menu{width:min(calc(100vw - 58px),306px);margin:0;border-radius:30px;padding:28px 30px 30px;color:var(--theme-text)}.action-sheet h2,.rename-dialog h2,.share-link-dialog h2,.project-picker-card h2{margin:0;font-size:30px;line-height:1.2}.action-menu h2{overflow:hidden;color:var(--theme-text-muted);font-size:24px;font-weight:560;text-align:center;text-overflow:ellipsis;white-space:nowrap}.action-list{display:grid;gap:6px;margin-top:20px}.action-menu .action-list{gap:18px;margin-top:26px}.action-list button{display:flex;height:54px;align-items:center;gap:14px;border-radius:18px;padding:0 12px;text-align:left;font-size:19px}.action-menu .action-list button{height:50px;gap:22px;padding:0 4px;border-radius:14px;color:var(--theme-text);font-size:24px;font-weight:650}.action-menu .action-list svg{width:31px;height:31px;color:currentColor;stroke-width:2.4}.action-list button:active{background:var(--theme-hover-bg)}.action-list .danger,.action-menu .action-list .danger{color:var(--theme-danger)}.sheet-cancel{width:100%;height:54px;margin-top:14px;border-radius:999px;background:var(--theme-surface-bg);font-size:19px;font-weight:650}.rename-dialog{align-self:center;padding:24px}.rename-dialog input{width:100%;height:56px;margin-top:18px;border:0;border-radius:18px;outline:0;background:var(--theme-input-bg);color:var(--theme-text);padding:0 16px;font-size:18px}.rename-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:18px}.rename-actions button{height:52px;border-radius:999px;background:var(--theme-surface-bg);font-size:18px}.rename-actions .primary{color:var(--theme-primary-fg);background:var(--theme-primary-bg)}.share-dialog-layer{place-items:center}.share-link-dialog{display:grid;gap:16px;padding:26px;text-align:center}.share-dialog-icon{display:grid;width:58px;height:58px;margin:0 auto;place-items:center;border-radius:50%;background:var(--theme-surface-bg)}.share-link-dialog p{margin:0;color:var(--theme-text-secondary);font-size:15px;line-height:1.55}.share-url-box{min-width:0;max-height:90px;overflow:auto;border-radius:18px;background:var(--theme-input-bg);padding:13px 14px;color:var(--theme-text);font-size:13px;line-height:1.45;text-align:left;overflow-wrap:anywhere}.share-dialog-actions{display:grid;grid-template-columns:1fr 1.25fr;gap:12px;margin-top:2px}.share-dialog-actions button{height:52px;border-radius:999px;background:var(--theme-surface-bg);font-size:17px;font-weight:650}.share-dialog-actions .primary{color:var(--theme-primary-fg);background:var(--theme-primary-bg)}.desktop-live-status{display:flex;align-items:center;width:fit-content;max-width:100%;margin:6px 0 10px;padding:2px 0;color:var(--theme-text-secondary);font-size:14px;line-height:1.2}.desktop-live-status span{overflow-wrap:anywhere}.codex-shimmer-text{display:inline-block;color:#8f8f8f;background:linear-gradient(100deg,#8f8f8f,#bfbfbf 28%,#fff,#9a9a9a 58%,#8f8f8f);background-size:240% 100%;-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;animation:codex-text-shimmer 1.8s ease-in-out infinite}@keyframes codex-text-shimmer{0%{background-position:120% 0}to{background-position:-120% 0}}.history-loading-inline{justify-self:center;margin:0 auto 6px;color:var(--theme-text-muted);font-size:13px;line-height:1.25}.edit-preview-layer{place-items:end center;background:var(--theme-overlay);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.edit-preview-sheet{width:min(100vw,480px);min-width:0;max-height:68vh;overflow-x:hidden;overflow-y:auto;border-radius:32px 32px 0 0;background:var(--theme-surface-raised);color:var(--theme-text);padding:16px 22px max(26px,env(safe-area-inset-bottom));box-shadow:0 -16px 48px #00000029}.sheet-grabber{width:52px;height:6px;margin:0 auto 28px;border-radius:999px;background:#6d6d6d}.edit-preview-sheet h2{margin:0 0 28px;font-size:28px;line-height:1.2;text-align:center}.edit-file-card{min-width:0;overflow:hidden;border:1px solid var(--theme-border);border-radius:22px;background:var(--theme-surface-raised)}.edit-file-card>strong{display:block;padding:22px 20px;overflow-wrap:anywhere;font-size:22px;line-height:1.32}.edit-stat-row{display:flex;height:56px;align-items:center;justify-content:space-between;border-top:1px solid var(--theme-border-subtle);border-bottom:1px solid var(--theme-border-subtle);padding:0 20px;color:var(--theme-text)}.edit-stat-row span{font-size:22px}.edit-stat-row b{color:#11a36a;font-weight:650}.edit-stat-row em{color:#c62828;font-style:normal}.diff-preview{display:grid;max-width:100%;min-width:0;margin:0;overflow-x:auto;background:var(--theme-diff-bg);color:var(--theme-text);font-family:Cascadia Code,Consolas,SFMono-Regular,monospace;font-size:19px;line-height:1.7;white-space:pre-wrap}.diff-line{display:grid;grid-template-columns:58px 1fr;min-width:0}.diff-line .line-no{background:var(--theme-diff-line-bg);color:#13b99e;padding:0 14px 0 0}.diff-line code{min-width:0;padding-left:16px;overflow-wrap:anywhere;word-break:break-word}.message-flow{display:grid;min-width:0;gap:19px;padding-bottom:108px}.dark-screen .message-flow{color:var(--theme-text)}.conversation-flow{padding-top:8px}.detail-screen:not(.share-screen) .message-flow{padding-bottom:86px}.related-files{display:flex;gap:10px;overflow-x:auto;padding:2px 0 8px}.related-files button{display:inline-flex;max-width:260px;flex:0 0 auto;align-items:center;gap:8px;padding:10px 14px;border-radius:999px;background:var(--theme-surface-bg);color:var(--theme-text-secondary);font-size:14px}.dark-screen .related-files button{background:var(--theme-surface-bg);color:var(--theme-text)}.related-files span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.message{min-width:0;max-width:100%;font-size:22px;line-height:1.5;overflow-wrap:anywhere;word-break:break-word}.dark-screen .message{font-size:20px}.desktop-detail-screen .message{font-size:14px;line-height:1.55}.message-stack{min-width:0;max-width:100%}.message-stack.user-image-message{display:grid;width:fit-content;max-width:min(78%,100%);justify-items:end;gap:8px;margin-left:auto}.message-image-row{display:flex;max-width:100%;flex-wrap:wrap;justify-content:flex-end;gap:8px}.message.user{width:fit-content;max-width:min(78%,100%);margin-left:auto;padding:15px 19px;border-radius:24px;color:var(--theme-user-message-text);background:var(--theme-user-message-bg)}.dark-screen .message.user{color:var(--theme-user-message-text);background:var(--theme-user-message-bg)}.desktop-detail-screen .message.user{max-width:min(78%,100%);border-radius:16px;background:var(--theme-user-message-bg);color:var(--theme-user-message-text);padding:9px 13px}.desktop-detail-screen .message-stack.user-image-message .message.user{max-width:100%;margin-left:0}.message.assistant,.dark-screen .message.assistant{color:var(--theme-text)}.desktop-detail-screen .message.assistant{display:grid;gap:10px;color:var(--theme-text)}.message.compact{color:var(--theme-text-secondary);font-size:18px;line-height:1.45}.dark-screen .message.compact{color:var(--theme-text-secondary)}.turn-aborted{display:inline-flex;width:max-content;max-width:100%;align-items:center;justify-self:center;gap:7px;border:1px solid var(--theme-border);border-radius:999px;background:var(--theme-surface-subtle);padding:8px 13px;color:var(--theme-text-secondary);font-size:14px;line-height:1.2;box-shadow:0 8px 22px #0000000a}.dark-screen .turn-aborted{border-color:var(--theme-border);background:var(--theme-surface-subtle);color:var(--theme-text-secondary);box-shadow:none}.turn-aborted svg{flex:0 0 auto;stroke-width:2.4}.turn-error{display:inline-flex;width:fit-content;max-width:100%;align-items:center;gap:10px;border:1px solid var(--theme-border);border-radius:16px;background:var(--theme-surface-raised);padding:11px 15px;color:var(--theme-text);font-size:15px;line-height:1.35;box-shadow:0 8px 24px #0000000a}.turn-error.session-failure{justify-self:center;overflow-wrap:anywhere}.dark-screen .turn-error{border-color:var(--theme-border);background:var(--theme-surface-subtle);color:var(--theme-text);box-shadow:none}.turn-error svg{flex:0 0 auto;stroke-width:2.2}.process-toggle{display:inline-flex;width:max-content;max-width:100%;align-items:center;gap:8px;margin-top:4px;color:var(--theme-text-secondary);font-size:18px;line-height:1.3}.desktop-detail-screen .process-group:not(.inline){border-bottom:1px solid var(--theme-border-subtle);padding-bottom:9px}.desktop-detail-screen .process-toggle{gap:6px;margin-top:0;color:var(--theme-text-muted);font-size:14px;line-height:1.25}.desktop-detail-screen .process-toggle svg{width:15px;height:15px;stroke-width:2.2}.dark-screen .process-toggle,.dark-screen .web-job-live-text,.dark-screen .process-main,.dark-screen .process-main.editable,.dark-screen .process-thinking,.dark-screen .web-search-values{color:var(--theme-text-secondary)}.dark-screen .process-list{border-left-color:var(--theme-border-subtle)}.desktop-detail-screen.dark-screen .process-toggle{color:var(--theme-text-muted)}.process-toggle svg{transition:transform .16s ease}.process-toggle svg.expanded{transform:rotate(90deg)}.web-job-process{display:block;width:fit-content;max-width:100%;padding:0;background:transparent;border:0}.web-job-live-text{display:inline-block;width:fit-content;max-width:100%;color:var(--theme-text-muted);font-size:13px;line-height:1.35;overflow-wrap:anywhere}.process-list{display:grid;gap:12px;margin-top:10px;padding:2px 0}.process-group.inline .process-list{margin-top:0;padding:0}.process-event{display:grid;gap:10px;padding:2px 0 6px}.process-main{display:inline-flex;max-width:100%;align-items:center;gap:7px;color:var(--theme-text-secondary);text-align:left;font-size:18px;line-height:1.42}.desktop-detail-screen .process-main{gap:6px;font-size:14px;line-height:1.35}.process-main.editable{color:var(--theme-text-secondary);font-size:18px}.desktop-detail-screen .process-main.editable{font-size:14px}.dark-screen .process-main,.dark-screen .process-main.editable{color:var(--theme-text-secondary)}.process-main svg{flex:0 0 auto;width:17px;height:17px;opacity:.72;stroke-width:1.8}.process-main.static{cursor:default}.process-main span{min-width:0;overflow-wrap:anywhere;white-space:normal}.process-reasoning{max-width:100%;color:var(--theme-text-secondary);font-size:15px;line-height:1.5;overflow-wrap:anywhere}.desktop-detail-screen .process-reasoning{color:var(--theme-text-secondary);font-size:14px;line-height:1.45}.process-reasoning .text-block p,.desktop-detail-screen .process-reasoning .text-block p{margin:0}.process-reasoning strong{color:var(--theme-text-secondary);font-weight:600}.dark-screen .process-reasoning strong{color:var(--theme-text)}.subagent-process-event{padding-bottom:2px}.subagent-row{display:flex;max-width:100%;min-width:0;align-items:center;flex-wrap:wrap;gap:6px}.subagent-pill{display:inline-flex;min-width:0;min-height:26px;max-width:100%;align-items:center;gap:6px;padding:3px 9px;border:1px solid var(--theme-border);border-radius:999px;background:var(--theme-surface-bg);color:var(--theme-text-secondary);font-size:13px;line-height:18px}.desktop-detail-screen .subagent-pill{font-size:13px}.subagent-pill svg{flex:0 0 auto}.subagent-pill span{min-width:0;overflow-wrap:anywhere}.subagent-pill.tone-1 svg{color:#9d86df}.subagent-pill.tone-2 svg{color:#dc78aa}.subagent-pill.tone-3 svg{color:#73ad69}.subagent-pill.tone-4 svg{color:#5ba8b8}.dark-screen .subagent-pill{border-color:var(--theme-border);background:var(--theme-surface-bg);color:var(--theme-text-secondary)}.dark-screen .subagent-pill.tone-1{border-color:#3d3650}.dark-screen .subagent-pill.tone-2{border-color:#4a303d}.dark-screen .subagent-pill.tone-3{border-color:#304331}.dark-screen .subagent-pill.tone-4{border-color:#2f4145}.subagent-status{color:var(--theme-text-muted);font-size:13px;line-height:26px;white-space:nowrap}.dark-screen .subagent-status{color:var(--theme-text-muted)}.process-edit-file-list{display:grid;gap:7px;padding-left:25px}.process-edit-file-row{display:inline-flex;width:fit-content;max-width:100%;align-items:center;gap:7px;color:var(--theme-text-muted);font-size:14px;line-height:1.35;text-align:left}.process-edit-file-row strong{color:var(--theme-link);font-weight:600}.process-edit-file-row small{display:inline-flex;flex:0 0 auto;align-items:center;gap:4px;color:var(--theme-text-muted);font-size:13px}.process-edit-file-row small b{color:#5fd28b;font-weight:650}.process-edit-file-row small em{color:#ff7676;font-style:normal;font-weight:650}.process-edit-file-row svg{flex:0 0 auto;opacity:.72}.process-edit-file-row:hover strong,.process-edit-file-row:hover{color:var(--theme-link-hover)}.process-thinking{width:fit-content;max-width:100%;padding:2px 0 4px;color:var(--theme-text-secondary);font-size:16px;line-height:1.35;overflow-wrap:anywhere}.desktop-detail-screen .process-thinking{font-size:14px;line-height:1.35}.process-thinking.standalone{margin:-2px 0 6px}.web-search-values{display:grid;gap:8px;padding-left:26px;color:var(--theme-text-secondary);font-size:16px;line-height:1.45}.web-search-values span{max-width:100%;overflow-wrap:anywhere;word-break:break-word}.text-block p{max-width:100%;margin:0 0 19px;overflow-wrap:anywhere;word-break:break-word}.desktop-detail-screen .text-block p{margin-bottom:14px}.text-block p:last-child{margin-bottom:0}.text-block ul{display:grid;gap:10px;margin:0 0 19px;padding-left:22px}.desktop-detail-screen .text-block ul{gap:7px;margin-bottom:14px}.text-block ul:last-child{margin-bottom:0}.text-block li{padding-left:2px;overflow-wrap:anywhere;word-break:break-word}.text-block a{color:var(--theme-link);text-decoration:none;font-weight:600}.text-block a:hover{color:var(--theme-link-hover)}.external-text-link{display:inline-flex;max-width:100%;align-items:center;gap:4px;vertical-align:-.12em}.external-text-link-icon{display:inline-grid;flex:0 0 auto;width:16px;height:16px;place-items:center;border-radius:4px;background:#d1663621;color:#d16b3f}.external-text-link-icon svg{width:11px;height:11px;stroke-width:2.4}.external-text-link-label{min-width:0;overflow-wrap:anywhere}.external-text-link:hover .external-text-link-label{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}.inline-code-token{display:inline-block;max-width:100%;margin:0 2px;border-radius:7px;background:var(--theme-inline-code-bg);padding:2px 7px 3px;color:var(--theme-inline-code-text);font-family:Cascadia Code,Consolas,SFMono-Regular,monospace;font-size:.82em;line-height:1.25;vertical-align:.05em;overflow-wrap:anywhere}.dark-screen .inline-code-token{background:var(--theme-inline-code-bg);color:var(--theme-inline-code-text)}.inline-file-pill{display:inline-flex;max-width:100%;vertical-align:baseline;align-items:center;gap:3px}.inline-file-pill button{display:inline-flex;max-width:min(100%,330px);align-items:center;gap:4px;color:var(--theme-link);text-decoration:none;vertical-align:baseline;white-space:normal}.inline-file-pill button:hover{color:var(--theme-link-hover)}.inline-file-pill button svg{flex:0 0 auto;width:13px;height:13px;opacity:.85}.inline-file-pill button,.inline-file-pill a{font-size:inherit}.inline-file-pill button span{min-width:0;overflow-wrap:anywhere;text-align:left}.local-file-text-link{display:inline-flex;max-width:100%;align-items:center;gap:4px;color:var(--theme-link);line-height:inherit;text-align:left;vertical-align:-.12em}.local-file-text-link.openable{cursor:pointer}.local-file-text-link.openable:hover{color:var(--theme-link-hover)}.local-file-text-link.openable:focus-visible{outline:1px solid rgba(143,191,255,.65);outline-offset:2px;border-radius:4px}.local-file-text-link svg{flex:0 0 auto;width:13px;height:13px;opacity:.82}.local-file-text-link span{min-width:0;overflow-wrap:anywhere}.inline-media-card{display:grid;width:100%;max-width:100%;gap:8px;margin:10px 0 14px;break-inside:avoid}.media-card-title{display:flex;min-width:0;align-items:center;justify-content:space-between;gap:10px;color:var(--theme-text);font-size:16px;line-height:1.3}.dark-screen .media-card-title{color:var(--theme-text)}.media-card-title span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.media-card-title a{display:inline-flex;width:34px;height:34px;flex:0 0 auto;align-items:center;justify-content:center;border-radius:999px;background:var(--theme-surface-raised);color:var(--theme-text-secondary);text-decoration:none}.dark-screen .media-card-title a{background:var(--theme-surface-raised);color:var(--theme-text)}.inline-media-card img,.inline-media-card video{display:block;width:100%;max-height:62vh;border-radius:18px;background:var(--theme-surface-bg);object-fit:contain}.dark-screen .inline-media-card img,.dark-screen .inline-media-card video{background:var(--theme-surface-subtle)}.inline-media-card audio{width:100%}.tool-card{display:grid;max-width:100%;min-width:0;gap:10px}.tool-title{color:var(--theme-text-secondary);font-size:15px;font-weight:650}.dark-screen .tool-title{color:var(--theme-text-secondary)}.code-card{width:100%;max-width:100%;min-width:0;overflow:hidden;border-radius:8px;background:var(--theme-code-bg);box-shadow:none}.dark-screen .code-card{background:var(--theme-code-bg);box-shadow:inset 0 0 0 1px var(--theme-border)}.desktop-detail-screen .code-card{border-radius:8px;background:var(--theme-code-bg);box-shadow:none}.dark-screen .code-head{color:var(--theme-text-muted)}.code-head{display:flex;min-width:0;align-items:center;justify-content:space-between;gap:10px;min-height:30px;padding:7px 10px 0;color:var(--theme-text-muted);font-size:12px;font-weight:500;text-transform:lowercase}.desktop-detail-screen .code-head{min-height:28px;padding:8px 10px 0;color:var(--theme-text-secondary);font-size:12px;font-weight:500}.code-head span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.code-head button{display:grid;width:20px;height:20px;place-items:center;border-radius:5px;color:var(--theme-text-muted);opacity:.72}.code-head button svg{width:14px;height:14px;stroke-width:1.75}.code-head button:hover{background:var(--theme-hover-bg);color:var(--theme-text);opacity:1}.desktop-detail-screen .code-head button{width:18px;height:18px;margin-top:-1px;color:var(--theme-text-muted)}.copy-feedback-button{position:relative}.code-head .copy-feedback-button.copied,.mermaid-head .copy-feedback-button.copied{background:#ffffff1a;color:#d8d8d8;opacity:1}.copy-feedback-bubble{position:absolute;right:50%;bottom:calc(100% + 8px);transform:translate(50%);z-index:4;border-radius:7px;background:#3b3b3b;padding:5px 8px;color:#f4f4f4;font-size:12px;font-weight:600;line-height:1;white-space:nowrap;text-transform:none;box-shadow:0 6px 18px #00000040;pointer-events:none}.copy-feedback-bubble:after{content:"";position:absolute;right:50%;top:100%;width:0;height:0;transform:translate(50%);border:5px solid transparent;border-top-color:#3b3b3b}.code-lines{display:grid;max-width:100%;margin:0;overflow-x:auto;padding:10px 10px 12px;color:var(--theme-code-text);font-family:Cascadia Code,Consolas,SFMono-Regular,monospace;font-size:13px;line-height:1.6;-moz-tab-size:2;tab-size:2}.desktop-detail-screen .code-lines{padding:7px 10px 12px;color:var(--theme-code-text);font-size:13px;line-height:1.55}.dark-screen .code-lines{color:var(--theme-code-text)}.dark-screen .file-preview-sheet .code-lines{border:1px solid var(--theme-border);border-radius:14px;background:var(--theme-code-bg);color:var(--theme-code-text)}.dark-screen .line-no{color:var(--theme-text-muted)}.code-lines.wrap{white-space:pre-wrap;word-break:break-word}.code-lines.nowrap{white-space:pre}.code-line{display:grid;grid-template-columns:34px 1fr;min-width:0}.code-lines.no-line-numbers .code-line{grid-template-columns:minmax(0,1fr)}.code-line code{min-width:0;overflow-wrap:anywhere}.code-lines.wrap .code-line{min-width:0}.mermaid-card{display:grid;width:100%;max-width:100%;min-width:0;gap:10px;overflow:hidden;border-radius:24px;background:var(--theme-surface-bg);padding:14px}.mermaid-head{display:flex;align-items:center;justify-content:space-between;gap:10px;color:var(--theme-text);font-size:16px;font-weight:800}.mermaid-head button{display:grid;width:34px;height:34px;flex:0 0 auto;place-items:center;border-radius:999px;background:var(--theme-surface-raised);color:var(--theme-text)}.mermaid-head .copy-feedback-button.copied{background:#3b3b3b;color:#f4f4f4}.mermaid-actions,.mermaid-zoom-head>div{display:flex;flex:0 0 auto;gap:8px}.mermaid-view{width:100%;overflow-x:auto;border-radius:16px;background:var(--theme-canvas-bg);padding:12px}.mermaid-view svg{display:block;width:max-content;max-width:none;min-width:100%;height:auto}.mermaid-zoom-layer{place-items:end center;background:var(--theme-overlay);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.mermaid-zoom-sheet{display:grid;width:min(100vw,480px);height:min(86vh,860px);grid-template-rows:auto 1fr;border-radius:28px 28px 0 0;background:var(--theme-surface-raised);color:var(--theme-text);box-shadow:var(--theme-shadow)}.mermaid-zoom-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:14px 16px;border-bottom:1px solid var(--theme-border-subtle)}.mermaid-zoom-head strong{font-size:17px}.mermaid-zoom-head button{display:grid;width:38px;height:38px;place-items:center;border-radius:999px;background:var(--theme-surface-bg)}.mermaid-zoom-view{min-width:0;overflow:auto;padding:18px;background:var(--theme-canvas-bg)}.mermaid-zoom-view>div{width:max-content;min-width:100%;transform-origin:top left}.mermaid-zoom-view svg{display:block;width:max-content;max-width:none;min-width:100%;height:auto}.line-no{-webkit-user-select:none;user-select:none;color:var(--theme-text-muted);text-align:right;padding-right:14px}.token.property,.token.keyword,.token.tag{color:#9a175f}.token.string,.token.attr-value{color:#6b8f22}.token.number,.token.boolean{color:#a83272}.token.comment{color:#888}:root[data-theme=dark] .token.property,:root[data-theme=dark] .token.keyword,:root[data-theme=dark] .token.tag{color:#ff7ab6}:root[data-theme=dark] .token.string,:root[data-theme=dark] .token.attr-value{color:#b4f082}:root[data-theme=dark] .token.number,:root[data-theme=dark] .token.boolean{color:#8ecbff}:root[data-theme=dark] .token.comment,:root[data-theme=dark] .token.punctuation,:root[data-theme=dark] .token.operator{color:#bdbdbd}:root[data-theme=dark] .token.function,:root[data-theme=dark] .token.class-name{color:#ffd479}mark{padding:0 2px;border-radius:4px;background:#ffe36d}.chat-input-wrap{position:fixed;right:0;bottom:max(6px,env(safe-area-inset-bottom));left:0;z-index:25;display:grid;gap:8px;width:min(calc(100vw - 44px),436px);margin:0 auto}.chat-input{display:grid;grid-template-columns:58px minmax(0,1fr) 50px;gap:8px;align-items:center}.chat-input button{display:grid;width:58px;height:58px;place-items:center;border-radius:999px;border:1px solid var(--theme-border);background:var(--theme-surface-raised);color:var(--theme-text);box-shadow:none}.dark-screen .chat-input button{color:var(--theme-text);background:var(--theme-surface-raised);box-shadow:inset 0 0 0 1px var(--theme-border)}.chat-input button:nth-of-type(2){width:50px}.chat-input button:disabled{opacity:.45}.chat-input .stop-reply-button{color:var(--theme-primary-fg);background:var(--theme-primary-bg)}.dark-screen .chat-input .stop-reply-button{color:var(--theme-primary-fg);background:var(--theme-primary-bg);box-shadow:none}.chat-input input{min-width:0;height:58px;padding:0 20px;border:0;border-radius:999px;outline:0;background:var(--theme-input-bg);color:var(--theme-text);box-shadow:inset 0 0 0 1px var(--theme-border);font-size:21px;text-align:center}.dark-screen .chat-input input{color:var(--theme-text);background:var(--theme-input-bg);box-shadow:inset 0 0 0 1px var(--theme-border)}.dark-screen .chat-input input::placeholder{color:var(--theme-placeholder)}.image-file-input{display:none}.image-attachment-list{display:flex;gap:10px;max-width:100%;overflow-x:auto;padding-bottom:2px;scrollbar-width:thin}.image-attachment-preview{display:grid;grid-template-columns:52px minmax(112px,1fr) 36px;flex:0 0 min(100%,300px);align-items:center;gap:10px;min-width:0;min-height:62px;border:1px solid var(--theme-border);border-radius:18px;background:var(--theme-surface-raised);color:var(--theme-text);padding:8px 10px;box-shadow:var(--theme-shadow)}.dark-screen .image-attachment-preview,.new-compose-screen .image-attachment-preview{border-color:var(--theme-border);background:var(--theme-surface-raised);color:var(--theme-text);box-shadow:var(--theme-shadow)}.image-attachment-zoom,.image-attachment-info{padding:0;border:0;background:transparent;box-shadow:none;text-align:left;cursor:zoom-in}.image-attachment-zoom{display:block;width:52px;height:46px;border-radius:12px;overflow:hidden}.image-attachment-zoom img{display:block;width:52px;height:46px;background:var(--theme-surface-bg);object-fit:cover}.image-attachment-info{display:grid;min-width:0;gap:2px}.image-attachment-preview strong,.image-attachment-preview small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.image-attachment-preview strong{color:var(--theme-text);font-size:14px;line-height:1.25}.image-attachment-preview small{color:var(--theme-text-secondary);font-size:12px}.dark-screen .image-attachment-preview strong,.new-compose-screen .image-attachment-preview strong{color:var(--theme-text)}.dark-screen .image-attachment-preview small,.new-compose-screen .image-attachment-preview small{color:var(--theme-text-secondary)}.image-attachment-remove{display:grid;width:34px;height:34px;place-items:center;border-radius:999px;background:var(--theme-surface-bg)}.dark-screen .image-attachment-remove,.new-compose-screen .image-attachment-remove{color:var(--theme-text);background:var(--theme-surface-bg);box-shadow:inset 0 0 0 1px var(--theme-border)}.message-image-attachment{display:grid;margin-bottom:8px}.message-image-row .message-image-attachment{margin-bottom:0}.message-image-attachment button{display:block;max-width:100%;padding:0;border:0;border-radius:16px;background:transparent;cursor:zoom-in}.message-image-attachment img{display:block;width:min(210px,100%);max-height:240px;border-radius:16px;background:#e9e9e6;object-fit:contain}.desktop-detail-screen .message-image-attachment button{overflow:hidden;border-radius:9px;box-shadow:inset 0 0 0 1px var(--theme-border)}.desktop-detail-screen .message-image-attachment img{width:86px;height:86px;max-height:none;border-radius:9px;background:#111;object-fit:cover}.image-preview-layer{z-index:90;place-items:center;padding:20px;background:#000000c7}.image-preview-sheet{position:relative;display:grid;max-width:min(100%,900px);max-height:calc(100vh - 40px);place-items:center}.image-preview-sheet img{display:block;max-width:100%;max-height:calc(100vh - 40px);border-radius:10px;background:#111;object-fit:contain}.image-preview-close{position:absolute;top:10px;right:10px;z-index:1;display:grid;width:38px;height:38px;place-items:center;border:0;border-radius:999px;background:#00000094;color:#fff;cursor:pointer}.file-preview-layer{align-items:end;justify-content:center;padding:0;background:var(--theme-overlay)}.file-preview-sheet{display:grid;grid-template-rows:auto auto 1fr;width:min(100vw,480px);min-width:0;max-height:min(82vh,760px);overflow-x:hidden;padding:8px 16px max(18px,env(safe-area-inset-bottom));border-radius:28px 28px 0 0;background:var(--theme-surface-raised);color:var(--theme-text);box-shadow:var(--theme-shadow);animation:sheet-up .18s ease-out}.dark-screen .file-preview-layer{background:var(--theme-overlay)}.dark-screen .file-preview-sheet{background:var(--theme-surface-raised);color:var(--theme-text);box-shadow:var(--theme-shadow)}@keyframes sheet-up{0%{transform:translateY(24px);opacity:.72}to{transform:translateY(0);opacity:1}}.file-sheet-header{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;padding:4px 0 12px}.file-sheet-title{display:grid;min-width:0;gap:3px}.file-sheet-title strong,.file-sheet-title span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.file-sheet-title strong{font-size:17px;line-height:1.25}.file-sheet-title span{color:var(--theme-text-secondary);font-size:12px}.dark-screen .file-sheet-title strong{color:var(--theme-text)}.dark-screen .file-sheet-title span{color:var(--theme-text-secondary)}.file-sheet-actions{display:flex;gap:8px}.file-preview-sheet .tool-chip{width:42px;height:42px}.dark-screen .file-preview-sheet .tool-chip,.dark-screen .file-search{color:var(--theme-text);background:var(--theme-surface-bg);box-shadow:inset 0 0 0 1px var(--theme-border)}.file-sheet-body{max-width:100%;min-width:0;min-height:180px;overflow:auto;padding-bottom:4px}.file-toolbar{display:grid;grid-template-columns:1fr 44px 44px 44px;gap:8px;margin-bottom:12px}.file-search,.tool-chip{display:flex;height:44px;align-items:center;justify-content:center;gap:8px;border-radius:999px;background:var(--theme-surface-bg)}.file-search{min-width:0;padding:0 14px}.file-search input{min-width:0;flex:1;border:0;outline:0;background:transparent}.dark-screen .file-search input{color:var(--theme-text)}.tool-chip.active,.dark-screen .tool-chip.active{color:var(--theme-primary-fg);background:var(--theme-primary-bg)}.segmented{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;padding:6px;border-radius:999px;background:var(--theme-surface-bg);margin:10px 0 16px}.dark-screen .segmented{background:var(--theme-surface-bg)}.segmented button{height:38px;border-radius:999px;color:var(--theme-text-secondary)}.dark-screen .segmented button{color:var(--theme-text-secondary)}.segmented button.active{color:var(--theme-primary-fg);background:var(--theme-primary-bg);box-shadow:0 4px 12px #00000014}.dark-screen .segmented button.active{color:var(--theme-primary-fg);background:var(--theme-primary-bg)}.image-preview{display:block;width:100%;border-radius:24px;background:var(--theme-surface-bg)}.media-preview{display:block;width:100%;max-height:72vh;border-radius:18px;background:#111}.audio-preview{width:100%}.pdf-preview{display:grid;gap:12px}.pdf-preview iframe{width:100%;height:min(72vh,720px);border:0;border-radius:18px;background:var(--theme-surface-bg)}.pdf-open-button{height:44px;border-radius:999px;background:var(--theme-primary-bg);color:var(--theme-primary-fg);font-size:15px}.html-preview-frame{width:100%;height:min(72vh,720px);border:0;border-radius:18px;background:#fff;box-shadow:inset 0 0 0 1px var(--theme-border)}.markdown-preview{max-width:100%;min-width:0;overflow-wrap:anywhere;font-size:18px;line-height:1.65}.markdown-html{max-width:100%;min-width:0;overflow-wrap:anywhere}.markdown-preview p,.markdown-preview li,.markdown-preview td,.markdown-preview th{max-width:100%;overflow-wrap:anywhere;word-break:break-word}.markdown-preview pre{max-width:100%;overflow-x:auto;padding:14px;border-radius:18px;background:var(--theme-code-bg);color:var(--theme-code-text)}.markdown-preview code{white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word}.pager{display:flex;align-items:center;justify-content:center;gap:18px;margin:18px 0 0}.pager button{padding:10px 18px;border-radius:999px;background:var(--theme-surface-bg)}.pager button:disabled{color:var(--theme-disabled-fg)}.new-compose-screen{padding-top:max(30px,env(safe-area-inset-top))}.compose-top{position:relative;z-index:5;display:grid;grid-template-columns:58px minmax(0,1fr) 44px;gap:10px;align-items:center}.compose-title-pill{min-width:0;height:64px;border-radius:999px;border:1px solid var(--theme-border);background:var(--theme-surface-raised);box-shadow:none;padding:8px 18px}.compose-title-pill strong,.compose-title-pill span{display:flex;align-items:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.compose-title-pill strong{font-size:18px;line-height:1.2}.compose-title-pill span{gap:5px;color:var(--theme-text-secondary);font-size:15px}.compose-center{position:absolute;top:43%;left:50%;width:min(100% - 44px,390px);transform:translate(-50%,-50%);text-align:center}.compose-center h2{margin:0 0 14px;font-size:35px;line-height:1.2}.compose-project-button{display:inline-flex;align-items:center;justify-content:center;gap:9px;color:var(--theme-text-secondary);font-size:34px;font-weight:650}.compose-center p{margin:10px 0 0;overflow:hidden;color:var(--theme-text-muted);font-size:15px;text-overflow:ellipsis;white-space:nowrap}.compose-bottom{position:fixed;right:0;bottom:max(22px,env(safe-area-inset-bottom));left:0;z-index:20;width:min(calc(100vw - 44px),436px);margin:0 auto}.model-chips{position:relative;display:flex;gap:10px;margin-bottom:16px}.chat-input-wrap .model-chips{margin-bottom:0}.model-chips button{display:inline-flex;min-height:46px;align-items:center;justify-content:center;gap:6px;padding:12px 17px;border-radius:999px;border:1px solid var(--theme-border);background:var(--theme-surface-bg);color:var(--theme-text);font-size:18px;font-weight:700;white-space:nowrap}.model-chips button:disabled{opacity:.58}.model-chips svg{flex:0 0 auto}.dark-screen .model-chips button{color:var(--theme-text);background:var(--theme-surface-bg);box-shadow:inset 0 0 0 1px var(--theme-border)}.run-settings-wrap.compact{z-index:34}.run-settings-wrap.composer-layout{flex:1 1 auto;min-width:0}.run-settings-wrap.compact .model-chips{align-items:center;gap:12px;margin:0}.run-settings-wrap.composer-layout .model-chips{width:100%}.run-settings-wrap.composer-layout .model-chip{margin-left:auto}.run-settings-wrap.compact .model-chips button{min-height:28px;border-radius:7px;background:transparent;box-shadow:none;padding:4px 0;color:var(--theme-text-secondary);font-size:12px;font-weight:500}.run-settings-wrap.compact .permission-chip{color:#ff7a45;font-weight:600}.run-settings-wrap.compact .model-chips svg{width:14px;height:14px}.model-dot{width:12px;height:12px;border:2px solid var(--theme-text-secondary);border-top-color:transparent;border-radius:999px}.run-settings-wrap.compact .run-settings-popover,.run-settings-wrap.compact .settings-selection-card{right:0;left:auto;bottom:calc(100% + 16px)}.run-settings-wrap{position:relative;z-index:30;min-width:0}.settings-dismiss-layer{position:fixed;top:0;right:0;bottom:0;left:0;z-index:35;background:transparent}.run-settings-popover{position:absolute;bottom:calc(100% + 12px);left:0;z-index:40;width:min(330px,calc(100vw - 44px));overflow:hidden;border-radius:24px;background:var(--theme-surface-raised);color:var(--theme-text);box-shadow:var(--theme-shadow)}.dark-screen .run-settings-popover{background:var(--theme-surface-raised);color:var(--theme-text);box-shadow:var(--theme-shadow)}.settings-section-title{padding:16px 18px 7px;color:var(--theme-text-secondary);font-size:15px;font-weight:700}.dark-screen .settings-section-title{color:var(--theme-text-secondary)}.settings-options{display:grid;gap:1px;padding-bottom:8px}.settings-options button,.settings-row{display:grid;min-height:48px;align-items:center;background:transparent;color:inherit;font-size:18px}.settings-options button{grid-template-columns:minmax(0,1fr) 26px;padding:0 18px;text-align:left}.settings-options button.selected{font-weight:720}.settings-options button svg,.settings-row svg{color:var(--theme-text-secondary)}.dark-screen .settings-options button svg,.dark-screen .settings-row svg{color:var(--theme-text-secondary)}.settings-row{grid-template-columns:minmax(0,1fr) auto 22px;gap:10px;width:100%;border-top:1px solid var(--theme-border-subtle);padding:0 18px;text-align:left}.dark-screen .settings-row{border-top-color:var(--theme-border-subtle)}.settings-row strong{color:var(--theme-text-secondary);font-size:17px}.settings-row.active{background:var(--theme-hover-bg)}.dark-screen .settings-row strong{color:var(--theme-text-secondary)}.dark-screen .settings-row.active{background:var(--theme-hover-bg)}.settings-selection-card{position:absolute;bottom:calc(100% + 12px);left:0;z-index:45;width:min(420px,calc(100vw - 44px));overflow:hidden;border-radius:24px;background:#fffffffc;color:#111;box-shadow:0 20px 60px #0003}.settings-selection-card.model,.settings-selection-card.speed{bottom:-14px}.settings-selection-card.permission{right:0;left:auto;width:min(360px,calc(100vw - 44px));padding:22px 0 18px}.dark-screen .settings-selection-card{background:#fffffffa;color:#111;box-shadow:0 20px 62px #00000070}.settings-card-current{display:grid;grid-template-columns:minmax(0,1fr) 28px;align-items:center;gap:12px;padding:24px 28px 18px}.settings-card-current div{display:grid;gap:7px;min-width:0}.settings-card-current strong{font-size:22px;line-height:1.15}.settings-card-current span{display:flex;min-width:0;align-items:center;gap:7px;overflow:hidden;color:#7d7d7d;font-size:21px;line-height:1.2;text-overflow:ellipsis;white-space:nowrap}.settings-card-current>svg{color:#050505}.settings-card-divider{height:1px;margin:0 28px 12px;background:#e3e3e0}.settings-card-options{display:grid}.settings-choice{display:grid;grid-template-columns:minmax(0,1fr) 36px;gap:14px;align-items:center;min-height:86px;padding:10px 28px;background:transparent;color:inherit;text-align:left}.settings-selection-card.permission .settings-choice{min-height:78px;padding:8px 28px}.settings-choice-text{display:grid;gap:7px;min-width:0}.settings-choice strong{display:flex;min-width:0;align-items:center;gap:7px;overflow:hidden;font-size:25px;line-height:1.12;font-weight:760;text-overflow:ellipsis;white-space:nowrap}.settings-selection-card.permission .settings-choice strong{font-size:22px}.settings-choice small{overflow:hidden;color:#8c8c8c;font-size:21px;line-height:1.25;text-overflow:ellipsis;white-space:nowrap}.settings-selection-card.permission .settings-choice small{font-size:19px}.settings-choice svg{justify-self:end;color:#070707}.settings-choice.link-choice{min-height:74px}.settings-choice.link-choice strong{font-size:24px}@media(max-width:410px){.model-chips{gap:8px}.model-chips button{min-height:43px;padding:10px 13px;font-size:16px}.settings-selection-card{width:min(370px,calc(100vw - 28px))}.settings-card-current,.settings-choice{padding-right:24px;padding-left:24px}.settings-choice strong{font-size:23px}.settings-choice small{font-size:19px}}.new-chat-input{display:grid;grid-template-columns:58px minmax(0,1fr) 40px;gap:10px;align-items:center;min-width:0}.new-chat-input.has-text{grid-template-columns:58px minmax(0,1fr) 40px}.new-chat-input button{display:grid;height:58px;place-items:center;border-radius:999px;border:1px solid var(--theme-border);background:var(--theme-surface-raised);color:var(--theme-text);box-shadow:none}.new-chat-input button:disabled{opacity:.45}.new-chat-input input{min-width:0;height:58px;border:0;border-radius:999px;outline:0;background:var(--theme-input-bg);color:var(--theme-text);box-shadow:inset 0 0 0 1px var(--theme-border);padding:0 18px;font-size:19px}.new-chat-input input::placeholder{font-size:18px}@media(max-width:360px){.chat-input-wrap,.chat-input,.chat-input-wrap .model-chips,.compose-bottom .model-chips{min-width:0}.chat-input{width:100%}.chat-input-wrap .model-chips button,.compose-bottom .model-chips button{min-width:0;overflow:hidden;padding:8px 10px;font-size:14px;text-overflow:ellipsis}.chat-input-wrap .permission-chip,.compose-bottom .permission-chip{flex:0 1 auto}.chat-input-wrap .model-chip,.compose-bottom .model-chip{flex:1 1 auto}}.compose-error,.compose-job{position:fixed;right:22px;bottom:150px;left:22px;z-index:22;width:min(calc(100vw - 44px),436px);margin:0 auto}.compose-error{color:var(--theme-danger);font-size:14px;text-align:center}.compose-disabled-note{max-width:min(82vw,360px);margin:12px auto 0;color:var(--theme-text-secondary);font-size:14px;line-height:1.45;text-align:center}.project-picker-layer{place-items:center}.project-picker-card{padding:42px 32px 30px;border-radius:26px}.project-picker-card h2{font-size:36px;font-weight:520;margin-bottom:34px}.picker-row{display:grid;grid-template-columns:58px 1fr;align-items:center;gap:14px;width:100%;min-height:86px;text-align:left}.picker-row strong{display:block;overflow:hidden;font-size:29px;font-weight:430;line-height:1.2;text-overflow:ellipsis;white-space:nowrap}.picker-row span{min-width:0}.picker-row small{display:block;overflow:hidden;margin-top:4px;color:var(--theme-text-secondary);font-size:22px;text-overflow:ellipsis;white-space:nowrap}.picker-icon{display:grid;width:42px;height:42px;place-items:center;border:3px solid var(--theme-text-secondary);border-radius:999px;color:var(--theme-text-secondary);font-family:Cascadia Code,monospace;font-size:19px;font-weight:800}.picker-section-title{margin:28px 0 18px;color:var(--theme-text-secondary);font-size:21px;font-weight:700}.manual-path-row{display:grid;grid-template-columns:1fr 72px;gap:8px;margin-top:16px}.manual-path-row input{min-width:0;height:48px;border:0;border-radius:14px;outline:0;background:var(--theme-input-bg);color:var(--theme-text);padding:0 14px}.manual-path-row button{height:48px;border-radius:14px;color:var(--theme-primary-fg);background:var(--theme-primary-bg)}.manual-path-row button:disabled{color:var(--theme-disabled-fg);background:var(--theme-disabled-bg)}.picker-cancel{display:block;margin:30px 4px 0 auto;font-size:24px;font-weight:650}.job-status{display:grid;width:fit-content;max-width:100%;gap:8px;min-width:0;color:var(--theme-text)}.job-status.running{padding:2px 0;background:transparent;color:var(--theme-text-muted);font-size:14px;line-height:1.25}.job-status.failed{width:min(100%,438px);padding:15px 18px;border-radius:19px;background:var(--theme-error-bg)}.job-head{display:grid;gap:0;align-items:start;min-width:0}.job-head div{display:grid;gap:2px;min-width:0}.job-head strong{font-size:15px;font-weight:680;line-height:1.35;overflow-wrap:anywhere}.job-head span{color:var(--theme-text-secondary);font-size:12px;line-height:1.45}.job-error{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}.job-error{font-size:13px;line-height:1.5;color:var(--theme-danger)}.toast-line{position:fixed;z-index:80;top:max(88px,calc(env(safe-area-inset-top) + 72px));left:50%;max-width:min(82vw,360px);transform:translate(-50%);padding:10px 16px;border-radius:999px;background:var(--theme-primary-bg);color:var(--theme-primary-fg);font-size:14px;line-height:1.25;text-align:center;box-shadow:0 12px 28px #0000002e;overflow-wrap:anywhere;pointer-events:none}.state,.empty-state{display:grid;place-items:center;gap:12px;min-height:260px;color:var(--theme-text-secondary);text-align:center}.state.compact{min-height:120px}.state.error button{padding:8px 18px;border-radius:999px;background:var(--theme-primary-bg);color:var(--theme-primary-fg)}.empty-state strong{color:var(--theme-text);font-size:24px}.empty-state span{font-size:16px}.spin{animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@media(max-width:390px){.screen{padding-right:18px;padding-left:18px}.session-list-screen{padding-right:10px;padding-left:10px}.title-stack h1{font-size:21px}.thread-title{font-size:20px}.message{font-size:22px}.bottom-dock{grid-template-columns:1fr 128px;width:calc(100vw - 32px)}}
