:root{--bg:#f5f6f2;--paper:#fff;--ink:#1e2927;--muted:#818a85;--line:#e6e9e2;--green:#215b4d;--green-dark:#173f39;--mint:#e9f3e7;--lime:#d8f7ba;--danger:#a74035;--radius:18px;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;color:var(--ink);font-size:14px;font-synthesis:none;-webkit-font-smoothing:antialiased}
*{box-sizing:border-box}body{margin:0;background:var(--bg)}button,input,textarea{font:inherit}button,a,input,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}button,a{touch-action:manipulation}button{color:inherit}a{color:inherit;text-decoration:none}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.svg-symbols{position:absolute;width:0;height:0;overflow:hidden}button:focus-visible,a:focus-visible{outline:3px solid #87ba9f;outline-offset:3px}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}button{border:0;background:none}h1,h2,h3,p{margin:0}.eyebrow{color:var(--muted);font-size:10px;font-weight:650;letter-spacing:.12em;line-height:1.7}.app-shell{max-width:1800px;margin:0 auto;height:100dvh;min-height:580px;display:flex;flex-direction:column}.topbar{display:flex;align-items:center;justify-content:space-between;padding:20px 32px;border-bottom:1px solid var(--line);height:86px;flex-shrink:0;background:var(--bg)}.brand{display:flex;gap:12px;align-items:center;font-size:18px;font-weight:700;letter-spacing:.01em}.brand small{display:block;font-size:8px;font-weight:550;letter-spacing:.18em;color:var(--muted);margin-top:5px}.brand-mark{width:42px;height:42px;display:grid;place-items:center;background:var(--green-dark);color:var(--lime);border-radius:13px;flex-shrink:0}.brand-mark svg{width:22px;height:22px;stroke-width:1.5}.connection-area{display:flex;gap:18px;align-items:center}.connection-badge{display:inline-flex;align-items:center;gap:8px;font-size:11px;color:var(--green);white-space:nowrap}.connection-badge i,.privacy-dot{width:6px;height:6px;background:#49886e;border-radius:50%;display:inline-block}.connection-badge.connecting{color:var(--muted)}.connection-badge.connecting i{background:#aaa}.connection-badge.offline{color:var(--danger)}.connection-badge.offline i{background:var(--danger)}.icon-button{width:34px;height:34px;border-radius:10px;display:inline-flex;align-items:center;justify-content:center;color:#79837d;flex-shrink:0}.icon-button:hover{background:#e8ece5;color:var(--green-dark)}.text-button{font-size:11px;color:var(--muted);padding:6px}.workspace{display:flex;flex:1;min-height:0}.task-sidebar{width:335px;flex-shrink:0;display:flex;flex-direction:column;border-right:1px solid var(--line);padding:30px 22px 0}.sidebar-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:23px}.sidebar-heading h1{font-size:24px;letter-spacing:-.03em;margin-top:5px;display:flex;align-items:center;gap:10px}.count{font-size:11px;background:#e5e9e1;padding:3px 7px;border-radius:7px;color:#6e7870;line-height:1.3}.search-box{display:flex;align-items:center;gap:8px;border:1px solid #e2e7df;background:#fff;border-radius:10px;padding:10px 11px}.search-box svg{width:16px;height:16px;color:#879188}.search-box input{width:100%;min-width:0;border:0;outline:0;font-size:11px;background:transparent;color:var(--ink)}.search-box input::placeholder{color:#9aa299}.search-box kbd{color:#98a094;font:14px monospace}.task-filters{display:flex;gap:7px;padding:19px 0 13px;border-bottom:1px solid var(--line)}.filter{display:flex;gap:5px;align-items:center;font-size:10px;padding:7px 10px;border-radius:7px;color:var(--muted);white-space:nowrap}.filter.active{background:#e5ede1;color:var(--green);font-weight:650}.filter span{font-size:9px;opacity:.7}.thread-list{flex:1;overflow:auto;margin:12px -9px 0;padding:0 7px 18px;scrollbar-width:thin;scrollbar-color:#d8dfd4 transparent}.thread-item{display:block;width:100%;text-align:left;padding:17px 14px;margin-bottom:6px;border:1px solid transparent;border-radius:12px;transition:background .15s,border .15s;position:relative}.thread-item:hover{background:#edf0e9}.thread-item.selected{background:#fff;border-color:#dce4d7;box-shadow:0 3px 10px #23432b04}.thread-topline{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px}.status-label{font-size:10px;display:inline-flex;align-items:center;gap:6px;color:#849084;white-space:nowrap}.status-label::before{content:"";width:5px;height:5px;border-radius:50%;background:currentColor}.status-label.running{color:#4d8b61}.status-label.running::before{box-shadow:0 0 0 3px #e5f0e1;animation:soft-pulse 2s infinite}.status-label.waiting{color:#bd8c38}.status-label.completed{color:#8a928b}.thread-timestamp{font-size:9px;color:#9aa198;white-space:nowrap}.thread-item h3{font-size:12px;font-weight:650;line-height:1.7;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;word-break:break-word}.thread-preview{font-size:10px;color:#8c958b;line-height:1.8;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;margin-top:6px}.thread-path{font-size:9px;color:#a1a89d;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.8;margin-top:12px;display:flex;align-items:center;gap:5px}.thread-path svg{width:11px;height:11px}.thread-path span{overflow:hidden;text-overflow:ellipsis}.sidebar-foot{display:flex;align-items:center;gap:7px;border-top:1px solid var(--line);font-size:9px;color:#9ba393;padding:18px 2px 22px}.sidebar-foot .privacy-dot{width:4px;height:4px;background:#9ba995}.sidebar-foot svg{width:12px;height:12px;margin-left:auto}.detail-panel{flex:1;min-width:0;position:relative;display:flex;flex-direction:column;background:var(--paper);margin:20px 24px 24px 20px;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}.welcome-panel{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:36px 20px 60px}.welcome-panel h2{font-size:26px;letter-spacing:-.04em;margin:12px 0 15px;font-weight:600}.welcome-panel>p:not(.eyebrow){font-size:12px;line-height:2;color:#89928a}.welcome-panel .eyebrow{color:#a0a997}.welcome-art{width:240px;height:220px;position:relative;display:grid;place-items:center;margin-bottom:36px}.welcome-main{width:82px;height:82px;border-radius:25px;background:var(--green-dark);color:var(--lime);display:grid;place-items:center;box-shadow:0 15px 35px #21483920;transform:rotate(-7deg);z-index:2}.welcome-main svg{width:40px;height:40px;stroke-width:1.1}.orbit{border:1px dashed #e1e8dc;width:180px;height:180px;position:absolute;border-radius:50%}.orbit-two{width:240px;height:240px;border-color:#edf0e8}.floating-icon{display:grid;place-items:center;position:absolute;width:44px;height:44px;border:1px solid #e4eadd;background:#fff;border-radius:14px;box-shadow:0 8px 18px #29432a08;color:#809975;z-index:2}.floating-chat{top:22px;right:26px;transform:rotate(10deg)}.floating-cube{bottom:14px;right:33px;transform:rotate(6deg)}.floating-image{left:9px;top:110px;transform:rotate(-12deg)}.welcome-features{display:flex;gap:22px;margin-top:36px;color:#9ca695;font-size:9px}.welcome-features span{display:flex;align-items:center;gap:6px}.welcome-features svg{width:12px;height:12px}.thread-detail{display:flex;flex-direction:column;flex:1;min-height:0}.detail-header{padding:28px 32px 0;border-bottom:1px solid var(--line);flex-shrink:0}.detail-title-row{display:flex;gap:10px;align-items:center}.detail-title-block{min-width:0;flex:1}.detail-eyebrow{display:flex;gap:9px;align-items:center;color:#9ca497;font-size:9px}.detail-dot{color:#c2c8bc}.detail-title-block h2{font-size:21px;font-weight:650;line-height:1.5;margin:9px 0 8px;letter-spacing:-.025em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.detail-path{font-size:9px;color:#a0a89c;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.interrupt-button{display:flex;gap:6px;align-items:center;align-self:flex-start;margin-top:3px;border:1px solid var(--line);font-size:10px;color:#939b8d;padding:7px 9px;border-radius:7px}.interrupt-button:hover{color:var(--danger);border-color:#dfc8c4}.interrupt-button svg{width:12px;height:12px}.detail-tabs{display:flex;align-items:center;margin-top:24px;gap:28px}.detail-tab{display:flex;align-items:center;gap:7px;font-size:11px;position:relative;padding:0 0 15px;color:#919b8b}.detail-tab svg{width:15px;height:15px}.detail-tab.active{color:var(--green);font-weight:650}.detail-tab.active::after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:2px;background:var(--green)}.detail-tab>span{font-size:8px;background:#f0f3ec;padding:2px 5px;border-radius:4px;color:#8d9884}.last-sync{margin-left:auto;color:#a1aa98;font-size:9px;align-self:flex-start;line-height:15px}.notice{padding:10px 32px;background:#fbf8ed;font-size:11px;color:#987633;line-height:1.7;border-bottom:1px solid #efe8d2;flex-shrink:0}.messages-view{display:flex;flex:1;min-height:0;flex-direction:column}.messages{flex:1;min-height:0;overflow:auto;padding:30px 32px;scrollbar-width:thin;scrollbar-color:#e2e8dc transparent;scroll-behavior:auto}.message{max-width:820px;margin:0 auto 26px}.message-header{display:flex;align-items:center;gap:8px;margin-bottom:11px}.avatar{height:25px;width:25px;border-radius:8px;display:grid;place-items:center;background:#eff4e9;color:#597444;font-size:10px;font-weight:600}.avatar.assistant{background:var(--green-dark);color:#d7edb8}.avatar svg{width:13px;height:13px}.message-name{font-size:10px;font-weight:650;color:#5c6a58}.message-time{color:#abb2a4;font-size:9px;margin-left:3px}.message-channel{font-size:8px;color:#a6af9b;padding:2px 4px;background:#f3f5ef;border-radius:4px;margin-left:auto}.message-content{font-size:12px;line-height:1.95;overflow-wrap:anywhere;color:#52604d;padding-left:33px;white-space:pre-wrap}.message.user .message-content{background:#f3f6ee;border:1px solid #e7edde;padding:14px 17px;border-radius:0 12px 12px 12px;margin-left:33px;white-space:pre-wrap;color:#46583d}.message-content pre{white-space:pre-wrap;font:11px/1.8 ui-monospace,SFMono-Regular,Consolas,monospace;background:#f3f5f0;border:1px solid #e8eddf;border-radius:8px;padding:13px;overflow:auto;margin:12px 0}.message-content code{font:11px/1.8 ui-monospace,SFMono-Regular,Consolas,monospace;background:#f0f4e9;padding:2px 4px;border-radius:4px;white-space:pre-wrap}.message-content a{color:var(--green);text-decoration:underline;text-underline-offset:3px}.message-content strong{font-weight:650;color:#34472f}.reply-form{margin:0 28px 23px;border:1px solid #dfe7d7;border-radius:12px;background:#fdfefb;padding:15px 16px;box-shadow:0 3px 8px #23422b03;flex-shrink:0}.reply-form:focus-within{border-color:#a5bea0;box-shadow:0 0 0 3px #f1f5ec}.reply-form textarea{display:block;resize:none;width:100%;max-height:160px;min-height:39px;background:none;border:0;outline:0;font-size:12px;line-height:1.8;color:#3e513a;padding:0}.reply-form textarea::placeholder{color:#a1ac97}.compose-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:10px}.compose-footer>span{font-size:9px;color:#a0ab94;line-height:1.7}.send-button{display:flex;align-items:center;justify-content:center;gap:9px;background:var(--green-dark);border-radius:8px;color:#e1f2d3;font-size:10px;padding:9px 13px;white-space:nowrap}.send-button:hover{background:#286151}.send-button svg{width:13px;height:13px}.artifacts-view{overflow:auto;flex:1;padding:25px 30px 16px;scrollbar-width:thin}.artifacts-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:25px}.artifact-filters{display:flex;gap:6px;flex-wrap:wrap}.artifact-filter{font-size:10px;color:#8f9b85;padding:7px 10px;border-radius:7px}.artifact-filter.active{color:var(--green);background:#eff5e8;font-weight:600}.artifact-total{font-size:9px;color:#a4af99;white-space:nowrap}.artifact-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(174px,1fr));gap:18px}.artifact-card{text-align:left;border:1px solid var(--line);border-radius:11px;background:#fff;padding:0;overflow:hidden;transition:transform .15s,box-shadow .15s;min-width:0}.artifact-card:hover{transform:translateY(-2px);box-shadow:0 8px 24px #2d492d0b;border-color:#bdceb0}.artifact-thumb{height:138px;background:#f3f5ef;display:grid;place-items:center;position:relative;overflow:hidden}.artifact-thumb img{height:100%;width:100%;object-fit:cover}.artifact-thumb>svg{width:38px;height:38px;color:#a3b19a;stroke-width:1}.artifact-thumb.model{background:radial-gradient(ellipse at 50% 30%,#f5f9f0,#e8efdf)}.artifact-thumb.document{background:#f5f6f0}.artifact-thumb.model>svg{height:52px;width:52px;color:#8da97a;transform:rotate(-5deg)}.artifact-ext{position:absolute;right:9px;top:9px;background:#ffffffda;border:1px solid #ffffffcc;color:#7e8b70;font-size:8px;letter-spacing:.04em;padding:3px 5px;border-radius:4px;text-transform:uppercase}.artifact-info{padding:12px}.artifact-info h3{font-size:10px;font-weight:600;line-height:1.8;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#4a5c40}.artifact-info p{display:flex;justify-content:space-between;align-items:center;gap:5px;font-size:8px;color:#a1ad95;margin-top:5px}.artifact-info p svg{width:11px;height:11px}.artifact-footnote{font-size:9px;color:#adb5a4;line-height:1.9;text-align:center;margin:32px 0 0}.empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:70px 20px;gap:13px;color:#a2ad96}.empty-state>svg{width:35px;height:35px;color:#b8c4af;stroke-width:1.1}.empty-state h3{font-size:12px;font-weight:550;color:#798c6c}.empty-state p{font-size:10px;line-height:1.9;max-width:280px}.thread-list .empty-state{padding:65px 10px}.loading-state{display:flex;align-items:center;justify-content:center;gap:10px;font-size:10px;color:#95a187;padding:65px 15px}.spinner{width:15px;height:15px;border-radius:50%;border:1.5px solid #dce5d3;border-top-color:var(--green);animation:spin .8s linear infinite;display:inline-block;flex-shrink:0}.mobile-navigation,.mobile-back{display:none}.login-screen{position:fixed;inset:0;z-index:100;background:radial-gradient(ellipse at 70% 15%,#eaf1e4,transparent 55%),var(--bg);display:flex;align-items:center;justify-content:center;padding:30px;overflow:auto}.login-card{background:#fff;border:1px solid var(--line);border-radius:24px;padding:43px 42px 30px;width:430px;max-width:100%;box-shadow:0 14px 60px #29442907}.login-mark{width:49px;height:49px;border-radius:15px;margin-bottom:25px}.login-card h1{font-size:24px;letter-spacing:-.04em;margin:9px 0 14px;font-weight:650}.login-description{font-size:12px;color:#8d9985;line-height:1.9;margin-bottom:30px}.login-card label{font-size:11px;color:#6d7f61;font-weight:550;display:block;margin-bottom:9px}.token-field{display:flex;align-items:center;gap:10px;border:1px solid #dfe7d7;padding:13px;border-radius:9px;background:#fafcf7}.token-field:focus-within{border-color:#a3ba98}.token-field svg{width:16px;height:16px;color:#9bac90}.token-field input{width:100%;border:0;background:none;outline:0;font-size:12px;min-width:0;color:var(--ink)}.token-field input::placeholder{color:#a1ae96}.primary-button{display:flex;align-items:center;justify-content:space-between;padding:14px 16px;color:#e1f3d0;background:var(--green-dark);border-radius:9px;font-size:12px;width:100%;margin-top:17px}.primary-button svg{width:16px;height:16px}.login-private{display:flex;align-items:center;justify-content:center;gap:6px;font-size:9px;color:#93a285;padding:24px 0;border-bottom:1px solid var(--line)}.login-private svg{width:12px;height:12px}.login-tip{font-size:10px;color:#a3af98;line-height:1.9;margin-top:18px}.form-error{font-size:11px;color:var(--danger);line-height:1.7;margin:10px 0 0}.preview-dialog{padding:0;border:1px solid #dde5d5;border-radius:17px;width:min(1100px,94vw);height:min(820px,91dvh);max-width:none;max-height:none;background:#fff;color:var(--ink);box-shadow:0 30px 100px #122b2233;overflow:hidden}.preview-dialog[open]{display:flex;flex-direction:column}.preview-dialog::backdrop,.help-dialog::backdrop{background:#1b2c245c;backdrop-filter:blur(5px)}.preview-header{display:flex;align-items:center;justify-content:space-between;padding:20px 24px;border-bottom:1px solid var(--line);flex-shrink:0;gap:12px}.preview-heading{min-width:0}.preview-heading h2{font-size:15px;font-weight:600;margin-top:4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.preview-heading .eyebrow{font-size:8px}.preview-actions{display:flex;align-items:center;gap:12px}.download-button{display:flex;align-items:center;gap:6px;padding:8px 10px;border:1px solid var(--line);border-radius:7px;font-size:10px;color:#7a8c6d;white-space:nowrap}.download-button svg{width:13px;height:13px}.preview-body{flex:1;min-height:0;overflow:auto;position:relative;background:#f8faf5;display:flex;align-items:center;justify-content:center}.preview-body>img{max-width:100%;max-height:100%;object-fit:contain;display:block}.preview-body>video{width:100%;height:100%;object-fit:contain;background:#19231d}.preview-body>audio{width:min(80%,500px)}.preview-body>iframe{height:100%;width:100%;border:0;background:#fff}.preview-footer{padding:10px 24px;border-top:1px solid var(--line);font-size:10px;color:#96a08b;line-height:1.7;flex-shrink:0}.text-preview{width:100%;height:100%;overflow:auto;padding:30px;background:#fff;font-size:12px;line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere;color:#53654a;font-family:inherit}.sheet-preview{width:100%;height:100%;overflow:auto;display:block;padding:20px;background:white}.sheet-title{font-size:13px;font-weight:600;color:#4a633e;margin:10px 0 16px}.sheet-table{border-collapse:collapse;margin-bottom:30px;font-size:11px;white-space:pre}.sheet-table td,.sheet-table th{padding:8px 12px;border:1px solid #e1e8da;max-width:500px;white-space:pre-wrap;overflow-wrap:anywhere;vertical-align:top;text-align:left;min-width:70px}.sheet-table th{color:#778a69;background:#f1f5ec;font-weight:500;min-width:35px}.sheet-table tr:first-child td{background:#f7f9f3;font-weight:600}.model-canvas{width:100%;height:100%;display:block;position:absolute;inset:0;touch-action:none}.model-overlay{position:absolute;top:16px;left:16px;padding:8px 11px;background:#ffffffde;border:1px solid #e3e9dc;border-radius:8px;font-size:10px;color:#849674;pointer-events:none;max-width:calc(100% - 32px)}.model-controls{position:absolute;bottom:16px;right:16px;display:flex;gap:6px}.model-controls button{padding:8px 10px;background:#ffffffed;border:1px solid #dbe5d1;border-radius:7px;font-size:10px;color:#5a7547}.help-dialog{border:1px solid var(--line);border-radius:18px;width:490px;max-width:92vw;padding:0;color:var(--ink);box-shadow:0 30px 100px #122b2233}.help-heading{padding:21px 25px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line)}.help-heading h2{font-size:18px;font-weight:600}.help-content{padding:25px;font-size:12px;line-height:1.9;color:#7c8d6e}.help-content ol{padding-left:21px;margin-top:24px}.help-content li{padding-left:6px;margin:17px 0}.help-content strong{color:#445f37;font-weight:600}.help-muted{color:#a2ad98;font-size:10px;padding-top:15px;border-top:1px solid var(--line)}.toast{position:fixed;z-index:1000;bottom:33px;left:50%;transform:translateX(-50%);background:#203e33;color:#e8f5dc;border:1px solid #44664c;box-shadow:0 8px 40px #152d2233;border-radius:10px;padding:13px 21px;font-size:12px;max-width:90vw;line-height:1.7;white-space:pre-wrap}.toast.error{background:#663d33;border-color:#9a6b60;color:#ffe7de}@keyframes spin{to{transform:rotate(360deg)}}@keyframes soft-pulse{50%{box-shadow:0 0 0 4px #e5f0e100}}
.health-notice{flex-shrink:0;background:#fcf7e9;color:#94763d;border-bottom:1px solid #eee4cb;font-size:10px;line-height:1.8;padding:9px 24px;text-align:center}.status-label.failed,.status-label.interrupted{color:var(--danger)}.status-label.attention,.status-label.queued{color:#bd8c38}
.desktop-button{min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:0 12px;background:#e8eee3;border:1px solid #dce5d5;color:var(--green);border-radius:11px;font-size:12px;white-space:nowrap;flex-shrink:0}.desktop-button:hover{background:#dee9d6}.desktop-button svg{width:19px;height:19px}.desktop-dialog{padding:0;border:1px solid #dde5d5;border-radius:17px;width:min(1200px,94vw);height:min(900px,92dvh);max-width:none;max-height:none;background:#fff;color:var(--ink);box-shadow:0 30px 100px #122b2233;overflow:hidden}.desktop-dialog[open]{display:flex;flex-direction:column}.desktop-dialog::backdrop{background:#1b2c245c;backdrop-filter:blur(5px)}.desktop-dialog .icon-button{width:44px;height:44px}.desktop-toolbar{padding:16px 24px 9px;display:flex;align-items:flex-end;gap:12px;flex-shrink:0}.desktop-toolbar label{display:flex;align-items:center;gap:12px;font-size:11px;color:#798a6f;flex:1;min-width:0}.desktop-toolbar select{border:1px solid #dce5d4;border-radius:9px;min-height:44px;padding:9px 32px 9px 12px;color:#445f37;background:#fafcf7;font:inherit;font-size:13px;min-width:0;max-width:440px;flex:1}.desktop-toolbar select:focus-visible{outline:3px solid #87ba9f;outline-offset:2px}.desktop-capture{display:flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 16px;background:var(--green-dark);color:#e1f3d0;border-radius:9px;font-size:12px;white-space:nowrap}.desktop-capture svg{width:17px;height:17px}.desktop-hint{padding:0 24px;color:#97a18c;font-size:10px;line-height:1.8;flex-shrink:0}.desktop-status{min-height:31px;padding:7px 24px;color:#74896a;font-size:11px;line-height:1.8;flex-shrink:0}.desktop-error{margin:0 24px 12px;padding:10px 13px;background:#fcf0eb;border:1px solid #ead7cf;border-radius:9px;color:var(--danger);font-size:12px;line-height:1.8;flex-shrink:0}.desktop-viewport{display:flex;align-items:center;justify-content:center;position:relative;min-height:0;flex:1;overflow:auto;background:#f3f6ee;border-top:1px solid var(--line);overscroll-behavior:contain;touch-action:pan-x pan-y pinch-zoom;-webkit-overflow-scrolling:touch}.desktop-viewport>img{display:block;max-width:100%;max-height:100%;object-fit:contain}.desktop-viewport.original-size{display:block}.desktop-viewport.original-size>img{width:auto;height:auto;max-width:none;max-height:none;margin:0}.desktop-footer{display:flex;align-items:center;justify-content:space-between;gap:15px;min-height:68px;padding:12px 24px;border-top:1px solid var(--line);flex-shrink:0}.desktop-footer>p{font-size:10px;color:#87977b;line-height:1.8}.desktop-image-actions{display:flex;gap:8px;align-items:center}.desktop-image-actions .download-button{min-height:44px;padding:10px 12px;font-size:11px;justify-content:center}.desktop-image-actions .download-button[aria-pressed="true"]{background:#edf4e6;border-color:#aec5a1;color:var(--green)}
@media(min-width:1500px){.task-sidebar{width:365px}.detail-panel{margin:24px 30px 30px 24px}.messages{padding-left:48px;padding-right:48px}.detail-header{padding-left:40px;padding-right:40px}.reply-form{margin-left:40px;margin-right:40px}}
@media(max-width:1100px){.topbar{padding:18px 23px}.task-sidebar{width:290px;padding:25px 17px 0}.detail-panel{margin:16px 17px 20px 16px}.detail-header{padding:24px 22px 0}.detail-title-block h2{font-size:18px}.messages{padding:25px 22px}.reply-form{margin:0 19px 18px}.artifact-grid{grid-template-columns:repeat(auto-fill,minmax(145px,1fr));gap:13px}.artifacts-view{padding:23px 21px}.artifact-thumb{height:120px}.artifact-filters{gap:0}.artifact-filter{padding:7px 8px}.interrupt-button span{display:none}.notice{padding:10px 22px}}
@media(max-width:760px),(max-width:1000px) and (max-height:500px){:root{font-size:14px}.app-shell{min-height:0;height:100dvh;padding-bottom:calc(65px + env(safe-area-inset-bottom))}.topbar{height:75px;padding:14px 19px;padding-top:max(14px,env(safe-area-inset-top));flex-shrink:0}.brand{font-size:16px;gap:10px}.brand-mark{width:37px;height:37px;border-radius:11px}.brand-mark svg{width:20px;height:20px}.brand small{font-size:6px;margin-top:4px}.connection-area{gap:5px}.connection-badge{font-size:9px;gap:5px}.connection-badge i{width:5px;height:5px}#logout-button{display:none}.connection-area .icon-button{width:30px}.connection-area .icon-button svg{width:17px;height:17px}.workspace{min-height:0;display:block;position:relative}.task-sidebar{height:100%;width:100%;border:0;padding:25px 20px 0;display:flex}.sidebar-heading{margin-bottom:22px}.sidebar-heading .eyebrow{font-size:10px}.sidebar-heading h1{font-size:28px}.search-box{padding:13px 12px;border-radius:11px}.search-box input{font-size:16px}.search-box kbd{display:none}.task-filters{padding:18px 0 12px;gap:8px}.filter{font-size:12px;padding:8px 12px}.filter span{font-size:10px}.thread-list{margin-top:14px}.thread-item{padding:18px 15px;border-radius:13px;margin-bottom:8px}.thread-item h3{font-size:14px}.thread-preview{font-size:11px}.thread-timestamp{font-size:10px}.status-label{font-size:11px}.thread-path{font-size:10px;margin-top:13px}.sidebar-foot{padding:14px 2px 16px;font-size:10px}.detail-panel{height:100%;margin:0;border:0;border-radius:0;display:none}.app-shell:not([data-mobile-view="tasks"]) .task-sidebar{display:none}.app-shell:not([data-mobile-view="tasks"]) .detail-panel{display:flex}.welcome-panel{padding:30px 20px}.welcome-panel h2{font-size:23px}.welcome-art{transform:scale(.85);margin-bottom:10px}.welcome-features{gap:13px;font-size:9px}.detail-header{padding:19px 19px 0}.detail-title-row{gap:4px;align-items:flex-start}.mobile-back{display:flex;margin:-2px 3px 0 -9px;height:26px;width:27px}.mobile-back svg{width:18px;height:18px}.detail-eyebrow{font-size:9px;gap:7px}.detail-eyebrow .status-label{font-size:10px}.detail-title-block h2{font-size:18px;line-height:1.6;margin-top:8px;white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.detail-path{font-size:8px;line-height:1.5}.detail-tabs{margin-top:22px;gap:25px}.detail-tab{font-size:12px;gap:7px;padding-bottom:14px}.detail-tab>span{font-size:9px}.last-sync{font-size:8px;line-height:16px}.interrupt-button{margin-top:0;font-size:8px;padding:6px}.interrupt-button svg{width:11px;height:11px}.messages{padding:23px 19px 5px}.message{margin-bottom:27px}.message-content{font-size:13px;line-height:1.95;padding-left:0}.message.user .message-content{margin-left:0;padding:13px 16px}.message-name{font-size:11px}.message-header{margin-bottom:12px}.avatar{width:26px;height:26px}.message-time{font-size:9px}.message-channel{font-size:8px}.reply-form{padding:12px 13px;margin:0 13px 12px;border-radius:12px}.reply-form textarea{font-size:16px;min-height:36px;line-height:1.6}.compose-footer{margin-top:8px}.compose-footer>span{font-size:8px;max-width:70%}.send-button{font-size:11px;padding:9px 12px}.mobile-navigation{display:flex;justify-content:space-around;align-items:flex-start;height:calc(65px + env(safe-area-inset-bottom));padding:10px 10px env(safe-area-inset-bottom);position:fixed;bottom:0;left:0;right:0;background:#f9fbf6f2;backdrop-filter:blur(15px);border-top:1px solid var(--line);z-index:20}.mobile-nav{display:flex;flex-direction:column;align-items:center;gap:5px;color:#a5b19a;font-size:9px;padding:0 27px}.mobile-nav svg{width:20px;height:20px}.mobile-nav.active{color:var(--green);font-weight:600}.artifacts-view{padding:20px 19px}.artifacts-toolbar{gap:5px;margin-bottom:20px}.artifact-filter{font-size:11px;padding:8px 9px}.artifact-total{font-size:8px}.artifact-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.artifact-thumb{height:130px}.artifact-info{padding:11px}.artifact-info h3{font-size:10px}.artifact-info p{font-size:8px}.artifact-footnote{font-size:9px;margin-top:25px}.notice{font-size:10px;padding:8px 19px}.toast{bottom:calc(80px + env(safe-area-inset-bottom));width:max-content;max-width:90vw;font-size:11px;padding:11px 16px}.login-screen{padding:23px 18px}.login-card{padding:32px 27px 25px;border-radius:20px}.login-card h1{font-size:23px}.login-card input{font-size:16px}.login-description{font-size:12px}.preview-dialog{width:100vw;height:100dvh;margin:0;max-height:none;border:0;border-radius:0}.preview-header{padding:15px 17px;padding-top:max(15px,env(safe-area-inset-top));gap:8px}.preview-heading h2{font-size:13px}.preview-heading .eyebrow{font-size:8px}.preview-actions{gap:7px}.download-button{padding:7px 9px}.download-button span{display:none}.preview-footer{padding:10px 17px;padding-bottom:max(10px,env(safe-area-inset-bottom));font-size:9px}.preview-body>iframe{height:100%;-webkit-overflow-scrolling:touch}.text-preview{padding:23px 19px;font-size:12px}.sheet-preview{padding:15px}.model-overlay{font-size:9px;line-height:1.7;right:16px;left:auto}.help-content{font-size:12px;padding:20px}.help-heading{padding:18px 20px}.help-heading h2{font-size:17px}.help-dialog{max-height:85dvh}.empty-state p{font-size:11px}.thread-list .empty-state{padding:60px 20px}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
@media(max-width:760px),(max-width:1000px) and (max-height:500px){.topbar{display:grid;grid-template-columns:minmax(0,1fr) auto auto;grid-template-rows:44px auto;column-gap:7px;row-gap:3px;height:auto;min-height:88px;padding:9px 16px 10px;padding-top:max(9px,env(safe-area-inset-top))}.topbar .brand{grid-column:1;grid-row:1;min-width:0;gap:8px;white-space:nowrap;font-size:15px}.connection-area{display:contents}.connection-badge{grid-column:1 / -1;grid-row:2;font-size:9px;min-width:0;white-space:normal;line-height:1.5;min-height:14px}.desktop-button{grid-column:2;grid-row:1;min-width:66px;min-height:44px;font-size:11px;padding:0 10px;gap:6px}.desktop-button svg{width:18px;height:18px}.connection-area #help-button{grid-column:3;grid-row:1;width:44px;height:44px}.desktop-dialog{width:100vw;height:100dvh;max-height:none;border:0;border-radius:0;margin:0}.desktop-toolbar{padding:13px 16px 9px;gap:9px}.desktop-toolbar label{display:block;font-size:10px}.desktop-toolbar select{display:block;width:100%;max-width:none;min-height:44px;margin-top:5px;font-size:16px;padding:9px 25px 9px 10px}.desktop-capture{padding:11px 12px;font-size:11px}.desktop-capture svg{width:16px;height:16px}.desktop-hint{padding:0 16px;font-size:10px}.desktop-status{padding:7px 16px;font-size:10px}.desktop-error{margin:0 16px 10px;font-size:11px}.desktop-footer{align-items:flex-start;gap:9px;flex-wrap:wrap;padding:10px 16px;padding-bottom:max(10px,env(safe-area-inset-bottom))}.desktop-footer>p{font-size:10px;flex:1 1 140px}.desktop-image-actions{margin-left:auto;gap:7px}.desktop-image-actions .download-button{padding:10px;font-size:10px}.desktop-image-actions .download-button span{display:inline}}

.questions-panel{max-height:45vh;overflow:auto;flex:none;padding:12px 20px;border-bottom:1px solid var(--line,#dce4df);background:#f3f7f3}.question-card{padding:16px;margin:0 0 12px;background:white;border:1px solid #d4e3d9;border-radius:14px}.question-card:last-child{margin-bottom:0}.question-card h3{font-size:16px;line-height:1.6;margin:4px 0 12px;white-space:pre-wrap}.question-options{display:grid;gap:8px}.question-option{display:flex;align-items:center;gap:10px;min-height:48px;padding:10px 12px;border:1px solid #d6dfd9;border-radius:10px;cursor:pointer;line-height:1.5}.question-option:has(input:checked){background:#e7f4eb;border-color:#298660}.question-option input{accent-color:#177854;width:19px;height:19px;flex:none}.question-custom{display:block;box-sizing:border-box;width:100%;margin:12px 0;padding:10px;border:1px solid #d6dfd9;border-radius:10px;font:inherit;resize:vertical}.question-card .primary-button{min-height:44px;width:auto;padding:10px 20px}.question-answer{white-space:pre-wrap;color:#31634d;margin-bottom:0}.question-card:has(:disabled){opacity:.8}
.attachment-toolbar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:6px 0;border-top:1px solid var(--line)}.attachment-toolbar button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:44px;padding:8px 12px;border-radius:9px;background:#edf3e8;color:#3d6952;font-size:12px}.attachment-toolbar svg{width:17px;height:17px}.attachment-toolbar>span{color:#8a9781;font-size:10px}.attachment-toolbar #cancel-upload{margin-left:auto;color:#92543e;background:#f7eee8}.attachment-list{display:grid;gap:7px;max-height:150px;overflow:auto;margin-bottom:10px}.attachment-row{display:flex;align-items:center;gap:9px;padding:7px 9px;background:#f2f6ec;border:1px solid #dce7d5;border-radius:10px;min-width:0}.attachment-row>svg{width:29px;height:29px;flex:none;color:#62896b}.attachment-thumb{width:40px;height:40px;object-fit:cover;border-radius:6px;flex:none}.attachment-info{display:flex;flex-direction:column;gap:4px;min-width:0;flex:1}.attachment-name{font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.attachment-progress{font-size:10px;color:#6f8864}.attachment-remove{padding:7px;color:#947463;font-size:11px;min-height:36px}.reply-form .attachment-toolbar button:disabled{opacity:.45}

.detail-title-toggle{display:flex;align-items:center;gap:6px;width:100%;min-width:0;padding:0;text-align:left;font:inherit;color:inherit}
#detail-title{display:block;min-width:0;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.detail-title-toggle>svg{height:12px;width:12px;transform:rotate(-90deg);color:var(--muted)}
.detail-title-toggle[aria-expanded=true]>svg{transform:rotate(90deg)}
.detail-extra{font-size:12px;line-height:1.7;overflow-wrap:anywhere;padding:10px 0 12px;max-height:28dvh;overflow:auto}
.detail-full-title{font-weight:600;color:var(--green-dark);margin-bottom:7px}
.detail-extra .detail-path{white-space:normal;line-height:1.7;overflow-wrap:anywhere}
.detail-extra .notice{padding:8px 10px;margin-top:8px;border:0;border-radius:7px}

/* Mobile reading area: one toolbar, one task row, and one compact composer. */
@media(max-width:760px),(max-width:1000px) and (max-height:500px){
  .app-shell{padding-bottom:calc(48px + env(safe-area-inset-bottom))}
  .app-shell:not([data-mobile-view=tasks]){padding-bottom:env(safe-area-inset-bottom)}
  .topbar{display:flex;gap:8px;height:auto;min-height:calc(48px + env(safe-area-inset-top));padding:2px 10px;padding-top:calc(2px + env(safe-area-inset-top))}
  .topbar .brand{display:flex;flex:none;font-size:13px;gap:6px}
  .brand small{display:none}.brand-mark{width:26px;height:26px;border-radius:8px}.brand-mark svg{width:16px;height:16px}
  .connection-area{display:flex;align-items:center;flex:1;min-width:0;gap:5px;justify-content:flex-end}
  .connection-badge{min-width:0;font-size:9px;line-height:1.4;gap:4px;white-space:nowrap;overflow:hidden;margin-left:auto}
  .desktop-button{min-width:44px;min-height:44px;height:44px;padding:0;border:0;background:none}.desktop-button>span{display:none}
  .connection-area #help-button{height:44px;width:44px}.connection-area #logout-button{display:none}
  .detail-header{padding:5px 12px 0}.detail-title-row{align-items:center;gap:0;min-height:44px}
  .mobile-back{margin:0 4px 0 -5px;min-width:40px;height:44px;width:40px}.mobile-back svg{height:18px;width:18px}
  .detail-eyebrow{font-size:9px;line-height:13px;gap:6px}.detail-eyebrow .status-label{font-size:9px}
  .detail-title-block h2{display:block;font-size:14px;line-height:22px;margin:0;white-space:nowrap;-webkit-line-clamp:unset}
  .detail-title-toggle{min-height:26px}.detail-title-toggle>svg{height:10px;width:10px}
  .detail-tabs{margin-top:0;gap:20px;height:36px}.detail-tab{height:36px;align-items:center;padding:0 0 6px;font-size:12px}
  .last-sync{align-self:center;font-size:8px;line-height:14px;padding-bottom:6px}
  .detail-extra{padding:7px 0 10px;font-size:12px}.detail-extra .detail-path{font-size:10px}
  .app-shell:not([data-mobile-view=tasks]) .mobile-navigation{display:none}
  .mobile-navigation{height:calc(48px + env(safe-area-inset-bottom));padding:0 10px env(safe-area-inset-bottom);align-items:center}
  .mobile-nav{flex-direction:row;justify-content:center;gap:7px;padding:0 15px;min-height:44px;font-size:11px}.mobile-nav svg{height:18px;width:18px}
  .messages{padding:12px 14px 4px}.message{margin-bottom:18px}.message-header{margin-bottom:6px}.message-content{font-size:14px;line-height:1.8}
  .reply-form{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"files files" "text text" "tools send";gap:2px 6px;padding:7px 9px;margin:0 9px 6px;border-radius:11px}
  .reply-form textarea{grid-area:text;min-height:36px;max-height:96px;padding:5px 0;font-size:16px;line-height:1.6}
  .reply-form .attachment-list{grid-area:files;max-height:110px;margin:0 0 4px}
  .attachment-toolbar{grid-area:tools;flex-wrap:nowrap;gap:5px;min-width:0;padding:0;border:0}
  .attachment-toolbar button{padding:0 8px;font-size:12px;min-height:44px;gap:4px}.attachment-toolbar>span{display:none}.attachment-toolbar svg{height:16px;width:16px}
  .attachment-toolbar #cancel-upload{margin-left:0;padding:0 6px;font-size:11px;white-space:nowrap}
  .compose-footer{grid-area:send;margin:0;align-self:center}.compose-footer>span{display:none}
  .send-button{min-height:44px;min-width:58px;padding:0 10px;gap:5px;font-size:12px}
  .questions-panel{max-height:30dvh;padding:8px 12px}
  .toast{bottom:calc(16px + env(safe-area-inset-bottom))}#app[data-mobile-view=tasks]~.toast{bottom:calc(64px + env(safe-area-inset-bottom))}
}
@media(max-width:380px){.topbar .brand>span:last-child{display:none}}

.tree-section{margin-bottom:9px}.tree-section-heading,.project-heading{display:flex;align-items:center;gap:7px;width:100%;min-width:0;text-align:left;min-height:42px;border-radius:9px;padding:8px 7px;color:#667466}
.tree-section-heading{font-size:11px;font-weight:600;color:#8b9587;min-height:36px}.project-heading{font-size:12px;color:#4f604a}
.tree-section-heading:hover,.project-heading:hover{background:#e9eee5}.tree-chevron{width:12px;flex:none;display:flex;align-items:center;justify-content:center}.tree-chevron svg{height:12px;width:12px;transform:rotate(180deg)}
[aria-expanded=true]>.tree-chevron svg{transform:rotate(-90deg)}.project-heading>svg{height:17px;width:17px;color:#87967e}
.project-name{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.project-count{font-size:9px;color:#99a48f;flex:none}
.project-running,.project-waiting{font-size:8px;white-space:nowrap;flex:none}.project-running{color:#50836a}.project-waiting{color:#b28834}
.project-threads{margin:0 0 4px 20px;padding-left:8px;border-left:1px solid #e1e8db}.tree-thread{margin-bottom:3px;padding:9px 10px;border-radius:9px}
.tree-thread h3{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:11px;line-height:1.6;font-weight:500}
.tree-thread .thread-topline{margin:4px 0 0;gap:6px}.tree-thread .status-label{font-size:8px}.tree-thread .thread-timestamp{font-size:8px}.tree-thread.selected h3{font-weight:650;color:var(--green-dark)}
.project-empty{font-size:10px;color:#a1ac97;padding:12px 10px;line-height:1.7}
@media(max-width:760px),(max-width:1000px) and (max-height:500px){
  .tree-section-heading{font-size:12px;min-height:38px}.project-heading{font-size:14px;min-height:46px;padding:9px 8px;gap:8px}.project-heading>svg{height:19px;width:19px}
  .project-count{font-size:10px}.project-running,.project-waiting{font-size:9px}.project-threads{margin-left:24px;padding-left:7px}
  .tree-thread{padding:10px 11px;min-height:54px}.tree-thread h3{font-size:13px;line-height:1.6}.tree-thread .status-label,.tree-thread .thread-timestamp{font-size:9px}
}
.message-content .message-file,.message-content .message-image{display:inline-flex;align-items:center;gap:9px;max-width:100%;margin:6px 2px;padding:11px 12px;border:1px solid var(--line);border-radius:10px;background:#f7faf3;color:var(--ink);text-align:left;vertical-align:middle;font:inherit;line-height:1.5;white-space:normal;overflow-wrap:anywhere;cursor:pointer}
.message-content .message-file svg{width:20px;height:20px;flex-shrink:0}.message-content .message-file span{min-width:0}.message-content .message-file small{font-size:10px;color:#7c8d6e;flex-shrink:0}
.message-content .message-image{display:flex;width:min(320px,100%);flex-direction:column;align-items:flex-start;padding:7px;gap:5px}.message-content .message-image img{display:block;width:100%;max-height:240px;object-fit:contain;border-radius:6px;background:#edf2e7}.message-content .message-image span{font-size:12px}.message-content .message-image small{font-size:10px;color:#7c8d6e}.message-unavailable{color:#889181;text-decoration:underline dotted;overflow-wrap:anywhere}.message-link{overflow-wrap:anywhere}
@media(max-width:760px){.message-content .message-file{display:flex;flex-wrap:wrap}.message-content .message-file small{width:100%;padding-left:29px}.message-content .message-image{width:min(300px,100%)}}

/* New project chats */
.sidebar-actions { display:flex; align-items:center; gap:5px; }
.new-chat-button { display:inline-flex; align-items:center; justify-content:center; gap:4px; min-height:40px; padding:0 10px; background:#edf3e8; border:1px solid #d8e3d0; border-radius:11px; color:#315b36; font:inherit; font-size:13px; white-space:nowrap; cursor:pointer; }
.new-chat-button svg,.project-new-chat svg { width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7; }
.project-heading-row { display:flex;align-items:center;gap:2px; }
.project-heading-row .project-heading { flex:1;min-width:0; }
.project-new-chat { display:flex;align-items:center;justify-content:center;flex:0 0 40px;min-height:40px;padding:0;border:0;border-radius:10px;background:transparent;color:#648063;cursor:pointer; }
.project-new-chat:hover { background:#edf3e8; }
.new-chat-dialog { width:min(520px,calc(100vw - 24px));max-height:calc(100dvh - 24px);padding:0;border:1px solid #dfe5d9;border-radius:22px;background:#fafcf7;color:#29362b;box-shadow:0 24px 90px #172b2640; }
.new-chat-dialog::backdrop { background:#14291c66;backdrop-filter:blur(4px); }
.new-chat-heading { display:flex;align-items:center;justify-content:space-between;gap:12px;padding:23px 24px 14px; }
.new-chat-heading h2 { margin:4px 0 0;font-size:25px; }
.new-chat-form { display:grid;gap:13px;padding:0 24px 20px; }
.new-chat-form label { display:grid;gap:7px;font-size:14px;font-weight:600; }
.new-chat-form label small { font-size:12px;font-weight:400;color:#7e897c; }
.new-chat-form input,.new-chat-form select,.new-chat-form textarea { width:100%;min-width:0;box-sizing:border-box;padding:12px;border:1px solid #d9e2d3;border-radius:11px;background:#fff;color:#29362b;font:inherit;font-size:16px;outline-offset:2px; }
.new-chat-form textarea { min-height:138px;max-height:32dvh;resize:vertical;line-height:1.55; }
.new-chat-path { margin:-6px 0 1px;overflow-wrap:anywhere;color:#7a8676;font-size:12px;line-height:1.5; }
.new-chat-hint { margin:0;color:#6e7c67;font-size:13px;line-height:1.6; }
.new-chat-secondary { display:flex;flex-wrap:wrap;gap:6px 15px; }
.new-chat-secondary .text-button { padding:3px 0;font-size:12px; }
.new-chat-footer { display:flex;align-items:center;justify-content:flex-end;gap:16px;padding-top:7px; }
.new-chat-footer .primary-button { width:auto;min-height:44px;padding:11px 18px; }
.new-chat-form :disabled { opacity:.55;cursor:default; }
@media(max-width:540px) { .new-chat-heading{padding:20px 18px 13px}.new-chat-form{padding:0 18px 18px}.new-chat-heading h2{font-size:23px}.new-chat-form{gap:11px} }
/* Explicit human approvals use text nodes; command/diff content is never HTML. */
.approvals-panel{display:grid;gap:14px;margin:16px auto 24px;min-width:0;max-width:780px;width:100%}
.approvals-panel[hidden]{display:none}
.approval-card{padding:18px;border:1px solid #d4b678;border-radius:16px;background:#fffaf0;min-width:0;overflow:hidden}
.approval-card h3{margin:6px 0 12px;font-size:18px}
.approval-reason,.approval-path,.approval-result,.approval-notice{font-size:14px;line-height:1.65;overflow-wrap:anywhere}
.approval-command,.approval-diff,.approval-permissions{max-width:100%;max-height:360px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;font:12px/1.6 ui-monospace,Consolas,monospace;background:#f2f0e8;border-radius:8px;padding:12px;user-select:text}
.approval-change summary{cursor:pointer;padding:10px 0;overflow-wrap:anywhere;font-size:14px}
.approval-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:12px;margin-top:16px}
.approval-actions button{min-height:44px;padding:10px 16px}
.reminder-settings{margin:16px 0;padding:14px;border:1px solid var(--line);border-radius:12px}
.reminder-settings h3{font-size:16px;margin-bottom:6px}
.reminder-settings button{min-height:44px;color:var(--green);font-weight:650}
.thread-reminder{font-size:11px;color:#864a00;background:#fff0cc;border-radius:10px;padding:2px 6px;white-space:nowrap}
