.pc-proto .shell{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 420px;grid-template-areas:"main workspace";height:calc(var(--app-vh, 100dvh) - 238px);min-height:620px;background:var(--canvas)}.pc-proto .shell__main{grid-area:main;display:flex;flex-direction:column;min-width:0;min-height:0;background:var(--canvas)}.pc-proto .shell__workspace{grid-area:workspace;border-left:1px solid var(--border-subtle);min-width:0;min-height:0;background:var(--surface)}.pc-proto[data-workspace=closed] .shell{grid-template-columns:minmax(0,1fr);grid-template-areas:"main"}.pc-proto[data-workspace=closed] .shell__workspace{display:none}.pc-proto[data-surface=panel]{min-height:100dvh}.pc-proto[data-surface=panel] .shell,.pc-proto[data-surface=panel][data-workspace=closed] .shell{grid-template-columns:minmax(0,1fr);grid-template-areas:"main";height:100dvh;min-height:0}.pc-proto[data-surface=panel] .ch__action--ws,.pc-proto[data-surface=panel] .ch__menu,.pc-proto[data-surface=panel] .shell__workspace{display:none}.pc-proto .ch{display:flex;align-items:center;gap:var(--sp-4);height:52px;padding:0 var(--sp-6);border-bottom:1px solid var(--border-subtle);background:var(--surface);flex-shrink:0}.pc-proto .ch__action,.pc-proto .ch__menu,.pc-proto .cmp__tool,.pc-proto .ws__action{display:grid;place-items:center;border-radius:var(--r-md);color:var(--text-secondary)}.pc-proto .ch__action,.pc-proto .ch__menu{width:32px;height:32px}.pc-proto .ch__action:hover,.pc-proto .ch__menu:hover,.pc-proto .cmp__tool:hover,.pc-proto .ws__action:hover{background:var(--surface-hover);color:var(--text-primary)}.pc-proto .ch__title-wrap{display:flex;align-items:center;gap:var(--sp-4);min-width:0;flex:1 1}.pc-proto .ch__breadcrumb{display:flex;align-items:center;gap:var(--sp-2);min-width:0}.pc-proto .ch__breadcrumb-project{flex-shrink:2;min-width:36px;max-width:40%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--text-tertiary);font-size:14px;font-weight:550}.pc-proto .ch__breadcrumb-sep{flex-shrink:0;color:var(--text-tertiary);opacity:.5}.pc-proto .ch__title{min-width:36px;font-size:14px;font-weight:650;color:var(--text-primary);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pc-proto .ch__status,.pc-proto .ws__pill{display:inline-flex;align-items:center;gap:5px;padding:2px 7px;border-radius:var(--r-full);background:var(--info-bg);color:var(--info-fg);font-size:10px;font-weight:700;font-family:var(--font-mono);flex-shrink:0}.pc-proto .ch__status-dot,.pc-proto .ws__pill-dot{width:6px;height:6px;border-radius:50%;background:var(--b-500);animation:msb-pulse 1.6s infinite}.pc-proto .ch__running-indicator{display:inline-flex;align-items:center;gap:var(--sp-2);max-width:min(248px,34vw);min-width:0;padding:3px 8px 3px 6px;border:1px solid color-mix(in srgb,var(--b-500) 24%,var(--border-subtle));border-radius:var(--r-full);background:color-mix(in srgb,var(--b-500) 8%,var(--surface));color:var(--b-700);font-family:var(--font-mono);font-size:10px;font-weight:750;font-feature-settings:"tnum";font-variant-numeric:tabular-nums;line-height:1;white-space:nowrap;flex-shrink:0}.pc-proto .ch__running-indicator[data-tone=approval]{border-color:color-mix(in srgb,var(--warning-fg) 30%,var(--border-subtle));background:color-mix(in srgb,var(--warning-bg) 56%,var(--surface));color:var(--warning-fg)}.pc-proto .ch__running-indicator[data-tone=aborting]{border-color:color-mix(in srgb,var(--danger-fg) 30%,var(--border-subtle));background:color-mix(in srgb,var(--danger-bg) 56%,var(--surface));color:var(--danger-fg)}.pc-proto .ch__running-spinner{width:10px;height:10px;border:2px solid color-mix(in srgb,currentColor 24%,transparent);border-top-color:currentcolor;border-radius:var(--r-full);animation:pc-spin .85s linear infinite;flex:0 0 auto}.pc-proto .ch__running-label{min-width:0;overflow:hidden;text-overflow:ellipsis}.pc-proto .ch__running-elapsed{color:var(--text-primary);font-family:var(--font-mono);font-weight:800}.pc-proto .ch__meta,.pc-proto .tool__meta,.pc-proto .ws__status-right{color:var(--text-tertiary);font-family:var(--font-mono);font-size:10px;white-space:nowrap}.pc-proto .ch__actions,.pc-proto .cmp__right,.pc-proto .cmp__tools,.pc-proto .ws__actions{display:flex;align-items:center;gap:var(--sp-2);flex-shrink:0}.pc-proto .tl{flex:1 1 auto;overflow-y:auto;padding:var(--sp-12) var(--sp-10) var(--sp-24);background:var(--canvas)}.pc-proto .tl__container{max-width:780px;margin:0 auto;display:flex;flex-direction:column;gap:var(--sp-12)}.pc-proto .tl__day{display:flex;align-items:center;gap:var(--sp-4);margin:var(--sp-5) 0 var(--sp-2)}.pc-proto .tl__day-line{flex:1 1;height:1px;background:var(--border-subtle)}.pc-proto .tl__day-label{font-family:var(--font-mono);font-size:10px;color:var(--text-tertiary);text-transform:uppercase;font-weight:700}.pc-proto .tl__load-more{display:flex;justify-content:center;padding:var(--sp-2) 0 var(--sp-6)}.pc-proto .tl__load-more-btn{display:inline-flex;align-items:center;justify-content:center;gap:var(--sp-3);min-height:var(--sp-10);padding:0 var(--sp-7);border:1px solid var(--border-subtle);border-radius:var(--r-full);background:var(--surface);color:var(--text-secondary);font-size:var(--text-xs);font-weight:600;cursor:pointer;transition:background .16s ease,border-color .16s ease,color .16s ease}.pc-proto .tl__load-more-btn:hover:not(:disabled){border-color:var(--border-default);background:var(--surface-hover);color:var(--text-primary)}.pc-proto .tl__load-more-btn:disabled{cursor:progress;opacity:.62}.pc-proto .pc-chat-empty-state{width:min(420px,100%);margin:var(--sp-16) auto 0;padding:var(--sp-10);border:1px solid var(--border-subtle);border-radius:var(--r-md);background:var(--surface);text-align:center}.pc-proto .pc-chat-empty-state__title{color:var(--text-primary);font-size:var(--text-sm);font-weight:650}.pc-proto .pc-chat-empty-state__meta{display:block;margin-top:var(--sp-2);color:var(--text-tertiary);font-size:var(--text-xs)}.pc-proto .msg{display:flex;gap:var(--sp-4);align-items:flex-start}.pc-proto .msg__avatar{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;color:#fff;font-size:10px;font-weight:800;flex-shrink:0}.pc-proto .msg__avatar--user{background:linear-gradient(135deg,#FFB74D,#F57C00)}.pc-proto .msg__avatar--claude{background:var(--agent-claude)}.pc-proto .msg__avatar--codex{background:var(--agent-codex)}.pc-proto .msg__avatar--gemini{background:var(--agent-gemini)}.pc-proto .msg__avatar--sys{background:var(--n-400)}.pc-proto .msg__avatar--terminal{background:var(--n-900);color:#fff}.pc-proto .msg__avatar--terminal svg{width:14px;height:14px}.pc-proto .msg__avatar--permission{background:var(--warning-bg);color:var(--warning-fg);border:1px solid color-mix(in srgb,var(--warning-fg) 28%,transparent)}.pc-proto .msg__avatar .provider-logo{width:15px;height:15px}.pc-proto .msg__body{flex:1 1;min-width:0}.pc-proto .msg__header{display:flex;align-items:baseline;gap:var(--sp-4);margin-bottom:var(--sp-3)}.pc-proto .msg__name{font-size:13px;font-weight:700;color:var(--text-primary)}.pc-proto .msg__time{font-size:10px;color:var(--text-tertiary);font-family:var(--font-mono)}.pc-proto .msg__bubble{padding:10px 14px;border-radius:var(--r-lg);background:var(--b-50);border:1px solid var(--b-100);color:var(--text-primary);font-size:14px;line-height:1.55;max-width:620px;overflow-wrap:anywhere;white-space:pre-wrap}.pc-proto .msg__text{font-size:14px;line-height:1.6;color:var(--text-primary)}.pc-proto .msg__text p{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}.pc-proto .msg__terminal-output{width:min(680px,100%);padding:10px 12px;border:1px solid var(--border-default);border-radius:8px;background:var(--surface-sunken);color:var(--text-primary);font-family:var(--font-mono);font-size:12px;line-height:1.55}.pc-proto .msg__terminal-command{margin-bottom:8px;color:var(--text-secondary);white-space:pre-wrap;overflow-wrap:anywhere}.pc-proto .msg__terminal-output pre{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}.pc-proto .msg--permission{width:100%}.pc-proto .pc-permission{width:min(680px,100%);padding:12px;border:1px solid var(--warning-border);border-radius:8px;background:color-mix(in srgb,var(--warning-bg) 62%,var(--surface) 38%);color:var(--text-primary)}.pc-proto .pc-permission[data-state=approved]{border-color:color-mix(in srgb,var(--success-fg) 28%,transparent);background:color-mix(in srgb,var(--success-bg) 58%,var(--surface) 42%)}.pc-proto .pc-permission[data-state=denied]{border-color:color-mix(in srgb,var(--danger-fg) 24%,transparent);background:color-mix(in srgb,var(--danger-bg) 52%,var(--surface) 48%)}.pc-proto .pc-permission__head{display:flex;align-items:center;justify-content:space-between;gap:var(--sp-4);margin-bottom:var(--sp-4)}.pc-proto .pc-permission__risk,.pc-proto .pc-permission__state{display:inline-flex;align-items:center;min-height:22px;padding:0 8px;border-radius:var(--r-full);font-family:var(--font-mono);font-size:10px;font-weight:800;line-height:1}.pc-proto .pc-permission__risk{background:var(--surface);color:var(--text-secondary);border:1px solid var(--border-default)}.pc-proto .pc-permission[data-risk=high] .pc-permission__risk{color:var(--danger-fg);border-color:color-mix(in srgb,var(--danger-fg) 28%,transparent)}.pc-proto .pc-permission__state{background:color-mix(in srgb,var(--warning-bg) 76%,var(--surface) 24%);color:var(--warning-fg)}.pc-proto .pc-permission[data-state=approved] .pc-permission__state{background:color-mix(in srgb,var(--success-bg) 76%,var(--surface) 24%);color:var(--success-fg)}.pc-proto .pc-permission[data-state=denied] .pc-permission__state{background:color-mix(in srgb,var(--danger-bg) 76%,var(--surface) 24%);color:var(--danger-fg)}.pc-proto .pc-permission__command{margin:0 0 var(--sp-3);padding:8px 10px;border-radius:6px;background:var(--surface-sunken);border:1px solid var(--border-default);font-family:var(--font-mono);font-size:12px;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere}.pc-proto .pc-permission__hint,.pc-proto .pc-permission__reason{margin:0;color:var(--text-secondary);font-size:12px;line-height:1.5}.pc-proto .pc-permission__actions{display:flex;flex-wrap:wrap;gap:var(--sp-3);margin-top:var(--sp-4)}.pc-proto .pc-permission__button{min-height:32px;padding:0 12px;border:1px solid var(--border-default);border-radius:7px;background:var(--surface);color:var(--text-primary);font-size:12px;font-weight:750;cursor:pointer}.pc-proto .pc-permission__button:focus-visible,.pc-proto .pc-permission__button:hover:not(:disabled){border-color:var(--border-strong)}.pc-proto .pc-permission__button:disabled{cursor:not-allowed;opacity:.58}.pc-proto .pc-permission__button--deny{color:var(--danger-fg)}.pc-proto .pc-permission__button--once,.pc-proto .pc-permission__button--session{background:var(--text-primary);color:var(--surface);border-color:var(--text-primary)}.pc-proto .pc-permission__decision{display:inline-flex;align-items:center;gap:var(--sp-3);margin-top:var(--sp-4);color:var(--text-secondary);font-size:12px;font-weight:650}.pc-proto .msg__attachments{display:flex;flex-wrap:wrap;gap:var(--sp-3);margin-top:var(--sp-4)}.pc-proto .msg__attach{display:inline-flex;align-items:center;gap:var(--sp-3);padding:4px 10px 4px 4px;background:var(--surface);border:1px solid var(--border-default);border-radius:var(--r-full);font-size:11px;color:var(--text-secondary);box-shadow:var(--shadow-xs);min-width:0}.pc-proto .msg__attach-icon{width:22px;height:22px;border-radius:var(--r-full);background:var(--surface-sunken);display:grid;place-items:center;color:var(--text-tertiary);flex-shrink:0}.pc-proto .msg__attach-name{max-width:240px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-family:var(--font-mono);font-weight:600;font-size:11px;color:var(--text-primary)}.pc-proto .msg__attach-size{font-size:10px;color:var(--text-tertiary);font-family:var(--font-mono);flex-shrink:0}.pc-proto .msg--action{display:block;width:100%;box-sizing:border-box;padding-left:calc(28px + var(--sp-4))}.pc-proto .msg--run-status{display:flex;align-items:center;justify-content:center;gap:var(--sp-4);width:100%;min-width:0;box-sizing:border-box;padding:var(--sp-1) var(--sp-8)}.pc-proto .msg--run-status:after,.pc-proto .msg--run-status:before{content:"";flex:1 1;min-width:var(--sp-8);height:1px;background:color-mix(in srgb,var(--border-default) 58%,transparent)}.pc-proto .pc-run-status{display:inline-flex;align-items:center;flex:0 0 auto;gap:var(--sp-3);max-width:100%;min-height:26px;padding:4px 10px 4px 5px;border:1px solid color-mix(in srgb,var(--pc-run-status-accent,var(--b-600)) 28%,var(--border-subtle));border-radius:var(--r-full);background:color-mix(in srgb,var(--pc-run-status-bg,var(--b-50)) 58%,var(--surface));color:var(--pc-run-status-accent,var(--b-700));font-size:11px;font-weight:700;box-shadow:none}.pc-proto .pc-run-status[data-tone=run]{--pc-run-status-accent:var(--info-fg);--pc-run-status-bg:var(--info-bg)}.pc-proto .pc-run-status[data-tone=done]{--pc-run-status-accent:var(--success-fg);--pc-run-status-bg:var(--success-bg)}.pc-proto .pc-run-status[data-tone=wait]{--pc-run-status-accent:var(--warning-fg);--pc-run-status-bg:var(--warning-bg)}.pc-proto .pc-run-status[data-tone=alert]{--pc-run-status-accent:var(--danger-fg);--pc-run-status-bg:var(--danger-bg)}.pc-proto .pc-run-status__icon{width:18px;height:18px;display:grid;place-items:center;flex-shrink:0;border-radius:var(--r-full);background:var(--pc-run-status-accent,var(--b-600));color:#fff}.pc-proto .pc-run-status__label{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pc-proto .pc-run-status__time{color:var(--text-tertiary);font-family:var(--font-mono);font-size:10px;font-weight:600;white-space:nowrap}.pc-proto .pc-action-stack{--pc-action-accent:var(--b-600);--pc-action-bg:color-mix(in srgb,var(--b-50) 42%,var(--surface));--pc-action-connector-opacity:0.42;display:grid;grid-gap:var(--sp-2);gap:var(--sp-2);justify-items:stretch;position:relative;width:100%;max-width:100%;min-width:0}html[data-theme=dark] .pc-proto .pc-action-stack{--pc-action-connector-opacity:0.34}.pc-proto .pc-action-card{display:inline-flex;align-items:center;gap:var(--sp-4);width:100%;max-width:100%;min-width:0;box-sizing:border-box;padding:7px 10px 7px 6px;background:var(--surface);border:1px solid var(--border-subtle);border-radius:var(--r-md);box-shadow:none;font-size:12px;overflow:hidden}.pc-proto .pc-action-stack[data-kind=run]{--pc-action-accent:var(--warning-fg);--pc-action-bg:color-mix(in srgb,var(--warning-bg) 54%,var(--surface))}.pc-proto .pc-action-stack[data-kind=git]{--pc-action-accent:#f05033;--pc-action-bg:color-mix(in srgb,#f05033 12%,var(--surface))}.pc-proto .pc-action-stack[data-kind=docker]{--pc-action-accent:#2496ed;--pc-action-bg:color-mix(in srgb,#2496ed 12%,var(--surface))}.pc-proto .pc-action-stack[data-kind=read]{--pc-action-accent:var(--info-fg);--pc-action-bg:color-mix(in srgb,var(--info-bg) 58%,var(--surface))}.pc-proto .pc-action-stack[data-kind=write]{--pc-action-accent:var(--success-fg);--pc-action-bg:color-mix(in srgb,var(--success-bg) 54%,var(--surface))}.pc-proto .pc-action-stack[data-kind=list]{--pc-action-accent:var(--b-600);--pc-action-bg:color-mix(in srgb,var(--b-50) 60%,var(--surface))}.pc-proto .pc-action-stack[data-kind=think]{--pc-action-accent:var(--text-tertiary);--pc-action-bg:var(--surface-sunken)}.pc-proto .pc-action-card__main{min-width:0;display:flex;flex-direction:column;gap:2px;flex:1 1;overflow:hidden}.pc-proto .pc-action-card__top{display:flex;align-items:center;gap:var(--sp-3);min-width:0}.pc-proto .pc-action-card__kind{width:22px;height:22px;display:grid;place-items:center;flex-shrink:0;background:var(--pc-action-accent);color:#fff;border-radius:var(--r-md)}.pc-proto .pc-action-card__time{color:var(--text-tertiary);font-family:var(--font-mono);font-size:10px;flex-shrink:0;white-space:nowrap}.pc-proto .pc-action-card__primary{color:var(--text-primary);font-size:12px;font-weight:700;line-height:1.25;text-transform:uppercase}.pc-proto .pc-action-card__cmd{display:block;width:100%;max-width:100%;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--text-tertiary);font-family:var(--font-mono);font-size:11px;line-height:1.35}.pc-proto .pc-action-card__cmd>.pc-action-token,.pc-proto .pc-action-card__cmd>span{white-space:nowrap}.pc-proto .pc-action-token--bin{color:var(--text-primary);font-weight:700}.pc-proto .pc-action-token--env{color:var(--warning-fg);font-weight:700}.pc-proto .pc-action-token--flag{color:var(--info-fg)}.pc-proto .pc-action-token--path,.pc-proto .pc-action-token--url{color:var(--b-700)}.pc-proto .pc-action-token--number{color:var(--success-fg)}.pc-proto .pc-action-token--op{color:var(--text-primary);font-weight:700}.pc-proto .pc-action-token--str{color:var(--syn-str)}.pc-proto .pc-action-card__path{display:block;color:var(--text-secondary);font-family:var(--font-mono);font-size:11px;line-height:1.45;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pc-proto .pc-action-result{position:relative;display:block;width:100%;max-width:100%;min-width:0}.pc-proto .pc-action-connector{position:absolute;left:calc(-1 * (var(--sp-4) + 18px));top:var(--pc-action-card-center,22px);width:18px;height:max(38px,calc(var(--pc-action-result-center, 82px) - var(--pc-action-card-center, 22px)));color:var(--pc-action-accent);opacity:var(--pc-action-connector-opacity);pointer-events:none;z-index:1}.pc-proto .pc-action-connector:before{content:"";position:absolute;top:0;left:0;width:15px;height:100%;border-top:2px solid;border-left:2px solid;border-bottom:2px solid;border-top-left-radius:7px;border-bottom-left-radius:7px}.pc-proto .pc-action-result__body{margin:0;width:100%;max-height:132px;box-sizing:border-box;padding:var(--sp-4);overflow:auto;color:var(--text-secondary);background:var(--surface-sunken);border:1px solid var(--border-subtle);border-radius:var(--r-md);font-family:var(--font-mono);font-size:11px;line-height:1.55;overflow-wrap:anywhere;white-space:pre-wrap;min-width:0}.pc-proto .pc-action-card__actions{display:flex;align-items:center;gap:2px;flex-shrink:0}.pc-proto .pc-action-card__copy,.pc-proto .pc-action-card__preview-btn{width:24px;height:24px;display:grid;place-items:center;border-radius:var(--r-sm);color:var(--text-tertiary);background:transparent;border:1px solid transparent}.pc-proto .pc-action-card__copy:hover,.pc-proto .pc-action-card__preview-btn:hover{color:var(--text-primary);border-color:var(--border-default);background:var(--surface-sunken)}.pc-proto .pc-action-card[data-density=expanded] .pc-action-card__primary,.pc-proto .pc-action-card[data-density][data-density] .pc-action-card__kind{display:none}.pc-proto .thinking,.pc-proto .tool{display:inline-flex;align-items:center;gap:var(--sp-4);margin-top:var(--sp-3);border:1px solid var(--border-subtle)}.pc-proto .thinking{padding:7px 12px;background:var(--surface-sunken);border-radius:var(--r-full);font-size:12px;color:var(--text-secondary)}.pc-proto .thinking__dots{display:inline-flex;gap:3px}.pc-proto .thinking__dot{width:4px;height:4px;border-radius:50%;background:var(--text-tertiary);animation:msb-pulse 1.4s infinite}.pc-proto .thinking__time{color:var(--text-tertiary);font-family:var(--font-mono);font-size:10px}.pc-proto .tool{padding:7px 10px 7px 6px;background:var(--surface);border-radius:var(--r-md);font-size:12px;max-width:520px}.pc-proto .tool__icon{width:22px;height:22px;border-radius:var(--r-md);display:grid;place-items:center;color:#fff;background:var(--success-fg);flex-shrink:0}.pc-proto .tool__body{display:flex;flex-direction:column;gap:2px;min-width:0}.pc-proto .tool__title{font-size:12px;font-weight:700}.pc-proto .tool__cmd{max-width:360px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--text-tertiary);font-family:var(--font-mono);font-size:11px}.pc-proto .code{margin-top:var(--sp-4);border-radius:var(--r-lg);overflow:hidden;background:#0F1117;border:1px solid var(--border-default);max-width:680px}.pc-proto .code__head{display:flex;align-items:center;justify-content:space-between;padding:6px 10px 6px 12px;background:#1C2029;color:#C7CCD6}.pc-proto .code__head-left{display:flex;align-items:center;gap:var(--sp-3);font-size:11px;font-family:var(--font-mono)}.pc-proto .code__lang{padding:1px 6px;border-radius:var(--r-sm);background:rgba(47,107,255,.15);color:#8FA8FF;font-size:10px;font-weight:700;text-transform:uppercase}.pc-proto .code__copy{color:#C7CCD6;font-size:11px;font-family:var(--font-mono)}.pc-proto .code__body{margin:0;padding:var(--sp-5) var(--sp-6);font-family:var(--font-mono);font-size:12px;line-height:1.65;color:#E0E4EB;overflow-x:auto}.pc-proto .artifact{display:inline-flex;align-items:stretch;margin-top:var(--sp-4);background:var(--surface);border:1px solid var(--border-default);border-radius:var(--r-lg);overflow:hidden;box-shadow:var(--shadow-xs)}.pc-proto .artifact__thumb{width:56px;background:linear-gradient(135deg,var(--b-500) 0,var(--b-700) 100%);flex-shrink:0}.pc-proto .artifact__meta{padding:8px 12px;display:flex;flex-direction:column;justify-content:center;min-width:0}.pc-proto .artifact__name{font-family:var(--font-mono);font-size:12px;font-weight:700}.pc-proto .artifact__sub{font-size:10px;color:var(--text-tertiary);font-family:var(--font-mono)}.pc-proto .artifact__btn{padding:0 14px;border-left:1px solid var(--border-subtle);color:var(--b-600);font-size:12px;font-weight:700}.pc-proto .jb-wrap{position:-webkit-sticky;position:sticky;bottom:0;z-index:5;display:flex;justify-content:center;padding:0 var(--sp-6) var(--sp-3);pointer-events:none}.pc-proto .jb{display:grid;place-items:center;width:34px;height:34px;padding:0;background:color-mix(in srgb,var(--surface) 85%,transparent);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border:1px solid var(--border-default);border-radius:50%;box-shadow:var(--shadow-sm);color:var(--text-secondary);pointer-events:auto}.pc-proto .jb:hover{background:var(--surface-hover);color:var(--text-primary)}.pc-proto .cmp-wrap{padding:8px 20px 16px;border-top:1px solid var(--border-subtle);background:var(--canvas);flex-shrink:0}.pc-proto .cmp{position:relative;max-width:780px;margin:0 auto;background:var(--surface);border:1px solid var(--border-subtle);border-radius:14px;box-shadow:var(--shadow-xs)}.pc-proto .pc-parallel .cmp-wrap{align-self:end;min-width:0;min-height:0;padding:var(--sp-4);border-top:1px solid var(--border-subtle);background:var(--surface)}.pc-proto .pc-parallel .cmp{max-width:none}.pc-proto .pc-parallel .cmp__top{align-items:flex-start;flex-wrap:wrap}.pc-proto .pc-parallel .cmp-mode{max-width:100%;overflow-x:auto}.pc-proto .pc-parallel .cmp-mode__pill{padding-inline:8px}.pc-proto .pc-parallel .cmp-ctx{max-width:100%}.pc-proto .pc-parallel .cmp-ctx__name{max-width:clamp(90px,16vw,180px)}.pc-proto .pc-parallel .ms{right:8px;width:min(320px,calc(100vw - 48px))}.pc-proto .pc-parallel .cmp__input{min-height:44px;max-height:112px}.pc-proto .pc-parallel .cmp__hint{display:none}.pc-proto .cmp:focus-within{border-color:var(--mc-ring);box-shadow:0 0 0 3px var(--mc-ring-soft)}.pc-proto .cmp__toolbar,.pc-proto .cmp__top{display:flex;align-items:center;justify-content:space-between;gap:var(--sp-3)}.pc-proto .cmp__top{padding:8px 10px;border-bottom:1px solid var(--border-subtle)}.pc-proto .cmp-mode{padding:2px;background:var(--surface-sunken);border:1px solid var(--border-subtle)}.pc-proto .cmp-mode,.pc-proto .cmp-mode__pill{display:inline-flex;border-radius:var(--r-full)}.pc-proto .cmp-mode__pill{align-items:center;gap:5px;padding:4px 10px;font-size:11px;font-weight:500;color:var(--text-secondary);transition:background var(--t-fast),color var(--t-fast),box-shadow var(--t-fast)}.pc-proto .cmp-mode__pill:hover{color:var(--text-primary)}.pc-proto .cmp-mode__pill[aria-pressed=true]{background:var(--mc-ring);color:#fff;font-weight:600;box-shadow:inset 0 1px 0 rgba(255,255,255,.2),0 1px 2px rgba(0,0,0,.15)}.pc-proto .cmp-mode__pill-dot{width:6px;height:6px;border-radius:50%;background:var(--text-tertiary);transition:background var(--t-fast)}.pc-proto .cmp-mode__pill[data-mode=agent] .cmp-mode__pill-dot{background:var(--mode-agent)}.pc-proto .cmp-mode__pill[data-mode=plan] .cmp-mode__pill-dot{background:var(--mode-plan)}.pc-proto .cmp-mode__pill[data-mode=terminal] .cmp-mode__pill-dot{background:var(--mode-terminal)}.pc-proto .cmp-mode__pill[aria-pressed=true] .cmp-mode__pill-dot{background:#fff}.pc-proto .cmp-ctx{display:inline-flex;align-items:center;gap:var(--sp-3);border-radius:var(--r-full);background:var(--surface-sunken);font-size:12px;color:var(--text-secondary);padding:4px 8px 4px 4px}.pc-proto .cmp-ctx__logo{width:22px;height:22px;border-radius:var(--r-full);display:grid;place-items:center;color:#fff;background:var(--agent-claude);font-size:10px;font-weight:800}.provider-logo{display:inline-block;width:1em;height:1em;flex-shrink:0;background:currentColor;-webkit-mask-image:var(--provider-logo-url);mask-image:var(--provider-logo-url);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-position:center;mask-position:center;-webkit-mask-size:contain;mask-size:contain}.pc-proto .cmp-ctx__logo .provider-logo{width:13px;height:13px}.pc-proto .cmp-ctx__logo--codex,.pc-proto .ws__model--codex .ws__model-dot{background:var(--agent-codex)}.pc-proto .cmp-ctx__logo--gemini,.pc-proto .ws__model--gemini .ws__model-dot{background:var(--agent-gemini)}.pc-proto .cmp-ctx__logo--claude,.pc-proto .ws__model--claude .ws__model-dot{background:var(--agent-claude)}.pc-proto .cmp-ctx__name{font-weight:700;color:var(--text-primary);max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pc-proto .cmp-ctx__effort{padding:1px 6px;border-radius:var(--r-sm);background:var(--info-bg);color:var(--info-fg);font-size:10px;font-weight:700;font-family:var(--font-mono)}.pc-proto .ms{position:absolute;right:10px;bottom:calc(100% + 8px);z-index:30;display:none;width:340px;max-width:calc(100vw - 48px);padding:14px;background:var(--surface);border:1px solid var(--border-default);border-radius:var(--r-xl);box-shadow:var(--shadow-xl)}.pc-proto .ms--open{display:block}.pc-proto .ms__eyebrow-row{display:flex;align-items:center;justify-content:space-between;gap:var(--sp-4);margin-bottom:var(--sp-4)}.pc-proto .ms__eyebrow{font-size:9px;font-weight:800;color:var(--text-tertiary);text-transform:uppercase;letter-spacing:.08em}.pc-proto .ms__close{display:grid;place-items:center;width:22px;height:22px;border-radius:var(--r-md);color:var(--text-tertiary)}.pc-proto .ms__close:hover{background:var(--surface-hover);color:var(--text-primary)}.pc-proto .ms__providers{display:flex;justify-content:center;gap:14px;padding-bottom:var(--sp-5);margin-bottom:var(--sp-5);border-bottom:1px solid var(--border-subtle)}.pc-proto .ms__provider{position:relative;display:grid;place-items:center;width:44px;height:44px;border-radius:50%;color:#fff;font-size:11px;font-weight:800;transition:transform var(--t-fast)}.pc-proto .ms__provider[data-provider=claude]{background:var(--agent-claude)}.pc-proto .ms__provider[data-provider=codex]{background:var(--agent-codex)}.pc-proto .ms__provider[data-provider=gemini]{background:var(--agent-gemini)}.pc-proto .ms__provider .provider-logo{width:22px;height:22px}.pc-proto .ms__provider:hover{transform:translateY(-1px)}.pc-proto .ms__provider[aria-pressed=true]:after{content:"";position:absolute;inset:-4px;border:2px solid var(--b-500);border-radius:50%;box-shadow:0 0 0 3px rgba(47,107,255,.15)}.pc-proto .ms__provider-label{position:absolute;top:100%;left:50%;margin-top:6px;transform:translateX(-50%);color:var(--text-tertiary);font-size:9px;font-weight:700;text-transform:uppercase;white-space:nowrap}.pc-proto .ms__group{display:none}.pc-proto .ms__group[data-active]{display:block}.pc-proto .ms__item{display:flex;align-items:center;gap:10px;width:100%;padding:8px 10px;border-radius:var(--r-md);text-align:left}.pc-proto .ms__item:hover,.pc-proto .ms__item[aria-pressed=true]{background:var(--b-50)}.pc-proto .ms__item-check{width:14px;height:14px;border:1.5px solid var(--border-strong);border-radius:50%;flex-shrink:0}.pc-proto .ms__item[aria-pressed=true] .ms__item-check{background:var(--b-500);border-color:var(--b-500);box-shadow:inset 0 0 0 4px #fff}.pc-proto .ms__item-body{display:flex;flex:1 1;min-width:0;flex-direction:column;gap:1px}.pc-proto .ms__item-name{font-size:13px;font-weight:700;color:var(--text-primary)}.pc-proto .ms__item-meta{color:var(--text-tertiary);font-family:var(--font-mono);font-size:10px}.pc-proto .ms__footer{padding-top:var(--sp-5);margin-top:var(--sp-5);border-top:1px dashed var(--border-subtle)}.pc-proto .ms__effort-chips{display:flex;padding:2px;margin-top:var(--sp-3);background:var(--surface-sunken);border:1px solid var(--border-subtle);border-radius:var(--r-full)}.pc-proto .ms__effort-chip{flex:1 1;min-width:0;padding:4px;border-radius:var(--r-full);color:var(--text-secondary);font-size:11px;font-weight:600}.pc-proto .ms__effort-chip[aria-pressed=true]{background:var(--surface);color:var(--text-primary);box-shadow:var(--shadow-xs)}.pc-proto .ms__effort-chip--disabled{color:var(--text-disabled);cursor:not-allowed}.pc-proto .cmp__input{width:100%;resize:none;padding:12px 14px;border:0;outline:0;background:transparent;color:var(--text-primary);font-size:14px;line-height:1.55;min-height:52px;max-height:200px}.pc-proto .cmp__toolbar{padding:6px 8px 8px 10px}.pc-proto .cmp__tool{width:30px;height:30px}.pc-proto .cmp__hint{gap:5px;font-size:11px;color:var(--text-tertiary)}.pc-proto .cmp__hint,.pc-proto .kbd{display:inline-flex;align-items:center}.pc-proto .kbd{justify-content:center;min-width:16px;height:16px;padding:0 4px;background:var(--surface);border:solid var(--border-default);border-width:1px 1px 2px;border-radius:4px;font-family:var(--font-mono);font-size:10px;font-weight:700;color:var(--text-secondary)}.pc-proto .cmp__send{display:inline-flex;align-items:center;gap:6px;height:30px;padding:0 12px 0 14px;border-radius:var(--r-full);background:var(--mc-ring,var(--b-600));color:#fff;font-size:13px;font-weight:600;box-shadow:inset 0 1px 0 rgba(255,255,255,.2),0 1px 2px var(--mc-ring-shadow);transition:background var(--t-fast),filter var(--t-fast),box-shadow var(--t-fast)}.pc-proto .cmp__send:hover:not(:disabled){filter:brightness(1.08)}.pc-proto .cmp__send:disabled{opacity:.55;cursor:not-allowed}.pc-proto .cmp__send--running{background:var(--danger-fg);box-shadow:inset 0 1px 0 rgba(255,255,255,.2),0 1px 2px rgba(180,35,24,.35)}.pc-proto .cmp__send--running:hover:not(:disabled){filter:brightness(1.05)}.pc-proto .cmp-attachments{display:flex;flex-wrap:wrap;gap:var(--sp-3);padding:var(--sp-4) var(--sp-5) 0}.pc-proto .cmp-attachment{display:inline-flex;align-items:center;gap:var(--sp-3);max-width:200px;padding:3px 6px 3px 3px;border:1px solid var(--border-subtle);border-radius:var(--r-md);background:var(--surface-sunken);font-size:11.5px;color:var(--text-secondary)}.pc-proto .cmp-attachment__thumb{width:28px;height:28px;border-radius:6px;object-fit:cover;flex-shrink:0}.pc-proto .cmp-attachment__name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pc-proto .cmp-attachment__remove{display:grid;place-items:center;width:18px;height:18px;padding:0;border-radius:50%;color:var(--text-tertiary);flex-shrink:0}.pc-proto .cmp-attachment__remove:hover{background:var(--surface-hover);color:var(--text-primary)}.pc-proto .cmp-attachment--uploading{padding:3px 8px}.pc-proto .cmp-attachment__spin,.pc-sheet__spin{animation:pc-sheet-spin .8s linear infinite}.pc-proto .msg__images{display:flex;flex-wrap:wrap;gap:var(--sp-3);margin-bottom:var(--sp-3)}.pc-proto .msg__image{max-width:min(220px,60%);max-height:180px;border-radius:10px;border:1px solid var(--border-subtle);object-fit:cover}.pc-sheet{position:fixed;inset:0;z-index:90;display:flex;align-items:flex-end;justify-content:center}.pc-sheet__backdrop{position:absolute;inset:0;background:rgba(15,23,42,.42);animation:pc-sheet-fade .16s var(--ease-smooth)}.pc-sheet__panel{position:relative;display:flex;flex-direction:column;width:min(520px,calc(100% - 16px));max-height:min(72dvh,560px);padding:var(--sp-3) var(--sp-5) calc(var(--sp-8) + var(--safe-area-inset-bottom));background:var(--surface);border:1px solid var(--border-subtle);border-bottom:0;border-radius:20px 20px 0 0;box-shadow:0 -12px 44px rgba(15,23,42,.28);animation:pc-sheet-up .22s var(--ease-smooth)}.pc-sheet__grip{width:36px;height:4px;margin:4px auto 6px;border-radius:var(--r-full);background:var(--border-default)}.pc-sheet__head{display:flex;align-items:center;gap:var(--sp-4);padding:var(--sp-3) var(--sp-2) var(--sp-5)}.pc-sheet__title{flex:1 1;font-size:14px;font-weight:650;color:var(--text-primary)}.pc-sheet__close{display:grid;place-items:center;width:28px;height:28px;padding:0;border-radius:50%;background:var(--surface-sunken);color:var(--text-secondary);flex-shrink:0}.pc-sheet__close:hover{background:var(--surface-hover);color:var(--text-primary)}.pc-sheet__items{display:flex;flex-direction:column;gap:var(--sp-2)}.pc-sheet__item{display:flex;align-items:center;gap:var(--sp-6);padding:var(--sp-5) var(--sp-4);border-radius:14px;background:transparent;text-align:left;cursor:pointer}.pc-sheet__item:focus-visible,.pc-sheet__item:hover{background:var(--surface-hover)}.pc-sheet__item:active{background:var(--surface-sunken)}.pc-sheet__item-icon{display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:var(--surface-sunken);border:1px solid var(--border-subtle);color:var(--text-secondary);flex-shrink:0}.pc-sheet__item-body{display:flex;flex-direction:column;gap:2px;min-width:0;flex:1 1}.pc-sheet__item-name{font-size:14px;font-weight:600;color:var(--text-primary)}.pc-sheet__item-desc{font-size:12px;color:var(--text-tertiary)}.pc-sheet__scroll{flex:1 1 auto;min-height:0;display:flex;flex-direction:column;overflow-y:auto;overscroll-behavior:contain}.pc-sheet__section{display:flex;flex-direction:column;gap:var(--sp-4);padding:var(--sp-8) var(--sp-4) var(--sp-4);border-bottom:1px solid var(--border-subtle);margin-bottom:var(--sp-2);position:-webkit-sticky;position:sticky;top:0;background:var(--surface);z-index:1}.pc-sheet__section-row{display:flex;align-items:baseline;gap:var(--sp-3)}.pc-sheet__search{display:flex;align-items:center;gap:var(--sp-3);padding:0 var(--sp-5);height:34px;border:1px solid var(--border-subtle);border-radius:var(--r-full);background:var(--surface-sunken)}.pc-sheet__search:focus-within{border-color:var(--mc-ring,var(--b-600));background:var(--surface)}.pc-sheet__search-icon{color:var(--text-tertiary);flex-shrink:0}.pc-sheet__search-input{flex:1 1;min-width:0;border:0;outline:0;background:transparent;font-size:13px;color:var(--text-primary)}.pc-sheet__search-input::-webkit-search-cancel-button{display:none}.pc-sheet__search-clear{display:grid;place-items:center;width:20px;height:20px;padding:0;border-radius:50%;color:var(--text-tertiary);flex-shrink:0}.pc-sheet__search-clear:hover{background:var(--surface-hover);color:var(--text-primary)}.pc-sheet__group-label{padding:var(--sp-4) var(--sp-5) var(--sp-1);font-size:10.5px;font-weight:650;letter-spacing:.04em;text-transform:uppercase;color:var(--text-tertiary)}.pc-sheet__section-icon{align-self:center;display:grid;place-items:center;color:var(--text-tertiary)}.pc-sheet__section-title{font-size:12px;font-weight:650;color:var(--text-secondary)}.pc-sheet__section-hint{font-size:11px;color:var(--text-tertiary)}.pc-sheet__list{gap:var(--sp-2);min-height:96px}.pc-sheet__list,.pc-sheet__skill{display:flex;flex-direction:column}.pc-sheet__skill{align-items:stretch;gap:3px;padding:var(--sp-4) var(--sp-5);border-radius:12px;background:transparent;text-align:left;cursor:pointer}.pc-sheet__skill:focus-visible,.pc-sheet__skill:hover{background:var(--surface-hover)}.pc-sheet__skill-command{font-family:var(--font-mono);font-size:13px;font-weight:600;color:var(--text-primary)}.pc-sheet__skill-meta{display:flex;align-items:baseline;gap:var(--sp-4);min-width:0}.pc-sheet__skill-source{flex-shrink:0;font-size:10.5px;color:var(--text-tertiary);border:1px solid var(--border-subtle);border-radius:var(--r-full);padding:1px 7px;background:var(--surface-sunken)}.pc-sheet__skill-desc{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;color:var(--text-secondary)}.pc-sheet__state{display:flex;align-items:center;justify-content:center;gap:var(--sp-3);padding:var(--sp-10) var(--sp-6);font-size:12.5px;color:var(--text-tertiary);text-align:center}.pc-sheet__state--error{color:var(--danger-fg)}@keyframes pc-sheet-up{0%{transform:translateY(28px);opacity:0}}@keyframes pc-sheet-fade{0%{opacity:0}}@keyframes pc-sheet-spin{to{transform:rotate(1turn)}}@media (prefers-reduced-motion:reduce){.pc-sheet__backdrop,.pc-sheet__panel{animation:none}}.pc-proto .cmp-slash{position:absolute;left:8px;right:8px;bottom:calc(100% + 6px);z-index:30;display:flex;flex-direction:column;gap:2px;max-height:240px;overflow-y:auto;overscroll-behavior:contain;padding:var(--sp-2);background:var(--surface);border:1px solid var(--border-default);border-radius:14px;box-shadow:0 12px 32px -8px rgba(15,23,42,.28)}.pc-proto .cmp-slash__item{display:flex;align-items:center;gap:var(--sp-4);padding:8px 10px;border-radius:10px;background:transparent;text-align:left;cursor:pointer}.pc-proto .cmp-slash__item--active{background:color-mix(in srgb,var(--mc-ring) 9%,var(--surface))}.pc-proto .cmp-slash__command{flex-shrink:0;font-family:var(--font-mono);font-size:12.5px;font-weight:600;color:var(--text-primary)}.pc-proto .cmp-slash__desc{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11.5px;color:var(--text-tertiary)}.pc-proto .cmp-slash__source{flex-shrink:0;margin-left:auto;font-size:10px;color:var(--text-tertiary);border:1px solid var(--border-subtle);border-radius:var(--r-full);padding:1px 6px;background:var(--surface-sunken)}.pc-proto .cmp-slash__state{display:flex;align-items:center;gap:var(--sp-3);padding:8px 10px;font-size:11.5px;color:var(--text-tertiary)}.pc-proto .cmp-slash__spin{animation:pc-sheet-spin .8s linear infinite}.pc-proto .cmp-slash__arg{flex-shrink:0;font-family:var(--font-mono);font-size:11px;color:var(--text-tertiary)}.pc-proto .cmp-arg-hint{position:absolute;left:8px;right:8px;bottom:calc(100% + 6px);z-index:30;display:flex;align-items:baseline;gap:var(--sp-4);padding:7px 12px;background:var(--surface);border:1px solid var(--border-default);border-radius:12px;box-shadow:0 8px 24px -8px rgba(15,23,42,.22);font-size:11.5px}.pc-proto .cmp-arg-hint__command{flex-shrink:0;font-family:var(--font-mono);font-weight:600;color:var(--text-primary)}.pc-proto .cmp-arg-hint__hint{flex-shrink:0;font-family:var(--font-mono);color:var(--mc-ring,var(--b-600))}.pc-proto .cmp-arg-hint__desc{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--text-tertiary)}.pc-sheet__skill-arg{font-weight:400;color:var(--text-tertiary)}.pc-proto .ws{--ls-snug:-0.014em;display:flex;flex-direction:column;height:100%;background:var(--surface)}.pc-proto .ws-pane__header,.pc-proto .ws__head,.pc-proto .ws__status{display:flex;align-items:center;justify-content:space-between}.pc-proto .ws-pane__header,.pc-proto .ws__head{height:52px;padding:0 var(--sp-8);gap:var(--sp-4);border-bottom:1px solid var(--border-subtle);flex-shrink:0}.pc-proto .ws-pane__title,.pc-proto .ws__title{display:flex;align-items:center;gap:var(--sp-4);min-width:0;font-size:var(--text-sm);font-weight:600;letter-spacing:var(--ls-snug);color:var(--text-primary)}.pc-proto .ws-pane__title svg,.pc-proto .ws__title svg{flex-shrink:0}.pc-proto .ws-pane__actions{display:flex;align-items:center;gap:var(--sp-2);flex-shrink:0}.pc-proto .ws-pane__action,.pc-proto .ws__action{width:26px;height:26px;min-height:26px;padding:0;border-radius:var(--r-xs);border:0;box-shadow:none;transform:none}.pc-proto .ws__tabs{display:flex;align-items:center;gap:2px;padding:0 var(--sp-4);border-bottom:1px solid var(--border-subtle);background:var(--surface)}.pc-proto .ws__tab{display:inline-flex;align-items:center;gap:var(--sp-3);padding:var(--sp-4) var(--sp-5);border-bottom:2px solid transparent;margin-bottom:-1px;font-size:var(--text-xs);font-weight:500;color:var(--text-secondary);position:relative}.pc-proto .ws__tab[aria-pressed=true]{color:var(--text-primary);border-bottom-color:var(--b-500)}.pc-proto .ws__tab:hover:not([aria-pressed=true]){color:var(--text-primary)}.pc-proto .ws__status{padding:var(--sp-3) var(--sp-5);background:var(--surface);border-bottom:1px solid var(--border-subtle);font-size:11px}.pc-proto .ws__model,.pc-proto .ws__status-left{display:flex;align-items:center;gap:var(--sp-3)}.pc-proto .ws__model{gap:5px;font-weight:700}.pc-proto .ws__model-dot{width:8px;height:8px;border-radius:50%;background:var(--agent-claude)}.pc-proto .ws__stop{width:22px;height:22px;border-radius:var(--r-md);display:grid;place-items:center;background:var(--danger-bg);color:var(--danger-fg)}.pc-proto .ws__stop:hover{background:var(--danger-fg);color:#fff}.pc-proto .ws__body{flex:1 1;overflow-y:auto;padding:var(--sp-10)}.pc-proto .ws__pane{display:none;flex-direction:column;gap:var(--sp-6)}.pc-proto .ws__pane--active{display:flex}.pc-proto .ws-card{background:var(--surface);border:1px solid var(--border-default);border-radius:var(--r-md);padding:var(--sp-8)}.pc-proto .ws-card__head{display:flex;align-items:center;justify-content:space-between;gap:var(--sp-4);margin-bottom:var(--sp-5)}.pc-proto .ws-card__title{font-size:var(--text-xs);font-weight:600;color:var(--text-primary);min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pc-proto .ws-card__meta{font-family:var(--font-mono);font-size:11px;color:var(--text-tertiary);white-space:nowrap;flex-shrink:0}.pc-proto .run-summary{display:grid;grid-template-columns:repeat(3,1fr);grid-gap:var(--sp-3);gap:var(--sp-3);padding:var(--sp-5);background:var(--surface);border:1px solid var(--border-default);border-radius:var(--r-md)}.pc-proto .run-summary__cell{display:flex;flex-direction:column;gap:2px}.pc-proto .run-summary__label{font-size:10px;color:var(--text-tertiary);text-transform:uppercase}.pc-proto .run-summary__value{font-size:16px;font-weight:800}.pc-proto .run-steps{display:flex;flex-direction:column;gap:var(--sp-2)}.pc-proto .ws-empty-state{padding:var(--sp-6) var(--sp-4);border:1px dashed var(--border-subtle);border-radius:var(--r-sm);color:var(--text-tertiary);font-size:var(--text-xs);text-align:center}.pc-proto .run-step,.pc-proto .ws-run-step{display:grid;grid-template-columns:auto minmax(0,1fr) auto;grid-gap:var(--sp-5);gap:var(--sp-5);align-items:flex-start;width:100%;padding:var(--sp-5) var(--sp-4);position:relative;text-align:left;border-radius:var(--r-sm);font-size:var(--text-xs)}.pc-proto .run-step:hover{background:var(--surface-hover)}.pc-proto .run-step__dot,.pc-proto .ws-run-step__dot{width:8px;height:8px;border-radius:50%;flex-shrink:0;margin-top:4px;background:var(--b-500);box-shadow:0 0 0 3px rgba(47,107,255,.2);position:relative;z-index:1}.pc-proto .run-step__dot--done,.pc-proto .ws-run-step__dot--done{background:var(--success-fg);box-shadow:0 0 0 3px rgba(16,185,129,.2)}.pc-proto .run-step__dot--done:not(.ws-run-step__dot):after{content:"";position:absolute;inset:0;background:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'><path d='M2.5 6L5 8.5L9.5 3.5' stroke='white' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round' fill='none'/></svg>") 50%/10px no-repeat}.pc-proto .run-step__dot--running{background:var(--b-500);box-shadow:0 0 0 3px rgba(47,107,255,.2);animation:msb-pulse 1.6s infinite}.pc-proto .run-step__body,.pc-proto .ws-run-step__body{flex:1 1;display:flex;flex-direction:column;gap:2px;min-width:0}.pc-proto .run-step__title,.pc-proto .ws-run-step__title{font-size:12px;font-weight:500;color:var(--text-primary);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pc-proto .run-step--active .run-step__title{font-weight:600}.pc-proto .run-step__cmd{color:var(--text-tertiary);font-family:var(--font-mono);font-size:10.5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pc-proto .run-step__time,.pc-proto .ws-run-step__time{color:var(--text-tertiary);font-family:var(--font-mono);font-size:10px;flex-shrink:0;min-width:0}.pc-proto .file-tree{display:flex;flex-direction:column;overflow:hidden;background:var(--surface);border:1px solid var(--border-subtle);border-radius:var(--r-lg)}.pc-proto .file-row{display:flex;align-items:center;gap:var(--sp-3);width:100%;min-width:0;padding:7px 10px;border-bottom:1px solid var(--border-subtle);color:var(--text-secondary);font-size:12px;text-align:left}.pc-proto .file-row:last-child{border-bottom:0}.pc-proto .file-row--selected,.pc-proto .file-row:hover{background:var(--b-50);color:var(--text-primary)}.pc-proto .file-row__icon{color:var(--text-tertiary);flex-shrink:0}.pc-proto .file-row__icon--dir{color:var(--b-600)}.pc-proto .file-row__name{flex:1 1;min-width:0;overflow:hidden;color:var(--text-primary);font-family:var(--font-mono);text-overflow:ellipsis;white-space:nowrap}.pc-proto .file-row__meta{flex-shrink:0}.pc-proto .file-row__meta,.pc-proto .file-tree__head{color:var(--text-tertiary);font-family:var(--font-mono);font-size:10px}.pc-proto .file-tree__head{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:6px 8px;border-bottom:1px solid var(--border-default)}.pc-proto .file-tree__cwd{flex:1 1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--text-secondary)}.pc-proto .file-tree__refresh{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:var(--r-sm);border:1px solid var(--border-default);background:transparent;color:var(--text-secondary);cursor:pointer}.pc-proto .file-tree__refresh:disabled{opacity:.5;cursor:progress}.pc-proto .file-row--parent .file-row__name{color:var(--text-secondary)}.pc-proto .file-row--state{padding:8px 10px;font-family:var(--font-mono);font-size:11px;color:var(--text-tertiary);cursor:default}.pc-proto .file-row--state.file-row--error{color:var(--accent-danger,#d8554d)}.pc-proto .cmp__send--aborting{opacity:.7;cursor:progress}.pc-proto .ws__stop:disabled{opacity:.4;cursor:not-allowed}.pc-proto .term{overflow:hidden;background:#0F1117;border:1px solid var(--border-default);border-radius:var(--r-lg);color:#E0E4EB;font-family:var(--font-mono);font-size:11px;line-height:1.6}.pc-proto .term__head{display:flex;align-items:center;justify-content:space-between;padding:6px 10px;background:#1C2029;border-bottom:1px solid rgba(255,255,255,.08);color:#C7CCD6;font-size:10px}.pc-proto .term__dots,.pc-proto .term__head-left,.pc-proto .term__line{display:flex;align-items:center;gap:6px}.pc-proto .term__dot{width:10px;height:10px;border-radius:50%}.pc-proto .term__dot--r{background:#FF5F57}.pc-proto .term__dot--y{background:#FFBD2E}.pc-proto .term__dot--g{background:#28CA42}.pc-proto .term__tag{padding:1px 6px;background:rgba(255,255,255,.08);border-radius:var(--r-sm)}.pc-proto .term__body{padding:10px 14px}.pc-proto .term__prompt{color:#5E82FD;flex-shrink:0}.pc-proto .ctx-item--static{display:flex;align-items:center;gap:var(--sp-2);cursor:default}.pc-proto .term__err{color:#E5877E}.pc-proto .term__clear{border:0;background:none;color:var(--text-tertiary);font-size:var(--text-2xs,10px);cursor:pointer}.pc-proto .term__clear:disabled{opacity:.4;cursor:default}.pc-proto .term__entry{display:flex;flex-direction:column;gap:2px;padding:2px 0}.pc-proto .term__output{margin:0;max-height:220px;overflow:auto;padding:4px 0 4px 14px;color:var(--text-secondary);font-size:var(--text-2xs,10px);line-height:1.5;white-space:pre-wrap;word-break:break-all}.pc-proto .term__input-row{display:flex;align-items:center;gap:6px;padding:8px 14px;border-top:1px solid var(--border-subtle)}.pc-proto .term__input{flex:1 1 auto;min-width:0;border:0;background:none;color:inherit;font:inherit;outline:none}.pc-proto .term__input::placeholder{color:var(--text-tertiary)}.pc-proto .file-row__badge{flex:0 0 auto;min-width:16px;padding:0 4px;border-radius:999px;text-align:center;font-size:var(--text-2xs,10px);font-weight:600;color:#C9CDD6;background:rgba(127,127,127,.18)}.pc-proto .file-row__badge[data-tone=modified]{color:#E8C06B;background:rgba(232,192,107,.14)}.pc-proto .file-row__badge[data-tone=new]{color:#8BCF9A;background:rgba(46,160,67,.14)}.pc-proto .file-row__badge[data-tone=staged]{color:#7FB4FF;background:rgba(47,107,255,.16)}.pc-proto .file-row__badge[data-tone=conflict]{color:#E5877E;background:rgba(248,81,73,.16)}.pc-proto .snip-group__save{border:0;background:none;color:var(--b-500,#2F6BFF);font-size:var(--text-2xs,10px);cursor:pointer}.pc-proto .snip-group__save:disabled{color:var(--text-tertiary);cursor:default}.pc-proto .snip-row--saved{display:flex;align-items:stretch;gap:0}.pc-proto .snip-row--saved .snip-row__insert{flex:1 1 auto;min-width:0;display:flex;align-items:center;gap:var(--sp-2);border:0;background:none;font:inherit;text-align:left;cursor:pointer}.pc-proto .snip-row__remove{flex:0 0 auto;border:0;background:none;color:var(--text-tertiary);cursor:pointer}.pc-proto .snip-row__remove:hover{color:#E5877E}.pc-proto .term__ok{color:#8BCF9A}.pc-proto .term__dim{color:#7E8592}.pc-proto .snip-group{overflow:hidden;background:var(--surface);border:1px solid var(--border-subtle);border-radius:var(--r-lg)}.pc-proto .snip-group__head{display:flex;align-items:center;justify-content:space-between;padding:var(--sp-3) var(--sp-4);background:var(--surface-sunken);border-bottom:1px solid var(--border-subtle)}.pc-proto .snip-group__label{display:inline-flex;align-items:center;gap:6px;color:var(--text-secondary);font-size:10px;font-weight:800;text-transform:uppercase}.pc-proto .snip-group__count{color:var(--text-tertiary);font-family:var(--font-mono);font-size:10px}.pc-proto .snip-row{display:flex;align-items:center;gap:var(--sp-3);width:100%;min-width:0;padding:7px 10px;border-bottom:1px solid var(--border-subtle);text-align:left}.pc-proto .snip-row:last-child{border-bottom:0}.pc-proto .snip-row:hover{background:var(--surface-hover)}.pc-proto .snip-row__name{min-width:84px;max-width:96px;color:var(--text-primary);font-weight:700}.pc-proto .snip-row__cmd,.pc-proto .snip-row__name{overflow:hidden;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.pc-proto .snip-row__cmd{flex:1 1;min-width:0;color:var(--text-secondary);font-family:var(--font-mono)}.pc-proto .snip-row__tag{padding:1px 6px;background:var(--info-bg);border-radius:var(--r-sm);color:var(--info-fg);font-family:var(--font-mono);font-size:9px;font-weight:800;text-transform:uppercase}.pc-proto .ctx-summary{display:flex;align-items:center;gap:var(--sp-5);padding:var(--sp-5);background:var(--surface);border:1px solid var(--border-subtle);border-radius:var(--r-lg)}.pc-proto .ctx-ring{position:relative;width:80px;height:80px;flex-shrink:0}.pc-proto .ctx-ring svg{transform:rotate(-90deg)}.pc-proto .ctx-ring__track{stroke:var(--border-subtle)}.pc-proto .ctx-ring__fill{stroke:var(--b-500)}.pc-proto .ctx-ring__center{position:absolute;inset:0;display:grid;place-items:center;color:var(--text-primary);font-family:var(--font-mono);font-size:13px;font-weight:800}.pc-proto .ctx-summary__body{flex:1 1;min-width:0}.pc-proto .ctx-summary__title{color:var(--text-primary);font-size:12px;font-weight:700}.pc-proto .ctx-summary__meta{margin-top:2px;color:var(--text-tertiary);font-family:var(--font-mono);font-size:11px}.pc-proto .ctx-summary__split{display:flex;gap:var(--sp-4);margin-top:var(--sp-3)}.pc-proto .ctx-summary__split-cell{flex:1 1;min-width:0}.pc-proto .ctx-summary__split-label{color:var(--text-tertiary);font-size:10px;font-weight:700;text-transform:uppercase}.pc-proto .ctx-summary__split-value{overflow:hidden;color:var(--text-primary);font-family:var(--font-mono);font-size:12px;font-weight:700;text-overflow:ellipsis;white-space:nowrap}.pc-proto .ctx-group{overflow:hidden;background:var(--surface);border:1px solid var(--border-subtle);border-radius:var(--r-lg)}.pc-proto .ctx-group__head{display:flex;align-items:center;justify-content:space-between;padding:var(--sp-3) var(--sp-4);background:var(--surface-sunken);border-bottom:1px solid var(--border-subtle)}.pc-proto .ctx-group__title{color:var(--text-secondary);font-size:10px;font-weight:800;text-transform:uppercase}.pc-proto .ctx-group__count{color:var(--text-tertiary);font-family:var(--font-mono);font-size:10px}.pc-proto .ctx-item{display:flex;align-items:center;gap:var(--sp-3);width:100%;min-width:0;padding:7px var(--sp-4);border-bottom:1px solid var(--border-subtle);font-size:12px;text-align:left}.pc-proto .ctx-item:hover{background:var(--surface-hover)}.pc-proto .ctx-item:last-child{border-bottom:0}.pc-proto .ctx-item__icon{color:var(--text-tertiary);flex-shrink:0}.pc-proto .ctx-item__name{flex:1 1;min-width:0;overflow:hidden;color:var(--text-primary);font-family:var(--font-mono);text-overflow:ellipsis;white-space:nowrap}.pc-proto .ctx-item__tokens{color:var(--text-tertiary);font-family:var(--font-mono);font-size:10px;flex-shrink:0}.pc-proto .subagent-empty{padding:var(--sp-3) var(--sp-4);color:var(--text-tertiary);font-size:var(--text-xs)}.pc-proto .subagent-row{display:flex;align-items:flex-start;gap:var(--sp-2);min-width:0;padding:var(--sp-3) var(--sp-4);border-top:1px solid var(--border-subtle)}.pc-proto .subagent-row__dot{width:8px;height:8px;flex:0 0 auto;margin-top:5px;border-radius:var(--r-full);background:var(--text-tertiary)}.pc-proto .subagent-row[data-status=running] .subagent-row__dot{background:var(--warning-fg);box-shadow:0 0 0 3px var(--warning-bg)}.pc-proto .subagent-row[data-status=completed] .subagent-row__dot{background:var(--success-fg)}.pc-proto .subagent-row__body{flex:1 1 auto;min-width:0}.pc-proto .subagent-row__main{display:flex;align-items:center;gap:var(--sp-2);min-width:0}.pc-proto .subagent-row__type{flex:0 0 auto;padding:1px var(--sp-2);border-radius:var(--r-full);background:var(--surface-sunken);color:var(--text-secondary);font-size:10px;font-weight:700}.pc-proto .subagent-row__title{min-width:0;overflow:hidden;color:var(--text-primary);font-size:var(--text-xs);font-weight:600;text-overflow:ellipsis;white-space:nowrap}.pc-proto .subagent-row__preview{margin-top:2px;overflow:hidden;color:var(--text-tertiary);font-size:var(--text-2xs);text-overflow:ellipsis;white-space:nowrap}.pc-proto .subagent-row__status{flex:0 0 auto;color:var(--text-tertiary);font-size:10px;font-weight:700}.pc-proto .subagent-row[data-status=running] .subagent-row__status{color:var(--warning-fg)}.pc-proto .subagent-row[data-status=completed] .subagent-row__status{color:var(--success-fg)}.pc-proto .chist{display:flex;flex-direction:column;gap:var(--sp-4)}.pc-proto .chist__head{display:flex;align-items:center;justify-content:space-between;gap:var(--sp-4)}.pc-proto .chist__title{display:inline-flex;align-items:center;gap:6px;font-size:11px;font-weight:700;color:var(--text-secondary);text-transform:uppercase}.pc-proto .chist__meta,.pc-proto .chist__title svg{color:var(--text-tertiary)}.pc-proto .chist__meta{font-size:10px;font-family:var(--font-mono)}.pc-proto .chist__list{display:flex;flex-direction:column;gap:var(--sp-3)}.pc-proto .chturn{background:var(--surface);border:1px solid var(--border-subtle);border-radius:var(--r-lg);overflow:hidden}.pc-proto .chturn:hover{border-color:var(--border-default)}.pc-proto .chturn[data-open=true]{border-color:var(--b-200);box-shadow:0 0 0 1px var(--b-200),var(--shadow-sm)}html[data-theme=dark] .pc-proto .chturn[data-open=true]{border-color:var(--b-700);box-shadow:0 0 0 1px var(--b-700)}.pc-proto .chturn__preview{display:flex;align-items:flex-start;gap:var(--sp-3);width:100%;padding:9px 10px;text-align:left}.pc-proto .chturn__avatar{width:22px;height:22px;border-radius:50%;background:linear-gradient(135deg,#FFB74D,#F57C00);display:grid;place-items:center;color:#fff;font-size:10px;font-weight:700;flex-shrink:0;margin-top:1px}.pc-proto .chturn__body{display:flex;flex-direction:column;flex:1 1;min-width:0}.pc-proto .chturn__meta{display:flex;align-items:center;gap:var(--sp-3);margin-bottom:2px;min-width:0}.pc-proto .chturn__name{font-size:11px;font-weight:700;color:var(--text-primary)}.pc-proto .chturn__time{font-size:10px;color:var(--text-tertiary);font-family:var(--font-mono)}.pc-proto .chturn__pill{display:inline-flex;align-items:center;gap:4px;height:14px;padding:0 6px;border-radius:var(--r-full);background:var(--info-bg);color:var(--info-fg);font-size:9px;font-weight:700;font-family:var(--font-mono)}.pc-proto .chturn__pill-dot{width:4px;height:4px;border-radius:50%;background:currentColor}.pc-proto .chturn__pill--ok{background:var(--success-bg);color:var(--success-fg)}.pc-proto .chturn__pill--run .chturn__pill-dot{animation:msb-pulse 1.6s infinite}.pc-proto .chturn__text{display:-webkit-box;overflow:hidden;color:var(--text-secondary);font-size:12.5px;line-height:1.5;-webkit-box-orient:vertical;-webkit-line-clamp:2}.pc-proto .chturn[data-open=true] .chturn__text{color:var(--text-primary);-webkit-line-clamp:unset}.pc-proto .chturn__caret{color:var(--text-tertiary);flex-shrink:0;margin-top:3px}.pc-proto .chturn[data-open=true] .chturn__caret{transform:rotate(90deg);color:var(--b-600)}.pc-proto .chturn__expanded{display:none;padding:var(--sp-4) 10px var(--sp-4) 40px;border-top:1px dashed var(--border-subtle);background:var(--surface-sunken)}.pc-proto .chturn[data-open=true] .chturn__expanded{display:block}.pc-proto .chturn__agent-head{display:flex;align-items:center;gap:var(--sp-3);margin-bottom:var(--sp-3)}.pc-proto .chturn__agent-avatar{width:18px;height:18px;border-radius:50%;color:#fff;display:grid;place-items:center;font-size:9px;font-weight:700}.pc-proto .chturn__agent-avatar .provider-logo{width:10px;height:10px}.pc-proto .chturn__agent-label{font-size:10px;font-weight:700;color:var(--text-secondary);text-transform:uppercase}.pc-proto .chturn__agent-label strong{color:var(--text-primary)}.pc-proto .chturn__agent-final{padding:1px 6px;border-radius:var(--r-sm);background:var(--success-bg);color:var(--success-fg);font-size:9px;font-weight:700;text-transform:uppercase;font-family:var(--font-mono)}.pc-proto .chturn__agent-text{max-height:120px;overflow:auto;margin-bottom:var(--sp-4);padding-right:4px;color:var(--text-primary);font-size:12.5px;line-height:1.55}.pc-proto .chturn__actions{display:flex;flex-wrap:wrap;gap:var(--sp-2)}.pc-proto .chturn__btn{display:inline-flex;align-items:center;gap:5px;padding:4px 10px;background:var(--surface);border:1px solid var(--border-subtle);border-radius:var(--r-full);font-size:11px;font-weight:600;color:var(--text-secondary)}.pc-proto .chturn__btn:hover{background:var(--b-50);border-color:var(--b-200);color:var(--b-700)}.pc-proto .ws__footer{padding:var(--sp-4) var(--sp-5);background:var(--surface);border-top:1px solid var(--border-subtle)}.pc-proto .ws__footer-meta,.pc-proto .ws__footer-row{display:flex;justify-content:space-between;gap:var(--sp-4)}.pc-proto .ws__footer-row{font-size:11px;margin-bottom:var(--sp-3)}.pc-proto .ws__footer-label,.pc-proto .ws__footer-meta{color:var(--text-tertiary)}.pc-proto .ws__footer-value{font-weight:700;font-family:var(--font-mono)}.pc-proto .ws__footer-bar{height:4px;background:var(--surface-sunken);border-radius:var(--r-full);overflow:hidden}.pc-proto .ws__footer-fill{height:100%;background:linear-gradient(90deg,var(--b-400),var(--b-600))}.pc-proto .ws__footer-meta{margin-top:var(--sp-2);font-size:10px;font-family:var(--font-mono)}.pc-proto .overlay{position:absolute;z-index:40;display:none}.pc-file-preview-overlay,.pc-proto .overlay{inset:0;align-items:center;justify-content:center;padding:var(--sp-8);background:rgba(15,17,23,.44);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}.pc-file-preview-overlay{position:fixed;z-index:1000;display:flex}.pc-file-preview-card{display:flex;flex-direction:column;width:92%;max-width:1040px;height:88%;overflow:hidden;background:var(--surface);border-radius:var(--r-xl);box-shadow:var(--shadow-xl)}.pc-file-preview-state{display:flex;align-items:center;justify-content:center;gap:var(--sp-3);height:100%;color:var(--text-secondary);font-size:13px}.pc-file-preview-spin{animation:pc-spin 1s linear infinite}.pc-file-preview-blocked{display:flex;flex-direction:column;gap:var(--sp-3);padding:var(--sp-8)}.pc-file-preview-blocked__head{display:flex;align-items:center;gap:var(--sp-3);font-weight:600;color:var(--text-primary)}.pc-file-preview-close{margin-left:auto;display:grid;place-items:center;width:22px;height:22px;border-radius:var(--r-full);color:var(--text-secondary)}.pc-file-preview-close:hover{background:var(--surface-hover);color:var(--text-primary)}.pc-proto[data-preview=open] .overlay{display:flex}.pc-proto .preview-frame{display:flex;flex-direction:column;width:92%;max-width:1040px;height:88%;overflow:hidden;background:var(--surface);border-radius:var(--r-xl);box-shadow:var(--shadow-xl)}.pc-proto .preview-topbar{display:flex;align-items:center;gap:var(--sp-3);padding:8px 10px;background:var(--surface-sunken);border-bottom:1px solid var(--border-subtle);flex-shrink:0}.pc-proto .preview-topbar__nav{display:flex;gap:var(--sp-1)}.pc-proto .preview-topbar__btn{display:grid;place-items:center;width:26px;height:26px;border-radius:var(--r-md);color:var(--text-secondary)}.pc-proto .preview-topbar__btn:hover{background:var(--surface-hover);color:var(--text-primary)}.pc-proto .preview-url{display:flex;align-items:center;gap:6px;flex:1 1;min-width:0;padding:5px 10px;background:var(--surface);border:1px solid var(--border-subtle);border-radius:var(--r-md);color:var(--text-secondary);font-family:var(--font-mono);font-size:11px}.pc-proto .preview-url__protocol{color:var(--success-fg)}.pc-proto .preview-url__target{flex:1 1;min-width:0;overflow:hidden;color:var(--text-primary);text-overflow:ellipsis;white-space:nowrap}.pc-proto .preview-url__meta{color:var(--text-tertiary);font-size:10px}.pc-proto .preview-device{display:inline-flex;padding:2px;background:var(--surface-sunken);border:1px solid var(--border-subtle);border-radius:var(--r-md)}.pc-proto .preview-device button{padding:3px 8px;border-radius:var(--r-sm);color:var(--text-secondary);font-family:var(--font-mono);font-size:10px}.pc-proto .preview-device button[aria-pressed=true]{background:var(--surface);color:var(--text-primary);box-shadow:var(--shadow-xs)}.pc-proto .preview-canvas{position:relative;display:grid;place-items:center;flex:1 1;overflow:auto;background-color:var(--surface-sunken);background-image:linear-gradient(45deg,var(--border-subtle) 25%,transparent 25%,transparent 75%,var(--border-subtle) 75%),linear-gradient(45deg,var(--border-subtle) 25%,transparent 25%,transparent 75%,var(--border-subtle) 75%);background-position:0 0,8px 8px;background-size:16px 16px}.pc-proto .preview-viewport{display:grid;place-items:stretch;width:min(90%,960px);height:86%;overflow:hidden;background:#fff;border-radius:var(--r-md);box-shadow:var(--shadow-lg);transform-origin:center center}.pc-proto .preview-canvas[data-preview-size="768"] .preview-viewport{width:min(76%,720px)}.pc-proto .preview-canvas[data-preview-size="390"] .preview-viewport{width:min(42%,390px);min-width:280px}.pc-proto .preview-iframe{width:100%;height:100%;border:0;background:#fff}.pc-proto .preview-empty{display:grid;place-items:center;padding:var(--sp-6);color:var(--text-tertiary);font-size:var(--text-sm);text-align:center}.pc-proto .preview-image-wrap{display:grid;place-items:center;overflow:auto;background:linear-gradient(45deg,#eee 25%,transparent 0,transparent 75%,#eee 0),linear-gradient(45deg,#eee 25%,transparent 0,transparent 75%,#eee 0);background-position:0 0,8px 8px;background-size:16px 16px}.pc-proto .preview-image{max-width:100%;max-height:100%}.pc-proto .preview-url__port{width:64px;border:0;background:none;color:inherit;font:inherit;outline:none}.pc-proto .preview-mode-toggle{display:inline-flex;gap:2px;padding:2px;border:1px solid var(--border-subtle);border-radius:var(--r-full)}.pc-proto .preview-mode-toggle button{display:inline-flex;align-items:center;gap:4px;padding:3px 10px;border:0;border-radius:var(--r-full);background:none;color:var(--text-tertiary);font-size:var(--text-2xs,10px);cursor:pointer}.pc-proto .preview-mode-toggle button[aria-pressed=true]{background:var(--surface);color:var(--text-primary);box-shadow:var(--shadow-xs)}.pc-proto .preview-controls{position:absolute;right:18px;bottom:18px;display:inline-flex;align-items:center;gap:1px;padding:4px;background:rgba(255,255,255,.92);border:1px solid var(--border-subtle);border-radius:var(--r-full);box-shadow:var(--shadow-md)}.pc-proto .preview-controls button{display:grid;place-items:center;width:28px;height:28px;border-radius:var(--r-full);color:var(--text-secondary)}.pc-proto .preview-controls button:hover{background:var(--surface-hover);color:var(--text-primary)}.pc-proto .preview-controls__zoom{display:grid;place-items:center;padding:0 6px;color:var(--text-secondary);font-family:var(--font-mono);font-size:10px}.pc-proto .preview-controls__sep{width:1px;height:20px;margin:4px 2px;background:var(--border-subtle)}.pc-proto .preview-dock-wrap{position:absolute;right:var(--sp-8);bottom:calc(var(--pc-composer-height, 226px) + var(--sp-8));z-index:20;display:none;pointer-events:none}.pc-proto[data-preview=dock] .preview-dock-wrap{display:block;pointer-events:auto}.pc-proto[data-workspace=open][data-preview=dock] .preview-dock-wrap{right:calc(420px + var(--sp-8))}.pc-proto .preview-dock{display:inline-flex;align-items:center;gap:6px;max-width:280px;padding:4px 6px 4px 4px;background:var(--surface);border:1px solid var(--border-default);border-radius:var(--r-full);box-shadow:var(--shadow-md)}.pc-proto .preview-dock__thumb{width:24px;height:24px;border-radius:var(--r-full);background:linear-gradient(135deg,var(--b-500),var(--b-700));flex-shrink:0}.pc-proto .preview-dock__name{overflow:hidden;color:var(--text-primary);font-size:12px;font-weight:700;text-overflow:ellipsis;white-space:nowrap}.pc-proto .preview-dock__meta{padding:0 6px;border-left:1px solid var(--border-subtle);color:var(--text-tertiary);font-family:var(--font-mono);font-size:10px}.pc-proto .preview-dock__btn{position:relative;display:grid;place-items:center;width:22px;height:22px;border-radius:var(--r-full);color:var(--text-secondary)}.pc-proto .preview-dock__btn:hover{background:var(--surface-hover);color:var(--text-primary)}.pc-proto .preview-dock__btn--live:after{content:"";position:absolute;top:2px;right:2px;width:6px;height:6px;background:var(--success-fg);border-radius:50%;box-shadow:0 0 0 2px var(--surface)}.pc-proto .pc-toast{position:absolute;right:var(--sp-8);bottom:var(--sp-8);z-index:60;max-width:min(320px,calc(100% - 48px));padding:7px 12px;background:var(--surface);border:1px solid var(--border-default);border-radius:var(--r-full);box-shadow:var(--shadow-md);color:var(--text-primary);font-size:12px;font-weight:700}.pc-proto .msg--highlight{position:relative}.pc-proto .msg--highlight:before{content:"";position:absolute;inset:-8px -12px;border:2px solid var(--b-500);border-radius:var(--r-lg);pointer-events:none;animation:pc-highlight 1.8s ease-out}@keyframes pc-highlight{0%{opacity:0;transform:scale(1.03)}15%{opacity:1;transform:scale(1.01)}to{opacity:0;transform:scale(1)}}@keyframes pc-spin{to{transform:rotate(1turn)}}.pc-proto .cmd-badge{display:inline-flex;align-items:center;gap:5px;padding:2.5px 8px 2.5px 7px;border-radius:999px;font-size:11px;font-weight:700;font-family:var(--font-mono);letter-spacing:.01em;line-height:1;white-space:nowrap;position:relative;flex-shrink:0;vertical-align:middle;background:var(--tone-bg);color:var(--tone-fg);border:0}.pc-proto .cmd-badge[data-clickable=true]{cursor:pointer;transition:transform var(--t-fast),box-shadow var(--t-fast)}.pc-proto .cmd-badge[data-clickable=true]:focus-visible,.pc-proto .cmd-badge[data-clickable=true]:hover{transform:translateY(-1px);box-shadow:var(--shadow-sm);z-index:30;outline:0}.pc-proto .cmd-badge[data-open=true]{box-shadow:0 0 0 2px var(--b-500),var(--shadow-sm);z-index:30}.pc-proto .cmd-badge[data-tone=read]{--tone-fg:var(--tone-read-fg);--tone-bg:var(--tone-read-bg)}.pc-proto .cmd-badge[data-tone=write]{--tone-fg:var(--tone-write-fg);--tone-bg:var(--tone-write-bg)}.pc-proto .cmd-badge[data-tone=edit]{--tone-fg:var(--tone-edit-fg);--tone-bg:var(--tone-edit-bg)}.pc-proto .cmd-badge[data-tone=shell]{--tone-fg:var(--tone-shell-fg);--tone-bg:var(--tone-shell-bg)}.pc-proto .cmd-badge[data-tone=list]{--tone-fg:var(--tone-list-fg);--tone-bg:var(--tone-list-bg)}.pc-proto .cmd-badge[data-tone=glob]{--tone-fg:var(--tone-glob-fg);--tone-bg:var(--tone-glob-bg)}.pc-proto .cmd-badge[data-tone=search]{--tone-fg:var(--tone-search-fg);--tone-bg:var(--tone-search-bg)}.pc-proto .cmd-badge[data-tone=net]{--tone-fg:var(--tone-net-fg);--tone-bg:var(--tone-net-bg)}.pc-proto .cmd-badge[data-tone=pkg]{--tone-fg:var(--tone-pkg-fg);--tone-bg:var(--tone-pkg-bg)}.pc-proto .cmd-badge[data-tone=build]{--tone-fg:var(--tone-build-fg);--tone-bg:var(--tone-build-bg)}.pc-proto .cmd-badge[data-tone=test]{--tone-fg:var(--tone-test-fg);--tone-bg:var(--tone-test-bg)}.pc-proto .cmd-badge[data-tone=git]{--tone-fg:var(--tone-git-fg);--tone-bg:var(--tone-git-bg)}.pc-proto .cmd-badge[data-tone=docker]{--tone-fg:var(--tone-docker-fg);--tone-bg:var(--tone-docker-bg)}.pc-proto .cmd-badge[data-tone=destroy]{--tone-fg:var(--tone-destroy-fg);--tone-bg:var(--tone-destroy-bg)}.pc-proto .cmd-badge[data-tone=think]{--tone-fg:var(--tone-think-fg);--tone-bg:var(--tone-think-bg)}.pc-proto .cmd-badge[data-tone=todo]{--tone-fg:var(--tone-todo-fg);--tone-bg:var(--tone-todo-bg)}.pc-proto .cmd-badge[data-tone=agent]{--tone-fg:var(--tone-agent-fg);--tone-bg:var(--tone-agent-bg)}.pc-proto .cmd-badge[data-tone=cmd]{--tone-fg:var(--tone-cmd-fg);--tone-bg:var(--tone-cmd-bg)}.pc-proto .cmd-badge[data-running=true]:after{content:"";position:absolute;inset:-3px;border-radius:999px;border:1.5px dashed;opacity:.6;pointer-events:none;animation:cmdBadgePulse 1.6s ease-out infinite}@keyframes cmdBadgePulse{0%{opacity:.55;transform:scale(.92)}to{opacity:0;transform:scale(1.1)}}.pc-proto .cmd-badge[data-error=true]:before{content:"";position:absolute;top:-2px;right:-2px;width:7px;height:7px;border-radius:50%;background:var(--danger-fg);border:2px solid var(--surface)}.pc-proto .cmd-file-chip{display:inline-flex;align-items:center;gap:4px;padding:1px 6px;background:var(--surface-sunken);border:1px solid var(--border-subtle);border-radius:3px;font-family:var(--font-mono);font-size:10.8px;color:var(--text-primary);line-height:1.35;max-width:36ch;cursor:pointer;vertical-align:middle;flex-shrink:0}.pc-proto .cmd-file-chip:hover{background:var(--surface-hover);border-color:var(--border-default)}.pc-proto .cmd-file-chip:focus-visible{outline:2px solid var(--b-500);outline-offset:1px}.pc-proto .cmd-file-chip:disabled{cursor:default;opacity:.85}.pc-proto .cmd-file-chip__name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.pc-proto .cmd-file-chip[data-variant=code] svg{color:var(--tone-read-fg)}.pc-proto .cmd-file-chip[data-variant=folder] svg{color:var(--b-500)}.pc-proto .cmd-file-chip[data-variant=config] svg{color:var(--warning-fg)}.pc-proto .cmd-file-chip[data-variant=shell] svg{color:var(--success-fg)}.pc-proto .cmd-file-chip[data-variant=other] svg{color:var(--text-tertiary)}.pc-proto .cmd-density-toggle{display:inline-flex;align-items:center;background:var(--surface);border:1px solid var(--border-default);border-radius:999px;padding:3px;gap:2px}.pc-proto .cmd-density-toggle button{font:inherit;font-size:12px;font-weight:600;color:var(--text-secondary);background:transparent;border:0;padding:5px 12px;border-radius:999px;cursor:pointer;transition:all var(--t-fast)}.pc-proto .cmd-density-toggle button:hover{color:var(--text-primary)}.pc-proto .cmd-density-toggle button[aria-selected=true]{background:var(--surface-sunken);color:var(--b-600);box-shadow:inset 0 0 0 1px rgba(47,107,255,.36)}.pc-proto .ch-context-menu{position:absolute;top:calc(100% + 6px);right:0;min-width:240px;background:var(--surface);border:1px solid var(--border-default);border-radius:10px;padding:6px;box-shadow:0 12px 32px rgba(15,17,23,.16),0 0 0 1px rgba(15,17,23,.06);z-index:60;display:flex;flex-direction:column;gap:8px}.pc-proto .ch-context-menu__section{display:flex;flex-direction:column;gap:4px}.pc-proto .ch-context-menu__label{padding:4px 10px 2px;font-size:10.5px;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:var(--text-tertiary)}.pc-proto .ch-density-menu{display:flex;flex-direction:column;gap:2px}.pc-proto .ch-density-menu__item{display:flex;align-items:center;gap:10px;padding:7px 10px;border-radius:6px;background:transparent;border:0;cursor:pointer;font:inherit;color:var(--text-primary);text-align:left;transition:background var(--t-fast)}.pc-proto .ch-density-menu__item:focus-visible,.pc-proto .ch-density-menu__item:hover{background:var(--surface-sunken);outline:0}.pc-proto .ch-density-menu__item.is-active{background:var(--surface-sunken)}.pc-proto .ch-density-menu__icon{width:22px;height:22px;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;color:var(--text-secondary)}.pc-proto .ch-density-menu__item.is-active .ch-density-menu__icon{color:var(--b-600)}.pc-proto .ch-density-menu__main{display:flex;flex-direction:column;min-width:0;flex:1 1}.pc-proto .ch-density-menu__label{font-size:12.5px;font-weight:600;color:var(--text-primary)}.pc-proto .ch-density-menu__hint{font-size:10.8px;color:var(--text-tertiary);font-family:var(--font-mono)}.pc-proto .ch-density-menu__check{width:16px;height:16px;display:inline-flex;align-items:center;justify-content:center;color:var(--b-600);flex-shrink:0}.pc-proto .cmd-mini-stack{display:flex;flex-direction:column;gap:6px}.pc-proto .cmd-mini-stack__row{display:flex;align-items:center;flex-wrap:wrap;gap:4px 6px;padding:4px 0}.pc-proto .cmd-mini-stack__label{font-size:11px;font-weight:600;letter-spacing:.04em;color:var(--text-tertiary);margin-left:8px;font-family:var(--font-mono)}.pc-proto .cmd-mini-stack__inline{margin-top:6px}.pc-proto .cmd-mini-badge-wrap{position:relative}.pc-proto .cmd-mini-pop{position:absolute;bottom:calc(100% + 8px);left:50%;transform:translateX(-50%);background:var(--surface);border:1px solid var(--border-default);border-radius:6px;padding:8px 12px;display:grid;grid-gap:4px;gap:4px;min-width:240px;max-width:420px;box-shadow:0 8px 24px rgba(15,17,23,.12),0 0 0 1px rgba(15,17,23,.06);z-index:50;white-space:nowrap;pointer-events:none;opacity:0;transition:opacity var(--t-fast)}.pc-proto .cmd-mini-badge-wrap:focus-within .cmd-mini-pop,.pc-proto .cmd-mini-badge-wrap:hover .cmd-mini-pop{opacity:1}.pc-proto .cmd-mini-pop__meta{font-size:10.5px;color:var(--text-tertiary);font-family:var(--font-mono)}.pc-proto .ch-context-menu__section--divider{margin-top:4px;padding-top:8px;border-top:1px solid var(--border-subtle)}.files-head{padding:var(--sp-8) var(--sp-10);border-bottom:1px solid var(--border-subtle);gap:var(--sp-6);background:var(--surface);flex-shrink:0}.files-head,.files-search{display:flex;align-items:center}.files-search{gap:var(--sp-3);padding:var(--sp-3) var(--sp-6);background:var(--surface-sunken);border:1px solid var(--border-subtle);border-radius:var(--r-sm);flex:1 1;max-width:360px}.files-search input{flex:1 1;min-width:0;border:0;outline:0;background:transparent;font-size:var(--text-xs)}.files-chips{display:flex;gap:var(--sp-2);margin-left:auto;overflow-x:auto}.files-chip{display:inline-flex;align-items:center;padding:3px 10px;border-radius:var(--r-full);background:var(--surface);border:1px solid var(--border-subtle);font-size:var(--text-2xs);color:var(--text-secondary);white-space:nowrap}.files-chip--active{background:var(--b-50);border-color:var(--b-200);color:var(--b-700);font-weight:600}.files-body{display:grid;grid-template-columns:260px minmax(0,1fr) 280px;flex:1 1;min-height:0;overflow:hidden}.m-main-scroll--files{display:flex;flex-direction:column;padding:0}.files-tree{border-right:1px solid var(--border-subtle);background:var(--surface-sunken);padding:var(--sp-6) var(--sp-4);overflow-y:auto;min-width:0}.files-tree__group{font-size:var(--text-2xs);font-weight:600;color:var(--text-tertiary);letter-spacing:0;text-transform:uppercase;padding:var(--sp-4) var(--sp-4) var(--sp-2)}.files-tree__group--system{margin-top:10px}.files-node{width:100%;display:flex;align-items:center;gap:var(--sp-3);padding:4px var(--sp-4);border-radius:var(--r-xs);font-size:var(--text-xs);color:var(--text-secondary);min-width:0}.files-node:hover{background:var(--surface-hover);color:var(--text-primary)}.files-node svg{flex-shrink:0;color:var(--text-tertiary)}.files-node--dir svg{color:var(--b-600)}.files-node--active{background:var(--b-50);color:var(--b-700);font-weight:600}.files-node__name{flex:1 1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:left}.files-node__count{font-size:var(--text-2xs);color:var(--text-tertiary);font-family:var(--font-mono)}.files-list{overflow-y:auto;background:var(--surface);min-width:0}.files-list__head,.files-row{display:grid;grid-template-columns:minmax(0,1fr) 120px 80px 80px;grid-gap:var(--sp-4);gap:var(--sp-4);align-items:center}.files-list__head{padding:var(--sp-4) var(--sp-10);border-bottom:1px solid var(--border-subtle);font-size:var(--text-2xs);font-weight:600;color:var(--text-tertiary);letter-spacing:0;text-transform:uppercase;background:var(--surface-sunken)}.files-list__head span:nth-child(3),.files-list__head span:nth-child(4){text-align:right}.files-row{width:100%;padding:var(--sp-4) var(--sp-10);border-bottom:1px solid var(--border-subtle);font-size:var(--text-xs);text-align:left}.files-row:hover{background:var(--surface-hover)}.files-row--active{background:var(--b-50)}.files-row__name{display:flex;align-items:center;gap:var(--sp-3);min-width:0}.files-row__name svg{flex-shrink:0;color:var(--text-tertiary)}.files-row__name span{color:var(--text-primary);font-size:11.5px}.files-row__name span,.files-row__small{font-family:var(--font-mono);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.files-row__small{font-size:var(--text-2xs);color:var(--text-tertiary);text-align:right}.files-row__small--left{text-align:left}.files-preview{border-left:1px solid var(--border-subtle);background:var(--surface-sunken);padding:var(--sp-10);overflow-y:auto;display:flex;flex-direction:column;gap:var(--sp-6);min-width:0}.files-prev-thumb{aspect-ratio:16/10;border-radius:var(--r-sm);background:linear-gradient(135deg,var(--b-500),var(--b-700));position:relative;overflow:hidden}.files-prev-thumb:before{content:"";position:absolute;inset:20% 20% 28% 26%;background:rgba(255,255,255,.22);border-radius:var(--r-xs)}.files-prev-thumb:after{content:"";position:absolute;left:30%;right:34%;top:30%;height:3px;background:rgba(255,255,255,.55);border-radius:2px;box-shadow:0 8px 0 rgba(255,255,255,.35),0 16px 0 rgba(255,255,255,.2)}.files-prev-name{font-size:var(--text-sm);font-weight:600;color:var(--text-primary)}.files-prev-name,.files-prev-path{font-family:var(--font-mono);overflow-wrap:anywhere}.files-prev-path{font-size:var(--text-2xs);color:var(--text-tertiary);margin-top:2px}.files-prev-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:var(--sp-4);gap:var(--sp-4);padding:var(--sp-4) 0;border-top:1px dashed var(--border-subtle);border-bottom:1px dashed var(--border-subtle)}.files-prev-fact-label{font-size:9px;color:var(--text-tertiary);letter-spacing:0;text-transform:uppercase;font-weight:600}.files-prev-fact-val{font-size:var(--text-xs);color:var(--text-primary);font-family:var(--font-mono);font-weight:600;margin-top:2px;min-width:0;overflow:hidden;text-overflow:ellipsis}.files-prev-actions{display:flex;flex-direction:column;gap:var(--sp-3)}