:root{color-scheme:light;--canvas:#f7f8fa;--surface:#fff;--ink:#242a32;--muted:#646e7b;--line:#e3e7ec;--accent:#22674b;--accent-hover:#19553d;--accent-soft:#edf6f0;--danger:#ac3634;--warning:#8b5c16;--sidebar:#191d23;--sidebar-muted:#a0a9b6;--radius:12px;--font:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;--mono:ui-monospace,SFMono-Regular,Consolas,monospace}
*{box-sizing:border-box}html,body{margin:0;min-width:320px;min-height:100%;font-family:var(--font);color:var(--ink);background:var(--canvas);font-size:14px;line-height:1.5}button,input,textarea{font:inherit}button,a,input,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer;touch-action:manipulation}button:disabled{cursor:not-allowed;opacity:.55}button,textarea,input{border-radius:8px}a{color:inherit}svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}button svg{pointer-events:none}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,[tabindex]:focus-visible{outline:3px solid #55a880;outline-offset:3px}h1,h2,h3,p{margin:0}h1,h2,h3{text-wrap:balance}h1{font-size:18px;font-weight:600;line-height:1.35}h2{font-size:24px;line-height:1.3;font-weight:600;letter-spacing:-.025em}h3{font-size:16px;font-weight:600}p{overflow-wrap:anywhere}button{font-weight:500;letter-spacing:.01em}button[hidden],[hidden]{display:none!important}.muted{color:var(--muted)}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.eyebrow{color:var(--muted);font-size:10px;font-weight:600;letter-spacing:.12em;line-height:1.5}.skip-link{position:fixed;left:20px;top:10px;z-index:1000;padding:12px 18px;transform:translateY(-160%);background:var(--ink);color:#fff;border-radius:8px}.skip-link:focus{transform:none}kbd{font-family:var(--font);font-size:10px;font-weight:400;letter-spacing:.02em}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:39px;padding:8px 14px;border:1px solid #d9dfe6;background:var(--surface);color:var(--ink);white-space:nowrap;transition:background .15s,border-color .15s}.button:hover{background:#f3f5f6;border-color:#c0c9d2}.button-primary{background:var(--accent);border-color:var(--accent);color:#fff}.button-primary:hover{background:var(--accent-hover);border-color:var(--accent-hover)}.button-quiet{background:transparent;border-color:transparent;color:var(--muted)}.button-quiet:hover{background:#edf0f3;border-color:transparent}.button-small{min-height:34px;padding:6px 12px;font-size:12px}.button-danger{color:var(--danger);border-color:#e5c9c8}.button-danger:hover{background:#fff3f3;border-color:#dba8a6}.icon-button{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;background:transparent;border:0;width:34px;height:34px;color:inherit;font-size:24px;line-height:1}.icon-button:hover{background:#00000009}.text-button{border:0;background:transparent;color:var(--accent);padding:5px 2px;text-decoration:underline;text-underline-offset:3px;font-size:12px;font-weight:600}.status-dot{display:inline-block;width:7px;height:7px;flex-shrink:0;border-radius:50%;background:#69ad87}.status-dot.is-waiting{background:#c99846}.status-dot.is-error{background:#d7786d}.status-dot.is-muted{background:#98a1aa}.spinner{width:13px;height:13px;display:inline-block;flex-shrink:0;border:1.5px solid currentColor;border-right-color:transparent;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}
.login-view{min-height:100dvh;display:grid;grid-template-columns:1fr 1fr;background:var(--surface)}.login-intro{background:var(--sidebar);color:#f6f8fa;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;padding:12% clamp(32px,6vw,100px);position:relative;overflow:hidden}.login-intro::after{position:absolute;content:"";width:360px;height:360px;border:1px solid #ffffff0a;border-radius:50%;bottom:-240px;left:-90px;box-shadow:0 0 0 60px #ffffff03,0 0 0 120px #ffffff02;pointer-events:none}.brand{display:inline-flex;align-items:center;gap:10px;text-decoration:none;font-size:16px;font-weight:500;letter-spacing:-.025em;white-space:nowrap}.brand strong{font-weight:400;color:#a1a9b2}.brand-mark{border:1px solid #ffffff22;border-radius:7px;width:30px;height:30px;display:flex;align-items:center;justify-content:center;font:600 18px var(--mono);color:#e8f3ec;letter-spacing:-4px;padding-right:4px}.brand-mark span{color:#86b79a}.brand-large{position:absolute;top:45px;left:clamp(32px,6vw,100px);font-size:20px}.brand-large .brand-mark{width:36px;height:36px;font-size:22px}.private-label{display:flex;align-items:center;gap:9px;border:1px solid #ffffff1a;padding:6px 11px;font-size:11px;border-radius:20px;color:#c9d0d9;margin-bottom:27px;letter-spacing:.015em}.login-intro h1{font-size:clamp(36px,4vw,58px);line-height:1.13;letter-spacing:-.045em;font-weight:500}.login-intro>p{color:#a9b2bf;max-width:36ch;line-height:1.8;font-size:15px;margin-top:25px}.login-footer{position:absolute;bottom:37px;font-size:11px;letter-spacing:.01em;color:#87919f}.login-panel{display:flex;align-items:center;justify-content:center;padding:50px 32px}.login-box{width:100%;max-width:350px}.login-box .eyebrow{margin-bottom:12px}.login-box>p.muted{margin-top:12px;margin-bottom:30px;font-size:14px}.login-box label{display:block;font-size:12px;font-weight:600;margin-bottom:9px}.login-box input{width:100%;min-height:47px;border:1px solid #cfd6df;padding:12px 14px;background:#fff;color:var(--ink)}.login-button{margin-top:20px;width:100%;justify-content:space-between;min-height:45px}.login-note{font-size:11px;line-height:1.7;color:var(--muted);margin-top:30px;max-width:39ch}.quiet-note{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:12px;margin-top:18px}.form-error{font-size:12px;color:var(--danger);margin-top:10px}.noscript{position:fixed;bottom:0;left:0;right:0;background:#fff3e4;color:#724b12;padding:16px;z-index:2000}
.app-shell{height:100dvh;display:flex;overflow:hidden}.sidebar{width:250px;flex-shrink:0;background:var(--sidebar);color:#e5e9ef;display:flex;flex-direction:column;padding:25px 17px 0;z-index:40}.sidebar-top{display:flex;align-items:center;justify-content:space-between;padding:0 7px;margin-bottom:29px}.new-thread{width:100%;min-height:40px;background:#ffffff09;border:1px solid #ffffff21;color:#f3f5f8;display:flex;align-items:center;gap:9px;padding:9px 12px;font-size:12px}.new-thread>span{font-size:19px;font-weight:400;line-height:1}.new-thread kbd{margin-left:auto;border:1px solid #ffffff18;border-radius:3px;width:18px;height:18px;color:#a0a9b6}.new-thread:hover{background:#ffffff13}.primary-nav{margin-top:23px;display:flex;flex-direction:column;gap:4px}.nav-button{display:flex;align-items:center;gap:11px;padding:10px 12px;min-height:40px;border:0;background:transparent;color:#a6b0bd;text-align:left;width:100%;font-size:12px;border-radius:6px}.nav-button:hover{background:#ffffff07;color:#edf2f7}.nav-button.active{background:#ffffff0f;color:#f8fafc}.nav-button.active svg{color:#9dceb1}.nav-button svg{width:17px;height:17px}.nav-count{margin-left:auto;min-width:20px;height:20px;border-radius:5px;background:#e7b96d;color:#322612;text-align:center;padding:1px 5px;font-size:11px;font-weight:600}.history-heading{display:flex;align-items:center;justify-content:space-between;color:#838e9e;font-size:9px;font-weight:600;letter-spacing:.12em;padding:0 10px;margin-top:29px;margin-bottom:7px}.history-heading .icon-button{width:25px;height:25px;color:#85909f}.history-heading svg{width:14px;height:14px}.search-wrap{display:flex;align-items:center;gap:8px;padding:7px 9px;margin:0 4px 11px;color:#7f8b9b;border:1px solid #ffffff0c;border-radius:6px}.search-wrap svg{width:14px;height:14px}.search-wrap input{width:100%;min-width:0;background:transparent;border:0;color:#e4e8ee;font-size:11px;padding:2px 0;outline-offset:5px}.search-wrap input::placeholder{color:#85909f}.thread-list{overflow-y:auto;flex:1;min-height:80px;padding:0 3px 20px;scrollbar-width:thin;scrollbar-color:#3c4552 transparent}.thread-link{width:100%;display:flex;align-items:center;gap:9px;text-align:left;background:transparent;border:0;border-radius:6px;padding:10px 11px;color:#a6b0bd;text-decoration:none;margin-bottom:3px;min-height:38px;font-size:11px}.thread-link:hover{background:#ffffff07;color:#edf2f7}.thread-link.active{color:#f1f5f8;background:#ffffff0e}.thread-link .thread-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0;flex:1}.thread-link .status-dot{width:5px;height:5px;background:#77b78f}.history-date{padding:9px 10px 5px;font-size:9px;font-weight:500;color:#69778a;letter-spacing:.02em}.list-placeholder{color:var(--muted);font-size:12px;padding:20px 12px;line-height:1.7}.sidebar .list-placeholder{color:#919cab;font-size:11px}.sidebar-bottom{border-top:1px solid #ffffff0c;padding:15px 7px 20px}.environment-label{display:flex;align-items:center;gap:7px;font-size:10px;color:#a7b2be;margin-bottom:18px;letter-spacing:.01em}.environment-label .status-dot{width:6px;height:6px}.account-row{display:flex;align-items:center;gap:9px}.account-avatar{display:grid;place-items:center;width:31px;height:31px;border-radius:50%;background:#ffffff0b;border:1px solid #ffffff14;color:#cbd3dd;font-size:11px;flex-shrink:0}.account-row>div{min-width:0;flex:1;display:flex;flex-direction:column;font-size:10px;gap:1px}.account-row strong{font-size:11px;font-weight:500;color:#e0e6ee;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.account-row div>span{color:#808d9f}.account-row .icon-button{color:#8995a5;width:26px}.account-row svg{width:17px;height:17px}
.workspace{flex:1;min-width:0;display:flex;flex-direction:column;background:var(--surface);outline:none}.workspace-header{height:81px;min-height:81px;padding:0 35px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:16px}.header-start{display:flex;align-items:center;gap:10px;min-width:0}.header-start>div{min-width:0}.workspace-header .eyebrow{font-size:9px;margin-bottom:4px;color:#85909d}.workspace-header h1{font-size:15px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:52vw;letter-spacing:-.01em}.header-actions{display:flex;align-items:center;gap:16px;flex-shrink:0}.status-chip{display:flex;align-items:center;gap:7px;color:#66756c;font-size:10px;white-space:nowrap}.status-chip .status-dot{width:6px;height:6px}.header-actions .button{font-size:11px;min-height:34px;padding:5px 8px}.header-actions svg{width:16px;height:16px}.notice{padding:12px 24px;font-size:12px;display:flex;align-items:center;justify-content:space-between;gap:15px;flex-shrink:0;border-bottom:1px solid}.notice-error{background:#fff1f0;color:#982d2a;border-color:#efd8d7}.notice-warning{background:#fff8e9;color:#81550f;border-color:#ecdfc0}.notice .text-button{color:inherit;flex-shrink:0}.notice .icon-button{height:22px;width:22px}.chat-view{flex:1;display:flex;flex-direction:column;min-height:0}.chat-body{flex:1;position:relative;display:flex;min-height:0}.messages{width:100%;overflow-y:auto;padding:30px clamp(22px,5vw,76px);scroll-behavior:smooth;scrollbar-width:thin;scrollbar-color:#ced4db transparent;overscroll-behavior:contain}.chat-empty{min-height:100%;max-width:550px;margin:auto;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;padding:35px 0 60px}.empty-mark{font:500 32px var(--mono);letter-spacing:-7px;padding-right:7px;color:#354b40;line-height:1;border:1px solid #dbe7df;border-radius:16px;width:66px;height:66px;display:flex;align-items:center;justify-content:center;background:#f5f9f6;margin-bottom:26px}.empty-mark span{color:#68a17f}.chat-empty .eyebrow{font-size:9px;margin-bottom:10px;color:#89938e}.chat-empty h2{font-size:30px;font-weight:500;letter-spacing:-.035em}.chat-empty>p{font-size:13px;color:var(--muted);line-height:1.85;max-width:46ch;margin:15px 0 0;text-wrap:pretty}.welcome-detail{display:flex;gap:7px;align-items:center;margin-top:27px;color:#7c8880;font-size:10px}.welcome-detail .status-dot{width:5px;height:5px;background:#7daa8f}.composer-area{padding:12px clamp(22px,5vw,76px) 20px;background:var(--surface);flex-shrink:0}.composer{border:1px solid #d9dfe5;box-shadow:0 3px 14px #1b283307;border-radius:13px;padding:14px 15px 11px;background:#fff;max-width:880px;margin:auto;transition:border-color .15s,box-shadow .15s}.composer:focus-within{border-color:#8eb59e;box-shadow:0 0 0 3px #edf5f0}.composer textarea{width:100%;min-height:46px;max-height:230px;resize:none;border:0;background:transparent;color:var(--ink);padding:0 0 8px;font-size:14px;line-height:1.65;display:block;outline:none}.composer textarea::placeholder{color:#8c96a2}.composer textarea:focus-visible{outline:none}.composer-footer{display:flex;justify-content:space-between;align-items:center;color:#8a95a2;font-size:10px;gap:10px}.send-button{width:33px;height:33px;display:flex;align-items:center;justify-content:center;border-radius:8px;border:0;background:var(--accent);color:#fff;flex-shrink:0}.send-button:hover{background:var(--accent-hover)}.send-button:disabled{background:#dde4e0;color:#8d9b93;opacity:1}.send-button svg{width:17px;height:17px;stroke-width:2}.composer-help{max-width:880px;margin:10px auto 0;font-size:9px;color:#8b94a0;display:flex;justify-content:space-between;gap:10px;letter-spacing:.01em}.composer-help kbd{font-size:9px}.help-divider{margin:0 5px}.turn-indicator{display:flex;align-items:center;gap:8px;font-size:11px;color:var(--accent);max-width:880px;margin:0 auto 12px}.turn-indicator .text-button{margin-left:auto;color:var(--muted);font-size:11px}.inline-approval{display:flex;align-items:center;gap:12px;max-width:880px;margin:0 auto 12px;padding:12px 14px;border:1px solid #e9d6ae;border-radius:10px;background:#fffbf3}.approval-symbol{display:flex;align-items:center;justify-content:center;border-radius:50%;width:21px;height:21px;background:#f5e5bf;color:#805914;font-weight:600;font-size:12px;flex-shrink:0}.inline-approval>div{display:flex;flex-direction:column;gap:2px;flex:1;min-width:0}.inline-approval strong{font-size:11px;font-weight:600;color:#705320}.inline-approval div>span{font-size:10px;color:#938063}.inline-approval .button{background:#fffdfa;border-color:#e8d8b7;color:#775617}.jump-bottom{position:absolute;bottom:10px;left:50%;transform:translateX(-50%);padding:7px 13px;border:1px solid #d9dfe5;background:#fff;box-shadow:0 3px 12px #0000000a;border-radius:20px;color:#576373;font-size:10px;white-space:nowrap}
.message{max-width:880px;margin:0 auto 29px;display:flex;gap:13px;animation:appear .18s ease-out}.message-avatar{width:26px;height:26px;display:grid;place-items:center;flex-shrink:0;background:#f0f3f1;color:#34654c;border:1px solid #e0e8e2;border-radius:7px;font:600 12px var(--mono)}.message.is-user .message-avatar{border-radius:50%;font-family:var(--font);background:#f0f2f5;border-color:#e2e7ec;color:#718092;font-size:9px}.message-content{min-width:0;flex:1;padding-top:2px}.message-meta{display:flex;align-items:center;gap:9px;margin-bottom:7px;font-size:11px}.message-name{font-weight:600}.message-time{font-size:9px;color:#97a0ab;letter-spacing:.01em}.message-text{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.85;color:#3a424c;max-width:80ch}.is-user .message-text{color:#4f5967}.message.is-user{padding-bottom:24px;border-bottom:1px solid #edf0f3}.message.is-streaming .message-text::after{content:"";display:inline-block;width:5px;height:14px;vertical-align:-2px;margin-left:4px;background:#7aa48a;animation:blink 1s steps(1) infinite}.message-code{display:block;padding:15px 17px;margin:12px 0;border-radius:8px;background:#f5f6f8;border:1px solid #e5e9ee;max-width:100%;overflow:auto;white-space:pre;font:12px/1.7 var(--mono);color:#384253}.code-language{display:block;color:#7e8995;font:9px var(--font);margin-bottom:8px;letter-spacing:.04em}.message-tools{display:flex;margin-top:8px;gap:6px}.copy-message{border:0;background:transparent;font-size:10px;color:#8a95a2;padding:3px 0}.copy-message:hover{color:var(--accent)}.tool-item{max-width:880px;margin:0 auto 16px;padding:8px 12px;border:1px solid #e4e9ed;border-radius:7px;color:#6c7988;font-size:11px}.tool-item summary{cursor:pointer;list-style:none;display:flex;align-items:center;gap:8px}.tool-item summary::before{content:"›";font-size:15px;line-height:1;transition:transform .1s}.tool-item[open] summary::before{transform:rotate(90deg)}.tool-item pre{font:11px/1.7 var(--mono);white-space:pre-wrap;overflow-wrap:anywhere;margin:10px 0 4px;color:#556476;max-height:260px;overflow:auto}.tool-item .tool-status{font-size:9px;color:#94a098;margin-left:auto}.conversation-loading{display:flex;gap:9px;align-items:center;color:#788593;max-width:880px;margin:30px auto;font-size:12px}@keyframes appear{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}@keyframes blink{50%{opacity:0}}
.content-view{flex:1;overflow:auto;padding:39px clamp(22px,4vw,60px);background:#fbfcfd}.page-intro{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin-bottom:32px}.page-intro .eyebrow{display:block;margin-bottom:9px}.page-intro h2{font-size:23px;letter-spacing:-.03em}.page-intro p{font-size:12px;color:var(--muted);max-width:68ch;line-height:1.8;margin-top:11px}.page-intro>.button{margin-top:20px;font-size:11px}.empty-state{padding:50px 20px;text-align:center;border:1px dashed #dce3e9;border-radius:10px;background:#fff}.empty-state h3{font-size:15px;margin-bottom:8px}.empty-state p{font-size:12px;color:var(--muted);max-width:48ch;margin:auto;line-height:1.8}.empty-state .button{margin-top:17px;font-size:12px}.approval-card{padding:23px 25px;background:#fff;border:1px solid #e0e5ea;border-radius:12px;margin-bottom:20px}.approval-card header{display:flex;align-items:flex-start;gap:11px;margin-bottom:18px}.approval-card header>div{flex:1;min-width:0}.approval-card h3{font-size:15px}.approval-card .approval-context{font-size:11px;color:#7e8995;margin-top:4px}.approval-card .approval-reason{font-size:12px;color:#697584;line-height:1.8;margin:14px 0}.approval-card pre{background:#f6f8fa;border:1px solid #e4e9ed;border-radius:7px;padding:13px 15px;white-space:pre-wrap;overflow-wrap:anywhere;font:12px/1.8 var(--mono);max-height:300px;overflow:auto}.approval-details{display:grid;grid-template-columns:90px 1fr;gap:8px 12px;font-size:11px;margin:15px 0}.approval-details dt{color:#8a94a0}.approval-details dd{margin:0;overflow-wrap:anywhere;color:#566473}.approval-actions{display:flex;justify-content:flex-end;gap:10px;border-top:1px solid #edf0f3;padding-top:18px;margin-top:19px}.approval-actions .button{font-size:12px}.approval-note{font-size:10px;color:#8b95a0;margin-top:11px}.file-toolbar{display:flex;gap:14px;align-items:center;margin-bottom:15px}.file-path{font:11px/1.6 var(--mono);color:#72808e;overflow-wrap:anywhere}.file-list{background:#fff;border:1px solid #e0e6eb;border-radius:10px;overflow:hidden}.file-entry{width:100%;border:0;border-bottom:1px solid #edf0f3;border-radius:0;background:#fff;padding:15px 18px;display:flex;gap:12px;align-items:center;text-align:left;color:#4e5a67;font-size:12px}.file-entry:last-child{border-bottom:0}.file-entry:hover{background:#f5f8f6}.file-entry svg{width:18px;height:18px;color:#879a8f}.file-entry .file-name{min-width:0;flex:1;overflow-wrap:anywhere}.file-entry .file-size{font-size:10px;color:#8b97a3;flex-shrink:0}.services-content{display:flex;flex-direction:column;gap:30px}.service-section{background:#fff;border:1px solid #e0e5eb;border-radius:10px;overflow:hidden}.service-heading{padding:20px 22px;display:flex;align-items:center;justify-content:space-between;gap:15px;border-bottom:1px solid #e9edf1}.service-heading h3{font-size:14px}.service-heading p{font-size:11px;color:#83909d;margin-top:4px}.service-heading .status-chip{font-size:10px}.service-data{padding:18px 22px;display:grid;grid-template-columns:170px minmax(0,1fr);gap:13px 20px;font-size:12px}.service-data dt{color:#87929e}.service-data dd{color:#475764;overflow-wrap:anywhere;margin:0}.service-notice{padding:15px 22px;background:#fffbef;color:#90681f;font-size:11px;border-top:1px solid #f1e8d0;line-height:1.7}.workflow-list{list-style:none;padding:0;margin:0}.workflow-list li{padding:14px 22px;display:flex;align-items:center;justify-content:space-between;gap:15px;font-size:12px;border-bottom:1px solid #edf0f3}.workflow-list li:last-child{border-bottom:0}.workflow-list li>span:first-child{overflow-wrap:anywhere}.workflow-list .workflow-status{font-size:10px;white-space:nowrap;color:#73817b}.details-panel{width:280px;flex-shrink:0;border-left:1px solid var(--line);background:#fbfcfd;display:flex;flex-direction:column;overflow:auto;padding:0 23px 25px}.details-heading{display:flex;align-items:center;justify-content:space-between;min-height:81px;gap:10px;border-bottom:1px solid var(--line)}.details-heading h2{font-size:14px;letter-spacing:-.01em}.details-heading .icon-button{color:#83909c;width:26px}.task-summary{padding:25px 0;border-bottom:1px solid var(--line)}.task-summary .eyebrow{font-size:9px}.task-state{font-size:16px;font-weight:500;margin-top:9px;display:flex;align-items:center;gap:9px}.task-subtitle{font-size:11px;color:#8a95a0;line-height:1.8;margin-top:10px;overflow-wrap:anywhere}.activity-heading{font-size:9px;letter-spacing:.1em;color:#929ba6;font-weight:600;margin-top:26px;margin-bottom:20px}.activity-list{padding:0;margin:0;list-style:none;flex:1}.activity-list li{position:relative;padding:0 0 22px 19px;font-size:11px;color:#6f7d8b;line-height:1.6;overflow-wrap:anywhere}.activity-list li::before{content:"";position:absolute;width:5px;height:5px;background:#b8c9be;border-radius:50%;left:0;top:6px}.activity-list li::after{content:"";position:absolute;width:1px;background:#e4e9ed;left:2px;top:16px;bottom:3px}.activity-list li:last-child::after{display:none}.activity-list time{display:block;color:#9aa3ad;font-size:9px;margin-top:4px;letter-spacing:.015em}.details-note{font-size:10px;color:#939da8;line-height:1.7;margin-top:18px}.file-dialog{width:min(900px,calc(100vw - 35px));max-height:85dvh;padding:0;border:1px solid #dce3e9;border-radius:12px;box-shadow:0 20px 100px #00000033;color:var(--ink);background:#fff}.file-dialog::backdrop{background:#12192377;backdrop-filter:blur(2px)}.dialog-heading{padding:22px 25px;border-bottom:1px solid #e4e9ed;display:flex;align-items:center;justify-content:space-between;gap:15px;position:sticky;top:0;background:#fff}.dialog-heading h2{font:500 14px var(--mono);margin-top:6px;overflow-wrap:anywhere}.dialog-heading .eyebrow{font-size:9px}.file-dialog pre{padding:24px;margin:0;font:12px/1.8 var(--mono);white-space:pre-wrap;overflow-wrap:anywhere;max-height:62dvh;overflow:auto}.toast{position:fixed;z-index:200;bottom:30px;left:50%;transform:translateX(-50%);padding:12px 20px;border:1px solid #3f5348;border-radius:9px;color:#f0f6f2;background:#25382d;box-shadow:0 8px 35px #00000015;font-size:12px;max-width:calc(100vw - 30px);text-align:center}.mobile-only{display:none}.sidebar-backdrop{position:fixed;inset:0;border:0;border-radius:0;background:#10172277;z-index:35}
.status-refresh{padding:7px 8px;border:0;background:transparent;border-radius:6px;font-weight:400}.status-refresh:hover{background:#f3f6f4}.approval-questions{margin-top:18px;display:flex;flex-direction:column;gap:18px}.approval-question{border:0;margin:0;padding:0;min-width:0}.approval-question legend{font-size:12px;font-weight:600;margin-bottom:9px;line-height:1.7}.approval-option{display:flex;align-items:flex-start;gap:9px;padding:10px 11px;border:1px solid #e0e6eb;border-radius:7px;margin:6px 0;cursor:pointer;font-size:12px}.approval-option input{margin-top:4px;accent-color:var(--accent)}.approval-option small{display:block;color:#7c8996;font-size:10px;line-height:1.7;margin-top:3px}.approval-answer{display:block;width:100%;border:1px solid #d4dde5;border-radius:7px;padding:10px;font-size:14px;resize:vertical;min-height:44px}.approval-form-note{font-size:11px;color:#90681f;line-height:1.8;margin:14px 0}.content-error{padding:25px 0}
@media(min-width:1600px){.messages{padding-left:8vw;padding-right:8vw}.composer-area{padding-left:8vw;padding-right:8vw}}
@media(max-width:1190px){.details-panel{position:fixed;right:0;top:0;bottom:0;z-index:45;box-shadow:-10px 0 35px #1118270e;width:310px}.sidebar{width:225px;padding-left:13px;padding-right:13px}.workspace-header{padding-left:25px;padding-right:25px}.header-actions{gap:10px}}
@media(max-width:800px){.sidebar{width:250px;position:fixed;left:0;top:0;bottom:0;transform:translateX(-100%);transition:transform .2s}.sidebar.is-open{transform:translateX(0)}.mobile-only{display:inline-flex}.workspace-header{height:69px;min-height:69px;padding:0 16px;gap:9px}.workspace-header .header-start{gap:7px}.workspace-header .eyebrow{font-size:8px}.workspace-header h1{font-size:14px;max-width:50vw}.header-actions{gap:5px}.header-actions .status-chip{display:none}.header-actions .button{padding:5px;min-width:34px}.header-actions .button>span{display:none}.messages{padding:25px 23px}.composer-area{padding:11px 20px max(15px,env(safe-area-inset-bottom))}.composer-help{font-size:9px}.composer-help>span:last-child{display:none}.chat-empty{padding-bottom:32px}.chat-empty h2{font-size:28px}.chat-empty>p{font-size:13px}.welcome-detail{font-size:9px}.page-intro{gap:16px}.page-intro h2{font-size:21px}.content-view{padding:29px 22px}.page-intro>.button{font-size:10px;padding:6px 9px;min-height:34px}.service-data{grid-template-columns:135px minmax(0,1fr);font-size:11px;gap:12px}.login-intro{padding:160px 35px 100px}.login-intro h1{font-size:41px}.login-intro>p{font-size:13px}.brand-large{left:35px;top:40px}.login-panel{padding:35px}.login-footer{font-size:10px;bottom:25px}.message{gap:10px}.message-text{font-size:14px;line-height:1.8}}
@media(max-width:600px){.login-view{grid-template-columns:1fr}.login-intro{padding:92px 28px 35px;min-height:270px}.brand-large{top:24px;left:28px;font-size:16px}.brand-large .brand-mark{width:28px;height:28px;font-size:17px}.login-intro h1{font-size:29px;line-height:1.15}.login-intro h1 br{display:none}.login-intro>p{font-size:12px;max-width:44ch;margin-top:13px;line-height:1.75}.private-label{font-size:9px;padding:4px 8px;margin-bottom:14px}.login-footer{display:none}.login-panel{padding:38px 28px 45px;align-items:flex-start}.login-box{max-width:420px}.login-box h2{font-size:23px}.login-box>p.muted{font-size:12px;margin-bottom:25px}.login-box .eyebrow{font-size:9px}.login-note{font-size:10px;margin-top:23px}.login-box input{font-size:16px}.composer textarea{font-size:16px;line-height:1.55;min-height:44px;max-height:160px}.composer{padding:12px 12px 10px;border-radius:12px}.composer-area{padding-left:15px;padding-right:15px}.composer-footer{font-size:9px}.messages{padding:22px 17px}.message{gap:9px;margin-bottom:25px}.message-avatar{width:23px;height:23px;font-size:11px}.message-meta{font-size:10px;margin-bottom:6px}.message-text{font-size:14px;line-height:1.8}.message.is-user{padding-bottom:22px}.chat-empty{padding:35px 10px}.chat-empty .empty-mark{width:56px;height:56px;font-size:27px;border-radius:14px;margin-bottom:22px}.chat-empty h2{font-size:26px}.chat-empty>p{max-width:33ch;font-size:12px;line-height:1.85}.chat-empty .eyebrow{font-size:8px}.welcome-detail{font-size:9px;margin-top:24px}.content-view{padding:26px 17px}.page-intro{display:block;margin-bottom:24px}.page-intro>.button{margin-top:15px;min-height:36px}.page-intro h2{font-size:22px}.page-intro p{font-size:12px}.approval-card{padding:18px 16px}.approval-card h3{font-size:14px}.approval-card .approval-context{font-size:10px}.approval-card pre{font-size:11px;padding:12px}.approval-details{grid-template-columns:1fr;gap:3px}.approval-details dd{margin-bottom:7px}.approval-actions{justify-content:stretch}.approval-actions .button{flex:1;min-height:42px;font-size:12px}.service-data{padding:17px;grid-template-columns:1fr;gap:4px}.service-data dd{margin-bottom:11px;font-size:12px}.service-heading{padding:17px}.service-heading h3{font-size:13px}.service-notice{padding:14px 17px}.workflow-list li{padding:14px 17px;font-size:11px}.file-entry{padding:14px;font-size:12px;min-height:48px}.file-entry .file-size{font-size:9px}.file-toolbar{gap:10px}.file-path{font-size:10px}.details-panel{width:min(340px,100%)}.inline-approval{gap:9px;padding:10px}.inline-approval strong{font-size:10px}.inline-approval div>span{display:none}.inline-approval .button{font-size:10px;min-height:34px;padding:5px 10px}.inline-approval .approval-symbol{width:18px;height:18px;font-size:11px}.notice{padding:12px 17px;font-size:11px}.notice-warning{align-items:flex-start}.notice .text-button{font-size:10px}.dialog-heading{padding:17px}.dialog-heading h2{font-size:12px}.file-dialog pre{padding:17px;font-size:11px}.turn-indicator{font-size:10px}.turn-indicator .text-button{font-size:10px}.composer-help kbd{font-size:8px}.jump-bottom{font-size:9px}.sidebar .icon-button{min-width:34px;min-height:34px}.new-thread{min-height:44px}.nav-button{min-height:44px}.thread-link{min-height:42px;font-size:12px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}

/* === Upgrades: All Conversations, Hidden Codex Controls & All Projects Hub === */
.thread-filter-tabs { display: flex; gap: 4px; padding: 0 12px 6px; }
.filter-pill { flex: 1; font-size: 11px; font-weight: 600; padding: 5px 6px; border-radius: 6px; border: 1px solid rgba(255,255,255,0.12); background: rgba(255,255,255,0.04); color: #cbd5e1; cursor: pointer; transition: all .15s; }
.filter-pill.active, .filter-pill:hover { background: #10b981; color: #081c15; border-color: #10b981; }
.section-filter-wrap { padding: 0 12px 8px; }
.section-select { width: 100%; font-size: 12px; padding: 6px 8px; border-radius: 6px; border: 1px solid rgba(255,255,255,0.14); background: #11161d; color: #f1f5f9; }
.thread-meta-sub { display: block; font-size: 10.5px; color: #94a3b8; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.thread-badge { display: inline-block; font-size: 9.5px; font-weight: 700; padding: 1px 5px; border-radius: 4px; margin-right: 4px; text-transform: uppercase; background: rgba(16,185,129,0.18); color: #34d399; }
.thread-badge.is-pc { background: rgba(59,130,246,0.18); color: #60a5fa; }
.thread-badge.is-sub { background: rgba(168,85,247,0.18); color: #c084fc; }

.local-thread-banner { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; margin-bottom: 8px; border-radius: 10px; background: #eff6ff; border: 1px solid #bfdbfe; color: #1e3a8a; font-size: 13px; flex-wrap: wrap; }
.codex-turn-bar { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding: 8px 10px; margin-bottom: 8px; border-radius: 10px; background: #f8fafc; border: 1px solid #e2e8f0; font-size: 12px; }
.turn-opt { display: inline-flex; align-items: center; gap: 5px; font-weight: 600; color: #334155; }
.turn-opt select { font-size: 12px; padding: 4px 7px; border-radius: 6px; border: 1px solid #cbd5e1; background: #fff; color: #0f172a; font-weight: 600; }
.turn-rpc-actions { display: flex; flex-wrap: wrap; gap: 5px; margin-left: auto; }
.mini-action { font-size: 11.5px; font-weight: 600; padding: 4px 8px; border-radius: 6px; border: 1px solid #cbd5e1; background: #fff; color: #1e293b; cursor: pointer; }
.mini-action:hover { background: #f1f5f9; border-color: #94a3b8; }
.mini-action-accent { background: #ecfdf5; border-color: #6ee7b7; color: #065f46; }
.mini-action-accent:hover { background: #d1fae5; }

.kpi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; margin-bottom: 18px; }
.kpi-card { padding: 14px 16px; border-radius: 12px; background: #fff; border: 1px solid #e2e8f0; box-shadow: 0 1px 2px rgba(15,23,42,0.04); }
.kpi-card strong { display: block; font-size: 22px; font-weight: 800; color: #0f172a; margin: 4px 0; }
.kpi-card span { font-size: 12px; color: #475569; }

.cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 14px; margin-top: 12px; }
.op-card { padding: 15px; border-radius: 12px; background: #fff; border: 1px solid #e2e8f0; display: flex; flex-direction: column; justify-content: space-between; gap: 10px; }
.op-card h4 { margin: 0; font-size: 15px; color: #0f172a; }
.op-card p { margin: 4px 0 0; font-size: 12.5px; color: #475569; line-height: 1.45; }
.op-card-meta { font-size: 11.5px; color: #64748b; display: flex; flex-wrap: wrap; gap: 6px; }
.op-tag { display: inline-block; padding: 2px 7px; border-radius: 999px; font-size: 11px; font-weight: 600; background: #f1f5f9; color: #334155; }
.op-tag.is-green { background: #dcfce7; color: #166534; }
.op-tag.is-blue { background: #dbeafe; color: #1e40af; }
.op-tag.is-amber { background: #fef3c7; color: #92400e; }
.op-card-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }

.project-toolbar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 10px 0 14px; }
.project-search { flex: 1; min-width: 200px; padding: 8px 12px; border-radius: 8px; border: 1px solid #cbd5e1; font-size: 13px; }
.quick-welcome-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; width: 100%; max-width: 780px; margin-top: 18px; text-align: left; }
.quick-welcome-card { padding: 12px 14px; border-radius: 10px; border: 1px solid #e2e8f0; background: #fff; cursor: pointer; transition: all .15s; }
.quick-welcome-card:hover { border-color: #10b981; box-shadow: 0 4px 12px rgba(16,185,129,0.1); }
.quick-welcome-card strong { display: block; font-size: 13.5px; color: #0f172a; margin-bottom: 4px; }
.quick-welcome-card span { font-size: 12px; color: #475569; line-height: 1.35; display: block; }
