@songsid/agend 2.1.12 → 2.2.0-alpha.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/README.md +4 -2
- package/README.zh-TW.md +4 -2
- package/dist/agent-cli.js +6 -1
- package/dist/agent-cli.js.map +1 -1
- package/dist/agent-endpoint.js +68 -12
- package/dist/agent-endpoint.js.map +1 -1
- package/dist/agent-token-header.d.ts +13 -0
- package/dist/agent-token-header.js +16 -0
- package/dist/agent-token-header.js.map +1 -0
- package/dist/auth/one-time-code.d.ts +19 -0
- package/dist/auth/one-time-code.js +49 -0
- package/dist/auth/one-time-code.js.map +1 -0
- package/dist/auth-api.d.ts +52 -0
- package/dist/auth-api.js +346 -0
- package/dist/auth-api.js.map +1 -0
- package/dist/backend/antigravity.js +4 -3
- package/dist/backend/antigravity.js.map +1 -1
- package/dist/backend/claude-code.d.ts +4 -0
- package/dist/backend/claude-code.js +97 -0
- package/dist/backend/claude-code.js.map +1 -1
- package/dist/backend/codex.js +59 -30
- package/dist/backend/codex.js.map +1 -1
- package/dist/backend/grok.js +1 -1
- package/dist/backend/grok.js.map +1 -1
- package/dist/backend/kiro-agent.d.ts +66 -0
- package/dist/backend/kiro-agent.js +302 -0
- package/dist/backend/kiro-agent.js.map +1 -0
- package/dist/backend/kiro-identity.d.ts +80 -0
- package/dist/backend/kiro-identity.js +537 -0
- package/dist/backend/kiro-identity.js.map +1 -0
- package/dist/backend/kiro-v2-store-worker.d.ts +1 -0
- package/dist/backend/kiro-v2-store-worker.js +87 -0
- package/dist/backend/kiro-v2-store-worker.js.map +1 -0
- package/dist/backend/kiro-v2-store.d.ts +54 -0
- package/dist/backend/kiro-v2-store.js +131 -0
- package/dist/backend/kiro-v2-store.js.map +1 -0
- package/dist/backend/kiro-v3-identity.d.ts +5 -0
- package/dist/backend/kiro-v3-identity.js +22 -0
- package/dist/backend/kiro-v3-identity.js.map +1 -1
- package/dist/backend/kiro.d.ts +90 -7
- package/dist/backend/kiro.js +500 -124
- package/dist/backend/kiro.js.map +1 -1
- package/dist/backend/muse.js +1 -1
- package/dist/backend/muse.js.map +1 -1
- package/dist/backend/types.d.ts +51 -3
- package/dist/backend/types.js.map +1 -1
- package/dist/cache-analysis.d.ts +92 -0
- package/dist/cache-analysis.js +147 -0
- package/dist/cache-analysis.js.map +1 -0
- package/dist/cache-ledger.d.ts +108 -0
- package/dist/cache-ledger.js +230 -0
- package/dist/cache-ledger.js.map +1 -0
- package/dist/cache-prices.d.ts +32 -0
- package/dist/cache-prices.js +73 -0
- package/dist/cache-prices.js.map +1 -0
- package/dist/cache-scan.d.ts +39 -0
- package/dist/cache-scan.js +115 -0
- package/dist/cache-scan.js.map +1 -0
- package/dist/cache-service.d.ts +115 -0
- package/dist/cache-service.js +417 -0
- package/dist/cache-service.js.map +1 -0
- package/dist/channel/adapters/discord.d.ts +1 -0
- package/dist/channel/adapters/discord.js +29 -10
- package/dist/channel/adapters/discord.js.map +1 -1
- package/dist/channel/adapters/telegram.d.ts +1 -0
- package/dist/channel/adapters/telegram.js +13 -1
- package/dist/channel/adapters/telegram.js.map +1 -1
- package/dist/channel/types.d.ts +9 -1
- package/dist/classic-channel-manager.d.ts +18 -10
- package/dist/classic-channel-manager.js +45 -18
- package/dist/classic-channel-manager.js.map +1 -1
- package/dist/cli-entry.d.ts +19 -0
- package/dist/cli-entry.js +36 -0
- package/dist/cli-entry.js.map +1 -0
- package/dist/cli.js +471 -146
- package/dist/cli.js.map +1 -1
- package/dist/command-table.d.ts +5 -3
- package/dist/command-table.js +29 -27
- package/dist/command-table.js.map +1 -1
- package/dist/config-validator.js +46 -0
- package/dist/config-validator.js.map +1 -1
- package/dist/config.js +12 -0
- package/dist/config.js.map +1 -1
- package/dist/connection-secrets.d.ts +6 -0
- package/dist/connection-secrets.js +4 -0
- package/dist/connection-secrets.js.map +1 -1
- package/dist/daemon.d.ts +95 -4
- package/dist/daemon.js +748 -111
- package/dist/daemon.js.map +1 -1
- package/dist/darwin-memory.d.ts +6 -1
- package/dist/darwin-memory.js +17 -6
- package/dist/darwin-memory.js.map +1 -1
- package/dist/delivery-consumed-watch.d.ts +85 -0
- package/dist/delivery-consumed-watch.js +244 -0
- package/dist/delivery-consumed-watch.js.map +1 -0
- package/dist/delivery-outbox.d.ts +61 -0
- package/dist/delivery-outbox.js +120 -2
- package/dist/delivery-outbox.js.map +1 -1
- package/dist/delivery-reconciliation.d.ts +14 -5
- package/dist/delivery-reconciliation.js +27 -4
- package/dist/delivery-reconciliation.js.map +1 -1
- package/dist/delivery-reconciliation.test.js +35 -1
- package/dist/delivery-reconciliation.test.js.map +1 -1
- package/dist/event-log.d.ts +4 -1
- package/dist/event-log.js +6 -3
- package/dist/event-log.js.map +1 -1
- package/dist/event-loop-watch.d.ts +28 -0
- package/dist/event-loop-watch.js +75 -3
- package/dist/event-loop-watch.js.map +1 -1
- package/dist/fleet-context.d.ts +22 -2
- package/dist/fleet-control-audit.d.ts +5 -0
- package/dist/fleet-control-audit.js +7 -0
- package/dist/fleet-control-audit.js.map +1 -1
- package/dist/fleet-level-config.d.ts +2 -2
- package/dist/fleet-level-config.js +28 -1
- package/dist/fleet-level-config.js.map +1 -1
- package/dist/fleet-manager.d.ts +339 -12
- package/dist/fleet-manager.js +2623 -461
- package/dist/fleet-manager.js.map +1 -1
- package/dist/full-restart.js +2 -3
- package/dist/full-restart.js.map +1 -1
- package/dist/general-knowledge/skills/persona-emoji/SKILL.md +3 -1
- package/dist/host-memory.d.ts +4 -0
- package/dist/host-memory.js.map +1 -1
- package/dist/install-lock.d.ts +49 -0
- package/dist/install-lock.js +200 -0
- package/dist/install-lock.js.map +1 -0
- package/dist/instance-config-impact.js +8 -2
- package/dist/instance-config-impact.js.map +1 -1
- package/dist/instance-lifecycle.d.ts +10 -5
- package/dist/instance-lifecycle.js +162 -53
- package/dist/instance-lifecycle.js.map +1 -1
- package/dist/locale.js +164 -16
- package/dist/locale.js.map +1 -1
- package/dist/login-controller.d.ts +2 -0
- package/dist/login-controller.js +17 -5
- package/dist/login-controller.js.map +1 -1
- package/dist/memory-pressure.d.ts +7 -8
- package/dist/memory-pressure.js +76 -15
- package/dist/memory-pressure.js.map +1 -1
- package/dist/monotonic-budget.d.ts +2 -0
- package/dist/monotonic-budget.js +28 -0
- package/dist/monotonic-budget.js.map +1 -0
- package/dist/needs-you-hub.d.ts +114 -0
- package/dist/needs-you-hub.js +370 -0
- package/dist/needs-you-hub.js.map +1 -0
- package/dist/needs-you-live.d.ts +116 -0
- package/dist/needs-you-live.js +228 -0
- package/dist/needs-you-live.js.map +1 -0
- package/dist/needs-you.d.ts +132 -0
- package/dist/needs-you.js +164 -0
- package/dist/needs-you.js.map +1 -0
- package/dist/node-version-guard.d.ts +30 -0
- package/dist/node-version-guard.js +50 -0
- package/dist/node-version-guard.js.map +1 -0
- package/dist/operator-control-paths.d.ts +4 -0
- package/dist/operator-control-paths.js +24 -0
- package/dist/operator-control-paths.js.map +1 -0
- package/dist/outbound-handlers.d.ts +2 -0
- package/dist/outbound-handlers.js +9 -2
- package/dist/outbound-handlers.js.map +1 -1
- package/dist/outbound-schemas.d.ts +5 -5
- package/dist/outbound-schemas.js +1 -1
- package/dist/outbound-schemas.js.map +1 -1
- package/dist/package-preimage.d.ts +26 -0
- package/dist/package-preimage.js +96 -0
- package/dist/package-preimage.js.map +1 -0
- package/dist/profile-control.js +4 -20
- package/dist/profile-control.js.map +1 -1
- package/dist/public-web-gateway.d.ts +18 -0
- package/dist/public-web-gateway.js +141 -0
- package/dist/public-web-gateway.js.map +1 -0
- package/dist/public-web-link.d.ts +53 -0
- package/dist/public-web-link.js +175 -0
- package/dist/public-web-link.js.map +1 -0
- package/dist/quickstart-api.d.ts +8 -1
- package/dist/quickstart-api.js +86 -48
- package/dist/quickstart-api.js.map +1 -1
- package/dist/quickstart.d.ts +1 -0
- package/dist/quickstart.js +16 -6
- package/dist/quickstart.js.map +1 -1
- package/dist/restart-guard.d.ts +52 -0
- package/dist/restart-guard.js +109 -0
- package/dist/restart-guard.js.map +1 -0
- package/dist/scheduler/db.d.ts +7 -1
- package/dist/scheduler/db.js +44 -2
- package/dist/scheduler/db.js.map +1 -1
- package/dist/scheduler/index.d.ts +1 -1
- package/dist/scheduler/retry-label.d.ts +11 -0
- package/dist/scheduler/retry-label.js +24 -0
- package/dist/scheduler/retry-label.js.map +1 -0
- package/dist/scheduler/scheduler.d.ts +55 -2
- package/dist/scheduler/scheduler.js +220 -8
- package/dist/scheduler/scheduler.js.map +1 -1
- package/dist/scheduler/types.d.ts +22 -0
- package/dist/scheduler/types.js.map +1 -1
- package/dist/secret-store.d.ts +5 -0
- package/dist/secret-store.js +20 -0
- package/dist/secret-store.js.map +1 -1
- package/dist/service-activation.d.ts +152 -0
- package/dist/service-activation.js +407 -0
- package/dist/service-activation.js.map +1 -0
- package/dist/service-installer.d.ts +63 -1
- package/dist/service-installer.js +141 -16
- package/dist/service-installer.js.map +1 -1
- package/dist/service-plan.d.ts +65 -0
- package/dist/service-plan.js +108 -0
- package/dist/service-plan.js.map +1 -0
- package/dist/service-restart-selection.d.ts +6 -5
- package/dist/service-restart-selection.js +6 -5
- package/dist/service-restart-selection.js.map +1 -1
- package/dist/settings-api.d.ts +10 -2
- package/dist/settings-api.js +216 -72
- package/dist/settings-api.js.map +1 -1
- package/dist/settings-baseline.d.ts +20 -0
- package/dist/settings-baseline.js +104 -0
- package/dist/settings-baseline.js.map +1 -0
- package/dist/settings-change.d.ts +21 -0
- package/dist/settings-change.js +161 -0
- package/dist/settings-change.js.map +1 -0
- package/dist/settings-confirmation.d.ts +105 -0
- package/dist/settings-confirmation.js +232 -0
- package/dist/settings-confirmation.js.map +1 -0
- package/dist/settings-control.d.ts +41 -0
- package/dist/settings-control.js +294 -0
- package/dist/settings-control.js.map +1 -0
- package/dist/settings-effect.d.ts +24 -0
- package/dist/settings-effect.js +169 -0
- package/dist/settings-effect.js.map +1 -0
- package/dist/settings-http-confirmation.d.ts +29 -0
- package/dist/settings-http-confirmation.js +123 -0
- package/dist/settings-http-confirmation.js.map +1 -0
- package/dist/settings-instance-patch.d.ts +4 -0
- package/dist/settings-instance-patch.js +26 -0
- package/dist/settings-instance-patch.js.map +1 -0
- package/dist/settings-request-capability.d.ts +16 -0
- package/dist/settings-request-capability.js +32 -0
- package/dist/settings-request-capability.js.map +1 -0
- package/dist/settings-transaction.d.ts +65 -0
- package/dist/settings-transaction.js +223 -0
- package/dist/settings-transaction.js.map +1 -0
- package/dist/setup-auth.d.ts +10 -18
- package/dist/setup-auth.js +14 -38
- package/dist/setup-auth.js.map +1 -1
- package/dist/setup-form.d.ts +1 -1
- package/dist/setup-form.js +75 -18
- package/dist/setup-form.js.map +1 -1
- package/dist/setup-guide.d.ts +13 -0
- package/dist/setup-guide.js +25 -0
- package/dist/setup-guide.js.map +1 -0
- package/dist/setup-host.d.ts +16 -0
- package/dist/setup-host.js +199 -35
- package/dist/setup-host.js.map +1 -1
- package/dist/setup-wizard.js +5 -1
- package/dist/setup-wizard.js.map +1 -1
- package/dist/slash-authz.d.ts +17 -3
- package/dist/slash-authz.js +5 -0
- package/dist/slash-authz.js.map +1 -1
- package/dist/spawn-gate.js +3 -3
- package/dist/spawn-gate.js.map +1 -1
- package/dist/sqlite-open-errors.d.ts +12 -0
- package/dist/sqlite-open-errors.js +13 -0
- package/dist/sqlite-open-errors.js.map +1 -0
- package/dist/statusline-watcher.d.ts +5 -0
- package/dist/statusline-watcher.js +2 -0
- package/dist/statusline-watcher.js.map +1 -1
- package/dist/steer-capability.d.ts +6 -0
- package/dist/steer-capability.js +8 -0
- package/dist/steer-capability.js.map +1 -1
- package/dist/sync-work-attribution.d.ts +14 -0
- package/dist/sync-work-attribution.js +43 -8
- package/dist/sync-work-attribution.js.map +1 -1
- package/dist/tips.js +10 -5
- package/dist/tips.js.map +1 -1
- package/dist/tmux-control.d.ts +57 -5
- package/dist/tmux-control.js +379 -61
- package/dist/tmux-control.js.map +1 -1
- package/dist/tmux-manager.d.ts +20 -6
- package/dist/tmux-manager.js +90 -47
- package/dist/tmux-manager.js.map +1 -1
- package/dist/tmux-read.d.ts +59 -0
- package/dist/tmux-read.js +213 -0
- package/dist/tmux-read.js.map +1 -0
- package/dist/topic-commands.d.ts +21 -10
- package/dist/topic-commands.js +205 -63
- package/dist/topic-commands.js.map +1 -1
- package/dist/transcript-delta-reader.js +2 -1
- package/dist/transcript-delta-reader.js.map +1 -1
- package/dist/tunnel/cloudflared-install.d.ts +2 -0
- package/dist/tunnel/cloudflared-install.js +1 -1
- package/dist/tunnel/cloudflared-install.js.map +1 -1
- package/dist/tunnel/purpose-lane.d.ts +14 -0
- package/dist/tunnel/purpose-lane.js +43 -0
- package/dist/tunnel/purpose-lane.js.map +1 -0
- package/dist/turn-reply-guard.d.ts +2 -0
- package/dist/turn-reply-guard.js +10 -1
- package/dist/turn-reply-guard.js.map +1 -1
- package/dist/types.d.ts +33 -0
- package/dist/ui/app.html +18 -0
- package/dist/ui/chat-commands.js +43 -0
- package/dist/ui/chat-render.js +478 -0
- package/dist/ui/chat-store.js +318 -0
- package/dist/ui/chat-strings.js +89 -0
- package/dist/ui/chat-thread.js +246 -0
- package/dist/ui/chat-tour.js +116 -0
- package/dist/ui/fleet-cache.js +168 -0
- package/dist/ui/fleet-org.js +142 -0
- package/dist/ui/panel-chat.js +504 -0
- package/dist/ui/panel-fleet.js +427 -0
- package/dist/ui/panel-needs.js +202 -0
- package/dist/ui/panel-settings.js +754 -0
- package/dist/ui/preview-panel.js +202 -0
- package/dist/ui/preview.js +270 -0
- package/dist/ui/settings-apply.js +239 -0
- package/dist/ui/settings-confirm.js +186 -0
- package/dist/ui/settings-dialogs.js +546 -0
- package/dist/ui/settings-model.js +277 -0
- package/dist/ui/settings-strings.js +654 -0
- package/dist/ui/settings-wizard.js +140 -0
- package/dist/ui/shared/agend-auth.js +93 -0
- package/dist/ui/shared/app-ctx.js +80 -0
- package/dist/ui/shared/app-html.js +9 -0
- package/dist/ui/shared/app-i18n.js +95 -0
- package/dist/ui/shared/app-nav.js +73 -0
- package/dist/ui/shared/app-needs.js +114 -0
- package/dist/ui/shared/app-route.js +73 -0
- package/dist/ui/shared/app-session.js +66 -0
- package/dist/ui/shared/app-shell.js +346 -0
- package/dist/ui/shared/app-store.js +51 -0
- package/dist/ui/shared/app-stream.js +201 -0
- package/dist/ui/shared/app.css +820 -0
- package/dist/ui/shared/app.js +88 -0
- package/dist/ui/shared/fonts/OFL.txt +92 -0
- package/dist/ui/shared/fonts/README.md +21 -0
- package/dist/ui/shared/fonts/inter.woff2 +0 -0
- package/dist/ui/shared/htm.module.js +1 -0
- package/dist/ui/shared/panel-view.js +655 -0
- package/dist/ui/shared/preact-hooks.module.js +2 -0
- package/dist/ui/shared/preact.module.js +2 -0
- package/dist/ui/shared/signin.js +142 -0
- package/dist/ui/shared/theme.js +29 -0
- package/dist/ui/shared/tokens.css +153 -0
- package/dist/ui/shared/ui-confirm.js +43 -0
- package/dist/ui/shared/ui-dialog.js +45 -0
- package/dist/ui/shared/ui-icons.js +63 -0
- package/dist/ui/shared/ui-menu.js +39 -0
- package/dist/ui/shared/ui-states.js +20 -0
- package/dist/ui/shared/ui-toast.js +18 -0
- package/dist/ui/shared/vendor/htm.LICENSE +202 -0
- package/dist/ui/shared/vendor/preact.LICENSE +21 -0
- package/dist/ui/shared/vendor/vendor.json +39 -0
- package/dist/ui/shared/view-strings.js +309 -0
- package/dist/ui/signin.html +52 -0
- package/dist/update-check.d.ts +6 -2
- package/dist/update-check.js +12 -3
- package/dist/update-check.js.map +1 -1
- package/dist/update-dispatch.d.ts +28 -0
- package/dist/update-dispatch.js +73 -0
- package/dist/update-dispatch.js.map +1 -0
- package/dist/update-install.d.ts +129 -0
- package/dist/update-install.js +262 -0
- package/dist/update-install.js.map +1 -0
- package/dist/upgrade-notices.d.ts +17 -0
- package/dist/upgrade-notices.js +93 -0
- package/dist/upgrade-notices.js.map +1 -0
- package/dist/usage/statusline-usage.d.ts +2 -0
- package/dist/usage/statusline-usage.js +14 -10
- package/dist/usage/statusline-usage.js.map +1 -1
- package/dist/view-api.d.ts +6 -1
- package/dist/view-api.js +62 -51
- package/dist/view-api.js.map +1 -1
- package/dist/web-api.d.ts +85 -14
- package/dist/web-api.js +557 -77
- package/dist/web-api.js.map +1 -1
- package/dist/web-auth.d.ts +71 -27
- package/dist/web-auth.js +169 -69
- package/dist/web-auth.js.map +1 -1
- package/dist/web-body.d.ts +3 -0
- package/dist/web-body.js +55 -0
- package/dist/web-body.js.map +1 -0
- package/dist/web-channel-echo.d.ts +9 -0
- package/dist/web-channel-echo.js +55 -0
- package/dist/web-channel-echo.js.map +1 -0
- package/dist/web-chat-history.d.ts +125 -0
- package/dist/web-chat-history.js +184 -0
- package/dist/web-chat-history.js.map +1 -0
- package/dist/web-commands.d.ts +77 -0
- package/dist/web-commands.js +81 -0
- package/dist/web-commands.js.map +1 -0
- package/dist/web-continuation.d.ts +7 -0
- package/dist/web-continuation.js +22 -0
- package/dist/web-continuation.js.map +1 -0
- package/dist/web-host-guard.d.ts +34 -0
- package/dist/web-host-guard.js +57 -1
- package/dist/web-host-guard.js.map +1 -1
- package/dist/web-login.d.ts +72 -0
- package/dist/web-login.js +132 -0
- package/dist/web-login.js.map +1 -0
- package/dist/web-org.d.ts +55 -0
- package/dist/web-org.js +67 -0
- package/dist/web-org.js.map +1 -0
- package/dist/web-preview.d.ts +77 -0
- package/dist/web-preview.js +240 -0
- package/dist/web-preview.js.map +1 -0
- package/dist/web-request-context.d.ts +10 -0
- package/dist/web-request-context.js +13 -0
- package/dist/web-request-context.js.map +1 -0
- package/dist/web-session.d.ts +167 -0
- package/dist/web-session.js +389 -0
- package/dist/web-session.js.map +1 -0
- package/dist/web-shell-routes.d.ts +59 -0
- package/dist/web-shell-routes.js +96 -0
- package/dist/web-shell-routes.js.map +1 -0
- package/dist/web-upload.d.ts +183 -0
- package/dist/web-upload.js +468 -0
- package/dist/web-upload.js.map +1 -0
- package/dist/website-tips-renderer.d.ts +2 -2
- package/dist/website-tips-renderer.js +3 -3
- package/dist/website-tips-renderer.js.map +1 -1
- package/launcher/agend +110 -0
- package/launcher/agend-agent +110 -0
- package/launcher/agend-agent.cjs +4 -0
- package/launcher/agend.cjs +4 -0
- package/launcher/install-admission.cjs +105 -0
- package/launcher/launch.cjs +64 -0
- package/launcher/postinstall.cjs +114 -0
- package/launcher/run-in-process.cjs +13 -0
- package/launcher/runtime-platform.cjs +86 -0
- package/launcher/runtime-select.cjs +217 -0
- package/package.json +18 -7
- package/scripts/preinstall-guard.cjs +55 -0
- package/templates/launchd.plist.ejs +2 -2
- package/templates/systemd.service.ejs +1 -1
- package/dist/ui/dashboard.html +0 -774
- package/dist/ui/settings.html +0 -2165
- package/dist/ui/view.html +0 -1139
|
@@ -0,0 +1,820 @@
|
|
|
1
|
+
/* #1408: the app shell's styles. Tokens come from /assets/tokens.css (colours, type, space, radii, motion).
|
|
2
|
+
* External file, classes only: the CSP has no 'unsafe-inline' for styles and nothing here needs it (#1300).
|
|
3
|
+
* Look (design §2): neutral greys, few borders — areas differ by tone; a centred column; a rounded composer pinned
|
|
4
|
+
* below; the person's messages in bubbles on the right, the agent's at full width. No bare-element rules outside
|
|
5
|
+
* the reset; components are defined once. */
|
|
6
|
+
|
|
7
|
+
/* ── Reset ── */
|
|
8
|
+
*, *::before, *::after { box-sizing: border-box; }
|
|
9
|
+
html, body { margin: 0; padding: 0; height: 100%; }
|
|
10
|
+
body { background: var(--bg); color: var(--text); font: var(--fw-regular) var(--fs-md)/var(--lh-md) var(--font-ui); -webkit-font-smoothing: antialiased; }
|
|
11
|
+
h1, h2, h3, p, ul, ol, figure, fieldset { margin: 0; padding: 0; }
|
|
12
|
+
fieldset { border: 0; min-width: 0; }
|
|
13
|
+
ul, ol { list-style: none; }
|
|
14
|
+
button, input, select, textarea { font: inherit; color: inherit; }
|
|
15
|
+
a { color: inherit; text-decoration: none; }
|
|
16
|
+
[hidden] { display: none !important; }
|
|
17
|
+
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
|
|
18
|
+
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
|
|
19
|
+
.offscreen { position: fixed; left: -9999px; top: 0; opacity: 0; }
|
|
20
|
+
.noscript { padding: var(--s-6); }
|
|
21
|
+
.mono { font-family: var(--font-mono); }
|
|
22
|
+
.muted { color: var(--text-3); }
|
|
23
|
+
.icon { flex-shrink: 0; display: block; }
|
|
24
|
+
.app-root { height: 100%; }
|
|
25
|
+
|
|
26
|
+
/* ── Buttons ── */
|
|
27
|
+
.btn {
|
|
28
|
+
display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2); min-height: 36px; padding: 0 var(--s-4);
|
|
29
|
+
border-radius: var(--r-full); border: 1px solid var(--border); background: var(--bg); color: var(--text);
|
|
30
|
+
font-size: var(--fs-sm); font-weight: var(--fw-semibold); cursor: pointer; white-space: nowrap;
|
|
31
|
+
transition: background var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
|
|
32
|
+
}
|
|
33
|
+
.btn:hover:not(:disabled) { background: var(--surface); }
|
|
34
|
+
.btn:disabled { opacity: 0.45; cursor: default; }
|
|
35
|
+
.btn-primary { background: var(--accent-fill); color: var(--on-accent); border-color: transparent; }
|
|
36
|
+
.btn-primary:hover:not(:disabled) { background: var(--accent-fill); opacity: 0.88; }
|
|
37
|
+
.btn-danger { background: var(--danger-fill); color: var(--on-danger); border-color: transparent; }
|
|
38
|
+
.btn-danger:hover:not(:disabled) { background: var(--danger-fill); opacity: 0.9; }
|
|
39
|
+
.btn-ghost { background: transparent; border-color: transparent; color: var(--text-2); }
|
|
40
|
+
.btn-ghost:hover:not(:disabled) { color: var(--text); background: var(--surface); }
|
|
41
|
+
.btn.danger, .btn-ghost.danger { color: var(--danger); }
|
|
42
|
+
.btn-sm { min-height: 30px; padding: 0 var(--s-3); font-size: var(--fs-xs); }
|
|
43
|
+
.icon-btn {
|
|
44
|
+
display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; flex-shrink: 0;
|
|
45
|
+
border: 0; border-radius: var(--r-sm); background: transparent; color: var(--text-2); cursor: pointer;
|
|
46
|
+
}
|
|
47
|
+
.icon-btn:hover { background: var(--surface-2); color: var(--text); }
|
|
48
|
+
.chip-btn { background: transparent; border: 0; color: var(--text-3); cursor: pointer; border-radius: var(--r-sm); font-size: var(--fs-xs); padding: 2px var(--s-2); }
|
|
49
|
+
.chip-btn:hover { color: var(--text); background: var(--surface-2); }
|
|
50
|
+
.chip-btn.icon-only { display: inline-flex; align-items: center; gap: 4px; padding: 4px 6px; }
|
|
51
|
+
.chip-btn.icon-only.done::after { content: "✓"; color: var(--ok); }
|
|
52
|
+
.chip-btn.icon-only.fail::after { content: "!"; color: var(--danger); }
|
|
53
|
+
.link { color: var(--accent); }
|
|
54
|
+
.link:hover { text-decoration: underline; }
|
|
55
|
+
|
|
56
|
+
/* ── The frame ── */
|
|
57
|
+
.shell { display: flex; height: 100vh; height: 100dvh; overflow: hidden; }
|
|
58
|
+
.skip { position: absolute; left: var(--s-2); top: -60px; z-index: 100; background: var(--accent-fill); color: var(--on-accent); padding: var(--s-2) var(--s-3); border-radius: var(--r-sm); }
|
|
59
|
+
.skip:focus { top: var(--s-2); }
|
|
60
|
+
|
|
61
|
+
.sidebar {
|
|
62
|
+
width: var(--sidebar-w); flex-shrink: 0; display: flex; flex-direction: column; background: var(--bg-sidebar);
|
|
63
|
+
padding: env(safe-area-inset-top) 0 env(safe-area-inset-bottom) env(safe-area-inset-left);
|
|
64
|
+
}
|
|
65
|
+
.sb-collapsed .sidebar { display: none; }
|
|
66
|
+
.side-head { display: flex; align-items: center; gap: var(--s-1); padding: var(--s-3) var(--s-2) var(--s-2) var(--s-4); }
|
|
67
|
+
.brand { flex: 1; font-size: var(--fs-lg); font-weight: var(--fw-semibold); letter-spacing: -0.01em; }
|
|
68
|
+
.side-nav { display: flex; flex-direction: column; padding: var(--s-1) var(--s-2); gap: 1px; }
|
|
69
|
+
.side-row {
|
|
70
|
+
display: flex; align-items: center; gap: var(--s-3); width: 100%; min-height: 36px; padding: 0 var(--s-3);
|
|
71
|
+
border: 0; border-radius: var(--r-sm); background: transparent; color: var(--text); font-size: var(--fs-sm); text-align: left; cursor: pointer;
|
|
72
|
+
}
|
|
73
|
+
.side-row:hover { background: var(--surface-2); }
|
|
74
|
+
.side-row.active { background: var(--surface-2); font-weight: var(--fw-semibold); }
|
|
75
|
+
.side-row .grow { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
76
|
+
.side-row .meta { color: var(--text-3); font-size: var(--fs-xs); max-width: 40%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
77
|
+
.side-row.toggle { cursor: pointer; color: var(--text-2); }
|
|
78
|
+
.side-row.toggle input { margin: 0; accent-color: var(--accent); }
|
|
79
|
+
.side-section { flex: 1; min-height: 0; overflow-y: auto; padding: var(--s-2) var(--s-2); }
|
|
80
|
+
/* The sidebar's list scroller: thin and in the theme's colours, not the UA's light bar with arrows. WebKit/Blink take
|
|
81
|
+
the pseudo-elements; Chromium ignores them once scrollbar-color is set, so the standard properties are Firefox-only. */
|
|
82
|
+
.side-section::-webkit-scrollbar { width: 10px; }
|
|
83
|
+
.side-section::-webkit-scrollbar-track { background: transparent; }
|
|
84
|
+
.side-section::-webkit-scrollbar-button { display: none; }
|
|
85
|
+
.side-section::-webkit-scrollbar-thumb { background: color-mix(in srgb, var(--text-3) 35%, transparent); background-clip: padding-box; border: 2px solid transparent; border-radius: 5px; }
|
|
86
|
+
.side-section::-webkit-scrollbar-thumb:hover { background: color-mix(in srgb, var(--text-3) 70%, transparent); background-clip: padding-box; }
|
|
87
|
+
@supports (-moz-appearance: none) {
|
|
88
|
+
.side-section { scrollbar-width: thin; scrollbar-color: color-mix(in srgb, var(--text-3) 35%, transparent) transparent; }
|
|
89
|
+
.side-section:hover { scrollbar-color: color-mix(in srgb, var(--text-3) 70%, transparent) transparent; }
|
|
90
|
+
}
|
|
91
|
+
.side-label { font-size: var(--fs-xs); font-weight: var(--fw-medium); color: var(--text-3); padding: var(--s-3) var(--s-3) var(--s-1); }
|
|
92
|
+
.side-empty { color: var(--text-3); font-size: var(--fs-sm); padding: var(--s-2) var(--s-3); }
|
|
93
|
+
.inst-list { display: flex; flex-direction: column; gap: 1px; }
|
|
94
|
+
.inst { display: flex; align-items: flex-start; gap: var(--s-3); padding: var(--s-2) var(--s-3); border-radius: var(--r-sm); }
|
|
95
|
+
.inst:hover { background: var(--surface-2); }
|
|
96
|
+
.inst.active { background: var(--surface-2); }
|
|
97
|
+
.inst .dot { margin-top: 8px; }
|
|
98
|
+
.inst-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
|
|
99
|
+
.inst-name { font-size: var(--fs-sm); line-height: var(--lh-md); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
100
|
+
.inst.active .inst-name { font-weight: var(--fw-semibold); }
|
|
101
|
+
.inst-sub { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-1) var(--s-2); }
|
|
102
|
+
.inst-alias { font-size: var(--fs-xs); line-height: var(--lh-xs); color: var(--text-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; max-width: 100%; }
|
|
103
|
+
.badge-await {
|
|
104
|
+
flex-shrink: 0; font-size: 11px; line-height: 16px; font-weight: var(--fw-semibold); padding: 0 var(--s-2); border-radius: var(--r-full);
|
|
105
|
+
background: var(--warn-bg); color: var(--warn); border: 1px solid var(--warn-line); white-space: nowrap;
|
|
106
|
+
}
|
|
107
|
+
.side-foot { display: flex; flex-direction: column; gap: 1px; padding: var(--s-2); }
|
|
108
|
+
.prefs { display: flex; gap: var(--s-2); padding: var(--s-1) var(--s-3); }
|
|
109
|
+
.pref { display: flex; align-items: center; gap: var(--s-1); color: var(--text-2); flex: 1; min-width: 0; }
|
|
110
|
+
.pref select { flex: 1; min-width: 0; height: 30px; border: 0; border-radius: var(--r-sm); background: transparent; color: var(--text-2); font-size: var(--fs-xs); cursor: pointer; }
|
|
111
|
+
.pref select:hover { background: var(--surface-2); color: var(--text); }
|
|
112
|
+
.session { position: relative; }
|
|
113
|
+
.pop {
|
|
114
|
+
position: absolute; left: 0; right: 0; bottom: calc(100% + var(--s-1)); z-index: 30; display: flex; flex-direction: column; gap: var(--s-2);
|
|
115
|
+
padding: var(--s-3); border-radius: var(--r-md); background: var(--surface); box-shadow: var(--shadow-2); font-size: var(--fs-sm);
|
|
116
|
+
}
|
|
117
|
+
.pop h3 { font-size: var(--fs-sm); font-weight: var(--fw-semibold); }
|
|
118
|
+
.pop .sub, .pop .when { color: var(--text-3); font-size: var(--fs-xs); }
|
|
119
|
+
.pop .devices li { display: flex; align-items: center; gap: var(--s-2); }
|
|
120
|
+
.pop .devices .grow { flex: 1; min-width: 0; display: flex; flex-direction: column; }
|
|
121
|
+
.pop .row { display: flex; gap: var(--s-2); flex-wrap: wrap; }
|
|
122
|
+
.pop .err { color: var(--danger); }
|
|
123
|
+
|
|
124
|
+
.dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; background: var(--text-3); display: inline-block; }
|
|
125
|
+
.dot.ok { background: var(--ok); }
|
|
126
|
+
.dot.busy { background: var(--ok); animation: pulse 1.2s ease-in-out infinite; }
|
|
127
|
+
.dot.warn { background: var(--warn); }
|
|
128
|
+
.dot.bad { background: var(--danger); }
|
|
129
|
+
.dot.off { background: var(--text-3); }
|
|
130
|
+
@keyframes pulse { 0%, 100% { opacity: 0.55; } 50% { opacity: 1; } } /* never near-invisible on a dark surface */
|
|
131
|
+
|
|
132
|
+
.scrim { display: none; }
|
|
133
|
+
.main { flex: 1; min-width: 0; display: flex; flex-direction: column; overflow: hidden; position: relative; }
|
|
134
|
+
.main:focus { outline: none; } /* the skip link's target: focus lands here, the next Tab goes on inside it */
|
|
135
|
+
.conn { flex-shrink: 0; padding: var(--s-1) var(--s-4); text-align: center; font-size: var(--fs-xs); color: var(--text-2); background: var(--surface); }
|
|
136
|
+
.tabs { display: none; }
|
|
137
|
+
|
|
138
|
+
/* ── A panel: its header, then its body ── */
|
|
139
|
+
.panel { flex: 1; min-height: 0; display: flex; flex-direction: column; position: relative; }
|
|
140
|
+
.panel-head {
|
|
141
|
+
display: flex; align-items: center; gap: var(--s-2); min-height: var(--header-h); flex-shrink: 0;
|
|
142
|
+
padding: max(var(--s-1), env(safe-area-inset-top)) max(var(--s-3), env(safe-area-inset-right)) var(--s-1) max(var(--s-3), env(safe-area-inset-left));
|
|
143
|
+
}
|
|
144
|
+
.panel-head .sb-open { display: none; }
|
|
145
|
+
.sb-collapsed .panel-head .sb-open { display: inline-flex; }
|
|
146
|
+
.panel-title { flex: 1; min-width: 0; display: flex; align-items: baseline; gap: var(--s-3); }
|
|
147
|
+
.panel-title h1 { font-size: var(--fs-lg); line-height: var(--lh-lg); font-weight: var(--fw-semibold); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; outline: none; }
|
|
148
|
+
.panel-sub { color: var(--text-2); font-size: var(--fs-sm); white-space: nowrap; }
|
|
149
|
+
.status { display: inline-flex; align-items: center; gap: 6px; }
|
|
150
|
+
.panel-actions { display: flex; align-items: center; gap: var(--s-1); }
|
|
151
|
+
.panel-body { flex: 1; min-height: 0; overflow-y: auto; }
|
|
152
|
+
.panel-body.center { display: flex; align-items: center; justify-content: center; padding: var(--s-6); }
|
|
153
|
+
.col { max-width: var(--col); margin: 0 auto; padding: var(--s-4) var(--s-5) var(--s-8); }
|
|
154
|
+
.only-narrow { display: none; }
|
|
155
|
+
|
|
156
|
+
/* ── States ── */
|
|
157
|
+
.empty { display: flex; flex-direction: column; align-items: center; text-align: center; gap: var(--s-2); color: var(--text-2); padding: var(--s-8) var(--s-4); }
|
|
158
|
+
.empty-icon { color: var(--text-3); margin-bottom: var(--s-2); }
|
|
159
|
+
.empty-title { color: var(--text); font-size: var(--fs-lg); font-weight: var(--fw-semibold); }
|
|
160
|
+
.empty-hint { font-size: var(--fs-sm); }
|
|
161
|
+
.empty .btn { margin-top: var(--s-3); }
|
|
162
|
+
.error-state { display: flex; flex-direction: column; align-items: center; gap: var(--s-3); padding: var(--s-8) var(--s-4); color: var(--danger); text-align: center; }
|
|
163
|
+
.error-state p { color: var(--text); }
|
|
164
|
+
.skeleton { display: flex; flex-direction: column; gap: var(--s-3); padding: var(--s-6) var(--s-5); max-width: var(--col); margin: 0 auto; width: 100%; opacity: 0; animation: appear 0s linear 300ms forwards; }
|
|
165
|
+
.sk-line { height: 14px; border-radius: var(--r-sm); background: var(--surface); }
|
|
166
|
+
.sk-line:nth-child(3n) { width: 60%; }
|
|
167
|
+
.sk-line:nth-child(3n+2) { width: 85%; }
|
|
168
|
+
@keyframes appear { to { opacity: 1; } }
|
|
169
|
+
|
|
170
|
+
/* ── Menu ── */
|
|
171
|
+
.menu { position: relative; }
|
|
172
|
+
.menu-list {
|
|
173
|
+
position: absolute; right: 0; top: calc(100% + var(--s-1)); z-index: 30; min-width: 220px; padding: var(--s-1);
|
|
174
|
+
border-radius: var(--r-md); background: var(--surface); box-shadow: var(--shadow-2); display: flex; flex-direction: column;
|
|
175
|
+
}
|
|
176
|
+
.menu-item {
|
|
177
|
+
display: flex; align-items: center; gap: var(--s-3); min-height: 36px; padding: 0 var(--s-3); border: 0; border-radius: var(--r-sm);
|
|
178
|
+
background: transparent; color: var(--text); font-size: var(--fs-sm); text-align: left; cursor: pointer;
|
|
179
|
+
}
|
|
180
|
+
.menu-item:hover:not(:disabled), .menu-item:focus-visible { background: var(--surface-2); outline: none; }
|
|
181
|
+
.menu-item.danger { color: var(--danger); }
|
|
182
|
+
.menu-item:disabled { opacity: 0.45; }
|
|
183
|
+
|
|
184
|
+
/* ── Dialog: centred on a desktop, a bottom sheet on a phone ── */
|
|
185
|
+
.dlg { border: 0; padding: 0; border-radius: var(--r-lg); background: var(--bg); color: var(--text); box-shadow: var(--shadow-2); width: min(480px, calc(100vw - 32px)); max-height: 85vh; }
|
|
186
|
+
.dlg-wide { width: min(640px, calc(100vw - 32px)); }
|
|
187
|
+
.dlg::backdrop { background: var(--scrim); }
|
|
188
|
+
.dlg-box { display: flex; flex-direction: column; max-height: 85vh; }
|
|
189
|
+
.dlg-head { display: flex; align-items: center; gap: var(--s-2); padding: var(--s-4) var(--s-3) var(--s-2) var(--s-5); }
|
|
190
|
+
.dlg-title { flex: 1; font-size: var(--fs-lg); font-weight: var(--fw-semibold); }
|
|
191
|
+
.dlg-body { padding: var(--s-2) var(--s-5) var(--s-4); overflow-y: auto; display: flex; flex-direction: column; gap: var(--s-3); }
|
|
192
|
+
.dlg-actions { display: flex; justify-content: flex-end; gap: var(--s-2); padding: var(--s-3) var(--s-5) var(--s-5); }
|
|
193
|
+
|
|
194
|
+
/* ── Forms ── */
|
|
195
|
+
.form { display: flex; flex-direction: column; gap: var(--s-3); }
|
|
196
|
+
.field { display: flex; flex-direction: column; gap: var(--s-1); font-size: var(--fs-sm); }
|
|
197
|
+
.field > span, .field > label, .field > legend { color: var(--text-2); font-weight: var(--fw-medium); }
|
|
198
|
+
.field input, .field select, .field textarea, .field-row input {
|
|
199
|
+
width: 100%; min-height: 40px; padding: var(--s-2) var(--s-3); border: 1px solid var(--border-strong); border-radius: var(--r-sm);
|
|
200
|
+
background: var(--bg); color: var(--text); font-size: var(--fs-sm); outline: none;
|
|
201
|
+
}
|
|
202
|
+
.field textarea { resize: vertical; }
|
|
203
|
+
.field input:focus, .field select:focus, .field textarea:focus, .field-row input:focus { border-color: var(--focus); box-shadow: 0 0 0 3px var(--accent-dim); }
|
|
204
|
+
.field input:disabled { opacity: 0.6; }
|
|
205
|
+
.field-row { display: flex; gap: var(--s-1); align-items: center; }
|
|
206
|
+
.note { font-size: var(--fs-xs); color: var(--text-3); }
|
|
207
|
+
.checks { display: flex; flex-direction: column; gap: var(--s-1); max-height: 180px; overflow-y: auto; }
|
|
208
|
+
.check { display: flex; gap: var(--s-2); align-items: center; font-size: var(--fs-sm); }
|
|
209
|
+
.check input { accent-color: var(--accent); }
|
|
210
|
+
.field .check input, .field input[type="checkbox"], .field input[type="radio"] { width: auto; min-height: 0; padding: 0; border: 0; box-shadow: none; }
|
|
211
|
+
|
|
212
|
+
/* ── Cards, rows, segments (Fleet, details) ── */
|
|
213
|
+
.card { background: var(--surface); border-radius: var(--r-md); padding: var(--s-4) var(--s-5); margin-bottom: var(--s-4); display: flex; flex-direction: column; gap: var(--s-3); }
|
|
214
|
+
.card h3 { font-size: var(--fs-xs); font-weight: var(--fw-semibold); letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-2); }
|
|
215
|
+
.kv { display: flex; gap: var(--s-3); font-size: var(--fs-sm); align-items: center; }
|
|
216
|
+
.kv .k { color: var(--text-3); min-width: 110px; }
|
|
217
|
+
.kv .v { min-width: 0; overflow-wrap: anywhere; display: flex; align-items: center; gap: var(--s-2); }
|
|
218
|
+
.pct { font-weight: var(--fw-semibold); font-size: var(--fs-md); font-variant-numeric: tabular-nums; }
|
|
219
|
+
.progress-bar { display: inline-block; width: 120px; height: 8px; background: var(--surface-2); border-radius: var(--r-full); overflow: hidden; }
|
|
220
|
+
.progress-fill { display: block; height: 100%; width: 0; border-radius: var(--r-full); background: var(--accent); transition: width 0.4s var(--ease); }
|
|
221
|
+
.progress-fill.warn { background: var(--warn); } .progress-fill.error { background: var(--danger); }
|
|
222
|
+
.activity { font-size: var(--fs-xs); font-family: var(--font-mono); display: flex; gap: var(--s-2); }
|
|
223
|
+
.activity .ev { color: var(--warn); }
|
|
224
|
+
.seg { display: flex; gap: var(--s-1); padding: 0 var(--s-4) var(--s-2); overflow-x: auto; flex-shrink: 0; max-width: calc(var(--col) + 2 * var(--s-5)); margin: 0 auto; width: 100%; }
|
|
225
|
+
.seg-item { display: inline-flex; align-items: center; gap: var(--s-2); min-height: 34px; padding: 0 var(--s-3); border-radius: var(--r-full); color: var(--text-2); font-size: var(--fs-sm); white-space: nowrap; }
|
|
226
|
+
.seg-item:hover { background: var(--surface); color: var(--text); }
|
|
227
|
+
.seg-item.active { background: var(--surface-2); color: var(--text); font-weight: var(--fw-semibold); }
|
|
228
|
+
.list-head { display: flex; justify-content: space-between; align-items: center; gap: var(--s-3); margin: var(--s-2) 0 var(--s-3); color: var(--text-2); font-size: var(--fs-sm); }
|
|
229
|
+
.rows { display: flex; flex-direction: column; gap: var(--s-1); }
|
|
230
|
+
.row-item { display: flex; align-items: center; gap: var(--s-3); flex-wrap: wrap; padding: var(--s-3) var(--s-4); border-radius: var(--r-md); background: var(--surface); font-size: var(--fs-sm); }
|
|
231
|
+
.row-item .grow { flex: 1; min-width: 160px; }
|
|
232
|
+
.row-item .strong { font-weight: var(--fw-semibold); }
|
|
233
|
+
.pill { font-size: 11px; font-weight: var(--fw-semibold); padding: 2px var(--s-2); border-radius: var(--r-full); text-transform: uppercase; letter-spacing: 0.04em; background: var(--surface-2); color: var(--text-2); }
|
|
234
|
+
.pill.open { background: var(--accent-dim); color: var(--accent); }
|
|
235
|
+
.pill.claimed { background: var(--warn-bg); color: var(--warn); }
|
|
236
|
+
.pill.done { color: var(--ok); }
|
|
237
|
+
.save-row { display: flex; align-items: center; gap: var(--s-3); flex-wrap: wrap; }
|
|
238
|
+
|
|
239
|
+
/* ── Chat ── */
|
|
240
|
+
.p-chat .scroller { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; position: relative; }
|
|
241
|
+
.thread { max-width: var(--col); margin: 0 auto; padding: var(--s-4) var(--s-5) var(--s-3); display: flex; flex-direction: column; gap: var(--s-6); }
|
|
242
|
+
.msg { font-size: var(--fs-md); line-height: var(--lh-md); overflow-wrap: anywhere; min-width: 0; }
|
|
243
|
+
.msg .meta { display: flex; align-items: baseline; gap: var(--s-2); font-size: var(--fs-xs); color: var(--text-3); margin-bottom: var(--s-1); }
|
|
244
|
+
.msg .sender { font-weight: var(--fw-semibold); color: var(--text-2); }
|
|
245
|
+
.msg .time { font-family: var(--font-mono); }
|
|
246
|
+
.msg.user { align-self: flex-end; max-width: min(80%, 620px); }
|
|
247
|
+
.msg.user .meta { justify-content: flex-end; }
|
|
248
|
+
.msg.user .body { background: var(--user-bubble); border-radius: var(--r-xl); padding: 10px var(--s-4); }
|
|
249
|
+
.msg.agent { align-self: stretch; }
|
|
250
|
+
.msg-tools { display: flex; gap: var(--s-1); margin-top: var(--s-1); opacity: 0; transition: opacity var(--t-fast); }
|
|
251
|
+
.msg:hover .msg-tools, .msg:focus-within .msg-tools { opacity: 1; }
|
|
252
|
+
@media (hover: none) { .msg-tools { opacity: 1; } }
|
|
253
|
+
/* Delivery ticks: always visible, in colour, with their label on hover and for screen readers (rough edge 10). */
|
|
254
|
+
.tick { margin-left: var(--s-1); font-size: var(--fs-xs); color: var(--text-3); }
|
|
255
|
+
.tick-delivered { color: var(--ok); }
|
|
256
|
+
.tick-failed { color: var(--danger); font-weight: var(--fw-bold); }
|
|
257
|
+
.tick-cancelled { color: var(--text-3); }
|
|
258
|
+
.msg .atts { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-2); }
|
|
259
|
+
.msg.user .atts { justify-content: flex-end; }
|
|
260
|
+
.msg .att-img img { max-width: 260px; max-height: 220px; border-radius: var(--r-sm); display: block; }
|
|
261
|
+
.msg .att-file { font-size: var(--fs-sm); color: var(--accent); }
|
|
262
|
+
.msg .att-size { color: var(--text-3); }
|
|
263
|
+
.msg .md p { margin: 0 0 var(--s-3); } .msg .md p:last-child { margin-bottom: 0; }
|
|
264
|
+
.msg .md code { font-family: var(--font-mono); font-size: 0.88em; background: var(--inline-code); border-radius: 4px; padding: 1px 5px; }
|
|
265
|
+
.msg .md a { color: var(--accent); text-decoration: underline; }
|
|
266
|
+
.msg .md blockquote { margin: var(--s-2) 0; padding-left: var(--s-3); border-left: 3px solid var(--border-strong); color: var(--text-2); }
|
|
267
|
+
.msg .md ul, .msg .md ol { margin: var(--s-1) 0 var(--s-3); padding-left: 22px; }
|
|
268
|
+
.msg .md ul { list-style: disc; } .msg .md ol { list-style: decimal; }
|
|
269
|
+
.msg .md li > ul, .msg .md li > ol { margin: 2px 0; }
|
|
270
|
+
.msg .md hr { border: 0; border-top: 1px solid var(--border); margin: var(--s-3) 0; }
|
|
271
|
+
.msg .md .tbl { overflow-x: auto; margin: var(--s-2) 0; }
|
|
272
|
+
.msg .md table { border-collapse: collapse; font-size: var(--fs-sm); }
|
|
273
|
+
.msg .md th, .msg .md td { border: 1px solid var(--border); padding: 5px 9px; text-align: left; vertical-align: top; }
|
|
274
|
+
.msg .md th { background: var(--surface); font-weight: var(--fw-semibold); }
|
|
275
|
+
.msg .md .al-c { text-align: center; } .msg .md .al-r { text-align: right; }
|
|
276
|
+
.msg .md h3, .msg .md h4, .msg .md h5, .msg .md h6 { margin: var(--s-3) 0 var(--s-2); font-size: var(--fs-md); font-weight: var(--fw-semibold); }
|
|
277
|
+
.msg .md .tk-k { color: var(--tk-k); } .msg .md .tk-s { color: var(--tk-s); } .msg .md .tk-n { color: var(--tk-n); } .msg .md .tk-c { color: var(--tk-c); font-style: italic; }
|
|
278
|
+
.codeblock { margin: var(--s-2) 0; border-radius: var(--r-md); overflow: hidden; background: var(--code-bg); position: relative; }
|
|
279
|
+
.codeblock .cb-head { display: flex; align-items: center; gap: var(--s-1); padding: 4px var(--s-2) 4px var(--s-3); background: var(--code-head); font-size: var(--fs-xs); color: var(--text-2); }
|
|
280
|
+
.codeblock .cb-lang { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--font-mono); }
|
|
281
|
+
.codeblock pre { margin: 0; padding: var(--s-3); overflow-x: auto; white-space: pre; font-family: var(--font-mono); font-size: 13px; line-height: 1.55; }
|
|
282
|
+
.msg .md .codeblock pre code { background: none; padding: 0; border-radius: 0; font-size: inherit; }
|
|
283
|
+
.wrap-code .codeblock pre { white-space: pre-wrap; overflow-wrap: anywhere; }
|
|
284
|
+
.codeblock.folded pre { max-height: 22.5em; overflow-y: hidden; mask-image: linear-gradient(to bottom, #000 70%, transparent); -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent); }
|
|
285
|
+
.codeblock .cb-more { display: block; width: 100%; border: 0; background: var(--code-head); color: var(--text-2); cursor: pointer; font-size: var(--fs-xs); padding: 6px; }
|
|
286
|
+
.codeblock .cb-more:hover { color: var(--text); }
|
|
287
|
+
/* #1306: HTML cards and previews */
|
|
288
|
+
.html-card { margin: var(--s-1) 0 var(--s-3); border-radius: var(--r-md); padding: var(--s-2) var(--s-3); background: var(--surface); }
|
|
289
|
+
.html-card:empty { display: none; }
|
|
290
|
+
.pv-head { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
|
|
291
|
+
.pv-label { font-size: var(--fs-xs); font-weight: var(--fw-bold); color: var(--text-2); margin-right: auto; font-family: var(--font-mono); }
|
|
292
|
+
.pv-note { font-size: var(--fs-xs); color: var(--text-3); margin-top: 6px; }
|
|
293
|
+
.pv-note:empty { display: none; }
|
|
294
|
+
.pv-banner { margin-top: var(--s-2); padding: var(--s-2) var(--s-3); border-radius: var(--r-sm); font-size: var(--fs-xs); background: var(--warn-bg); border: 1px solid var(--warn-line); }
|
|
295
|
+
.pv-holder:empty { display: none; }
|
|
296
|
+
.pv-holder { margin-top: var(--s-2); }
|
|
297
|
+
.preview-frame { display: block; width: 100%; border: 2px solid var(--warn-line); border-radius: var(--r-sm); background: #ffffff; }
|
|
298
|
+
/* #1481: the preview beside the conversation. A split on a wide screen (width: --pv-w, set by the divider through
|
|
299
|
+
CSSOM), a full-screen sheet on a narrow one. The frame is the card's (preview.js), sized by the panel here. */
|
|
300
|
+
.chat-split { flex: 1; min-height: 0; display: flex; }
|
|
301
|
+
.chat-main { flex: 1; min-width: 0; min-height: 0; display: flex; flex-direction: column; }
|
|
302
|
+
.pv-divider { flex: 0 0 8px; cursor: col-resize; background: var(--bg); border-left: 1px solid var(--border); touch-action: none; position: relative; }
|
|
303
|
+
.pv-divider::after { content: ""; position: absolute; top: 50%; left: 2px; width: 3px; height: 32px; margin-top: -16px; border-radius: 2px; background: var(--border-strong); }
|
|
304
|
+
.pv-divider:hover::after, .pv-divider:focus-visible::after, .chat-split.resizing .pv-divider::after { background: var(--accent); }
|
|
305
|
+
.pv-divider:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
|
|
306
|
+
.chat-split.resizing { cursor: col-resize; user-select: none; }
|
|
307
|
+
.chat-split.resizing .preview-frame { pointer-events: none; } /* a frame under the pointer would end the drag */
|
|
308
|
+
.pv-panel { flex: 0 0 var(--pv-w, 45%); width: var(--pv-w, 45%); min-width: 320px; max-width: calc(100% - 368px); min-height: 0;
|
|
309
|
+
display: flex; flex-direction: column; background: var(--bg); container-type: inline-size; }
|
|
310
|
+
.pv-panel-head { display: flex; align-items: center; gap: var(--s-2); padding: var(--s-2) var(--s-3); border-bottom: 1px solid var(--border); }
|
|
311
|
+
.pv-panel-title { flex: 1; min-width: 0; display: flex; flex-direction: column; font-size: var(--fs-sm); }
|
|
312
|
+
.pv-source { all: unset; cursor: pointer; font-size: var(--fs-xs); color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
|
313
|
+
.pv-source:hover { color: var(--text); text-decoration: underline; }
|
|
314
|
+
.pv-source:focus-visible { outline: 2px solid var(--accent); border-radius: var(--r-sm); }
|
|
315
|
+
.pv-panel-bar { display: flex; align-items: center; gap: var(--s-2); padding: var(--s-2) var(--s-3); flex-wrap: wrap; }
|
|
316
|
+
.pv-panel-bar .grow { flex: 1; }
|
|
317
|
+
.pv-panel > .pv-banner, .pv-panel > .pv-note, .pv-newer { margin: 0 var(--s-3) var(--s-2); }
|
|
318
|
+
.pv-panel > .pv-note { margin-top: 0; }
|
|
319
|
+
.pv-newer { display: flex; align-items: center; gap: var(--s-2); flex-wrap: wrap; padding: var(--s-2) var(--s-3); border-radius: var(--r-sm);
|
|
320
|
+
background: var(--surface); font-size: var(--fs-xs); }
|
|
321
|
+
.pv-newer > span { flex: 1; min-width: 0; }
|
|
322
|
+
.pv-panel-body { flex: 1; min-height: 0; display: flex; flex-direction: column; padding: 0 var(--s-3) var(--s-3); }
|
|
323
|
+
.pv-panel-body .pv-holder { flex: 1; min-height: 0; margin: 0; display: flex; flex-direction: column; }
|
|
324
|
+
.pv-panel-body.show-code .pv-holder { display: none; }
|
|
325
|
+
.preview-frame.fill { flex: 1; height: 100%; min-height: 0; }
|
|
326
|
+
.pv-code { flex: 1; min-height: 0; margin: 0; overflow: auto; font-family: var(--font-mono); font-size: var(--fs-xs); line-height: 1.5;
|
|
327
|
+
background: var(--surface); border-radius: var(--r-sm); padding: var(--s-3); white-space: pre-wrap; overflow-wrap: anywhere; color: var(--text); }
|
|
328
|
+
.msg.flash { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: var(--r-sm); transition: outline-color var(--t-med); }
|
|
329
|
+
@media (max-width: 899px) {
|
|
330
|
+
.only-wide { display: none; }
|
|
331
|
+
.pv-divider { display: none; }
|
|
332
|
+
.pv-panel { position: fixed; inset: 0; z-index: 37; width: auto; min-width: 0; max-width: none;
|
|
333
|
+
padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left); }
|
|
334
|
+
}
|
|
335
|
+
/* A narrow panel (a phone, or the divider dragged right): the run controls keep their icons, titles and screen-reader
|
|
336
|
+
names — except Preview, which the panel's note names. */
|
|
337
|
+
@container (max-width: 560px) {
|
|
338
|
+
.pv-panel-bar :not(.pv-panel-run) > .lbl { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
|
|
339
|
+
}
|
|
340
|
+
.pv-menu { position: relative; }
|
|
341
|
+
.pv-menu > summary { list-style: none; cursor: pointer; padding: 2px var(--s-2); border-radius: var(--r-sm); color: var(--text-3); }
|
|
342
|
+
.pv-menu > summary::-webkit-details-marker { display: none; }
|
|
343
|
+
.pv-menu[open] { z-index: 6; background: var(--surface); border-radius: var(--r-sm); padding: var(--s-1); box-shadow: var(--shadow-2); }
|
|
344
|
+
.pv-menu[open] > .chip-btn { display: block; text-align: left; width: max-content; max-width: 260px; white-space: normal; }
|
|
345
|
+
|
|
346
|
+
.jump-latest {
|
|
347
|
+
position: sticky; bottom: var(--s-3); left: 50%; transform: translateX(-50%); z-index: 5; display: inline-flex; align-items: center; gap: var(--s-1);
|
|
348
|
+
background: var(--bg); color: var(--text); border: 1px solid var(--border); border-radius: var(--r-full); box-shadow: var(--shadow-2);
|
|
349
|
+
padding: 6px var(--s-4); font-size: var(--fs-xs); font-weight: var(--fw-semibold); cursor: pointer;
|
|
350
|
+
}
|
|
351
|
+
.dock { flex-shrink: 0; padding: 0 max(var(--s-5), env(safe-area-inset-right)) max(var(--s-3), env(safe-area-inset-bottom)) max(var(--s-5), env(safe-area-inset-left)); }
|
|
352
|
+
.dock-col { max-width: var(--col); margin: 0 auto; display: flex; flex-direction: column; gap: var(--s-2); }
|
|
353
|
+
.prompts { display: flex; flex-direction: column; gap: var(--s-2); }
|
|
354
|
+
.prompt { padding: var(--s-3) var(--s-4); border-radius: var(--r-md); font-size: var(--fs-sm); background: var(--warn-bg); border: 1px solid var(--warn-line); }
|
|
355
|
+
.prompt.done { background: transparent; border-style: dashed; color: var(--text-2); }
|
|
356
|
+
.prompt .txt { white-space: pre-wrap; overflow-wrap: anywhere; }
|
|
357
|
+
.prompt .acts { display: flex; gap: var(--s-2); margin-top: var(--s-2); align-items: center; flex-wrap: wrap; }
|
|
358
|
+
.prompt .wait { font-size: var(--fs-xs); color: var(--text-3); }
|
|
359
|
+
.work-bar { display: flex; gap: var(--s-2); align-items: center; padding: 0 var(--s-2); font-size: var(--fs-sm); color: var(--text-2); }
|
|
360
|
+
.work-bar .lbl { flex: 1; min-width: 0; }
|
|
361
|
+
.work-bar .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); animation: pulse 1.2s ease-in-out infinite; flex-shrink: 0; }
|
|
362
|
+
.work-bar.stuck .pulse, .work-bar.awaiting .pulse { background: var(--warn); animation: none; }
|
|
363
|
+
.work-bar.stopping .pulse { background: var(--text-3); }
|
|
364
|
+
.work-bar.awaiting { color: var(--text); }
|
|
365
|
+
.work-bar .elapsed { font-family: var(--font-mono); font-variant-numeric: tabular-nums; color: var(--text-3); }
|
|
366
|
+
.work-bar .note { color: var(--text-3); font-size: var(--fs-xs); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
367
|
+
.failed-send { padding: var(--s-2) var(--s-3); border-radius: var(--r-md); font-size: var(--fs-xs); background: var(--danger-bg); border: 1px solid var(--danger-line); display: flex; gap: var(--s-2); align-items: center; flex-wrap: wrap; }
|
|
368
|
+
.failed-send .txt { flex: 1; min-width: 120px; white-space: pre-wrap; overflow-wrap: anywhere; max-height: 4.5em; overflow: hidden; }
|
|
369
|
+
.composer-box { background: var(--surface); border-radius: var(--r-xl); box-shadow: var(--shadow-1); }
|
|
370
|
+
.composer-box:focus-within { box-shadow: 0 0 0 1px var(--border-strong), var(--shadow-1); }
|
|
371
|
+
.composer { display: flex; align-items: flex-end; gap: var(--s-1); padding: var(--s-2); }
|
|
372
|
+
.composer textarea {
|
|
373
|
+
flex: 1; min-width: 0; background: transparent; color: var(--text); border: 0; padding: 7px var(--s-1); outline: none;
|
|
374
|
+
font-size: var(--fs-md); line-height: var(--lh-md); resize: none; min-height: 24px; max-height: 240px; overflow-y: auto;
|
|
375
|
+
}
|
|
376
|
+
.composer textarea::placeholder { color: var(--text-3); }
|
|
377
|
+
.btn-send { width: 36px; padding: 0; }
|
|
378
|
+
.btn-send .send-label { display: none; }
|
|
379
|
+
/* A narrow phone: Stop reply beside Send leaves the message box no room — the label is for screen readers there. */
|
|
380
|
+
@media (max-width: 479px) { .btn-stop .stop-label { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; } }
|
|
381
|
+
.btn-stop { background: var(--bg); }
|
|
382
|
+
.hint { font-size: var(--fs-xs); color: var(--text-3); text-align: center; }
|
|
383
|
+
.pending-files { display: flex; flex-wrap: wrap; gap: var(--s-2); padding: var(--s-2) var(--s-2) 0; }
|
|
384
|
+
.file-chip { display: flex; align-items: center; gap: 6px; font-size: var(--fs-xs); padding: 4px var(--s-2); border-radius: var(--r-md); background: var(--bg); max-width: 320px; }
|
|
385
|
+
.file-chip img { width: 28px; height: 28px; object-fit: cover; border-radius: 4px; }
|
|
386
|
+
.file-chip .nm { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
|
|
387
|
+
.file-chip .sz { color: var(--text-3); flex-shrink: 0; }
|
|
388
|
+
.file-chip .ic { display: inline-flex; color: var(--text-2); }
|
|
389
|
+
.file-chip .as-text { white-space: nowrap; flex-shrink: 0; background: none; border: 1px solid var(--border); border-radius: var(--r-sm); color: var(--text-2); cursor: pointer; font-size: 11px; padding: 1px 6px; }
|
|
390
|
+
.chip-x { display: inline-flex; background: none; border: 0; color: var(--text-3); cursor: pointer; padding: 2px; border-radius: 4px; }
|
|
391
|
+
.chip-x:hover { color: var(--text); background: var(--surface-2); }
|
|
392
|
+
.drop-overlay { display: none; }
|
|
393
|
+
.p-chat.dragging .drop-overlay {
|
|
394
|
+
display: flex; position: absolute; inset: var(--s-2); z-index: 20; align-items: center; justify-content: center; pointer-events: none;
|
|
395
|
+
border: 2px dashed var(--accent); border-radius: var(--r-lg); background: color-mix(in srgb, var(--bg) 85%, transparent);
|
|
396
|
+
}
|
|
397
|
+
.drop-card { display: flex; flex-direction: column; align-items: center; gap: var(--s-2); color: var(--accent); font-weight: var(--fw-semibold); }
|
|
398
|
+
|
|
399
|
+
/* ── Toasts ── */
|
|
400
|
+
.toasts { position: fixed; bottom: var(--s-6); right: var(--s-6); z-index: 100; display: flex; flex-direction: column; align-items: flex-end; gap: var(--s-2); pointer-events: none; }
|
|
401
|
+
.toast { padding: 10px var(--s-4); max-width: min(420px, calc(100vw - 32px)); border-radius: var(--r-md); font-size: var(--fs-sm); font-weight: var(--fw-medium); box-shadow: var(--shadow-2); background: var(--accent-fill); color: var(--on-accent); animation: toast-in var(--t-med) var(--ease); }
|
|
402
|
+
.toast.err { background: var(--danger-fill); color: var(--on-danger); }
|
|
403
|
+
@keyframes toast-in { from { transform: translateY(8px); opacity: 0; } to { transform: none; opacity: 1; } }
|
|
404
|
+
|
|
405
|
+
/* ── #1366 tour: a card that names one thing at a time; the outline is a class (#1300) ── */
|
|
406
|
+
.tour { position: fixed; right: var(--s-5); top: 68px; z-index: 38; width: min(360px, calc(100vw - 32px)); background: var(--bg); color: var(--text); border-radius: var(--r-lg); box-shadow: var(--shadow-2); padding: var(--s-4); display: flex; flex-direction: column; gap: var(--s-3); }
|
|
407
|
+
.tour h2 { font-size: var(--fs-md); font-weight: var(--fw-semibold); }
|
|
408
|
+
.tour .tour-text { font-size: var(--fs-sm); line-height: 1.5; }
|
|
409
|
+
.tour .tour-foot { display: flex; align-items: center; gap: var(--s-2); }
|
|
410
|
+
.tour .tour-count { font-size: var(--fs-xs); color: var(--text-2); margin-right: auto; }
|
|
411
|
+
.tour-spot { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: var(--r-sm); }
|
|
412
|
+
|
|
413
|
+
/* ── Phones: the sidebar is a drawer, the composer stays pinned, bottom tabs ── */
|
|
414
|
+
@media (max-width: 899px) {
|
|
415
|
+
.sidebar {
|
|
416
|
+
position: fixed; top: 0; bottom: 0; left: 0; width: min(300px, 86vw); z-index: 40; box-shadow: var(--shadow-2);
|
|
417
|
+
transform: translateX(-105%); transition: transform var(--t-med) var(--ease); visibility: hidden;
|
|
418
|
+
}
|
|
419
|
+
.sb-collapsed .sidebar { display: flex; }
|
|
420
|
+
.sb-open .sidebar { transform: none; visibility: visible; }
|
|
421
|
+
.sb-open .scrim { display: block; position: fixed; inset: 0; background: var(--scrim); z-index: 39; }
|
|
422
|
+
.panel-head .sb-open { display: inline-flex; }
|
|
423
|
+
.only-narrow { display: inline-flex; }
|
|
424
|
+
.thread { padding: var(--s-3) var(--s-3) var(--s-2); gap: var(--s-5); }
|
|
425
|
+
.col { padding: var(--s-3) var(--s-3) var(--s-8); }
|
|
426
|
+
.dock { padding: 0 max(var(--s-2), env(safe-area-inset-right)) var(--s-2) max(var(--s-2), env(safe-area-inset-left)); }
|
|
427
|
+
.composer textarea { font-size: 16px; } /* under 16px, iOS Safari zooms the page on focus */
|
|
428
|
+
.hint { display: none; }
|
|
429
|
+
.msg.user { max-width: 88%; }
|
|
430
|
+
/* Code wraps on a phone: a long line scrolled sideways inside a scrolling page is unreadable (rough edge 9). */
|
|
431
|
+
.codeblock pre { white-space: pre-wrap; overflow-wrap: anywhere; }
|
|
432
|
+
.tabs {
|
|
433
|
+
display: flex; flex-shrink: 0; position: fixed; left: 0; right: 0; bottom: 0; z-index: 35; background: var(--bg-sidebar);
|
|
434
|
+
padding: 0 env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
|
|
435
|
+
}
|
|
436
|
+
.kb-open .tabs { display: none; }
|
|
437
|
+
.tab { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; min-height: 56px; justify-content: center; font-size: 11px; color: var(--text-2); position: relative; }
|
|
438
|
+
.tab.active { color: var(--text); font-weight: var(--fw-semibold); }
|
|
439
|
+
.tab-badge { position: absolute; top: 6px; left: calc(50% + 6px); min-width: 16px; height: 16px; padding: 0 4px; border-radius: var(--r-full); background: var(--danger-fill); color: var(--on-danger); font-size: 10px; line-height: 16px; text-align: center; }
|
|
440
|
+
.main { padding-bottom: calc(56px + env(safe-area-inset-bottom)); }
|
|
441
|
+
.kb-open .main { padding-bottom: 0; }
|
|
442
|
+
.toasts { top: calc(60px + env(safe-area-inset-top)); bottom: auto; left: var(--s-3); right: var(--s-3); align-items: stretch; }
|
|
443
|
+
.tour { left: var(--s-4); right: var(--s-4); width: auto; top: calc(64px + env(safe-area-inset-top)); }
|
|
444
|
+
.dlg { width: 100vw; max-width: 100vw; margin: auto 0 0; border-radius: var(--r-lg) var(--r-lg) 0 0; max-height: 90vh; }
|
|
445
|
+
.dlg-box { max-height: 90vh; }
|
|
446
|
+
.dlg-actions { padding-bottom: max(var(--s-5), env(safe-area-inset-bottom)); }
|
|
447
|
+
.dlg-actions .btn { flex: 1; min-height: var(--tap); }
|
|
448
|
+
.row-item .btn, .s-row .btn, .n-actions .btn { min-height: var(--tap); }
|
|
449
|
+
.s-row .icon-btn { min-width: var(--tap); min-height: var(--tap); }
|
|
450
|
+
.kv { flex-direction: column; align-items: flex-start; gap: 2px; }
|
|
451
|
+
}
|
|
452
|
+
@media (prefers-reduced-motion: reduce) {
|
|
453
|
+
.dot.busy, .work-bar .pulse { animation: none; }
|
|
454
|
+
.sidebar { transition: none; }
|
|
455
|
+
.toast { animation: none; }
|
|
456
|
+
}
|
|
457
|
+
|
|
458
|
+
/* ── View (#1408 step 2): the roster in the sidebar, the terminal, the profile card, usage ── */
|
|
459
|
+
.view-roster { flex: 1; min-height: 0; display: flex; flex-direction: column; }
|
|
460
|
+
.v-group { margin-bottom: var(--s-1); }
|
|
461
|
+
.v-group-head {
|
|
462
|
+
display: flex; align-items: center; gap: var(--s-2); width: 100%; padding: var(--s-2) var(--s-3) var(--s-1); border: 0; background: transparent;
|
|
463
|
+
color: var(--text-3); font-size: var(--fs-xs); font-weight: var(--fw-semibold); text-transform: uppercase; letter-spacing: 0.04em; cursor: pointer; text-align: left;
|
|
464
|
+
}
|
|
465
|
+
.v-group-head:hover { color: var(--text); }
|
|
466
|
+
.v-group-head .grow { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
467
|
+
.v-group-head .count { font-weight: var(--fw-medium); letter-spacing: 0; text-transform: none; padding: 0 var(--s-2); border-radius: var(--r-full); background: var(--surface-2); }
|
|
468
|
+
.caret { transition: transform var(--t-fast) var(--ease); }
|
|
469
|
+
.caret.folded { transform: rotate(-90deg); }
|
|
470
|
+
.caret.flipped { transform: rotate(180deg); } /* the card's toggle: up when closed (it opens upwards) */
|
|
471
|
+
.v-inst { align-items: center; }
|
|
472
|
+
.v-inst .dot { margin-top: 0; }
|
|
473
|
+
.v-meta { color: var(--text-3); font-size: var(--fs-xs); font-variant-numeric: tabular-nums; }
|
|
474
|
+
.cli-icon { width: 10px; height: 10px; flex: 0 0 10px; border-radius: 50%; border: 1px solid var(--border-strong); }
|
|
475
|
+
.cli-claude-code { background: #c678dd; } .cli-kiro-cli { background: #58a6ff; } .cli-codex { background: #3fb950; }
|
|
476
|
+
.cli-grok { background: #0d1117; border-color: #f0f6fc; } .cli-antigravity { background: #f85149; } .cli-opencode { background: #f0f6fc; } .cli-other { background: #6e7681; }
|
|
477
|
+
.dragging { opacity: 0.4; }
|
|
478
|
+
.drop-before { box-shadow: inset 0 2px 0 var(--accent); }
|
|
479
|
+
.drop-after { box-shadow: inset 0 -2px 0 var(--accent); }
|
|
480
|
+
.v-filter { flex: none; padding: var(--s-2) var(--s-3) var(--s-2); border-top: 1px solid var(--border); }
|
|
481
|
+
.v-filter-box { display: flex; align-items: center; gap: var(--s-2); padding: 0 var(--s-1) 0 var(--s-3); border-radius: var(--r-sm); background: var(--surface); color: var(--text-3); }
|
|
482
|
+
.v-filter-box:focus-within { box-shadow: 0 0 0 2px var(--focus); }
|
|
483
|
+
.v-filter-box input { flex: 1; min-width: 0; height: 34px; border: 0; background: transparent; color: var(--text); font-size: var(--fs-sm); outline: none; }
|
|
484
|
+
.v-filter-box input::placeholder { color: var(--text-3); }
|
|
485
|
+
.v-filter-clear { width: 28px; height: 28px; }
|
|
486
|
+
.v-filter .note { padding: var(--s-1) var(--s-1) 0; font-variant-numeric: tabular-nums; }
|
|
487
|
+
|
|
488
|
+
.p-view .panel-actions .btn { gap: var(--s-1); }
|
|
489
|
+
.v-term { flex: 1; min-height: 0; overflow: auto; scrollbar-gutter: stable; padding: 5px 6px; background: #000000; position: relative; }
|
|
490
|
+
.v-pre { margin: 0; min-width: 100%; min-height: 100%; font-family: var(--font-mono); line-height: 1.2; white-space: pre; color: #d0d0d0; }
|
|
491
|
+
.v-pre .ansi[data-b] { font-weight: var(--fw-bold); }
|
|
492
|
+
.v-term-note { position: absolute; left: var(--s-3); right: var(--s-3); top: var(--s-3); padding: var(--s-2) var(--s-3); border-radius: var(--r-sm); background: var(--warn-bg); border: 1px solid var(--warn-line); color: #f0f0f0; font-size: var(--fs-sm); }
|
|
493
|
+
.v-probe { position: absolute; visibility: hidden; white-space: pre; left: -9999px; top: 0; font-size: 100px; }
|
|
494
|
+
.v-card { flex-shrink: 0; display: flex; align-items: center; gap: var(--s-3); padding: var(--s-2) var(--s-4); background: var(--bg); padding-bottom: max(var(--s-2), env(safe-area-inset-bottom)); }
|
|
495
|
+
.v-card.open { align-items: flex-start; padding-top: var(--s-3); padding-bottom: var(--s-3); }
|
|
496
|
+
.v-avatar { width: 28px; height: 28px; flex-shrink: 0; border-radius: 50%; overflow: hidden; background: var(--surface-2); display: flex; align-items: center; justify-content: center; }
|
|
497
|
+
.v-card.open .v-avatar { width: 48px; height: 48px; }
|
|
498
|
+
.v-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
|
|
499
|
+
.v-initial { color: var(--text-2); font-weight: var(--fw-semibold); text-transform: uppercase; }
|
|
500
|
+
.v-card-body { flex: 1; min-width: 0; }
|
|
501
|
+
.v-card-line { display: flex; align-items: baseline; gap: var(--s-2); font-size: var(--fs-sm); min-width: 0; }
|
|
502
|
+
.v-card-line strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
|
503
|
+
.v-role { color: var(--accent); font-size: var(--fs-xs); white-space: nowrap; }
|
|
504
|
+
.v-card-meta { color: var(--text-3); font-size: var(--fs-xs); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
|
505
|
+
.v-card.open .v-card-meta { white-space: normal; }
|
|
506
|
+
.v-card-desc { margin-top: var(--s-2); color: var(--text-2); font-size: var(--fs-sm); white-space: pre-wrap; }
|
|
507
|
+
.help-list { list-style: disc; padding-left: var(--s-5); display: flex; flex-direction: column; gap: var(--s-2); font-size: var(--fs-sm); }
|
|
508
|
+
.err { color: var(--danger); font-size: var(--fs-sm); }
|
|
509
|
+
.u-provider { padding: var(--s-3) var(--s-4); border-radius: var(--r-md); background: var(--surface); display: flex; flex-direction: column; gap: var(--s-2); }
|
|
510
|
+
.u-head { display: flex; align-items: center; gap: var(--s-2); }
|
|
511
|
+
.u-order { margin-left: auto; display: flex; gap: 2px; }
|
|
512
|
+
.u-order .icon-btn { width: 28px; height: 28px; }
|
|
513
|
+
.u-order .icon-btn:disabled { opacity: 0.3; }
|
|
514
|
+
.u-metric { display: flex; flex-direction: column; gap: var(--s-1); }
|
|
515
|
+
.u-row { display: flex; align-items: baseline; gap: var(--s-2); font-size: var(--fs-sm); }
|
|
516
|
+
.u-label { flex: 1; min-width: 0; color: var(--text-2); }
|
|
517
|
+
.u-val { font-weight: var(--fw-semibold); font-variant-numeric: tabular-nums; }
|
|
518
|
+
.u-pct { font-size: 24px; font-weight: var(--fw-bold); line-height: 1; font-variant-numeric: tabular-nums; }
|
|
519
|
+
.u-unit { font-size: var(--fs-sm); margin-left: 1px; opacity: 0.75; }
|
|
520
|
+
.u-pct.warn, .u-status.warn { color: var(--warn); } .u-pct.crit, .u-status.crit { color: var(--danger); }
|
|
521
|
+
.u-status { font-size: 11px; font-weight: var(--fw-bold); padding: 1px var(--s-2); border-radius: var(--r-full); background: var(--surface-2); align-self: center; }
|
|
522
|
+
.u-meter { height: 10px; border-radius: var(--r-full); background: var(--surface-2); overflow: hidden; }
|
|
523
|
+
.u-fill { height: 100%; width: 0; min-width: 3px; border-radius: var(--r-full); background: var(--accent); transition: width 0.3s var(--ease); }
|
|
524
|
+
.u-fill.warn { background: var(--warn); } .u-fill.crit { background: var(--danger); }
|
|
525
|
+
.u-sub { color: var(--text-3); font-size: var(--fs-xs); font-variant-numeric: tabular-nums; }
|
|
526
|
+
.u-err { color: var(--warn); font-size: var(--fs-sm); }
|
|
527
|
+
.u-foot { display: flex; align-items: center; justify-content: space-between; gap: var(--s-2); }
|
|
528
|
+
@media (max-width: 899px) {
|
|
529
|
+
.hide-narrow { display: none; }
|
|
530
|
+
.v-card { padding-left: var(--s-3); padding-right: var(--s-3); }
|
|
531
|
+
.v-card .btn { min-height: var(--tap); }
|
|
532
|
+
}
|
|
533
|
+
|
|
534
|
+
/* ── Settings (#1408 step 3): lists, forms, the pending bar, the Apply in hand ── */
|
|
535
|
+
.p-settings .panel-body { padding-bottom: 72px; }
|
|
536
|
+
.s-toolbar { display: flex; gap: var(--s-2); margin: var(--s-2) 0; }
|
|
537
|
+
.s-search { flex: 1; display: flex; align-items: center; gap: var(--s-2); padding: 0 var(--s-3); border-radius: var(--r-sm); background: var(--surface); color: var(--text-3); }
|
|
538
|
+
.s-search:focus-within { box-shadow: 0 0 0 2px var(--focus); }
|
|
539
|
+
.s-search input { flex: 1; min-width: 0; height: 36px; border: 0; background: transparent; color: var(--text); outline: none; font-size: var(--fs-sm); }
|
|
540
|
+
.s-list { display: flex; flex-direction: column; gap: 2px; margin-bottom: var(--s-4); }
|
|
541
|
+
.s-group { margin-bottom: var(--s-2); }
|
|
542
|
+
.s-group-head { display: flex; align-items: center; gap: var(--s-2); width: 100%; padding: var(--s-2) var(--s-2); border: 0; background: transparent; color: var(--text-3);
|
|
543
|
+
font-size: var(--fs-xs); font-weight: var(--fw-semibold); text-transform: uppercase; letter-spacing: 0.04em; cursor: pointer; text-align: left; }
|
|
544
|
+
.s-group-head:hover { color: var(--text); }
|
|
545
|
+
.s-group-head .grow { flex: 1; }
|
|
546
|
+
.s-group-head .count { padding: 0 var(--s-2); border-radius: var(--r-full); background: var(--surface-2); text-transform: none; letter-spacing: 0; }
|
|
547
|
+
.s-row { display: flex; align-items: center; gap: var(--s-2); flex-wrap: wrap; min-height: 48px; padding: var(--s-2) var(--s-3); border-radius: var(--r-md); background: var(--surface); }
|
|
548
|
+
.s-name { font-weight: var(--fw-semibold); font-size: var(--fs-sm); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 14em; }
|
|
549
|
+
.s-meta { color: var(--text-3); font-size: var(--fs-xs); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 16em; }
|
|
550
|
+
/* A connection's row (#1408 step 5): one line on a desktop — identity | facts (clipped) | cluster. */
|
|
551
|
+
.s-row.s-conn { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; column-gap: var(--s-3); row-gap: var(--s-1); }
|
|
552
|
+
.s-ident { display: flex; align-items: center; gap: var(--s-2); min-width: 0; }
|
|
553
|
+
.s-facts { min-width: 0; color: var(--text-3); font-size: var(--fs-xs); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
|
554
|
+
.s-conn .s-actions { margin-left: 0; flex-wrap: nowrap; }
|
|
555
|
+
@media (max-width: 899px) {
|
|
556
|
+
.s-row.s-conn { grid-template-columns: minmax(0, 1fr) auto; }
|
|
557
|
+
.s-conn .s-facts { grid-column: 1 / -1; grid-row: 2; }
|
|
558
|
+
}
|
|
559
|
+
/* A narrow phone: the cluster (token, state, Settings) goes under the facts, so the name keeps its line (alpha.2 sweep). */
|
|
560
|
+
@media (max-width: 479px) {
|
|
561
|
+
.s-row.s-conn { grid-template-columns: minmax(0, 1fr); }
|
|
562
|
+
.s-conn .s-actions { grid-column: 1; grid-row: 3; flex-wrap: wrap; }
|
|
563
|
+
}
|
|
564
|
+
.s-state { font-size: var(--fs-xs); }
|
|
565
|
+
.s-state.ok { color: var(--ok); }
|
|
566
|
+
.s-state.bad { color: var(--danger); }
|
|
567
|
+
.s-actions { margin-left: auto; display: flex; align-items: center; gap: var(--s-1); flex-wrap: wrap; }
|
|
568
|
+
.tag { font-size: 11px; padding: 1px var(--s-2); border-radius: var(--r-full); background: var(--surface-2); color: var(--text-2); white-space: nowrap; }
|
|
569
|
+
.tag.persona { background: var(--accent-dim); color: var(--accent); }
|
|
570
|
+
.tag.warn { background: var(--warn-bg); color: var(--warn); }
|
|
571
|
+
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-3) var(--s-4); }
|
|
572
|
+
.override { display: flex; flex-direction: column; gap: var(--s-1); }
|
|
573
|
+
.inherit-row { font-size: var(--fs-xs); color: var(--text-3); }
|
|
574
|
+
.impact { font-size: 11px; font-weight: var(--fw-regular); color: var(--text-3); margin-left: var(--s-1); }
|
|
575
|
+
.check .impact { margin-left: auto; }
|
|
576
|
+
.feedback { font-size: var(--fs-xs); color: var(--text-2); }
|
|
577
|
+
.feedback.error { color: var(--danger); }
|
|
578
|
+
.feedback.warning { color: var(--warn); }
|
|
579
|
+
.field input.invalid, input.invalid { border-color: var(--danger); }
|
|
580
|
+
.drawer { border-top: 1px solid var(--border); padding-top: var(--s-2); }
|
|
581
|
+
.drawer > summary { cursor: pointer; color: var(--text-2); font-size: var(--fs-sm); font-weight: var(--fw-medium); padding: var(--s-1) 0; }
|
|
582
|
+
.drawer-body { display: flex; flex-direction: column; gap: var(--s-3); padding-top: var(--s-2); }
|
|
583
|
+
.chips-box { display: flex; flex-direction: column; gap: var(--s-1); }
|
|
584
|
+
.chips { display: flex; flex-wrap: wrap; gap: var(--s-1); }
|
|
585
|
+
.chip { display: inline-flex; align-items: center; gap: 2px; padding: 2px 2px 2px var(--s-2); border-radius: var(--r-full); background: var(--surface-2); font-size: var(--fs-xs); }
|
|
586
|
+
.chip-x { display: inline-flex; border: 0; background: transparent; color: var(--text-3); cursor: pointer; padding: 2px; border-radius: 50%; }
|
|
587
|
+
.chip-x:hover { color: var(--text); background: var(--surface); }
|
|
588
|
+
.dlg-impact { margin-right: auto; align-self: center; }
|
|
589
|
+
.dlg-inline-actions { display: flex; align-items: center; gap: var(--s-2); flex-wrap: wrap; }
|
|
590
|
+
.seg-inline { display: inline-flex; gap: var(--s-1); }
|
|
591
|
+
.btn.on { background: var(--surface-2); color: var(--text); font-weight: var(--fw-semibold); }
|
|
592
|
+
.card h4 { font-size: var(--fs-sm); font-weight: var(--fw-semibold); color: var(--text-2); }
|
|
593
|
+
.pill.ver { text-transform: none; letter-spacing: 0; }
|
|
594
|
+
.s-key { display: flex; flex-direction: column; gap: var(--s-1); padding: var(--s-2) 0; border-top: 1px solid var(--border); }
|
|
595
|
+
.s-key:first-of-type { border-top: 0; }
|
|
596
|
+
.s-key-row { display: flex; align-items: center; gap: var(--s-2); flex-wrap: wrap; }
|
|
597
|
+
.s-key-row input { flex: 1; min-width: 10em; height: 34px; padding: 0 var(--s-3); border-radius: var(--r-sm); border: 1px solid var(--border); background: var(--bg); color: var(--text); }
|
|
598
|
+
.s-dev-bar { display: flex; align-items: center; gap: var(--s-2); flex-wrap: wrap; }
|
|
599
|
+
.s-yaml { font-family: var(--font-mono); font-size: var(--fs-xs); line-height: 1.5; background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-sm); padding: var(--s-3);
|
|
600
|
+
overflow: auto; max-height: 60vh; white-space: pre; margin: 0; color: var(--text); }
|
|
601
|
+
textarea.s-yaml { width: 100%; min-height: 50vh; resize: vertical; }
|
|
602
|
+
/* Lines too long for the box scroll sideways; a shadow at an edge says there is more that way (alpha.2 sweep). */
|
|
603
|
+
.s-yaml {
|
|
604
|
+
background:
|
|
605
|
+
linear-gradient(to right, var(--bg) 30%, transparent) left / 24px 100% no-repeat local,
|
|
606
|
+
linear-gradient(to left, var(--bg) 30%, transparent) right / 24px 100% no-repeat local,
|
|
607
|
+
radial-gradient(farthest-side at 0 50%, color-mix(in srgb, var(--text) 22%, transparent), transparent) left / 10px 100% no-repeat scroll,
|
|
608
|
+
radial-gradient(farthest-side at 100% 50%, color-mix(in srgb, var(--text) 22%, transparent), transparent) right / 10px 100% no-repeat scroll,
|
|
609
|
+
var(--bg);
|
|
610
|
+
}
|
|
611
|
+
textarea.s-yaml { white-space: pre; overflow-x: auto; }
|
|
612
|
+
.s-br { display: none; }
|
|
613
|
+
@media (max-width: 479px) {
|
|
614
|
+
/* Settings → Developer: one toolbar row, icons only (names stay as titles and for screen readers). */
|
|
615
|
+
.s-dev-bar { flex-wrap: nowrap; }
|
|
616
|
+
.s-dev-bar .lbl { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
|
|
617
|
+
/* An agent's row: name and model on the first line, its tags and buttons from the second, on every row alike. */
|
|
618
|
+
.s-br { display: block; flex-basis: 100%; height: 0; }
|
|
619
|
+
/* View: the profile line wraps to two lines instead of hiding the model and context. */
|
|
620
|
+
.v-card-meta { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
|
|
621
|
+
/* A text button in Needs you lines up with the text above it, first in its row or wrapped onto a line of its own;
|
|
622
|
+
a row's trailing Delete sits at the right. */
|
|
623
|
+
.n-actions > .btn-ghost { padding-left: 0; padding-right: 0; margin-left: -1px; }
|
|
624
|
+
.row-item > .btn-ghost:last-child { margin-left: auto; margin-right: calc(-1 * var(--s-3) - 1px); }
|
|
625
|
+
}
|
|
626
|
+
.s-pending { position: sticky; bottom: 0; display: flex; align-items: center; gap: var(--s-3); flex-wrap: wrap; padding: var(--s-3) var(--s-5);
|
|
627
|
+
background: var(--bg); border-top: 1px solid var(--border); box-shadow: var(--shadow-2); }
|
|
628
|
+
.s-pending .grow { flex: 1; }
|
|
629
|
+
.s-op { border: 1px solid var(--border); }
|
|
630
|
+
.s-op.failed { border-color: var(--danger-line); }
|
|
631
|
+
.s-op-head { display: flex; align-items: center; gap: var(--s-2); }
|
|
632
|
+
.s-op-head .grow, .s-step .grow { flex: 1; min-width: 0; }
|
|
633
|
+
.s-op-steps { display: flex; flex-direction: column; gap: var(--s-1); }
|
|
634
|
+
.s-step { display: flex; align-items: center; gap: var(--s-2); font-size: var(--fs-sm); flex-wrap: wrap; }
|
|
635
|
+
.s-step-icon { width: 16px; display: inline-flex; justify-content: center; color: var(--text-3); }
|
|
636
|
+
.s-step.done .s-step-icon { color: var(--ok); }
|
|
637
|
+
.s-step.failed .s-step-icon { color: var(--danger); }
|
|
638
|
+
.s-step.waiting .s-step-icon, .s-step.restart-required .s-step-icon { color: var(--warn); }
|
|
639
|
+
.se { display: flex; flex-direction: column; gap: var(--s-2); }
|
|
640
|
+
.se-preview { display: flex; flex-wrap: wrap; gap: var(--s-2); }
|
|
641
|
+
.se-item { display: inline-flex; align-items: center; gap: var(--s-1); font-size: var(--fs-xs); }
|
|
642
|
+
.se-glyph img, .se-grid img { width: 18px; height: 18px; vertical-align: middle; }
|
|
643
|
+
.se-rows { display: flex; flex-direction: column; gap: var(--s-1); }
|
|
644
|
+
.se-row { display: grid; grid-template-columns: 9em minmax(0, 1fr) auto auto; gap: var(--s-1); align-items: center; font-size: var(--fs-sm); }
|
|
645
|
+
.se-row input { height: 32px; padding: 0 var(--s-2); border-radius: var(--r-sm); border: 1px solid var(--border); background: var(--bg); color: var(--text); }
|
|
646
|
+
.se-picker { grid-column: 1 / -1; display: flex; flex-direction: column; gap: var(--s-2); padding: var(--s-2); border-radius: var(--r-sm); background: var(--surface-2); }
|
|
647
|
+
.se-grid { display: flex; flex-wrap: wrap; gap: 2px; }
|
|
648
|
+
.se-grid .btn.off { opacity: 0.4; }
|
|
649
|
+
.se-default { opacity: 0.7; }
|
|
650
|
+
/* #1423: requests waiting for a fleet admin, in any panel */
|
|
651
|
+
.pending-stack { position: fixed; right: var(--s-4); top: calc(var(--header-h) + var(--s-2)); z-index: 40; display: flex; flex-direction: column; gap: var(--s-2); width: min(360px, calc(100vw - 32px)); }
|
|
652
|
+
/* In Settings the cards sit in the column, right under the operation — every width (alpha.2 sweep). */
|
|
653
|
+
.pending-stack.inline, .shell:has(.s-pending) .pending-stack.inline { position: static; width: auto; margin-bottom: var(--s-4); }
|
|
654
|
+
.pending-card { background: var(--bg); border: 1px solid var(--border-strong); border-radius: var(--r-md); box-shadow: var(--shadow-2); padding: var(--s-3) var(--s-4); display: flex; flex-direction: column; gap: var(--s-1); font-size: var(--fs-sm); }
|
|
655
|
+
.pending-card.applied { border-color: var(--ok); }
|
|
656
|
+
.pending-card.rejected, .pending-card.expired, .pending-card.stale, .pending-card.failed { border-color: var(--danger-line); }
|
|
657
|
+
.pending-head { display: flex; align-items: center; gap: var(--s-2); }
|
|
658
|
+
.pending-head strong { flex: 1; }
|
|
659
|
+
.pending-left { font-variant-numeric: tabular-nums; color: var(--text-3); font-size: var(--fs-xs); }
|
|
660
|
+
.pending-label { color: var(--text-2); }
|
|
661
|
+
.pending-summary { list-style: disc; padding-left: var(--s-5); color: var(--text-2); font-size: var(--fs-xs); }
|
|
662
|
+
.pending-actions { display: flex; justify-content: flex-end; }
|
|
663
|
+
/* Settings' pending bar sits at the bottom of the page: toasts and request cards stand above it, never on its buttons. */
|
|
664
|
+
.shell:has(.s-pending) .toasts { bottom: calc(var(--s-6) + 64px); }
|
|
665
|
+
/* In a chat the composer owns the bottom (Stop reply, Send): toasts come in under the header instead (alpha.2 sweep). */
|
|
666
|
+
@media (min-width: 900px) { .shell:has(.p-chat) .toasts { top: calc(var(--header-h) + var(--s-2)); bottom: auto; } }
|
|
667
|
+
.op-line { display: flex; align-items: center; justify-content: center; gap: var(--s-2); }
|
|
668
|
+
.op-line.ok { color: var(--ok); }
|
|
669
|
+
.op-line.bad { color: var(--danger); }
|
|
670
|
+
@media (max-width: 899px) {
|
|
671
|
+
.grid2 { grid-template-columns: minmax(0, 1fr); }
|
|
672
|
+
.se-row { grid-template-columns: minmax(0, 1fr) auto auto; }
|
|
673
|
+
.se-row label { grid-column: 1 / -1; }
|
|
674
|
+
.dlg-actions { flex-wrap: wrap; }
|
|
675
|
+
.dlg-impact { flex-basis: 100%; }
|
|
676
|
+
.pending-stack { right: var(--s-3); left: var(--s-3); width: auto; top: auto; bottom: calc(64px + var(--s-3)); }
|
|
677
|
+
.shell:has(.s-pending) .pending-stack { bottom: calc(64px + 64px + var(--s-3)); }
|
|
678
|
+
.shell:has(.s-pending) .toasts { bottom: auto; }
|
|
679
|
+
.s-pending { padding: var(--s-2) var(--s-3); }
|
|
680
|
+
}
|
|
681
|
+
|
|
682
|
+
/* ── Needs you (#1408 step 4 = #1386 part b) ── */
|
|
683
|
+
.nav-count { min-width: 20px; height: 20px; padding: 0 6px; border-radius: var(--r-full); background: var(--danger-fill); color: var(--on-danger);
|
|
684
|
+
font-size: 11px; font-weight: var(--fw-semibold); line-height: 20px; text-align: center; font-variant-numeric: tabular-nums; }
|
|
685
|
+
.n-group { margin-bottom: var(--s-4); }
|
|
686
|
+
.n-group-head { display: flex; align-items: center; gap: var(--s-2); padding: var(--s-2) var(--s-1); color: var(--text-2); font-size: var(--fs-sm); font-weight: var(--fw-semibold); }
|
|
687
|
+
.n-group-head a { color: inherit; }
|
|
688
|
+
.n-group-head a:hover { text-decoration: underline; }
|
|
689
|
+
.n-item { display: flex; gap: var(--s-3); padding: var(--s-3) var(--s-4); border-radius: var(--r-md); background: var(--surface); margin-bottom: 2px; }
|
|
690
|
+
.n-icon { flex: none; margin-top: 2px; color: var(--warn); }
|
|
691
|
+
.n-item.bad .n-icon { color: var(--danger); }
|
|
692
|
+
.n-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: var(--s-1); }
|
|
693
|
+
.n-title { display: flex; align-items: baseline; gap: var(--s-2); flex-wrap: wrap; }
|
|
694
|
+
.n-title strong { font-size: var(--fs-sm); }
|
|
695
|
+
.n-age { color: var(--text-3); font-size: var(--fs-xs); font-variant-numeric: tabular-nums; }
|
|
696
|
+
.n-detail { color: var(--text-2); font-size: var(--fs-sm); overflow-wrap: anywhere; white-space: pre-wrap; }
|
|
697
|
+
.n-actions { display: flex; gap: var(--s-2); flex-wrap: wrap; margin-top: var(--s-1); }
|
|
698
|
+
.n-notify { display: flex; flex-direction: column; gap: var(--s-1); }
|
|
699
|
+
.confirm-text { white-space: pre-wrap; font-size: var(--fs-sm); color: var(--text-2); }
|
|
700
|
+
|
|
701
|
+
/* ── Org chart (#1389): General → teams → instances. Connectors are borders and pseudo-elements; no inline style.
|
|
702
|
+
Desktop: General's stem meets the bus over the team grid (no per-team ticks: a wrapped row would have nothing to
|
|
703
|
+
meet). Phone: one column hanging off a rail, a tick into each team. ── */
|
|
704
|
+
.col.col-wide { max-width: 1240px; }
|
|
705
|
+
.org-head { flex-wrap: wrap; }
|
|
706
|
+
.org-counts { display: flex; flex-wrap: wrap; gap: var(--s-1) var(--s-3); list-style: none; }
|
|
707
|
+
.org-count { display: inline-flex; align-items: center; gap: var(--s-1); font-size: var(--fs-xs); color: var(--text-2); white-space: nowrap; }
|
|
708
|
+
.org-note { margin-bottom: var(--s-3); }
|
|
709
|
+
.org-nodes { list-style: none; display: flex; flex-direction: column; gap: var(--s-2); }
|
|
710
|
+
.org-top .org-nodes { flex-direction: row; flex-wrap: wrap; justify-content: center; }
|
|
711
|
+
.org-top .org-node { width: min(100%, 360px); }
|
|
712
|
+
.org-top::after { content: ""; display: block; width: 2px; height: var(--s-5); margin: 0 auto; background: var(--border-strong); }
|
|
713
|
+
.org-teams { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: var(--s-4); align-items: start; }
|
|
714
|
+
.org-top + .org-teams, .org-top + .org-note + .org-teams { position: relative; padding-top: var(--s-5); border-top: 2px solid var(--border-strong); }
|
|
715
|
+
.org-team { position: relative; display: flex; flex-direction: column; gap: var(--s-3); min-width: 0; padding: var(--s-3); border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--bg); }
|
|
716
|
+
.org-team-head { display: flex; flex-direction: column; gap: var(--s-1); min-width: 0; }
|
|
717
|
+
.org-team-head h3 { display: flex; align-items: center; gap: var(--s-2); font-size: var(--fs-md); font-weight: var(--fw-semibold); overflow-wrap: anywhere; }
|
|
718
|
+
.org-team-desc { color: var(--text-2); font-size: var(--fs-sm); overflow-wrap: anywhere; }
|
|
719
|
+
.org-team-sub { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-1) var(--s-3); font-size: var(--fs-xs); }
|
|
720
|
+
.org-node { display: flex; flex-direction: column; gap: var(--s-1); min-width: 0; padding: var(--s-3); border-radius: var(--r-md); background: var(--surface); border-left: 3px solid transparent; }
|
|
721
|
+
.org-node.st-needs, .org-node.st-stuck { border-left-color: var(--warn); }
|
|
722
|
+
.org-node.st-crashed { border-left-color: var(--danger); }
|
|
723
|
+
.org-node.st-working { border-left-color: var(--ok); }
|
|
724
|
+
.org-node.st-missing { opacity: 0.7; }
|
|
725
|
+
.org-node-head { display: flex; align-items: center; gap: var(--s-2); min-width: 0; }
|
|
726
|
+
.org-names { flex: 1; min-width: 0; display: flex; flex-direction: column; }
|
|
727
|
+
.org-alias, .org-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
728
|
+
.org-alias { font-size: var(--fs-sm); }
|
|
729
|
+
.org-name { font-size: var(--fs-xs); color: var(--text-2); }
|
|
730
|
+
strong.org-name { font-size: var(--fs-sm); color: var(--text); }
|
|
731
|
+
.org-state { flex-shrink: 0; font-size: 11px; line-height: 18px; padding: 0 var(--s-2); border-radius: var(--r-full); border: 1px solid var(--border); color: var(--text-2); white-space: nowrap; }
|
|
732
|
+
.org-state.st-needs { background: var(--warn-bg); color: var(--warn); border-color: var(--warn-line); }
|
|
733
|
+
.org-state.st-stuck { color: var(--warn); border-color: var(--warn-line); }
|
|
734
|
+
.org-state.st-crashed { color: var(--danger); border-color: var(--danger); }
|
|
735
|
+
.org-state.st-working { color: var(--ok); }
|
|
736
|
+
.org-desc { color: var(--text-2); font-size: var(--fs-sm); overflow: hidden; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
|
|
737
|
+
.org-meta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-1) var(--s-2); min-width: 0; font-size: var(--fs-xs); color: var(--text-3); }
|
|
738
|
+
.org-chip { padding: 0 var(--s-2); border-radius: var(--r-full); background: var(--surface-2); color: var(--text-2); white-space: nowrap; }
|
|
739
|
+
.org-model { min-width: 0; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
740
|
+
.org-links { display: flex; flex-wrap: wrap; gap: var(--s-1) var(--s-3); }
|
|
741
|
+
.org-link { display: inline-flex; align-items: center; gap: var(--s-1); font-size: var(--fs-xs); color: var(--accent); }
|
|
742
|
+
.org-link:hover { text-decoration: underline; }
|
|
743
|
+
@media (max-width: 899px) {
|
|
744
|
+
/* A phone: one column, the teams hang off a rail on the left. */
|
|
745
|
+
.org-top::after { margin: 0 0 0 var(--s-4); }
|
|
746
|
+
.org-top + .org-teams, .org-top + .org-note + .org-teams { border-top: 0; padding-top: 0; margin-left: var(--s-4); padding-left: var(--s-4); border-left: 2px solid var(--border-strong); }
|
|
747
|
+
.org-top + .org-teams .org-team::before, .org-top + .org-note + .org-teams .org-team::before {
|
|
748
|
+
content: ""; position: absolute; top: var(--s-5); left: calc(-1 * var(--s-4) - 2px); width: var(--s-4); height: 2px; background: var(--border-strong); }
|
|
749
|
+
.org-link { min-height: var(--tap); }
|
|
750
|
+
}
|
|
751
|
+
/* A phone: Fleet's five tabs fit when only the open one shows its label (the others keep theirs for screen readers). */
|
|
752
|
+
@media (max-width: 479px) {
|
|
753
|
+
.p-fleet .seg-item:not(.active) > span, .p-settings .seg-item:not(.active) > span { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
|
|
754
|
+
}
|
|
755
|
+
|
|
756
|
+
/* ── Cache analysis (#1468): Fleet → Cache. Bars are SVG attributes; nothing here is an inline style. ── */
|
|
757
|
+
.ch { display: flex; flex-direction: column; gap: var(--s-4); }
|
|
758
|
+
.ch-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-2) var(--s-4); margin-top: var(--s-2); }
|
|
759
|
+
.ch-scan { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2); font-size: var(--fs-xs); color: var(--text-2); }
|
|
760
|
+
.ch-fleet { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-3); }
|
|
761
|
+
.ch-notes { display: flex; flex-direction: column; gap: var(--s-1); font-size: var(--fs-xs); }
|
|
762
|
+
.ch-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr)); gap: var(--s-4); align-items: start; }
|
|
763
|
+
.ch-card { display: flex; flex-direction: column; gap: var(--s-3); min-width: 0; padding: var(--s-4); border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--bg); }
|
|
764
|
+
.ch-card.on { border-color: var(--ok); }
|
|
765
|
+
.ch-head { display: flex; align-items: flex-start; gap: var(--s-3); }
|
|
766
|
+
.ch-id { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
|
|
767
|
+
.ch-id h3 { font-size: var(--fs-sm); font-weight: var(--fw-semibold); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
768
|
+
.ch-models { font-size: var(--fs-xs); color: var(--text-3); overflow-wrap: anywhere; }
|
|
769
|
+
.ch-rec { flex-shrink: 0; font-size: 11px; line-height: 20px; padding: 0 var(--s-2); border-radius: var(--r-full); border: 1px solid var(--border); color: var(--text-2); white-space: nowrap; }
|
|
770
|
+
.ch-rec.on { color: var(--ok); border-color: var(--ok); font-weight: var(--fw-semibold); }
|
|
771
|
+
.ch-reason { font-size: var(--fs-sm); color: var(--text-2); overflow-wrap: anywhere; }
|
|
772
|
+
.ch-tag { display: inline-block; font-size: 11px; line-height: 18px; padding: 0 var(--s-2); border-radius: var(--r-full); background: var(--surface-2); color: var(--text-2); }
|
|
773
|
+
.ch-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-2) var(--s-3); }
|
|
774
|
+
.ch-metric { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
|
|
775
|
+
.ch-metric dt { font-size: 11px; color: var(--text-3); line-height: var(--lh-xs); }
|
|
776
|
+
.ch-metric dd { margin: 0; font-size: var(--fs-md); font-weight: var(--fw-semibold); font-variant-numeric: tabular-nums; display: flex; flex-direction: column; }
|
|
777
|
+
.ch-sub { font-size: 11px; font-weight: var(--fw-regular); color: var(--text-3); }
|
|
778
|
+
.ch-fleet .ch-metric dd { font-size: var(--fs-lg); }
|
|
779
|
+
.ch-hist { display: block; width: 100%; height: 96px; color: var(--text-2); }
|
|
780
|
+
.ch-col rect { fill: var(--accent); opacity: 0.55; }
|
|
781
|
+
.ch-col.past rect { fill: var(--warn); opacity: 0.85; }
|
|
782
|
+
.ch-n, .ch-l { font-size: 9px; fill: currentColor; }
|
|
783
|
+
.ch-ttl line { stroke: var(--danger); stroke-width: 1.5; stroke-dasharray: 3 3; }
|
|
784
|
+
.ch-ttl text { font-size: 9px; fill: var(--danger); }
|
|
785
|
+
.ch-rest .row-item { font-size: var(--fs-xs); }
|
|
786
|
+
@media (max-width: 899px) {
|
|
787
|
+
.ch-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
|
|
788
|
+
.ch-fleet { grid-template-columns: minmax(0, 1fr); }
|
|
789
|
+
.ch-bar .btn { min-height: var(--tap); }
|
|
790
|
+
}
|
|
791
|
+
|
|
792
|
+
/* ── Chat commands and quick actions (#1269) ── */
|
|
793
|
+
.hd-chip { margin-left: var(--s-2); padding: 0 var(--s-2); border: 1px solid var(--border); border-radius: var(--r-full); background: transparent; color: var(--text-2);
|
|
794
|
+
font-size: var(--fs-xs); line-height: 20px; cursor: pointer; max-width: 16em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: middle; }
|
|
795
|
+
.hd-chip:hover { background: var(--surface); color: var(--text); }
|
|
796
|
+
.composer-box { position: relative; }
|
|
797
|
+
.cmd-palette { position: absolute; left: 0; right: 0; bottom: calc(100% + var(--s-1)); z-index: 20; list-style: none; max-height: 280px; overflow-y: auto;
|
|
798
|
+
padding: var(--s-1); border: 1px solid var(--border); border-radius: var(--r-md); background: var(--bg); box-shadow: var(--shadow-2); }
|
|
799
|
+
.cmd-palette li { display: flex; align-items: baseline; gap: var(--s-3); padding: var(--s-2) var(--s-3); border-radius: var(--r-sm); cursor: pointer; font-size: var(--fs-sm); }
|
|
800
|
+
.cmd-palette li.on, .cmd-palette li:hover { background: var(--surface-2); }
|
|
801
|
+
.cmd-palette .cmd-name { flex-shrink: 0; white-space: nowrap; }
|
|
802
|
+
.cmd-palette .cmd-desc { color: var(--text-3); font-size: var(--fs-xs); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
803
|
+
.cmd-palette .cmd-arg { color: var(--text-3); }
|
|
804
|
+
.cmd-palette .cmd-none { color: var(--text-3); cursor: default; }
|
|
805
|
+
.cmd-card { display: flex; flex-direction: column; gap: var(--s-2); margin-bottom: var(--s-2); padding: var(--s-2) var(--s-3); border-radius: var(--r-md); background: var(--surface); font-size: var(--fs-sm); }
|
|
806
|
+
.cmd-card.bad { border-left: 3px solid var(--danger); }
|
|
807
|
+
.cmd-head { display: flex; align-items: center; justify-content: space-between; gap: var(--s-2); }
|
|
808
|
+
.cmd-name { font-weight: var(--fw-semibold); }
|
|
809
|
+
.cmd-text { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; font-family: var(--font-ui); color: var(--text-2); }
|
|
810
|
+
.cmd-choices { display: flex; flex-wrap: wrap; gap: var(--s-1); max-height: 180px; overflow-y: auto; }
|
|
811
|
+
.cmd-choices .btn.current { border-color: var(--accent); color: var(--accent); }
|
|
812
|
+
.quick-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2); margin-bottom: var(--s-2); font-size: var(--fs-xs); color: var(--text-2); }
|
|
813
|
+
/* A phone: the instance's name keeps the header; /model and /effort are a "/" away. */
|
|
814
|
+
@media (max-width: 479px) { .hd-chip { display: none; } }
|
|
815
|
+
@media (max-width: 899px) {
|
|
816
|
+
.hd-chip { max-width: 9em; }
|
|
817
|
+
.cmd-palette li { min-height: var(--tap); align-items: center; flex-wrap: wrap; row-gap: 0; }
|
|
818
|
+
.cmd-palette .cmd-desc { white-space: normal; flex-basis: 100%; }
|
|
819
|
+
.cmd-choices .btn, .quick-actions .btn { min-height: var(--tap); }
|
|
820
|
+
}
|