:root { --bg: #0e0e10; --panel: #16161a; --line: #2a2a31; --text: #e8e8ec; --dim: #8b8b96; --accent: #c6f432; --accent-ink: #11140a; --mono: ui-monospace, "SF Mono", Menlo, monospace; } * { box-sizing: border-box; } html, body { height: 100%; margin: 0; } body { display: grid; grid-template-columns: 420px 1fr; background: var(--bg); color: var(--text); font: 13px/1.45 system-ui, sans-serif; } button, select, textarea { font: inherit; color: inherit; } /* left panel */ .panel { display: flex; flex-direction: column; min-height: 0; border-right: 1px solid var(--line); background: var(--panel); } .panel > section { padding: 14px 16px; border-bottom: 1px solid var(--line); } .panel > section:nth-of-type(3) { flex: 1; overflow-y: auto; min-height: 120px; } .panel-head { display: flex; align-items: baseline; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--line); } h1 { margin: 0; font-size: 15px; letter-spacing: -0.01em; } .model { font-family: var(--mono); font-size: 11px; color: var(--dim); } .label-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; } label, .label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--dim); } .count { text-transform: none; letter-spacing: 0; } .link { background: none; border: 0; padding: 0; color: var(--dim); cursor: pointer; font-size: 12px; } .link:hover { color: var(--text); } textarea { width: 100%; height: 240px; resize: vertical; padding: 10px; border: 1px solid var(--line); border-radius: 6px; background: var(--bg); font-family: var(--mono); font-size: 12px; line-height: 1.5; } textarea:focus { outline: 1px solid var(--accent); border-color: transparent; } .chips { display: flex; flex-wrap: wrap; gap: 6px; } .chips button { padding: 5px 9px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg); cursor: pointer; font-size: 12px; } .chips button:hover { border-color: var(--accent); } .chips button:active { background: var(--accent); color: var(--accent-ink); } .inspo { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; } .inspo button { position: relative; aspect-ratio: 1; padding: 0; border: 2px solid transparent; border-radius: 6px; overflow: hidden; background: var(--bg); cursor: pointer; opacity: 0.35; transition: opacity 0.15s, border-color 0.15s; } .inspo button[aria-pressed="true"] { opacity: 1; border-color: var(--accent); } .inspo img { width: 100%; height: 100%; object-fit: cover; display: block; } .panel-foot { display: flex; align-items: center; gap: 12px; padding: 14px 16px; } .status { flex: 1; min-width: 0; color: var(--dim); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .go { padding: 9px 18px; border: 0; border-radius: 6px; background: var(--accent); color: var(--accent-ink); font-weight: 600; cursor: pointer; } .go:disabled { opacity: 0.4; cursor: default; } /* preview */ .preview { display: flex; flex-direction: column; min-width: 0; min-height: 0; } .tabs { display: flex; align-items: stretch; border-bottom: 1px solid var(--line); background: var(--panel); } .tab-list { display: flex; flex: 1; overflow-x: auto; } .tab-list button { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border: 0; border-right: 1px solid var(--line); background: none; color: var(--dim); cursor: pointer; white-space: nowrap; } .tab-list button[aria-selected="true"] { color: var(--text); background: var(--bg); box-shadow: inset 0 -2px var(--accent); } .tab-list .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--dim); } .tab-list .dot.live { background: var(--accent); animation: pulse 1s infinite alternate; } .tab-list .dot.warn { background: #f4a432; } @keyframes pulse { to { opacity: 0.2; } } .tab-tools { display: flex; align-items: center; gap: 12px; padding: 0 12px; } .tab-tools a { color: var(--dim); text-decoration: none; } .tab-tools a:hover { color: var(--text); } select { max-width: 260px; padding: 5px 8px; border: 1px solid var(--line); border-radius: 6px; background: var(--bg); font-size: 12px; } .stage { position: relative; flex: 1; min-height: 0; background: #fff; } .stage iframe { width: 100%; height: 100%; border: 0; display: block; } .empty { position: absolute; inset: 0; display: grid; place-items: center; background: var(--bg); color: var(--dim); } .log { position: absolute; inset: 0; overflow: auto; padding: 20px; background: var(--bg); font: 12px/1.6 var(--mono); } .log > div { padding: 2px 0; white-space: pre-wrap; word-break: break-word; } .log .tool { color: var(--dim); } .log .say { color: var(--text); padding: 8px 0; font-family: system-ui, sans-serif; font-size: 13px; } .log .event { color: var(--accent); } .log .error { color: #ff6b6b; } .go.stop { background: #ff6b6b; color: #1a0606; }