:root { --paper: #f4f3ef; --paper-bright: #fbfaf7; --ink: #11110f; --ink-soft: #3d3d38; --muted: #72716a; --faint: #aaa89e; --line: #d3d1c7; --line-dark: #8a887f; --white: #fff; --font-serif: "Songti SC", "STSong", "Noto Serif CJK SC", Georgia, serif; --font-sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace; } * { box-sizing: border-box; } html, body { width: 100%; min-height: 100%; margin: 0; } body { background: var(--paper); color: var(--ink); font-family: var(--font-sans); font-size: 14px; line-height: 1.5; } button, input, select { font: inherit; } button { color: inherit; cursor: pointer; } button:focus-visible, input:focus-visible, select:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; } code, pre { font-family: var(--font-mono); } .spin { animation: spin .8s linear infinite; } @keyframes spin { to { transform: rotate(360deg); } } .execution-observer { width: 100vw; height: 100dvh; display: grid; grid-template-rows: auto minmax(0, 1fr) 32px; overflow: hidden; background: var(--paper); transition: padding-right 180ms ease; } .execution-observer.with-drawer { padding-right: min(560px, 42vw); } .mission-header { position: relative; z-index: 4; padding: 18px 28px 14px; border-bottom: 1px solid var(--ink); background: var(--paper-bright); } .mission-kicker { display: flex; align-items: center; gap: 18px; margin-bottom: 13px; color: var(--muted); font-family: var(--font-mono); font-size: 10px; letter-spacing: .12em; } .mission-kicker span + span { padding-left: 18px; border-left: 1px solid var(--line); } .mission-title-row { display: flex; align-items: flex-end; gap: 32px; } .mission-title-row > div:first-child { min-width: 0; flex: 1; } .mission-title-row p { margin: 0 0 3px; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .14em; } .mission-title-row h1 { max-width: 1120px; margin: 0; font-family: var(--font-serif); font-size: clamp(24px, 2.15vw, 36px); font-weight: 600; line-height: 1.25; letter-spacing: -.025em; } .run-actions { display: flex; align-items: flex-end; gap: 7px; flex: none; } .run-actions label { display: grid; gap: 4px; } .run-actions label > span { color: var(--muted); font-size: 9px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; } .run-actions select { height: 38px; min-width: 210px; padding: 0 34px 0 11px; border: 1px solid var(--ink); border-radius: 0; background: var(--paper-bright); color: var(--ink); font-family: var(--font-mono); font-size: 11px; } .run-actions button, .drawer-header > button { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--ink); background: transparent; } .run-actions button:hover, .drawer-header > button:hover { color: var(--white); background: var(--ink); } .mission-state { display: flex; align-items: center; gap: 0; margin-top: 14px; padding-top: 10px; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: 11px; } .mission-state span { min-width: 0; overflow: hidden; padding: 0 14px; border-left: 1px solid var(--line); text-overflow: ellipsis; white-space: nowrap; } .mission-state span:first-child { padding-left: 0; border: 0; } .mission-state span:nth-child(2) { flex: 1; } .mission-state b { color: var(--ink); font-weight: 750; } .observer-grid { min-height: 0; display: grid; grid-template-columns: minmax(300px, .76fr) minmax(560px, 1.55fr); } .planner-panel, .tree-panel { min-width: 0; min-height: 0; background: var(--paper-bright); } .planner-panel { display: grid; grid-template-rows: auto auto minmax(0, 1fr); border-right: 1px solid var(--ink); } .tree-panel { display: grid; grid-template-rows: auto auto auto minmax(0, 1fr); } .panel-heading { min-height: 75px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 20px; border-bottom: 1px solid var(--line); } .panel-heading > div { min-width: 0; } .panel-heading span { display: block; margin-bottom: 3px; color: var(--muted); font-family: var(--font-mono); font-size: 9px; font-weight: 700; letter-spacing: .1em; } .panel-heading h2 { margin: 0; font-family: var(--font-serif); font-size: 20px; font-weight: 600; } .panel-heading > small { max-width: 165px; color: var(--muted); font-size: 10px; line-height: 1.45; text-align: right; } .planner-equation { height: 42px; display: flex; align-items: center; justify-content: center; gap: 6px; border-bottom: 1px solid var(--line); font-family: var(--font-mono); font-size: 9px; letter-spacing: .04em; } .planner-equation b { font-weight: 700; } .planner-equation i { color: var(--faint); font-style: normal; } .planner-turns { min-height: 0; margin: 0; padding: 12px 12px 30px 26px; overflow: auto; list-style: none; scrollbar-color: var(--line-dark) transparent; } .planner-turns li { position: relative; } .planner-turns li::before { content: ""; position: absolute; top: 0; bottom: 0; left: -13px; width: 1px; background: var(--line); } .planner-turns li:last-child::before { bottom: 50%; } .planner-turns li::after { content: ""; position: absolute; z-index: 1; top: 26px; left: -16px; width: 7px; height: 7px; border: 1px solid var(--ink); border-radius: 50%; background: var(--paper-bright); } .planner-turns button { width: 100%; min-height: 58px; display: grid; grid-template-columns: 32px minmax(0, 1fr) 16px; align-items: center; gap: 8px; padding: 7px 9px; border: 1px solid transparent; background: transparent; text-align: left; } .planner-turns button:hover { border-color: var(--line); background: var(--paper); } .planner-turns button.active { border-color: var(--ink); background: var(--ink); color: var(--white); } .planner-turns button.active::before { content: "FOCUS"; position: absolute; top: 4px; right: 28px; color: #c8c6bd; font-family: var(--font-mono); font-size: 7px; letter-spacing: .1em; } .turn-index { color: var(--muted); font-family: var(--font-mono); font-size: 11px; } .planner-turns button.active .turn-index, .planner-turns button.active .turn-copy small, .planner-turns button.active .turn-copy em { color: #c8c6bd; } .turn-copy { min-width: 0; display: grid; } .turn-copy small { overflow: hidden; color: var(--muted); font-family: var(--font-mono); font-size: 8px; text-overflow: ellipsis; white-space: nowrap; } .turn-copy strong { overflow: hidden; margin-top: 2px; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; } .turn-copy em { overflow: hidden; color: var(--ink-soft); font-size: 10px; font-style: normal; text-overflow: ellipsis; white-space: nowrap; } .tree-heading { min-height: 75px; } .tree-search { width: min(260px, 36%); height: 34px; display: flex; align-items: center; gap: 6px; padding: 0 7px 0 10px; border-bottom: 1px solid var(--ink); } .tree-search input { min-width: 0; flex: 1; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 11px; } .tree-search button { width: 22px; height: 22px; display: grid; place-items: center; padding: 0; border: 0; background: transparent; } .turn-note { padding: 13px 20px 12px; border-bottom: 1px solid var(--line); background: var(--paper); } .turn-note > div:first-child { display: flex; align-items: center; justify-content: space-between; gap: 12px; } .turn-note > div:first-child > span { color: var(--muted); font-family: var(--font-mono); font-size: 9px; letter-spacing: .08em; text-transform: uppercase; } .turn-note h3 { margin: 4px 0 2px; font-size: 13px; } .turn-note > p { display: -webkit-box; max-width: 920px; margin: 0; overflow: hidden; color: var(--ink-soft); font-size: 11px; -webkit-box-orient: vertical; -webkit-line-clamp: 2; } .turn-note details { margin-top: 8px; } .turn-note summary { width: max-content; color: var(--muted); cursor: pointer; font-size: 9px; text-decoration: underline; text-underline-offset: 3px; } .turn-note details h4 { margin: 12px 0 4px; font-size: 10px; } .turn-note details pre { max-height: 180px; margin: 0; padding: 10px; overflow: auto; border: 1px solid var(--line); background: var(--paper-bright); font-size: 9px; white-space: pre-wrap; } .tree-key { height: 34px; display: flex; align-items: center; gap: 16px; padding: 0 20px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 9px; } .tree-key span { display: inline-flex; align-items: center; gap: 5px; } .tree-key i { width: 14px; height: 7px; border: 1px solid var(--line-dark); background: transparent; } .tree-key .key-focus { background: var(--ink); } .tree-key .key-change { border-width: 2px; border-color: var(--ink); } .tree-scroll { min-width: 0; min-height: 0; overflow: auto; padding: 18px 24px 80px; scrollbar-color: var(--line-dark) transparent; } .task-tree, .task-children { margin: 0; padding: 0; list-style: none; } .task-tree { min-width: 600px; } .task-branch { position: relative; } .task-children { position: relative; margin-left: 37px; padding: 7px 0 0 28px; border-left: 1px solid var(--line-dark); } .task-children > .task-branch { padding-bottom: 7px; } .task-children > .task-branch::before { content: ""; position: absolute; top: 25px; left: -28px; width: 27px; height: 1px; background: var(--line-dark); } .task-children > .task-branch:last-child::after { content: ""; position: absolute; top: 26px; bottom: 0; left: -29px; width: 3px; background: var(--paper-bright); } .task-record { position: relative; z-index: 1; width: min(720px, calc(100% - 8px)); min-height: 52px; display: grid; grid-template-columns: 58px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 7px 10px; border: 1px solid var(--line); background: var(--paper-bright); text-align: left; transition: transform 100ms ease, border-color 100ms ease, background 100ms ease; } .task-record:hover { border-color: var(--ink); transform: translateX(2px); } .task-record.root-task { min-height: 64px; border-color: var(--ink); } .task-record.selected { outline: 2px solid var(--ink); outline-offset: 2px; } .task-record.focused { background: var(--ink); color: var(--white); } .task-record.changed:not(.focused) { border: 2px solid var(--ink); } .task-record.changed::after { content: "THIS MOVE"; position: absolute; top: -6px; right: 9px; padding: 0 4px; background: var(--paper-bright); color: var(--ink); font-family: var(--font-mono); font-size: 7px; letter-spacing: .08em; } .task-record.focused.changed::after { background: var(--ink); color: var(--white); } .task-path { font-family: var(--font-mono); font-size: 12px; font-weight: 700; } .task-body { min-width: 0; display: grid; } .task-body small { color: var(--muted); font-size: 8px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; } .focused .task-body small, .focused .task-body em { color: #bbb9b1; } .task-body strong { overflow: hidden; font-size: 11px; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; } .task-body em { color: var(--muted); font-size: 9px; font-style: normal; } .status-mark { display: inline-flex; align-items: center; gap: 4px; padding: 3px 6px; border: 1px solid currentColor; color: var(--ink-soft); font-family: var(--font-mono); font-size: 8px; font-weight: 700; white-space: nowrap; } .focused .status-mark, .planner-turns .active .status-mark { color: var(--white); } .status-cancelled, .status-failed, .status-stopped { color: var(--muted); text-decoration: line-through; } .observer-foot { display: flex; align-items: center; gap: 12px; padding: 0 20px; border-top: 1px solid var(--ink); background: var(--paper-bright); color: var(--muted); font-family: var(--font-mono); font-size: 8px; letter-spacing: .04em; } .observer-foot span:first-child { flex: 1; } .observer-foot span + span { padding-left: 12px; border-left: 1px solid var(--line); } .task-inspector { position: fixed; z-index: 20; top: 0; right: 0; bottom: 0; width: min(560px, 42vw); display: grid; grid-template-rows: auto auto auto auto minmax(0, 1fr); border-left: 1px solid var(--ink); background: var(--paper-bright); box-shadow: -18px 0 42px rgba(17, 17, 15, .12); } .drawer-loading { display: flex; align-items: center; gap: 10px; padding: 20px; } .drawer-loading button { margin-left: auto; border: 0; background: transparent; } .drawer-header { min-height: 112px; display: flex; align-items: flex-start; gap: 18px; padding: 19px 18px 15px; border-bottom: 1px solid var(--ink); } .drawer-header > div { min-width: 0; flex: 1; } .drawer-header span { color: var(--muted); font-family: var(--font-mono); font-size: 9px; letter-spacing: .08em; text-transform: uppercase; } .drawer-header h2 { margin: 7px 0 0; font-family: var(--font-serif); font-size: 21px; font-weight: 600; line-height: 1.35; } .drawer-facts { min-height: 40px; display: flex; align-items: center; gap: 8px; padding: 6px 18px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 9px; } .drawer-facts code { margin-left: auto; } .attempt-switch { min-height: 43px; display: flex; align-items: center; gap: 5px; padding: 6px 18px; overflow-x: auto; border-bottom: 1px solid var(--line); } .attempt-switch > span { margin-right: 3px; color: var(--muted); font-family: var(--font-mono); font-size: 8px; letter-spacing: .08em; } .attempt-switch button { flex: none; padding: 5px 7px; border: 1px solid var(--line); background: transparent; font-size: 8px; } .attempt-switch button.active { border-color: var(--ink); background: var(--ink); color: var(--white); } .drawer-tabs { min-height: 42px; display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--ink); } .drawer-tabs button { position: relative; border: 0; border-right: 1px solid var(--line); background: transparent; color: var(--muted); font-size: 9px; } .drawer-tabs button:last-child { border-right: 0; } .drawer-tabs button.active { color: var(--ink); font-weight: 750; } .drawer-tabs button.active::after { content: ""; position: absolute; right: 10px; bottom: -1px; left: 10px; height: 3px; background: var(--ink); } .drawer-scroll { min-height: 0; overflow: auto; padding: 17px 18px 60px; scrollbar-color: var(--line-dark) transparent; } .detail-section { min-width: 0; } .loop-line { display: flex; align-items: center; gap: 5px; margin-bottom: 18px; padding: 10px; border: 1px solid var(--ink); font-family: var(--font-mono); font-size: 8px; } .loop-line b { font-weight: 800; } .loop-line i { color: var(--muted); font-style: normal; } .lifecycle-list, .worker-loop { margin: 0; padding: 0; list-style: none; } .lifecycle-list li { position: relative; min-height: 70px; display: grid; grid-template-columns: 14px minmax(0, 1fr) auto; gap: 10px; padding-bottom: 15px; } .lifecycle-list li:not(:last-child)::before { content: ""; position: absolute; top: 10px; bottom: 0; left: 5px; width: 1px; background: var(--line-dark); } .event-glyph { position: relative; z-index: 1; width: 11px; height: 11px; margin-top: 4px; border: 1px solid var(--ink); border-radius: 50%; background: var(--paper-bright); } .event-decision { border-radius: 0; background: var(--ink); } .lifecycle-list small, .worker-loop small { display: block; color: var(--muted); font-family: var(--font-mono); font-size: 8px; } .lifecycle-list strong, .worker-loop strong { display: block; margin-top: 2px; font-size: 11px; } .lifecycle-list p { margin: 3px 0 0; color: var(--ink-soft); font-size: 10px; } .attempt-meta { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; padding-bottom: 10px; overflow-x: auto; border-bottom: 1px solid var(--ink); color: var(--muted); font-family: var(--font-mono); font-size: 8px; } .attempt-meta .status-mark { margin-left: auto; } .worker-loop li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 9px; padding: 10px 0; border-bottom: 1px solid var(--line); } .worker-loop > li > span { padding-top: 2px; color: var(--muted); font-family: var(--font-mono); font-size: 9px; } .worker-loop pre, .code-view pre { max-height: 360px; margin: 7px 0 0; padding: 10px; overflow: auto; border: 1px solid var(--line); background: var(--paper); font-size: 9px; line-height: 1.55; white-space: pre-wrap; } .step-tool_call { border-left: 3px solid var(--ink); padding-left: 10px !important; } .step-tool_result { color: var(--ink-soft); } .json-block { max-width: 100%; max-height: 320px; margin: 7px 0 0; padding: 9px; overflow: auto; border: 1px solid var(--line); background: var(--paper); color: var(--ink-soft); font-size: 8px; line-height: 1.55; white-space: pre-wrap; overflow-wrap: anywhere; } .data-groups { display: grid; gap: 18px; } .data-groups > section { border-top: 1px solid var(--ink); } .data-groups header { display: grid; grid-template-columns: 20px minmax(0, 1fr) 24px; gap: 8px; padding: 10px 0 5px; } .data-groups h3, .code-view h3 { margin: 0; font-size: 11px; } .data-groups p, .code-view section > p { margin: 2px 0 0; color: var(--muted); font-size: 9px; } .data-groups header > b { font-family: var(--font-mono); font-size: 10px; text-align: right; } .code-view { display: grid; gap: 24px; } .code-view section { min-width: 0; padding-top: 10px; border-top: 1px solid var(--ink); } .code-view h3 { display: flex; align-items: center; gap: 7px; } .empty-copy { margin: 10px 0; color: var(--muted); font-size: 10px; } .center-state { width: 100vw; height: 100dvh; display: grid; place-content: center; justify-items: center; gap: 8px; background: var(--paper-bright); text-align: center; } .center-state h1 { margin: 4px 0 0; font-family: var(--font-serif); font-size: 28px; font-weight: 600; } .center-state p { margin: 0; color: var(--muted); } .center-state button { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; padding: 8px 12px; border: 1px solid var(--ink); background: transparent; } @media (max-width: 1180px) { .execution-observer.with-drawer { padding-right: 0; } .task-inspector { width: min(600px, 72vw); } .mission-title-row h1 { font-size: 25px; } .observer-grid { grid-template-columns: minmax(280px, .7fr) minmax(500px, 1.3fr); } } @media (max-width: 820px) { .execution-observer { height: auto; min-height: 100dvh; display: block; overflow: visible; } .mission-header { padding: 14px 16px; } .mission-kicker span:nth-child(2), .mission-kicker span:nth-child(3) { display: none; } .mission-title-row { display: grid; gap: 14px; } .mission-title-row h1 { font-size: 23px; } .run-actions { justify-content: stretch; } .run-actions label { flex: 1; } .run-actions select { width: 100%; } .mission-state { display: grid; gap: 5px; } .mission-state span { padding: 0; border: 0; white-space: normal; } .observer-grid { display: block; } .planner-panel { height: 54vh; border-right: 0; border-bottom: 1px solid var(--ink); } .tree-panel { min-height: 70vh; display: block; } .tree-heading { position: sticky; z-index: 3; top: 0; background: var(--paper-bright); } .turn-note { max-height: 260px; overflow: auto; } .tree-scroll { min-height: 56vh; } .observer-foot { display: none; } .task-inspector { width: 100vw; } } @media (max-width: 520px) { .panel-heading { padding: 12px 14px; } .panel-heading h2 { font-size: 18px; } .panel-heading > small { display: none; } .tree-heading { display: grid; } .tree-search { width: 100%; } .tree-key { gap: 8px; padding: 0 12px; } .tree-scroll { padding: 14px 12px 60px; } .task-tree { min-width: 520px; } .task-children { margin-left: 20px; padding-left: 20px; } .task-children > .task-branch::before { left: -20px; width: 19px; } .task-children > .task-branch:last-child::after { left: -21px; } .drawer-header { min-height: 96px; padding: 14px; } .drawer-header h2 { font-size: 18px; } .drawer-facts, .attempt-switch { padding-right: 12px; padding-left: 12px; } .drawer-tabs button { font-size: 8px; } .drawer-scroll { padding: 14px 12px 50px; } } @media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; } }