micro-models-agent 2.16.1 → 2.17.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +34 -0
- package/README.md +8 -3
- package/dist/assets/app.js +1 -314
- package/dist/assets/hljs.js +5 -1244
- package/dist/assets/index.html +11 -0
- package/dist/assets/js/api.js +1 -28
- package/dist/assets/js/core/menus.js +1 -0
- package/dist/assets/js/core/store/feed.js +1 -0
- package/dist/assets/js/core/store/index.js +1 -0
- package/dist/assets/js/core/store/session.js +1 -0
- package/dist/assets/js/core/store/settings.js +1 -0
- package/dist/assets/js/core/store/tabs.js +1 -0
- package/dist/assets/js/dialog.js +1 -105
- package/dist/assets/js/dom.js +1 -178
- package/dist/assets/js/feed/core.js +1 -0
- package/dist/assets/js/feed/history.js +1 -0
- package/dist/assets/js/feed/plan.js +1 -0
- package/dist/assets/js/feed/question.js +3 -0
- package/dist/assets/js/feed/sidebar.js +1 -0
- package/dist/assets/js/feed/stream.js +1 -0
- package/dist/assets/js/feed/turn.js +5 -0
- package/dist/assets/js/feed.js +1 -1250
- package/dist/assets/js/format.js +2 -122
- package/dist/assets/js/i18n.js +1 -46
- package/dist/assets/js/rail.js +1 -114
- package/dist/assets/js/session/cmdk.js +1 -0
- package/dist/assets/js/session/composer.js +1 -0
- package/dist/assets/js/session/sessions-menu.js +1 -0
- package/dist/assets/js/session/tabs.js +1 -0
- package/dist/assets/js/settings/controls.js +1 -0
- package/dist/assets/js/settings/editors.js +1 -0
- package/dist/assets/js/settings/form.js +1 -0
- package/dist/assets/js/settings/modal.js +1 -0
- package/dist/assets/js/settings/panels.js +1 -0
- package/dist/assets/js/settings/providers.js +1 -0
- package/dist/assets/js/settings/search.js +1 -0
- package/dist/assets/js/settings/subdialog.js +1 -0
- package/dist/assets/js/settings/write.js +1 -0
- package/dist/assets/js/settings.js +1 -1914
- package/dist/assets/js/sidebar/core.js +1 -0
- package/dist/assets/js/sidebar/lsp.js +2 -0
- package/dist/assets/js/sidebar/map.js +1 -0
- package/dist/assets/js/sidebar/state.js +1 -0
- package/dist/assets/js/sidebar/trace.js +5 -0
- package/dist/assets/js/sidebar.js +1 -705
- package/dist/assets/js/store.js +1 -82
- package/dist/assets/js/subdialog.js +1 -0
- package/dist/assets/md.js +1 -291
- package/dist/assets/setup.js +3 -816
- package/dist/assets/smd.js +29 -1665
- package/dist/assets/styles.css +1 -1598
- package/dist/certification/certifications.json +1 -494
- package/dist/i18n/en.json +1 -1851
- package/dist/i18n/ru.json +1 -1854
- package/dist/main.js +815 -55797
- package/dist/modules/browser/bridge-server.mjs +2 -252
- package/package.json +10 -5
- package/dist/assets/js/settings-controls.js +0 -452
- package/dist/assets/js/tabs.js +0 -867
- package/dist/cli/cache-line.js +0 -31
- package/dist/cli/command-suggest.js +0 -39
- package/dist/cli/commands.js +0 -781
- package/dist/cli/completer.js +0 -268
- package/dist/cli/index.js +0 -3
- package/dist/cli/json-payload.js +0 -32
- package/dist/cli/main.js +0 -346
- package/dist/cli/onboarding-commands.js +0 -126
- package/dist/cli/plugin-commands.js +0 -38
- package/dist/cli/relaunch.js +0 -40
- package/dist/cli/repl-commands-lsp.js +0 -75
- package/dist/cli/repl-commands-skills.js +0 -105
- package/dist/cli/repl-commands.js +0 -1218
- package/dist/cli/repl.js +0 -1238
- package/dist/cli/run-result.js +0 -38
- package/dist/cli/security-commands.js +0 -177
- package/dist/cli/setup-order.js +0 -6
- package/dist/cli/setup-prompt.js +0 -50
- package/dist/cli/setup.js +0 -161
- package/dist/cli/web-command.js +0 -98
- package/dist/config/budget.js +0 -48
- package/dist/config/config.js +0 -345
- package/dist/config/defaults.js +0 -197
- package/dist/config/domains.js +0 -135
- package/dist/config/env.js +0 -46
- package/dist/config/experts.js +0 -17
- package/dist/config/index.js +0 -5
- package/dist/config/paths.js +0 -56
- package/dist/config/redact.js +0 -44
- package/dist/config/registry-extra.js +0 -334
- package/dist/config/registry.js +0 -584
- package/dist/config/security.js +0 -212
- package/dist/config/timeouts.js +0 -74
- package/dist/config/types.js +0 -1
- package/dist/config/utils.js +0 -57
- package/dist/core/agent/artifact-progress.js +0 -59
- package/dist/core/agent/artifact-resolve.js +0 -79
- package/dist/core/agent/audit-gate.js +0 -53
- package/dist/core/agent/compaction.js +0 -89
- package/dist/core/agent/constants.js +0 -90
- package/dist/core/agent/context-log.js +0 -454
- package/dist/core/agent/context-renderer.js +0 -45
- package/dist/core/agent/critic-gate.js +0 -132
- package/dist/core/agent/hallucination-gate.js +0 -197
- package/dist/core/agent/loop-state.js +0 -68
- package/dist/core/agent/prefix-monitor.js +0 -101
- package/dist/core/agent/reasoning-resolver.js +0 -65
- package/dist/core/agent/token-tracker.js +0 -99
- package/dist/core/agent/tool-batch.js +0 -312
- package/dist/core/agent/tool-images.js +0 -18
- package/dist/core/agent/tool-output.js +0 -116
- package/dist/core/agent/tool-pairing.js +0 -60
- package/dist/core/agent-moe.js +0 -248
- package/dist/core/agent.js +0 -1299
- package/dist/core/bootstrap/agent-phase.js +0 -66
- package/dist/core/bootstrap/config-phase.js +0 -86
- package/dist/core/bootstrap/modules-phase.js +0 -269
- package/dist/core/bootstrap/provider-phase.js +0 -183
- package/dist/core/bootstrap/session-phase.js +0 -204
- package/dist/core/bootstrap/state.js +0 -94
- package/dist/core/bootstrap/workspace-phase.js +0 -115
- package/dist/core/bootstrap.js +0 -112
- package/dist/core/crash-handler.js +0 -62
- package/dist/core/environment.js +0 -224
- package/dist/core/host-plan.js +0 -43
- package/dist/core/host.js +0 -23
- package/dist/core/index.js +0 -3
- package/dist/core/prompt-builder.js +0 -95
- package/dist/core/prompt-overflow.js +0 -306
- package/dist/core/session-logger.js +0 -375
- package/dist/core/system-prompt.js +0 -117
- package/dist/core/types.js +0 -1
- package/dist/core/version.js +0 -28
- package/dist/core/web-host.js +0 -34
- package/dist/core/workspace.js +0 -80
- package/dist/i18n/index.js +0 -80
- package/dist/index.js +0 -30
- package/dist/llm/cache-usage.js +0 -76
- package/dist/llm/image-utils.js +0 -138
- package/dist/llm/index.js +0 -4
- package/dist/llm/llm-errors.js +0 -50
- package/dist/llm/model-loader.js +0 -86
- package/dist/llm/models-dev.js +0 -121
- package/dist/llm/openai-compat.js +0 -756
- package/dist/llm/orchestrator.js +0 -294
- package/dist/llm/provider-budget.js +0 -68
- package/dist/llm/provider-context.js +0 -233
- package/dist/llm/provider.js +0 -9
- package/dist/llm/response.js +0 -44
- package/dist/llm/stream-state.js +0 -26
- package/dist/llm/token-counter.js +0 -83
- package/dist/llm/types.js +0 -1
- package/dist/logger/app-logger.js +0 -212
- package/dist/logger/file-log.js +0 -160
- package/dist/logger/index.js +0 -2
- package/dist/migration/backup.js +0 -56
- package/dist/migration/detect.js +0 -61
- package/dist/migration/index.js +0 -3
- package/dist/modules/artifacts/store.js +0 -62
- package/dist/modules/browser/actions.js +0 -79
- package/dist/modules/browser/bridge-client.js +0 -203
- package/dist/modules/browser/bridge-path.js +0 -10
- package/dist/modules/browser/console-buffer.js +0 -37
- package/dist/modules/browser/cookie-store.js +0 -29
- package/dist/modules/browser/driver-types.js +0 -1
- package/dist/modules/browser/driver.js +0 -186
- package/dist/modules/browser/index.js +0 -9
- package/dist/modules/browser/module.js +0 -30
- package/dist/modules/browser/session.js +0 -322
- package/dist/modules/browser/snapshot.js +0 -154
- package/dist/modules/browser/types.js +0 -13
- package/dist/modules/certification/cli.js +0 -264
- package/dist/modules/certification/fact-checker.js +0 -90
- package/dist/modules/certification/loader.js +0 -127
- package/dist/modules/certification/manifest.js +0 -231
- package/dist/modules/certification/runner.js +0 -233
- package/dist/modules/certification/scenarios.js +0 -586
- package/dist/modules/certification/syntax-scenarios.js +0 -50
- package/dist/modules/certification/types.js +0 -1
- package/dist/modules/context/chunk-query.js +0 -122
- package/dist/modules/context/fact-extractor.js +0 -170
- package/dist/modules/context/history.js +0 -15
- package/dist/modules/context/index.js +0 -2
- package/dist/modules/context/manager.js +0 -482
- package/dist/modules/critic/client.js +0 -176
- package/dist/modules/critic/evidence.js +0 -81
- package/dist/modules/critic/provider.js +0 -45
- package/dist/modules/critic/tools.js +0 -78
- package/dist/modules/critic/types.js +0 -1
- package/dist/modules/execution/audit-runners.js +0 -206
- package/dist/modules/execution/auditor.js +0 -222
- package/dist/modules/execution/execution-plugin.js +0 -478
- package/dist/modules/execution/index.js +0 -8
- package/dist/modules/execution/input-from.js +0 -70
- package/dist/modules/execution/module.js +0 -891
- package/dist/modules/execution/moe-executor.js +0 -443
- package/dist/modules/execution/plan-actions.js +0 -642
- package/dist/modules/execution/plan-checks.js +0 -35
- package/dist/modules/execution/plan-coverage.js +0 -71
- package/dist/modules/execution/plan-persister.js +0 -46
- package/dist/modules/execution/plan-steps.js +0 -31
- package/dist/modules/execution/plan-store.js +0 -274
- package/dist/modules/execution/plan-tool.js +0 -249
- package/dist/modules/execution/plan-validator.js +0 -197
- package/dist/modules/execution/planner.js +0 -103
- package/dist/modules/execution/stuck-detector.js +0 -834
- package/dist/modules/execution/tracker.js +0 -92
- package/dist/modules/execution/transient-error.js +0 -30
- package/dist/modules/execution/types.js +0 -1
- package/dist/modules/execution/verifier.js +0 -343
- package/dist/modules/execution/windows-commands.js +0 -52
- package/dist/modules/hallucination/artifact-claim.js +0 -93
- package/dist/modules/hallucination/confidence.js +0 -81
- package/dist/modules/hallucination/consistency.js +0 -37
- package/dist/modules/hallucination/detector.js +0 -57
- package/dist/modules/hallucination/factual.js +0 -205
- package/dist/modules/hallucination/index.js +0 -6
- package/dist/modules/hallucination/js-identifiers.js +0 -261
- package/dist/modules/hallucination/llm-judge.js +0 -116
- package/dist/modules/hallucination/success-claim.js +0 -59
- package/dist/modules/index.js +0 -5
- package/dist/modules/indexer/cache.js +0 -88
- package/dist/modules/indexer/index.js +0 -4
- package/dist/modules/indexer/map-command.js +0 -33
- package/dist/modules/indexer/map-select.js +0 -87
- package/dist/modules/indexer/module.js +0 -293
- package/dist/modules/indexer/project-profile.js +0 -184
- package/dist/modules/indexer/symbols.js +0 -189
- package/dist/modules/indexer/walker.js +0 -285
- package/dist/modules/lsp/check-tool.js +0 -61
- package/dist/modules/lsp/client.js +0 -406
- package/dist/modules/lsp/command.js +0 -53
- package/dist/modules/lsp/config.js +0 -189
- package/dist/modules/lsp/index.js +0 -4
- package/dist/modules/lsp/module.js +0 -295
- package/dist/modules/lsp/probe.js +0 -86
- package/dist/modules/lsp/project-root.js +0 -69
- package/dist/modules/lsp/startup-check.js +0 -154
- package/dist/modules/lsp/types.js +0 -1
- package/dist/modules/mcp/client.js +0 -445
- package/dist/modules/mcp/index.js +0 -4
- package/dist/modules/mcp/module.js +0 -295
- package/dist/modules/mcp/registry.js +0 -20
- package/dist/modules/memory/index.js +0 -2
- package/dist/modules/memory/module.js +0 -101
- package/dist/modules/memory/search.js +0 -45
- package/dist/modules/memory/store.js +0 -107
- package/dist/modules/onboarding/init.js +0 -47
- package/dist/modules/onboarding/meet.js +0 -30
- package/dist/modules/onboarding/mode.js +0 -30
- package/dist/modules/onboarding/prompts.js +0 -43
- package/dist/modules/pipelines/engine.js +0 -70
- package/dist/modules/pipelines/index.js +0 -4
- package/dist/modules/pipelines/parser.js +0 -59
- package/dist/modules/pipelines/template.js +0 -18
- package/dist/modules/plugins/builtin/lint-on-write.js +0 -377
- package/dist/modules/plugins/builtin/notify.js +0 -11
- package/dist/modules/plugins/index.js +0 -2
- package/dist/modules/plugins/loader.js +0 -85
- package/dist/modules/plugins/manager.js +0 -244
- package/dist/modules/plugins/types.js +0 -1
- package/dist/modules/pricing/index.js +0 -70
- package/dist/modules/pricing/prices.js +0 -147
- package/dist/modules/processes/detect.js +0 -34
- package/dist/modules/processes/index.js +0 -4
- package/dist/modules/processes/kill-tree.js +0 -52
- package/dist/modules/processes/registry.js +0 -294
- package/dist/modules/processes/runner.js +0 -23
- package/dist/modules/providers/cache.js +0 -23
- package/dist/modules/providers/capabilities.js +0 -28
- package/dist/modules/providers/create.js +0 -21
- package/dist/modules/providers/factory.js +0 -28
- package/dist/modules/providers/fallback.js +0 -81
- package/dist/modules/providers/health.js +0 -47
- package/dist/modules/providers/index.js +0 -6
- package/dist/modules/providers/manager.js +0 -207
- package/dist/modules/providers/naming.js +0 -15
- package/dist/modules/providers/preflight.js +0 -71
- package/dist/modules/providers/presets.js +0 -232
- package/dist/modules/providers/registry.js +0 -27
- package/dist/modules/providers/types.js +0 -1
- package/dist/modules/reasoning/policy.js +0 -42
- package/dist/modules/reasoning/probe.js +0 -116
- package/dist/modules/registry.js +0 -48
- package/dist/modules/security/audit-log.js +0 -119
- package/dist/modules/security/audit-notifier.js +0 -267
- package/dist/modules/security/command-validator.js +0 -272
- package/dist/modules/security/content-scanner.js +0 -53
- package/dist/modules/security/data-sanitizer.js +0 -82
- package/dist/modules/security/encryption.js +0 -216
- package/dist/modules/security/index.js +0 -15
- package/dist/modules/security/network-validator.js +0 -236
- package/dist/modules/security/path-validator.js +0 -261
- package/dist/modules/security/protected-paths.js +0 -73
- package/dist/modules/security/rate-limiter.js +0 -98
- package/dist/modules/security/security-policies.js +0 -499
- package/dist/modules/security/session-encryption.js +0 -182
- package/dist/modules/security/session-isolation.js +0 -75
- package/dist/modules/session/auto-name.js +0 -63
- package/dist/modules/session/export.js +0 -98
- package/dist/modules/session/index.js +0 -4
- package/dist/modules/session/manager.js +0 -234
- package/dist/modules/session/module.js +0 -33
- package/dist/modules/session/store.js +0 -295
- package/dist/modules/session/types.js +0 -1
- package/dist/modules/setup/answers.js +0 -35
- package/dist/modules/setup/apply.js +0 -79
- package/dist/modules/setup/discovery.js +0 -72
- package/dist/modules/skills/index.js +0 -3
- package/dist/modules/skills/loader.js +0 -86
- package/dist/modules/skills/matcher.js +0 -27
- package/dist/modules/skills/module.js +0 -141
- package/dist/modules/types.js +0 -1
- package/dist/modules/updater/changelog-reader.js +0 -93
- package/dist/modules/updater/checker.js +0 -101
- package/dist/modules/updater/dev-detect.js +0 -18
- package/dist/modules/updater/index.js +0 -4
- package/dist/modules/updater/module.js +0 -129
- package/dist/modules/user-profile/compressor.js +0 -18
- package/dist/modules/user-profile/index.js +0 -2
- package/dist/modules/user-profile/profile.js +0 -77
- package/dist/modules/webui/answer-api.js +0 -29
- package/dist/modules/webui/assets.js +0 -50
- package/dist/modules/webui/body.js +0 -21
- package/dist/modules/webui/commands-settings.js +0 -209
- package/dist/modules/webui/commands-shared.js +0 -60
- package/dist/modules/webui/commands.js +0 -174
- package/dist/modules/webui/config-api.js +0 -134
- package/dist/modules/webui/file-api.js +0 -202
- package/dist/modules/webui/forward.js +0 -159
- package/dist/modules/webui/history-api.js +0 -112
- package/dist/modules/webui/host-state.js +0 -60
- package/dist/modules/webui/i18n-api.js +0 -9
- package/dist/modules/webui/limits.js +0 -6
- package/dist/modules/webui/log-forward.js +0 -20
- package/dist/modules/webui/memory-commands.js +0 -64
- package/dist/modules/webui/model-cache.js +0 -18
- package/dist/modules/webui/module.js +0 -148
- package/dist/modules/webui/persist.js +0 -24
- package/dist/modules/webui/prompt-io.js +0 -97
- package/dist/modules/webui/providers-api.js +0 -337
- package/dist/modules/webui/providers-view.js +0 -56
- package/dist/modules/webui/reasoning-view.js +0 -15
- package/dist/modules/webui/run-agent.js +0 -81
- package/dist/modules/webui/server.js +0 -284
- package/dist/modules/webui/sessions-api.js +0 -178
- package/dist/modules/webui/settings-api.js +0 -561
- package/dist/modules/webui/setup-api.js +0 -201
- package/dist/modules/webui/state.js +0 -74
- package/dist/modules/webui/util.js +0 -261
- package/dist/output/bus.js +0 -37
- package/dist/output/channel.js +0 -285
- package/dist/output/format.js +0 -15
- package/dist/output/index.js +0 -8
- package/dist/output/json-sink.js +0 -24
- package/dist/output/machine.js +0 -9
- package/dist/output/session-sink.js +0 -27
- package/dist/output/types.js +0 -1
- package/dist/tools/approve.js +0 -41
- package/dist/tools/attach-image.js +0 -102
- package/dist/tools/auto-fixer.js +0 -180
- package/dist/tools/auto-tags.js +0 -83
- package/dist/tools/bash.js +0 -649
- package/dist/tools/browser.js +0 -160
- package/dist/tools/chunk-query.js +0 -112
- package/dist/tools/create-dir.js +0 -60
- package/dist/tools/delete-file.js +0 -67
- package/dist/tools/download-file.js +0 -142
- package/dist/tools/edit-file.js +0 -136
- package/dist/tools/enable-tools.js +0 -59
- package/dist/tools/executor.js +0 -304
- package/dist/tools/file-info.js +0 -49
- package/dist/tools/filter-tools.js +0 -17
- package/dist/tools/glob-tool.js +0 -37
- package/dist/tools/grep-tool.js +0 -142
- package/dist/tools/hidden-tools-block.js +0 -37
- package/dist/tools/index.js +0 -88
- package/dist/tools/list-dir.js +0 -53
- package/dist/tools/load-skill.js +0 -51
- package/dist/tools/mcp-call.js +0 -80
- package/dist/tools/meet-done.js +0 -14
- package/dist/tools/move-file.js +0 -94
- package/dist/tools/path-utils.js +0 -108
- package/dist/tools/pipeline-run.js +0 -167
- package/dist/tools/preview.js +0 -2
- package/dist/tools/process-ids.js +0 -31
- package/dist/tools/process-kill.js +0 -33
- package/dist/tools/process-list.js +0 -38
- package/dist/tools/process-log.js +0 -49
- package/dist/tools/process-wait.js +0 -63
- package/dist/tools/prompt-io.js +0 -29
- package/dist/tools/question.js +0 -288
- package/dist/tools/read-file.js +0 -200
- package/dist/tools/recall.js +0 -124
- package/dist/tools/registry.js +0 -48
- package/dist/tools/remember.js +0 -72
- package/dist/tools/scope-check.js +0 -32
- package/dist/tools/scope-request.js +0 -96
- package/dist/tools/search-history.js +0 -88
- package/dist/tools/session-info.js +0 -46
- package/dist/tools/set-thinking.js +0 -75
- package/dist/tools/subagent.js +0 -257
- package/dist/tools/syntax-validator.js +0 -379
- package/dist/tools/types.js +0 -1
- package/dist/tools/user-input.js +0 -134
- package/dist/tools/web-browse.js +0 -93
- package/dist/tools/web-fetch.js +0 -108
- package/dist/tools/web-search.js +0 -107
- package/dist/tools/write-file.js +0 -128
- package/dist/ui/action-log.js +0 -13
- package/dist/ui/box.js +0 -78
- package/dist/ui/colors.js +0 -6
- package/dist/ui/diff.js +0 -189
- package/dist/ui/index.js +0 -7
- package/dist/ui/line-editor.js +0 -1083
- package/dist/ui/line-math.js +0 -98
- package/dist/ui/md-formatter.js +0 -322
- package/dist/ui/output.js +0 -19
- package/dist/ui/plan-view.js +0 -109
- package/dist/ui/renderer.js +0 -589
- package/dist/ui/spinner.js +0 -91
- package/dist/ui/table.js +0 -142
- package/dist/ui/theme.js +0 -143
- package/dist/utils/child-run.js +0 -20
- package/dist/utils/error.js +0 -4
- package/dist/utils/index.js +0 -6
- package/dist/utils/retry.js +0 -17
- package/dist/utils/sleep.js +0 -23
- package/dist/utils/truncate.js +0 -9
package/dist/assets/styles.css
CHANGED
|
@@ -1,1598 +1 @@
|
|
|
1
|
-
/* ---- theme tokens (dark default; light override further below) ---- */
|
|
2
|
-
:root {
|
|
3
|
-
--bg: #141414;
|
|
4
|
-
--fg: #e6edf3;
|
|
5
|
-
--panel: #191919;
|
|
6
|
-
--sb-bg: #181818;
|
|
7
|
-
--stab-bg: #181818;
|
|
8
|
-
--surface: #1f1f1f;
|
|
9
|
-
--input-surface: #1f1f1f;
|
|
10
|
-
--inp-bg: #1d1d1d;
|
|
11
|
-
--inp-border: #c4a8ec44;
|
|
12
|
-
--inp-focus: #c4a8ec;
|
|
13
|
-
--input-shadow: #c4a8ec33;
|
|
14
|
-
--border: #262626;
|
|
15
|
-
--border-2: #2e2e2e;
|
|
16
|
-
--border-3: #262626;
|
|
17
|
-
--muted: #d4d4d4;
|
|
18
|
-
--dim-a: #a3a3a3;
|
|
19
|
-
--dim-b: #737373;
|
|
20
|
-
--dim-c: #737373;
|
|
21
|
-
--accent: #c4a8ec;
|
|
22
|
-
--accent-bg: #241e30;
|
|
23
|
-
--green: #c9c5bd;
|
|
24
|
-
--green-fill: #8a8781;
|
|
25
|
-
--red: #e08080;
|
|
26
|
-
--err: #e08080;
|
|
27
|
-
--red-strong: #e08080;
|
|
28
|
-
--yellow: #d9a45b;
|
|
29
|
-
--purple: #b8b0a6;
|
|
30
|
-
--cyan: #a8a29e;
|
|
31
|
-
--think: #9c9c9c;
|
|
32
|
-
--cmdout: #d4d4d4;
|
|
33
|
-
--meta: #a3a3a3;
|
|
34
|
-
--args: #a3a3a3;
|
|
35
|
-
--hover-bg: #262626;
|
|
36
|
-
--hover-bg-2: #222222;
|
|
37
|
-
--x-hover-bg: #2e2e2e;
|
|
38
|
-
--u-fg: #d3bdf2;
|
|
39
|
-
--u-bg: #221c2e;
|
|
40
|
-
--u-border: #c4a8ec;
|
|
41
|
-
--ans: #a5adb6;
|
|
42
|
-
--toggle-off: #2e2e2e;
|
|
43
|
-
--toggle-knob: #a3a3a3;
|
|
44
|
-
--toggle-knob-on: #fff;
|
|
45
|
-
--scroll-thumb: #2e2e2e;
|
|
46
|
-
--scroll-thumb-hover: #737373;
|
|
47
|
-
--stab-thumb: #2e2e2e;
|
|
48
|
-
--stab-thumb-hover: #737373;
|
|
49
|
-
--pipe: #2e2e2e;
|
|
50
|
-
--rule: #2e2e2e;
|
|
51
|
-
--checker-a: #222222;
|
|
52
|
-
--checker-b: #2e2e2e;
|
|
53
|
-
--checker-base: #191919;
|
|
54
|
-
--checker-border: #2e2e2e;
|
|
55
|
-
--ph-light: #eaeef2;
|
|
56
|
-
--track: #262626;
|
|
57
|
-
/* Context-breakdown segments (system/tools/history/reserve/free). */
|
|
58
|
-
--seg-system: #a78bfa;
|
|
59
|
-
--seg-tools: #38bdf8;
|
|
60
|
-
--seg-history: #34d399;
|
|
61
|
-
--seg-reserve: #fbbf24;
|
|
62
|
-
--seg-free: #3f3f46;
|
|
63
|
-
--plan-line: #2e2e2e;
|
|
64
|
-
--plan-bar-fg: #a3a3a3;
|
|
65
|
-
--sec-h: #a3a3a3;
|
|
66
|
-
--sec-h-hover: #d4d4d4;
|
|
67
|
-
--stab-fg: #a3a3a3;
|
|
68
|
-
--overlay: rgba(0,0,0,.55);
|
|
69
|
-
--shadow-menu: 0 8px 24px rgba(0,0,0,.5);
|
|
70
|
-
--shadow-dd: 0 12px 32px rgba(0,0,0,.55);
|
|
71
|
-
--shadow-modal: 0 20px 60px rgba(0,0,0,.6);
|
|
72
|
-
}
|
|
73
|
-
/* Light theme. Contract: every token declared in `:root` is overridden here
|
|
74
|
-
(minus the one or two that are intentionally theme-agnostic), so a token can
|
|
75
|
-
never silently fall back to its dark value on a white background. No `-const`
|
|
76
|
-
duplicates: a semantic role has exactly one token. Text/semantic tokens keep
|
|
77
|
-
>=4.5:1 (text) / >=3:1 (glyphs) contrast against `--bg`/`--panel`. */
|
|
78
|
-
body.light {
|
|
79
|
-
--bg: #f6f8fa;
|
|
80
|
-
--fg: #1f2328;
|
|
81
|
-
--panel: #ffffff;
|
|
82
|
-
--sb-bg: #ffffff;
|
|
83
|
-
--stab-bg: #f6f8fa;
|
|
84
|
-
--surface: #f6f8fa;
|
|
85
|
-
--input-surface: #ffffff;
|
|
86
|
-
--inp-bg: #ffffff;
|
|
87
|
-
--inp-border: #1a7f3740;
|
|
88
|
-
--inp-focus: #1a7f37;
|
|
89
|
-
--input-shadow: #1a7f3733;
|
|
90
|
-
--border: #d0d7de;
|
|
91
|
-
--border-2: #d0d7de;
|
|
92
|
-
--border-3: #d8dee4;
|
|
93
|
-
--muted: #57606a;
|
|
94
|
-
--dim-a: #57606a;
|
|
95
|
-
--dim-b: #6e7781;
|
|
96
|
-
--dim-c: #6e7781;
|
|
97
|
-
--accent: #0969da;
|
|
98
|
-
--accent-bg: #ddf4ff;
|
|
99
|
-
--green: #1a7f37;
|
|
100
|
-
--green-fill: #1a7f37;
|
|
101
|
-
--red: #cf222e;
|
|
102
|
-
--err: #cf222e;
|
|
103
|
-
--red-strong: #cf222e;
|
|
104
|
-
--yellow: #9a6700;
|
|
105
|
-
--purple: #8250df;
|
|
106
|
-
--cyan: #116329;
|
|
107
|
-
--think: #6e7781;
|
|
108
|
-
--cmdout: #57606a;
|
|
109
|
-
--meta: #57606a;
|
|
110
|
-
--args: #656d76;
|
|
111
|
-
--hover-bg: #eaeef2;
|
|
112
|
-
--hover-bg-2: #f6f8fa;
|
|
113
|
-
--x-hover-bg: #eaeef2;
|
|
114
|
-
--u-fg: #0550ae;
|
|
115
|
-
--u-bg: #ddf4ff;
|
|
116
|
-
--u-border: #0969da;
|
|
117
|
-
--ans: #424a53;
|
|
118
|
-
--toggle-off: #d0d7de;
|
|
119
|
-
--toggle-knob: #6e7781;
|
|
120
|
-
--toggle-knob-on: #ffffff;
|
|
121
|
-
--scroll-thumb: #d0d7de;
|
|
122
|
-
--scroll-thumb-hover: #afb8c1;
|
|
123
|
-
--stab-thumb: #d0d7de;
|
|
124
|
-
--stab-thumb-hover: #afb8c1;
|
|
125
|
-
--pipe: #d0d7de;
|
|
126
|
-
--rule: #d0d7de;
|
|
127
|
-
--checker-a: #eaeef2;
|
|
128
|
-
--checker-b: #d0d7de;
|
|
129
|
-
--checker-base: #ffffff;
|
|
130
|
-
--checker-border: #d0d7de;
|
|
131
|
-
--ph-light: #eaeef2;
|
|
132
|
-
--track: #eaeef2;
|
|
133
|
-
/* Context-breakdown segments (system/tools/history/reserve/free). */
|
|
134
|
-
--seg-system: #7c3aed;
|
|
135
|
-
--seg-tools: #0284c7;
|
|
136
|
-
--seg-history: #059669;
|
|
137
|
-
--seg-reserve: #d97706;
|
|
138
|
-
--seg-free: #d0d7de;
|
|
139
|
-
--plan-line: #d0d7de;
|
|
140
|
-
--plan-bar-fg: #57606a;
|
|
141
|
-
--sec-h: #57606a;
|
|
142
|
-
--sec-h-hover: #1f2328;
|
|
143
|
-
--stab-fg: #57606a;
|
|
144
|
-
--overlay: rgba(31,35,40,.35);
|
|
145
|
-
--shadow-menu: 0 8px 24px rgba(140,149,159,.25);
|
|
146
|
-
--shadow-dd: 0 12px 32px rgba(140,149,159,.25);
|
|
147
|
-
--shadow-modal: 0 20px 60px rgba(140,149,159,.35);
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
* { box-sizing: border-box; margin: 0; padding: 0; }
|
|
151
|
-
html, body { height: 100%; }
|
|
152
|
-
body {
|
|
153
|
-
background: var(--bg); color: var(--fg);
|
|
154
|
-
font-family: ui-monospace, "Cascadia Code", "JetBrains Mono", Consolas, monospace;
|
|
155
|
-
font-size: 15px; display: flex; flex-direction: column; overflow: hidden;
|
|
156
|
-
}
|
|
157
|
-
/* Chat font size (`ui.fontSize`): the base above is `comfortable` (default).
|
|
158
|
-
`compact` restores the old 13px, `large` steps up to 17px. */
|
|
159
|
-
body[data-font="compact"] { font-size: 13px; }
|
|
160
|
-
body[data-font="large"] { font-size: 17px; }
|
|
161
|
-
|
|
162
|
-
/* ---- topbar: new chat, sessions dropdown, tabstrip, settings ---- */
|
|
163
|
-
.bar-top {
|
|
164
|
-
display: flex; gap: 14px; align-items: center;
|
|
165
|
-
padding: 8px 14px; background: var(--panel); border-bottom: 1px solid var(--border);
|
|
166
|
-
color: var(--muted); font-size: 12.5px; position: relative; z-index: 40;
|
|
167
|
-
}
|
|
168
|
-
.icon-btn {
|
|
169
|
-
cursor: pointer; color: var(--muted); height: 24px; padding: 0 8px; border: none; background: none;
|
|
170
|
-
font: inherit; font-size: 14px; border-radius: 4px; line-height: 1;
|
|
171
|
-
}
|
|
172
|
-
.icon-btn:hover { background: var(--hover-bg); color: var(--fg); }
|
|
173
|
-
.icon-btn.primary { color: var(--accent); }
|
|
174
|
-
.icon-btn:disabled { opacity: .35; cursor: default; }
|
|
175
|
-
.icon-btn:disabled:hover { background: none; color: var(--muted); }
|
|
176
|
-
/* Mobile session sub-header (see #sessBar): hidden on desktop, flex ≤760px.
|
|
177
|
-
The + / list tools relocate into #sessTools (placeTopTools in tabs.js). */
|
|
178
|
-
.bar-sub { display: none; }
|
|
179
|
-
#openSettings { margin-left: auto; margin-right: 6px; }
|
|
180
|
-
#toggleSidebar { display: none; }
|
|
181
|
-
.conn { color: var(--dim-a); font-size: 11.5px; white-space: nowrap; }
|
|
182
|
-
.conn.stale { color: var(--yellow); }
|
|
183
|
-
.conn.stale .linkbtn { font-size: 11.5px; }
|
|
184
|
-
.tabstrip {
|
|
185
|
-
display: flex; gap: 4px; align-items: center; overflow-x: auto;
|
|
186
|
-
flex: 1; min-width: 0;
|
|
187
|
-
}
|
|
188
|
-
.tabstrip::-webkit-scrollbar { height: 5px; }
|
|
189
|
-
.tabstrip::-webkit-scrollbar-track { background: transparent; }
|
|
190
|
-
.tabstrip::-webkit-scrollbar-thumb {
|
|
191
|
-
background: var(--stab-thumb); border-radius: 3px;
|
|
192
|
-
}
|
|
193
|
-
.tabstrip::-webkit-scrollbar-thumb:hover { background: var(--stab-thumb-hover); }
|
|
194
|
-
.stab {
|
|
195
|
-
display: flex; gap: 7px; align-items: center; white-space: nowrap;
|
|
196
|
-
height: 24px; padding: 0 6px 0 10px; border-radius: 7px; cursor: pointer;
|
|
197
|
-
color: var(--stab-fg); font-size: 12.5px; background: var(--stab-bg);
|
|
198
|
-
border: 1px solid transparent; max-width: 220px;
|
|
199
|
-
}
|
|
200
|
-
.stab:hover { color: var(--fg); }
|
|
201
|
-
.stab.on { background: var(--accent-bg); color: var(--accent); border-color: transparent; }
|
|
202
|
-
.stab .name { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
|
|
203
|
-
.stab .stab-x {
|
|
204
|
-
flex: 0 0 auto; width: 18px; height: 18px; padding: 0; justify-content: center;
|
|
205
|
-
color: var(--dim-b); border-radius: 3px; cursor: pointer;
|
|
206
|
-
}
|
|
207
|
-
.stab .stab-x .svg-icon { width: 12px; height: 12px; }
|
|
208
|
-
.stab .stab-x:hover { color: var(--red-strong); background: var(--x-hover-bg); }
|
|
209
|
-
.stab.dirty .stab-x { color: var(--yellow); }
|
|
210
|
-
.btn {
|
|
211
|
-
cursor: pointer; color: var(--muted); padding: 3px 9px;
|
|
212
|
-
border-radius: 4px; border: none; background: none; font: inherit;
|
|
213
|
-
}
|
|
214
|
-
.btn:hover { background: var(--hover-bg); color: var(--fg); }
|
|
215
|
-
.btn.primary { color: var(--accent); }
|
|
216
|
-
.model-name { color: var(--purple); }
|
|
217
|
-
|
|
218
|
-
/* sessions dropdown */
|
|
219
|
-
.dd { position: relative; }
|
|
220
|
-
.dd-menu {
|
|
221
|
-
display: none; position: absolute; top: calc(100% + 6px); left: 0; z-index: 60;
|
|
222
|
-
background: var(--panel); border: 1px solid var(--border-2); border-radius: 6px;
|
|
223
|
-
min-width: 300px; max-width: min(460px, calc(100vw - 48px));
|
|
224
|
-
max-height: 62vh; overflow-y: auto; overflow-x: hidden; padding: 6px;
|
|
225
|
-
box-shadow: var(--shadow-dd);
|
|
226
|
-
}
|
|
227
|
-
.dd.open .dd-menu { display: block; }
|
|
228
|
-
.dd-menu .h { color: var(--dim-c); font-size: 11.5px; padding: 4px 8px; text-transform: uppercase; letter-spacing: .04em; }
|
|
229
|
-
.dd-menu .si {
|
|
230
|
-
display: flex; gap: 10px; align-items: baseline; padding: 7px 8px; border-radius: 4px;
|
|
231
|
-
cursor: pointer; color: var(--muted); font-size: 12.5px;
|
|
232
|
-
}
|
|
233
|
-
.dd-menu .si:hover { background: var(--hover-bg-2); color: var(--fg); }
|
|
234
|
-
.dd-menu .si.on { background: var(--accent-bg); color: var(--accent); }
|
|
235
|
-
.dd-menu .si .id { color: var(--dim-b); white-space: nowrap; flex: 0 0 auto; }
|
|
236
|
-
.dd-menu .si .name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; flex: 1 1 auto; }
|
|
237
|
-
.dd-menu .si .meta { margin-left: auto; color: var(--dim-b); font-size: 11.5px; white-space: nowrap; }
|
|
238
|
-
.dd-menu .sep { height: 1px; background: var(--border-2); margin: 5px 0; }
|
|
239
|
-
.dd-menu .act { display: flex; align-items: center; gap: 8px; width: 100%; text-align: left; padding: 7px 8px; border-radius: 4px; cursor: pointer; color: var(--accent); font-size: 12.5px; }
|
|
240
|
-
.dd-menu .act:hover { background: var(--accent-bg); }
|
|
241
|
-
|
|
242
|
-
/* ---- layout + chat feed (messages, cards, markdown, tool output) ---- */
|
|
243
|
-
.layout { flex: 1; display: flex; min-height: 0; }
|
|
244
|
-
|
|
245
|
-
/* chat */
|
|
246
|
-
.chat { flex: 1; display: flex; flex-direction: column; min-width: 0; position: relative; }
|
|
247
|
-
.msgs { flex: 1; overflow-y: auto; overflow-x: hidden; padding: 0 22px; display: flex; flex-direction: column; gap: 11px; }
|
|
248
|
-
.msgs > * { flex-shrink: 0; min-height: fit-content; }
|
|
249
|
-
/* messages live inside a per-tab `.feed` wrapper; it must mirror the `.msgs`
|
|
250
|
-
column gap so turns are separated instead of running together.
|
|
251
|
-
Vertical breathing lives on `.feed`, NOT on the scroller: sticky edge fades
|
|
252
|
-
are constrained to the content box, so scroller padding would offset them
|
|
253
|
-
from the header/composer edges. */
|
|
254
|
-
.feed { display: flex; flex-direction: column; gap: 11px; padding: 18px 0; }
|
|
255
|
-
.feed > * { flex-shrink: 0; min-height: fit-content; }
|
|
256
|
-
.u {
|
|
257
|
-
color: var(--u-fg); background: var(--u-bg); border-left: 2px solid var(--u-border);
|
|
258
|
-
padding: 7px 12px; border-radius: 0 4px 4px 0; margin-top: 6px;
|
|
259
|
-
user-select: text; overflow-wrap: anywhere;
|
|
260
|
-
}
|
|
261
|
-
.u::before { content: "> "; color: var(--u-border); }
|
|
262
|
-
/* agent text = calmer, dimmer than user block */
|
|
263
|
-
.ans { color: var(--ans); white-space: pre-wrap; word-break: break-word; overflow-wrap: anywhere; }
|
|
264
|
-
.think-h { color: var(--think); cursor: pointer; user-select: none; display: flex; gap: 8px; align-items: baseline; font-size: 12.5px; }
|
|
265
|
-
.think-h .dur, .think-h .tog { color: var(--dim-b); }
|
|
266
|
-
.think-h .tog { display: inline-flex; align-items: center; gap: 4px; }
|
|
267
|
-
.think-h .tog .svg-icon { width: 12px; height: 12px; }
|
|
268
|
-
.think-h .tog:hover { color: var(--dim-a); }
|
|
269
|
-
.think-body { color: var(--dim-c); padding-left: 18px; white-space: pre-wrap; font-size: 12.5px; overflow-wrap: anywhere; }
|
|
270
|
-
.think-body.hidden { display: none; }
|
|
271
|
-
.metaln {
|
|
272
|
-
color: var(--dim-c); padding-left: 26px; white-space: pre-wrap;
|
|
273
|
-
font-size: 12.5px; overflow-wrap: anywhere;
|
|
274
|
-
}
|
|
275
|
-
.metaln.warn { color: var(--yellow); }
|
|
276
|
-
.act { display: flex; gap: 8px; min-width: 0; line-height: 1.35; }
|
|
277
|
-
.act .lab { white-space: nowrap; }
|
|
278
|
-
.act .args { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
|
|
279
|
-
.act.recon .g, .act.recon .lab { color: var(--cyan); }
|
|
280
|
-
.act.mut .g, .act.mut .lab { color: var(--purple); }
|
|
281
|
-
.act.exe .g, .act.exe .lab { color: var(--accent); }
|
|
282
|
-
.act.meta .g, .act.meta .lab { color: var(--meta); }
|
|
283
|
-
.act .sep, .act .args { color: var(--args); }
|
|
284
|
-
.act .ok { color: var(--green); }
|
|
285
|
-
.act .ok.fail { color: var(--red); }
|
|
286
|
-
.detail { color: var(--dim-a); padding-left: 26px; overflow-wrap: anywhere; }
|
|
287
|
-
.metric { color: var(--dim-a); overflow-wrap: anywhere; }
|
|
288
|
-
.warnline { color: var(--yellow); overflow-wrap: anywhere; }
|
|
289
|
-
.q { color: var(--yellow); margin: 6px 0; }
|
|
290
|
-
.q .qtext { white-space: pre-wrap; overflow-wrap: anywhere; }
|
|
291
|
-
.q .opts { padding-left: 18px; margin-top: 4px; display: flex; flex-direction: column; gap: 2px; }
|
|
292
|
-
.q .qopt { color: var(--accent); cursor: pointer; padding: 2px 6px; border-radius: 4px; width: fit-content; }
|
|
293
|
-
.q .qopt:hover { background: var(--hover-bg); }
|
|
294
|
-
.q .qopt.on { color: var(--green); }
|
|
295
|
-
.q .qopt.on::before { content: "✓ "; }
|
|
296
|
-
.q .qsend { margin: 6px 0 0 18px; color: var(--accent); background: var(--surface); border: 1px solid var(--border-2); border-radius: 4px; padding: 3px 10px; cursor: pointer; font: inherit; font-size: 12.5px; }
|
|
297
|
-
.q .qsend:disabled { color: var(--dim-b); cursor: default; opacity: .6; }
|
|
298
|
-
.q .qinput { margin: 6px 0 0 18px; width: calc(100% - 18px); max-width: 520px; background: var(--inp-bg); color: var(--fg); border: 1px solid var(--border-2); border-radius: 4px; padding: 6px 10px; font: inherit; font-size: 13px; }
|
|
299
|
-
.q .qinput:focus { outline: none; border-color: var(--inp-focus); }
|
|
300
|
-
.q .qans { color: var(--green); padding-left: 18px; }
|
|
301
|
-
.q.answered .qtext { color: var(--dim-a); }
|
|
302
|
-
.q.placeholder { color: var(--dim-a); }
|
|
303
|
-
.q.placeholder .opts { color: var(--dim-b); }
|
|
304
|
-
.code {
|
|
305
|
-
background: var(--surface); color: var(--fg); padding: 8px 12px; border-radius: 4px;
|
|
306
|
-
white-space: pre; overflow-x: auto; color-scheme: dark;
|
|
307
|
-
flex-shrink: 0; max-height: 240px; overflow-y: auto;
|
|
308
|
-
font-size: 12.5px; line-height: 1.55;
|
|
309
|
-
}
|
|
310
|
-
body.light .code { border: 1px solid var(--border); }
|
|
311
|
-
.toolout { margin: 2px 0 6px 26px; }
|
|
312
|
-
.toolout .code { max-height: 320px; }
|
|
313
|
-
.toolout.collapsed .code { display: none; }
|
|
314
|
-
.toolout .more { color: var(--dim-b); cursor: pointer; font-size: 12px; }
|
|
315
|
-
.toolout .more:hover { color: var(--dim-a); }
|
|
316
|
-
|
|
317
|
-
/* markdown answers (streamed by md.js) — lines and glyphs, no boxes.
|
|
318
|
-
Top-level answers carry a quiet accent rail (mirrors the user's `> ` block),
|
|
319
|
-
so the finished message reads instantly apart from the dim work process
|
|
320
|
-
(tool/think rows stay plain). Scoped to `.feed >` — code blocks inside keep
|
|
321
|
-
their own styling. */
|
|
322
|
-
.feed > .md, .feed > .ans {
|
|
323
|
-
border-left: 2px solid var(--accent);
|
|
324
|
-
padding-left: 12px;
|
|
325
|
-
}
|
|
326
|
-
.md { color: var(--ans); overflow-wrap: anywhere; }
|
|
327
|
-
.md > * { flex-shrink: 0; }
|
|
328
|
-
.md p { margin: 4px 0; white-space: pre-wrap; }
|
|
329
|
-
.md h1, .md h2, .md h3, .md h4, .md h5, .md h6 {
|
|
330
|
-
color: var(--fg); font-weight: 600; line-height: 1.3; margin: 10px 0 4px;
|
|
331
|
-
}
|
|
332
|
-
.md h1 { font-size: 1.35em; }
|
|
333
|
-
.md h2 { font-size: 1.2em; }
|
|
334
|
-
.md h3 { font-size: 1.1em; }
|
|
335
|
-
.md h4, .md h5, .md h6 { font-size: 1em; }
|
|
336
|
-
.md h1:first-child, .md h2:first-child, .md h3:first-child { margin-top: 2px; }
|
|
337
|
-
.md ul, .md ol { margin: 4px 0; padding-left: 22px; }
|
|
338
|
-
.md li { margin: 1px 0; }
|
|
339
|
-
.md li > p { margin: 0; }
|
|
340
|
-
.md blockquote { margin: 4px 0; padding-left: 10px; border-left: 2px solid var(--pipe); color: var(--dim-a); }
|
|
341
|
-
.md hr { border: 0; border-top: 1px solid var(--rule); margin: 8px 0; }
|
|
342
|
-
.md a { color: var(--accent); text-decoration: none; }
|
|
343
|
-
.md a:hover { text-decoration: underline; }
|
|
344
|
-
.md img { max-width: 100%; border-radius: 4px; }
|
|
345
|
-
.md code {
|
|
346
|
-
background: var(--surface); color: var(--fg); padding: 1px 5px;
|
|
347
|
-
border-radius: 3px; font-size: .92em;
|
|
348
|
-
}
|
|
349
|
-
.md pre code { background: none; padding: 0; border-radius: 0; font-size: inherit; }
|
|
350
|
-
.md input[type="checkbox"] { margin-right: 4px; vertical-align: middle; }
|
|
351
|
-
.md table { border-collapse: collapse; margin: 6px 0; font-size: .95em; }
|
|
352
|
-
.md th { color: var(--fg); font-weight: 600; text-align: left; padding: 2px 14px 3px 0; }
|
|
353
|
-
.md td { color: var(--ans); padding: 2px 14px 3px 0; border-top: 1px solid var(--border-3); }
|
|
354
|
-
|
|
355
|
-
/* fenced code block: dim header (language · copy) + code body */
|
|
356
|
-
.codeblock { margin: 6px 0; background: var(--surface); border-radius: 4px; overflow: hidden; }
|
|
357
|
-
body.light .codeblock { border: 1px solid var(--border); }
|
|
358
|
-
.cb-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 3px 8px 3px 12px; font-size: 11.5px; color: var(--dim-b); }
|
|
359
|
-
.cb-lang { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
360
|
-
.cb-copy { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; padding: 0; border: 0; border-radius: 4px; background: transparent; color: var(--dim-b); cursor: pointer; }
|
|
361
|
-
.cb-copy .svg-icon { width: 14px; height: 14px; }
|
|
362
|
-
.cb-copy:hover:not(:disabled) { background: var(--hover-bg); color: var(--fg); }
|
|
363
|
-
.cb-copy:disabled { opacity: .3; cursor: default; }
|
|
364
|
-
.cb-copy.done { color: var(--green); }
|
|
365
|
-
.codeblock pre { margin: 0; padding: 6px 12px 10px; overflow-x: auto; max-height: 420px; overflow-y: auto; }
|
|
366
|
-
.codeblock code { display: block; white-space: pre; color: var(--fg); font-size: 12.5px; line-height: 1.55; }
|
|
367
|
-
|
|
368
|
-
/* highlight.js token palette — reuses the theme's semantic tokens */
|
|
369
|
-
.hljs-comment, .hljs-quote { color: var(--dim-b); font-style: italic; }
|
|
370
|
-
.hljs-keyword, .hljs-selector-tag, .hljs-literal, .hljs-doctag { color: var(--red); }
|
|
371
|
-
.hljs-string, .hljs-attr, .hljs-attribute, .hljs-regexp, .hljs-link { color: var(--accent); }
|
|
372
|
-
.hljs-number, .hljs-symbol, .hljs-bullet { color: var(--accent); }
|
|
373
|
-
.hljs-title, .hljs-section, .hljs-selector-id, .hljs-selector-class { color: var(--purple); }
|
|
374
|
-
.hljs-built_in, .hljs-type, .hljs-class .hljs-title { color: var(--yellow); }
|
|
375
|
-
.hljs-variable, .hljs-template-variable, .hljs-params, .hljs-property { color: var(--fg); }
|
|
376
|
-
.hljs-meta { color: var(--dim-a); }
|
|
377
|
-
.hljs-tag, .hljs-name, .hljs-selector-pseudo { color: var(--green); }
|
|
378
|
-
.hljs-deletion { color: var(--red); }
|
|
379
|
-
.hljs-addition { color: var(--green); }
|
|
380
|
-
.hljs-emphasis { font-style: italic; }
|
|
381
|
-
.hljs-strong { font-weight: 700; }
|
|
382
|
-
|
|
383
|
-
/* per-message copy actions */
|
|
384
|
-
.msg-actions { display: flex; gap: 12px; margin: 3px 0 6px; }
|
|
385
|
-
.act-btn { font: inherit; font-size: 11.5px; color: var(--dim-b); background: none; border: 0; padding: 0; cursor: pointer; }
|
|
386
|
-
.act-btn:hover { color: var(--fg); }
|
|
387
|
-
|
|
388
|
-
/* tool payload cards in chat */
|
|
389
|
-
.imgcard {
|
|
390
|
-
margin-left: 26px; max-width: 360px; border-radius: 4px; overflow: hidden;
|
|
391
|
-
background: var(--surface); border: 1px solid var(--border-2);
|
|
392
|
-
}
|
|
393
|
-
.imgcard .ph {
|
|
394
|
-
height: 150px; display: flex; align-items: center; justify-content: center;
|
|
395
|
-
color: var(--dim-c); font-size: 12px;
|
|
396
|
-
background:
|
|
397
|
-
linear-gradient(45deg, var(--checker-a) 25%, transparent 25%) -8px 0/16px 16px,
|
|
398
|
-
linear-gradient(-45deg, var(--checker-a) 25%, transparent 25%) -8px 0/16px 16px,
|
|
399
|
-
linear-gradient(45deg, transparent 75%, var(--checker-a) 75%) -8px 0/16px 16px,
|
|
400
|
-
linear-gradient(-45deg, transparent 75%, var(--checker-a) 75%) -8px 0/16px 16px,
|
|
401
|
-
var(--checker-base);
|
|
402
|
-
}
|
|
403
|
-
body.light .imgcard .ph { background: var(--ph-light); }
|
|
404
|
-
.imgcard .cap { padding: 6px 10px; color: var(--dim-a); font-size: 12px; }
|
|
405
|
-
.filerow { margin-left: 26px; display: flex; gap: 8px; align-items: baseline; min-width: 0; font-size: 12.5px; line-height: 1.35; color: var(--muted); }
|
|
406
|
-
/* Compact tool lists: consecutive action/file rows sit tight (~4px visual),
|
|
407
|
-
// while turns keep the airy 11px feed gap. Negative margin compensates the
|
|
408
|
-
// `.feed { gap: 11px }` only between siblings in a run. */
|
|
409
|
-
.feed > .filerow + .filerow,
|
|
410
|
-
.feed > .act + .act,
|
|
411
|
-
.feed > .filerow + .act,
|
|
412
|
-
.feed > .act + .filerow { margin-top: -7px; }
|
|
413
|
-
.filerow .g { flex: 0 0 auto; }
|
|
414
|
-
.filerow.recon .g, .filerow.recon .lab { color: var(--cyan); }
|
|
415
|
-
.filerow.mutate .g, .filerow.mutate .lab { color: var(--magenta); }
|
|
416
|
-
.filerow .sep { color: var(--dim-b); }
|
|
417
|
-
.filerow a.path { color: var(--accent); text-decoration: none; overflow-wrap: anywhere; word-break: break-word; }
|
|
418
|
-
.filerow a.path:hover { text-decoration: underline; }
|
|
419
|
-
.filerow .tail { color: var(--dim-a); overflow-wrap: anywhere; word-break: break-word; }
|
|
420
|
-
.filerow .copy-btn { background: transparent; border: 0; padding: 2px; color: var(--dim-a); cursor: pointer; opacity: 0; }
|
|
421
|
-
.filerow:hover .copy-btn, .filerow:focus-within .copy-btn { opacity: 1; }
|
|
422
|
-
@media (pointer: coarse) { .filerow .copy-btn { opacity: 1; } }
|
|
423
|
-
.filerow .copy-btn:focus-visible { opacity: 1; outline: 2px solid var(--accent); outline-offset: 1px; }
|
|
424
|
-
.filerow .copy-btn .svg-icon { width: 14px; height: 14px; }
|
|
425
|
-
.linkline { margin-left: 26px; min-width: 0; overflow-wrap: anywhere; }
|
|
426
|
-
.linkline a { color: var(--accent); text-decoration: none; overflow-wrap: anywhere; word-break: break-word; }
|
|
427
|
-
.linkline a:hover { text-decoration: underline; }
|
|
428
|
-
.linkline .dom { color: var(--dim-b); }
|
|
429
|
-
.planblock {
|
|
430
|
-
margin-left: 26px; padding: 8px 12px; border-radius: 4px;
|
|
431
|
-
background: var(--surface); border: 1px solid var(--border-2); font-size: 12.5px;
|
|
432
|
-
max-width: 480px;
|
|
433
|
-
}
|
|
434
|
-
.planblock .ph2 { color: var(--dim-a); margin-bottom: 5px; }
|
|
435
|
-
.planblock .st { padding: 2px 0 2px 14px; position: relative; color: var(--muted); }
|
|
436
|
-
.planblock .st.done { color: var(--green); }
|
|
437
|
-
.planblock .st.cur { color: var(--accent); }
|
|
438
|
-
.planblock .st.fail { color: var(--err); }
|
|
439
|
-
|
|
440
|
-
/* extra chat patterns */
|
|
441
|
-
.startbanner { color: var(--dim-b); overflow-wrap: anywhere; }
|
|
442
|
-
.startbanner b { font-weight: 400; color: var(--dim-a); }
|
|
443
|
-
.errline { color: var(--err); padding-left: 26px; overflow-wrap: anywhere; }
|
|
444
|
-
.errline .hint { color: var(--dim-a); display: block; }
|
|
445
|
-
/* settings JSON validation hint — own class so global `.errline` queries
|
|
446
|
-
(chat turn errors, e2e) never match hidden settings rows. */
|
|
447
|
-
.json-err { color: var(--err); overflow-wrap: anywhere; }
|
|
448
|
-
.grouped { color: var(--dim-a); padding-left: 8px; overflow-wrap: anywhere; }
|
|
449
|
-
.grouped .pipe { color: var(--pipe); }
|
|
450
|
-
.msgs .busy { color: var(--think); display: flex; gap: 8px; align-items: baseline; font-size: 12.5px; }
|
|
451
|
-
.busy .spin { display: inline-block; animation: spin 1s linear infinite; }
|
|
452
|
-
.busy .busytime { color: var(--dim-a); }
|
|
453
|
-
@keyframes spin { to { transform: rotate(360deg); } }
|
|
454
|
-
.progline { color: var(--dim-a); display: flex; gap: 8px; align-items: center; }
|
|
455
|
-
.progline .pb { color: var(--green); letter-spacing: -1px; }
|
|
456
|
-
.sec-rule { color: var(--rule); user-select: none; }
|
|
457
|
-
.uimg {
|
|
458
|
-
display: inline-block; width: 72px; height: 52px; border-radius: 3px;
|
|
459
|
-
vertical-align: middle; margin-left: 8px;
|
|
460
|
-
background:
|
|
461
|
-
linear-gradient(45deg, var(--checker-b) 25%, transparent 25%) -4px 0/8px 8px,
|
|
462
|
-
linear-gradient(-45deg, var(--checker-b) 25%, transparent 25%) -4px 0/8px 8px,
|
|
463
|
-
linear-gradient(45deg, transparent 75%, var(--checker-b) 75%) -4px 0/8px 8px,
|
|
464
|
-
linear-gradient(-45deg, transparent 75%, var(--checker-b) 75%) -4px 0/8px 8px,
|
|
465
|
-
var(--checker-base);
|
|
466
|
-
border: 1px solid var(--checker-border);
|
|
467
|
-
}
|
|
468
|
-
.cmdout { color: var(--cmdout); padding-left: 26px; white-space: pre-wrap; overflow-wrap: anywhere; }
|
|
469
|
-
.sysline { color: var(--dim-c); overflow-wrap: anywhere; }
|
|
470
|
-
.empty {
|
|
471
|
-
color: var(--dim-b); text-align: center; margin-top: 18vh; line-height: 2;
|
|
472
|
-
}
|
|
473
|
-
.empty .g { color: var(--green); }
|
|
474
|
-
|
|
475
|
-
/* jump-to-latest pill: only visible when the reader scrolled up */
|
|
476
|
-
.to-latest {
|
|
477
|
-
position: absolute; left: 50%; bottom: 148px; transform: translateX(-50%);
|
|
478
|
-
z-index: 20; font: inherit; font-size: 12.5px; cursor: pointer;
|
|
479
|
-
color: var(--accent); background: var(--panel);
|
|
480
|
-
border: 1px solid var(--border-2); border-radius: 999px;
|
|
481
|
-
padding: 5px 14px; box-shadow: var(--shadow-menu);
|
|
482
|
-
white-space: nowrap;
|
|
483
|
-
}
|
|
484
|
-
.to-latest:hover { border-color: var(--accent); }
|
|
485
|
-
.to-latest[hidden] { display: none; }
|
|
486
|
-
|
|
487
|
-
/* ---- composer: selectors, attachments, input, autocomplete ---- */
|
|
488
|
-
.input-area { margin: 14px 22px 16px; position: relative; }
|
|
489
|
-
.selectors { display: flex; gap: 8px; margin-bottom: 8px; flex-wrap: wrap; min-width: 0; }
|
|
490
|
-
.sel { position: relative; min-width: 0; max-width: 100%; }
|
|
491
|
-
.sel > button {
|
|
492
|
-
font: inherit; font-size: 12.5px; cursor: pointer;
|
|
493
|
-
background: var(--surface); color: var(--muted); border: none; border-radius: 4px;
|
|
494
|
-
padding: 4px 10px; display: inline-flex; align-items: center; gap: 6px;
|
|
495
|
-
min-width: 0; max-width: 100%;
|
|
496
|
-
}
|
|
497
|
-
body.light .sel > button { border: 1px solid var(--border); }
|
|
498
|
-
.sel > button b { font-weight: 400; color: var(--purple); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
|
|
499
|
-
.sel > button .svg-icon { width: 13px; height: 13px; color: var(--dim-a); }
|
|
500
|
-
/* Selector switch pending (boot + provider/model/context/reasoning writes):
|
|
501
|
-
buttons and menus go inert while the `⋯` mark shows. The mark is a static
|
|
502
|
-
glyph via `::after` — no animation, so `prefers-reduced-motion` needs no
|
|
503
|
-
special case and no label rewrites desync the DOM. */
|
|
504
|
-
.selectors[data-pending] .sel > button,
|
|
505
|
-
.selectors[data-pending] .menu { pointer-events: none; }
|
|
506
|
-
.sel > button.pending { cursor: wait; }
|
|
507
|
-
.sel > button.pending b::after { content: " ⋯"; color: var(--dim-b); }
|
|
508
|
-
.menu {
|
|
509
|
-
display: none; position: absolute; bottom: calc(100% + 4px); left: 0; z-index: 30;
|
|
510
|
-
background: var(--panel); border: 1px solid var(--border-2); border-radius: 6px;
|
|
511
|
-
min-width: 200px; max-width: min(420px, calc(100vw - 48px));
|
|
512
|
-
max-height: 50vh; overflow-y: auto; overflow-x: hidden; padding: 4px;
|
|
513
|
-
box-shadow: var(--shadow-menu);
|
|
514
|
-
}
|
|
515
|
-
.sel.open .menu { display: block; }
|
|
516
|
-
.menu .mi {
|
|
517
|
-
padding: 6px 10px; border-radius: 4px; cursor: pointer; color: var(--muted);
|
|
518
|
-
display: flex; flex-direction: column; align-items: flex-start; gap: 1px; font-size: 12.5px;
|
|
519
|
-
width: 100%; min-width: 0;
|
|
520
|
-
}
|
|
521
|
-
/* Long labels (model/provider names) ellipsize instead of widening the menu. */
|
|
522
|
-
.menu .mi > span {
|
|
523
|
-
max-width: 100%; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
|
|
524
|
-
}
|
|
525
|
-
.menu .mi.row-mi > span { flex: 1 1 auto; }
|
|
526
|
-
.menu .mi:hover { background: var(--hover-bg-2); color: var(--fg); }
|
|
527
|
-
.menu .mi.on { background: var(--accent-bg); color: var(--accent); }
|
|
528
|
-
.menu .mi .sub { color: var(--dim-b); font-size: 11.5px; }
|
|
529
|
-
.menu .sep { height: 1px; background: var(--border-2); margin: 4px 0; }
|
|
530
|
-
.menu .mi.dim { color: var(--dim-b); }
|
|
531
|
-
.menu .mi.row-mi { flex-direction: row; align-items: center; gap: 8px; }
|
|
532
|
-
.menu .ctx-custom { display: flex; align-items: center; gap: 6px; padding: 4px; }
|
|
533
|
-
.menu .ctx-custom input {
|
|
534
|
-
flex: 1 1 110px; min-width: 0; width: auto;
|
|
535
|
-
background: var(--input-surface); border: 1px solid var(--border-2); border-radius: 4px;
|
|
536
|
-
color: var(--fg); font: inherit; font-size: 12.5px; padding: 4px 8px;
|
|
537
|
-
}
|
|
538
|
-
.menu .ctx-custom .linkbtn { flex: 0 0 auto; }
|
|
539
|
-
/* Dropdown search fields (composer model menu, sessions menu): sticky on top
|
|
540
|
-
so the query stays visible while the list scrolls underneath. */
|
|
541
|
-
.menu .searchbox {
|
|
542
|
-
margin-bottom: 4px; position: sticky; top: 0; z-index: 1;
|
|
543
|
-
}
|
|
544
|
-
.model-menu-list { display: contents; }
|
|
545
|
-
.dd-menu .searchbox {
|
|
546
|
-
margin: 2px 2px 6px; width: calc(100% - 4px);
|
|
547
|
-
position: sticky; top: 0; z-index: 1;
|
|
548
|
-
}
|
|
549
|
-
|
|
550
|
-
.inp {
|
|
551
|
-
width: 100%; padding: 12px 14px; resize: none; display: block;
|
|
552
|
-
background: var(--inp-bg); border: 1px solid var(--inp-border); border-radius: 6px;
|
|
553
|
-
color: var(--fg); font: inherit; font-size: 13.5px; outline: none;
|
|
554
|
-
line-height: 1.5; min-height: 46px;
|
|
555
|
-
}
|
|
556
|
-
.inp:focus { border-color: var(--inp-focus); box-shadow: 0 0 0 2px var(--input-shadow); }
|
|
557
|
-
.input-area.busy .composer { opacity: .75; }
|
|
558
|
-
.inp::placeholder { color: var(--dim-a); }
|
|
559
|
-
.inp-meta { display: flex; gap: 14px; margin-top: 4px; padding: 0 6px; color: var(--dim-b); font-size: 11.5px; flex-wrap: wrap; }
|
|
560
|
-
|
|
561
|
-
/* composer: [attach] [textarea] [send/stop] on the top row, hints underneath —
|
|
562
|
-
all inside one bordered surface, so the controls read as part of the field. */
|
|
563
|
-
.composer {
|
|
564
|
-
display: flex; flex-direction: column; gap: 2px;
|
|
565
|
-
background: var(--inp-bg); border: 1px solid var(--inp-border); border-radius: 8px;
|
|
566
|
-
padding: 6px;
|
|
567
|
-
}
|
|
568
|
-
.composer-main { display: flex; align-items: flex-end; gap: 6px; }
|
|
569
|
-
.composer:focus-within { border-color: var(--inp-focus); box-shadow: 0 0 0 2px var(--input-shadow); }
|
|
570
|
-
.composer .inp {
|
|
571
|
-
flex: 1 1 auto; width: auto; min-width: 0; min-height: 32px;
|
|
572
|
-
background: transparent; border: none; border-radius: 0; padding: 6px 8px;
|
|
573
|
-
}
|
|
574
|
-
.composer .inp:focus,
|
|
575
|
-
.composer .inp:focus-visible { box-shadow: none; border: none; outline: none; }
|
|
576
|
-
.composer .attach-btn,
|
|
577
|
-
.composer .send-btn {
|
|
578
|
-
flex: 0 0 auto; width: 32px; height: 32px; padding: 0;
|
|
579
|
-
display: inline-flex; align-items: center; justify-content: center;
|
|
580
|
-
cursor: pointer; background: none; border: none; border-radius: 6px;
|
|
581
|
-
color: var(--muted);
|
|
582
|
-
}
|
|
583
|
-
.composer .attach-btn:hover,
|
|
584
|
-
.composer .send-btn:hover { background: var(--hover-bg); color: var(--fg); }
|
|
585
|
-
.composer .send-btn { color: var(--accent); }
|
|
586
|
-
.composer .send-btn.busy { color: var(--yellow); }
|
|
587
|
-
.composer .send-btn:disabled { opacity: .5; cursor: default; }
|
|
588
|
-
.composer .svg-icon { width: 17px; height: 17px; }
|
|
589
|
-
|
|
590
|
-
/* workspace path under the composer */
|
|
591
|
-
.ws-line { margin-top: 6px; padding: 0 2px; font-size: 11.5px; overflow-wrap: anywhere; }
|
|
592
|
-
.ws-line[hidden] { display: none; }
|
|
593
|
-
.ws-line .ws-k { color: var(--dim-b); margin-right: 6px; }
|
|
594
|
-
.ws-line .ws-v { color: var(--dim-a); }
|
|
595
|
-
|
|
596
|
-
/* slash-command autocomplete popup (above the composer) */
|
|
597
|
-
.cmdk {
|
|
598
|
-
position: absolute; left: 0; right: 0; bottom: calc(100% + 4px); z-index: 40;
|
|
599
|
-
max-height: 40vh; overflow-y: auto;
|
|
600
|
-
background: var(--panel); border: 1px solid var(--border-2); border-radius: 6px;
|
|
601
|
-
box-shadow: var(--shadow-menu); padding: 4px;
|
|
602
|
-
}
|
|
603
|
-
.cmdk[hidden] { display: none; }
|
|
604
|
-
.cmdk-item {
|
|
605
|
-
display: flex; gap: 10px; align-items: baseline; width: 100%;
|
|
606
|
-
padding: 6px 10px; border-radius: 4px; cursor: pointer; text-align: left;
|
|
607
|
-
font: inherit; font-size: 12.5px; color: var(--muted);
|
|
608
|
-
}
|
|
609
|
-
.cmdk-item .cmd { color: var(--fg); white-space: nowrap; }
|
|
610
|
-
.cmdk-item .desc { color: var(--dim-b); font-size: 11.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
611
|
-
.cmdk-item.on, .cmdk-item:hover { background: var(--hover-bg-2); }
|
|
612
|
-
.cmdk-item.on .cmd { color: var(--accent); }
|
|
613
|
-
|
|
614
|
-
/* image attachments */
|
|
615
|
-
.attach-strip { display: flex; gap: 8px; margin-bottom: 8px; flex-wrap: wrap; }
|
|
616
|
-
.attach-strip[hidden] { display: none; }
|
|
617
|
-
.thumb {
|
|
618
|
-
position: relative; width: 64px; height: 48px; border-radius: 4px; overflow: hidden;
|
|
619
|
-
border: 1px solid var(--border-2); background: var(--surface);
|
|
620
|
-
}
|
|
621
|
-
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
|
|
622
|
-
.thumb .rm {
|
|
623
|
-
position: absolute; top: 0; right: 0; width: 16px; height: 16px; line-height: 16px;
|
|
624
|
-
text-align: center; font-size: 11px; color: var(--fg); background: rgba(0, 0, 0, .55);
|
|
625
|
-
cursor: pointer; border: none; padding: 0;
|
|
626
|
-
display: flex; align-items: center; justify-content: center;
|
|
627
|
-
}
|
|
628
|
-
.thumb .rm .svg-icon { width: 11px; height: 11px; }
|
|
629
|
-
.thumb .rm:hover { background: var(--err); }
|
|
630
|
-
.attach-err { color: var(--yellow); font-size: 11.5px; margin-bottom: 6px; }
|
|
631
|
-
.attach-err[hidden] { display: none; }
|
|
632
|
-
.input-area.dragover .composer { border-color: var(--accent); box-shadow: 0 0 0 2px var(--input-shadow); }
|
|
633
|
-
@keyframes blink { 50% { opacity: 0; } }
|
|
634
|
-
|
|
635
|
-
/* ---- chat motion ("magic"): entrances, caret, pulses, pops -----------------
|
|
636
|
-
Rules: only opacity/transform animations (never height/margin), 100–200ms,
|
|
637
|
-
calm single pulses. Killed globally by the `prefers-reduced-motion` block
|
|
638
|
-
below. Glyphs stay textual per STYLE.md — motion, not decoration. */
|
|
639
|
-
@keyframes rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
|
|
640
|
-
@keyframes pop { from { opacity: 0; transform: scale(.98) translateY(2px); } to { opacity: 1; transform: none; } }
|
|
641
|
-
@keyframes softPulse { 50% { opacity: .45; } }
|
|
642
|
-
@keyframes fadeIn { from { opacity: 0; } }
|
|
643
|
-
|
|
644
|
-
/* new rows rise in softly (a bulk history render animates once as a whole —
|
|
645
|
-
one shared fade, still cheap: opacity/transform only) */
|
|
646
|
-
.feed > :is(.u, .md, .act, .think, .q, .filerow, .planblock, .imgcard, .linkline,
|
|
647
|
-
.toolout, .metric, .detail, .metaln, .warnline, .errline, .cmdout, .sysline,
|
|
648
|
-
.startbanner, .grouped, .msg-actions, .busy) {
|
|
649
|
-
animation: rise .18s ease-out;
|
|
650
|
-
}
|
|
651
|
-
/* quiet-mode run folding fades instead of snapping away */
|
|
652
|
-
.fold-out { opacity: 0; transition: opacity .15s ease-out; }
|
|
653
|
-
|
|
654
|
-
/* streaming caret at the tail of live markdown */
|
|
655
|
-
.md.streaming::after {
|
|
656
|
-
content: "▌"; color: var(--accent); margin-left: 2px;
|
|
657
|
-
animation: blink 1s steps(2, start) infinite;
|
|
658
|
-
}
|
|
659
|
-
/* per-chunk typewriter fade for live markdown (md.js wraps each streamed
|
|
660
|
-
text chunk in `span.tk` when `opts.animate` is set; history render and
|
|
661
|
-
code blocks skip it). Opacity-only: `.tk` stays inline so wrapping is
|
|
662
|
-
untouched. Killed by the `prefers-reduced-motion` block below. */
|
|
663
|
-
@keyframes tkIn { from { opacity: 0; } }
|
|
664
|
-
.md.streaming .tk { animation: tkIn .15s ease-out backwards; }
|
|
665
|
-
/* alive labels: in-feed spinner, the *live* think block, rail phase,
|
|
666
|
-
a running tool. Finished blocks stay static — a pulsing "думаю" after
|
|
667
|
-
the turn reads as hung. */
|
|
668
|
-
.busy .lab, .think.live .think-h .lab, .rail-l1 .lab, .act.running .lab {
|
|
669
|
-
animation: softPulse 1.6s ease-in-out infinite;
|
|
670
|
-
}
|
|
671
|
-
|
|
672
|
-
/* menus, autocomplete and dialogs pop instead of snapping */
|
|
673
|
-
.dd.open .dd-menu, .sel.open .menu, .cmdk:not([hidden]) { animation: pop .12s ease-out; }
|
|
674
|
-
.to-latest:not([hidden]) { animation: pop .15s ease-out; }
|
|
675
|
-
.overlay.open { animation: fadeIn .15s ease-out; }
|
|
676
|
-
.overlay.open .modal { animation: rise .18s ease-out; }
|
|
677
|
-
|
|
678
|
-
/* hover/active blends */
|
|
679
|
-
.sel > button, .menu .mi, .stab, .q .qopt, .q .qsend, .filerow, .icon-btn,
|
|
680
|
-
.btn, .linkbtn, .chip, .cb-copy, .act-btn, .copy-btn, .composer .attach-btn,
|
|
681
|
-
.composer .send-btn, .dd-menu .si, .dd-menu .act, .cmdk-item, .toggle {
|
|
682
|
-
transition: background-color .12s, color .12s, border-color .12s;
|
|
683
|
-
}
|
|
684
|
-
.composer { transition: border-color .15s, box-shadow .15s; }
|
|
685
|
-
|
|
686
|
-
/* scroll edge fades on the transcript (classes from the feed scroll hook).
|
|
687
|
-
Sticky in-flow pseudos glued exactly to the scrollport edges: they sit in
|
|
688
|
-
the scroller's padding-free content box (breathing lives on `.feed`), so
|
|
689
|
-
`top: 0` / `bottom: 0` meet the header above and the composer below with
|
|
690
|
-
no visible offset. Negative margins neutralize their flow height plus the
|
|
691
|
-
flex gap, so hidden fades take no space. */
|
|
692
|
-
.msgs::before, .msgs::after {
|
|
693
|
-
content: ""; position: sticky; display: block; height: 22px; flex: 0 0 auto;
|
|
694
|
-
pointer-events: none; z-index: 5; opacity: 0; transition: opacity .25s;
|
|
695
|
-
}
|
|
696
|
-
.msgs::before { top: 0; margin-bottom: -33px; background: linear-gradient(var(--bg), transparent); }
|
|
697
|
-
.msgs::after { bottom: 0; margin-top: -33px; background: linear-gradient(transparent, var(--bg)); }
|
|
698
|
-
.msgs.scrolled::before { opacity: 1; }
|
|
699
|
-
.msgs.unfollowed::after { opacity: 1; }
|
|
700
|
-
|
|
701
|
-
/* ---- activity rail — indicator above the composer while a turn runs ----
|
|
702
|
-
Reproduces docs/design/ui/demo-activity-rail-chat.html (variant №12).
|
|
703
|
-
`l-line` (default) = compact one-liner, `l-meta` = inside the hint row,
|
|
704
|
-
`l-full` = full width; `off` hides the node entirely. */
|
|
705
|
-
.rail-wrap { display: flex; flex-direction: column; gap: 6px; margin-bottom: 10px; }
|
|
706
|
-
.rail-wrap[hidden] { display: none; }
|
|
707
|
-
.rail-wrap.l-line, .rail-wrap.l-meta {
|
|
708
|
-
flex-direction: row; align-items: center; gap: 6px 10px; margin-bottom: 8px;
|
|
709
|
-
flex-wrap: wrap;
|
|
710
|
-
}
|
|
711
|
-
.rail-wrap.l-line .rl-track { order: -1; flex: 1 1 120px; min-width: 80px; max-width: 180px; }
|
|
712
|
-
.rail-wrap.l-meta .rl-track { order: -1; flex: 1 1 90px; min-width: 64px; max-width: 110px; }
|
|
713
|
-
.rail-wrap.l-line .rail-l1, .rail-wrap.l-line .rail-l2 { flex: 1 1 auto; min-width: 0; }
|
|
714
|
-
.rail-wrap.l-line .rail-l1 .right { display: none; } /* Esc уже есть в .inp-meta */
|
|
715
|
-
.rail-wrap.l-line .rail-l2::before { content: '·'; color: var(--dim-a); margin-right: -2px; }
|
|
716
|
-
.rail-wrap.l-meta { margin-bottom: 0; }
|
|
717
|
-
.rail-wrap.l-meta .rail-l1 { font-size: 11.5px; }
|
|
718
|
-
.rail-wrap.l-meta .rail-l1 .st, .rail-wrap.l-meta .rail-l1 .s, .rail-wrap.l-meta .rail-l1 .right { display: none; }
|
|
719
|
-
.rail-wrap.l-meta .rail-l2 { display: none; } /* в строке подсказок только самое важное */
|
|
720
|
-
.rail-wrap.l-full .rl-track { flex: 1 1 auto; }
|
|
721
|
-
.rail-l1 {
|
|
722
|
-
display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap;
|
|
723
|
-
font-size: 13px; color: var(--think);
|
|
724
|
-
}
|
|
725
|
-
.rail-l1 .s, .rail-l1 .right { color: var(--dim-a); }
|
|
726
|
-
.rail-l1 .right { margin-left: auto; font-size: 11.5px; }
|
|
727
|
-
.rail-l2 { display: flex; gap: 8px; align-items: baseline; font-size: 11.5px; color: var(--dim-a); flex-wrap: wrap; min-width: 0; }
|
|
728
|
-
.rail-l2 .last { color: var(--args); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
|
|
729
|
-
|
|
730
|
-
.rl-track {
|
|
731
|
-
position: relative; height: 12px; border-radius: 6px;
|
|
732
|
-
background: var(--border); overflow: hidden;
|
|
733
|
-
}
|
|
734
|
-
.rl-fill {
|
|
735
|
-
position: absolute; left: 0; top: 0; bottom: 0; width: calc(var(--prog, 0) * 1%);
|
|
736
|
-
background: linear-gradient(90deg, var(--think), var(--accent));
|
|
737
|
-
transition: width .2s linear;
|
|
738
|
-
}
|
|
739
|
-
.rl-fill::after {
|
|
740
|
-
content: ''; position: absolute; inset: 0;
|
|
741
|
-
background: linear-gradient(90deg, transparent, rgba(255,255,255,.45), transparent);
|
|
742
|
-
transform: translateX(-100%); animation: rlSweep 1.5s linear infinite;
|
|
743
|
-
}
|
|
744
|
-
@keyframes rlSweep { to { transform: translateX(100%); } }
|
|
745
|
-
/* Засечки шагов плана — только в режиме plan */
|
|
746
|
-
.rl-track[data-mode="plan"]::after {
|
|
747
|
-
content: ''; position: absolute; inset: 0; pointer-events: none;
|
|
748
|
-
background: repeating-linear-gradient(90deg,
|
|
749
|
-
transparent 0, transparent calc(33.333% - 1.5px),
|
|
750
|
-
var(--bg) calc(33.333% - 1.5px), var(--bg) 33.333%);
|
|
751
|
-
}
|
|
752
|
-
/* indeterminate: бегущий сканер по всей длине */
|
|
753
|
-
.rl-track[data-mode="scan"] .rl-fill { display: none; }
|
|
754
|
-
.rl-scan {
|
|
755
|
-
display: none; position: absolute; top: 0; bottom: 0; width: 30%; left: -30%;
|
|
756
|
-
background: linear-gradient(90deg, transparent, var(--think) 40%, var(--accent) 72%, transparent);
|
|
757
|
-
}
|
|
758
|
-
.rl-track[data-mode="scan"] .rl-scan {
|
|
759
|
-
display: block; animation: rlScan 1.7s cubic-bezier(.4, .1, .6, .9) infinite;
|
|
760
|
-
}
|
|
761
|
-
@keyframes rlScan { to { left: 100%; } }
|
|
762
|
-
.rail-wrap.phase-tool .rl-track[data-mode="scan"] .rl-scan { animation-duration: 1s; }
|
|
763
|
-
.rail-wrap.phase-compose .rl-track[data-mode="scan"] .rl-scan { animation-duration: 1.3s; }
|
|
764
|
-
/* Вспышка на реальное событие (tool_start / tool_end / text / plan) */
|
|
765
|
-
.rl-track.flash {
|
|
766
|
-
box-shadow: 0 0 0 1px var(--accent), 0 0 14px rgba(196,168,236,.35);
|
|
767
|
-
animation: rlFlash .45s ease-out;
|
|
768
|
-
}
|
|
769
|
-
@keyframes rlFlash { 0% { filter: brightness(1.9); } 100% { filter: brightness(1); } }
|
|
770
|
-
|
|
771
|
-
/* ---- sidebar — plan / usage / environment sections ---- */
|
|
772
|
-
/* Sidebar never scrolls horizontally, in any tab: long paths / model names /
|
|
773
|
-
ids wrap or ellipsize inside their rows, never widening the pane. */
|
|
774
|
-
.sb {
|
|
775
|
-
width: 340px; min-width: 340px; display: flex; flex-direction: column;
|
|
776
|
-
border-left: 1px solid var(--border); background: var(--sb-bg); min-height: 0;
|
|
777
|
-
overflow-x: hidden;
|
|
778
|
-
}
|
|
779
|
-
.sec {
|
|
780
|
-
display: flex; flex-direction: column; min-height: 0; min-width: 0;
|
|
781
|
-
max-width: 100%; overflow-x: hidden;
|
|
782
|
-
border-bottom: 1px solid var(--border);
|
|
783
|
-
}
|
|
784
|
-
.sec:last-child { border-bottom: none; }
|
|
785
|
-
.sec-h {
|
|
786
|
-
color: var(--sec-h); cursor: pointer; user-select: none;
|
|
787
|
-
display: flex; gap: 6px; align-items: center; font-size: 12.5px;
|
|
788
|
-
padding: 10px 16px 8px; flex-shrink: 0;
|
|
789
|
-
}
|
|
790
|
-
.sec-h:hover { color: var(--sec-h-hover); }
|
|
791
|
-
.sec-h .n { margin-left: auto; color: var(--dim-b); }
|
|
792
|
-
.sec-body {
|
|
793
|
-
overflow-y: auto; overflow-x: hidden; padding: 0 16px 12px;
|
|
794
|
-
min-height: 0; min-width: 0; max-width: 100%;
|
|
795
|
-
}
|
|
796
|
-
.sec-body.collapsed { display: none; }
|
|
797
|
-
/* plan section takes the lion's share and scrolls */
|
|
798
|
-
.sec.plan-sec { flex: 1 1 auto; }
|
|
799
|
-
.sec.usage-sec { flex: 0 1 auto; max-height: 45%; }
|
|
800
|
-
|
|
801
|
-
/* ---- sidebar tabs ---- */
|
|
802
|
-
.sb-tabs { display: flex; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--border); flex-shrink: 0; }
|
|
803
|
-
.sb-tab {
|
|
804
|
-
position: relative; width: 34px; height: 34px; flex: 0 0 auto;
|
|
805
|
-
display: inline-flex; align-items: center; justify-content: center; padding: 0;
|
|
806
|
-
border: 1px solid var(--border-2); border-radius: 6px;
|
|
807
|
-
background: transparent; color: var(--stab-fg); cursor: pointer; font: inherit;
|
|
808
|
-
}
|
|
809
|
-
.sb-tab:hover { color: var(--fg); background: var(--hover-bg); }
|
|
810
|
-
.sb-tab.on { color: var(--accent); background: var(--accent-bg); border-color: transparent; }
|
|
811
|
-
.sb-tab .sb-ico svg { width: 17px; height: 17px; }
|
|
812
|
-
.sb-tab .sb-dot {
|
|
813
|
-
position: absolute; top: 4px; right: 4px; width: 6px; height: 6px; border-radius: 50%;
|
|
814
|
-
background: var(--accent); opacity: 0; transition: opacity .2s;
|
|
815
|
-
}
|
|
816
|
-
.sb-tab[data-indicator="live"] .sb-dot { opacity: 1; animation: sbPulse 1s ease-in-out infinite; }
|
|
817
|
-
.sb-tab[data-indicator="busy"] .sb-dot { opacity: 1; background: var(--accent); }
|
|
818
|
-
.sb-tab[data-indicator="stale"] .sb-dot { opacity: 1; background: var(--yellow); }
|
|
819
|
-
@keyframes sbPulse { 0%,100% { opacity: 1 } 50% { opacity: .25 } }
|
|
820
|
-
|
|
821
|
-
.sb-name {
|
|
822
|
-
display: flex; align-items: center; gap: 8px; flex-shrink: 0;
|
|
823
|
-
padding: 10px 16px; color: var(--fg); font-size: 12.5px; font-weight: 600;
|
|
824
|
-
letter-spacing: .03em; border-bottom: 1px solid var(--border);
|
|
825
|
-
}
|
|
826
|
-
.sb-name .sb-ico svg { width: 14px; height: 14px; color: var(--accent); }
|
|
827
|
-
|
|
828
|
-
.sb-pane { display: flex; flex-direction: column; flex: 1; min-height: 0; min-width: 0; max-width: 100%; overflow-x: hidden; }
|
|
829
|
-
.sb-pane[hidden] { display: none; }
|
|
830
|
-
|
|
831
|
-
/* master-detail expansion */
|
|
832
|
-
.sb { transition: width .22s ease, min-width .22s ease; }
|
|
833
|
-
.sb.sb-expanded { width: 680px; min-width: 680px; }
|
|
834
|
-
#pane-trace { flex-direction: row; }
|
|
835
|
-
.sb-expanded #pane-trace { position: relative; }
|
|
836
|
-
.trace-list { flex: 1; min-width: 0; max-width: 100%; overflow-y: auto; overflow-x: hidden; padding: 6px 10px 12px; display: flex; flex-direction: column; gap: 1px; }
|
|
837
|
-
.trace-turn { color: var(--dim-c); font-size: 11px; margin: 8px 6px 2px; overflow-wrap: anywhere; }
|
|
838
|
-
.trc { display: flex; gap: 8px; align-items: baseline; padding: 4px 6px; font-size: 12px; color: var(--muted); border-radius: 4px; cursor: pointer; min-width: 0; max-width: 100%; overflow: hidden; }
|
|
839
|
-
.trc:hover { background: var(--hover-bg); }
|
|
840
|
-
.trc.sel { background: var(--accent-bg); }
|
|
841
|
-
.trc .g { flex: 0 0 auto; }
|
|
842
|
-
.trc.recon .g { color: var(--cyan); } .trc.mutate .g { color: var(--purple); }
|
|
843
|
-
.trc.execute .g { color: var(--accent); } .trc.meta .g { color: var(--meta); } .trc.phase .g { color: var(--think); }
|
|
844
|
-
.trc .lab { color: var(--fg); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; flex: 0 1 auto; }
|
|
845
|
-
.trc .args { color: var(--args); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; flex: 1; }
|
|
846
|
-
.trc .t { color: var(--dim-b); margin-left: auto; flex: 0 0 auto; }
|
|
847
|
-
.trc.warn .g, .trc.warn .lab { color: var(--yellow); }
|
|
848
|
-
.trc.phase .lab { color: var(--think); }
|
|
849
|
-
.trc-detail { display: flex; flex-direction: column; flex: 0 0 340px; min-width: 0; max-width: 100%; overflow-x: hidden; border-left: 1px solid var(--border); }
|
|
850
|
-
.trc-detail[hidden] { display: none; }
|
|
851
|
-
.detail-h { display: flex; gap: 8px; align-items: center; padding: 10px 14px; border-bottom: 1px solid var(--border); color: var(--fg); font-size: 12.5px; flex-shrink: 0; min-width: 0; max-width: 100%; overflow: hidden; }
|
|
852
|
-
.detail-h .g { color: var(--accent); }
|
|
853
|
-
.detail-h .x { margin-left: auto; color: var(--dim-b); cursor: pointer; }
|
|
854
|
-
.detail-b { padding: 10px 14px; display: flex; flex-direction: column; gap: 12px; overflow-y: auto; overflow-x: hidden; min-width: 0; max-width: 100%; }
|
|
855
|
-
.detail-b .code { max-width: 100%; }
|
|
856
|
-
.detail-b h5 { margin: 0 0 4px; font-size: 10.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--sec-h); font-weight: 600; }
|
|
857
|
-
.map-sec { flex: 1 1 auto; }
|
|
858
|
-
.map-reindex { margin-top: 10px; font: inherit; font-size: 12px; color: var(--accent); background: transparent; border: 1px solid var(--border-2); border-radius: 5px; padding: 4px 10px; cursor: pointer; width: fit-content; }
|
|
859
|
-
.map-reindex:disabled { color: var(--dim-b); cursor: default; }
|
|
860
|
-
.kv.wn b { color: var(--yellow); }
|
|
861
|
-
|
|
862
|
-
::-webkit-scrollbar { width: 8px; }
|
|
863
|
-
::-webkit-scrollbar-thumb { background: var(--scroll-thumb); border-radius: 4px; }
|
|
864
|
-
|
|
865
|
-
.plan-bar { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; color: var(--plan-bar-fg); font-size: 12px; }
|
|
866
|
-
.pbar { flex: 1; height: 6px; background: var(--track); border-radius: 3px; overflow: hidden; }
|
|
867
|
-
.pbar i { display: block; height: 100%; background: var(--green-fill); transition: width .2s; }
|
|
868
|
-
.plan-step { padding: 4px 0 4px 16px; position: relative; color: var(--muted); }
|
|
869
|
-
.plan-step.done { color: var(--green); }
|
|
870
|
-
.plan-step.cur { color: var(--accent); }
|
|
871
|
-
.plan-step.fail { color: var(--red); }
|
|
872
|
-
.plan-step::before { content: ""; position: absolute; left: 4px; top: 0; bottom: 0; width: 1px; background: var(--plan-line); }
|
|
873
|
-
.plan-step .sub { display: block; color: var(--dim-b); font-size: 11.5px; padding-left: 0; }
|
|
874
|
-
|
|
875
|
-
.kv { display: flex; justify-content: space-between; padding: 2px 0; color: var(--muted); gap: 10px; min-width: 0; max-width: 100%; }
|
|
876
|
-
.kv > * { min-width: 0; }
|
|
877
|
-
/* Подпись строки никогда не сжимается — иначе её текст наезжает на значение. */
|
|
878
|
-
.kv > span:first-child { flex-shrink: 0; }
|
|
879
|
-
.kv b { font-weight: 400; color: var(--fg); text-align: right; overflow-wrap: anywhere; word-break: break-word; min-width: 0; max-width: 100%; }
|
|
880
|
-
/* Корень карты: подпись сверху, длинный путь снизу на всю ширину. */
|
|
881
|
-
.map-path { display: flex; flex-direction: column; gap: 2px; padding: 2px 0; min-width: 0; max-width: 100%; color: var(--muted); }
|
|
882
|
-
.map-path .dim { color: var(--dim-a); }
|
|
883
|
-
.map-path b { font-weight: 400; color: var(--fg); overflow-wrap: anywhere; word-break: break-word; min-width: 0; max-width: 100%; }
|
|
884
|
-
body.light .kv b { color: var(--fg); }
|
|
885
|
-
.kv .dim { color: var(--dim-a); }
|
|
886
|
-
.kv .wn { color: var(--yellow); }
|
|
887
|
-
body.light .kv .wn { color: var(--yellow); }
|
|
888
|
-
.kv-val { display: inline-flex; align-items: center; gap: 4px; min-width: 0; }
|
|
889
|
-
.kv-val b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
890
|
-
.copy-btn {
|
|
891
|
-
display: inline-flex; align-items: center; justify-content: center;
|
|
892
|
-
width: 18px; height: 18px; padding: 0; flex: 0 0 auto;
|
|
893
|
-
border: 0; border-radius: 3px; background: transparent;
|
|
894
|
-
color: var(--dim-b); cursor: pointer;
|
|
895
|
-
}
|
|
896
|
-
.copy-btn .svg-icon { width: 12px; height: 12px; }
|
|
897
|
-
.copy-btn:hover { color: var(--fg); background: var(--hover-bg); }
|
|
898
|
-
/* Environment section: stacked items (name on top, dim value below). */
|
|
899
|
-
#env .env-item { padding: 3px 0; }
|
|
900
|
-
#env .env-k { color: var(--muted); font-size: 12px; }
|
|
901
|
-
#env .env-v { color: var(--dim-b); font-size: 11.5px; overflow-wrap: anywhere; }
|
|
902
|
-
.bar { height: 4px; background: var(--track); border-radius: 2px; margin-top: 6px; overflow: hidden; }
|
|
903
|
-
.bar i { display: block; height: 100%; width: 0; background: var(--green-fill); transition: width .2s; }
|
|
904
|
-
|
|
905
|
-
/* Segmented context bar: flex row so widths add up to the full window. */
|
|
906
|
-
.bar.segbar { display: flex; }
|
|
907
|
-
.bar.segbar i { width: auto; flex: 0 0 auto; transition: width .25s; }
|
|
908
|
-
.bar.segbar .seg-system { background: var(--seg-system); }
|
|
909
|
-
.bar.segbar .seg-tools { background: var(--seg-tools); }
|
|
910
|
-
.bar.segbar .seg-history { background: var(--seg-history); }
|
|
911
|
-
.bar.segbar .seg-reserve { background: var(--seg-reserve); }
|
|
912
|
-
.bar.segbar .seg-free { background: var(--seg-free); }
|
|
913
|
-
/* Legend of context parts (dim dot + label + tokens): rows, no boxes. */
|
|
914
|
-
.seglegend { display: flex; flex-wrap: wrap; gap: 4px 10px; margin-top: 5px; }
|
|
915
|
-
.segl-item { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; color: var(--dim-b); }
|
|
916
|
-
.segl-dot { width: 7px; height: 7px; border-radius: 2px; flex: 0 0 auto; }
|
|
917
|
-
.segl-dot.seg-system { background: var(--seg-system); }
|
|
918
|
-
.segl-dot.seg-tools { background: var(--seg-tools); }
|
|
919
|
-
.segl-dot.seg-history { background: var(--seg-history); }
|
|
920
|
-
.segl-dot.seg-reserve { background: var(--seg-reserve); }
|
|
921
|
-
.segl-dot.seg-free { background: var(--seg-free); }
|
|
922
|
-
.segl-item b { color: var(--muted); font-weight: 600; }
|
|
923
|
-
.segl-label { color: var(--dim-b); }
|
|
924
|
-
|
|
925
|
-
/* ---- settings modal + nested dialogs (provider, confirm) ---- */
|
|
926
|
-
.overlay {
|
|
927
|
-
display: none; position: fixed; inset: 0; z-index: 50;
|
|
928
|
-
background: var(--overlay); align-items: center; justify-content: center;
|
|
929
|
-
}
|
|
930
|
-
.overlay.open { display: flex; }
|
|
931
|
-
.modal {
|
|
932
|
-
width: min(880px, 92vw); height: min(640px, 88vh);
|
|
933
|
-
background: var(--panel); border-radius: 8px; overflow: hidden;
|
|
934
|
-
display: flex; flex-direction: column;
|
|
935
|
-
box-shadow: var(--shadow-modal);
|
|
936
|
-
}
|
|
937
|
-
.modal-top {
|
|
938
|
-
display: flex; align-items: center; padding: 10px 16px;
|
|
939
|
-
border-bottom: 1px solid var(--border); color: var(--fg); font-size: 13.5px;
|
|
940
|
-
}
|
|
941
|
-
.modal-top .modal-top-icon { display: inline-flex; align-items: center; color: var(--dim-a); margin-right: 8px; }
|
|
942
|
-
.modal-top .x { margin-left: auto; cursor: pointer; color: var(--dim-a); }
|
|
943
|
-
.modal-top .x:hover { color: var(--fg); }
|
|
944
|
-
.modal-top .saved { margin-left: 12px; font-size: 12px; color: var(--green); opacity: 0; transition: opacity .2s; }
|
|
945
|
-
.modal-top .saved.show { opacity: 1; }
|
|
946
|
-
.modal-top .saved.fail { color: var(--red-strong); }
|
|
947
|
-
.modal-body { flex: 1; display: flex; min-height: 0; min-width: 0; }
|
|
948
|
-
|
|
949
|
-
/* small confirmation dialog (reuses the modal overlay) */
|
|
950
|
-
.modal.modal-sm {
|
|
951
|
-
width: min(380px, 92vw); height: auto; max-height: 88vh; border-radius: 8px;
|
|
952
|
-
}
|
|
953
|
-
.confirm-body { flex-direction: column; padding: 16px 18px; gap: 16px; }
|
|
954
|
-
.confirm-msg { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
|
|
955
|
-
.confirm-actions { display: flex; justify-content: flex-end; gap: 8px; }
|
|
956
|
-
.confirm-actions .linkbtn {
|
|
957
|
-
padding: 6px 14px; border: 1px solid var(--border); border-radius: 6px;
|
|
958
|
-
color: var(--fg); justify-content: center;
|
|
959
|
-
}
|
|
960
|
-
.confirm-actions .linkbtn:hover { text-decoration: none; background: var(--hover-bg-2); }
|
|
961
|
-
.confirm-actions .linkbtn.danger { border-color: var(--red-strong); color: var(--red-strong); }
|
|
962
|
-
.confirm-actions .linkbtn.danger:hover { background: var(--x-hover-bg); }
|
|
963
|
-
|
|
964
|
-
/* nested sub-dialog (provider / MCP / LSP edit; opens above settings) */
|
|
965
|
-
.overlay.overlay-nested { z-index: 60; }
|
|
966
|
-
.modal.modal-sub {
|
|
967
|
-
width: min(560px, 92vw); height: auto; max-height: 88vh; border-radius: 8px;
|
|
968
|
-
}
|
|
969
|
-
.provider-body { display: block; padding: 20px 22px 22px; overflow-y: auto; }
|
|
970
|
-
.provider-body .pform {
|
|
971
|
-
margin: 0; padding: 0; border: 0; background: none;
|
|
972
|
-
}
|
|
973
|
-
#subHost .pform-title { display: none; }
|
|
974
|
-
.menu-col {
|
|
975
|
-
width: 210px; min-width: 210px; padding: 12px 8px 8px;
|
|
976
|
-
border-right: 1px solid var(--border);
|
|
977
|
-
display: flex; flex-direction: column; min-height: 0; flex: 0 0 auto;
|
|
978
|
-
}
|
|
979
|
-
.menu-col #setMenu { overflow-y: auto; min-height: 0; flex: 1 1 auto; }
|
|
980
|
-
.menu-col .mi {
|
|
981
|
-
padding: 7px 12px; border-radius: 4px; cursor: pointer;
|
|
982
|
-
color: var(--muted); margin-bottom: 2px; font-size: 13px;
|
|
983
|
-
width: 100%; text-align: left; background: none; border: none; font-family: inherit;
|
|
984
|
-
}
|
|
985
|
-
.menu-col .mi:hover { background: var(--hover-bg-2); color: var(--fg); }
|
|
986
|
-
.menu-col .mi.on { background: var(--accent-bg); color: var(--accent); }
|
|
987
|
-
.content-col { flex: 1; padding: 18px 22px; overflow-y: auto; min-width: 0; min-height: 0; }
|
|
988
|
-
.panel { display: none; }
|
|
989
|
-
.panel.on { display: block; }
|
|
990
|
-
.panel h3 { font-size: 14px; font-weight: 400; color: var(--fg); margin-bottom: 14px; }
|
|
991
|
-
.row {
|
|
992
|
-
display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
|
|
993
|
-
padding: 9px 0; border-bottom: 1px solid var(--border-3); font-size: 13px; color: var(--muted);
|
|
994
|
-
gap: 6px 14px; min-width: 0;
|
|
995
|
-
}
|
|
996
|
-
.row:last-child { border-bottom: none; }
|
|
997
|
-
.row > .row-label { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
|
|
998
|
-
.row-label .row-name { overflow-wrap: anywhere; }
|
|
999
|
-
.row-label .row-desc { color: var(--dim-a); font-size: 11.5px; line-height: 1.35; overflow-wrap: anywhere; max-width: 60ch; }
|
|
1000
|
-
.row > span:first-child { flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; }
|
|
1001
|
-
.row .val {
|
|
1002
|
-
color: var(--fg); min-width: 0; max-width: 100%;
|
|
1003
|
-
overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
|
|
1004
|
-
}
|
|
1005
|
-
body.light .row .val { color: var(--fg); }
|
|
1006
|
-
.row .val.accent { color: var(--purple); }
|
|
1007
|
-
body.light .row .val.accent { color: var(--purple); }
|
|
1008
|
-
.row .val.dim { color: var(--dim-a); }
|
|
1009
|
-
.row input {
|
|
1010
|
-
background: var(--input-surface); border: 1px solid var(--border-2); border-radius: 4px;
|
|
1011
|
-
color: var(--fg); font: inherit; font-size: 12.5px; padding: 4px 8px;
|
|
1012
|
-
width: 120px; text-align: right;
|
|
1013
|
-
}
|
|
1014
|
-
.toggle {
|
|
1015
|
-
width: 34px; height: 18px; border-radius: 9px; background: var(--toggle-off);
|
|
1016
|
-
position: relative; cursor: pointer; flex: 0 0 auto;
|
|
1017
|
-
}
|
|
1018
|
-
body.light .toggle { background: var(--toggle-off); }
|
|
1019
|
-
.toggle::after {
|
|
1020
|
-
content: ""; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px;
|
|
1021
|
-
border-radius: 50%; background: var(--toggle-knob); transition: .15s;
|
|
1022
|
-
}
|
|
1023
|
-
.toggle.on { background: var(--green-fill); }
|
|
1024
|
-
.toggle.on::after { left: 18px; background: var(--toggle-knob-on); }
|
|
1025
|
-
.seg { display: flex; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
|
|
1026
|
-
.seg button {
|
|
1027
|
-
font: inherit; font-size: 12px; padding: 3px 10px; cursor: pointer;
|
|
1028
|
-
background: var(--surface); color: var(--muted); border: none; border-radius: 4px;
|
|
1029
|
-
}
|
|
1030
|
-
.seg button.on { background: var(--accent-bg); color: var(--accent); }
|
|
1031
|
-
.list-line {
|
|
1032
|
-
display: flex; gap: 8px; padding: 6px 0; color: var(--muted); font-size: 12.5px;
|
|
1033
|
-
border-bottom: 1px solid var(--border-3);
|
|
1034
|
-
}
|
|
1035
|
-
.list-line .g { color: var(--green); }
|
|
1036
|
-
.searchbox {
|
|
1037
|
-
width: 100%; padding: 7px 10px; margin-bottom: 10px;
|
|
1038
|
-
background: var(--surface); border: 1px solid var(--border-2); border-radius: 4px;
|
|
1039
|
-
color: var(--fg); font: inherit; font-size: 12.5px;
|
|
1040
|
-
}
|
|
1041
|
-
.placeholder { color: var(--dim-b); font-size: 12.5px; padding: 6px 0; line-height: 1.7; }
|
|
1042
|
-
.placeholder .tag { color: var(--yellow); }
|
|
1043
|
-
|
|
1044
|
-
/* settings data lists (memory / skills / plugins) */
|
|
1045
|
-
.settings-list .list-line { align-items: center; gap: 6px 10px; flex-wrap: wrap; }
|
|
1046
|
-
.settings-list .list-line .name {
|
|
1047
|
-
flex: 1 1 auto; min-width: 0; color: var(--fg);
|
|
1048
|
-
overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
|
|
1049
|
-
}
|
|
1050
|
-
.settings-list .list-line .src {
|
|
1051
|
-
color: var(--dim-a); font-size: 11.5px; white-space: nowrap;
|
|
1052
|
-
overflow: hidden; text-overflow: ellipsis; min-width: 0; max-width: 100%;
|
|
1053
|
-
}
|
|
1054
|
-
.settings-list .list-line .st { color: var(--dim-a); white-space: nowrap; flex: 0 0 auto; }
|
|
1055
|
-
.settings-list .list-line .dim { color: var(--dim-a); }
|
|
1056
|
-
.settings-list .list-line .linkbtn { flex: 0 0 auto; }
|
|
1057
|
-
.settings-list .list-line .linkbtn:first-of-type { margin-left: auto; }
|
|
1058
|
-
|
|
1059
|
-
/* skills: name on top, source path beneath */
|
|
1060
|
-
.skill-item { padding: 8px 0; border-bottom: 1px solid var(--border-3); }
|
|
1061
|
-
.skill-item:last-child { border-bottom: none; }
|
|
1062
|
-
.skill-head { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
|
|
1063
|
-
.skill-head .g { color: var(--green); flex: 0 0 auto; }
|
|
1064
|
-
.skill-head .dim { color: var(--dim-a); flex: 0 0 auto; }
|
|
1065
|
-
.skill-head .name {
|
|
1066
|
-
color: var(--fg); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
|
|
1067
|
-
}
|
|
1068
|
-
.skill-head .st { margin-left: auto; color: var(--dim-a); white-space: nowrap; flex: 0 0 auto; }
|
|
1069
|
-
.skill-src {
|
|
1070
|
-
color: var(--dim-a); font-size: 11.5px; margin-top: 2px; padding-left: 18px;
|
|
1071
|
-
overflow-wrap: anywhere; word-break: break-word;
|
|
1072
|
-
}
|
|
1073
|
-
.row select {
|
|
1074
|
-
background: var(--input-surface); border: 1px solid var(--border-2); border-radius: 4px;
|
|
1075
|
-
color: var(--fg); font: inherit; font-size: 12.5px; padding: 4px 6px;
|
|
1076
|
-
}
|
|
1077
|
-
.row input.grow { width: 220px; text-align: left; }
|
|
1078
|
-
|
|
1079
|
-
/* memory page — readable entry blocks */
|
|
1080
|
-
.mem-cat {
|
|
1081
|
-
display: flex; align-items: baseline; gap: 8px;
|
|
1082
|
-
padding: 12px 0 6px; font-size: 11.5px; text-transform: uppercase;
|
|
1083
|
-
letter-spacing: .05em; color: var(--dim-a);
|
|
1084
|
-
border-bottom: 1px solid var(--border-3);
|
|
1085
|
-
}
|
|
1086
|
-
.mem-cat .n { margin-left: auto; color: var(--dim-b); }
|
|
1087
|
-
.mem-entry {
|
|
1088
|
-
display: flex; align-items: flex-start; gap: 10px;
|
|
1089
|
-
padding: 8px 0; border-bottom: 1px solid var(--border-3);
|
|
1090
|
-
font-size: 12.5px; color: var(--muted);
|
|
1091
|
-
}
|
|
1092
|
-
.mem-entry .mem-text {
|
|
1093
|
-
flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; line-height: 1.6;
|
|
1094
|
-
}
|
|
1095
|
-
.mem-entry .mem-text b { font-weight: 600; color: var(--fg); }
|
|
1096
|
-
.mem-entry .mem-del {
|
|
1097
|
-
flex: 0 0 auto; color: var(--accent); cursor: pointer; white-space: nowrap;
|
|
1098
|
-
}
|
|
1099
|
-
.mem-entry .mem-del:hover { text-decoration: underline; }
|
|
1100
|
-
.mem-add { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 10px 0 14px; }
|
|
1101
|
-
.mem-add select,
|
|
1102
|
-
.mem-add input {
|
|
1103
|
-
background: var(--input-surface); border: 1px solid var(--border-2); border-radius: 4px;
|
|
1104
|
-
color: var(--fg); font: inherit; font-size: 12.5px; padding: 5px 8px;
|
|
1105
|
-
}
|
|
1106
|
-
.mem-add select { flex: 0 0 auto; }
|
|
1107
|
-
.mem-add input { flex: 1 1 180px; min-width: 0; }
|
|
1108
|
-
.mem-add .linkbtn { flex: 0 0 auto; }
|
|
1109
|
-
|
|
1110
|
-
/* settings sections (models / providers) */
|
|
1111
|
-
.settings-section { margin-bottom: 22px; }
|
|
1112
|
-
.sec-head {
|
|
1113
|
-
display: flex; align-items: baseline; gap: 10px;
|
|
1114
|
-
padding: 0 0 6px; border-bottom: 1px solid var(--border-3);
|
|
1115
|
-
}
|
|
1116
|
-
.sec-title { font-size: 11.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--dim-a); }
|
|
1117
|
-
.sec-add {
|
|
1118
|
-
margin-left: auto; display: inline-flex; align-items: center; gap: 5px;
|
|
1119
|
-
font: inherit; font-size: 12px; color: var(--accent);
|
|
1120
|
-
background: none; border: 0; padding: 2px 0; cursor: pointer;
|
|
1121
|
-
}
|
|
1122
|
-
.sec-add:hover { text-decoration: underline; }
|
|
1123
|
-
.sec-add .svg-icon { width: 13px; height: 13px; }
|
|
1124
|
-
.sec-body { padding-top: 8px; }
|
|
1125
|
-
|
|
1126
|
-
/* model catalog */
|
|
1127
|
-
.model-list { max-height: 320px; overflow-y: auto; }
|
|
1128
|
-
.model-item {
|
|
1129
|
-
display: flex; align-items: center; gap: 10px;
|
|
1130
|
-
padding: 6px 0; border-bottom: 1px solid var(--border-3);
|
|
1131
|
-
font-size: 12.5px; color: var(--muted);
|
|
1132
|
-
}
|
|
1133
|
-
.model-item:last-child { border-bottom: none; }
|
|
1134
|
-
.model-item .m-name { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
1135
|
-
.model-item.active .m-name { color: var(--purple); }
|
|
1136
|
-
.model-item .m-meta { color: var(--dim-a); white-space: nowrap; flex: 0 0 auto; }
|
|
1137
|
-
|
|
1138
|
-
/* provider entries */
|
|
1139
|
-
.provider-list { display: flex; flex-direction: column; }
|
|
1140
|
-
.provider-item { padding: 8px 0; border-bottom: 1px solid var(--border-3); }
|
|
1141
|
-
.provider-item:last-child { border-bottom: none; }
|
|
1142
|
-
.provider-item .p-head { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
|
|
1143
|
-
.provider-item .p-name { color: var(--fg); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
1144
|
-
.provider-item .badge {
|
|
1145
|
-
flex: 0 0 auto; font-size: 10.5px; text-transform: uppercase; letter-spacing: .04em;
|
|
1146
|
-
color: var(--green); border: 1px solid var(--border-2); border-radius: 999px; padding: 1px 7px;
|
|
1147
|
-
}
|
|
1148
|
-
.provider-item .p-meta { color: var(--dim-a); font-size: 11.5px; margin-top: 2px; overflow-wrap: anywhere; }
|
|
1149
|
-
.provider-item .p-actions { display: flex; gap: 12px; margin-top: 6px; }
|
|
1150
|
-
.chip { font: inherit; font-size: 11.5px; color: var(--accent); background: none; border: 0; padding: 0; cursor: pointer; }
|
|
1151
|
-
.chip:hover { text-decoration: underline; }
|
|
1152
|
-
.chip.danger { color: var(--red-strong); }
|
|
1153
|
-
|
|
1154
|
-
/* provider add/edit form */
|
|
1155
|
-
.pform {
|
|
1156
|
-
margin-top: 12px; padding: 12px; border: 1px solid var(--border-2); border-radius: 6px;
|
|
1157
|
-
background: var(--surface);
|
|
1158
|
-
}
|
|
1159
|
-
.pform-title { font-size: 12.5px; color: var(--fg); margin-bottom: 10px; }
|
|
1160
|
-
.pform-grid {
|
|
1161
|
-
display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
|
|
1162
|
-
gap: 14px;
|
|
1163
|
-
}
|
|
1164
|
-
.pform-field { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
|
|
1165
|
-
.pform-field label { font-size: 11px; color: var(--dim-a); text-transform: uppercase; letter-spacing: .04em; }
|
|
1166
|
-
.pform-field input,
|
|
1167
|
-
.pform-field select {
|
|
1168
|
-
background: var(--input-surface); border: 1px solid var(--border-2); border-radius: 4px;
|
|
1169
|
-
color: var(--fg); font: inherit; font-size: 12.5px; padding: 6px 8px; width: 100%; min-width: 0;
|
|
1170
|
-
}
|
|
1171
|
-
/* base-URL field: the free-text input sits under the dropdown when "custom" */
|
|
1172
|
-
.pform-base { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
|
|
1173
|
-
/* preset row sits above the field grid — keep it off the fields */
|
|
1174
|
-
.provider-body .pform > .pform-field { margin-bottom: 16px; }
|
|
1175
|
-
.pform-adv { margin-top: 18px; }
|
|
1176
|
-
.pform-adv summary { cursor: pointer; font-size: 11.5px; color: var(--dim-a); text-transform: uppercase; letter-spacing: .04em; }
|
|
1177
|
-
.pform-adv .pform-grid { margin-top: 12px; }
|
|
1178
|
-
|
|
1179
|
-
/* titled groups inside "advanced" (retry numbers / cache flags) */
|
|
1180
|
-
.pform-checks { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
|
|
1181
|
-
.pform-checks-title {
|
|
1182
|
-
font-size: 11.5px; color: var(--dim-a); text-transform: uppercase; letter-spacing: .04em;
|
|
1183
|
-
}
|
|
1184
|
-
/* the group gap already separates the title from its grid */
|
|
1185
|
-
.pform-checks .pform-grid { margin-top: 0; }
|
|
1186
|
-
.pform-checks-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 6px 16px; }
|
|
1187
|
-
.pform-check {
|
|
1188
|
-
display: inline-flex; align-items: center; gap: 7px; min-width: 0;
|
|
1189
|
-
font-size: 12.5px; color: var(--muted); cursor: pointer;
|
|
1190
|
-
}
|
|
1191
|
-
.pform-check input[type="checkbox"] { width: auto; flex: 0 0 auto; margin: 0; accent-color: var(--accent); }
|
|
1192
|
-
.pform-check span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
1193
|
-
.pform-check:hover { color: var(--fg); }
|
|
1194
|
-
|
|
1195
|
-
.sec-desc { color: var(--dim-a); font-size: 11.5px; line-height: 1.4; padding: 6px 0 0; max-width: 70ch; }
|
|
1196
|
-
|
|
1197
|
-
/* structured editors (tags / checkboxes / table) own the full row width */
|
|
1198
|
-
.row > .ctl-block { flex-basis: 100%; min-width: 0; }
|
|
1199
|
-
|
|
1200
|
-
.tagsctl, .checksctl, .tablectl { display: flex; flex-direction: column; gap: 8px; padding-top: 4px; }
|
|
1201
|
-
.tags-list { display: flex; flex-wrap: wrap; gap: 6px; }
|
|
1202
|
-
.tags-empty { color: var(--dim-b); font-size: 12px; }
|
|
1203
|
-
.tag-chip {
|
|
1204
|
-
display: inline-flex; align-items: center; gap: 4px; max-width: 100%;
|
|
1205
|
-
background: var(--surface); border: 1px solid var(--border-2); border-radius: 999px;
|
|
1206
|
-
padding: 2px 6px 2px 10px; font-size: 12px; color: var(--fg);
|
|
1207
|
-
}
|
|
1208
|
-
.tag-chip .tag-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 320px; }
|
|
1209
|
-
.tag-chip .tag-rm { color: var(--dim-a); padding: 0 2px; }
|
|
1210
|
-
.tag-chip .tag-rm:hover { color: var(--red-strong); }
|
|
1211
|
-
.tags-add, .table-add { display: flex; gap: 6px; align-items: center; }
|
|
1212
|
-
.tags-add input, .table-add input {
|
|
1213
|
-
flex: 1 1 160px; min-width: 0; max-width: 320px;
|
|
1214
|
-
background: var(--input-surface); border: 1px solid var(--border-2); border-radius: 4px;
|
|
1215
|
-
color: var(--fg); font: inherit; font-size: 12.5px; padding: 5px 8px; text-align: left;
|
|
1216
|
-
}
|
|
1217
|
-
.tags-plus, .table-plus { color: var(--accent); font-size: 14px; }
|
|
1218
|
-
|
|
1219
|
-
/* `.row input` is a right-aligned 120px field — checkboxes must not inherit it. */
|
|
1220
|
-
.checksctl { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 6px 18px; }
|
|
1221
|
-
.check-line { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); cursor: pointer; min-width: 0; }
|
|
1222
|
-
.check-line input[type="checkbox"] { width: auto; flex: 0 0 auto; margin: 0; text-align: left; accent-color: var(--accent); }
|
|
1223
|
-
.check-line span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
1224
|
-
|
|
1225
|
-
.tablectl { gap: 4px; overflow-x: auto; }
|
|
1226
|
-
.table-head, .table-row {
|
|
1227
|
-
display: grid; grid-template-columns: minmax(120px, 1.4fr) repeat(auto-fit, minmax(84px, 1fr)) 28px;
|
|
1228
|
-
gap: 6px; align-items: center; min-width: 0;
|
|
1229
|
-
}
|
|
1230
|
-
.table-head .table-th { font-size: 10.5px; text-transform: uppercase; letter-spacing: .04em; color: var(--dim-a); }
|
|
1231
|
-
.table-row { padding: 3px 0; }
|
|
1232
|
-
.table-row input {
|
|
1233
|
-
width: 100%; min-width: 0;
|
|
1234
|
-
background: var(--input-surface); border: 1px solid var(--border-2); border-radius: 4px;
|
|
1235
|
-
color: var(--fg); font: inherit; font-size: 12px; padding: 4px 6px; text-align: left;
|
|
1236
|
-
}
|
|
1237
|
-
.table-row input[type="checkbox"] { width: auto; justify-self: start; accent-color: var(--accent); }
|
|
1238
|
-
.table-row .table-rm { color: var(--dim-a); }
|
|
1239
|
-
.table-row .table-rm:hover { color: var(--red-strong); }
|
|
1240
|
-
.table-body:empty::after { content: "—"; color: var(--dim-b); font-size: 12px; }
|
|
1241
|
-
|
|
1242
|
-
/* settings search */
|
|
1243
|
-
.set-search {
|
|
1244
|
-
position: relative; display: flex; align-items: center; gap: 6px;
|
|
1245
|
-
margin: 0 4px 10px; padding: 0 8px;
|
|
1246
|
-
background: var(--input-surface); border: 1px solid var(--border-2); border-radius: 5px;
|
|
1247
|
-
}
|
|
1248
|
-
.set-search .set-search-icon { display: inline-flex; color: var(--dim-a); flex: 0 0 auto; }
|
|
1249
|
-
.set-search .set-search-icon .svg-icon { width: 13px; height: 13px; }
|
|
1250
|
-
.set-search input {
|
|
1251
|
-
flex: 1 1 auto; min-width: 0; background: none; border: 0; outline: none;
|
|
1252
|
-
color: var(--fg); font: inherit; font-size: 12.5px; padding: 7px 0;
|
|
1253
|
-
}
|
|
1254
|
-
.set-search input::-webkit-search-cancel-button { display: none; }
|
|
1255
|
-
.set-search .set-search-clear { color: var(--dim-a); flex: 0 0 auto; }
|
|
1256
|
-
.set-search:focus-within { border-color: var(--inp-focus); box-shadow: 0 0 0 2px var(--input-shadow); }
|
|
1257
|
-
.set-results { display: flex; flex-direction: column; gap: 1px; }
|
|
1258
|
-
.set-result {
|
|
1259
|
-
display: grid; grid-template-columns: 1fr auto; gap: 2px 8px;
|
|
1260
|
-
padding: 6px 8px; border-radius: 4px; cursor: pointer;
|
|
1261
|
-
}
|
|
1262
|
-
.set-result:hover, .set-result.on { background: var(--accent-bg); }
|
|
1263
|
-
.set-result .sr-label { color: var(--fg); font-size: 12.5px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
1264
|
-
.set-result .sr-panel { grid-column: 2; grid-row: 1; color: var(--dim-a); font-size: 11px; white-space: nowrap; }
|
|
1265
|
-
.set-result .sr-key {
|
|
1266
|
-
grid-column: 1 / -1; color: var(--dim-b); font-size: 10.5px;
|
|
1267
|
-
overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
|
|
1268
|
-
}
|
|
1269
|
-
.set-results-empty { color: var(--dim-b); font-size: 12px; padding: 8px; }
|
|
1270
|
-
|
|
1271
|
-
/* a searched setting blinks so the eye lands on it after navigation */
|
|
1272
|
-
.row-flash { animation: rowflash 1.2s ease-out; }
|
|
1273
|
-
@keyframes rowflash {
|
|
1274
|
-
0%, 40% { background: var(--accent-bg); }
|
|
1275
|
-
100% { background: transparent; }
|
|
1276
|
-
}
|
|
1277
|
-
|
|
1278
|
-
/* sub-dialog (nested edit: provider / MCP / LSP) */
|
|
1279
|
-
#subHost .pform { margin: 0; padding: 0; border: 0; background: none; }
|
|
1280
|
-
#subHost .pform-title { display: none; }
|
|
1281
|
-
.pform-actions { display: flex; gap: 14px; align-items: center; padding-top: 22px; }
|
|
1282
|
-
.pform-actions .linkbtn.dim { color: var(--dim-a); }
|
|
1283
|
-
.settings-note { color: var(--dim-b); font-size: 11.5px; line-height: 1.7; padding: 8px 0 4px; }
|
|
1284
|
-
|
|
1285
|
-
/* ---- icons, focus & button normalization ---- */
|
|
1286
|
-
|
|
1287
|
-
/* Inline Lucide SVGs (chrome only; chat status glyphs stay textual per STYLE.md). */
|
|
1288
|
-
.icon-btn,
|
|
1289
|
-
.stab-x,
|
|
1290
|
-
.dd-menu .del-btn,
|
|
1291
|
-
.del,
|
|
1292
|
-
.linkbtn { display: inline-flex; align-items: center; gap: 5px; }
|
|
1293
|
-
.svg-icon { width: 15px; height: 15px; flex: 0 0 auto; display: block; }
|
|
1294
|
-
.icon-btn .svg-icon { width: 16px; height: 16px; }
|
|
1295
|
-
|
|
1296
|
-
/* Elements converted to real <button>s must not inherit UA chrome. */
|
|
1297
|
-
button.mi,
|
|
1298
|
-
button.act,
|
|
1299
|
-
button.think-h,
|
|
1300
|
-
button.qopt,
|
|
1301
|
-
button.stab-x,
|
|
1302
|
-
button.dd-row-main,
|
|
1303
|
-
button.del-btn,
|
|
1304
|
-
button.linkbtn {
|
|
1305
|
-
font: inherit; color: inherit; background: none; border: none;
|
|
1306
|
-
text-align: left; cursor: pointer; width: auto; padding: 0;
|
|
1307
|
-
}
|
|
1308
|
-
/* Headers keep their own padding/width from the base rules. */
|
|
1309
|
-
button.sec-h { font: inherit; color: inherit; background: none; border: none; cursor: pointer; width: 100%; padding: 10px 16px 8px; text-align: left; }
|
|
1310
|
-
button.think-h { width: 100%; }
|
|
1311
|
-
/* Switch keeps its fixed track size. */
|
|
1312
|
-
button.toggle { font: inherit; border: none; padding: 0; }
|
|
1313
|
-
button.stab-x {
|
|
1314
|
-
padding: 4px 8px 4px 4px; border-radius: 3px; color: var(--dim-b);
|
|
1315
|
-
display: inline-flex; align-items: center;
|
|
1316
|
-
}
|
|
1317
|
-
button.stab-x:hover { color: var(--red-strong); }
|
|
1318
|
-
.dd-menu .si-row { padding: 0; gap: 0; }
|
|
1319
|
-
.dd-menu .dd-row-main {
|
|
1320
|
-
flex: 1 1 auto; display: flex; gap: 10px; align-items: baseline; min-width: 0;
|
|
1321
|
-
padding: 7px 8px; color: var(--muted); font-size: 12.5px;
|
|
1322
|
-
}
|
|
1323
|
-
.dd-menu .dd-row-main:hover { color: var(--fg); }
|
|
1324
|
-
.dd-menu .si.on .dd-row-main { color: var(--accent); }
|
|
1325
|
-
.dd-menu .del-btn {
|
|
1326
|
-
flex: 0 0 auto; width: 28px; height: 28px; padding: 0; margin: 0 4px;
|
|
1327
|
-
color: var(--dim-b); cursor: pointer; justify-content: center;
|
|
1328
|
-
border-radius: 4px; align-items: center;
|
|
1329
|
-
}
|
|
1330
|
-
.dd-menu .del-btn:hover { color: var(--red-strong); background: var(--x-hover-bg); }
|
|
1331
|
-
.dd-menu .del-btn .svg-icon { width: 15px; height: 15px; }
|
|
1332
|
-
.dd-menu .dd-err { color: var(--yellow); font-size: 11.5px; padding: 6px 8px; }
|
|
1333
|
-
|
|
1334
|
-
/* Text actions (`use`/`edit`/`forget`/`add`, session delete) as focusable buttons. */
|
|
1335
|
-
.linkbtn {
|
|
1336
|
-
color: var(--accent); cursor: pointer; white-space: nowrap;
|
|
1337
|
-
align-items: center;
|
|
1338
|
-
}
|
|
1339
|
-
.linkbtn:hover { text-decoration: underline; }
|
|
1340
|
-
.linkbtn.dim { color: var(--dim-a); }
|
|
1341
|
-
.linkbtn.danger { color: var(--red-strong); }
|
|
1342
|
-
|
|
1343
|
-
/* Interactive spans upgraded with `activate()` get the same affordance. */
|
|
1344
|
-
[role="button"]:not(button) { cursor: pointer; }
|
|
1345
|
-
|
|
1346
|
-
/* Visible keyboard focus everywhere. */
|
|
1347
|
-
:focus-visible {
|
|
1348
|
-
outline: 2px solid var(--accent);
|
|
1349
|
-
outline-offset: 2px;
|
|
1350
|
-
border-radius: 3px;
|
|
1351
|
-
}
|
|
1352
|
-
.inp:focus-visible { outline: none; box-shadow: 0 0 0 2px var(--input-shadow); }
|
|
1353
|
-
.qopt:focus-visible,
|
|
1354
|
-
.toggle:focus-visible { outline-offset: 1px; }
|
|
1355
|
-
|
|
1356
|
-
/* Question options are buttons now. */
|
|
1357
|
-
.q .qopt { background: none; border: none; font: inherit; text-align: left; }
|
|
1358
|
-
.q .qopt[aria-checked="true"] { color: var(--green); }
|
|
1359
|
-
.q .qmulti-hint { color: var(--dim-a); padding-left: 18px; font-size: 11.5px; }
|
|
1360
|
-
.q .qcustom { margin: 6px 0 0 18px; display: flex; gap: 8px; align-items: center; }
|
|
1361
|
-
.q .qcustom input { flex: 1 1 auto; max-width: 420px; }
|
|
1362
|
-
.q .qcustom .linkbtn { flex: 0 0 auto; }
|
|
1363
|
-
|
|
1364
|
-
/* Toggle is a real switch button. */
|
|
1365
|
-
button.toggle { padding: 0; }
|
|
1366
|
-
button.toggle:disabled { opacity: .5; cursor: default; }
|
|
1367
|
-
|
|
1368
|
-
/* Empty-state hint (was an inline color in JS). */
|
|
1369
|
-
.empty .hint { color: var(--dim-a); }
|
|
1370
|
-
|
|
1371
|
-
/* Screen-reader-only status region (turn end, warnings/errors). */
|
|
1372
|
-
.visually-hidden {
|
|
1373
|
-
position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
|
|
1374
|
-
overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
|
|
1375
|
-
}
|
|
1376
|
-
|
|
1377
|
-
@media (prefers-reduced-motion: reduce) {
|
|
1378
|
-
*, *::before, *::after {
|
|
1379
|
-
animation-duration: .001ms !important;
|
|
1380
|
-
animation-iteration-count: 1 !important;
|
|
1381
|
-
transition-duration: .001ms !important;
|
|
1382
|
-
}
|
|
1383
|
-
}
|
|
1384
|
-
|
|
1385
|
-
/* ---- responsive layout ---- */
|
|
1386
|
-
@media (max-width: 760px) {
|
|
1387
|
-
.bar-top { gap: 8px; padding: 8px 10px; }
|
|
1388
|
-
.bar-sub {
|
|
1389
|
-
display: flex; gap: 2px; align-items: center;
|
|
1390
|
-
padding: 5px 10px; background: var(--panel); border-bottom: 1px solid var(--border);
|
|
1391
|
-
color: var(--muted); font-size: 12.5px;
|
|
1392
|
-
}
|
|
1393
|
-
.bar-sub .icon-btn { height: 28px; min-width: 28px; }
|
|
1394
|
-
.sess-name {
|
|
1395
|
-
flex: 1 1 auto; min-width: 0; display: flex; cursor: pointer;
|
|
1396
|
-
background: none; border: none; font: inherit; color: var(--fg);
|
|
1397
|
-
padding: 5px 6px; border-radius: 4px; text-align: left;
|
|
1398
|
-
}
|
|
1399
|
-
.sess-name:hover { background: var(--hover-bg); }
|
|
1400
|
-
.sess-name:disabled { cursor: default; }
|
|
1401
|
-
.sess-name:disabled:hover { background: none; }
|
|
1402
|
-
.sess-name span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
1403
|
-
/* + / list tools live here on phones; the dropdown opens below the bar. */
|
|
1404
|
-
.sess-tools { display: flex; gap: 2px; align-items: center; margin-left: auto; }
|
|
1405
|
-
.sess-tools .dd-menu { left: auto; right: 0; }
|
|
1406
|
-
#sessClose:hover { color: var(--red-strong); }
|
|
1407
|
-
.conn { display: none; }
|
|
1408
|
-
/* Sidebar toggle lives next to settings; settings keeps the right edge. */
|
|
1409
|
-
#toggleSidebar { display: inline-flex; }
|
|
1410
|
-
#openSettings { margin-left: 0; }
|
|
1411
|
-
.layout { flex-direction: column; }
|
|
1412
|
-
.chat { min-height: 0; }
|
|
1413
|
-
/* Phones: sidebar hidden, opens as an overlay drawer via body.sb-open. */
|
|
1414
|
-
.sb { display: none; }
|
|
1415
|
-
.sb-tab[data-tab="trace"], #pane-trace { display: none; }
|
|
1416
|
-
body.sb-open .sb {
|
|
1417
|
-
display: flex; position: fixed; top: 41px; right: 0; bottom: 0; z-index: 45;
|
|
1418
|
-
width: min(360px, 85vw); min-width: 0; max-height: none;
|
|
1419
|
-
border-left: 1px solid var(--border); border-top: none;
|
|
1420
|
-
box-shadow: var(--shadow-dd);
|
|
1421
|
-
}
|
|
1422
|
-
.msgs { padding: 0 14px; }
|
|
1423
|
-
.feed { padding: 14px 0; }
|
|
1424
|
-
.input-area { margin: 10px 14px 12px; }
|
|
1425
|
-
.inp-meta { flex-wrap: wrap; gap: 8px; }
|
|
1426
|
-
}
|
|
1427
|
-
|
|
1428
|
-
@media (max-width: 640px) {
|
|
1429
|
-
.modal {
|
|
1430
|
-
width: 100vw; height: 100vh; max-width: none; max-height: none;
|
|
1431
|
-
border-radius: 0;
|
|
1432
|
-
}
|
|
1433
|
-
.modal-body { flex-direction: column; min-width: 0; }
|
|
1434
|
-
.menu-col {
|
|
1435
|
-
width: 100%; min-width: 0; display: flex; flex-direction: column;
|
|
1436
|
-
gap: 6px; border-right: none; border-bottom: 1px solid var(--border);
|
|
1437
|
-
padding: 8px 10px; flex: 0 0 auto;
|
|
1438
|
-
}
|
|
1439
|
-
.menu-col #setMenu { display: flex; flex-direction: row; gap: 6px; overflow-x: auto; overflow-y: hidden; }
|
|
1440
|
-
.menu-col .mi { white-space: nowrap; margin-bottom: 0; flex: 0 0 auto; width: auto; }
|
|
1441
|
-
.set-search { margin: 0 0 2px; }
|
|
1442
|
-
.set-results { max-height: 40vh; overflow-y: auto; }
|
|
1443
|
-
.content-col { padding: 14px; }
|
|
1444
|
-
.row { font-size: 12.5px; }
|
|
1445
|
-
.input-area { margin: 8px 10px 10px; }
|
|
1446
|
-
.msgs { padding: 0 10px; }
|
|
1447
|
-
.feed { padding: 12px 0; }
|
|
1448
|
-
/* narrow phones: rail stacks vertically, track takes the full row */
|
|
1449
|
-
.rail-wrap.l-line, .rail-wrap.l-meta {
|
|
1450
|
-
flex-direction: column; align-items: stretch; gap: 6px;
|
|
1451
|
-
}
|
|
1452
|
-
.rail-wrap.l-line .rl-track, .rail-wrap.l-meta .rl-track {
|
|
1453
|
-
order: -1; flex: none; width: 100%; max-width: none;
|
|
1454
|
-
}
|
|
1455
|
-
.rail-wrap.l-line .rail-l1, .rail-wrap.l-line .rail-l2 { flex: none; }
|
|
1456
|
-
.rail-wrap.l-meta { width: 100%; flex-basis: 100%; }
|
|
1457
|
-
.selectors { gap: 6px; }
|
|
1458
|
-
.composer-main { gap: 4px; }
|
|
1459
|
-
/* phones have no Enter/Shift+Enter/Esc/Ctrl+V — hints only take up space.
|
|
1460
|
-
Spans only (not the whole row): the `meta` rail layout lives inside
|
|
1461
|
-
.inp-meta and must stay visible. */
|
|
1462
|
-
.inp-meta > span { display: none; }
|
|
1463
|
-
.inp-meta { gap: 0; margin-top: 0; padding: 0 2px; }
|
|
1464
|
-
.inp-meta:empty { display: none; }
|
|
1465
|
-
}
|
|
1466
|
-
|
|
1467
|
-
/* touch devices at any width: keyboard hints don't apply */
|
|
1468
|
-
@media (pointer: coarse) {
|
|
1469
|
-
.inp-meta > span { display: none; }
|
|
1470
|
-
.inp-meta { gap: 0; }
|
|
1471
|
-
}
|
|
1472
|
-
|
|
1473
|
-
/* --- First-run setup gate ---------------------------------------------------
|
|
1474
|
-
Full-screen wizard shown when the config is virgin. No boxed panels: rows,
|
|
1475
|
-
glyphs and dim separators per docs/design/ui/STYLE.md. `body.setup-active`
|
|
1476
|
-
hides the chat chrome so the wizard owns the viewport. */
|
|
1477
|
-
body.setup-active .bar-top,
|
|
1478
|
-
body.setup-active .layout { display: none; }
|
|
1479
|
-
|
|
1480
|
-
.setup-gate[hidden] { display: none; }
|
|
1481
|
-
.setup-gate {
|
|
1482
|
-
position: fixed; inset: 0; z-index: 60;
|
|
1483
|
-
background: var(--bg); color: var(--fg);
|
|
1484
|
-
overflow-y: auto;
|
|
1485
|
-
display: flex; justify-content: center;
|
|
1486
|
-
padding: 48px 20px;
|
|
1487
|
-
}
|
|
1488
|
-
.setup-wrap { width: 100%; max-width: 560px; }
|
|
1489
|
-
.setup-h { font-size: 20px; font-weight: 600; margin: 0 0 4px; }
|
|
1490
|
-
.setup-h .glyph { color: var(--accent); margin-right: 8px; }
|
|
1491
|
-
.setup-sub { color: var(--dim-a); font-size: 13px; margin: 0 0 22px; }
|
|
1492
|
-
|
|
1493
|
-
.setup-steps {
|
|
1494
|
-
display: flex; flex-wrap: wrap; gap: 4px;
|
|
1495
|
-
font-size: 12px; color: var(--dim-b); margin-bottom: 22px;
|
|
1496
|
-
}
|
|
1497
|
-
.setup-steps .s.on { color: var(--accent); }
|
|
1498
|
-
.setup-steps .s.done { color: var(--green); }
|
|
1499
|
-
.setup-steps .sep { color: var(--rule); }
|
|
1500
|
-
|
|
1501
|
-
.setup-step-title { font-size: 15px; font-weight: 600; margin: 0 0 4px; }
|
|
1502
|
-
.setup-hint { color: var(--dim-a); font-size: 12.5px; margin: 0 0 14px; line-height: 1.5; }
|
|
1503
|
-
|
|
1504
|
-
.setup-field { margin-bottom: 14px; }
|
|
1505
|
-
.setup-label { display: block; font-size: 12px; color: var(--dim-a); margin-bottom: 5px; }
|
|
1506
|
-
.setup-input {
|
|
1507
|
-
width: 100%; box-sizing: border-box;
|
|
1508
|
-
background: var(--inp-bg); color: var(--fg);
|
|
1509
|
-
border: 1px solid var(--border-2); border-radius: 7px;
|
|
1510
|
-
padding: 8px 10px; font-size: 13.5px; font-family: inherit;
|
|
1511
|
-
}
|
|
1512
|
-
.setup-input:focus-visible { outline: none; border-color: var(--inp-focus); box-shadow: 0 0 0 2px var(--input-shadow); }
|
|
1513
|
-
|
|
1514
|
-
.setup-opt {
|
|
1515
|
-
display: flex; width: 100%; box-sizing: border-box;
|
|
1516
|
-
align-items: baseline; gap: 8px; text-align: left;
|
|
1517
|
-
background: transparent; color: var(--fg);
|
|
1518
|
-
border: 1px solid var(--border); border-radius: 7px;
|
|
1519
|
-
padding: 9px 11px; margin-bottom: 7px;
|
|
1520
|
-
font-size: 13px; font-family: inherit; cursor: pointer;
|
|
1521
|
-
}
|
|
1522
|
-
.setup-opt:hover { background: var(--hover-bg); }
|
|
1523
|
-
.setup-opt .g { color: var(--dim-b); }
|
|
1524
|
-
.setup-opt .t { font-weight: 500; }
|
|
1525
|
-
.setup-opt .d { color: var(--dim-a); font-size: 12px; }
|
|
1526
|
-
.setup-opt.on { border-color: var(--accent); background: var(--accent-bg); }
|
|
1527
|
-
.setup-opt.on .g { color: var(--accent); }
|
|
1528
|
-
|
|
1529
|
-
.setup-row-inline { display: flex; gap: 8px; align-items: center; }
|
|
1530
|
-
.setup-row-inline .setup-input { flex: 1; }
|
|
1531
|
-
|
|
1532
|
-
.setup-actions { display: flex; gap: 10px; align-items: center; margin-top: 22px; }
|
|
1533
|
-
.setup-actions .spacer { flex: 1; }
|
|
1534
|
-
.setup-btn {
|
|
1535
|
-
background: var(--surface); color: var(--fg);
|
|
1536
|
-
border: 1px solid var(--border-2); border-radius: 7px;
|
|
1537
|
-
padding: 8px 15px; font-size: 13px; font-family: inherit; cursor: pointer;
|
|
1538
|
-
}
|
|
1539
|
-
.setup-btn:hover { background: var(--hover-bg); }
|
|
1540
|
-
.setup-btn.primary { background: var(--green-fill); border-color: var(--green-fill); color: #fff; }
|
|
1541
|
-
.setup-btn.primary:hover { filter: brightness(1.08); }
|
|
1542
|
-
.setup-btn:disabled { opacity: .5; cursor: default; }
|
|
1543
|
-
.setup-btn.link { background: none; border: none; color: var(--accent); padding: 8px 4px; }
|
|
1544
|
-
|
|
1545
|
-
.setup-msg { font-size: 12.5px; margin-top: 10px; min-height: 17px; }
|
|
1546
|
-
.setup-msg.ok { color: var(--green); }
|
|
1547
|
-
.setup-msg.warn { color: var(--yellow); }
|
|
1548
|
-
.setup-msg.err { color: var(--err); }
|
|
1549
|
-
|
|
1550
|
-
.setup-summary { margin-top: 6px; }
|
|
1551
|
-
.setup-summary .r { display: flex; gap: 12px; padding: 5px 0; border-bottom: 1px solid var(--border-3); font-size: 13px; }
|
|
1552
|
-
.setup-summary .k { color: var(--dim-a); width: 150px; flex: 0 0 auto; }
|
|
1553
|
-
.setup-summary .v { color: var(--fg); word-break: break-all; }
|
|
1554
|
-
|
|
1555
|
-
.setup-toggle { display: flex; align-items: flex-start; gap: 9px; padding: 7px 0; font-size: 13px; cursor: pointer; }
|
|
1556
|
-
.setup-toggle input { accent-color: var(--green-fill); width: 15px; height: 15px; margin-top: 2px; flex: 0 0 auto; }
|
|
1557
|
-
.setup-toggle-texts { display: flex; flex-direction: column; gap: 2px; }
|
|
1558
|
-
.setup-toggle-texts .t { font-weight: 500; }
|
|
1559
|
-
.setup-toggle-texts .d { color: var(--dim-a); font-size: 12px; line-height: 1.5; }
|
|
1560
|
-
|
|
1561
|
-
.setup-sec-row { display: flex; align-items: center; gap: 8px; }
|
|
1562
|
-
.setup-sec-row .setup-toggle { flex: 1; }
|
|
1563
|
-
.setup-adv-label { padding: 7px 0; }
|
|
1564
|
-
.setup-detail-btn {
|
|
1565
|
-
display: inline-flex; align-items: center; gap: 5px; flex: 0 0 auto;
|
|
1566
|
-
background: transparent; color: var(--dim-a);
|
|
1567
|
-
border: 1px solid var(--border); border-radius: 7px;
|
|
1568
|
-
padding: 5px 9px; font-size: 12px; font-family: inherit; cursor: pointer;
|
|
1569
|
-
}
|
|
1570
|
-
.setup-detail-btn:hover { background: var(--hover-bg); color: var(--fg); }
|
|
1571
|
-
.setup-detail-btn .g { color: var(--accent); }
|
|
1572
|
-
|
|
1573
|
-
.setup-textarea { resize: vertical; min-height: 84px; font-family: var(--mono, ui-monospace, monospace); font-size: 12.5px; line-height: 1.5; }
|
|
1574
|
-
|
|
1575
|
-
.setup-overlay {
|
|
1576
|
-
position: fixed; inset: 0; z-index: 60;
|
|
1577
|
-
background: rgba(0, 0, 0, .55);
|
|
1578
|
-
display: flex; align-items: center; justify-content: center; padding: 20px;
|
|
1579
|
-
}
|
|
1580
|
-
.setup-modal {
|
|
1581
|
-
width: 100%; max-width: 560px; max-height: 86vh; display: flex; flex-direction: column;
|
|
1582
|
-
background: var(--surface); border: 1px solid var(--border-2); border-radius: 10px;
|
|
1583
|
-
box-shadow: 0 18px 50px rgba(0, 0, 0, .45);
|
|
1584
|
-
}
|
|
1585
|
-
.setup-modal-head { display: flex; align-items: center; gap: 8px; padding: 14px 16px; border-bottom: 1px solid var(--border-3); }
|
|
1586
|
-
.setup-modal-head .glyph { color: var(--accent); }
|
|
1587
|
-
.setup-modal-title { font-weight: 600; font-size: 14px; flex: 1; }
|
|
1588
|
-
.setup-modal-x { background: none; border: none; color: var(--dim-a); font-size: 15px; cursor: pointer; padding: 2px 6px; }
|
|
1589
|
-
.setup-modal-x:hover { color: var(--fg); }
|
|
1590
|
-
.setup-modal-body { padding: 14px 16px; overflow-y: auto; }
|
|
1591
|
-
.setup-modal-body .setup-field:last-child { margin-bottom: 0; }
|
|
1592
|
-
.setup-modal-foot { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-top: 1px solid var(--border-3); }
|
|
1593
|
-
.setup-modal-foot .spacer { flex: 1; }
|
|
1594
|
-
|
|
1595
|
-
@media (max-width: 640px) {
|
|
1596
|
-
.setup-gate { padding: 24px 14px; }
|
|
1597
|
-
.setup-summary .k { width: 110px; }
|
|
1598
|
-
}
|
|
1
|
+
:root{--bg: #141414;--fg: #e6edf3;--panel: #191919;--sb-bg: #181818;--stab-bg: #181818;--surface: #1f1f1f;--input-surface: #1f1f1f;--inp-bg: #1d1d1d;--inp-border: #c4a8ec44;--inp-focus: #c4a8ec;--input-shadow: #c4a8ec33;--border: #262626;--border-2: #2e2e2e;--border-3: #262626;--muted: #d4d4d4;--dim-a: #a3a3a3;--dim-b: #737373;--dim-c: #737373;--accent: #c4a8ec;--accent-bg: #241e30;--green: #c9c5bd;--green-fill: #8a8781;--red: #e08080;--err: #e08080;--red-strong: #e08080;--yellow: #d9a45b;--purple: #b8b0a6;--cyan: #a8a29e;--think: #9c9c9c;--cmdout: #d4d4d4;--meta: #a3a3a3;--args: #a3a3a3;--hover-bg: #262626;--hover-bg-2: #222222;--x-hover-bg: #2e2e2e;--u-fg: #d3bdf2;--u-bg: #221c2e;--u-border: #c4a8ec;--ans: #a5adb6;--toggle-off: #2e2e2e;--toggle-knob: #a3a3a3;--toggle-knob-on: #fff;--scroll-thumb: #2e2e2e;--scroll-thumb-hover: #737373;--stab-thumb: #2e2e2e;--stab-thumb-hover: #737373;--pipe: #2e2e2e;--rule: #2e2e2e;--checker-a: #222222;--checker-b: #2e2e2e;--checker-base: #191919;--checker-border: #2e2e2e;--ph-light: #eaeef2;--track: #262626;--seg-system: #a78bfa;--seg-tools: #38bdf8;--seg-history: #34d399;--seg-reserve: #fbbf24;--seg-free: #3f3f46;--plan-line: #2e2e2e;--plan-bar-fg: #a3a3a3;--sec-h: #a3a3a3;--sec-h-hover: #d4d4d4;--stab-fg: #a3a3a3;--overlay: rgba(0,0,0,.55);--shadow-menu: 0 8px 24px rgba(0,0,0,.5);--shadow-dd: 0 12px 32px rgba(0,0,0,.55);--shadow-modal: 0 20px 60px rgba(0,0,0,.6)}body.light{--bg: #f6f8fa;--fg: #1f2328;--panel: #ffffff;--sb-bg: #ffffff;--stab-bg: #f6f8fa;--surface: #f6f8fa;--input-surface: #ffffff;--inp-bg: #ffffff;--inp-border: #1a7f3740;--inp-focus: #1a7f37;--input-shadow: #1a7f3733;--border: #d0d7de;--border-2: #d0d7de;--border-3: #d8dee4;--muted: #57606a;--dim-a: #57606a;--dim-b: #6e7781;--dim-c: #6e7781;--accent: #0969da;--accent-bg: #ddf4ff;--green: #1a7f37;--green-fill: #1a7f37;--red: #cf222e;--err: #cf222e;--red-strong: #cf222e;--yellow: #9a6700;--purple: #8250df;--cyan: #116329;--think: #6e7781;--cmdout: #57606a;--meta: #57606a;--args: #656d76;--hover-bg: #eaeef2;--hover-bg-2: #f6f8fa;--x-hover-bg: #eaeef2;--u-fg: #0550ae;--u-bg: #ddf4ff;--u-border: #0969da;--ans: #424a53;--toggle-off: #d0d7de;--toggle-knob: #6e7781;--toggle-knob-on: #ffffff;--scroll-thumb: #d0d7de;--scroll-thumb-hover: #afb8c1;--stab-thumb: #d0d7de;--stab-thumb-hover: #afb8c1;--pipe: #d0d7de;--rule: #d0d7de;--checker-a: #eaeef2;--checker-b: #d0d7de;--checker-base: #ffffff;--checker-border: #d0d7de;--ph-light: #eaeef2;--track: #eaeef2;--seg-system: #7c3aed;--seg-tools: #0284c7;--seg-history: #059669;--seg-reserve: #d97706;--seg-free: #d0d7de;--plan-line: #d0d7de;--plan-bar-fg: #57606a;--sec-h: #57606a;--sec-h-hover: #1f2328;--stab-fg: #57606a;--overlay: rgba(31,35,40,.35);--shadow-menu: 0 8px 24px rgba(140,149,159,.25);--shadow-dd: 0 12px 32px rgba(140,149,159,.25);--shadow-modal: 0 20px 60px rgba(140,149,159,.35)}*{box-sizing:border-box;margin:0;padding:0}html,body{height:100%}body{background:var(--bg);color:var(--fg);font-family:ui-monospace,Cascadia Code,JetBrains Mono,Consolas,monospace;font-size:15px;display:flex;flex-direction:column;overflow:hidden}body[data-font=compact]{font-size:13px}body[data-font=large]{font-size:17px}.bar-top{display:flex;gap:14px;align-items:center;padding:8px 14px;background:var(--panel);border-bottom:1px solid var(--border);color:var(--muted);font-size:12.5px;position:relative;z-index:40}.icon-btn{cursor:pointer;color:var(--muted);height:24px;padding:0 8px;border:none;background:none;font:inherit;font-size:14px;border-radius:4px;line-height:1}.icon-btn:hover{background:var(--hover-bg);color:var(--fg)}.icon-btn.primary{color:var(--accent)}.icon-btn:disabled{opacity:.35;cursor:default}.icon-btn:disabled:hover{background:none;color:var(--muted)}.bar-sub{display:none}#openSettings{margin-left:auto;margin-right:6px}#toggleSidebar{display:none}.conn{color:var(--dim-a);font-size:11.5px;white-space:nowrap}.conn.stale{color:var(--yellow)}.conn.stale .linkbtn{font-size:11.5px}.tabstrip{display:flex;gap:4px;align-items:center;overflow-x:auto;flex:1;min-width:0}.tabstrip::-webkit-scrollbar{height:5px}.tabstrip::-webkit-scrollbar-track{background:transparent}.tabstrip::-webkit-scrollbar-thumb{background:var(--stab-thumb);border-radius:3px}.tabstrip::-webkit-scrollbar-thumb:hover{background:var(--stab-thumb-hover)}.stab{display:flex;gap:7px;align-items:center;white-space:nowrap;height:24px;padding:0 6px 0 10px;border-radius:7px;cursor:pointer;color:var(--stab-fg);font-size:12.5px;background:var(--stab-bg);border:1px solid transparent;max-width:220px}.stab:hover{color:var(--fg)}.stab.on{background:var(--accent-bg);color:var(--accent);border-color:transparent}.stab .name{flex:0 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis}.stab .dot{flex:0 0 auto;font-size:9px;line-height:1}.stab .dot.st-working{color:var(--accent);animation:tabpulse 1.2s ease-in-out infinite}.stab .dot.st-waiting{color:var(--yellow)}.stab .dot.st-queued{color:var(--dim-b)}.stab .dot.st-failed,.stab .dot.st-dead{color:var(--red-strong)}@keyframes tabpulse{0%,to{opacity:1}50%{opacity:.35}}.stab .stab-x{flex:0 0 auto;width:18px;height:18px;padding:0;justify-content:center;color:var(--dim-b);border-radius:3px;cursor:pointer}.stab .stab-x .svg-icon{width:12px;height:12px}.stab .stab-x:hover{color:var(--red-strong);background:var(--x-hover-bg)}.stab.dirty .stab-x{color:var(--yellow)}.btn{cursor:pointer;color:var(--muted);padding:3px 9px;border-radius:4px;border:none;background:none;font:inherit}.btn:hover{background:var(--hover-bg);color:var(--fg)}.btn.primary{color:var(--accent)}.model-name{color:var(--purple)}.dd{position:relative}.dd-menu{display:none;position:absolute;top:calc(100% + 6px);left:0;z-index:60;background:var(--panel);border:1px solid var(--border-2);border-radius:6px;min-width:300px;max-width:min(460px,calc(100vw - 48px));max-height:62vh;overflow-y:auto;overflow-x:hidden;padding:6px;box-shadow:var(--shadow-dd)}.dd.open .dd-menu{display:block}.dd-menu .h{color:var(--dim-c);font-size:11.5px;padding:4px 8px;text-transform:uppercase;letter-spacing:.04em}.dd-menu .si{display:flex;gap:10px;align-items:baseline;padding:7px 8px;border-radius:4px;cursor:pointer;color:var(--muted);font-size:12.5px}.dd-menu .si:hover{background:var(--hover-bg-2);color:var(--fg)}.dd-menu .si.on{background:var(--accent-bg);color:var(--accent)}.dd-menu .si .id{color:var(--dim-b);white-space:nowrap;flex:0 0 auto}.dd-menu .si .name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0;flex:1 1 auto}.dd-menu .si .meta{margin-left:auto;color:var(--dim-b);font-size:11.5px;white-space:nowrap}.dd-menu .sep{height:1px;background:var(--border-2);margin:5px 0}.dd-menu .act{display:flex;align-items:center;gap:8px;width:100%;text-align:left;padding:7px 8px;border-radius:4px;cursor:pointer;color:var(--accent);font-size:12.5px}.dd-menu .act:hover{background:var(--accent-bg)}.layout{flex:1;display:flex;min-height:0}.chat{flex:1;display:flex;flex-direction:column;min-width:0;position:relative}.msgs{flex:1;overflow-y:auto;overflow-x:hidden;padding:0 22px;display:flex;flex-direction:column;gap:11px}.msgs>*{flex-shrink:0;min-height:fit-content}.feed{display:flex;flex-direction:column;gap:11px;padding:18px 0}.feed>*{flex-shrink:0;min-height:fit-content}.u{color:var(--u-fg);background:var(--u-bg);border-left:2px solid var(--u-border);padding:7px 12px;border-radius:0 4px 4px 0;margin-top:6px;user-select:text;overflow-wrap:anywhere}.u:before{content:"> ";color:var(--u-border)}.ans{color:var(--ans);white-space:pre-wrap;word-break:break-word;overflow-wrap:anywhere}.think-h{color:var(--think);cursor:pointer;user-select:none;display:flex;gap:8px;align-items:baseline;font-size:12.5px}.think-h .dur,.think-h .tog{color:var(--dim-b)}.think-h .tog{display:inline-flex;align-items:center;gap:4px}.think-h .tog .svg-icon{width:12px;height:12px}.think-h .tog:hover{color:var(--dim-a)}.think-body{color:var(--dim-c);padding-left:18px;white-space:pre-wrap;font-size:12.5px;overflow-wrap:anywhere}.think-body.hidden{display:none}.metaln{color:var(--dim-c);padding-left:26px;white-space:pre-wrap;font-size:12.5px;overflow-wrap:anywhere}.metaln.warn{color:var(--yellow)}.act{display:flex;gap:8px;min-width:0;line-height:1.35}.act .lab{white-space:nowrap}.act .args{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.act.recon .g,.act.recon .lab{color:var(--cyan)}.act.mut .g,.act.mut .lab{color:var(--purple)}.act.exe .g,.act.exe .lab{color:var(--accent)}.act.meta .g,.act.meta .lab{color:var(--meta)}.act .sep,.act .args{color:var(--args)}.act .ok{color:var(--green)}.act .ok.fail{color:var(--red)}.detail{color:var(--dim-a);padding-left:26px;overflow-wrap:anywhere}.metric{color:var(--dim-a);overflow-wrap:anywhere}.warnline{color:var(--yellow);overflow-wrap:anywhere}.q{color:var(--yellow);margin:6px 0}.q .qtext{white-space:pre-wrap;overflow-wrap:anywhere}.q .opts{padding-left:18px;margin-top:4px;display:flex;flex-direction:column;gap:2px}.q .qopt{color:var(--accent);cursor:pointer;padding:2px 6px;border-radius:4px;width:fit-content}.q .qopt:hover{background:var(--hover-bg)}.q .qopt.on{color:var(--green)}.q .qopt.on:before{content:"✓ "}.q .qsend{margin:6px 0 0 18px;color:var(--accent);background:var(--surface);border:1px solid var(--border-2);border-radius:4px;padding:3px 10px;cursor:pointer;font:inherit;font-size:12.5px}.q .qsend:disabled{color:var(--dim-b);cursor:default;opacity:.6}.q .qinput{margin:6px 0 0 18px;width:calc(100% - 18px);max-width:520px;background:var(--inp-bg);color:var(--fg);border:1px solid var(--border-2);border-radius:4px;padding:6px 10px;font:inherit;font-size:13px}.q .qinput:focus{outline:none;border-color:var(--inp-focus)}.q .qans{color:var(--green);padding-left:18px}.q.answered .qtext,.q.placeholder{color:var(--dim-a)}.q.placeholder .opts{color:var(--dim-b)}.code{background:var(--surface);color:var(--fg);padding:8px 12px;border-radius:4px;white-space:pre;overflow-x:auto;color-scheme:dark;flex-shrink:0;max-height:240px;overflow-y:auto;font-size:12.5px;line-height:1.55}body.light .code{border:1px solid var(--border)}.toolout{margin:2px 0 6px 26px}.toolout .code{max-height:320px}.toolout.collapsed .code{display:none}.toolout .more{color:var(--dim-b);cursor:pointer;font-size:12px}.toolout .more:hover{color:var(--dim-a)}.feed>.md,.feed>.ans{border-left:2px solid var(--accent);padding-left:12px}.md{color:var(--ans);overflow-wrap:anywhere}.md>*{flex-shrink:0}.md p{margin:4px 0;white-space:pre-wrap}.md h1,.md h2,.md h3,.md h4,.md h5,.md h6{color:var(--fg);font-weight:600;line-height:1.3;margin:10px 0 4px}.md h1{font-size:1.35em}.md h2{font-size:1.2em}.md h3{font-size:1.1em}.md h4,.md h5,.md h6{font-size:1em}.md h1:first-child,.md h2:first-child,.md h3:first-child{margin-top:2px}.md ul,.md ol{margin:4px 0;padding-left:22px}.md li{margin:1px 0}.md li>p{margin:0}.md blockquote{margin:4px 0;padding-left:10px;border-left:2px solid var(--pipe);color:var(--dim-a)}.md hr{border:0;border-top:1px solid var(--rule);margin:8px 0}.md a{color:var(--accent);text-decoration:none}.md a:hover{text-decoration:underline}.md img{max-width:100%;border-radius:4px}.md code{background:var(--surface);color:var(--fg);padding:1px 5px;border-radius:3px;font-size:.92em}.md pre code{background:none;padding:0;border-radius:0;font-size:inherit}.md input[type=checkbox]{margin-right:4px;vertical-align:middle}.md table{border-collapse:collapse;margin:6px 0;font-size:.95em}.md th{color:var(--fg);font-weight:600;text-align:left;padding:2px 14px 3px 0}.md td{color:var(--ans);padding:2px 14px 3px 0;border-top:1px solid var(--border-3)}.codeblock{margin:6px 0;background:var(--surface);border-radius:4px;overflow:hidden}body.light .codeblock{border:1px solid var(--border)}.cb-head{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:3px 8px 3px 12px;font-size:11.5px;color:var(--dim-b)}.cb-lang{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cb-copy{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;padding:0;border:0;border-radius:4px;background:transparent;color:var(--dim-b);cursor:pointer}.cb-copy .svg-icon{width:14px;height:14px}.cb-copy:hover:not(:disabled){background:var(--hover-bg);color:var(--fg)}.cb-copy:disabled{opacity:.3;cursor:default}.cb-copy.done{color:var(--green)}.codeblock pre{margin:0;padding:6px 12px 10px;overflow-x:auto;max-height:420px;overflow-y:auto}.codeblock code{display:block;white-space:pre;color:var(--fg);font-size:12.5px;line-height:1.55}.hljs-comment,.hljs-quote{color:var(--dim-b);font-style:italic}.hljs-keyword,.hljs-selector-tag,.hljs-literal,.hljs-doctag{color:var(--red)}.hljs-string,.hljs-attr,.hljs-attribute,.hljs-regexp,.hljs-link,.hljs-number,.hljs-symbol,.hljs-bullet{color:var(--accent)}.hljs-title,.hljs-section,.hljs-selector-id,.hljs-selector-class{color:var(--purple)}.hljs-built_in,.hljs-type,.hljs-class .hljs-title{color:var(--yellow)}.hljs-variable,.hljs-template-variable,.hljs-params,.hljs-property{color:var(--fg)}.hljs-meta{color:var(--dim-a)}.hljs-tag,.hljs-name,.hljs-selector-pseudo{color:var(--green)}.hljs-deletion{color:var(--red)}.hljs-addition{color:var(--green)}.hljs-emphasis{font-style:italic}.hljs-strong{font-weight:700}.msg-actions{display:flex;gap:12px;margin:3px 0 6px}.act-btn{font:inherit;font-size:11.5px;color:var(--dim-b);background:none;border:0;padding:0;cursor:pointer}.act-btn:hover{color:var(--fg)}.imgcard{margin-left:26px;max-width:360px;border-radius:4px;overflow:hidden;background:var(--surface);border:1px solid var(--border-2)}.imgcard .ph{height:150px;display:flex;align-items:center;justify-content:center;color:var(--dim-c);font-size:12px;background:linear-gradient(45deg,var(--checker-a) 25%,transparent 25%) -8px 0/16px 16px,linear-gradient(-45deg,var(--checker-a) 25%,transparent 25%) -8px 0/16px 16px,linear-gradient(45deg,transparent 75%,var(--checker-a) 75%) -8px 0/16px 16px,linear-gradient(-45deg,transparent 75%,var(--checker-a) 75%) -8px 0/16px 16px,var(--checker-base)}body.light .imgcard .ph{background:var(--ph-light)}.imgcard .cap{padding:6px 10px;color:var(--dim-a);font-size:12px}.filerow{margin-left:26px;display:flex;gap:8px;align-items:baseline;min-width:0;font-size:12.5px;line-height:1.35;color:var(--muted)}.feed>.filerow+.filerow,.feed>.act+.act,.feed>.filerow+.act,.feed>.act+.filerow{margin-top:-7px}.filerow .g{flex:0 0 auto}.filerow.recon .g,.filerow.recon .lab{color:var(--cyan)}.filerow.mutate .g,.filerow.mutate .lab{color:var(--magenta)}.filerow .sep{color:var(--dim-b)}.filerow a.path{color:var(--accent);text-decoration:none;overflow-wrap:anywhere;word-break:break-word}.filerow a.path:hover{text-decoration:underline}.filerow .tail{color:var(--dim-a);overflow-wrap:anywhere;word-break:break-word}.filerow .copy-btn{background:transparent;border:0;padding:2px;color:var(--dim-a);cursor:pointer;opacity:0}.filerow:hover .copy-btn,.filerow:focus-within .copy-btn{opacity:1}@media(pointer:coarse){.filerow .copy-btn{opacity:1}}.filerow .copy-btn:focus-visible{opacity:1;outline:2px solid var(--accent);outline-offset:1px}.filerow .copy-btn .svg-icon{width:14px;height:14px}.linkline{margin-left:26px;min-width:0;overflow-wrap:anywhere}.linkline a{color:var(--accent);text-decoration:none;overflow-wrap:anywhere;word-break:break-word}.linkline a:hover{text-decoration:underline}.linkline .dom{color:var(--dim-b)}.planblock{margin-left:26px;padding:8px 12px;border-radius:4px;background:var(--surface);border:1px solid var(--border-2);font-size:12.5px;max-width:480px}.planblock .ph2{color:var(--dim-a);margin-bottom:5px}.planblock .st{padding:2px 0 2px 14px;position:relative;color:var(--muted)}.planblock .st.done{color:var(--green)}.planblock .st.cur{color:var(--accent)}.planblock .st.fail{color:var(--err)}.startbanner{color:var(--dim-b);overflow-wrap:anywhere}.startbanner b{font-weight:400;color:var(--dim-a)}.errline{color:var(--err);padding-left:26px;overflow-wrap:anywhere}.errline .hint{color:var(--dim-a);display:block}.json-err{color:var(--err);overflow-wrap:anywhere}.grouped{color:var(--dim-a);padding-left:8px;overflow-wrap:anywhere}.grouped .pipe{color:var(--pipe)}.msgs .busy{color:var(--think);display:flex;gap:8px;align-items:baseline;font-size:12.5px}.busy .spin{display:inline-block;animation:spin 1s linear infinite}.busy .busytime{color:var(--dim-a)}@keyframes spin{to{transform:rotate(360deg)}}.progline{color:var(--dim-a);display:flex;gap:8px;align-items:center}.progline .pb{color:var(--green);letter-spacing:-1px}.sec-rule{color:var(--rule);user-select:none}.uimg{display:inline-block;width:72px;height:52px;border-radius:3px;vertical-align:middle;margin-left:8px;background:linear-gradient(45deg,var(--checker-b) 25%,transparent 25%) -4px 0/8px 8px,linear-gradient(-45deg,var(--checker-b) 25%,transparent 25%) -4px 0/8px 8px,linear-gradient(45deg,transparent 75%,var(--checker-b) 75%) -4px 0/8px 8px,linear-gradient(-45deg,transparent 75%,var(--checker-b) 75%) -4px 0/8px 8px,var(--checker-base);border:1px solid var(--checker-border)}.cmdout{color:var(--cmdout);padding-left:26px;white-space:pre-wrap;overflow-wrap:anywhere}.sysline{color:var(--dim-c);overflow-wrap:anywhere}.empty{color:var(--dim-b);text-align:center;margin-top:18vh;line-height:2}.empty .g{color:var(--green)}.to-latest{position:absolute;left:50%;bottom:148px;transform:translate(-50%);z-index:20;font:inherit;font-size:12.5px;cursor:pointer;color:var(--accent);background:var(--panel);border:1px solid var(--border-2);border-radius:999px;padding:5px 14px;box-shadow:var(--shadow-menu);white-space:nowrap}.to-latest:hover{border-color:var(--accent)}.to-latest[hidden]{display:none}.input-area{margin:14px 22px 16px;position:relative}.selectors{display:flex;gap:8px;margin-bottom:8px;flex-wrap:wrap;min-width:0}.sel{position:relative;min-width:0;max-width:100%}.sel>button{font:inherit;font-size:12.5px;cursor:pointer;background:var(--surface);color:var(--muted);border:none;border-radius:4px;padding:4px 10px;display:inline-flex;align-items:center;gap:6px;min-width:0;max-width:100%}body.light .sel>button{border:1px solid var(--border)}.sel>button b{font-weight:400;color:var(--purple);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.sel>button .svg-icon{width:13px;height:13px;color:var(--dim-a)}.selectors[data-pending] .sel>button,.selectors[data-pending] .menu{pointer-events:none}.sel>button.pending{cursor:wait}.sel>button.pending b:after{content:" ⋯";color:var(--dim-b)}.menu{display:none;position:absolute;bottom:calc(100% + 4px);left:0;z-index:30;background:var(--panel);border:1px solid var(--border-2);border-radius:6px;min-width:200px;max-width:min(420px,calc(100vw - 48px));max-height:50vh;overflow-y:auto;overflow-x:hidden;padding:4px;box-shadow:var(--shadow-menu)}.sel.open .menu{display:block}.menu .mi{padding:6px 10px;border-radius:4px;cursor:pointer;color:var(--muted);display:flex;flex-direction:column;align-items:flex-start;gap:1px;font-size:12.5px;width:100%;min-width:0}.menu .mi>span{max-width:100%;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.menu .mi.row-mi>span{flex:1 1 auto}.menu .mi:hover{background:var(--hover-bg-2);color:var(--fg)}.menu .mi.on{background:var(--accent-bg);color:var(--accent)}.menu .mi .sub{color:var(--dim-b);font-size:11.5px}.menu .sep{height:1px;background:var(--border-2);margin:4px 0}.menu .mi.dim{color:var(--dim-b)}.menu .mi.row-mi{flex-direction:row;align-items:center;gap:8px}.menu .ctx-custom{display:flex;align-items:center;gap:6px;padding:4px}.menu .ctx-custom input{flex:1 1 110px;min-width:0;width:auto;background:var(--input-surface);border:1px solid var(--border-2);border-radius:4px;color:var(--fg);font:inherit;font-size:12.5px;padding:4px 8px}.menu .ctx-custom .linkbtn{flex:0 0 auto}.menu .searchbox{margin-bottom:4px;position:sticky;top:0;z-index:1}.model-menu-list{display:contents}.dd-menu .searchbox{margin:2px 2px 6px;width:calc(100% - 4px);position:sticky;top:0;z-index:1}.inp{width:100%;padding:12px 14px;resize:none;display:block;background:var(--inp-bg);border:1px solid var(--inp-border);border-radius:6px;color:var(--fg);font:inherit;font-size:13.5px;outline:none;line-height:1.5;min-height:46px}.inp:focus{border-color:var(--inp-focus);box-shadow:0 0 0 2px var(--input-shadow)}.input-area.busy .composer{opacity:.75}.inp::placeholder{color:var(--dim-a)}.inp-meta{display:flex;gap:14px;margin-top:4px;padding:0 6px;color:var(--dim-b);font-size:11.5px;flex-wrap:wrap}.composer{display:flex;flex-direction:column;gap:2px;background:var(--inp-bg);border:1px solid var(--inp-border);border-radius:8px;padding:6px}.composer-main{display:flex;align-items:flex-end;gap:6px}.composer:focus-within{border-color:var(--inp-focus);box-shadow:0 0 0 2px var(--input-shadow)}.composer .inp{flex:1 1 auto;width:auto;min-width:0;min-height:32px;background:transparent;border:none;border-radius:0;padding:6px 8px}.composer .inp:focus,.composer .inp:focus-visible{box-shadow:none;border:none;outline:none}.composer .attach-btn,.composer .send-btn{flex:0 0 auto;width:32px;height:32px;padding:0;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;background:none;border:none;border-radius:6px;color:var(--muted)}.composer .attach-btn:hover,.composer .send-btn:hover{background:var(--hover-bg);color:var(--fg)}.composer .send-btn{color:var(--accent)}.composer .send-btn.busy{color:var(--yellow)}.composer .send-btn:disabled{opacity:.5;cursor:default}.composer .svg-icon{width:17px;height:17px}.ws-line{margin-top:6px;padding:0 2px;font-size:11.5px;overflow-wrap:anywhere}.ws-line[hidden]{display:none}.ws-line .ws-k{color:var(--dim-b);margin-right:6px}.ws-line .ws-v{color:var(--dim-a)}.cmdk{position:absolute;left:0;right:0;bottom:calc(100% + 4px);z-index:40;max-height:40vh;overflow-y:auto;background:var(--panel);border:1px solid var(--border-2);border-radius:6px;box-shadow:var(--shadow-menu);padding:4px}.cmdk[hidden]{display:none}.cmdk-item{display:flex;gap:10px;align-items:baseline;width:100%;padding:6px 10px;border-radius:4px;cursor:pointer;text-align:left;font:inherit;font-size:12.5px;color:var(--muted)}.cmdk-item .cmd{color:var(--fg);white-space:nowrap}.cmdk-item .desc{color:var(--dim-b);font-size:11.5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cmdk-item.on,.cmdk-item:hover{background:var(--hover-bg-2)}.cmdk-item.on .cmd{color:var(--accent)}.attach-strip{display:flex;gap:8px;margin-bottom:8px;flex-wrap:wrap}.attach-strip[hidden]{display:none}.thumb{position:relative;width:64px;height:48px;border-radius:4px;overflow:hidden;border:1px solid var(--border-2);background:var(--surface)}.thumb img{width:100%;height:100%;object-fit:cover;display:block}.thumb .rm{position:absolute;top:0;right:0;width:16px;height:16px;line-height:16px;text-align:center;font-size:11px;color:var(--fg);background:#0000008c;cursor:pointer;border:none;padding:0;display:flex;align-items:center;justify-content:center}.thumb .rm .svg-icon{width:11px;height:11px}.thumb .rm:hover{background:var(--err)}.attach-err{color:var(--yellow);font-size:11.5px;margin-bottom:6px}.attach-err[hidden]{display:none}.input-area.dragover .composer{border-color:var(--accent);box-shadow:0 0 0 2px var(--input-shadow)}@keyframes blink{50%{opacity:0}}@keyframes rise{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}@keyframes pop{0%{opacity:0;transform:scale(.98) translateY(2px)}to{opacity:1;transform:none}}@keyframes softPulse{50%{opacity:.45}}@keyframes fadeIn{0%{opacity:0}}.feed>:is(.u,.md,.act,.think,.q,.filerow,.planblock,.imgcard,.linkline,.toolout,.metric,.detail,.metaln,.warnline,.errline,.cmdout,.sysline,.startbanner,.grouped,.msg-actions,.busy){animation:rise .18s ease-out}.fold-out{opacity:0;transition:opacity .15s ease-out}.md.streaming:after{content:"▌";color:var(--accent);margin-left:2px;animation:blink 1s steps(2,start) infinite}@keyframes tkIn{0%{opacity:0}}.md.streaming .tk{animation:tkIn .15s ease-out backwards}.busy .lab,.think.live .think-h .lab,.rail-l1 .lab,.act.running .lab{animation:softPulse 1.6s ease-in-out infinite}.dd.open .dd-menu,.sel.open .menu,.cmdk:not([hidden]){animation:pop .12s ease-out}.to-latest:not([hidden]){animation:pop .15s ease-out}.overlay.open{animation:fadeIn .15s ease-out}.overlay.open .modal{animation:rise .18s ease-out}.sel>button,.menu .mi,.stab,.q .qopt,.q .qsend,.filerow,.icon-btn,.btn,.linkbtn,.chip,.cb-copy,.act-btn,.copy-btn,.composer .attach-btn,.composer .send-btn,.dd-menu .si,.dd-menu .act,.cmdk-item,.toggle{transition:background-color .12s,color .12s,border-color .12s}.composer{transition:border-color .15s,box-shadow .15s}.msgs:before,.msgs:after{content:"";position:sticky;display:block;height:22px;flex:0 0 auto;pointer-events:none;z-index:5;opacity:0;transition:opacity .25s}.msgs:before{top:0;margin-bottom:-33px;background:linear-gradient(var(--bg),transparent)}.msgs:after{bottom:0;margin-top:-33px;background:linear-gradient(transparent,var(--bg))}.msgs.scrolled:before{opacity:1}.msgs.unfollowed:after{opacity:1}.rail-wrap{display:flex;flex-direction:column;gap:6px;margin-bottom:10px}.rail-wrap[hidden]{display:none}.rail-wrap.l-line,.rail-wrap.l-meta{flex-direction:row;align-items:center;gap:6px 10px;margin-bottom:8px;flex-wrap:wrap}.rail-wrap.l-line .rl-track{order:-1;flex:1 1 120px;min-width:80px;max-width:180px}.rail-wrap.l-meta .rl-track{order:-1;flex:1 1 90px;min-width:64px;max-width:110px}.rail-wrap.l-line .rail-l1,.rail-wrap.l-line .rail-l2{flex:1 1 auto;min-width:0}.rail-wrap.l-line .rail-l1 .right{display:none}.rail-wrap.l-line .rail-l2:before{content:"·";color:var(--dim-a);margin-right:-2px}.rail-wrap.l-meta{margin-bottom:0}.rail-wrap.l-meta .rail-l1{font-size:11.5px}.rail-wrap.l-meta .rail-l1 .st,.rail-wrap.l-meta .rail-l1 .s,.rail-wrap.l-meta .rail-l1 .right,.rail-wrap.l-meta .rail-l2{display:none}.rail-wrap.l-full .rl-track{flex:1 1 auto}.rail-l1{display:flex;gap:8px;align-items:baseline;flex-wrap:wrap;font-size:13px;color:var(--think)}.rail-l1 .s,.rail-l1 .right{color:var(--dim-a)}.rail-l1 .right{margin-left:auto;font-size:11.5px}.rail-l2{display:flex;gap:8px;align-items:baseline;font-size:11.5px;color:var(--dim-a);flex-wrap:wrap;min-width:0}.rail-l2 .last{color:var(--args);min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}.rl-track{position:relative;height:12px;border-radius:6px;background:var(--border);overflow:hidden}.rl-fill{position:absolute;left:0;top:0;bottom:0;width:calc(var(--prog, 0) * 1%);background:linear-gradient(90deg,var(--think),var(--accent));transition:width .2s linear}.rl-fill:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,transparent,rgba(255,255,255,.45),transparent);transform:translate(-100%);animation:rlSweep 1.5s linear infinite}@keyframes rlSweep{to{transform:translate(100%)}}.rl-notches{display:none;position:absolute;inset:0;pointer-events:none}.rl-track[data-mode=plan] .rl-notches{display:block}.rl-notches i{position:absolute;top:0;bottom:0;width:1.5px;background:var(--bg);transform:translate(-50%)}.rl-track[data-mode=scan] .rl-fill{display:none}.rl-scan{display:none;position:absolute;top:0;bottom:0;width:30%;left:-30%;background:linear-gradient(90deg,transparent,var(--think) 40%,var(--accent) 72%,transparent)}.rl-track[data-mode=scan] .rl-scan{display:block;animation:rlScan 1.7s cubic-bezier(.4,.1,.6,.9) infinite}@keyframes rlScan{to{left:100%}}.rail-wrap.phase-tool .rl-track[data-mode=scan] .rl-scan{animation-duration:1s}.rail-wrap.phase-compose .rl-track[data-mode=scan] .rl-scan{animation-duration:1.3s}.rl-track.flash{box-shadow:0 0 0 1px var(--accent),0 0 14px #c4a8ec59;animation:rlFlash .45s ease-out}@keyframes rlFlash{0%{filter:brightness(1.9)}to{filter:brightness(1)}}.sb{width:340px;min-width:340px;display:flex;flex-direction:column;border-left:1px solid var(--border);background:var(--sb-bg);min-height:0;overflow-x:hidden}.sec{display:flex;flex-direction:column;min-height:0;min-width:0;max-width:100%;overflow-x:hidden;border-bottom:1px solid var(--border)}.sec:last-child{border-bottom:none}.sec-h{color:var(--sec-h);cursor:pointer;user-select:none;display:flex;gap:6px;align-items:center;font-size:12.5px;padding:10px 16px 8px;flex-shrink:0}.sec-h:hover{color:var(--sec-h-hover)}.sec-h .n{margin-left:auto;color:var(--dim-b)}.sec-body{overflow-y:auto;overflow-x:hidden;padding:0 16px 12px;min-height:0;min-width:0;max-width:100%}.sec-body.collapsed{display:none}.sec.plan-sec{flex:1 1 auto}.sec.usage-sec{flex:0 1 auto;max-height:45%}.sb-tabs{display:flex;gap:6px;padding:10px 14px;border-bottom:1px solid var(--border);flex-shrink:0}.sb-tab{position:relative;width:34px;height:34px;flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;padding:0;border:1px solid var(--border-2);border-radius:6px;background:transparent;color:var(--stab-fg);cursor:pointer;font:inherit}.sb-tab:hover{color:var(--fg);background:var(--hover-bg)}.sb-tab.on{color:var(--accent);background:var(--accent-bg);border-color:transparent}.sb-tab .sb-ico svg{width:17px;height:17px}.sb-tab .sb-dot{position:absolute;top:4px;right:4px;width:6px;height:6px;border-radius:50%;background:var(--accent);opacity:0;transition:opacity .2s}.sb-tab[data-indicator=live] .sb-dot{opacity:1;animation:sbPulse 1s ease-in-out infinite}.sb-tab[data-indicator=busy] .sb-dot{opacity:1;background:var(--accent)}.sb-tab[data-indicator=stale] .sb-dot{opacity:1;background:var(--yellow)}@keyframes sbPulse{0%,to{opacity:1}50%{opacity:.25}}.sb-name{display:flex;align-items:center;gap:8px;flex-shrink:0;padding:10px 16px;color:var(--fg);font-size:12.5px;font-weight:600;letter-spacing:.03em;border-bottom:1px solid var(--border)}.sb-name .sb-ico svg{width:14px;height:14px;color:var(--accent)}.sb-pane{display:flex;flex-direction:column;flex:1;min-height:0;min-width:0;max-width:100%;overflow-x:hidden}.sb-pane[hidden]{display:none}.sb.sb-loading #pane-session{opacity:.5}@media(prefers-reduced-motion:no-preference){#pane-session{transition:opacity .15s ease}}.sb{transition:width .22s ease,min-width .22s ease}.sb.sb-expanded{width:680px;min-width:680px}#pane-trace{flex-direction:row}.sb-expanded #pane-trace{position:relative}.trace-list{flex:1;min-width:0;min-height:0;max-width:100%;overflow-y:auto;overflow-x:hidden;padding:6px 10px 12px;display:flex;flex-direction:column;gap:1px}.trace-list>*{flex-shrink:0}.trace-turn{color:var(--dim-c);font-size:11px;margin:8px 6px 2px;overflow-wrap:anywhere}.trc{display:flex;gap:8px;align-items:baseline;padding:4px 6px;font-size:12px;color:var(--muted);border-radius:4px;cursor:pointer;min-width:0;max-width:100%;overflow:hidden}.trc:hover{background:var(--hover-bg)}.trc.sel{background:var(--accent-bg)}.trc .g{flex:0 0 auto}.trc.recon .g{color:var(--cyan)}.trc.mutate .g{color:var(--purple)}.trc.execute .g{color:var(--accent)}.trc.meta .g{color:var(--meta)}.trc.phase .g{color:var(--think)}.trc .lab{color:var(--fg);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0;flex:0 1 auto}.trc .args{color:var(--args);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0;flex:1}.trc .t{color:var(--dim-b);margin-left:auto;flex:0 0 auto}.trc.warn .g,.trc.warn .lab{color:var(--yellow)}.trc.phase .lab{color:var(--think)}.trc-detail{display:flex;flex-direction:column;flex:0 0 340px;min-width:0;min-height:0;max-width:100%;overflow-x:hidden;border-left:1px solid var(--border)}.trc-detail[hidden]{display:none}.detail-h{display:flex;gap:8px;align-items:center;padding:10px 14px;border-bottom:1px solid var(--border);color:var(--fg);font-size:12.5px;flex-shrink:0;min-width:0;max-width:100%;overflow:hidden}.detail-h .g{color:var(--accent)}.detail-h .x{margin-left:auto;color:var(--dim-b);cursor:pointer}.detail-b{flex:1;min-height:0;padding:10px 14px;display:flex;flex-direction:column;gap:12px;overflow-y:auto;overflow-x:hidden;min-width:0;max-width:100%}.detail-b>*{flex-shrink:0}.detail-b .code{max-width:100%}.detail-b h5{margin:0 0 4px;font-size:10.5px;text-transform:uppercase;letter-spacing:.06em;color:var(--sec-h);font-weight:600}.map-sec{flex:1 1 auto}.map-reindex{margin-top:10px;font:inherit;font-size:12px;color:var(--accent);background:transparent;border:1px solid var(--border-2);border-radius:5px;padding:4px 10px;cursor:pointer;width:fit-content}.map-reindex:disabled{color:var(--dim-b);cursor:default}.lsp-what{color:var(--dim-c);font-size:11px;line-height:1.4;margin-bottom:6px;overflow-wrap:anywhere}.lsp-row{display:flex;flex-direction:column;gap:1px;padding:3px 0}.lsp-lang{color:var(--muted);font-size:12px;line-height:1.35;overflow-wrap:anywhere}.lsp-status{color:var(--dim-c);font-size:11.5px;line-height:1.35;overflow-wrap:anywhere}.lsp-muted .lsp-lang{color:var(--dim-b)}.lsp-muted .lsp-status{color:var(--dim-c)}.lsp-g.ok{color:var(--green)}.lsp-g.fail{color:var(--red)}.lsp-g.dim{color:var(--dim-c)}.lsp-head{display:flex;align-items:flex-start;gap:6px}.lsp-head .lsp-what{flex:1}.lsp-info-btn{display:inline-flex;align-items:center;padding:2px;background:transparent;border:0;color:var(--dim-c);cursor:pointer}.lsp-info-btn:hover,.lsp-info-btn.on{color:var(--accent)}.lsp-info-btn .svg-icon{width:14px;height:14px}.lsp-toggle{align-items:center}.lsp-hint{color:var(--dim-c);font-size:11px;line-height:1.4;margin:2px 0 6px;overflow-wrap:anywhere}.lsp-info{padding:2px 0}.lsp-install-title{color:var(--dim-b);font-size:11px;text-transform:uppercase;letter-spacing:.04em;margin:10px 0 4px}.lsp-install{display:flex;align-items:baseline;gap:6px;flex-wrap:wrap;margin:3px 0}.lsp-cmd{font-size:11px;color:var(--muted);padding:1px 0;overflow-wrap:anywhere}.lsp-copy{display:inline-flex;align-items:center;color:var(--dim-b)}.lsp-copy .svg-icon{width:13px;height:13px}.lsp-copy:hover{color:var(--accent)}.kv.wn b{color:var(--yellow)}::-webkit-scrollbar{width:8px}::-webkit-scrollbar-thumb{background:var(--scroll-thumb);border-radius:4px}.plan-bar{display:flex;align-items:center;gap:8px;margin-bottom:8px;color:var(--plan-bar-fg);font-size:12px}.pbar{flex:1;height:6px;background:var(--track);border-radius:3px;overflow:hidden}.pbar i{display:block;height:100%;background:var(--green-fill);transition:width .2s}.plan-step{padding:4px 0 4px 16px;position:relative;color:var(--muted)}.plan-step.done{color:var(--green)}.plan-step.cur{color:var(--accent)}.plan-step.fail{color:var(--red)}.plan-step:before{content:"";position:absolute;left:4px;top:0;bottom:0;width:1px;background:var(--plan-line)}.plan-step .sub{display:block;color:var(--dim-b);font-size:11.5px;padding-left:0}.kv{display:flex;justify-content:space-between;padding:2px 0;color:var(--muted);gap:10px;min-width:0;max-width:100%}.kv>*{min-width:0}.kv>span:first-child{flex-shrink:0}.kv b{font-weight:400;color:var(--fg);text-align:right;overflow-wrap:anywhere;word-break:break-word;min-width:0;max-width:100%}.map-path{display:flex;flex-direction:column;gap:2px;padding:2px 0;min-width:0;max-width:100%;color:var(--muted)}.map-path .dim{color:var(--dim-a)}.map-path b{font-weight:400;color:var(--fg);overflow-wrap:anywhere;word-break:break-word;min-width:0;max-width:100%}body.light .kv b{color:var(--fg)}.kv .dim{color:var(--dim-a)}.kv .wn,body.light .kv .wn{color:var(--yellow)}.kv-val{display:inline-flex;align-items:center;gap:4px;min-width:0}.kv-val b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.copy-btn{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;padding:0;flex:0 0 auto;border:0;border-radius:3px;background:transparent;color:var(--dim-b);cursor:pointer}.copy-btn .svg-icon{width:12px;height:12px}.copy-btn:hover{color:var(--fg);background:var(--hover-bg)}#env .env-item{padding:3px 0}#env .env-k{color:var(--muted);font-size:12px}#env .env-v{color:var(--dim-b);font-size:11.5px;overflow-wrap:anywhere}.bar{height:4px;background:var(--track);border-radius:2px;margin-top:6px;overflow:hidden}.bar i{display:block;height:100%;width:0;background:var(--green-fill);transition:width .2s}.bar.segbar{display:flex}.bar.segbar i{width:auto;flex:0 0 auto;transition:width .25s}.bar.segbar .seg-system{background:var(--seg-system)}.bar.segbar .seg-tools{background:var(--seg-tools)}.bar.segbar .seg-history{background:var(--seg-history)}.bar.segbar .seg-reserve{background:var(--seg-reserve)}.bar.segbar .seg-free{background:var(--seg-free)}.seglegend{display:flex;flex-wrap:wrap;gap:4px 10px;margin-top:5px}.segl-item{display:inline-flex;align-items:center;gap:4px;font-size:11px;color:var(--dim-b)}.segl-dot{width:7px;height:7px;border-radius:2px;flex:0 0 auto}.segl-dot.seg-system{background:var(--seg-system)}.segl-dot.seg-tools{background:var(--seg-tools)}.segl-dot.seg-history{background:var(--seg-history)}.segl-dot.seg-reserve{background:var(--seg-reserve)}.segl-dot.seg-free{background:var(--seg-free)}.segl-item b{color:var(--muted);font-weight:600}.segl-label{color:var(--dim-b)}.overlay{display:none;position:fixed;inset:0;z-index:50;background:var(--overlay);align-items:center;justify-content:center}.overlay.open{display:flex}.modal{width:min(880px,92vw);height:min(640px,88vh);background:var(--panel);border-radius:8px;overflow:hidden;display:flex;flex-direction:column;box-shadow:var(--shadow-modal)}.modal-top{display:flex;align-items:center;padding:10px 16px;border-bottom:1px solid var(--border);color:var(--fg);font-size:13.5px}.modal-top .modal-top-icon{display:inline-flex;align-items:center;color:var(--dim-a);margin-right:8px}.modal-top .x{margin-left:auto;cursor:pointer;color:var(--dim-a)}.modal-top .x:hover{color:var(--fg)}.modal-top .saved{margin-left:12px;font-size:12px;color:var(--green);opacity:0;transition:opacity .2s}.modal-top .saved.show{opacity:1}.modal-top .saved.fail{color:var(--red-strong)}.modal-body{flex:1;display:flex;min-height:0;min-width:0}.modal.modal-sm{width:min(380px,92vw);height:auto;max-height:88vh;border-radius:8px}.confirm-body{flex-direction:column;padding:16px 18px;gap:16px}.confirm-msg{margin:0;color:var(--muted);font-size:13px;line-height:1.5}.confirm-actions{display:flex;justify-content:flex-end;gap:8px}.confirm-actions .linkbtn{padding:6px 14px;border:1px solid var(--border);border-radius:6px;color:var(--fg);justify-content:center}.confirm-actions .linkbtn:hover{text-decoration:none;background:var(--hover-bg-2)}.confirm-actions .linkbtn.danger{border-color:var(--red-strong);color:var(--red-strong)}.confirm-actions .linkbtn.danger:hover{background:var(--x-hover-bg)}.overlay.overlay-nested{z-index:60}.modal.modal-sub{width:min(560px,92vw);height:auto;max-height:88vh;border-radius:8px}.provider-body{display:block;padding:20px 22px 22px;overflow-y:auto}.provider-body .pform{margin:0;padding:0;border:0;background:none}.menu-col{width:210px;min-width:210px;padding:12px 8px 8px;border-right:1px solid var(--border);display:flex;flex-direction:column;min-height:0;flex:0 0 auto}.menu-col #setMenu{overflow-y:auto;min-height:0;flex:1 1 auto}.menu-col .mi{padding:7px 12px;border-radius:4px;cursor:pointer;color:var(--muted);margin-bottom:2px;font-size:13px;width:100%;text-align:left;background:none;border:none;font-family:inherit}.menu-col .mi:hover{background:var(--hover-bg-2);color:var(--fg)}.menu-col .mi.on{background:var(--accent-bg);color:var(--accent)}.content-col{flex:1;padding:18px 22px;overflow-y:auto;min-width:0;min-height:0}.panel{display:none}.panel.on{display:block}.panel h3{font-size:14px;font-weight:400;color:var(--fg);margin-bottom:14px}.row{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;padding:9px 0;border-bottom:1px solid var(--border-3);font-size:13px;color:var(--muted);gap:6px 14px;min-width:0}.row:last-child{border-bottom:none}.row>.row-label{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:2px}.row-label .row-name{overflow-wrap:anywhere}.row-label .row-desc{color:var(--dim-a);font-size:11.5px;line-height:1.35;overflow-wrap:anywhere;max-width:60ch}.row>span:first-child{flex:1 1 auto;min-width:0;overflow-wrap:anywhere}.row .val{color:var(--fg);min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}body.light .row .val{color:var(--fg)}.row .val.accent,body.light .row .val.accent{color:var(--purple)}.row .val.dim{color:var(--dim-a)}.row input{background:var(--input-surface);border:1px solid var(--border-2);border-radius:4px;color:var(--fg);font:inherit;font-size:12.5px;padding:4px 8px;width:120px;text-align:right}.toggle{width:34px;height:18px;border-radius:9px;background:var(--toggle-off);position:relative;cursor:pointer;flex:0 0 auto}body.light .toggle{background:var(--toggle-off)}.toggle:after{content:"";position:absolute;top:2px;left:2px;width:14px;height:14px;border-radius:50%;background:var(--toggle-knob);transition:.15s}.toggle.on{background:var(--green-fill)}.toggle.on:after{left:18px;background:var(--toggle-knob-on)}.seg{display:flex;gap:4px;flex-wrap:wrap;justify-content:flex-end}.seg button{font:inherit;font-size:12px;padding:3px 10px;cursor:pointer;background:var(--surface);color:var(--muted);border:none;border-radius:4px}.seg button.on{background:var(--accent-bg);color:var(--accent)}.list-line{display:flex;gap:8px;padding:6px 0;color:var(--muted);font-size:12.5px;border-bottom:1px solid var(--border-3)}.list-line .g{color:var(--green)}.searchbox{width:100%;padding:7px 10px;margin-bottom:10px;background:var(--surface);border:1px solid var(--border-2);border-radius:4px;color:var(--fg);font:inherit;font-size:12.5px}.placeholder{color:var(--dim-b);font-size:12.5px;padding:6px 0;line-height:1.7}.placeholder .tag{color:var(--yellow)}.settings-list .list-line{align-items:center;gap:6px 10px;flex-wrap:wrap}.settings-list .list-line .name{flex:1 1 auto;min-width:0;color:var(--fg);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.settings-list .list-line .src{color:var(--dim-a);font-size:11.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0;max-width:100%}.settings-list .list-line .st{color:var(--dim-a);white-space:nowrap;flex:0 0 auto}.settings-list .list-line .dim{color:var(--dim-a)}.settings-list .list-line .linkbtn{flex:0 0 auto}.settings-list .list-line .linkbtn:first-of-type{margin-left:auto}.skill-item{padding:8px 0;border-bottom:1px solid var(--border-3)}.skill-item:last-child{border-bottom:none}.skill-head{display:flex;align-items:baseline;gap:8px;min-width:0}.skill-head .g{color:var(--green);flex:0 0 auto}.skill-head .dim{color:var(--dim-a);flex:0 0 auto}.skill-head .name{color:var(--fg);min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.skill-head .st{margin-left:auto;color:var(--dim-a);white-space:nowrap;flex:0 0 auto}.skill-src{color:var(--dim-a);font-size:11.5px;margin-top:2px;padding-left:18px;overflow-wrap:anywhere;word-break:break-word}.row select{background:var(--input-surface);border:1px solid var(--border-2);border-radius:4px;color:var(--fg);font:inherit;font-size:12.5px;padding:4px 6px}.row input.grow{width:220px;text-align:left}.mem-cat{display:flex;align-items:baseline;gap:8px;padding:12px 0 6px;font-size:11.5px;text-transform:uppercase;letter-spacing:.05em;color:var(--dim-a);border-bottom:1px solid var(--border-3)}.mem-cat .n{margin-left:auto;color:var(--dim-b)}.mem-entry{display:flex;align-items:flex-start;gap:10px;padding:8px 0;border-bottom:1px solid var(--border-3);font-size:12.5px;color:var(--muted)}.mem-entry .mem-text{flex:1 1 auto;min-width:0;overflow-wrap:anywhere;line-height:1.6}.mem-entry .mem-text b{font-weight:600;color:var(--fg)}.mem-entry .mem-del{flex:0 0 auto;color:var(--accent);cursor:pointer;white-space:nowrap}.mem-entry .mem-del:hover{text-decoration:underline}.mem-add{display:flex;flex-wrap:wrap;gap:8px;align-items:center;padding:10px 0 14px}.mem-add select,.mem-add input{background:var(--input-surface);border:1px solid var(--border-2);border-radius:4px;color:var(--fg);font:inherit;font-size:12.5px;padding:5px 8px}.mem-add select{flex:0 0 auto}.mem-add input{flex:1 1 180px;min-width:0}.mem-add .linkbtn{flex:0 0 auto}.settings-section{margin-bottom:22px}.sec-head{display:flex;align-items:baseline;gap:10px;padding:0 0 6px;border-bottom:1px solid var(--border-3)}.sec-title{font-size:11.5px;text-transform:uppercase;letter-spacing:.05em;color:var(--dim-a)}.sec-add{margin-left:auto;display:inline-flex;align-items:center;gap:5px;font:inherit;font-size:12px;color:var(--accent);background:none;border:0;padding:2px 0;cursor:pointer}.sec-add:hover{text-decoration:underline}.sec-add .svg-icon{width:13px;height:13px}.sec-body{padding-top:8px}.model-list{max-height:320px;overflow-y:auto}.model-item{display:flex;align-items:center;gap:10px;padding:6px 0;border-bottom:1px solid var(--border-3);font-size:12.5px;color:var(--muted)}.model-item:last-child{border-bottom:none}.model-item .m-name{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.model-item.active .m-name{color:var(--purple)}.model-item .m-meta{color:var(--dim-a);white-space:nowrap;flex:0 0 auto}.provider-list{display:flex;flex-direction:column}.provider-item{padding:8px 0;border-bottom:1px solid var(--border-3)}.provider-item:last-child{border-bottom:none}.provider-item .p-head{display:flex;align-items:baseline;gap:8px;min-width:0}.provider-item .p-name{color:var(--fg);min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.provider-item .badge{flex:0 0 auto;font-size:10.5px;text-transform:uppercase;letter-spacing:.04em;color:var(--green);border:1px solid var(--border-2);border-radius:999px;padding:1px 7px}.provider-item .p-meta{color:var(--dim-a);font-size:11.5px;margin-top:2px;overflow-wrap:anywhere}.provider-item .p-actions{display:flex;gap:12px;margin-top:6px}.chip{font:inherit;font-size:11.5px;color:var(--accent);background:none;border:0;padding:0;cursor:pointer}.chip:hover{text-decoration:underline}.chip.danger{color:var(--red-strong)}.pform{margin-top:12px;padding:12px;border:1px solid var(--border-2);border-radius:6px;background:var(--surface)}.pform-title{font-size:12.5px;color:var(--fg);margin-bottom:10px}.pform-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:14px}.pform-field{display:flex;flex-direction:column;gap:5px;min-width:0}.pform-field label{font-size:11px;color:var(--dim-a);text-transform:uppercase;letter-spacing:.04em}.pform-field input,.pform-field select{background:var(--input-surface);border:1px solid var(--border-2);border-radius:4px;color:var(--fg);font:inherit;font-size:12.5px;padding:6px 8px;width:100%;min-width:0}.pform-base{display:flex;flex-direction:column;gap:6px;min-width:0}.provider-body .pform>.pform-field{margin-bottom:16px}.pform-adv{margin-top:18px}.pform-adv summary{cursor:pointer;font-size:11.5px;color:var(--dim-a);text-transform:uppercase;letter-spacing:.04em}.pform-adv .pform-grid{margin-top:12px}.pform-checks{display:flex;flex-direction:column;gap:10px;margin-top:16px}.pform-checks-title{font-size:11.5px;color:var(--dim-a);text-transform:uppercase;letter-spacing:.04em}.pform-checks .pform-grid{margin-top:0}.pform-checks-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:6px 16px}.pform-check{display:inline-flex;align-items:center;gap:7px;min-width:0;font-size:12.5px;color:var(--muted);cursor:pointer}.pform-check input[type=checkbox]{width:auto;flex:0 0 auto;margin:0;accent-color:var(--accent)}.pform-check span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pform-check:hover{color:var(--fg)}.sec-desc{color:var(--dim-a);font-size:11.5px;line-height:1.4;padding:6px 0 0;max-width:70ch}.row>.ctl-block{flex-basis:100%;min-width:0}.tagsctl,.checksctl,.tablectl{display:flex;flex-direction:column;gap:8px;padding-top:4px}.tags-list{display:flex;flex-wrap:wrap;gap:6px}.tags-empty{color:var(--dim-b);font-size:12px}.tag-chip{display:inline-flex;align-items:center;gap:4px;max-width:100%;background:var(--surface);border:1px solid var(--border-2);border-radius:999px;padding:2px 6px 2px 10px;font-size:12px;color:var(--fg)}.tag-chip .tag-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:320px}.tag-chip .tag-rm{color:var(--dim-a);padding:0 2px}.tag-chip .tag-rm:hover{color:var(--red-strong)}.tags-add,.table-add{display:flex;gap:6px;align-items:center}.tags-add input,.table-add input{flex:1 1 160px;min-width:0;max-width:320px;background:var(--input-surface);border:1px solid var(--border-2);border-radius:4px;color:var(--fg);font:inherit;font-size:12.5px;padding:5px 8px;text-align:left}.tags-plus,.table-plus{color:var(--accent);font-size:14px}.checksctl{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:6px 18px}.check-line{display:inline-flex;align-items:center;gap:8px;font-size:12.5px;color:var(--muted);cursor:pointer;min-width:0}.check-line input[type=checkbox]{width:auto;flex:0 0 auto;margin:0;text-align:left;accent-color:var(--accent)}.check-line span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tablectl{gap:4px;overflow-x:auto}.table-head,.table-row{display:grid;grid-template-columns:minmax(120px,1.4fr) repeat(auto-fit,minmax(84px,1fr)) 28px;gap:6px;align-items:center;min-width:0}.table-head .table-th{font-size:10.5px;text-transform:uppercase;letter-spacing:.04em;color:var(--dim-a)}.table-row{padding:3px 0}.table-row input{width:100%;min-width:0;background:var(--input-surface);border:1px solid var(--border-2);border-radius:4px;color:var(--fg);font:inherit;font-size:12px;padding:4px 6px;text-align:left}.table-row input[type=checkbox]{width:auto;justify-self:start;accent-color:var(--accent)}.table-row .table-rm{color:var(--dim-a)}.table-row .table-rm:hover{color:var(--red-strong)}.table-body:empty:after{content:"—";color:var(--dim-b);font-size:12px}.set-search{position:relative;display:flex;align-items:center;gap:6px;margin:0 4px 10px;padding:0 8px;background:var(--input-surface);border:1px solid var(--border-2);border-radius:5px}.set-search .set-search-icon{display:inline-flex;color:var(--dim-a);flex:0 0 auto}.set-search .set-search-icon .svg-icon{width:13px;height:13px}.set-search input{flex:1 1 auto;min-width:0;background:none;border:0;outline:none;color:var(--fg);font:inherit;font-size:12.5px;padding:7px 0}.set-search input::-webkit-search-cancel-button{display:none}.set-search .set-search-clear{color:var(--dim-a);flex:0 0 auto}.set-search:focus-within{border-color:var(--inp-focus);box-shadow:0 0 0 2px var(--input-shadow)}.set-results{display:flex;flex-direction:column;gap:1px}.set-result{display:grid;grid-template-columns:1fr auto;gap:2px 8px;padding:6px 8px;border-radius:4px;cursor:pointer}.set-result:hover,.set-result.on{background:var(--accent-bg)}.set-result .sr-label{color:var(--fg);font-size:12.5px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.set-result .sr-panel{grid-column:2;grid-row:1;color:var(--dim-a);font-size:11px;white-space:nowrap}.set-result .sr-key{grid-column:1 / -1;color:var(--dim-b);font-size:10.5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.set-results-empty{color:var(--dim-b);font-size:12px;padding:8px}.row-flash{animation:rowflash 1.2s ease-out}@keyframes rowflash{0%,40%{background:var(--accent-bg)}to{background:transparent}}#subHost .pform{margin:0;padding:0;border:0;background:none}#subHost .pform-title{display:none}.pform-actions{display:flex;gap:14px;align-items:center;padding-top:22px}.pform-actions .linkbtn.dim{color:var(--dim-a)}.settings-note{color:var(--dim-b);font-size:11.5px;line-height:1.7;padding:8px 0 4px}.icon-btn,.stab-x,.dd-menu .del-btn,.del,.linkbtn{display:inline-flex;align-items:center;gap:5px}.svg-icon{width:15px;height:15px;flex:0 0 auto;display:block}.icon-btn .svg-icon{width:16px;height:16px}button.mi,button.act,button.think-h,button.qopt,button.stab-x,button.dd-row-main,button.del-btn,button.linkbtn{font:inherit;color:inherit;background:none;border:none;text-align:left;cursor:pointer;width:auto;padding:0}button.sec-h{font:inherit;color:inherit;background:none;border:none;cursor:pointer;width:100%;padding:10px 16px 8px;text-align:left}button.think-h{width:100%}button.toggle{font:inherit;border:none;padding:0}button.stab-x{padding:4px 8px 4px 4px;border-radius:3px;color:var(--dim-b);display:inline-flex;align-items:center}button.stab-x:hover{color:var(--red-strong)}.dd-menu .si-row{padding:0;gap:0}.dd-menu .dd-row-main{flex:1 1 auto;display:flex;gap:10px;align-items:baseline;min-width:0;padding:7px 8px;color:var(--muted);font-size:12.5px}.dd-menu .dd-row-main:hover{color:var(--fg)}.dd-menu .si.on .dd-row-main{color:var(--accent)}.dd-menu .del-btn{flex:0 0 auto;width:28px;height:28px;padding:0;margin:0 4px;color:var(--dim-b);cursor:pointer;justify-content:center;border-radius:4px;align-items:center}.dd-menu .del-btn:hover{color:var(--red-strong);background:var(--x-hover-bg)}.dd-menu .del-btn .svg-icon{width:15px;height:15px}.dd-menu .dd-err{color:var(--yellow);font-size:11.5px;padding:6px 8px}.linkbtn{color:var(--accent);cursor:pointer;white-space:nowrap;align-items:center}.linkbtn:hover{text-decoration:underline}.linkbtn.dim{color:var(--dim-a)}.linkbtn.danger{color:var(--red-strong)}[role=button]:not(button){cursor:pointer}:focus-visible{outline:2px solid var(--accent);outline-offset:2px;border-radius:3px}.inp:focus-visible{outline:none;box-shadow:0 0 0 2px var(--input-shadow)}.qopt:focus-visible,.toggle:focus-visible{outline-offset:1px}.q .qopt{background:none;border:none;font:inherit;text-align:left}.q .qopt[aria-checked=true]{color:var(--green)}.q .qmulti-hint{color:var(--dim-a);padding-left:18px;font-size:11.5px}.q .qcustom{margin:6px 0 0 18px;display:flex;gap:8px;align-items:center}.q .qcustom input{flex:1 1 auto;max-width:420px}.q .qcustom .linkbtn{flex:0 0 auto}button.toggle{padding:0}button.toggle:disabled{opacity:.5;cursor:default}.empty .hint{color:var(--dim-a)}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important}}@media(max-width:760px){.bar-top{gap:8px;padding:8px 10px}.bar-sub{display:flex;gap:2px;align-items:center;padding:5px 10px;background:var(--panel);border-bottom:1px solid var(--border);color:var(--muted);font-size:12.5px}.bar-sub .icon-btn{height:28px;min-width:28px}.sess-name{flex:1 1 auto;min-width:0;display:flex;cursor:pointer;background:none;border:none;font:inherit;color:var(--fg);padding:5px 6px;border-radius:4px;text-align:left}.sess-name:hover{background:var(--hover-bg)}.sess-name:disabled{cursor:default}.sess-name:disabled:hover{background:none}.sess-name span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sess-tools{display:flex;gap:2px;align-items:center;margin-left:auto}.sess-tools .dd-menu{left:auto;right:0}#sessClose:hover{color:var(--red-strong)}.conn{display:none}#toggleSidebar{display:inline-flex}#openSettings{margin-left:0}.layout{flex-direction:column}.chat{min-height:0}.sb,.sb-tab[data-tab=trace],#pane-trace{display:none}body.sb-open .sb{display:flex;position:fixed;top:41px;right:0;bottom:0;z-index:45;width:min(360px,85vw);min-width:0;max-height:none;border-left:1px solid var(--border);border-top:none;box-shadow:var(--shadow-dd)}.msgs{padding:0 14px}.feed{padding:14px 0}.input-area{margin:10px 14px 12px}.inp-meta{flex-wrap:wrap;gap:8px}}@media(max-width:640px){.modal{width:100vw;height:100vh;max-width:none;max-height:none;border-radius:0}.modal-body{flex-direction:column;min-width:0}.menu-col{width:100%;min-width:0;display:flex;flex-direction:column;gap:6px;border-right:none;border-bottom:1px solid var(--border);padding:8px 10px;flex:0 0 auto}.menu-col #setMenu{display:flex;flex-direction:row;gap:6px;overflow-x:auto;overflow-y:hidden}.menu-col .mi{white-space:nowrap;margin-bottom:0;flex:0 0 auto;width:auto}.set-search{margin:0 0 2px}.set-results{max-height:40vh;overflow-y:auto}.content-col{padding:14px}.row{font-size:12.5px}.input-area{margin:8px 10px 10px}.msgs{padding:0 10px}.feed{padding:12px 0}.rail-wrap.l-line,.rail-wrap.l-meta{flex-direction:column;align-items:stretch;gap:6px}.rail-wrap.l-line .rl-track,.rail-wrap.l-meta .rl-track{order:-1;flex:none;width:100%;max-width:none}.rail-wrap.l-line .rail-l1,.rail-wrap.l-line .rail-l2{flex:none}.rail-wrap.l-meta{width:100%;flex-basis:100%}.selectors{gap:6px}.composer-main{gap:4px}.inp-meta>span{display:none}.inp-meta{gap:0;margin-top:0;padding:0 2px}.inp-meta:empty{display:none}}@media(pointer:coarse){.inp-meta>span{display:none}.inp-meta{gap:0}}body.setup-active .bar-top,body.setup-active .layout,.setup-gate[hidden]{display:none}.setup-gate{position:fixed;inset:0;z-index:60;background:var(--bg);color:var(--fg);overflow-y:auto;display:flex;justify-content:center;padding:48px 20px}.setup-wrap{width:100%;max-width:560px}.setup-h{font-size:20px;font-weight:600;margin:0 0 4px}.setup-h .glyph{color:var(--accent);margin-right:8px}.setup-sub{color:var(--dim-a);font-size:13px;margin:0 0 22px}.setup-steps{display:flex;flex-wrap:wrap;gap:4px;font-size:12px;color:var(--dim-b);margin-bottom:22px}.setup-steps .s.on{color:var(--accent)}.setup-steps .s.done{color:var(--green)}.setup-steps .sep{color:var(--rule)}.setup-step-title{font-size:15px;font-weight:600;margin:0 0 4px}.setup-hint{color:var(--dim-a);font-size:12.5px;margin:0 0 14px;line-height:1.5}.setup-field{margin-bottom:14px}.setup-label{display:block;font-size:12px;color:var(--dim-a);margin-bottom:5px}.setup-input{width:100%;box-sizing:border-box;background:var(--inp-bg);color:var(--fg);border:1px solid var(--border-2);border-radius:7px;padding:8px 10px;font-size:13.5px;font-family:inherit}.setup-input:focus-visible{outline:none;border-color:var(--inp-focus);box-shadow:0 0 0 2px var(--input-shadow)}.setup-opt{display:flex;width:100%;box-sizing:border-box;align-items:baseline;gap:8px;text-align:left;background:transparent;color:var(--fg);border:1px solid var(--border);border-radius:7px;padding:9px 11px;margin-bottom:7px;font-size:13px;font-family:inherit;cursor:pointer}.setup-opt:hover{background:var(--hover-bg)}.setup-opt .g{color:var(--dim-b)}.setup-opt .t{font-weight:500}.setup-opt .d{color:var(--dim-a);font-size:12px}.setup-opt.on{border-color:var(--accent);background:var(--accent-bg)}.setup-opt.on .g{color:var(--accent)}.setup-row-inline{display:flex;gap:8px;align-items:center}.setup-row-inline .setup-input{flex:1}.setup-actions{display:flex;gap:10px;align-items:center;margin-top:22px}.setup-actions .spacer{flex:1}.setup-btn{background:var(--surface);color:var(--fg);border:1px solid var(--border-2);border-radius:7px;padding:8px 15px;font-size:13px;font-family:inherit;cursor:pointer}.setup-btn:hover{background:var(--hover-bg)}.setup-btn.primary{background:var(--green-fill);border-color:var(--green-fill);color:#fff}.setup-btn.primary:hover{filter:brightness(1.08)}.setup-btn:disabled{opacity:.5;cursor:default}.setup-btn.link{background:none;border:none;color:var(--accent);padding:8px 4px}.setup-msg{font-size:12.5px;margin-top:10px;min-height:17px}.setup-msg.ok{color:var(--green)}.setup-msg.warn{color:var(--yellow)}.setup-msg.err{color:var(--err)}.setup-summary{margin-top:6px}.setup-summary .r{display:flex;gap:12px;padding:5px 0;border-bottom:1px solid var(--border-3);font-size:13px}.setup-summary .k{color:var(--dim-a);width:150px;flex:0 0 auto}.setup-summary .v{color:var(--fg);word-break:break-all}.setup-toggle{display:flex;align-items:flex-start;gap:9px;padding:7px 0;font-size:13px;cursor:pointer}.setup-toggle input{accent-color:var(--green-fill);width:15px;height:15px;margin-top:2px;flex:0 0 auto}.setup-toggle-texts{display:flex;flex-direction:column;gap:2px}.setup-toggle-texts .t{font-weight:500}.setup-toggle-texts .d{color:var(--dim-a);font-size:12px;line-height:1.5}.setup-sec-row{display:flex;align-items:center;gap:8px}.setup-sec-row .setup-toggle{flex:1}.setup-adv-label{padding:7px 0}.setup-detail-btn{display:inline-flex;align-items:center;gap:5px;flex:0 0 auto;background:transparent;color:var(--dim-a);border:1px solid var(--border);border-radius:7px;padding:5px 9px;font-size:12px;font-family:inherit;cursor:pointer}.setup-detail-btn:hover{background:var(--hover-bg);color:var(--fg)}.setup-detail-btn .g{color:var(--accent)}.setup-textarea{resize:vertical;min-height:84px;font-family:var(--mono, ui-monospace, monospace);font-size:12.5px;line-height:1.5}.setup-overlay{position:fixed;inset:0;z-index:60;background:#0000008c;display:flex;align-items:center;justify-content:center;padding:20px}.setup-modal{width:100%;max-width:560px;max-height:86vh;display:flex;flex-direction:column;background:var(--surface);border:1px solid var(--border-2);border-radius:10px;box-shadow:0 18px 50px #00000073}.setup-modal-head{display:flex;align-items:center;gap:8px;padding:14px 16px;border-bottom:1px solid var(--border-3)}.setup-modal-head .glyph{color:var(--accent)}.setup-modal-title{font-weight:600;font-size:14px;flex:1}.setup-modal-x{background:none;border:none;color:var(--dim-a);font-size:15px;cursor:pointer;padding:2px 6px}.setup-modal-x:hover{color:var(--fg)}.setup-modal-body{padding:14px 16px;overflow-y:auto}.setup-modal-body .setup-field:last-child{margin-bottom:0}.setup-modal-foot{display:flex;align-items:center;gap:10px;padding:12px 16px;border-top:1px solid var(--border-3)}.setup-modal-foot .spacer{flex:1}@media(max-width:640px){.setup-gate{padding:24px 14px}.setup-summary .k{width:110px}}
|