:root{color-scheme:light;--bg:oklch(1 0 0);--surface:oklch(.965 0 0);--surface-hover:oklch(.94 0 0);--ink:oklch(.16 0 0);--muted:oklch(.47 0 0);--line:oklch(.88 0 0);--strong-line:oklch(.69 0 0);--accent:oklch(.16 0 0);--danger:oklch(.45 .17 28);--success:oklch(.43 .12 151);--space:24px;--radius:12px;--nav-height:76px;--ease:cubic-bezier(.16,1,.3,1);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif;font-synthesis:none;-webkit-font-smoothing:antialiased}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-size:16px;line-height:1.55}button,input,textarea,select{font:inherit;color:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:wait;opacity:.45}a{color:inherit;text-decoration:none}button{border:0;background:none}button,a,input,textarea,select{outline-offset:4px}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid var(--ink)}button:active:not(:disabled),.button:active{transform:translateY(1px)}button,.button{transition:background .18s var(--ease),opacity .18s var(--ease),transform .18s var(--ease)}button:hover:not(:disabled){background:var(--surface-hover)}h1,h2,h3,p{margin:0}h1,h2,h3{text-wrap:balance}h1{font-size:34px;line-height:1.23;letter-spacing:-.03em;font-weight:730}h2{font-size:21px;line-height:1.4;font-weight:670}h3{font-size:17px;font-weight:640}p{overflow-wrap:anywhere}small,.small{font-size:14px}strong{font-weight:650}svg{width:22px;height:22px;display:block;flex-shrink:0}img{max-width:100%}[hidden]{display:none!important}.muted{color:var(--muted)}.danger{color:var(--danger)}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:fixed;top:-100px;left:16px;background:var(--ink);color:var(--bg);padding:12px;z-index:60}.skip-link:focus{top:16px}.app-shell{max-width:900px;min-height:100dvh;margin:auto}main{padding:34px var(--space) calc(var(--nav-height) + 28px + env(safe-area-inset-bottom));outline:none}.page-header{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px}.eyebrow{font-size:14px;color:var(--muted);margin-bottom:5px}.subheading{margin-top:8px;color:var(--muted);line-height:1.6}.page-top{display:flex;justify-content:space-between;align-items:center;min-height:44px;margin-bottom:20px}.back-button{display:inline-flex;gap:5px;align-items:center;min-height:44px;margin-left:-9px;padding:8px 7px;border-radius:6px}.icon-button{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:50%;flex-shrink:0}.button{display:inline-flex;justify-content:center;align-items:center;gap:8px;min-height:44px;padding:10px 19px;border-radius:999px;font-weight:610;line-height:1.4;text-align:center}.button.primary{background:var(--ink);color:var(--bg)}.button.primary:hover{background:var(--primary-hover)}.button.secondary{background:var(--surface)}.button.outline{border:1px solid var(--line);background:var(--bg)}.button.text{padding:8px 10px}.button.full{width:100%;min-height:52px;font-size:17px}.button.compact{font-size:14px;padding:9px 15px}.button svg{width:19px;height:19px}.section-label{color:var(--muted);font-size:14px;margin:0 0 12px}.section{margin-top:28px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.divider{border:0;border-top:1px solid var(--line);margin:24px 0}.device-strip{display:flex;align-items:center;gap:8px 18px;flex-wrap:wrap;margin:0 0 26px;color:var(--muted);font-size:14px}.device-strip button{display:inline-flex;gap:7px;align-items:center;padding:5px 0;min-height:32px;border-radius:3px}.dot{width:7px;height:7px;border-radius:50%;background:oklch(.6 0 0);flex-shrink:0}.dot.online{background:var(--success)}.dot.error{background:var(--danger)}.tabs{display:flex;gap:28px;border-bottom:1px solid var(--line);margin-bottom:22px}.tab{padding:0 0 13px;min-height:44px;color:var(--muted);position:relative;font-size:15px;white-space:nowrap}.tab[aria-selected=true]{color:var(--ink);font-weight:650}.tab[aria-selected=true]:after{content:"";position:absolute;height:3px;width:26px;background:var(--ink);border-radius:2px;left:0;bottom:-1px}.tab:hover{background:none!important;color:var(--ink)}.group-heading{color:var(--muted);font-size:14px;margin-bottom:12px}.task-row{display:flex;gap:12px;align-items:flex-start;padding:20px 0;border-bottom:1px solid var(--line)}.task-row:first-child{padding-top:4px}.task-row:last-child{border-bottom:0}.task-row-main{flex:1;min-width:0}.task-title{font-size:18px;font-weight:640;line-height:1.5;overflow-wrap:anywhere}.task-summary{color:var(--muted);font-size:14px;margin-top:4px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.task-meta{display:flex;align-items:center;flex-wrap:wrap;gap:6px 10px;color:var(--muted);font-size:14px;margin-top:10px}.status{display:inline-flex;align-items:center;gap:6px;font-size:14px;white-space:nowrap}.status.attention{color:var(--ink);font-weight:600}.status-pill{padding:3px 9px;border-radius:20px;background:var(--surface);font-size:13px;white-space:nowrap}.avatar{width:34px;height:34px;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;background:var(--avatar);border-radius:50%;font-size:16px;font-weight:650}.avatar.large{width:42px;height:42px;font-size:19px}.chevron{color:var(--muted);flex-shrink:0;margin-top:5px}.list-link{display:flex;align-items:center;gap:14px;width:100%;padding:18px 0;min-height:76px}.list-link>svg:first-child{width:29px;height:29px}.list-link .grow{flex:1;min-width:0}.list-link .grow p{margin-top:3px;font-size:14px;color:var(--muted)}.list-link:hover{background:var(--surface)}.empty-state{padding:33px 0 36px;max-width:470px}.empty-symbol{width:48px;height:48px;background:var(--surface);border-radius:12px;display:flex;align-items:center;justify-content:center;margin-bottom:18px}.empty-symbol svg{width:25px;height:25px}.empty-state h2{margin-bottom:9px}.empty-state p{color:var(--muted);line-height:1.8;font-size:15px;max-width:45ch}.empty-state .button{margin-top:22px}.empty-compact{padding:18px 0;color:var(--muted);font-size:15px;line-height:1.8}.bottom-nav{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:min(100%,900px);display:flex;justify-content:space-around;padding:8px 16px calc(8px + env(safe-area-inset-bottom));height:calc(var(--nav-height) + env(safe-area-inset-bottom));background:var(--bg);border-top:1px solid var(--line);z-index:20}.nav-item{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:3px;min-width:62px;min-height:56px;color:var(--muted);font-size:12px;border-radius:10px}.nav-item svg{width:23px;height:23px}.nav-item[aria-current=page]{color:var(--ink);font-weight:700}.nav-item[aria-current=page] svg{stroke-width:2.2}.nav-item:hover{background:var(--surface)}.notice{border:1px solid var(--line);border-radius:var(--radius);padding:15px 16px;color:var(--muted);font-size:14px;line-height:1.75;margin:20px 0}.notice.error{border-color:var(--danger);color:var(--danger)}.notice p+p{margin-top:8px}.notice strong{color:var(--ink)}.offline-notice{font-size:14px;display:flex;gap:10px;align-items:center;padding:12px 0;color:var(--muted);border-bottom:1px solid var(--line)}.offline-notice button{margin-left:auto;flex-shrink:0;text-decoration:underline}.form-field{display:block;margin:22px 0}.form-field:first-child{margin-top:0}.form-field>span,.field-label{display:block;font-weight:620;font-size:15px;margin-bottom:9px}.form-field small{display:block;margin-top:8px;color:var(--muted);line-height:1.65}input:not([type=checkbox]):not([type=radio]):not([type=file]),textarea,select{width:100%;padding:13px 14px;border:1px solid var(--line);border-radius:10px;background:var(--surface);font-size:16px;min-height:49px}textarea{resize:vertical;min-height:110px;line-height:1.7}input::placeholder,textarea::placeholder{color:var(--muted);opacity:1}input:focus,textarea:focus,select:focus{background:var(--bg)}input[type=checkbox],input[type=radio]{width:22px;height:22px;accent-color:var(--ink);flex-shrink:0;cursor:pointer}.file-input{position:absolute;width:1px;height:1px;opacity:0;overflow:hidden}.upload-button{cursor:pointer}.upload-button:focus-within{outline:2px solid var(--ink);outline-offset:4px}.upload-list{list-style:none;padding:0;margin:12px 0}.upload-list li{display:flex;align-items:center;gap:8px;font-size:14px;padding:8px 0;border-bottom:1px solid var(--line);overflow-wrap:anywhere}.upload-list .grow{flex:1;min-width:0}.form-actions{display:flex;gap:10px;margin-top:28px}.form-actions>.primary{flex:1}.form-error{color:var(--danger);font-size:14px;line-height:1.7;margin:12px 0}.form-error:empty{display:none}.agent-options{display:flex;flex-direction:column}.agent-option{display:flex;gap:14px;align-items:center;padding:17px 0;border-bottom:1px solid var(--line);cursor:pointer}.agent-option .grow{flex:1;min-width:0}.agent-option small{display:block;color:var(--muted);font-size:14px;margin-top:2px}.agent-option input{margin-left:auto}.segmented{display:flex;gap:3px;padding:4px;background:var(--surface);border-radius:10px}.segmented label{flex:1;cursor:pointer;position:relative;text-align:center}.segmented input{position:absolute;opacity:0;width:1px;height:1px}.segmented span{display:block;padding:10px 8px;border-radius:7px;font-size:14px;color:var(--muted)}.segmented input:checked+span{background:var(--bg);color:var(--ink);font-weight:620;box-shadow:0 1px 3px #00000012}.segmented input:focus-visible+span{outline:2px solid var(--ink);outline-offset:1px}.selected-files{padding:13px 14px;background:var(--surface);border-radius:10px;font-size:14px;display:flex;align-items:center;gap:10px;overflow-wrap:anywhere;margin:20px 0}.selected-files span{flex:1;min-width:0}.sticky-action{position:sticky;bottom:0;padding:18px 0 calc(18px + env(safe-area-inset-bottom));background:var(--bg);border-top:1px solid var(--line);margin-top:24px;z-index:10}.sticky-action p{color:var(--muted);font-size:14px;margin-bottom:12px}.file-group{margin-top:27px}.file-group-header{display:flex;justify-content:space-between;gap:16px;margin-bottom:10px;font-size:15px}.file-row{display:flex;gap:12px;align-items:flex-start;padding:18px 0;border-bottom:1px solid var(--line)}.file-row.selected{background:var(--surface);margin:0 -12px;padding-left:12px;padding-right:12px;border-radius:10px;border-bottom-color:transparent}.file-check{display:flex;align-items:center;min-width:32px;min-height:68px}.file-thumb{width:66px;height:84px;flex-shrink:0;border:1px solid var(--line);border-radius:5px;overflow:hidden;display:flex;justify-content:center;align-items:center;background:var(--bg)}.file-thumb img{width:100%;height:100%;object-fit:contain}.file-thumb svg{width:29px;height:29px}.file-content{flex:1;min-width:0}.file-name{font-size:16px;line-height:1.45;font-weight:610;overflow-wrap:anywhere}.file-description{font-size:13px;color:var(--muted);margin-top:5px}.file-actions{display:flex;flex-wrap:wrap;gap:3px 10px;margin:9px 0 0 -7px}.file-actions a,.file-actions button{font-size:14px;display:flex;gap:5px;align-items:center;min-height:36px;padding:5px 7px;border-radius:6px}.file-actions svg{width:18px;height:18px}.selection-bar{display:flex;justify-content:space-between;font-size:14px;margin-bottom:12px}.detail-heading{margin:2px 0 20px}.detail-heading h1{font-size:29px;line-height:1.35}.detail-meta{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-top:10px;color:var(--muted);font-size:14px}.artifact-preview{display:block;width:100%;background:var(--surface);border-radius:12px;overflow:hidden;padding:0}.artifact-preview img{display:block;width:100%;max-height:420px;min-height:140px;object-fit:contain}.artifact-preview:hover{background:var(--surface-hover)}.artifact-caption{display:flex;align-items:center;gap:10px;padding:10px 0 4px;min-height:52px}.artifact-caption span{flex:1;min-width:0;font-size:14px;overflow-wrap:anywhere}.detail-summary{padding:20px;background:var(--surface);border-radius:12px;line-height:1.8;white-space:pre-wrap;font-size:15px;max-height:350px;overflow:auto}.task-description{white-space:pre-wrap;font-size:15px;color:var(--muted);line-height:1.8;margin:20px 0}.task-description summary{cursor:pointer;min-height:44px;padding:10px 0;color:var(--ink);font-weight:600}.detail-tools{display:flex;justify-content:space-between;border-bottom:1px solid var(--line);padding:12px 0;margin-bottom:22px;gap:8px}.detail-tools .button{font-size:14px;padding:8px 3px;border-radius:4px}.detail-tools .button svg{width:19px;height:19px}.events{list-style:none;padding:0;margin:0}.event{display:flex;gap:11px;padding:13px 0;align-items:flex-start}.event .avatar{width:28px;height:28px;font-size:13px;margin-top:2px}.event-body{min-width:0;flex:1}.event-head{display:flex;gap:12px;align-items:center;font-size:14px;margin-bottom:4px}.event-head time{font-size:12px;color:var(--muted);margin-left:auto;white-space:nowrap}.event-text{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.8}.event.system .event-text{color:var(--muted)}.event.result .event-text{max-height:360px;overflow:auto}.events-note{font-size:13px;color:var(--muted);margin-bottom:10px}.composer{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:min(100%,900px);padding:12px var(--space) calc(16px + env(safe-area-inset-bottom));background:var(--bg);border-top:1px solid var(--line);z-index:20}.composer-row{display:flex;gap:9px;align-items:flex-end}.composer-input{display:flex;gap:3px;align-items:flex-end;border:1px solid var(--line);border-radius:24px;background:var(--surface);flex:1;min-width:0;padding:3px}.composer textarea{resize:none;border:0;min-height:40px;max-height:120px;height:40px;padding:8px 11px 8px 4px;background:transparent;font-size:15px;border-radius:15px}.composer textarea:focus{outline:none}.composer-input:focus-within{outline:2px solid var(--strong-line);outline-offset:2px}.composer .send{width:46px;height:46px;background:var(--ink);color:var(--bg);border-radius:50%;display:flex;align-items:center;justify-content:center}.composer .send:hover{background:var(--primary-hover)}.composer .form-error{margin:0 0 8px}.composer .file-count{font-size:13px;color:var(--muted);margin:0 0 8px}.detail-page{padding-bottom:105px}.row-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:22px}.device-row{padding:22px 0;border-bottom:1px solid var(--line)}.device-row-head{display:flex;gap:12px;align-items:center}.device-row-head .grow{flex:1;min-width:0}.device-row-head p{font-size:14px;color:var(--muted);margin-top:3px}.device-detail{color:var(--muted);font-size:14px;margin:12px 0 0 46px;line-height:1.8}.device-row-actions{display:flex;justify-content:flex-end;margin-top:10px}.pair-result{margin-top:18px}.pair-code{display:block;font-size:16px;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;overflow-wrap:anywhere;padding:15px;background:var(--surface);border-radius:10px;user-select:all;margin:12px 0}.settings-section{padding:25px 0;border-bottom:1px solid var(--line)}.settings-section h2{margin-bottom:12px}.settings-section p{color:var(--muted);font-size:14px;line-height:1.8}.parcel-intro{padding:28px 0}.parcel-icon{width:56px;height:56px;display:flex;justify-content:center;align-items:center;background:var(--surface);border-radius:12px;margin-bottom:21px}.parcel-icon svg{width:30px;height:30px}.parcel-intro h2{font-size:24px;margin-bottom:12px}.parcel-intro>p{color:var(--muted);font-size:15px;line-height:1.9;margin-bottom:25px}.plain-list{padding:0;list-style:none;margin:24px 0}.plain-list li{display:flex;gap:12px;padding:17px 0;border-bottom:1px solid var(--line);font-size:15px}.plain-list svg{margin-top:2px}.plain-list p{color:var(--muted);font-size:14px;margin-top:4px}.auth-page{max-width:430px;margin:0 auto;padding-top:10vh}.brand-mark{width:42px;height:42px;background:var(--ink);color:var(--bg);display:flex;align-items:center;justify-content:center;border-radius:11px;font-size:22px;font-weight:650;margin-bottom:30px}.auth-page h1{font-size:32px}.auth-page .subheading{margin-top:13px;font-size:15px}.auth-form{margin-top:30px}.auth-foot{margin-top:27px;color:var(--muted);font-size:13px;line-height:1.8}.auth-form .button{margin-top:8px}.initial-loading{padding:14vh 0;color:var(--muted)}.initial-loading .brand-mark{margin:0 auto 20px}.initial-loading p{text-align:center}.skeleton{height:20px;border-radius:5px;background:var(--surface);margin:14px 0;animation:breathe 1.5s ease-in-out infinite}.skeleton.title{height:35px;width:58%;margin-bottom:28px}.skeleton.short{width:45%}.skeleton.block{height:160px;margin:25px 0}.toast{position:fixed;left:50%;bottom:calc(95px + env(safe-area-inset-bottom));transform:translateX(-50%);max-width:min(90vw,480px);background:var(--ink);color:var(--bg);padding:12px 18px;border-radius:10px;z-index:50;font-size:14px;line-height:1.65;box-shadow:0 2px 6px #0000001f}dialog{padding:24px;border:0;border-radius:14px;width:calc(100% - 32px);max-width:600px;max-height:85dvh;color:var(--ink);background:var(--bg);overflow:auto}dialog::backdrop{background:#0008}.dialog-head{display:flex;justify-content:space-between;gap:14px;align-items:center;margin-bottom:14px}.dialog-head h2{font-size:20px;overflow-wrap:anywhere}.dialog-actions{display:flex;gap:9px;justify-content:flex-end;margin-top:24px}.dialog-image{display:block;width:100%;max-height:58dvh;object-fit:contain;background:var(--surface);border-radius:8px}.dialog-text{white-space:pre-wrap;font:14px/1.8 ui-monospace,SFMono-Regular,Consolas,monospace;overflow-wrap:anywhere;max-height:50vh;overflow:auto;padding:14px;background:var(--surface);border-radius:8px}.noscript{padding:25px}.loading-detail{padding:22px 0}.page-error{padding:50px 0;max-width:460px}.page-error p{margin:12px 0 22px;color:var(--muted)}.connection-line{display:flex;gap:6px;align-items:center;font-size:13px;color:var(--muted);margin:8px 0}.form-section{margin-top:25px}.form-section h2{font-size:17px;margin-bottom:12px}.version-caption{margin-top:32px;color:var(--muted);font-size:12px}.draft-notice{font-size:14px;color:var(--muted);line-height:1.75;margin:18px 0}.detail-busy{font-size:14px;color:var(--muted);line-height:1.8;margin:16px 0}.search-field{margin-bottom:20px}.list-count{font-size:14px;color:var(--muted)}
.download-connector{margin-top:16px}.auth-foot svg{display:none}.featured-task{display:block;padding:4px 0 20px;border-bottom:1px solid var(--line)}.featured-task+.featured-task{padding-top:22px}.featured-heading{display:flex;justify-content:space-between;align-items:center;gap:14px}.featured-heading h2{font-size:22px;overflow-wrap:anywhere}.featured-image{margin-top:12px;background:var(--surface);border-radius:10px;overflow:hidden}.featured-image img{display:block;width:100%;height:230px;object-fit:contain}.featured-footer{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:12px}.featured-footer>span:first-child{min-width:0;font-size:14px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.featured-footer .button{flex-shrink:0}
@keyframes breathe{50%{opacity:.55}}
@media(min-width:700px){body{background:var(--canvas)}.app-shell{background:var(--bg);border-left:1px solid var(--line);border-right:1px solid var(--line)}main{padding:48px 52px 112px}.page-header{margin-bottom:25px}h1{font-size:38px}.tabs{gap:38px}.task-row{padding:23px 0}.empty-state{padding:48px 0}.bottom-nav{border-left:1px solid var(--line);border-right:1px solid var(--line);padding-left:52px;padding-right:52px}.composer{padding-left:52px;padding-right:52px;border-left:1px solid var(--line);border-right:1px solid var(--line)}.auth-page{padding-top:7vh}.artifact-preview img{max-height:490px}.detail-heading h1{font-size:34px}.detail-page{padding-bottom:125px}.file-thumb{width:86px;height:108px}.file-check{min-height:85px}.form-page{max-width:650px;margin:auto}.nav-item{flex-direction:row;gap:10px;font-size:14px}.nav-item svg{width:21px;height:21px}}
@media(max-width:374px){:root{--space:18px}h1{font-size:31px}.tabs{gap:22px}.button{padding-left:15px;padding-right:15px}.detail-tools{gap:4px}.file-row{gap:8px}.file-thumb{width:51px;height:69px}.device-strip{gap:8px 14px}.page-header{gap:8px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
/* Minimum mobile hit areas for secondary controls. */
.artifact-version{display:block;color:var(--muted);font-size:13px;margin-top:3px}
.result-note{padding:18px 0 2px}.result-note h2{font-size:16px;margin-bottom:8px}.result-note p{font-size:14px;line-height:1.8;white-space:pre-wrap;max-height:220px;overflow:auto}
.device-strip button{min-height:44px}.file-check{min-width:44px}.file-actions a,.file-actions button{min-height:44px}.segmented span{min-height:44px;display:flex;align-items:center;justify-content:center}
.workflow-options{margin:26px 0;padding:0;border:0;min-width:0}.workflow-options legend{font-size:17px;font-weight:640;margin-bottom:6px;padding:0}.workflow-option{display:flex;align-items:center;gap:14px;padding:17px 0;border-bottom:1px solid var(--line);cursor:pointer}.workflow-option .grow{flex:1;min-width:0}.workflow-option small{display:block;font-size:14px;line-height:1.75;color:var(--muted);margin-top:4px}.workflow-option input{flex-shrink:0}.workflow-option:has(input:checked) strong{font-weight:700}.purpose-options{display:grid;grid-template-columns:1fr 1fr}.workflow-progress{margin:20px 0 24px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:16px 0}.workflow-current{display:flex;justify-content:space-between;gap:12px;font-size:14px;margin-bottom:15px}.workflow-current>span{color:var(--muted);flex-shrink:0}.workflow-stages{display:flex;list-style:none;padding:0;margin:0;gap:10px}.workflow-stages li{flex:1;min-width:0;padding:9px 10px;border-radius:8px;color:var(--muted)}.workflow-stages li.current{background:var(--surface);color:var(--ink)}.workflow-stages strong,.workflow-stages span,.workflow-stages small{display:block;font-size:13px;overflow-wrap:anywhere}.workflow-stages strong{font-size:14px}.workflow-stages span{margin:3px 0}.workflow-stages small{color:var(--muted)}

/* Shared workspace and visible collaboration, approved monochrome system. */
.workspace-link{display:flex;align-items:center;gap:10px;min-height:52px;border-bottom:1px solid var(--line);font-size:14px}.workspace-link svg{width:20px;height:20px}.workspace-link svg:last-child{margin-left:auto}.usage-section{padding:22px 0 12px}.usage-section h2,.cooperation h2{font-size:17px}.usage-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;padding:12px 0 18px;border-bottom:1px solid var(--line)}.usage-item{min-width:0}.usage-item h3{font-size:14px;font-weight:550;margin-bottom:9px}.quota-number{font-size:28px;font-weight:650;letter-spacing:-.7px;overflow-wrap:anywhere;line-height:1.35}.quota-number small{font-size:12px;letter-spacing:0;font-weight:400;margin-left:6px;color:var(--muted)}.quota-empty{font-size:22px;font-weight:600;margin:4px 0}.usage-freshness{font-size:12px;color:var(--muted);margin-top:7px}.usage-freshness.stale{color:var(--warning)}.memory-item,.library-item{padding:18px 0;border-bottom:1px solid var(--line)}.memory-head{display:flex;gap:12px;justify-content:space-between;align-items:baseline}.memory-head h3,.library-item h3{font-size:15px;overflow-wrap:anywhere}.memory-meta{font-size:12px;color:var(--muted);margin:5px 0 12px}.memory-body,.cooperation-summary{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.8;margin:12px 0}.workspace-select{margin-top:25px}.library-item{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.library-item .grow{min-width:160px;flex:1}.library-history{margin-top:20px}.library-history summary{padding:14px 0;cursor:pointer}.project-inputs{border:0;padding:0;margin:0 0 20px;min-width:0}.project-inputs legend{font-size:14px;font-weight:600}.project-inputs label{display:flex;gap:12px;align-items:center;min-height:50px;padding:8px 0;font-size:14px}.project-inputs small{display:block;color:var(--muted);margin-top:3px}.cooperation{margin:20px 0 28px}.cooperation-list{list-style:none;margin:18px 0 0;padding:0}.cooperation-step{display:flex;gap:12px;position:relative;padding-bottom:24px}.cooperation-step:not(:last-child):before{position:absolute;content:'';width:1px;top:40px;bottom:4px;left:17px;background:var(--line)}.cooperation-body{flex:1;min-width:0}.cooperation-body .memory-head{flex-wrap:wrap;gap:4px}.cooperation-body .memory-head h3{font-size:14px}.handoff-files{margin:12px 0;border-top:1px solid var(--line)}.handoff-files button{display:flex;gap:9px;align-items:center;text-align:left;min-height:46px;width:100%;font-size:13px;border-bottom:1px solid var(--line);padding:8px 0}.handoff-files svg{width:17px;height:17px;flex-shrink:0}.handoff-files span{flex:1;overflow-wrap:anywhere}.handoff-note{display:flex;gap:6px;align-items:center;font-size:12px;color:var(--muted);margin-top:12px}.handoff-note svg{width:16px;height:16px}.artifact-preview img{max-height:200px;min-height:80px}.detail-heading h1{font-size:24px}.workflow-progress{margin-bottom:18px}.nav-item{min-width:48px}.memory-item .row-actions{margin-top:8px}.cooperation .notice{font-size:13px}
/* Optional task metadata stays behind one native disclosure. */
.new-options{border-block:1px solid var(--line);padding:16px 0;margin:20px 0}
.new-options summary{cursor:pointer;min-height:44px;display:flex;align-items:center;gap:8px}
.new-options[open] summary{margin-bottom:16px}
.draft-send{padding:16px 0;border-bottom:1px solid var(--line)}
.draft-send p{margin:0 0 12px;font-size:14px;color:var(--muted)}

.owner-messages{margin:24px 0}.owner-messages h2{font-size:18px;margin-bottom:16px}
.cooperation-summary a,.memory-body a,.event-text a{text-decoration:underline;text-underline-offset:3px}
.result-expand summary,.activity-history summary{cursor:pointer;min-height:44px;display:flex;align-items:center;font-size:14px;color:var(--muted)}
.activity-history{border-top:1px solid var(--line);margin-top:16px;padding-top:8px}
.composer-hint{font-size:12px;color:var(--muted);margin:0 0 7px;text-align:center}
.detail-page{padding-bottom:150px}.detail-tools{margin:8px 0 22px}

.task-pagination{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:24px 0}.task-pagination .button{padding-inline:12px}

.pair-instructions{width:100%;resize:vertical;border:1px solid var(--line);border-radius:8px;background:var(--surface);padding:12px;font-size:13px;line-height:1.6;overflow-wrap:anywhere}
.new-page{padding-bottom:130px}
.new-page h1{font-size:28px}
.new-page .workflow-option{padding:14px 0}
.new-page .form-actions{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:100%;max-width:900px;padding:12px var(--space) calc(16px + env(safe-area-inset-bottom));margin:0;background:var(--bg);border-top:1px solid var(--line);z-index:20}
.new-page .form-error:not(:empty){padding:12px;border-left:3px solid var(--danger)}
.composer-hint{font-size:14px}
summary:focus-visible{outline:2px solid var(--ink);outline-offset:4px}
summary{min-height:44px;cursor:pointer}
::placeholder{color:var(--muted);opacity:1}
@media(min-width:700px){.new-page .form-actions{padding-inline:52px}}
.project-workspace-summary{padding:20px 0;border-bottom:1px solid var(--line)}
.project-workspace-summary>.button{margin-top:12px;min-height:44px}
.project-source-list{margin-top:24px}
.project-source-list h3{font-size:15px}
.project-source{margin-top:12px}
.source-path{overflow-wrap:anywhere;font-size:13px;line-height:1.65;margin:6px 0}
.project-task-list .list-link h3,.project-workspaces .list-link h3{overflow-wrap:anywhere}
.chat-project-context{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 0;flex-wrap:wrap}
.chat-project-context>a{display:flex;align-items:center;gap:8px;min-height:44px;max-width:100%;overflow-wrap:anywhere}
.chat-project-context form{width:100%}

/* Two subscription windows remain comparable on narrow phones. */
.usage-item.claude-usage { grid-column: 1 / -1; }
.quota-windows { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.quota-window { min-width: 0; }

/* Results remain in the established flat, monochrome task hierarchy. */
.task-list-item{border-bottom:1px solid var(--line);padding:20px 0}.task-list-item:last-child{border-bottom:0}.task-list-item .task-row{padding:0;border:0}.task-results-entry{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;margin:10px 0 0 46px;font-size:13px;line-height:1.6}.task-results-entry span{color:var(--muted)}.task-results-entry strong{font-weight:600;white-space:nowrap}.task-results-entry:hover strong{text-decoration:underline}.chat-results-link{display:flex;align-items:center;gap:2px;flex-shrink:0;font-size:13px;min-height:44px}.chat-results-link svg{width:16px}.results-title{font-size:17px;line-height:1.65;overflow-wrap:anywhere;margin-bottom:24px}.result-overview{padding:18px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.result-overview>strong{font-size:20px}.result-overview p{margin-top:8px;line-height:1.7}.result-update{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:18px 0;color:var(--muted);font-size:12px}.result-round{padding:24px 0 30px;border-bottom:1px solid var(--line);overflow-wrap:anywhere}.result-round-head{display:flex;justify-content:space-between;align-items:baseline;gap:12px}.result-round-head h2{font-size:18px;line-height:1.6}.result-round-head h2 span{display:block;font-size:12px;color:var(--muted);font-weight:400}.result-state{font-size:13px;white-space:nowrap}.result-time{margin:8px 0 20px}.result-round h3{font-size:13px;margin:24px 0 10px}.result-body{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.9;font-size:15px;max-width:75ch;margin-bottom:12px}.result-body a{text-decoration:underline}.result-caution{font-size:13px;line-height:1.8;padding-left:12px;border-left:2px solid var(--muted);color:var(--muted);margin:16px 0}.result-files{list-style:none;padding:0;margin:0}.result-files li{border-top:1px solid var(--line);padding:12px 0;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px}.result-files li>div:first-child{min-width:120px;flex:1}.result-files strong{font-size:14px;font-weight:550}.result-files small{display:block;font-size:12px;color:var(--muted);margin-top:4px}.result-file-actions{display:flex;align-items:center;gap:8px}.result-file-actions a{min-height:44px;display:flex;align-items:center;gap:4px;font-size:13px}.result-file-actions svg{width:16px}.results-back,#results-pagination{margin-top:24px}

.result-round .button,.result-update .button{min-height:44px}.chat-task-tools{flex-wrap:wrap}
