.code-review{position:fixed;top:0;right:0;bottom:0;left:0;z-index:45;overflow:auto;background:#f8faf8;color:#263c35;padding-top:env(safe-area-inset-top)}.code-review>header{display:flex;gap:12px;align-items:center;position:sticky;top:0;background:inherit;z-index:2;padding:16px 20px;border-bottom:1px solid #dce4df}.code-review h1{font-size:18px;margin:0;flex:1}.review-content{padding:20px;max-width:1400px;margin:auto}.review-tabs{display:flex;gap:20px;border-bottom:1px solid #dce4df}.review-tabs button{padding:10px 0;color:inherit;background:transparent;border-bottom:2px solid transparent}.review-tabs button[aria-pressed=true]{border-color:#238665}.review-caption{font-size:12px;color:#738079}.review-layout{display:grid;grid-template-columns:230px minmax(0,1fr);gap:20px}.review-layout nav button{display:flex;align-items:center;gap:8px;width:100%;text-align:left;padding:12px 8px;background:none;color:inherit;border-bottom:1px solid #dce4df;font-size:12px}.review-layout nav span{overflow-wrap:anywhere;flex:1}.review-layout nav small{white-space:nowrap}.review-layout nav b{color:#187241}.review-layout nav em{color:#b64c50;font-style:normal}.review-layout nav button[aria-current=page]{background:#e2ece6}.review-file{min-width:0;border:1px solid #dce4df;border-radius:6px;overflow:hidden}.review-file-title{display:flex;gap:14px;align-items:center;justify-content:space-between;padding:12px;font-size:12px}.review-file-title strong{overflow-wrap:anywhere}.review-file-title label{display:flex;gap:5px;white-space:nowrap;align-items:center}.review-diff{overflow:auto;font:12px/1.65 Consolas,monospace;background:#fff}.review-hunk{background:#e9f1f9;color:#456782;padding:5px 12px;white-space:pre}.review-line{display:flex;min-width:max-content;white-space:pre}.review-line.add{background:#e1f4e6}.review-line.del{background:#fbe7e8}.line-number{width:38px;flex-shrink:0;display:inline-block;text-align:right;padding-right:8px;-webkit-user-select:none;user-select:none;color:#77817d;border-right:1px solid #00000008}.line-sign{width:22px;text-align:center;flex-shrink:0}.review-line code{padding-right:20px}.hljs-keyword,.hljs-selector-tag,.hljs-literal{color:#b33468}.hljs-string,.hljs-regexp{color:#217447}.hljs-number,.hljs-symbol{color:#98501b}.hljs-title,.hljs-built_in{color:#175c9b}.hljs-comment{color:#79837a}.hljs-attr,.hljs-property{color:#74611a}@media(max-width:700px){.review-layout{grid-template-columns:minmax(0,1fr)}.review-content{padding:16px}.review-layout nav{max-height:190px;overflow:auto}.review-line{font-size:11px}.line-number{width:30px}}[data-theme=dark] .code-review{background:#18221f;color:#e4eee8}[data-theme=dark] .review-diff{background:#1e2924}[data-theme=dark] .review-line.add{background:#213d2e}[data-theme=dark] .review-line.del{background:#482b30}[data-theme=dark] .review-hunk{background:#263846;color:#afd4ef}[data-theme=dark] .review-layout nav button[aria-current=page]{background:#2b3c32}[data-theme=dark] .hljs-keyword{color:#ff9ab9}[data-theme=dark] .hljs-string{color:#9cdfb2}[data-theme=dark] .hljs-title{color:#8bc9ff}[data-theme=dark] .hljs-number{color:#f3be87}dialog.feature-dialog[open],dialog.scanner-dialog[open]{display:flex;flex-direction:column;overflow:hidden;padding:0;max-height:calc(min(100dvh,var(--app-height,100dvh)) - 28px - env(safe-area-inset-top) - env(safe-area-inset-bottom));isolation:isolate}dialog.feature-dialog>.modal-heading,dialog.scanner-dialog>.modal-heading{flex:0 0 auto;gap:12px;margin:0;padding:12px 18px 12px 22px;border-bottom:1px solid #78866c30;background:inherit}dialog .modal-heading h2{min-width:0;overflow-wrap:anywhere;line-height:1.5}dialog .modal-heading>.icon-button{flex:0 0 44px;width:44px;height:44px}dialog>.dialog-body{min-height:0;min-width:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#78866c70 transparent;padding:0 22px 20px;margin:4px 6px 8px 0;overflow-wrap:anywhere}dialog>.dialog-body::-webkit-scrollbar{width:5px;height:5px}dialog>.dialog-body::-webkit-scrollbar-thumb{background:#78866c70;border-radius:5px}dialog>.dialog-body::-webkit-scrollbar-track{background:transparent}dialog .dialog-body .usage-body{overflow:visible;max-height:none;padding:0;margin:0;scrollbar-gutter:auto}dialog .dialog-body .connection-menu{position:static;width:100%;max-width:100%;max-height:none;margin-top:8px;box-shadow:none}dialog .chat-context-device,dialog .chat-context-device .connection-picker{width:100%;min-width:0}dialog .chat-context-device .connection-picker .model-button{max-width:100%}dialog.settings .dialog-body>p{display:flex;align-items:center;justify-content:center;gap:7px;font-size:12px;color:#939e88;margin-bottom:25px}dialog .setting-row>*{min-width:0;overflow-wrap:anywhere}dialog .setting-row>span{flex-shrink:0}@media(max-width:600px){dialog.feature-dialog[open],dialog.scanner-dialog[open]{max-width:calc(100vw - 24px)}dialog.feature-dialog.queue-sheet[open],dialog.feature-dialog.attachment-sheet[open]{width:100%;max-width:100%;padding:0}dialog.queue-sheet>.dialog-body,dialog.attachment-sheet>.dialog-body{padding-bottom:max(16px,env(safe-area-inset-bottom))}dialog>.dialog-body{padding-left:18px;padding-right:14px}dialog.feature-dialog>.modal-heading,dialog.scanner-dialog>.modal-heading{padding-left:18px;padding-right:10px}}dialog.feature-dialog.attachment-popover.anchored-menu[open]{width:280px;max-width:calc(100vw - 24px);margin:0;padding:0;border-radius:28px;background:#fafafaf0;color:#242424;border:1px solid #00000014;box-shadow:0 12px 40px #0002;backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px)}dialog.attachment-popover::backdrop{background:#0000000a;-webkit-backdrop-filter:none;backdrop-filter:none}dialog.attachment-popover.anchored-menu>.modal-heading{padding:4px 10px 0 22px;border:0;background:transparent}dialog.attachment-popover.anchored-menu>.modal-heading h2{font-size:13px;font-weight:500;color:#707070}dialog.attachment-popover.anchored-menu>.dialog-body{margin:0;padding:0 10px 12px;overscroll-behavior:contain}.attachment-options{display:flex;flex-direction:column;gap:2px;margin:0}.attachment-option{position:relative;overflow:hidden;display:flex;align-items:center;gap:16px;min-height:66px;padding:10px 12px;border-radius:18px;color:inherit;font:inherit;font-size:17px;cursor:pointer;flex-shrink:0}.attachment-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#00000009;flex:0 0 44px}.attachment-option:hover{background:#00000006}.attachment-option:focus-visible{outline:2px solid currentColor;outline-offset:-2px}.attachment-option input[type=file]{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;opacity:0;cursor:pointer}.attachment-option[aria-disabled=true]{opacity:.4;cursor:default}.attachment-option[aria-disabled=true] input{cursor:default}[data-theme=dark] dialog.feature-dialog.attachment-popover.anchored-menu[open]{background:#303030f0;color:#f5f5f5;border-color:#ffffff26;box-shadow:0 12px 40px #0005}[data-theme=dark] dialog.attachment-popover.anchored-menu>.modal-heading h2{color:#b8b8b8}[data-theme=dark] .attachment-icon{background:#ffffff12}[data-theme=dark] .attachment-option:hover{background:#ffffff08}@media(prefers-reduced-transparency:reduce){dialog.feature-dialog.attachment-popover.anchored-menu[open]{background:#fafafa;backdrop-filter:none;-webkit-backdrop-filter:none}[data-theme=dark] dialog.feature-dialog.attachment-popover.anchored-menu[open]{background:#303030}}.attachment-option{text-align:left;width:100%;background:transparent;border:0}.attachment-option small{display:block;font-size:11px;line-height:18px;opacity:.65}.plugin-heading{font-size:13px;margin:16px 12px 4px;font-weight:500;opacity:.7}.plugin-status{font-size:13px;margin:8px 12px;line-height:1.5;overflow-wrap:anywhere}.plugin-option .attachment-icon{background:transparent}.attachment-option>span:last-child{min-width:0;overflow-wrap:anywhere}dialog.attachment-popover[open]{z-index:100}dialog.attachment-popover[open]{animation:none;transform:none}dialog.attachment-popover.anchored-menu>.dialog-body{background:transparent}@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){dialog.feature-dialog.attachment-popover.anchored-menu[open]{background:#fafafa}[data-theme=dark] dialog.feature-dialog.attachment-popover.anchored-menu[open]{background:#303030}}dialog.composer-model-menu.anchored-menu>.dialog-body{overflow-y:auto;background:transparent}.model-options{display:flex;flex-direction:column;gap:2px}.model-option{display:flex;align-items:center;gap:10px;width:100%;min-height:48px;padding:12px;border:0;border-radius:16px;background:transparent;color:inherit;font:inherit;font-size:15px;text-align:left;cursor:pointer}.model-option>span{flex:1;min-width:0;overflow-wrap:anywhere}.model-option>small{font-size:13px;opacity:.65}.model-option>svg{flex-shrink:0}.model-option:hover,.model-back:hover{background:#00000006}.model-option[aria-pressed=true]{font-weight:600}.model-option:focus-visible,.model-back:focus-visible{outline:2px solid currentColor;outline-offset:-2px}.model-option:disabled{opacity:.45;cursor:default}.model-settings-row{border-top:1px solid #00000012;margin-top:8px;padding-top:8px}.model-back{display:flex;align-items:center;gap:8px;border:0;background:transparent;color:inherit;font:inherit;font-size:13px;min-height:44px;padding:8px 12px;border-radius:14px;cursor:pointer}.model-context,.model-menu-status{font-size:13px;line-height:1.5;margin:8px 12px 12px;overflow-wrap:anywhere}.model-context{opacity:.65}[data-theme=dark] .model-option:hover,[data-theme=dark] .model-back:hover{background:#ffffff08}[data-theme=dark] .model-settings-row{border-color:#ffffff20}.new-chat-page{display:flex;flex-direction:column;flex:1;min-height:0;min-width:0}.new-chat-header{display:flex;align-items:center;gap:8px;min-height:64px;padding:8px 20px;flex-shrink:0}.new-chat-header>div{flex:1;min-width:0}.new-chat-header h1{font-size:16px;font-weight:600;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;margin:0;line-height:24px}.new-chat-header small{font-size:11px;opacity:.6}.new-chat-header .icon-button{width:44px;height:44px;flex-shrink:0}.new-chat-empty{flex:1;min-height:80px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:24px;text-align:center}.new-chat-empty h2{font-size:24px;font-weight:500;margin:0}.new-chat-empty p{font-size:12px;opacity:.65}.new-chat-retry{align-self:center;margin:8px}.new-chat-page .error-banner{flex-shrink:0}@media(max-width:800px){.new-chat-header{padding:env(safe-area-inset-top) 8px 0;min-height:calc(56px + env(safe-area-inset-top))}}.new-chat-pending{flex:1;min-height:0;overflow:auto;width:100%;max-width:820px;margin:auto;padding:24px}.new-chat-pending .message-body{white-space:pre-wrap;overflow-wrap:anywhere}.new-chat-pending>p{display:flex;align-items:center;gap:8px;font-size:13px;line-height:1.6;opacity:.7}.new-chat-pending>p svg{flex-shrink:0}.new-chat-pending>.secondary{margin-top:12px}.connection-recovery{display:flex;align-items:center;gap:8px;padding:6px 16px;border-bottom:1px solid #78866c30;background:var(--bg,#f4f5ed);font-size:12px;line-height:1.5;min-width:0}.connection-recovery>svg{flex-shrink:0;opacity:.65}.connection-recovery>span{flex:1;min-width:0;overflow-wrap:anywhere}.connection-recovery button{display:inline-flex;align-items:center;gap:4px;flex-shrink:0;min-height:44px;padding:4px 8px;border:0;background:transparent;color:inherit;font:inherit;cursor:pointer}.status-dot.recovering{background:#92988d;box-shadow:none}@media(prefers-reduced-motion:reduce){.connection-recovery .spin{animation:none}}.connection-notice-slot{flex:0 0 auto;min-width:0}.backend-gate{padding:8px 16px;border-bottom:1px solid #78866c30;background:var(--bg,#f4f5ed)}.backend-gate section{display:flex;flex-wrap:wrap;align-items:center;gap:4px 12px;min-width:0}.backend-gate section>svg{width:18px;height:18px;flex-shrink:0}.backend-gate h2{font-size:14px;line-height:1.5;margin:0}.backend-gate p{font-size:12px;line-height:1.5;margin:0;overflow-wrap:anywhere}.backend-gate button{min-height:44px;width:auto;padding:6px 10px;display:flex;gap:6px;align-items:center;justify-content:center;font-size:13px}@media(max-width:600px){.backend-gate p{flex-basis:100%}}.message-attachments{display:flex;flex-direction:column;gap:8px;min-width:0;max-width:100%;margin-top:8px}.message-file{display:flex;align-items:center;gap:10px;min-width:0;max-width:100%;width:100%;padding:12px;border:1px solid #d8dfd1;border-radius:12px;background:#f5f7f1;text-align:left;line-height:1.5}.message-file>svg{flex-shrink:0;color:#697d57}.message-file>span{min-width:0;flex:1}.message-file strong{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;font-size:13px;font-weight:500;overflow-wrap:anywhere}.message-file small{display:block;font-size:11px;color:#707869;margin-top:3px}.message-file:is(button):hover{background:#e9eee2}[data-theme=dark] .message-file{background:#222a23;border-color:#3a4535;color:#e4e9e1}[data-theme=dark] .message-file small,[data-theme=dark] .message-file>svg{color:#adbea5}[data-theme=dark] .message-file:is(button):hover{background:#303d2e}.outbox-panel.mobile-queue{max-height:min(220px,28dvh);margin-bottom:8px;border:0;border-radius:0;background:none;scrollbar-width:thin}.queue-heading{display:flex;align-items:center;gap:7px;padding:2px 12px 7px;font-size:11px;opacity:.65}.mobile-queue .outbox-message{display:flex;align-items:center;flex-wrap:wrap;gap:4px;padding:8px 6px 8px 12px;border-left:2px solid #78866c40;margin:0 0 6px 8px}.queue-copy{flex:1;min-width:0}.queue-snippet{margin:0;font-size:13px;line-height:1.5;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}.queue-sheet-preview p{margin:6px 0;overflow-wrap:anywhere}.queue-meta{display:flex;align-items:center;min-height:22px;gap:8px}.queue-meta>span{font-size:11px;opacity:.65}.queue-issue{margin:2px 0 0;color:#a43a27;font-size:11px;line-height:1.4}.mobile-queue .queue-more{width:44px;height:44px;flex-shrink:0}.mobile-queue .outbox-message>.error{width:100%;overflow-wrap:anywhere}.queue-sheet-preview{max-height:120px;overflow:auto;font-size:14px;padding-bottom:12px;border-bottom:1px solid #78866c30}.queue-menu>button{min-height:46px;gap:12px}.queue-menu>button:last-child{color:#bc4c4c;border-top:1px solid #78866c30;margin-top:5px}.queue-sheet.feature-dialog{max-height:85dvh;overflow:auto;letter-spacing:0}@media(max-width:600px){.queue-sheet.feature-dialog{position:fixed;inset:auto 0 0;width:100%;max-width:100%;margin:0;border-radius:16px 16px 0 0;padding:20px 20px max(20px,env(safe-area-inset-bottom));border-bottom:0}.queue-sheet .modal-heading{margin-bottom:12px}}.cli-requests{display:grid;gap:12px;max-height:45vh;overflow:auto;margin-bottom:12px}.cli-request{border:1px solid var(--border,#7775);border-radius:16px;padding:16px;background:var(--panel,var(--bg,#fafaf8));color:var(--text,inherit)}.cli-request h3{display:flex;align-items:center;gap:8px;margin:0 0 12px;font-size:14px}.cli-request p,.cli-request label{font-size:13px;line-height:1.6}.cli-request pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;max-height:180px;overflow:auto}.cli-request-path{overflow-wrap:anywhere;opacity:.7}.cli-request-actions{display:flex;gap:10px}.cli-request label{display:block;margin-bottom:14px}.cli-request input{display:block;width:100%;margin-top:8px;padding:10px;border:1px solid var(--border,#7775);border-radius:8px;background:transparent;color:inherit}.cli-request-options{display:grid;gap:6px;margin-top:8px}.cli-request-options button{text-align:left;border:1px solid var(--border,#7775);border-radius:8px;padding:10px;background:transparent;color:inherit}.cli-request-options button[aria-pressed=true]{outline:2px solid #739262}.cli-request-options small{display:block;opacity:.7;margin-top:4px}.cli-request summary{cursor:pointer;font-size:13px}[data-theme=dark] .cli-request{background:#222a23;color:#e0e5dc;border-color:#3a4535}.cli-request-actions button{min-height:42px}@media(max-width:800px){.cli-request input{font-size:16px}}.cli-request-actions button{white-space:nowrap;flex-shrink:0}.composer-bottom{gap:10px}.composer-tools{flex:0 0 auto;min-width:0}.composer-tools>.icon-button{flex-shrink:0}.composer-actions{display:flex;align-items:center;gap:8px;flex:0 0 auto;margin-left:auto}.composer-actions .send-button{flex-shrink:0;width:38px;height:38px}.composer-delivery{display:flex;align-items:center;justify-content:flex-end;gap:5px;margin:7px 4px 0;font-size:11px;line-height:18px;color:#78866c;min-width:0}.composer-delivery svg{flex-shrink:0}.composer-delivery span{white-space:nowrap}.composer-delivery.uncertain{color:#a46c35}[data-theme=dark] .composer-delivery{color:#a5b59b}[data-theme=dark] .composer-delivery.uncertain{color:#d9b17f}.usage-panel h3{font-size:14px;margin:22px 0 12px}.usage-total{font-size:26px;font-variant-numeric:tabular-nums}.usage-values{margin:16px 0}.usage-values>div{display:flex;justify-content:space-between;gap:12px;margin:10px 0;font-size:12px}.usage-values dd{margin:0;flex-shrink:0;font-variant-numeric:tabular-nums}.usage-panel small{font-size:11px;opacity:.65}.usage-window{display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px;font-size:12px;margin:14px 0}.usage-window progress{width:100%;height:6px;accent-color:#55836c}.usage-bucket h4{font-size:12px;font-weight:500}.usage-panel{overflow:auto;max-height:85dvh}.usage-details{position:fixed;top:0;right:0;bottom:0;left:0;overflow:auto;background:#f8faf8;color:#263c35;z-index:45;letter-spacing:0;padding-top:env(safe-area-inset-top)}.usage-details>header{position:sticky;top:0;display:flex;align-items:center;gap:12px;padding:16px 20px;background:inherit;border-bottom:1px solid #dce4df;z-index:2}.usage-details h1{font-size:18px;margin:0}.usage-details-body{max-width:800px;margin:auto;padding:24px 20px max(32px,env(safe-area-inset-bottom))}.usage-details h2{font-size:14px;margin:0 0 14px;display:flex;gap:8px;align-items:center}.usage-scope{font-size:12px;color:#74817b}.usage-lifetime{display:flex;flex-direction:column;gap:12px;margin:26px 0}.usage-lifetime>span{font-size:13px}.usage-lifetime>strong{font-size:32px;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.usage-range{display:flex;border-bottom:1px solid #dce4df;gap:18px}.usage-range button{padding:12px 0;background:none;color:inherit;font-size:13px;border-bottom:2px solid transparent}.usage-range button[aria-pressed=true]{border-color:#278665;color:#278665}.usage-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;padding:20px 0;margin:0}.usage-metrics dt{font-size:11px;color:#74817b}.usage-metrics dd{font-size:16px;margin:9px 0 0;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.usage-calendar{padding:24px 0;border-top:1px solid #dce4df}.usage-calendar>p{font-size:11px;color:#74817b}.usage-heatmap{display:flex;gap:7px}.usage-weekdays{display:grid;grid-template-rows:repeat(7,1fr);width:12px;font-size:9px;align-items:center}.usage-cells{display:grid;grid-auto-flow:column;grid-template-rows:repeat(7,1fr);gap:4px;width:100%;max-width:600px}.usage-cells button{aspect-ratio:1;max-height:30px;width:100%;padding:0;border-radius:3px;border:1px solid #00000008}.usage-cells button[aria-pressed=true]{outline:2px solid #dc8c38;outline-offset:1px}.usage-cells button:focus-visible{outline:2px solid #235fa1;outline-offset:2px}.usage-details [data-level="0"]{background:#e5ebe7}.usage-details [data-level="1"]{background:#bee5d0}.usage-details [data-level="2"]{background:#73c19b}.usage-details [data-level="3"]{background:#35976b}.usage-details [data-level="4"]{background:#176144}.usage-details [data-level=unknown]{background:repeating-linear-gradient(45deg,#d9ddd9 0 2px,transparent 2px 4px)}.heatmap-legend{display:flex;justify-content:flex-end;align-items:center;gap:4px;margin-top:12px;font-size:10px}.heatmap-legend i{width:10px;height:10px;border-radius:2px}.usage-day{padding:22px 0;border-top:1px solid #dce4df;border-bottom:1px solid #dce4df}.usage-day>strong{font-size:22px;overflow-wrap:anywhere}.usage-day small{font-size:12px;font-weight:400}.usage-day dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.usage-day dt{font-size:11px;color:#74817b}.usage-day dd{margin:6px 0 0;font-size:13px;overflow-wrap:anywhere}.usage-daily{padding:24px 0}.usage-daily-head,.usage-daily button{display:grid;grid-template-columns:100px minmax(0,1fr) 48px;gap:8px;width:100%;text-align:right;padding:12px 0;font-size:12px;color:inherit;background:none;border-bottom:1px solid #dce4df}.usage-daily-head{font-size:11px;color:#74817b}.usage-daily time,.usage-daily-head span:first-child{text-align:left}.usage-daily strong{overflow-wrap:anywhere}.usage-daily button:hover{background:#e5ebe7}.usage-more{display:flex;align-items:center;justify-content:space-between;width:100%;padding:16px 0;margin-top:14px;background:none;color:inherit;border-top:1px solid #dce4df;font-size:13px}[data-theme=dark] .usage-details{background:#18221f;color:#e4eee8}[data-theme=dark] .usage-details [data-level="0"],[data-theme=dark] .usage-daily button:hover{background:#2b3831}.project-files{height:100dvh;background:var(--bg,#f8f8f6);color:var(--text,#232323);display:flex;flex-direction:column}.project-files>header{display:flex;align-items:center;gap:12px;padding:calc(env(safe-area-inset-top) + 14px) 18px 14px;border-bottom:1px solid #8883}.project-files h1{font-size:17px;flex:1;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.project-files-content{overflow:auto;padding:20px 20px calc(env(safe-area-inset-bottom) + 24px);width:100%;max-width:1100px;margin:auto;flex:1;box-sizing:border-box}.project-root,.file-meta{font-size:12px;opacity:.6;overflow-wrap:anywhere}.file-breadcrumbs{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin:18px 0}.file-breadcrumbs button{border:0;background:none;color:inherit;padding:5px;cursor:pointer}.file-filter{display:flex;gap:10px;align-items:center;border:1px solid #8883;border-radius:12px;padding:10px 12px;margin-bottom:14px}.file-filter input{min-width:0;width:100%;border:0;outline:none;background:none;color:inherit;font:inherit}.file-entries>button{width:100%;display:flex;align-items:center;gap:13px;text-align:left;color:inherit;background:transparent;border:0;border-bottom:1px solid #8882;padding:16px 4px;cursor:pointer}.file-entries>button:hover{background:#8881}.file-entries>button>span{flex:1;overflow-wrap:anywhere;min-width:0}.file-entries svg{flex-shrink:0}.file-entries>button:disabled{opacity:.5}.file-empty{padding:35px 0;display:flex;justify-content:center;gap:10px;opacity:.65}.project-file-preview pre{font-size:13px;line-height:1.65;overflow:auto;padding:18px;border:1px solid #8883;border-radius:12px;-moz-tab-size:2;tab-size:2}.project-file-preview img{display:block;max-width:100%;max-height:75vh;object-fit:contain;margin:24px auto}.file-meta{margin:14px 0}[data-theme=dark] .project-files{background:#171a17;color:#e1e5dc}.project-files .icon-button{min-width:40px;min-height:40px}.file-viewer-dialog>.project-files{width:100%}.project-file-preview .file-code-view{margin-left:-20px;margin-right:-20px}.project-file-preview .file-code-line{font-size:inherit}.file-scope-tabs{display:flex;padding:4px;background:#f1f1f1;border-radius:24px;margin:0 0 18px;gap:4px}.file-scope-tabs button{flex:1;min-width:0;min-height:40px;border-radius:20px;font-size:14px;color:#777}.file-scope-tabs button[aria-selected=true]{background:#fff;color:#222;box-shadow:0 1px 4px #0001}.project-files-content:has(.file-scope-tabs){max-width:900px}[data-theme=dark] .file-scope-tabs{background:#303030}[data-theme=dark] .file-scope-tabs button[aria-selected=true]{background:#484848;color:#fff}@media(max-width:800px){.file-viewer-dialog:has(.file-scope-tabs){top:18px;right:0;bottom:0;left:0;height:calc(100dvh - 18px);border-radius:24px 24px 0 0}.file-viewer-dialog:has(.file-scope-tabs) .project-files{height:100%}.file-viewer-dialog:has(.file-scope-tabs)::backdrop{background:#0003}.project-files-content{padding-top:16px}.file-entries>button{font-size:16px;min-height:56px;padding:14px 4px}}.reader-header-tools{display:flex;flex:0 0 auto!important;align-items:center}.reader-local-tools{display:flex;justify-content:flex-end;padding:4px 12px}.reader-file-info{padding:20px 0 14px;border-bottom:1px solid #78866c30}.reader-file-info strong{display:block;font-size:16px;overflow-wrap:anywhere}.reader-file-info p{font-size:12px;opacity:.65;overflow-wrap:anywhere;line-height:1.6;margin:10px 0}.reader-file-info small{font-size:12px;opacity:.65}.reader-status{padding:8px 16px;margin:0;font-size:11px;line-height:1.5;opacity:.65;border-bottom:1px solid #78866c20}.file-viewer-dialog .project-files>header,.file-viewer-dialog>.file-viewer-header{min-height:56px;flex-shrink:0;padding:calc(env(safe-area-inset-top) + 6px) 8px 6px;gap:6px}.project-files>header button,.file-viewer-header button{min-width:44px;min-height:44px}.project-files>header h1,.file-viewer-header h1{font-size:15px}.file-viewer-header small:empty{display:none}.project-files-content{min-height:0;overscroll-behavior:contain}.project-files-content.reading-file{padding:0 0 env(safe-area-inset-bottom);max-width:none}.reading-file .project-file-preview .file-code-view{margin:0;padding-top:14px}.file-code-view{padding-top:12px}.reading-file .project-file-preview img{margin:0 auto}.file-image-view{display:grid;place-items:center;min-height:65dvh;padding:16px}.file-code-line{line-height:1.8}.file-viewer-header .reader-header-tools+button{display:none}.file-viewer-footer{padding-top:4px;padding-bottom:calc(4px + env(safe-area-inset-bottom))}.reader-setting{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 14px;font-size:14px}.reader-setting select{min-height:40px;min-width:72px;border:1px solid #78866c50;border-radius:8px;background:transparent;color:inherit;padding:6px 10px;font:inherit}.reader-file-info~.action-list>button>span{margin-left:auto;flex:0}.file-viewer-dialog{position:fixed;top:0;right:0;bottom:0;left:0;width:100%;max-width:none;height:100dvh;max-height:none;margin:0;padding:0;border:0;background:#f8f8f6;color:#242724;overflow:hidden}.file-viewer-dialog[open]{display:flex;flex-direction:column}.file-viewer-header{display:flex;align-items:center;gap:10px;padding:calc(env(safe-area-inset-top) + 10px) 12px 10px;border-bottom:1px solid #78866c30;flex-shrink:0}.file-viewer-header>div{flex:1;min-width:0}.file-viewer-header h1{font-size:16px;font-weight:600;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.file-viewer-header small{display:block;font-size:11px;opacity:.6;margin-top:3px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.file-viewer-header button{min-height:42px;min-width:42px}.viewer-done{font-size:13px}.file-viewer-body{overflow:auto;flex:1;min-height:0;overscroll-behavior:contain;padding-bottom:env(safe-area-inset-bottom)}.file-viewer-footer{display:flex;align-items:center;justify-content:space-between;padding:8px 14px calc(8px + env(safe-area-inset-bottom));border-top:1px solid #78866c30;flex-shrink:0}.file-viewer-footer button{display:flex;align-items:center;gap:6px;min-height:42px;font-size:12px}.file-viewer-footer>span{font-size:12px;opacity:.6}.viewer-options{display:flex;align-items:center;justify-content:space-between;padding:6px 16px;font-size:11px;opacity:.8}.viewer-options button{display:flex;align-items:center;gap:6px;min-height:38px;font-size:12px}.viewer-options button[aria-pressed=true]{color:#2c7659}.file-code-view{font:12px/1.75 Consolas,Microsoft YaHei,monospace;overflow-x:auto;-moz-tab-size:2;tab-size:2;padding-bottom:20px}.file-code-line{display:flex;min-width:100%;width:max-content}.file-code-line code{white-space:pre;padding-right:16px;flex:1;min-width:0}.file-code-view.wrap .file-code-line{width:100%}.file-code-view.wrap code{white-space:pre-wrap;overflow-wrap:anywhere}.file-line-number{width:34px;flex-shrink:0;text-align:right;padding-right:7px;opacity:.45;-webkit-user-select:none;user-select:none}.file-line-sign{width:16px;flex-shrink:0;-webkit-user-select:none;user-select:none}.file-code-line.add{background:#35835415}.file-code-line.del{background:#be4c4c12}.file-code-line.add .file-line-sign{color:#237342}.file-code-line.del .file-line-sign{color:#b44242}.file-hunk{padding:6px 14px;background:#4e83ac12;color:#6185a3;font-size:11px}.viewer-empty{padding:24px 18px;font-size:13px;opacity:.6}.file-image-view{padding:20px}.file-image-view img{display:block;max-width:100%;max-height:75vh;object-fit:contain;margin:auto}[data-theme=dark] .file-viewer-dialog{background:#171d19;color:#e4e9e1}[data-theme=dark] .viewer-options button[aria-pressed=true]{color:#a2cfb5}[data-theme=dark] .file-code-line.add{background:#315d383a}[data-theme=dark] .file-code-line.del{background:#80454530}.file-view-tabs{display:flex;gap:20px;padding:0 16px;border-bottom:1px solid #78866c30}.file-view-tabs button{min-height:46px;border-bottom:2px solid transparent;font-size:13px}.file-view-tabs button[aria-pressed=true]{border-color:#54836a}.current-file-actions{display:flex;align-items:center;gap:6px;padding:6px 14px;font-size:11px}.current-file-actions>span{flex:1;opacity:.6}.current-file-actions button{min-height:38px;min-width:38px}.document-preview{max-width:800px;margin:auto;padding:22px 20px 40px;line-height:1.8;font-size:15px;overflow-wrap:anywhere}.document-preview h1{font-size:26px;line-height:1.4;margin:0 0 20px}.document-preview h2{font-size:21px;line-height:1.4;margin:28px 0 12px}.document-preview h3{font-size:17px}.document-preview img{max-width:100%;height:auto;border-radius:8px}.document-preview pre{overflow:auto;font-size:12px;background:#78866c12;padding:14px;border-radius:10px}.document-preview blockquote{margin:16px 0;padding:4px 16px;border-left:3px solid #78866c60;color:#78866c}.document-preview table,.table-preview table{border-collapse:collapse;font-size:13px;min-width:100%}.document-preview table{display:block;overflow:auto}.document-preview td,.document-preview th,.table-preview td,.table-preview th{padding:10px 14px;border:1px solid #78866c30;text-align:left}.document-preview th,.table-preview th{background:#78866c12;font-weight:600}.table-preview{overflow:auto;padding:16px}.table-preview td{max-width:340px;overflow-wrap:anywhere;white-space:pre-wrap}.preview-image-placeholder{font-size:12px;opacity:.6}.pdf-preview{width:100%;min-width:0}.pdf-controls{display:flex;align-items:center;justify-content:center;gap:8px;padding:8px}.pdf-controls button{min-width:38px;min-height:40px}.pdf-controls span{font-size:12px;min-width:60px;text-align:center}.pdf-preview>p{display:flex;justify-content:center;gap:8px;font-size:12px}.pdf-canvas-scroll{overflow:auto;padding:12px;background:#78866c12}.pdf-canvas-scroll canvas{display:block;margin:auto;box-shadow:0 2px 14px #0002}.project-file-preview .document-preview{padding:18px 0}.project-file-preview .pdf-preview{min-width:0}.changed-files{margin:12px 0 24px;border:1px solid #78866c30;border-radius:14px;overflow:hidden}.changes-heading{display:flex;align-items:center;justify-content:space-between;padding:9px 14px;gap:10px}.changes-heading h3{font-size:12px;font-weight:550;margin:0;color:#78866c}.changes-heading>button{display:flex;align-items:center;gap:3px;font-size:12px;min-height:36px}.change-file-row{display:flex;align-items:center;gap:12px;width:100%;text-align:left;padding:13px 16px;border-top:1px solid #78866c20;min-height:52px}.change-file-row>span{flex:1;min-width:0}.change-file-row strong{display:block;font-size:13px;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.change-file-row small{display:block;font-size:11px;opacity:.55;margin-top:3px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.change-file-row svg{flex-shrink:0}.change-file-row:hover{background:#78866c0c}.change-file-list{max-width:840px;margin:auto;padding:20px}.revision-selector{padding:10px 16px;border-bottom:1px solid #78866c25}.revision-selector select{font:inherit;font-size:12px;max-width:100%;color:inherit;background:transparent;border:1px solid #78866c40;border-radius:8px;padding:8px}.revision-selector option{color:#242724;background:#f8f8f6}[data-theme=dark] .changes-heading h3{color:#adbea5}.change-kind{font-style:normal;font-size:10px;opacity:.6;flex-shrink:0}.changes-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:48px;padding:10px 16px;border-top:1px solid #78866c25;text-align:left;font-size:13px}.changes-footer:hover{background:#78866c0c}.change-file-row strong{font-size:14px}.change-file-row small{font-size:12px;opacity:.7}.connection-picker{position:relative;min-width:0}.connection-picker .model-button{max-width:360px;min-width:0;font-size:16px;letter-spacing:0}.connection-picker .model-button>span{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.connection-picker svg{flex-shrink:0}.recent-threads{margin-bottom:20px}.recent-threads h2,.threads-section-label{font-size:12px;font-weight:500;opacity:.65;margin:14px 12px 8px}.recent-threads .recent-thread{display:flex;flex-direction:column;align-items:stretch;text-align:left;width:100%;min-width:0;gap:5px;padding:10px 12px;border-radius:6px}.recent-thread:hover,.recent-thread.selected{background:#78866c18}.recent-project{font-size:10px;opacity:.6;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.recent-title-row,.thread-title-row{display:flex;align-items:center;gap:8px;min-width:0}.recent-title,.thread-title-text{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.recent-title{font-size:13px}.thread-running-icon{flex:0 0 auto;color:#54836b}.recent-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:10px;opacity:.8}.thread-status{display:inline-flex;align-items:center;gap:4px;white-space:nowrap;font-size:10px;color:#54836b}.thread-status.failed{color:#bc5858}.thread-status.approval,.thread-status.input{color:#a57932}.project-section>summary>.project-running{display:flex;align-items:center;flex:0 0 auto;gap:4px;font-size:10px;color:#54836b;white-space:nowrap}.project-threads .thread small{justify-content:space-between;flex-wrap:wrap}.sessions-page{width:100%;max-width:850px;margin:0 auto;padding:24px;overflow:auto;flex:1;min-height:0}.sessions-page h1{font-size:20px;letter-spacing:0;margin:0 0 20px}.sessions-page .project-section{margin-bottom:12px}.composer-bottom .stop-button{margin-left:auto;margin-right:8px;background:#353c35;color:#fff}.connection-picker .model-button{gap:3px}.connection-picker .model-button>.connection-app{flex-shrink:0;overflow:visible}.connection-picker .model-button>svg{margin-left:5px}.device-name-hint{display:flex;align-items:center;gap:8px;padding:6px 20px;font-size:12px;border-bottom:1px solid #78866c30}.device-name-hint>button:first-child{display:flex;align-items:center;gap:8px;flex:1;text-align:left;min-height:36px}.connection-menu{position:absolute;top:calc(100% + 12px);left:0;z-index:40;width:320px;max-width:calc(100vw - 88px);max-height:min(400px,60dvh);overflow:auto;padding:6px;background:#fff;border:1px solid #e0e4dd;border-radius:8px;box-shadow:0 8px 28px #18201a18}.connection-menu>button{display:flex;align-items:center;gap:10px;width:100%;min-height:46px;padding:10px;text-align:left;border-radius:6px}.connection-menu>button>span{flex:1;min-width:0;overflow-wrap:anywhere}.connection-menu>button:hover,.connection-menu>button[aria-checked=true]{background:#eef1eb}[data-theme=dark] .connection-menu{background:#222a23;border-color:#3a4535}[data-theme=dark] .connection-menu>button:hover,[data-theme=dark] .connection-menu>button[aria-checked=true]{background:#303d2e}.topbar>div:first-child{min-width:0}@media(max-width:800px){.connection-picker .model-button{max-width:calc(100vw - 172px);font-size:15px}.connection-menu{left:0}}.account-page{min-height:100dvh;background:#17251d;color:#edf2e6;padding:32px 6vw 64px;overflow:auto}.account-brand{display:flex;align-items:center;gap:12px;max-width:1100px;margin:0 auto 60px}.account-brand span{margin-left:auto;font-size:10px;letter-spacing:2px;color:#a1b09b}.account-card{max-width:520px;margin:auto;padding:38px;border:1px solid #526149;border-radius:24px;background:#f2f3eb;color:#27372b}.account-card h1{font-size:38px;letter-spacing:-1.5px;line-height:1.2;margin:18px 0 28px}.account-card h2{font-size:16px;margin-top:28px}.account-card p{font-size:14px;line-height:1.7}.account-eyebrow{font-size:10px!important;letter-spacing:2px;color:#6c7d62}.account-symbol{padding:14px;background:#e3e8d8;border-radius:16px;width:fit-content}.account-card form{display:grid;gap:18px}.account-card label{display:grid;gap:9px;font-size:13px}.account-card input:not([type=checkbox]){width:100%;box-sizing:border-box;background:#fcfcf8;border:1px solid #c6cfbc;border-radius:10px;padding:13px;color:#26352b;font-size:16px}.account-card button{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:#30492e;color:#fff;border:0;border-radius:10px;padding:12px 16px;cursor:pointer;min-height:44px}.account-card button:disabled{opacity:.5;cursor:default}.account-card button.account-secondary{background:#e0e6d8;color:#36492c}.account-card button.account-logout{background:transparent;color:#526548;margin-top:26px;padding-left:0}.account-actions{display:flex;gap:10px;margin:22px 0}.account-code{display:block;font-size:28px;letter-spacing:5px;font-family:monospace;margin:24px 0}.account-check{display:flex!important;align-items:center;line-height:1.7}.account-card a{color:#365a32;display:inline-block;margin-top:20px}.account-devices article,.account-device{display:flex;align-items:center;gap:10px;padding:14px 0;border-bottom:1px solid #d7ddce}.account-devices article strong,.account-device span{flex:1;overflow-wrap:anywhere}.account-card details{margin-top:24px}.account-card details form{margin-top:18px}.account-error{color:#a33327!important;overflow-wrap:anywhere}.account-card :focus-visible{outline:3px solid #85a767;outline-offset:3px}@media(max-width:600px){.account-page{padding:24px 20px}.account-brand{margin-bottom:36px}.account-brand span{display:none}.account-card{padding:26px 22px}.account-card h1{font-size:32px}.account-devices article{flex-wrap:wrap}.account-devices article strong{min-width:50%}}.account-host-info{flex:1;min-width:0;display:grid;gap:6px}.account-host-info strong{overflow-wrap:anywhere}.account-host-status{font-size:12px;color:#747b70}.account-host-status.is-online{color:#365a32}.account-host-status:before{content:"";display:inline-block;width:6px;height:6px;border-radius:50%;background:currentColor;margin-right:6px}:root{font-family:Inter,Segoe UI,PingFang SC,Microsoft YaHei,sans-serif;color:#242724;background:#f8f8f6;font-synthesis:none;font-weight:400;-webkit-font-smoothing:antialiased;font-size:14px}*{box-sizing:border-box}body{margin:0}button,input,textarea{font:inherit}button{cursor:pointer;color:inherit}button:disabled{cursor:default;opacity:.4}button,input,textarea{-webkit-tap-highlight-color:transparent}button{border:0;background:none}a{color:#2c6656}button:focus-visible,a:focus-visible{outline:2px solid #4a8976;outline-offset:4px}input:focus,textarea:focus{outline:none}button,textarea,input{touch-action:manipulation}.app-shell{display:flex;height:100dvh;overflow:hidden}.sidebar{width:278px;flex-shrink:0;background:#efefeb;border-right:1px solid #e4e5df;display:flex;flex-direction:column;padding:27px 17px 15px}.brand{display:flex;align-items:center;gap:11px;padding:0 10px 29px;font-size:17px;letter-spacing:-.5px}.brand-symbol{display:grid;place-items:center;background:#263d34;color:#fff;width:32px;height:32px;border-radius:10px}.home-button{display:flex;align-items:center;gap:11px;background:#fafaf7;padding:14px;border:1px solid #dedfd8;border-radius:11px;text-align:left;font-weight:550;margin-bottom:20px}.count{font-size:11px;color:#8c9188;margin-left:auto}.search{display:flex;align-items:center;gap:9px;color:#8b9188;padding:0 10px;height:36px}.search input{width:100%;min-width:0;background:none;border:0;font-size:12px;color:#384037}.list-caption{display:flex;align-items:center;justify-content:space-between;padding:20px 12px 7px;font-size:10px;letter-spacing:1px;color:#93978e}.thread-list{flex:1;overflow:auto;scrollbar-width:thin;scrollbar-color:#d2d5cc transparent}.thread{display:flex;flex-direction:column;gap:7px;width:100%;padding:13px 12px;text-align:left;border-radius:9px;margin:2px 0}.thread:hover{background:#e7e9e1}.thread.selected{background:#e1e6dc}.thread>span{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;width:100%}.thread small{display:flex;align-items:center;gap:7px;color:#92958d;font-size:10px}.thread small i{width:2px;height:2px;background:#a5a99f;border-radius:50%}.host-card{display:flex;align-items:center;gap:10px;text-align:left;border-top:1px solid #dddfd5;padding:19px 7px 0;margin-top:12px}.host-avatar{width:34px;height:34px;border:1px solid #d6dacd;border-radius:9px;display:grid;place-items:center;background:#e4e8de}.host-card>span:nth-child(2){flex:1;min-width:0}.host-card strong{display:block;font-size:11px;font-weight:550;overflow:hidden;text-overflow:ellipsis;max-width:154px}.host-card small{display:flex;gap:5px;align-items:center;font-size:10px;color:#858b7e;margin-top:5px}.status-dot{display:inline-block;width:6px;height:6px;background:#b3b7af;border-radius:50%;flex-shrink:0}.status-dot.online{background:#4f8e68;box-shadow:0 0 0 3px #4f8e6810}.status-dot.error,.status-dot.unpaired{background:#c88751}.workspace{flex:1;min-width:0;display:flex;flex-direction:column;position:relative}.topbar{height:76px;flex-shrink:0;display:flex;align-items:center;justify-content:space-between;padding:0 35px;border-bottom:1px solid #eeefea}.topbar>div{display:flex;align-items:center;gap:20px}.model-button{display:flex;align-items:center;gap:10px;font-size:19px;font-weight:600;letter-spacing:-.6px}.desktop-label{font-size:11px;color:#9a9e95;border-left:1px solid #ddd;padding-left:20px}.connection-chip{display:flex;align-items:center;gap:9px;border:1px solid #e2e5dc;border-radius:20px;font-size:10px;padding:8px 12px;color:#707869;background:#f4f5ef}.connection-chip svg{color:#8b9381;margin-left:4px}.icon-button{display:inline-flex;align-items:center;justify-content:center;padding:7px;border-radius:7px}.icon-button:hover{background:#e9ece3}.mobile-only{display:none}.welcome{display:flex;flex-direction:column;align-items:center;justify-content:center;flex:1;padding:40px 28px 65px;overflow:auto}.welcome-emblem{width:72px;height:72px;display:grid;place-items:center;border:1px solid #d7decb;background:radial-gradient(ellipse at 20% 10%,#fafcf6,#e5ebdb);border-radius:24px;color:#566c47;margin-bottom:30px;box-shadow:0 12px 24px #61734c08}.eyebrow{font-size:9px;letter-spacing:2.1px;color:#8b9480;font-weight:550}.welcome h1{font-size:clamp(32px,4vw,48px);font-weight:500;letter-spacing:-2.2px;line-height:1.3;margin:21px 0 16px}.welcome h1 span{color:#80926d}.welcome>p{font-size:13px;color:#959b8d;margin:0}.recent-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;width:min(730px,100%);margin-top:50px}.recent-grid button{position:relative;background:#fdfdfa;border:1px solid #e2e5d9;border-radius:15px;padding:20px 19px 40px;text-align:left;min-height:138px;transition:transform .2s,border-color .2s,box-shadow .2s}.recent-grid button:hover{transform:translateY(-4px);border-color:#b3c19f;box-shadow:0 10px 30px #45583308}.recent-grid button>span{display:flex;gap:8px;align-items:center;font-size:10px;color:#939a88;white-space:nowrap;overflow:hidden}.recent-grid strong{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:13px;font-weight:500;line-height:1.7;margin-top:16px}.recent-grid button>svg{position:absolute;bottom:14px;right:16px;transform:rotate(45deg);color:#9ea88f}.welcome-foot{margin-top:34px;color:#a3aa99;font-size:10px;display:flex;align-items:center;gap:7px}.conversation-heading{padding:24px 30px 16px;display:flex;justify-content:space-between;align-items:center;gap:20px;max-width:910px;width:100%;margin:auto}.conversation-heading h1{font-size:17px;line-height:1.5;font-weight:500;margin:7px 0 0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.activity{display:flex;align-items:center;white-space:nowrap;gap:5px;font-size:10px;color:#8b9581}.activity.working{color:#587c4c}.messages{flex:1;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#d8dece transparent}.message-column{max-width:800px;margin:0 auto;padding:22px 30px 30px}.message{margin-bottom:29px;position:relative;font-size:14px;line-height:1.9;overflow-wrap:anywhere}.message.user{display:flex;justify-content:flex-end}.message.user .message-body{max-width:85%;background:#e9ece3;border:1px solid #e2e7d9;padding:10px 19px;border-radius:20px 20px 5px}.assistant-label{display:flex;gap:7px;align-items:center;color:#697d57;font-size:11px;margin-bottom:10px;font-weight:600}.message-body p{margin:0 0 12px}.message-body p:last-child{margin-bottom:0}.message-body pre{background:#eeefe9;border:1px solid #e1e4d9;border-radius:11px;padding:16px;overflow:auto;font:12px/1.8 Consolas,monospace}.message-body code{font-size:12px;background:#e9ece3;border-radius:4px;padding:2px 4px}.message-body pre code{padding:0;background:none}.message-body table{display:block;overflow:auto;border-collapse:collapse;font-size:12px}.message-body th,.message-body td{padding:8px 12px;border:1px solid #dedfd7}.message-body blockquote{border-left:3px solid #c6d2b8;margin:15px 0;padding-left:17px;color:#7a8571}.copy-button{color:#a4ab9a;padding:7px 2px;margin-top:4px}.tool-card{border:1px solid #e3e7db;border-radius:10px;background:#f3f5ee;margin:9px 0;color:#7c8671}.tool-card summary{display:flex;align-items:center;gap:9px;padding:12px 13px;font-size:11px;cursor:pointer;list-style:none}.tool-card summary::-webkit-details-marker{display:none}.tool-card summary span{flex:1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.tool-card[open] summary>svg:last-child{transform:rotate(90deg)}.tool-card pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:300px;overflow:auto;padding:4px 15px 15px;font:11px/1.7 Consolas,monospace}.live-note{display:flex;gap:8px;align-items:center;font-size:11px;color:#879878;margin:25px 0}.pulse{width:6px;height:6px;background:#88a16e;border-radius:50%;animation:pulse 1.5s infinite}.composer-wrap{width:100%;max-width:820px;margin:0 auto;padding:10px 28px max(15px,env(safe-area-inset-bottom));flex-shrink:0}.composer{background:#fff;border:1px solid #dfe4d6;border-radius:22px;box-shadow:0 5px 20px #344d2706;padding:16px 17px 11px}.composer:focus-within{border-color:#b5c3a3;box-shadow:0 3px 24px #344d2709}.composer textarea{border:0;resize:none;background:none;width:100%;min-height:49px;max-height:150px;line-height:1.6;color:#333e2c;font-size:14px}.composer textarea::placeholder{color:#a1a797}.composer-bottom{display:flex;align-items:center;justify-content:space-between}.composer-bottom>span{display:flex;align-items:center;gap:6px;font-size:10px;color:#a3aa98}.send-button{width:34px;height:34px;border-radius:50%;background:#31452b;color:#fff;display:grid;place-items:center}.send-button:hover:not(:disabled){background:#4e6b40}.composer-caption{font-size:9px;color:#a8ad9f;text-align:center;margin-top:10px}.error-banner{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:5px 28px;padding:9px 14px;border-radius:10px;background:#fbefe8;color:#985c3c;font-size:12px}.loading{display:flex;align-items:center;justify-content:center;gap:10px;padding:40px;color:#8a977b;font-size:12px}.load-more{display:flex;gap:5px;align-items:center;justify-content:center;color:#8d9880;font-size:11px;padding:14px;margin:auto}.list-empty{color:#929b86;padding:20px;text-align:center;font-size:12px}.chosen{color:#3d6c44;background:#dce5d3}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#1f2e2540;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);z-index:40;display:grid;place-items:center;padding:20px}.settings{width:100%;max-width:380px;background:#fafbf7;border:1px solid #e5e9dd;border-radius:24px;padding:24px;box-shadow:0 25px 100px #16250c20}.modal-heading{display:flex;align-items:center;justify-content:space-between}.modal-heading h2{font-size:15px;font-weight:550;margin:0}.device-illustration{display:grid;place-items:center;width:90px;height:90px;border-radius:26px;background:#e9eede;color:#657e4e;margin:29px auto 20px}.settings h3{text-align:center;font-size:17px;font-weight:500}.settings>p{display:flex;align-items:center;justify-content:center;gap:7px;font-size:12px;color:#939e88;margin-bottom:25px}.setting-row{display:flex;justify-content:space-between;border-top:1px solid #e7ebdf;padding:17px 0;font-size:12px;color:#939d88}.setting-row strong{font-weight:400;color:#58694a;display:flex;align-items:center;gap:5px}.secondary{display:flex;gap:8px;align-items:center;justify-content:center;background:#edf1e6;border:1px solid #dfe6d3;border-radius:10px;padding:12px;color:#6a7f54;font-size:12px}.settings .secondary{width:100%;margin-top:10px}.disconnect{display:flex;align-items:center;justify-content:center;gap:7px;width:100%;color:#9b8777;font-size:11px;margin-top:20px}.pair-screen{min-height:100dvh;display:flex;flex-direction:column;padding:36px 6vw;background:radial-gradient(ellipse at 90% 0%,#e9edde70,transparent 50%),#f8f8f6}.pair-brand{display:flex;align-items:center;gap:12px;color:#395138;font-weight:550;letter-spacing:-.3px}.pair-card{width:100%;max-width:510px;margin:auto;padding:60px 0}.pair-card h1{font-size:clamp(30px,4.5vw,46px);line-height:1.4;letter-spacing:-1.8px;font-weight:500;margin:21px 0}.pair-card h1 span{color:#84946f}.pair-card>p{color:#9aa28f;font-size:13px;margin-bottom:37px}.pair-card form label{display:block;font-size:11px;color:#7d8b6c;margin-bottom:10px}.pair-card input{width:100%;border:1px solid #dce3d3;background:#fff;padding:17px;border-radius:12px;font-size:13px;color:#536246}.primary{width:100%;border-radius:12px;background:#344b2e;color:#fff;display:flex;align-items:center;justify-content:center;gap:10px;padding:16px;margin-top:12px}.secure{display:flex;align-items:center;justify-content:center;gap:7px;font-size:10px;color:#9da890;margin-top:22px}.pair-screen footer{font-size:10px;color:#a4ad99}.error{color:#a36946!important}.attachment{color:#8b9680;font-size:12px}.spin{animation:spin 1.2s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{50%{opacity:.3}}.scrim{display:none}@media(min-width:1500px){.sidebar{width:300px;padding-left:22px;padding-right:22px}.welcome h1{font-size:52px}}@media(max-width:800px){.mobile-only{display:inline-flex}.sidebar{position:fixed;left:0;top:0;bottom:0;z-index:30;width:285px;transform:translate(-100%);transition:transform .25s ease;padding-top:max(25px,env(safe-area-inset-top))}.sidebar.open{transform:translate(0)}.brand .icon-button{margin-left:auto}.scrim{display:block;position:fixed;top:0;right:0;bottom:0;left:0;z-index:29;background:#26342050;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.topbar{height:65px;padding:env(safe-area-inset-top) 15px 0}.topbar>div{gap:10px}.model-button{font-size:19px}.desktop-label{display:none}.connection-chip{padding:7px 9px;gap:6px}.connection-chip svg{display:none}.conversation-heading{padding:18px 21px 9px;gap:12px}.conversation-heading h1{font-size:15px}.conversation-heading .eyebrow{font-size:8px;letter-spacing:1.4px}.activity{font-size:9px}.message-column{padding:22px 20px}.message{font-size:14px;margin-bottom:25px}.message.user .message-body{max-width:91%;padding:10px 15px}.composer-wrap{padding:8px 13px max(13px,env(safe-area-inset-bottom))}.composer{border-radius:20px;padding:13px 14px 10px}.composer textarea{font-size:16px;min-height:43px}.composer-caption{font-size:9px;margin-top:8px}.welcome{padding:35px 24px 50px}.welcome-emblem{width:64px;height:64px;border-radius:21px;margin-bottom:27px}.welcome h1{font-size:36px;margin-top:22px;letter-spacing:-1.7px}.welcome>p{font-size:12px}.recent-grid{grid-template-columns:1fr;margin-top:35px;gap:9px;max-width:410px}.recent-grid button{min-height:0;padding:15px 40px 15px 16px;border-radius:12px}.recent-grid button>span{font-size:9px}.recent-grid button>span svg{width:14px;height:14px}.recent-grid strong{font-size:12px;-webkit-line-clamp:1;margin-top:7px}.recent-grid button>svg{bottom:25px}.welcome-foot{font-size:9px;margin-top:26px}.error-banner{margin:5px 14px;font-size:11px}.pair-screen{padding:27px 25px}.pair-card{padding:55px 0}.pair-card input{font-size:16px}.pair-card h1{font-size:34px}.modal-backdrop{align-items:end;padding:14px}.settings{max-width:500px;border-radius:22px;padding-bottom:max(24px,env(safe-area-inset-bottom))}}.manual-pair{margin-top:22px}.manual-pair summary{padding:12px;text-align:center;color:#758369;font-size:12px;cursor:pointer;list-style:none}.manual-pair summary::-webkit-details-marker{display:none}.manual-pair label{display:block;margin:18px 0 10px}.manual-pair .primary{background:#e8eddf;color:#344b2e}.scan-button{min-height:56px}.pair-screen{min-height:100dvh}.pair-card input{min-width:0}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}.scanner-dialog{width:min(420px,calc(100% - 28px));max-height:calc(100dvh - 28px);overflow:auto;border:1px solid #dfe5d6;border-radius:24px;padding:24px;background:#fafbf7;color:#344b2e;box-shadow:0 24px 100px #16250c30}.scanner-dialog::backdrop{background:#1f2e2570;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}.camera-preview{position:relative;aspect-ratio:1;background:#1f2e25;border-radius:18px;overflow:hidden;display:grid;place-items:center;margin-top:24px;color:#b5c3a3}.camera-preview video{position:absolute;width:100%;height:100%;object-fit:cover}.camera-preview>svg{z-index:1}.scan-frame{position:absolute;top:12%;right:12%;bottom:12%;left:12%;border:1px solid #e0efbd99;border-radius:18px;box-shadow:0 0 0 100px #0002;pointer-events:none}.scan-hint{font-size:12px;text-align:center;color:#7d8b6c;margin:18px 0}.scanner-dialog .error{font-size:12px;line-height:1.7}.image-picker{cursor:pointer;position:relative}.image-picker input{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;opacity:0;cursor:pointer}.image-picker:focus-within{outline:2px solid #4a8976;outline-offset:3px}.scanner-loading{position:fixed;bottom:24px;left:50%;transform:translate(-50%);padding:14px 20px;background:#344b2e;color:#fff;border-radius:12px}.settings{max-height:calc(100dvh - 28px);overflow:auto}.setting-row{gap:16px}.setting-row strong{text-align:right}.pair-card h1{margin-bottom:32px}.jump-latest{display:flex;align-items:center;justify-content:center;gap:7px;margin:0 auto 12px;padding:10px 16px;border:1px solid #dce3d3;border-radius:24px;background:#fafbf7;box-shadow:0 4px 20px #344b2e12;font-size:12px;color:#536c45}.attention-note{margin:0 0 12px;padding:12px 16px;border:1px solid #e3d9bf;border-radius:12px;background:#faf6ea;color:#8a7144;font-size:12px;line-height:1.7}.feature-dialog{width:min(480px,calc(100% - 28px));max-height:calc(100dvh - 28px);overflow:auto;border:1px solid #dfe5d6;border-radius:24px;padding:24px;background:#fafbf7;color:#344b2e;box-shadow:0 24px 100px #16250c30}.feature-dialog::backdrop{background:#1f2e2570;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}.feature-form{display:grid;gap:18px;margin-top:24px}.feature-form label{display:grid;gap:8px;font-size:12px;color:#78866c}.feature-form input,.feature-form textarea,.feature-form select{width:100%;border:1px solid #dce3d3;border-radius:10px;background:#fff;color:#344b2e;padding:12px;font:inherit;min-width:0}.feature-form textarea{resize:vertical;min-height:90px}.feature-form .primary{margin:0}.feature-form .toggle-row{display:flex;align-items:center;justify-content:space-between}.toggle-row input{width:18px;height:18px;accent-color:#587c4c}.action-list{display:grid;gap:4px;margin-top:20px}.action-list>button{display:flex;align-items:center;gap:12px;border-radius:10px;padding:14px;text-align:left}.action-list>button:hover{background:#e9eee1}.action-list>button>span{flex:1}.new-thread-button{display:flex;align-items:center;gap:10px;padding:13px;border:1px solid #d7ddcc;border-radius:11px;margin-bottom:9px;text-align:left}.new-thread-button:hover{background:#e4e9db}.conversation-heading>div{flex:1;min-width:0}.conversation-actions{flex-shrink:0}.thread>span svg{vertical-align:middle}.composer-tools{display:flex;align-items:center;gap:3px;color:#78866c}.composer-tools small{font-size:10px;margin-left:7px}.recording{color:#a45140;background:#f6e8e2}.attachment-list{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:8px}.attachment-list:empty{display:none}.attachment-list>span{display:flex;align-items:center;gap:7px;max-width:100%;padding:8px 10px;border-radius:9px;border:1px solid #dce3d3;background:#f4f6ef;font-size:11px;color:#6e7f5b}.attachment-list>span>span{overflow:hidden;max-width:180px;white-space:nowrap;text-overflow:ellipsis}.attachment-list small{font-size:9px}.attachment-list button{display:flex;align-items:center;padding:0}.toast{position:fixed;bottom:max(20px,env(safe-area-inset-bottom));left:50%;transform:translate(-50%);display:flex;align-items:center;gap:16px;max-width:calc(100% - 28px);width:max-content;border-radius:12px;background:#344b2e;color:#fff;padding:13px 18px;font-size:12px;z-index:60;box-shadow:0 8px 28px #1f2e2530}.toast button{color:inherit;display:flex}.code-block{border:1px solid #dfe4d6;border-radius:12px;overflow:hidden;margin:16px 0}.code-block>div{display:flex;align-items:center;justify-content:space-between;background:#e8ece1;color:#758269;padding:10px 14px;font-size:11px}.code-block button{display:flex;align-items:center;gap:6px}.message-body .code-block pre{margin:0;border:0;border-radius:0}.diff-view{white-space:pre!important;overflow:auto}.diff-view>span{display:inline-block;min-width:100%}.diff-add{background:#dcefdc;color:#3c6537}.diff-remove{background:#f4dddd;color:#8c4545}.diff-hunk{background:#e1eaf4;color:#52708c}.tool-failed{font-size:10px;font-weight:400;color:#a45c42}.message{font-size:var(--chat-font-size,14px)}.app-shell{height:var(--app-height,100dvh)}[data-theme=dark]{color-scheme:dark;background:#171b18;color:#e0e5dc}[data-theme=dark] .sidebar{background:#1d231e;border-color:#333c32}[data-theme=dark] .workspace,[data-theme=dark] .pair-screen{background:#171b18}[data-theme=dark] .topbar{border-color:#2a3229}[data-theme=dark] .home-button,[data-theme=dark] .recent-grid button,[data-theme=dark] .composer,[data-theme=dark] .feature-dialog,[data-theme=dark] .settings,[data-theme=dark] .scanner-dialog{background:#222a23;color:#e0e5dc;border-color:#3a4535}[data-theme=dark] .thread:hover,[data-theme=dark] .thread.selected,[data-theme=dark] .icon-button:hover,[data-theme=dark] .action-list>button:hover{background:#303d2e}[data-theme=dark] .connection-chip,[data-theme=dark] .tool-card,[data-theme=dark] .secondary,[data-theme=dark] .attachment-list>span,[data-theme=dark] .jump-latest{background:#242e24;color:#b2c4a4;border-color:#3b4934}[data-theme=dark] .composer textarea,[data-theme=dark] .search input{color:#e0e5dc}[data-theme=dark] .message.user .message-body,[data-theme=dark] .message-body pre,[data-theme=dark] .message-body code,[data-theme=dark] .code-block>div{background:#2a3429;border-color:#3b4934;color:#d3dfcc}[data-theme=dark] .feature-form input,[data-theme=dark] .feature-form select,[data-theme=dark] .feature-form textarea,[data-theme=dark] .pair-card input{background:#1d251e;border-color:#3b4934;color:#e0e5dc}[data-theme=dark] .diff-add{background:#203d27;color:#abd49c}[data-theme=dark] .diff-remove{background:#462b2b;color:#e1aaaa}[data-theme=dark] .diff-hunk{background:#273b4b;color:#aec6e3}[data-theme=dark] .setting-row,[data-theme=dark] .host-card,[data-theme=dark] .new-thread-button,[data-theme=dark] .code-block{border-color:#3b4934}[data-theme=dark] .setting-row strong{color:#c1d2b3}[data-theme=dark] .attention-note{background:#3b3424;border-color:#51482f;color:#d3bf8c}[data-theme=dark] a{color:#afd0a6}[data-theme=dark] .pair-brand{color:#c1d2b3}@media(max-width:800px){.feature-dialog{padding:22px}.feature-form input,.feature-form textarea,.feature-form select{font-size:16px}.conversation-heading{gap:7px}.activity{max-width:88px;white-space:normal}.attachment-list>span>span{max-width:150px}.composer-tools .icon-button{min-width:38px;min-height:38px}}.attachment-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:170px;text-align:left}.attachment-preview{display:block;max-width:100%;max-height:60dvh;margin:20px auto;border-radius:12px;object-fit:contain}.file-summary{margin:24px 0;color:#89977d}.process-group{margin:16px 0 24px}.process-group>summary{display:flex;align-items:center;gap:8px;width:fit-content;min-height:40px;padding:6px 10px;border-radius:9px;cursor:pointer;color:#78866c;font-size:12px;list-style:none}.process-group>summary::-webkit-details-marker{display:none}.process-group>summary:hover{background:#78866c12}.process-group>summary>svg{transition:transform .18s ease}.process-group[open]>summary>svg{transform:rotate(90deg)}.process-group>summary small{opacity:.7;font-size:11px}.process-content{border-left:1px solid #78866c35;margin:8px 0 0 17px;padding:2px 0 2px 16px}.process-content .process-message{margin:12px 0;font-size:13px}.process-content .tool-card{margin:10px 0}[data-theme=dark] .process-group>summary{color:#b2c4a4}@media(prefers-reduced-motion:reduce){.process-group>summary>svg{transition:none}}.outbox-status{display:block;margin-top:10px;font-size:11px;opacity:.65}.outbox-message .message-body{border:1px dashed #78866c50}.project-section{margin:3px 0 8px}.project-section>summary{display:flex;align-items:center;gap:10px;min-height:46px;padding:9px 11px;cursor:pointer;list-style:none;border-radius:10px;color:#66765b}.project-section>summary::-webkit-details-marker{display:none}.project-section>summary:hover{background:#78866c10}.project-section>summary>span{flex:1;min-width:0}.project-section strong{display:block;font-size:13px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.project-section summary small{display:block;font-size:10px;opacity:.7;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-top:4px}.project-section>summary>svg{flex-shrink:0}.project-section>summary>svg:last-child{transition:transform .18s}.project-section[open]>summary>svg:last-child{transform:rotate(90deg)}.project-threads{margin-left:18px;padding-left:8px;border-left:1px solid #78866c26}.project-threads .thread{padding:11px 10px}.project-threads .thread>span{font-size:12px}.project-section.has-current>summary{color:#344b2e}[data-theme=dark] .project-section>summary{color:#b2c4a4}[data-theme=dark] .project-section.has-current>summary{color:#dde8d6}@media(prefers-reduced-motion:reduce){.project-section>summary>svg:last-child{transition:none}}.outbox-panel{max-height:140px;overflow:auto;margin:0 0 10px;border:1px solid #78866c30;border-radius:12px;background:#78866c08}.outbox-panel .outbox-message{margin:0}.outbox-panel summary{display:flex;align-items:center;gap:8px;min-height:40px;padding:9px 12px;list-style:none;cursor:pointer;color:#78866c;font-size:12px}.outbox-panel summary::-webkit-details-marker{display:none}.outbox-panel summary>span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.outbox-panel summary>small{font-size:10px;white-space:nowrap}.outbox-panel summary>svg{flex-shrink:0}.outbox-panel details>div{padding:0 12px 12px;font-size:12px;overflow-wrap:anywhere}.tool-running{font-size:10px;font-weight:400;white-space:nowrap;color:#78866c}[data-theme=dark] .outbox-panel summary{color:#b2c4a4}.tool-activity{margin:6px 0 12px}.tool-activity>summary{display:flex;align-items:center;gap:7px;min-height:32px;cursor:pointer;list-style:none;font-size:12px;color:#85907e}.tool-activity>summary::-webkit-details-marker{display:none}.tool-activity>summary>span{flex:1;min-width:0}.tool-activity[open]>summary>svg{transform:rotate(90deg)}.tool-activity>div{padding-left:12px}.process-content .tool-card{border:0;border-radius:0;background:transparent;margin:3px 0}.process-content .tool-card>summary{padding:8px 2px;font-size:11px;gap:7px}.process-content .tool-card>summary>svg:first-child{width:13px;height:13px}.process-content .tool-card pre{border-radius:8px;border:1px solid #78866c25}[data-theme=dark] .process-content .tool-card{background:transparent;border:0}[data-theme=dark] .tool-activity>summary{color:#9aaa92}.tool-step-result{margin:8px 12px;font-size:11px;line-height:1.6;color:inherit;opacity:.65}.worktree-badge{display:inline-flex;align-items:center;flex-shrink:0;color:var(--muted,#78866c);margin-inline-start:6px;vertical-align:middle}.project-section .project-create{flex-shrink:0;width:44px;height:44px}.project-section>summary>span.project-running{flex:0 0 auto;max-width:72px;font-size:10px}.new-thread-button{flex-shrink:0;min-height:44px}.list-caption>span{flex:1}.composer[inert]{background:#f3f4f0;border-color:#e3e5de;box-shadow:none;opacity:.78}.composer[inert] textarea{color:#747a70;-webkit-text-fill-color:#747a70}.composer[inert] button{cursor:default}.mobile-chat-title,.mobile-chat-status,.mobile-chat-subtitle{display:none}.header-actions{display:flex;align-items:center;gap:0!important;background:#f0f0f0;border-radius:24px}.header-actions .icon-button{width:44px;height:44px}.workspace{background:#fff;color:#242424}.workspace .message.user .message-body{background:#edf3f8;color:#254f70;border:0;border-radius:22px;padding:12px 18px}.workspace .assistant-label{display:none}.workspace .message-body pre,.workspace .message-body code,.workspace .code-block>div{background:#f5f5f5;border-color:#e6e6e6;color:#343434}.workspace .code-block{border-color:#e6e6e6;border-radius:12px}.workspace .process-group{border-bottom:1px solid #e8e8e8;padding-bottom:10px}.workspace .process-group>summary{color:#777;flex-direction:row-reverse;justify-content:flex-end;font-size:14px}.workspace .copy-button{color:#777;min-height:40px;min-width:40px;opacity:1}.workspace .changed-files{border-color:#e5e5e5;border-radius:18px;background:#fafafa}.workspace .changes-heading h3{color:#777}.workspace .topbar.has-conversation{border-bottom:0}.workspace .jump-latest{width:44px;height:44px;padding:0;justify-content:center;border-radius:50%;font-size:0;box-shadow:0 2px 8px #0001;background:#fff;color:#333;border-color:#ddd}dialog.feature-dialog.anchored-menu[open]{position:fixed;inset:auto;margin:0;width:292px;max-width:calc(100vw - 24px);border-radius:22px;background:#fffffff5;-webkit-backdrop-filter:blur(24px);backdrop-filter:blur(24px);color:#262626;border:1px solid #e8e8e8;box-shadow:0 12px 44px #0002;padding:0}dialog.anchored-menu::backdrop{background:#00000008;-webkit-backdrop-filter:none;backdrop-filter:none}dialog.anchored-menu>.modal-heading{padding:4px 8px 0 18px;border:0}dialog.anchored-menu>.modal-heading h2{font-size:13px;font-weight:400;color:#777}dialog.anchored-menu>.dialog-body{margin:0;padding:0 8px 10px}dialog.anchored-menu .action-list{margin-top:0;gap:2px}dialog.anchored-menu .action-list>button{min-height:48px;font-size:16px;padding:10px 12px;gap:16px}dialog.anchored-menu .action-list>button svg{width:21px;height:21px;flex-shrink:0}dialog.anchored-menu hr{border:0;border-top:1px solid #e5e5e5;margin:7px 8px}dialog.anchored-menu .destructive{color:#c43838}[data-theme=dark] .workspace{background:#212121;color:#ececec}[data-theme=dark] .header-actions{background:#303030}[data-theme=dark] .workspace .message.user .message-body{background:#30383f;color:#dceafa}[data-theme=dark] .workspace .message-body pre,[data-theme=dark] .workspace .message-body code,[data-theme=dark] .workspace .code-block>div{background:#2b2b2b;color:#ececec;border-color:#414141}[data-theme=dark] .workspace .process-group,[data-theme=dark] .workspace .code-block,[data-theme=dark] .workspace .changed-files{border-color:#414141}[data-theme=dark] dialog.feature-dialog.anchored-menu{background:#303030f5;color:#eee;border-color:#444}[data-theme=dark] dialog.anchored-menu .modal-heading h2,[data-theme=dark] .workspace .process-group>summary,[data-theme=dark] .workspace .copy-button{color:#aaa}[data-theme=dark] dialog.anchored-menu hr{border-color:#494949}[data-theme=dark] .workspace .jump-latest{background:#303030;border-color:#444;color:#eee}[data-theme=dark] .workspace .changed-files{background:#292929}.topbar>.project-files-action{margin-left:8px;flex-shrink:0}.topbar>.conversation-actions{margin-left:0;flex-shrink:0}.chat-context{margin-top:20px;padding-bottom:18px;border-bottom:1px solid #78866c30}.chat-context h3{font-size:17px;line-height:1.5;font-weight:600;overflow-wrap:anywhere;margin:0}.chat-context>p{font-size:12px;opacity:.65;margin:8px 0 18px;overflow-wrap:anywhere}.chat-context-device{display:flex;flex-direction:column;align-items:flex-start;gap:10px}.chat-context-device>button{display:flex;align-items:center;gap:7px;min-height:36px;font-size:12px;opacity:.8}.chat-context .connection-picker .model-button{font-size:14px;max-width:100%;min-height:40px}.chat-context .connection-menu{max-width:calc(100vw - 76px);width:300px}.composer textarea{max-height:144px;overflow-y:auto}.composer-model{min-width:0;margin-left:auto}.composer-model-trigger{display:flex;align-items:center;gap:5px;min-height:44px;max-width:100%;padding:0 4px;border:0;background:transparent;color:inherit;font-size:13px}.composer-model-trigger span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.composer-model-trigger small{text-transform:capitalize;opacity:.6;font-size:12px}.composer-model-trigger svg{flex-shrink:0}.workspace .composer-tools,.workspace .composer-actions{flex-shrink:0}.workspace .composer{transition:border-color .16s ease,box-shadow .16s ease}@media(max-width:800px){.workspace .composer.is-compact .composer-model{display:none}.workspace .composer.is-compact{display:grid;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:2px;padding:6px;border-radius:30px}.workspace .composer.is-compact .composer-bottom{display:contents}.workspace .composer.is-compact .composer-tools{grid-column:1;grid-row:1}.workspace .composer.is-compact textarea{grid-column:2;grid-row:1;height:36px!important;min-height:36px;padding:6px 8px;overflow:hidden}.workspace .composer.is-compact .composer-actions{grid-column:3;grid-row:1}.workspace .composer.is-compact:not(.has-draft) .submit-message{display:none}.workspace .composer-wrap{padding-bottom:max(10px,env(safe-area-inset-bottom))}}@media(prefers-reduced-motion:reduce){.workspace .composer{transition:none}}.workspace .composer{background:#fff;border:1px solid #e5e5e5;border-radius:28px;padding:8px;box-shadow:0 2px 8px #00000005}.workspace .composer:focus-within{border-color:#ccc}.workspace .composer textarea{display:block;color:#202020;font-size:16px;line-height:24px;min-height:36px;padding:4px 12px;background:transparent}.workspace .composer textarea::placeholder{color:#777}.workspace .composer-bottom{margin-top:4px;gap:8px}.workspace .composer-tools,.workspace .composer-actions{display:flex;align-items:center;gap:4px;color:#202020}.workspace .composer .icon-button,.workspace .composer .send-button{width:44px;height:44px;min-width:44px;min-height:44px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;padding:0}.workspace .composer .send-button{background:#202020;color:#fff}.workspace .composer .send-button:disabled{background:#eee;color:#aaa;opacity:1}.workspace .composer .icon-button:hover{background:#f0f0f0}.workspace .composer .attachment-list{padding:6px 8px 0;max-height:160px;overflow:auto}[data-theme=dark] .workspace .composer{background:#303030;border-color:#424242;box-shadow:none}[data-theme=dark] .workspace .composer:focus-within{border-color:#666}[data-theme=dark] .workspace .composer textarea,[data-theme=dark] .workspace .composer-tools,[data-theme=dark] .workspace .composer-actions{color:#f5f5f5}[data-theme=dark] .workspace .composer textarea::placeholder{color:#aaa}[data-theme=dark] .workspace .composer .send-button{background:#f5f5f5;color:#202020}[data-theme=dark] .workspace .composer .send-button:disabled{background:#484848;color:#858585}[data-theme=dark] .workspace .composer .icon-button:hover{background:#444}@media(max-width:800px){.topbar.has-conversation{height:calc(56px + env(safe-area-inset-top));min-height:calc(56px + env(safe-area-inset-top));padding:env(safe-area-inset-top) 8px 0;gap:4px;border-bottom:1px solid #78866c26;flex-shrink:0}.topbar.has-conversation>div:first-child{flex:1;gap:4px;overflow:hidden}.topbar.has-conversation .connection-picker,.topbar.has-conversation>.connection-chip,.topbar.has-conversation~.conversation-heading,.topbar.has-conversation+.device-name-hint{display:none}.topbar.has-conversation .mobile-chat-title{display:flex;flex-direction:column;justify-content:center;align-items:stretch;min-width:0;flex:1;text-align:left;min-height:44px;padding:0 7px;font-size:15px;font-weight:600;line-height:22px;color:inherit}.topbar.has-conversation .mobile-chat-subtitle{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;line-height:17px;font-weight:400;color:#777}.mobile-chat-title>span{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.topbar.has-conversation .icon-button{width:44px;height:44px;flex:0 0 44px}.topbar>.project-files-action,.topbar>.conversation-actions{margin-left:0}.mobile-chat-status{display:flex;align-items:center;gap:4px;flex-shrink:0;color:#9a713b;font-size:10px;max-width:76px;line-height:15px}.mobile-chat-status.working{color:#668158}.mobile-chat-status.working>span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.message-column{padding-top:20px}.composer-wrap{padding-top:6px}.composer{padding:10px 12px 8px;border-radius:20px}.composer textarea{min-height:26px;line-height:26px;padding:0;display:block}.composer-bottom{margin-top:6px}.jump-latest{padding:7px 12px;margin-bottom:8px}[data-theme=dark] .topbar.has-conversation{border-color:#333c32}[data-theme=dark] .mobile-chat-status{color:#d3bf8c}[data-theme=dark] .mobile-chat-status.working{color:#a5b59b}}.brand .backend-picker-trigger{display:flex;align-items:center;gap:10px;min-width:0;min-height:44px;flex:1;padding:0;text-align:left;border-radius:9px;letter-spacing:inherit}.backend-picker-trigger strong{min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.backend-picker-trigger>svg,.backend-picker-trigger .brand-symbol{flex-shrink:0}.backend-picker-trigger>svg{opacity:.6;margin-left:auto}.backend-picker-trigger:hover{background:#78866c14}.backend-options{display:flex;flex-direction:column;gap:6px;padding-top:12px}.backend-options>button{display:flex;align-items:center;gap:12px;width:100%;min-height:52px;padding:12px;border-radius:12px;text-align:left}.backend-options>button>span{flex:1}.backend-options>button:hover,.backend-options>button[aria-pressed=true]{background:#78866c20}.backend-options>button[aria-pressed=true]{font-weight:600}.backend-unavailable{font-size:13px;padding:8px 20px;margin:0;color:#a64f35;overflow-wrap:anywhere}@media(max-width:800px){dialog.backend-picker-dialog[open]{width:100%;max-width:100%;margin:auto 0 0;border-radius:22px 22px 0 0;border-bottom:0;padding-bottom:env(safe-area-inset-bottom)}}.voice-recording-panel{display:flex;align-items:center;gap:8px;padding:10px 12px;border:1px solid #d5d9d2;border-radius:12px;background:#f4f6f1;font-size:13px}.voice-recording-panel span{flex:1}.voice-recording-panel button{min-height:44px;padding:8px;border:0;background:transparent;color:inherit;cursor:pointer}[data-theme=dark] .voice-recording-panel{background:#252a25;border-color:#444d44;color:#e9ece7}dialog.feature-dialog.settings-sheet[open]{width:480px;max-width:calc(100vw - 24px);background:#fff;color:#242424;border:1px solid #e7e7e7;border-radius:24px;box-shadow:0 20px 80px #0002}dialog.settings-sheet>.modal-heading{border-bottom:0;padding:16px 14px 8px 24px}dialog.settings-sheet>.modal-heading h2{font-size:18px;font-weight:600}dialog.settings-sheet>.dialog-body{padding:0 22px 24px;margin-right:2px}.settings-device{display:flex;align-items:center;gap:14px;padding:18px 0 22px;min-width:0}.settings-device>svg{flex-shrink:0;color:#4e6374}.settings-device>div{flex:1;min-width:0}.settings-sheet .settings-device h3{text-align:left;font-size:17px;line-height:1.5;font-weight:600;margin:0;overflow-wrap:anywhere}.settings-device p{display:flex;align-items:center;gap:7px;margin:5px 0 0;font-size:12px;color:#777}.settings-device>.icon-button{flex:0 0 44px;width:44px;height:44px}.settings-section-label{font-size:12px;font-weight:400;color:#777;margin:18px 0 8px}.settings-sheet .setting-row{min-height:52px;align-items:center;padding:13px 0;color:#333;font-size:14px;border-color:#ededed;gap:20px}.settings-sheet .setting-row>span{flex-shrink:1;flex:1;min-width:0}.settings-sheet .setting-row strong{color:#777;justify-content:flex-end;max-width:55%;font-size:13px;line-height:1.5}.settings-sheet .secondary,.settings-sheet .disconnect,.settings-sheet .action-list>button{width:100%;display:flex;align-items:center;justify-content:flex-start;gap:12px;min-height:54px;padding:14px 0;margin:0;border:0;border-bottom:1px solid #ededed;background:transparent;color:inherit;border-radius:0;font-size:15px;text-align:left;line-height:1.5}.settings-sheet .secondary>svg,.settings-sheet .disconnect>svg,.settings-sheet .action-list>button>svg{flex-shrink:0;width:20px;height:20px}.settings-sheet .secondary:hover,.settings-sheet .action-list>button:hover{background:#f6f6f6}.settings-sheet .disconnect{color:#bd3535;margin-top:22px;border:0}.settings-sheet .action-list{margin:8px 0}.settings-sheet .feature-form{gap:0;margin:8px 0}.settings-sheet .feature-form>label{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:64px;border-bottom:1px solid #ededed;font-size:15px;color:inherit}.settings-sheet .feature-form select{width:auto;max-width:60%;border:0;text-align:right;padding:10px 4px;color:#737373;background:transparent;font-size:14px}.settings-sheet .toggle-row{min-height:64px;gap:12px;font-size:15px;border-bottom:1px solid #ededed}.settings-sheet .toggle-row input{-webkit-appearance:none;-moz-appearance:none;appearance:none;flex:0 0 44px;width:44px;height:26px;border:0;border-radius:20px;background:#d5d5d5;position:relative;cursor:pointer;padding:0}.settings-sheet .toggle-row input:before{content:"";position:absolute;left:3px;top:3px;width:20px;height:20px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #0002;transition:transform .15s}.settings-sheet .toggle-row input:checked{background:#278459}.settings-sheet .toggle-row input:checked:before{transform:translate(18px)}.settings-sheet .toggle-row input:focus-visible{outline:2px solid #3884ba;outline-offset:3px}[data-theme=dark] dialog.feature-dialog.settings-sheet{background:#242424;color:#eee;border-color:#414141}[data-theme=dark] .settings-sheet .setting-row,[data-theme=dark] .settings-sheet .secondary,[data-theme=dark] .settings-sheet .action-list>button,[data-theme=dark] .settings-sheet .feature-form>label,[data-theme=dark] .settings-sheet .toggle-row{color:#eee;border-color:#3e3e3e}[data-theme=dark] .settings-sheet .setting-row strong,[data-theme=dark] .settings-device p,[data-theme=dark] .settings-section-label,[data-theme=dark] .settings-sheet .feature-form select{color:#aaa}[data-theme=dark] .settings-device>svg{color:#b6cfe2}[data-theme=dark] .settings-sheet .secondary:hover,[data-theme=dark] .settings-sheet .action-list>button:hover{background:#333}[data-theme=dark] .settings-sheet .disconnect{color:#ff8e8e}@media(max-width:600px){dialog.feature-dialog.settings-sheet[open]{width:100%;max-width:100%;margin:auto 0 0;border-radius:24px 24px 0 0;max-height:calc(min(100dvh,var(--app-height,100dvh)) - 16px - env(safe-area-inset-top));padding:0}dialog.settings-sheet>.dialog-body{padding-bottom:max(24px,env(safe-area-inset-bottom));padding-left:22px;padding-right:22px}}@media(prefers-reduced-motion:reduce){.settings-sheet .toggle-row input:before{transition:none}}
