:root{color-scheme:light;--ink:#20252c;--muted:#747c87;--line:#e6e9ee;--blue:#3565e8;--blue-soft:#edf2ff;--paper:#fff;--ground:#f5f6f8;--font:"Mail Manrope","Mail MiSans",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-family:var(--font);font-size:16px;line-height:1.6;color:var(--ink);background:var(--ground);font-synthesis:none;-webkit-text-size-adjust:100%}
*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit;color:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer;touch-action:manipulation}button:disabled{cursor:default;opacity:.45}button:active:not(:disabled),a:active{transform:translateY(1px)}a{color:inherit;text-decoration:none}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #9fb5ff;outline-offset:4px}input:focus,textarea:focus,select:focus{outline:2px solid #a7bcff;outline-offset:2px}[hidden]{display:none!important}h1,h2,h3,p{margin:0}button{border:0;background:none}input,textarea,select{min-width:0;font-size:16px}textarea{resize:vertical;line-height:1.8}textarea::placeholder,input::placeholder{color:#939aa5}.sr-only,.skip-link:not(:focus){position:absolute;overflow:hidden;width:1px;height:1px;padding:0;margin:-1px;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link:focus{position:fixed;top:10px;left:10px;z-index:20;background:white;padding:12px}
.app-header{max-width:1184px;margin:auto;padding:30px 40px 24px;display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{display:inline-flex;align-items:center;gap:12px}.brand-mark{display:grid;align-content:center;justify-content:center;position:relative;width:43px;height:43px;background:#263245;color:#fff;border-radius:13px;font-size:27px;font-weight:650;line-height:1;letter-spacing:-2px}.brand-mark span{position:absolute;right:8px;bottom:9px;font-size:24px;color:#a7c0ff}.brand strong{display:block;font-size:18px;font-weight:750;letter-spacing:-.4px}.brand-chinese{font-size:16px;font-weight:570;margin-left:5px;letter-spacing:0}.brand small{display:block;font-size:9px;letter-spacing:1.7px;color:#858c98;margin-top:2px;font-weight:650}.mail-link{display:flex;align-items:center;gap:8px;min-height:44px;padding:8px 13px;background:#fff;border:1px solid var(--line);border-radius:13px;font-size:13px;font-weight:600}.mail-link svg{width:17px;height:17px}.workspace{max-width:1184px;padding:22px 40px 28px;margin:auto}.intro{display:flex;justify-content:space-between;align-items:flex-end;gap:18px;margin-bottom:44px}.eyebrow{font-size:11px;letter-spacing:1.2px;color:var(--muted);font-weight:580}.intro h1{font-size:38px;font-weight:620;letter-spacing:-1.5px;line-height:1.4;margin:10px 0 12px}.intro h1>span{color:var(--blue)}.intro-note{font-size:14px;color:var(--muted)}.mobile-break{display:none}.connection-status{display:flex;align-items:center;gap:7px;font-size:11px;color:var(--muted);white-space:nowrap;margin-bottom:5px}.status-dot{width:6px;height:6px;border-radius:50%;background:#aab2bf}.connection-status[data-state="ready"] .status-dot{background:#3e9b78;box-shadow:0 0 0 3px #3e9b7812}.connection-status[data-state="error"] .status-dot{background:#ce9761}.workspace-grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:34px;align-items:start}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:36px;margin-bottom:12px}.section-heading h2{font-size:15px;font-weight:650;letter-spacing:.1px}.section-index{font-size:9px;letter-spacing:1.7px;color:#9aa1ad}.heading-with-count{display:flex;align-items:center;gap:8px}.count-badge{min-width:20px;line-height:21px;padding:0 6px;background:#e9ecf1;color:#7a828f;border-radius:6px;text-align:center;font-size:10px;font-weight:650}
.composer{background:var(--paper);border:1px solid var(--line);border-radius:23px;box-shadow:0 5px 16px #25314b03;overflow:hidden}.project-row{display:flex;align-items:center;justify-content:space-between;padding:13px 15px;border-bottom:1px solid #f0f1f4}.project-select-wrap{display:flex;align-items:center;gap:8px;flex:1;min-width:0;color:#5f6876}.project-select-wrap svg{width:17px;height:17px}.project-select-wrap select{width:100%;max-width:320px;background:transparent;border:0;font-size:12px;padding:9px 22px 9px 0;text-overflow:ellipsis}.icon-button{display:inline-flex;justify-content:center;align-items:center;min-width:38px;min-height:38px;border-radius:11px;color:#788190;font-size:27px;line-height:1}.icon-button:hover{background:#edf0f5;color:var(--ink)}.icon-button svg{width:17px;height:17px}.composer>textarea{display:block;width:100%;min-height:174px;max-height:460px;border:0;background:none;padding:20px 24px 5px;font-size:15px;resize:vertical}.composer>textarea:focus{outline:none}.context-hint{font-size:10px;line-height:1.7;color:#949ba5;padding:0 24px 14px}.composer-actions{display:flex;justify-content:space-between;align-items:center;padding:13px 18px 18px;gap:8px}.source-actions{display:flex;align-items:center;gap:3px}.source-button{min-height:40px;padding:7px 8px;display:flex;align-items:center;gap:6px;font-size:11px;color:#737c89;border-radius:9px;white-space:nowrap}.source-button:hover{background:#f4f6f9;color:#3559b7}.source-button svg{width:16px;height:16px}.primary-button{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:43px;padding:10px 17px;background:var(--blue);color:white;border:1px solid var(--blue);border-radius:12px;font-size:12px;font-weight:600;box-shadow:0 2px 3px #2348a615;white-space:nowrap}.primary-button:hover:not(:disabled){background:#2f5bd2}.primary-button svg{width:17px;height:17px}.secondary-button{min-height:42px;padding:9px 16px;font-size:12px;font-weight:570;border-radius:11px;border:1px solid #dfe4ec;background:white;color:#5b6b80}.text-button{min-height:32px;padding:5px 7px;color:var(--blue);font-size:11px;font-weight:600}.full-width{width:100%}.persistence-note{display:flex;align-items:flex-start;gap:6px;color:#959ca6;font-size:10px;line-height:1.7;margin:14px 7px}.persistence-note svg{width:14px;height:14px;margin-top:2px}.task-filter-row{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:12px;min-height:30px}.task-filter-row select{border:0;background:transparent;font-size:11px;color:#737d8c;max-width:65%;padding:5px 18px 5px 0}.task-activity{font-size:10px;color:#8d96a3}.task-list{display:flex;flex-direction:column;gap:10px}.task-card{display:block;width:100%;text-align:left;background:white;border:1px solid var(--line);border-radius:17px;padding:17px 18px;transition:border-color .15s,box-shadow .15s}.task-card:hover{border-color:#cbd5e6;box-shadow:0 4px 16px #2a3d6105}.task-card-top{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}.task-kind{font-size:9px;letter-spacing:.7px;color:#939ba8}.status-badge{display:inline-flex;align-items:center;gap:5px;font-size:10px;font-weight:550;color:#707b8a;line-height:1.7;padding:2px 7px;border-radius:6px;background:#f1f3f6;white-space:nowrap}.status-badge[data-status="running"]{color:#456acb;background:#edf2ff}.status-badge[data-status="running"]:before{content:"";width:5px;height:5px;background:currentColor;border-radius:50%}.status-badge[data-status="completed"]{color:#3f8a73;background:#edf7f2}.status-badge[data-status="failed"],.status-badge[data-status="interrupted"]{color:#ab774a;background:#fbf3eb}.task-card h3{font-size:14px;font-weight:620;line-height:1.6;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.task-card-excerpt{margin-top:6px;font-size:11px;line-height:1.7;color:#9299a5;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.task-card-bottom{display:flex;align-items:center;justify-content:space-between;margin-top:13px;font-size:9px;color:#a0a7b2}.task-card-bottom svg{width:14px;height:14px;color:#a2adbf}.empty-state{border:1px dashed #dce1e9;border-radius:18px;padding:40px 24px;text-align:center;color:#8e97a5}.empty-symbol{font-size:25px;color:#acb7ca;margin-bottom:10px;display:block}.empty-state p{font-size:12px}.empty-state small{display:block;font-size:10px;margin-top:7px;color:#a0a7b3;line-height:1.7}.loading-dot{display:inline-block;width:14px;height:14px;border:2px solid #dce4f5;border-top-color:#6f8fe3;border-radius:50%;animation:spin 1s linear infinite;margin:0 0 10px}.page-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;font-size:10px;color:#a0a6b0;border-top:1px solid #e5e8ee;padding-top:18px;margin-top:46px}.page-footer>span{letter-spacing:.7px}.page-footer a{padding:5px 0;color:#7b879a}.page-footer a span{margin-left:4px}
.notice{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:12px;background:#fffbf0;color:#91783e;border:1px solid #eee5c9;padding:12px 16px;border-radius:13px;margin-bottom:24px}.form-notice{font-size:12px;line-height:1.7;color:#ae6d45;background:#fbf5ef;border-radius:10px;padding:11px 13px;margin:12px 0;overflow-wrap:anywhere}.composer>.form-notice{margin:0 18px 16px}.attachments{display:flex;flex-direction:column;gap:6px;padding:0 20px 7px}.attachment-chip{display:flex;align-items:center;gap:8px;background:#f5f7fa;border:1px solid #edf0f5;border-radius:10px;padding:7px 8px 7px 10px;min-width:0}.attachment-chip>svg{width:15px;height:15px;color:#8e9aad}.attachment-chip-copy{flex:1;min-width:0}.attachment-chip-name{display:block;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;font-size:11px;color:#626e80}.attachment-chip-state{display:block;font-size:9px;color:#95a0b1}.attachment-chip[data-state="error"]{background:#fdf6f0;border-color:#f1dfcf}.attachment-chip[data-state="error"] .attachment-chip-state{color:#a97552}.attachment-chip button{min-width:32px;min-height:32px;border-radius:8px;color:#929cab;font-size:19px;padding:3px}.attachment-chip .retry-upload{font-size:10px;padding:3px 7px;color:var(--blue)}
.sheet{border:1px solid #e8ebf0;border-radius:24px;width:min(640px,calc(100% - 40px));max-height:90dvh;max-height:90vh;padding:0;color:var(--ink);background:#fff;box-shadow:0 22px 100px #13254326;overscroll-behavior:contain}.sheet::backdrop{background:#14233b55;backdrop-filter:blur(3px)}.sheet-body{padding:27px 30px 30px}.sheet-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:25px}.sheet-header h2{font-size:23px;line-height:1.45;font-weight:620;letter-spacing:-.6px;margin-top:5px;overflow-wrap:anywhere}.sheet-header .icon-button{flex-shrink:0;margin-top:-4px;margin-right:-8px}.sheet-body>label,.followup-form>label{display:block;font-size:12px;font-weight:600;color:#5e6b7b;margin:18px 0 8px}.sheet-body>input,.sheet-body>textarea,.email-controls input,.email-controls select{display:block;width:100%;border:1px solid #e0e5ed;border-radius:11px;padding:12px 13px;background:#fafbfc;font-size:14px}.optional{font-size:10px;font-weight:400;color:#9aa3b0;margin-left:5px}.compact-sheet{max-width:470px}.compact-sheet .full-width{margin-top:23px}.sheet-note{font-size:11px;color:#919aa8;margin:12px 0 18px;line-height:1.8}.email-controls{display:grid;grid-template-columns:1fr 1.2fr;gap:8px}.email-controls select{font-size:12px;max-width:100%}.email-list{display:flex;flex-direction:column;gap:8px;min-height:150px;max-height:45vh;overflow-y:auto;overscroll-behavior:contain}.email-choice{display:flex;align-items:flex-start;gap:11px;padding:13px;border:1px solid #e7ebf1;border-radius:12px;cursor:pointer}.email-choice:has(input:checked){border-color:#b6c8f4;background:#f8faff}.email-choice input{accent-color:var(--blue);width:17px;height:17px;flex-shrink:0;margin:3px 0 0}.email-choice-copy{min-width:0;flex:1}.email-choice strong{display:block;font-size:12px;font-weight:570;overflow-wrap:anywhere}.email-choice small{display:block;font-size:10px;color:#97a0ae;margin-top:5px;overflow-wrap:anywhere}.sheet-bottom{display:flex;justify-content:space-between;align-items:center;gap:14px;padding-top:20px}.sheet-bottom>span{font-size:11px;color:#8894a5}.task-sheet{width:min(760px,calc(100% - 40px))}.task-sheet-header{margin-bottom:21px}.task-sheet-header h2{font-size:21px;letter-spacing:-.3px}.detail-heading{min-width:0}.detail-status-row{display:flex;gap:10px;align-items:center;margin-bottom:25px}.detail-stage{color:#8c98a9;font-size:11px;overflow-wrap:anywhere}.detail-loading{display:flex;gap:12px;align-items:center;font-size:12px;color:#8b97a8;padding:25px 0 50px}.detail-loading .loading-dot{margin:0}.request-block{padding:17px 19px;border-radius:13px;background:#f5f7fa}.request-block h3,.result-heading h3,.artifacts-section h3{font-size:11px;font-weight:620;color:#8490a0;letter-spacing:.4px}.request-block>p{font-size:13px;line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere;margin-top:8px}.result-section{margin-top:28px}.result-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:13px}.prose{font-size:14px;line-height:1.95;overflow-wrap:anywhere;color:#354050}.prose p{white-space:pre-wrap;margin:0 0 15px}.prose h3,.prose h4,.prose h5{font-size:16px;font-weight:650;color:#2d3b50;line-height:1.7;margin:22px 0 10px}.prose h3:first-child,.prose h4:first-child,.prose h5:first-child{margin-top:0}.prose ul,.prose ol{padding-left:22px;margin:10px 0 18px}.prose li{padding-left:3px;margin:5px 0}.prose code{font-size:12px;background:#f1f3f7;padding:2px 5px;border-radius:4px}.prose pre{white-space:pre-wrap;background:#f4f6fa;border:1px solid #e6ebf2;padding:15px;border-radius:10px;line-height:1.7;font-size:12px;overflow-wrap:anywhere}.prose pre code{background:none;padding:0}.table-wrap{max-width:100%;overflow-x:auto;margin:15px 0;border:1px solid #e4e9f0;border-radius:10px}.prose table{width:100%;border-collapse:collapse;font-size:12px;min-width:300px}.prose th,.prose td{border-bottom:1px solid #e8ecf2;padding:10px 12px;text-align:left;vertical-align:top;min-width:90px}.prose th{background:#f4f6fa;font-weight:600}.prose tr:last-child td{border-bottom:0}.history-block{margin-top:17px;border:1px solid #e8ecf2;border-radius:11px;padding:11px 15px;color:#8b96a5;font-size:11px}.history-block summary{cursor:pointer;min-height:25px;padding:3px 0}.history-entry{border-top:1px solid #edf0f4;padding-top:12px;margin-top:12px}.history-entry>p{font-size:12px;line-height:1.8;white-space:pre-wrap;color:#65738a;overflow-wrap:anywhere}.history-entry .prose{font-size:12px;margin-top:10px}.task-error{margin-top:20px;background:#fcf4ee;border:1px solid #f1dfd0;padding:14px 16px;border-radius:11px;color:#a46e48;font-size:12px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere}.artifacts-section{margin-top:27px}.artifact-list{display:flex;flex-direction:column;gap:7px;margin-top:12px}.artifact-link{display:flex;align-items:center;gap:11px;padding:13px 15px;border:1px solid #e0e7f2;border-radius:12px;background:#fbfcfe}.artifact-link>svg{width:19px;height:19px;color:#6080ba}.artifact-link span{font-size:12px;color:#5272aa;overflow-wrap:anywhere;flex:1}.artifact-link small{font-size:10px;color:#9ca8bb}.task-controls{display:flex;gap:8px;margin-top:23px}.followup-form{border-top:1px solid #e9edf3;margin-top:26px;padding-top:4px}.followup-form textarea{width:100%;border:1px solid #e1e6ed;border-radius:12px;padding:12px 14px;font-size:14px;background:#fcfcfd}.followup-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:11px}.followup-footer>span{font-size:10px;color:#9aa4b2}.toast{position:fixed;bottom:calc(25px + env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);max-width:calc(100vw - 40px);padding:12px 19px;background:#2d3a4eea;backdrop-filter:blur(12px);color:#fff;box-shadow:0 6px 22px #1f31442b;border-radius:13px;font-size:12px;z-index:50;text-align:center;line-height:1.7}
@keyframes spin{to{transform:rotate(360deg)}}
@media(min-width:900px){.compose-section{position:sticky;top:28px}}
@media(max-width:899px){.app-header{padding:24px 28px}.workspace{padding:17px 28px 25px}.intro{margin-bottom:32px}.intro h1{font-size:33px}.workspace-grid{grid-template-columns:1fr;gap:30px;max-width:650px;margin:auto}.intro{max-width:650px;margin-left:auto;margin-right:auto}.page-footer{max-width:650px;margin-left:auto;margin-right:auto}.composer>textarea{min-height:165px}.tasks-section{min-height:180px}}
@media(max-width:540px){.app-header{padding:calc(19px + env(safe-area-inset-top)) 22px 19px}.brand{gap:9px}.brand-mark{width:36px;height:36px;border-radius:11px;font-size:24px}.brand-mark span{font-size:20px;right:6px;bottom:7px}.brand strong{font-size:16px}.brand-chinese{font-size:14px;margin-left:3px}.brand small{font-size:7px;letter-spacing:1.35px}.mail-link{font-size:11px;min-height:38px;padding:7px 11px;border-radius:10px;gap:6px}.mail-link svg{width:15px;height:15px}.workspace{padding:19px 21px calc(27px + env(safe-area-inset-bottom))}.intro{align-items:flex-end;gap:5px;margin-bottom:29px}.eyebrow{font-size:10px;letter-spacing:1px}.intro h1{font-size:31px;letter-spacing:-1.2px;line-height:1.45;margin:10px 0 10px}.mobile-break{display:block}.intro-note{font-size:11px;line-height:1.8;max-width:235px}.connection-status{font-size:9px;gap:5px;margin-bottom:3px;max-width:82px;white-space:normal;line-height:1.7;align-items:flex-start}.status-dot{flex-shrink:0;margin-top:5px}.workspace-grid{gap:27px}.section-heading{margin-bottom:9px;min-height:33px}.section-heading h2{font-size:14px}.section-index{font-size:8px;letter-spacing:1.3px}.composer{border-radius:20px}.project-row{padding:10px 12px}.project-select-wrap select{font-size:11px}.project-select-wrap svg{width:15px;height:15px}.icon-button{min-width:36px;min-height:36px}.composer>textarea{padding:17px 19px 7px;font-size:16px;min-height:165px;line-height:1.75}.context-hint{font-size:9px;padding:0 19px 10px}.composer-actions{padding:9px 12px 14px;gap:5px}.source-button{font-size:10px;gap:5px;padding:7px 6px;min-height:40px}.source-actions{gap:0}.source-button svg{width:15px;height:15px}.primary-button{font-size:11px;padding:10px 13px;gap:9px;min-height:41px;border-radius:11px}.primary-button svg{width:16px;height:16px}.persistence-note{font-size:9px;margin:11px 4px;gap:5px}.persistence-note svg{width:13px;height:13px}.attachments{padding:0 15px 6px}.task-card{padding:15px 16px;border-radius:15px}.task-card h3{font-size:13px}.task-card-excerpt{font-size:10px}.task-card-top{margin-bottom:8px}.task-card-bottom{font-size:9px;margin-top:12px}.task-activity{font-size:9px}.task-filter-row select{font-size:10px}.page-footer{font-size:9px;margin-top:33px}.notice{font-size:11px;padding:11px 12px;margin-bottom:20px}.sheet{width:100%;max-width:none;margin:auto 0 0;border:0;border-radius:23px 23px 0 0;max-height:94vh;max-height:94dvh}.sheet-body{padding:23px 22px calc(25px + env(safe-area-inset-bottom))}.sheet-header h2{font-size:22px}.sheet-header{margin-bottom:21px}.sheet-body>input,.sheet-body>textarea,.email-controls input,.email-controls select,.followup-form textarea{font-size:16px}.email-controls{grid-template-columns:1fr}.email-controls select{font-size:16px}.email-list{max-height:44vh;max-height:44dvh}.email-choice strong{font-size:12px}.task-sheet .sheet-body{padding-left:21px;padding-right:21px}.task-sheet-header h2{font-size:19px}.detail-status-row{align-items:flex-start}.detail-stage{font-size:10px}.prose{font-size:14px}.request-block{padding:14px 16px}.request-block>p{font-size:12px}.task-controls{margin-top:20px}.followup-form{padding-top:4px;margin-top:24px}.followup-footer>span{font-size:9px}.task-sheet{max-height:96vh;max-height:96dvh}.artifact-link{padding:12px}.artifact-link span{font-size:11px}.artifact-link small{font-size:9px}.form-notice{font-size:11px}.toast{font-size:11px;bottom:calc(18px + env(safe-area-inset-bottom))}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}button:active:not(:disabled),a:active{transform:none}.loading-dot{border-color:#6f8fe3}}
@media(prefers-reduced-transparency:reduce){.sheet::backdrop{background:#14233b80;backdrop-filter:none}.toast{background:#2d3a4e;backdrop-filter:none}}
@media(prefers-contrast:more){:root{--muted:#536172;--line:#a9b4c4}.context-hint,.persistence-note,.intro-note,.task-card-excerpt,.task-card-bottom,.eyebrow{color:#59687c}.composer,.task-card{border-color:#a9b4c4}}

/* Dedicated Codex sessions: machine state, execution choice, per-operation decisions. */
.connection-panel{display:flex;flex-direction:column;align-items:flex-end;gap:12px;max-width:260px}.host-status{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:6px}.host-chip{display:inline-flex;align-items:center;gap:6px;font-size:10px;color:#7c8797;background:#eef1f5;border:1px solid #e6eaf0;border-radius:8px;padding:6px 9px;white-space:nowrap}.host-dot{width:5px;height:5px;border-radius:50%;background:#a9b1bd;flex-shrink:0}.host-chip[data-state="online"] .host-dot{background:#3e9b78}.host-chip[data-state="online"]{background:#f1f7f4;border-color:#dfebe4;color:#5d7b6c}.host-chip[data-state="unknown"]{color:#969eaa}.host-status-unknown{font-size:10px;color:#8e98a6}.execution-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px 23px 0}.execution-row>label{font-size:11px;color:#8390a1}.execution-row>select{border:1px solid #e6ebf2;border-radius:9px;background:#f8faff;color:#4e6c9e;padding:8px 25px 8px 10px;font-size:12px;max-width:75%}.execution-hint{font-size:10px;line-height:1.8;color:#8e99a9;padding:9px 24px 0}.task-card-host{font-size:10px;color:#6e829e;margin-top:9px}.task-card-bottom{margin-top:8px}.detail-host{font-size:11px;color:#6c7e96;margin:-12px 0 20px;overflow-wrap:anywhere}.status-badge[data-status="waiting_approval"]{color:#986c2b;background:#fff5df}.approvals-section{margin:0 0 22px;padding:16px;border-radius:14px;background:#fffbf2;border:1px solid #efe3c5}.approvals-section>h3{font-size:13px;font-weight:650;color:#91723d}.approval-intro{font-size:11px;color:#9b8867;line-height:1.8;margin-top:5px}.approval-list{display:flex;flex-direction:column;gap:12px;margin-top:13px}.approval-card{padding:15px;background:white;border:1px solid #e8e3d8;border-radius:11px;min-width:0}.approval-card h4{font-size:13px;font-weight:600;line-height:1.8;overflow-wrap:anywhere}.approval-details{white-space:pre-wrap;overflow-wrap:anywhere;max-height:320px;overflow:auto;font-size:12px;line-height:1.8;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;background:#f7f7f5;border:1px solid #eeeee8;border-radius:8px;padding:11px 12px;margin:11px 0 14px;color:#58616e;-webkit-overflow-scrolling:touch}.approval-actions{display:flex;gap:9px;flex-wrap:wrap}.approval-actions>button{min-height:44px}.approval-note{font-size:11px;line-height:1.8;color:#93846a}.approval-question{display:flex;flex-direction:column;align-items:flex-start;gap:9px}.approval-question>label{font-size:11px;color:#778294}.approval-question>textarea{width:100%;border:1px solid #e1e6ed;border-radius:10px;padding:11px 12px;font-size:14px;background:#fcfcfd;resize:vertical}.approval-question>button{align-self:flex-end;min-height:44px}.event-host{font-size:10px;color:#8796aa}.session-events .history-entry>p{font-family:inherit;line-height:1.9}.followup-footer{align-items:flex-start}.followup-footer>span{line-height:1.8;max-width:64%;padding-top:6px}.context-hint{line-height:1.8}
@media(max-width:540px){.intro{flex-wrap:wrap}.intro h1{font-size:32px}.intro-note{max-width:none}.connection-panel{width:100%;max-width:none;align-items:flex-start;gap:8px;margin-top:12px;flex-direction:row;justify-content:space-between;align-items:center}.connection-status{max-width:none;white-space:nowrap;align-items:center;margin:0}.connection-status .status-dot{margin-top:0}.host-status{gap:5px}.host-chip{font-size:9px;padding:5px 7px;gap:5px}.host-status-unknown{font-size:9px}.execution-row{padding:14px 18px 0}.execution-row>select{font-size:16px;max-width:75%;padding:7px 22px 7px 10px}.execution-row>label{font-size:10px}.execution-hint{padding:9px 19px 0;font-size:10px}.context-hint{font-size:10px}.source-button{font-size:10px;padding-left:4px;padding-right:4px}.source-button svg{width:14px;height:14px}.composer-actions{padding-left:11px;padding-right:11px}.composer-actions>.primary-button{padding-left:11px;padding-right:11px;gap:6px}.task-card-host{font-size:10px}.detail-host{font-size:10px;margin-bottom:18px}.approvals-section{padding:13px}.approval-card{padding:12px}.approval-question>textarea{font-size:16px}.approval-details{font-size:11px;padding:10px;max-height:280px}.followup-footer>span{max-width:60%;font-size:10px}.approval-actions>button{min-height:44px}.connection-panel .host-status{margin-left:10px}}
@media(prefers-contrast:more){.execution-hint,.context-hint,.task-card-host,.detail-host,.host-status-unknown{color:#54657b}.approval-intro,.approval-note{color:#745a32}}
.artifact-note{font-size:10px;color:#8a97a9;margin:0 5px 6px;line-height:1.8}.workspace-download{background:#f5f8fe;border-color:#d9e4f6}

/* Project context is selected before the next instruction. */
.project-context{padding:17px 23px 18px;border-bottom:1px solid #edf0f5;background:#fafbfd}
.project-context-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:25px}
.project-context-heading>p{font-size:11px;font-weight:600;color:#62728b;line-height:1.7}
.project-context-heading .text-button{font-size:10px;flex-shrink:0;padding:3px 0}
.project-sync-meta{font-size:10px;color:#8a96a6;line-height:1.8;margin-top:4px}
.project-context-notice{font-size:11px;line-height:1.8;color:#927347;margin-top:10px;overflow-wrap:anywhere}
.conversation-picker{margin-top:15px}
.conversation-picker>label{display:block;font-size:11px;font-weight:600;color:#67768d;margin-bottom:8px}
.conversation-picker>select{width:100%;min-height:44px;border:1px solid #dee5ef;border-radius:10px;background:white;padding:10px 28px 10px 11px;font-size:12px;color:#354b6c;text-overflow:ellipsis}
.selected-history-summary{font-size:11px;color:#5375a1;line-height:1.8;margin-top:10px}
.source-coverage-note{font-size:10px;line-height:1.85;color:#8793a5;margin-top:5px;overflow-wrap:anywhere}
.project-source-summary{font-size:10px;color:#75869e;line-height:1.8;margin-top:12px;padding-top:11px;border-top:1px solid #e9edf3}
.project-saved-files{font-size:10px;color:#70829b;line-height:1.8;margin-top:8px}
.project-saved-files summary{cursor:pointer;min-height:30px;padding:5px 0}
.project-saved-files ul{padding-left:18px;margin-top:4px;overflow-wrap:anywhere}
.project-saved-files li{padding:3px 0}
.save-sources-row{padding:0 22px 12px}
.save-sources-row>label{display:flex;align-items:flex-start;gap:9px;min-height:44px;padding:9px 10px;border-radius:10px;background:#f7f9fc;cursor:pointer}
.save-sources-row input{accent-color:var(--blue);width:17px;height:17px;flex-shrink:0;margin:2px 0 0}
.save-sources-row span{font-size:11px;color:#657a98;line-height:1.8}
.save-sources-row small{display:block;font-size:10px;color:#98a1b0;font-weight:400}
.task-list-explanation{font-size:10px;line-height:1.8;color:#8d98a8;margin:0 0 15px}
.task-source-context{padding:15px 17px;border:1px solid #dfe7f2;border-radius:12px;background:#f9fbfe;margin:0 0 17px}
.task-source-context h3{font-size:11px;color:#6e829e;font-weight:600;margin-bottom:8px}
.task-source-context p{font-size:11px;line-height:1.85;color:#75839a;margin-top:6px;overflow-wrap:anywhere}
.task-source-context .context-receipt-summary{color:#4f709f}
.context-receipt-source{padding:8px 0;border-bottom:1px solid #e8eef6}
.context-receipt-source strong{display:block;font-size:12px;font-weight:550;color:#4d6381}
.context-receipt-source span{font-size:10px;color:#95a0b1}
.task-source-context .context-coverage-warning{color:#9a7b50}
.task-source-context .context-receipt-footnote{font-size:10px;color:#909caf;margin-top:11px}
@media(max-width:540px){
  .project-select-wrap select{font-size:16px;min-height:44px}
  .project-context{padding:14px 18px 16px}
  .project-context-heading>p{font-size:11px}
  .conversation-picker>select{font-size:16px;min-height:45px}
  .source-coverage-note{font-size:10px;line-height:1.85}
  .project-sync-meta{font-size:10px}
  .composer>textarea{min-height:145px}
  .save-sources-row{padding:0 16px 10px}
  .save-sources-row span{font-size:11px}
  .task-list-explanation{font-size:10px;margin-bottom:11px}
  .task-source-context{padding:13px 15px}
  #standaloneButton{font-size:11px;min-height:40px;padding-right:1px}
}
@media(prefers-contrast:more){.project-sync-meta,.source-coverage-note,.project-source-summary,.task-list-explanation,.project-saved-files,.task-source-context p{color:#54657b}}

/* Focused home: one workspace, with past work available on demand. */
.app-header,.workspace{max-width:880px}
.workspace-grid{grid-template-columns:minmax(0,1fr);gap:24px;max-width:720px;margin:0 auto}
.intro{margin-bottom:32px}.page-footer{max-width:720px;margin-left:auto;margin-right:auto}
.header-actions{display:flex;align-items:center;gap:12px;flex-shrink:0}
.history-button{display:inline-flex;align-items:center;gap:7px;min-height:44px;padding:8px 4px;font-size:12px;color:#667386;white-space:nowrap;border-radius:9px}
.history-button svg{width:17px;height:17px}
.history-button:active,.current-work-card:active,.history-row:active{transform:scale(.99)}
.current-work-list{display:flex;flex-direction:column;gap:10px}
.current-work-card{display:block;width:100%;padding:18px 20px;border:1px solid var(--line);border-radius:17px;background:#fff;text-align:left;transition:background-color 150ms ease,transform 150ms ease}
.current-work-top{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}
.current-work-top>strong{font-size:14px;font-weight:650;line-height:1.7;overflow-wrap:anywhere}
.current-work-top>.status-badge{flex-shrink:0}
.current-work-copy{display:block;margin-top:6px;color:#7b8797;font-size:12px;line-height:1.8;overflow-wrap:anywhere}
.current-work-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:13px;font-size:11px;color:var(--blue)}
.current-work-bottom>small{font-size:11px;color:#8b95a2;overflow-wrap:anywhere}
.current-work-card[data-status="waiting_approval"]{background:#fffcf5;border-color:#eadcb9}
.current-work-card[data-status="failed"],.current-work-card[data-status="interrupted"]{border-color:#ecd9ca}
.history-sheet{width:min(650px,calc(100% - 40px))}
.history-sheet .sheet-header{align-items:flex-start;margin-bottom:18px}
.history-sheet .sheet-note{margin-top:6px;font-size:12px}
.history-sheet .task-filter-row{margin-bottom:8px;gap:12px}
.history-sheet .task-filter-row select{flex:1;min-width:0;max-width:100%;font-size:14px;min-height:44px;padding:9px 12px;border:1px solid var(--line);border-radius:11px;background:#fff}
.history-options{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:12px;font-size:11px;color:#8a94a2}
.history-options label{display:inline-flex;align-items:center;gap:7px;min-height:44px;cursor:pointer}
.history-options input{accent-color:var(--blue);width:16px;height:16px;margin:0}
.history-sheet .task-list{gap:0;border-top:1px solid var(--line)}
.history-row{display:flex;align-items:center;gap:12px;width:100%;padding:17px 0;min-height:82px;border-bottom:1px solid var(--line);text-align:left;transition:background-color 150ms ease}
.history-row-copy{flex:1;min-width:0}.history-row-copy strong{display:block;font-size:13px;font-weight:600;line-height:1.7;overflow-wrap:anywhere}
.history-row-copy small{display:block;margin-top:5px;font-size:10px;color:#8994a3;overflow-wrap:anywhere}
.history-row>.status-badge{flex-shrink:0}.history-row>svg{width:15px;height:15px;color:#a1acba}
.history-sheet .empty-state{padding:42px 12px}
@media(hover:hover) and (pointer:fine){.history-button:hover{color:var(--blue)}.current-work-card:hover{background:#fafbfe}.history-row:hover{background:#f8faff}}
@media(max-width:540px){
  .app-header{padding-left:21px;padding-right:21px;gap:10px}.header-actions{gap:9px}
  .history-button{font-size:11px;gap:5px}.history-button svg{width:16px;height:16px}
  .header-actions .mail-link{padding:7px;min-width:36px;min-height:44px}.header-actions .mail-link span{display:none}
  .intro{margin-bottom:24px}.workspace-grid{gap:18px}.current-work-card{padding:16px;border-radius:15px}
  .current-work-top{gap:8px}.current-work-top>strong{font-size:13px}.current-work-copy{font-size:11px}
  .history-sheet{width:100%;max-width:none}.history-sheet .task-filter-row select{font-size:16px}
  .history-row{gap:8px}.history-row>.status-badge{font-size:9px}.history-row-copy strong{font-size:12px}
}
@media(prefers-reduced-motion:reduce){.history-button:active,.current-work-card:active,.history-row:active{transform:none}}
