.ops-bot-list { min-width: 0; } .ops-compact-hidden { display: none !important; } .ops-compact-fab-switch { position: fixed; right: 14px; bottom: 14px; width: 42px; height: 42px; border-radius: 999px; border: 1px solid color-mix(in oklab, var(--brand) 58%, var(--line) 42%); background: color-mix(in oklab, var(--panel) 70%, var(--brand-soft) 30%); color: var(--icon); display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 10px 24px rgba(9, 15, 28, 0.35); z-index: 85; cursor: pointer; } .ops-list-actions { display: inline-flex; align-items: center; gap: 8px; } .ops-bot-card { position: relative; border: 1px solid var(--line); border-radius: 12px; background: var(--panel-soft); padding: 10px 10px 10px 14px; margin-bottom: 10px; cursor: pointer; transition: border-color 0.2s ease, transform 0.2s ease; } .ops-bot-card:hover { border-color: var(--brand); } .ops-bot-card.is-active { border-color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); } .ops-bot-top { align-items: flex-start; } .ops-bot-name { font-size: 16px; font-weight: 800; color: var(--title); } .ops-bot-id, .ops-bot-meta { margin-top: 2px; color: var(--subtitle); font-size: 12px; font-weight: 600; } .ops-bot-actions { margin-top: 10px; display: flex; align-items: center; justify-content: flex-end; gap: 8px; } .ops-bot-strip { position: absolute; left: 0; top: 8px; bottom: 8px; width: 4px; border-radius: 999px; background: #d14b4b; } .ops-bot-strip.is-running { background: #2ca476; } .ops-bot-strip.is-stopped { background: #d14b4b; } .ops-bot-icon-btn { width: 34px; height: 34px; padding: 0; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; } .ops-control-pending { display: inline-flex; align-items: center; gap: 6px; } .ops-control-dots { display: inline-flex; align-items: center; gap: 3px; } .ops-control-dots i { width: 4px; height: 4px; border-radius: 999px; display: block; background: currentColor; opacity: 0.35; animation: ops-control-dot 1.2s infinite ease-in-out; } .ops-control-dots i:nth-child(2) { animation-delay: 0.2s; } .ops-control-dots i:nth-child(3) { animation-delay: 0.4s; } .btn-sm { padding: 8px 10px; font-size: 12px; } .ops-chat-panel { min-width: 0; padding: 12px; } .ops-chat-shell { display: grid; grid-template-rows: 1fr; gap: 0; height: 100%; min-height: 0; } .ops-chat-head { border: 1px solid var(--line); border-radius: 12px; background: var(--panel-soft); padding: 10px 12px; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; } .ops-chat-title { margin: 0; font-size: 18px; font-weight: 800; color: var(--title); } .ops-chat-subtitle { margin: 4px 0 0; color: var(--subtitle); font-size: 12px; font-weight: 600; } .ops-status-group { display: flex; gap: 8px; flex-wrap: wrap; } .ops-status-pill { border: 1px solid var(--line); border-radius: 999px; padding: 5px 10px; font-size: 12px; font-weight: 800; color: var(--text); background: var(--panel); } .ops-status-pill.running { border-color: #2ca476; background: rgba(44, 164, 118, 0.16); } .ops-status-pill.stopped, .ops-status-pill.exited { border-color: #d28686; background: rgba(209, 75, 75, 0.16); } .ops-status-pill.error { border-color: #d14b4b; background: rgba(209, 75, 75, 0.2); } .ops-status-pill.idle { border-color: #4b79d4; background: rgba(47, 105, 226, 0.16); } .ops-chat-frame { position: relative; min-height: 0; display: grid; grid-template-rows: 1fr auto; gap: 10px; } .ops-chat-frame.is-disabled .ops-chat-scroll, .ops-chat-frame.is-disabled .ops-composer { filter: grayscale(0.2) opacity(0.75); } .ops-chat-disabled-mask { position: absolute; inset: 0; border-radius: 12px; background: color-mix(in oklab, var(--panel) 60%, transparent); display: flex; align-items: center; justify-content: center; z-index: 3; } .ops-chat-disabled-card { border: 1px solid color-mix(in oklab, var(--line) 78%, var(--brand) 22%); border-radius: 10px; background: color-mix(in oklab, var(--panel-soft) 82%, var(--panel) 18%); color: var(--text); font-size: 13px; font-weight: 700; padding: 10px 12px; } .ops-midstate-board { border: 1px solid var(--line); border-radius: 12px; background: var(--panel-soft); padding: 10px; display: grid; gap: 8px; } .ops-midstate-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; } .ops-midstate-feed { display: grid; gap: 6px; max-height: 180px; overflow: auto; } .ops-midstate-item { border: 1px solid var(--line); border-radius: 10px; background: var(--panel); padding: 6px 8px; display: grid; grid-template-columns: 86px 1fr auto; gap: 8px; align-items: center; } .ops-midstate-text { font-size: 12px; line-height: 1.35; color: var(--text); } .ops-chat-scroll { min-height: 440px; max-height: 68vh; overflow: auto; border: 1px solid var(--line); border-radius: 14px; background: var(--panel-soft); padding: 14px; } .ops-chat-row { display: flex; width: 100%; margin-bottom: 12px; } .ops-chat-item { display: flex; align-items: flex-end; gap: 10px; width: 100%; min-width: 0; } .ops-chat-item.is-user { justify-content: flex-end; } .ops-chat-item.is-assistant { justify-content: flex-start; } .ops-chat-row.is-user { justify-content: flex-end; } .ops-chat-row.is-assistant { justify-content: flex-start; } .ops-chat-bubble { width: auto; min-width: 0; flex: 0 1 auto; max-width: min(860px, calc(100% - 52px)); border-radius: 14px; border: 1px solid var(--line); padding: 10px 12px; } .ops-chat-bubble.assistant { border-color: #3661aa; background: color-mix(in oklab, var(--panel-soft) 82%, var(--panel) 18%); } .ops-chat-bubble.assistant.progress { border-style: dashed; border-color: color-mix(in oklab, var(--brand) 55%, var(--line) 45%); background: color-mix(in oklab, var(--brand-soft) 35%, var(--panel-soft) 65%); } .ops-chat-bubble.user { border-color: #2f8f7f; background: color-mix(in oklab, #d9fff0 36%, var(--panel-soft) 64%); } .ops-chat-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 11px; font-weight: 700; margin-bottom: 6px; color: var(--muted); } .ops-chat-text { white-space: pre-wrap; word-break: break-word; overflow-wrap: anywhere; line-height: 1.58; font-size: 14px; color: var(--text); } .ops-chat-text.is-collapsed { max-height: 220px; overflow: hidden; position: relative; } .ops-chat-text.is-collapsed::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 42px; pointer-events: none; background: linear-gradient(to bottom, transparent, color-mix(in oklab, var(--panel-soft) 88%, var(--panel) 12%)); } .ops-chat-more-btn { position: relative; z-index: 1; margin-top: 8px; border: 1px solid color-mix(in oklab, var(--brand) 56%, var(--line) 44%); background: color-mix(in oklab, var(--panel) 72%, var(--brand-soft) 28%); color: var(--text); border-radius: 999px; font-size: 12px; font-weight: 700; padding: 4px 10px; cursor: pointer; } .ops-chat-text > *:first-child { margin-top: 0; } .ops-chat-text > *:last-child { margin-bottom: 0; } .ops-chat-text p, .ops-chat-text ul, .ops-chat-text ol { margin: 8px 0; } .ops-chat-text pre { margin: 8px 0; overflow: auto; border-radius: 10px; border: 1px solid color-mix(in oklab, var(--line) 75%, transparent); background: color-mix(in oklab, var(--panel) 78%, #000 22%); padding: 10px 12px; } .ops-chat-text code { font-family: 'SF Mono', Menlo, Consolas, monospace; font-size: 12px; word-break: break-word; } .ops-chat-attachments { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 6px; } .ops-attach-link { display: inline-flex; align-items: center; max-width: 100%; padding: 4px 8px; border: 1px solid var(--line); border-radius: 999px; font-size: 12px; text-decoration: none; color: var(--text); background: color-mix(in oklab, var(--panel) 78%, transparent); } .ops-attach-link:hover { border-color: color-mix(in oklab, var(--brand) 56%, var(--line) 44%); } .ops-avatar { width: 34px; height: 34px; border-radius: 999px; border: 1px solid var(--line); display: inline-flex; align-items: center; justify-content: center; flex: 0 0 34px; overflow: hidden; } .ops-avatar.bot { background: #102d63; border-color: #4e70ad; } .ops-avatar.bot img { width: 100%; height: 100%; object-fit: cover; } .ops-avatar.user { background: #1f4f8a; border-color: #6d98cf; color: #e9f2ff; } .ops-chat-empty { border: 1px dashed var(--line); border-radius: 12px; padding: 12px; color: var(--muted); font-size: 14px; } .ops-thinking-bubble { border: 1px solid color-mix(in oklab, var(--brand) 50%, var(--line) 50%); background: color-mix(in oklab, var(--brand-soft) 40%, var(--panel-soft) 60%); border-radius: 14px; padding: 10px 12px; min-width: 190px; } .ops-thinking-cloud { display: inline-flex; align-items: center; gap: 6px; } .ops-thinking-cloud .dot { width: 8px; height: 8px; border-radius: 999px; background: color-mix(in oklab, var(--brand) 75%, #fff 25%); animation: ops-thinking-pulse 1.4s infinite ease-in-out; } .ops-thinking-cloud .dot:nth-child(2) { animation-delay: 0.2s; } .ops-thinking-cloud .dot:nth-child(3) { animation-delay: 0.4s; } .ops-thinking-text { margin-top: 8px; color: var(--subtitle); font-size: 12px; font-weight: 700; } @keyframes ops-thinking-pulse { 0%, 80%, 100% { transform: translateY(0); opacity: 0.45; } 40% { transform: translateY(-4px); opacity: 1; } } @keyframes ops-control-dot { 0%, 80%, 100% { transform: translateY(0); opacity: 0.35; } 40% { transform: translateY(-2px); opacity: 1; } } .ops-composer { border: 1px solid var(--line); border-radius: 12px; background: var(--panel-soft); padding: 10px; display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: flex-end; } .ops-composer-input { min-height: 78px; resize: none; font-size: 14px; line-height: 1.45; } .ops-pending-files { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 8px; } .ops-pending-chip { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; border: 1px solid var(--line); border-radius: 999px; padding: 4px 8px; font-size: 12px; color: var(--text); background: color-mix(in oklab, var(--panel-soft) 78%, transparent); } .ops-chip-remove { width: 18px; height: 18px; min-width: 18px; min-height: 18px; border-radius: 999px; color: var(--muted); } .ops-runtime-panel { min-width: 0; min-height: 0; } .ops-runtime-shell { display: grid; grid-template-rows: auto 1fr; gap: 10px; min-height: 0; height: 100%; } .ops-runtime-head { flex-wrap: wrap; align-items: center; } .ops-panel-tools { position: relative; display: flex; align-items: center; justify-content: flex-end; gap: 6px; flex-wrap: wrap; } .ops-more-menu { position: absolute; top: calc(100% + 8px); right: 0; min-width: 190px; z-index: 30; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); box-shadow: 0 14px 32px rgba(9, 16, 31, 0.28); padding: 6px; display: grid; gap: 4px; } .ops-more-item { width: 100%; border: 1px solid transparent; border-radius: 8px; background: transparent; color: var(--text); padding: 8px 10px; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; cursor: pointer; text-align: left; } .ops-more-item:hover { background: color-mix(in oklab, var(--brand-soft) 36%, var(--panel-soft) 64%); border-color: color-mix(in oklab, var(--brand) 48%, var(--line) 52%); } .ops-more-item.danger { color: #d76666; } .ops-more-item.danger:hover { background: rgba(215, 102, 102, 0.14); border-color: rgba(215, 102, 102, 0.34); } .ops-runtime-scroll { min-height: 0; overflow: auto; display: grid; gap: 10px; align-content: start; padding-right: 2px; } .ops-runtime-card { display: grid; gap: 8px; } .ops-runtime-state-card { min-height: 0; } .ops-runtime-state-card:not(.is-visual) { min-height: 210px; align-content: start; } .ops-runtime-state-card.is-visual { min-height: 210px; padding: 0; gap: 0; overflow: hidden; } .ops-runtime-state-card.is-visual .ops-state-stage { height: 100%; min-height: 100%; border-radius: inherit; } .ops-runtime-state-card.is-visual .ops-state-face { width: 210px; height: 140px; gap: 34px; } .ops-runtime-state-card.is-visual .ops-state-eye { width: 30px; height: 30px; } .ops-runtime-state-card.is-visual .ops-state-eye::after { width: 10px; height: 10px; } .ops-runtime-state-card.is-visual .ops-state-idle .ops-state-eye { width: 36px; height: 6px; } .ops-runtime-state-card.is-visual .ops-state-caption { bottom: 14px; font-size: 12px; } .ops-runtime-state-card.is-visual .ops-state-float { padding: 6px; right: 22%; top: 24%; } .ops-runtime-mode-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; } .ops-runtime-mode-toggle { display: inline-flex; gap: 6px; } .ops-runtime-mode-toggle .btn.active { border-color: color-mix(in oklab, var(--brand) 70%, var(--line) 30%); background: color-mix(in oklab, var(--brand-soft) 58%, var(--panel-soft) 42%); } .ops-state-stage { position: relative; height: 160px; border: 0; border-radius: 10px; display: grid; place-items: center; background: radial-gradient(circle at 20% 25%, rgba(95, 136, 210, 0.12), transparent 40%), radial-gradient(circle at 82% 70%, rgba(53, 94, 176, 0.1), transparent 40%), color-mix(in oklab, var(--panel-soft) 72%, var(--panel) 28%); overflow: hidden; } .ops-state-model { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); max-width: calc(100% - 28px); border: 1px solid rgba(148, 179, 235, 0.55); border-radius: 999px; background: rgba(11, 24, 48, 0.58); color: #dce9ff; font-size: 11px; font-weight: 700; padding: 3px 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .ops-state-face { width: 148px; height: 96px; border-radius: 999px; border: 1px solid rgba(148, 179, 235, 0.55); background: rgba(19, 37, 74, 0.55); box-shadow: 0 8px 30px rgba(10, 22, 44, 0.35), inset 0 0 0 1px rgba(156, 185, 241, 0.18); display: flex; align-items: center; justify-content: center; gap: 26px; } .ops-state-eye { width: 22px; height: 22px; position: relative; border-radius: 999px; border: 3px solid #d8e7ff; background: rgba(232, 242, 255, 0.95); box-shadow: 0 0 0 1px rgba(145, 178, 234, 0.35); } .ops-state-eye::after { content: ""; position: absolute; width: 8px; height: 8px; border-radius: 999px; background: #1b3569; left: 50%; top: 50%; transform: translate(-50%, -50%); } .ops-state-eye::before { content: ""; display: none; } .ops-state-caption { position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); font-size: 11px; letter-spacing: 0.08em; color: color-mix(in oklab, var(--text) 70%, var(--muted) 30%); } .ops-state-float { position: absolute; color: #f2f7ff; border: 1px solid rgba(163, 187, 226, 0.65); background: rgba(17, 36, 71, 0.72); border-radius: 999px; padding: 4px; right: 24%; top: 26%; } .ops-state-float.state-thinking { animation: ops-state-orbit 1.8s linear infinite; } .ops-state-float.state-tool { animation: ops-tool-bob 0.7s ease-in-out infinite; } .ops-state-float.state-success { color: #62e2ad; border-color: rgba(98, 226, 173, 0.6); } .ops-state-float.state-error { color: #ff9b9b; border-color: rgba(255, 155, 155, 0.6); } .ops-state-idle .ops-state-eye { width: 28px; height: 4px; border: 0; border-radius: 999px; background: #d8e7ff; box-shadow: none; } .ops-state-idle .ops-state-eye::after { display: none; } .ops-state-thinking .ops-state-face { animation: ops-state-breathe 1.25s ease-in-out infinite; } .ops-state-thinking .ops-state-eye::after { animation: ops-eye-scan 1.3s ease-in-out infinite; } .ops-state-tool_call .ops-state-face { animation: ops-state-breathe 0.8s ease-in-out infinite; } .ops-state-tool_call .ops-state-eye::after { animation: ops-eye-scan-fast 0.7s ease-in-out infinite; } .ops-state-success .ops-state-face { box-shadow: 0 8px 30px rgba(11, 48, 37, 0.3), inset 0 0 0 1px rgba(112, 225, 172, 0.35); } .ops-state-success .ops-state-eye { width: 22px; height: 12px; border: 0; border-top: 3px solid #78dfb4; border-radius: 999px; background: transparent; box-shadow: none; transform: translateY(3px); } .ops-state-success .ops-state-eye.left { transform: translateY(3px) rotate(-8deg); } .ops-state-success .ops-state-eye.right { transform: translateY(3px) rotate(8deg); } .ops-state-success .ops-state-eye::after { display: none; } .ops-state-error .ops-state-face { box-shadow: 0 8px 30px rgba(57, 19, 19, 0.32), inset 0 0 0 1px rgba(255, 155, 155, 0.32); } .ops-state-error .ops-state-eye { width: 20px; height: 20px; border: 0; background: transparent; box-shadow: none; } .ops-state-error .ops-state-eye::after, .ops-state-error .ops-state-eye::before { content: ""; display: block; position: absolute; left: 50%; top: 50%; width: 18px; height: 3px; border-radius: 999px; background: #ff9b9b; } .ops-state-error .ops-state-eye::after { transform: translate(-50%, -50%) rotate(45deg); } .ops-state-error .ops-state-eye::before { transform: translate(-50%, -50%) rotate(-45deg); } .ops-state-error .ops-state-face, .ops-state-stopped .ops-state-face, .ops-state-exited .ops-state-face { filter: saturate(0.75); } .ops-state-stopped .ops-state-eye, .ops-state-exited .ops-state-eye { width: 24px; height: 3px; border: 0; background: color-mix(in oklab, var(--muted) 68%, #9fb4dc 32%); box-shadow: none; } .ops-state-stopped .ops-state-eye::after, .ops-state-exited .ops-state-eye::after { display: none; } .ops-state-unknown .ops-state-eye, .ops-state-info .ops-state-eye { animation: none; } @keyframes ops-state-breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } } @keyframes ops-eye-scan { 0%, 100% { transform: translate(-50%, -50%) translateX(0); } 30% { transform: translate(-50%, -50%) translateX(-2px); } 65% { transform: translate(-50%, -50%) translateX(2px); } } @keyframes ops-eye-scan-fast { 0%, 100% { transform: translate(-50%, -50%) translateX(0); } 50% { transform: translate(-50%, -50%) translateX(2px); } } @keyframes ops-state-orbit { 0% { transform: rotate(0deg) translateX(20px) rotate(0deg); } 100% { transform: rotate(360deg) translateX(20px) rotate(-360deg); } } @keyframes ops-tool-bob { 0%, 100% { transform: rotate(0deg); } 50% { transform: rotate(-15deg) translateY(-1px); } } .ops-cron-list { display: grid; gap: 8px; } .ops-cron-item { display: grid; grid-template-columns: 1fr auto; gap: 8px; border: 1px solid var(--line); border-radius: 10px; background: color-mix(in oklab, var(--panel-soft) 82%, transparent); padding: 8px; } .ops-cron-main { min-width: 0; display: grid; gap: 4px; } .ops-cron-name { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--text); } .ops-cron-meta { font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .ops-cron-actions { display: inline-flex; align-items: center; gap: 6px; } .ops-runtime-row { display: grid; grid-template-columns: 90px 1fr; gap: 8px; align-items: start; color: var(--text); font-size: 13px; } .ops-runtime-row span { color: var(--subtitle); font-weight: 700; } .ops-runtime-action { min-width: 0; display: grid; gap: 6px; } .ops-runtime-action-text { display: block; white-space: pre-wrap; word-break: break-word; overflow-wrap: anywhere; line-height: 1.54; max-height: 82px; overflow: auto; } .ops-runtime-action-text.expanded { max-height: 180px; } .ops-preview { border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; background: var(--panel); white-space: pre-wrap; line-height: 1.5; max-height: 140px; overflow: auto; } .ops-event-list { display: grid; gap: 8px; max-height: 240px; overflow: auto; } .ops-event-item { border: 1px solid var(--line); border-radius: 10px; padding: 8px; display: grid; grid-template-columns: 86px 1fr auto; gap: 8px; align-items: center; background: var(--panel); } .ops-event-state { font-size: 11px; font-weight: 800; border-radius: 999px; border: 1px solid; padding: 2px 8px; text-align: center; } .ops-event-state.thinking { color: #61a0ff; border-color: #5c88d8; background: rgba(95, 146, 229, 0.15); } .ops-event-state.tool_call { color: #4fd1b0; border-color: #3ca98f; background: rgba(60, 169, 143, 0.16); } .ops-event-state.success { color: #4fc790; border-color: #2ca476; background: rgba(44, 164, 118, 0.16); } .ops-event-state.error { color: #e56a6a; border-color: #cf5555; background: rgba(209, 75, 75, 0.2); } .ops-event-state.info { color: #7ea3e6; border-color: #5e7fb8; background: rgba(94, 127, 184, 0.16); } .ops-event-text { font-size: 12px; color: var(--text); line-height: 1.4; } .ops-event-time { font-size: 11px; color: var(--subtitle); } .ops-empty-inline { color: var(--muted); font-size: 13px; padding: 4px 2px; } .ops-action-grid { display: grid; grid-template-columns: 1fr; gap: 8px; } .workspace-panel { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; min-height: 340px; display: grid; grid-template-rows: 1fr auto; } .workspace-toolbar { display: flex; gap: 8px; align-items: center; } .workspace-refresh-icon-btn { width: 30px; height: 30px; border-radius: 8px; border: 1px solid var(--line); background: var(--panel-soft); color: var(--icon); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: border-color 0.2s ease, background 0.2s ease, transform 0.15s ease; } .workspace-refresh-icon-btn:hover { border-color: color-mix(in oklab, var(--brand) 60%, var(--line) 40%); background: color-mix(in oklab, var(--brand-soft) 42%, var(--panel-soft) 58%); } .workspace-refresh-icon-btn:disabled { opacity: 0.6; cursor: not-allowed; } .workspace-auto-switch { display: inline-flex; align-items: center; gap: 6px; color: var(--subtitle); font-size: 11px; font-weight: 700; user-select: none; } .workspace-auto-switch input { position: absolute; opacity: 0; width: 0; height: 0; } .workspace-auto-switch-track { position: relative; width: 34px; height: 20px; border-radius: 999px; border: 1px solid var(--line); background: color-mix(in oklab, var(--panel-soft) 85%, var(--panel) 15%); transition: background 0.2s ease, border-color 0.2s ease; } .workspace-auto-switch-track::after { content: ''; position: absolute; left: 2px; top: 2px; width: 14px; height: 14px; border-radius: 999px; background: color-mix(in oklab, var(--text) 75%, #fff 25%); transition: transform 0.2s ease, background 0.2s ease; } .workspace-auto-switch input:checked + .workspace-auto-switch-track { border-color: color-mix(in oklab, var(--brand) 70%, var(--line) 30%); background: color-mix(in oklab, var(--brand) 42%, var(--panel-soft) 58%); } .workspace-auto-switch input:checked + .workspace-auto-switch-track::after { transform: translateX(14px); background: #fff; } .workspace-path { border: 1px solid var(--line); border-radius: 8px; padding: 6px 8px; font-size: 11px; color: var(--muted); background: var(--panel-soft); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; min-width: 0; } .workspace-list { background: var(--panel); overflow: auto; padding: 8px; } .workspace-entry { width: 100%; border: 1px solid transparent; border-radius: 8px; background: color-mix(in oklab, var(--panel-soft) 70%, transparent); color: var(--text); text-align: left; display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; padding-top: 5px; padding-bottom: 5px; padding-left: 8px; padding-right: 8px; margin-bottom: 6px; } .workspace-entry .workspace-entry-name { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .workspace-entry .workspace-entry-meta { color: var(--muted); font-size: 11px; } .workspace-entry.dir { border-color: color-mix(in oklab, var(--line) 80%, transparent); } .workspace-entry.nav-up { border-style: dashed; } .workspace-entry.file { cursor: pointer; border-color: color-mix(in oklab, var(--line) 80%, transparent); } .workspace-entry:hover { border-color: color-mix(in oklab, var(--brand) 65%, var(--line) 35%); background: color-mix(in oklab, var(--brand-soft) 45%, transparent); } .workspace-entry.disabled { opacity: 0.5; cursor: not-allowed; } .workspace-hint { background: var(--panel-soft); color: var(--muted); font-size: 12px; font-weight: 600; border-bottom: 1px solid var(--line); padding: 7px 9px; } .modal-preview { width: min(1080px, 95vw); } .workspace-preview-body { border: 1px solid var(--line); border-radius: 10px; background: color-mix(in oklab, var(--panel-soft) 76%, var(--panel) 24%); min-height: 52vh; max-height: 72vh; overflow: auto; } .workspace-preview-embed { width: 100%; min-height: 68vh; border: 0; background: #fff; } .workspace-preview-body pre { margin: 0; padding: 12px; white-space: pre-wrap; word-break: break-word; line-height: 1.56; color: var(--text); font-size: 13px; font-family: 'SF Mono', Menlo, Consolas, monospace; } .workspace-preview-body.markdown pre { margin: 0; } .workspace-preview-image { display: block; max-width: 100%; max-height: 70vh; width: auto; height: auto; object-fit: contain; margin: 0 auto; } .workspace-markdown { padding: 12px 14px; color: var(--text); line-height: 1.72; font-size: 14px; font-family: 'SF Pro Display', 'PingFang SC', 'Microsoft YaHei', sans-serif; } .workspace-markdown > *:first-child { margin-top: 0; } .workspace-markdown > *:last-child { margin-bottom: 0; } .workspace-markdown h1, .workspace-markdown h2, .workspace-markdown h3, .workspace-markdown h4 { margin: 16px 0 8px; color: var(--text); font-weight: 800; line-height: 1.3; } .workspace-markdown h1 { font-size: 24px; } .workspace-markdown h2 { font-size: 20px; } .workspace-markdown h3 { font-size: 17px; } .workspace-markdown p { margin: 8px 0; } .workspace-markdown ul, .workspace-markdown ol { margin: 8px 0 8px 20px; padding: 0; } .workspace-markdown li { margin: 4px 0; } .workspace-markdown blockquote { margin: 10px 0; padding: 8px 12px; border-left: 3px solid color-mix(in oklab, var(--brand) 50%, var(--line) 50%); background: color-mix(in oklab, var(--panel-soft) 76%, var(--panel) 24%); border-radius: 8px; } .workspace-markdown hr { border: 0; border-top: 1px solid var(--line); margin: 14px 0; } .workspace-markdown code { font-family: 'SF Mono', Menlo, Consolas, monospace; background: color-mix(in oklab, var(--panel-soft) 76%, var(--panel) 24%); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; font-size: 12px; } .workspace-markdown pre { margin: 10px 0; padding: 10px 12px; white-space: pre-wrap; word-break: break-word; line-height: 1.55; background: color-mix(in oklab, var(--panel-soft) 70%, var(--panel) 30%); border: 1px solid var(--line); border-radius: 8px; } .workspace-markdown pre code { border: none; background: transparent; padding: 0; font-size: 12px; } .workspace-markdown table { width: 100%; border-collapse: collapse; margin: 10px 0; font-size: 13px; } .workspace-markdown th, .workspace-markdown td { border: 1px solid var(--line); padding: 6px 8px; text-align: left; } .workspace-markdown th { background: color-mix(in oklab, var(--panel-soft) 74%, var(--panel) 26%); } .workspace-markdown a { color: color-mix(in oklab, var(--brand) 80%, #5fa6ff 20%); text-decoration: underline; } .workspace-preview-meta { color: var(--muted); font-size: 11px; } .app-shell[data-theme='dark'] .ops-chat-bubble.assistant { background: #112850; } .app-shell[data-theme='dark'] .ops-chat-bubble.user { background: #0f2f35; } .app-shell[data-theme='light'] .ops-chat-bubble.assistant { background: #eaf1ff; border-color: #a9c1ee; } .app-shell[data-theme='light'] .ops-chat-bubble.user { background: #e8f6f2; border-color: #9ccfc2; } .app-shell[data-theme='light'] .ops-avatar.bot { background: #e6efff; border-color: #a5bfe8; } .app-shell[data-theme='light'] .ops-avatar.user { background: #edf4ff; border-color: #b1c7ea; color: #274a7d; } .app-shell[data-theme='light'] .ops-chat-scroll, .app-shell[data-theme='light'] .ops-chat-head, .app-shell[data-theme='light'] .ops-composer, .app-shell[data-theme='light'] .ops-bot-card, .app-shell[data-theme='light'] .ops-runtime-card { background: #f7fbff; } .app-shell[data-theme='light'] .ops-preview, .app-shell[data-theme='light'] .ops-status-pill { background: #ffffff; } .app-shell[data-theme='light'] .workspace-list { background: #ffffff; } .app-shell[data-theme='light'] .workspace-hint, .app-shell[data-theme='light'] .workspace-path { background: #f7fbff; } @media (max-width: 1160px) { .ops-chat-scroll { min-height: 320px; max-height: 55vh; } .ops-chat-bubble { max-width: 96%; } .ops-composer { grid-template-columns: 1fr; } .workspace-panel { min-height: 280px; grid-template-rows: 1fr auto; } .workspace-toolbar { gap: 6px; } .workspace-path { flex: 1; } .ops-runtime-state-card { min-height: 0; } .ops-runtime-state-card:not(.is-visual) { min-height: 170px; } .ops-runtime-state-card.is-visual { min-height: 170px; } .ops-runtime-state-card.is-visual .ops-state-stage { min-height: 100%; } .ops-runtime-state-card.is-visual .ops-state-face { width: 172px; height: 114px; gap: 28px; } .ops-runtime-state-card.is-visual .ops-state-eye { width: 24px; height: 24px; } .ops-runtime-state-card.is-visual .ops-state-idle .ops-state-eye { width: 30px; height: 5px; } }