.desktop-markup{position:absolute;inset:0;z-index:1;padding:var(--ui-space-3);display:flex;flex-direction:column;gap:var(--ui-space-2);background:var(--panel)}.desktop-markup__toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:var(--ui-space-2)}.desktop-markup__colors{display:inline-flex;gap:var(--ui-space-1);margin-inline:var(--ui-space-2)}.desktop-markup__swatch{width:24px;height:24px;border-radius:50%;border:2px solid var(--line);cursor:pointer}.desktop-markup__swatch[aria-pressed=true]{border-color:var(--text);outline:var(--ui-focus-width) solid var(--ui-focus-color);outline-offset:1px}.desktop-markup__cancel{margin-inline-start:auto}.desktop-markup__body{flex:1;min-height:0;display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:var(--ui-space-3)}.desktop-markup__canvas{width:100%;height:100%;min-height:0;cursor:crosshair;touch-action:none;-webkit-user-select:none;user-select:none;background:var(--panel-2)}.desktop-markup__panel{display:flex;flex-direction:column;gap:var(--ui-space-2);min-height:0;overflow-y:auto}.desktop-markup__pins{margin:0;padding-inline-start:var(--ui-space-6);list-style:decimal}.desktop-markup__pins li+li{margin-block-start:var(--ui-space-2)}.desktop-markup__pins input,.desktop-markup__note textarea{width:100%;box-sizing:border-box;font:inherit;font-size:var(--ui-text-sm);color:var(--text);background:var(--fill);border:1px solid var(--line);border-radius:var(--ui-radius-md);padding:var(--ui-space-2)}.desktop-markup__note{display:flex;flex-direction:column;gap:var(--ui-space-1);font-size:var(--ui-text-sm);color:var(--muted)}.desktop-markup__note textarea{resize:vertical}@media(max-width:820px){.desktop-markup__body{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto}}.desktop-dialog{width:min(1440px,calc(100vw - 32px));height:min(900px,calc(100dvh - 32px));max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px);padding:0;overflow:hidden;border:1px solid var(--line-strong);border-radius:var(--ui-radius-md);background:var(--panel);color:var(--text)}.desktop-dialog::backdrop{background:color-mix(in srgb,var(--bg) 72%,transparent)}.desktop-viewer{display:flex;flex-direction:column;height:100%;min-height:0;overflow:hidden}.desktop-viewer__body{position:relative;flex:1 1 auto;min-height:0}.desktop-viewer__stage{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;overflow:hidden;background:var(--bg)}.desktop-viewer__stage[data-visible=false]{visibility:hidden}.desktop-viewer__stage canvas{flex:none;display:block}.desktop-viewer__stage canvas:focus-visible{outline:var(--ui-focus-width) solid var(--ui-focus-color);outline-offset:calc(-1 * var(--ui-focus-width))}.desktop-viewer__status{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:var(--ui-space-3);padding:var(--ui-space-6);text-align:center}.desktop-viewer__status-title,.desktop-viewer__status-hint{margin:0;max-width:48ch}.desktop-viewer__status-title{font-size:var(--ui-text-lg);font-weight:600}.desktop-viewer__status-hint{color:var(--muted);font-size:var(--ui-text-md)}.desktop-viewer__markup-error{position:absolute;inset-block-start:var(--ui-space-2);inset-inline:0;margin:0;text-align:center;color:var(--fg-red)}.desktop-viewer__status-live,.desktop-progress{display:flex;flex-direction:column;align-items:center;gap:var(--ui-space-3)}.desktop-progress__steps{display:flex;flex-direction:column;gap:var(--ui-space-2);margin:0;padding:0;list-style:none;text-align:start}.desktop-progress__step{display:flex;align-items:center;gap:var(--ui-space-2);color:var(--muted);font-size:var(--ui-text-md)}.desktop-progress__step[data-status=current]{color:var(--text);font-weight:600}.desktop-progress__step[data-status=done] .ui-icon{color:var(--fg-green)}.desktop-progress__detail{color:var(--muted);font-weight:400}.desktop-progress__elapsed{margin:0;color:var(--muted);font-size:var(--ui-text-sm);font-variant-numeric:tabular-nums}.thread-dock__inspector.thread-tab{gap:var(--ui-space-3)}.thread-tab .panel-section,.thread-tab .setting-list{min-width:0}.thread-tab .panel-section{gap:6px}.thread-tab .threads-versions{line-height:inherit}.thread-tab .setting-row__hint .threads-versions code{font:inherit}.thread-tab .threads-versions__part{display:inline;white-space:nowrap}.thread-tab__danger .panel-section__title{color:var(--fg-red)}.thread-tab__danger .setting-list{border-color:color-mix(in srgb,var(--fg-red) 35%,var(--line))}.thread-tab__line{display:block}.thread-tab__note{margin:0;padding:var(--ui-space-2) var(--ui-space-3);color:var(--muted);font:400 var(--ui-text-sm) / 1.45 var(--sans);overflow-wrap:anywhere}.thread-tab__note--error{color:var(--fg-red)}.thread-tab__actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:var(--ui-space-1);min-width:0}.thread-tab__actions .ui-button{min-height:var(--setting-control-height);padding:0 var(--ui-space-2);font-size:var(--ui-text-sm)}.thread-tab__inline-form{display:inline-flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:var(--ui-space-2);min-width:0;max-width:100%}.thread-tab .setting-row__value .threads-dot{flex:none}.thread-tab .setting-row__hint code{font:400 11.5px / 1.4 var(--code)}.thread-tab .threads-versions code[data-stale=true]{color:var(--color-warning)}.thread-tab .setting-row .threads-project-picker{width:auto;padding:0 var(--ui-space-2)}.thread-tab .threads-projects li{font-size:var(--ui-text-sm)}.thread-detail-dialog{display:flex;flex-direction:column;gap:var(--ui-space-3);min-width:0;max-height:calc(75dvh - 2 * var(--ui-space-6));color:var(--text);font:400 var(--ui-text-md) / 1.5 var(--sans)}.thread-detail-dialog__head{display:flex;align-items:center;justify-content:space-between;gap:var(--ui-space-3);min-width:0}.thread-detail-dialog__head h2{min-width:0;margin:0;font:600 var(--ui-text-section) / 1.3 var(--sans)}.thread-detail-dialog__actions{display:inline-flex;flex:none;gap:var(--ui-space-2)}.thread-detail-dialog__body{min-width:0;min-height:0;overflow:auto;padding-right:var(--ui-space-2)}.thread-detail-dialog__body:focus-visible{outline:var(--ui-focus-width) solid var(--ui-focus-color);outline-offset:var(--ui-focus-offset)}.thread-tab__tools{display:grid;gap:var(--ui-space-3)}.thread-tab__tools .threads-agent-controls{gap:2px}.thread-tab__tools code{color:var(--muted);font:400 var(--ui-text-sm) / 1.4 var(--code);overflow-wrap:anywhere}.thread-tab__tools p{margin:0}.folded-output{display:flex;flex-direction:column;gap:var(--ui-space-1);min-width:0}.folded-output>pre{margin:0}.folded-output[data-folded=true]>pre{max-height:calc(20lh + 2em);overflow-y:auto;-webkit-mask-image:linear-gradient(to bottom,#000 calc(100% - 2lh),transparent);mask-image:linear-gradient(to bottom,#000 calc(100% - 2lh),transparent)}.folded-output__bar{display:flex;flex-wrap:wrap;align-items:center;gap:var(--ui-space-2)}
