.pg{flex-direction:column;height:100dvh;display:flex}.pg-loading{color:var(--muted);padding:40px 24px}.pg-header{border-bottom:1px solid var(--divider);flex-wrap:wrap;align-items:center;gap:12px;min-height:64px;padding:8px 20px;display:flex}.pg-title{flex-direction:column;min-width:0;display:flex}.pg-name{font:inherit;color:var(--text);background:0 0;border:1px solid #0000;border-radius:6px;max-width:320px;margin-left:-5px;padding:0 4px;font-size:16.5px;font-weight:750}.pg-name:hover:not(:disabled),.pg-name:focus{border-color:var(--border-strong);outline:0}.pg-subline{color:var(--muted);font-size:12.5px}.pg-closes{color:var(--warn)}.pg-closed{color:var(--stop)}.pg-people{margin:0 0 0 12px;padding:0;list-style:none;display:flex}.pg-people li{border:2px solid var(--ground);border-radius:15px;justify-content:center;align-items:center;width:30px;height:30px;font-size:12.5px;font-weight:800;display:flex}.pg-people li+li{margin-left:-8px}.pg-spacer{flex:1}.pg-status{color:var(--muted);border-bottom:1px solid var(--divider);padding:4px 20px;font-size:12.5px}.pg-notice{background:var(--warn-bg);border-bottom:1px solid var(--warn-border);color:var(--body);align-items:center;gap:12px;padding:8px 20px;font-size:14px;display:flex}.pg-notice span{flex:1}.pg-notice .icon-button{background:0 0;width:32px;height:32px}.pg-work{flex:1;grid-template-rows:minmax(0,1fr);grid-template-columns:230px minmax(0,1fr) 380px;min-height:0;display:grid}.pg-tree{border-right:1px solid var(--divider);background:var(--rail);font-family:var(--mono);flex-direction:column;gap:2px;min-height:0;padding:10px 8px;font-size:13.5px;display:flex;overflow-y:auto}.pg-tree-wrap{flex-direction:column;gap:6px;display:flex}.pg-tree-search input{width:100%;font:inherit;font-family:var(--sans);color:var(--text);background:var(--ground);border:1px solid var(--border);border-radius:8px;padding:6px 10px;font-size:13.5px}.pg-file-list{flex-direction:column;gap:2px;display:flex}.pg-tree-row{padding-left:calc(var(--pg-depth,0) * 14px);color:var(--soft);border-radius:8px;align-items:center;display:flex;position:relative}.pg-tree-row:hover{background:#121a24}.pg-tree-row.pg-file-active{background:var(--select-bg);color:var(--text)}.pg-tree-open{text-align:left;min-width:0;height:34px;font-family:var(--mono);flex:1;align-items:center;gap:8px;padding:0 6px 0 10px;font-size:13.5px;display:flex}.pg-tree-open .file-badge{border-radius:5px;width:20px;height:20px;font-size:9px}.pg-tree-name{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.pg-entry-badge{font-family:var(--sans);color:var(--muted);border:1px solid var(--border-strong);border-radius:6px;margin-left:auto;padding:0 5px;font-size:10.5px;font-weight:700}.pg-presence-dot{border-radius:4px;flex:none;width:8px;height:8px}.pg-entry-badge+.pg-presence-dot{margin-left:4px}.pg-tree-open .pg-presence-dot:not(.pg-entry-badge+.pg-presence-dot){margin-left:auto}.pg-tree-menu-button{width:28px;height:28px;color:var(--muted);opacity:0;border-radius:6px;flex:none}.pg-tree-row:hover .pg-tree-menu-button,.pg-tree-row:focus-within .pg-tree-menu-button,.pg-tree-menu-button[aria-expanded=true]{opacity:1}.pg-tree-menu{z-index:5;background:var(--raised);border:1px solid var(--border-strong);min-width:200px;font-family:var(--sans);border-radius:12px;flex-direction:column;padding:6px;font-size:14px;display:flex;position:absolute;top:34px;right:0;box-shadow:0 12px 32px #0006}.pg-tree-menu button{text-align:left;border-radius:8px;padding:8px 10px}.pg-tree-menu button:hover:not(:disabled){background:var(--select-bg)}.pg-tree-menu p{color:var(--muted);margin:6px 4px 2px;font-size:12.5px}.pg-tree-empty{color:var(--muted);font-family:var(--sans);margin:0;padding:8px 10px}.pg-new-file{height:34px;color:var(--link);font-family:var(--sans);text-align:left;border-radius:8px;align-items:center;gap:8px;margin-top:8px;padding:0 10px;font-size:14px;font-weight:600;display:flex}.pg-budget{font-family:var(--sans);color:var(--muted);margin:auto 0 0;padding:8px 10px 0;font-size:12px}.pg-editor{flex-direction:column;min-width:0;min-height:0;display:flex}.pg-file-bar{border-bottom:1px solid var(--divider);height:42px;font-family:var(--mono);color:var(--soft);align-items:center;gap:8px;padding:0 16px;font-size:13px;display:flex}.pg-path{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.pg-last-edit{font-family:var(--sans);color:var(--muted);white-space:nowrap;text-overflow:ellipsis;margin-left:auto;font-size:12.5px;overflow:hidden}.pg-files-toggle{background:var(--raised);height:30px;font-family:var(--sans);border-radius:15px;padding:0 10px;font-size:13px;font-weight:650;display:none}.pg-editor-area{flex:1;min-height:0;position:relative}.pg-code-editor{position:absolute;inset:0}.pg-code-editor .cm-editor{height:100%;font-size:14.5px}.pg-empty{color:var(--muted);padding:20px}.pg-run{border-left:1px solid var(--divider);background:var(--panel);flex-direction:column;min-width:0;min-height:0;display:flex;overflow-y:auto}.pg-run-top{border-bottom:1px solid var(--border);flex-direction:column;gap:10px;padding:14px 16px;display:flex}.run-targets{flex-direction:column;gap:6px;display:flex}.run-targets button{border:1px solid var(--border-strong);text-align:left;border-radius:12px;align-items:center;gap:10px;min-height:48px;padding:6px 12px;display:flex}.run-targets button[aria-checked=true]{border-color:var(--select);background:var(--select-bg)}.run-targets .radio{border:2px solid var(--gutter);border-radius:8px;flex:none;width:16px;height:16px}.run-targets button[aria-checked=true] .radio{border:5px solid var(--select)}.run-targets strong{font-size:14.5px;font-weight:650;display:block}.run-targets small{color:var(--muted);font-size:12.5px;display:block}.run-button{background:var(--run);height:46px;color:var(--run-ink);border-radius:23px;justify-content:center;align-items:center;gap:8px;font-size:16px;font-weight:750;display:flex}.run-button:hover:not(:disabled){background:#ffdc5c}.run-button.stop,.run-button.stop:hover:not(:disabled){background:var(--stop-bg);color:var(--stop);border:1px solid var(--stop-border)}.run-secondary{gap:8px;display:flex}.run-secondary .pill-button{flex:1;justify-content:center}.host-panel{border-bottom:1px solid var(--border);color:var(--body);flex-direction:column;gap:8px;padding:12px 16px;font-size:14px;display:flex}.dialog-body .host-panel{border:1px solid var(--border);background:var(--ground);border-radius:14px;padding:14px}.host-panel h3{margin:0;font-size:16px}.host-panel p{margin:0}.host-request{background:var(--select-bg);border:1px solid var(--select);border-radius:12px;flex-direction:column;gap:8px;padding:12px;display:flex}.host-request .dialog-actions{justify-content:flex-start}.host-grant{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;display:flex}.host-key{color:var(--muted);font-size:12.5px}.host-job{color:var(--soft);font-size:13px}.pg-output{flex-direction:column;flex:1 0 auto;gap:8px;min-height:160px;padding:12px 16px;display:flex}.pg-output>*{flex-shrink:0}.pg-output .transcript{max-height:50vh}.shared-output{border-top:1px solid var(--border);flex-direction:column;gap:8px;margin-top:8px;padding-top:12px;display:flex}@media (max-width:980px){.pg{height:auto;min-height:100dvh}.pg-work{grid-template-rows:none;grid-template-columns:1fr}.pg-tree{display:none}.pg-tree.pg-tree-open{border-right:0;border-bottom:1px solid var(--divider);max-height:50vh;display:flex}.pg-files-toggle{align-items:center;display:inline-flex}.pg-editor-area{flex:none;height:55vh}.pg-run{border-left:0;border-top:1px solid var(--divider);overflow:visible}.pg-wide{display:none}.pg-header{padding:8px 16px}.pg-people{margin-left:0}.pg-last-edit{display:none}}
