create-safest-tools 0.2.0

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.
Files changed (240) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +71 -0
  3. package/bin/create-safest-tools.mjs +12 -0
  4. package/package.json +34 -0
  5. package/src/cli.mjs +128 -0
  6. package/src/config.mjs +151 -0
  7. package/src/scaffold.mjs +30 -0
  8. package/template/LICENSE +201 -0
  9. package/template/README.md +35 -0
  10. package/template/console/README.md +28 -0
  11. package/template/console/analytics/AnalyticsWorkspace.tsx +55 -0
  12. package/template/console/analytics/controller.ts +133 -0
  13. package/template/console/analytics/events.ts +33 -0
  14. package/template/console/analytics/store.ts +33 -0
  15. package/template/console/analytics/types.ts +38 -0
  16. package/template/console/appeals/AppealWorkspace.tsx +73 -0
  17. package/template/console/appeals/controller.ts +125 -0
  18. package/template/console/appeals/events.ts +33 -0
  19. package/template/console/appeals/store.ts +35 -0
  20. package/template/console/appeals/types.ts +37 -0
  21. package/template/console/assistant/AssistantWorkspace.tsx +133 -0
  22. package/template/console/assistant/types.ts +34 -0
  23. package/template/console/auth/AccountJourney.tsx +69 -0
  24. package/template/console/auth/InvitationAcceptance.tsx +145 -0
  25. package/template/console/auth/OAuthButtons.tsx +78 -0
  26. package/template/console/auth/OperatorLogin.tsx +110 -0
  27. package/template/console/auth/PasswordRecovery.tsx +132 -0
  28. package/template/console/auth/account-route.ts +15 -0
  29. package/template/console/auth/browser-navigation.ts +7 -0
  30. package/template/console/auth/events.ts +15 -0
  31. package/template/console/command/CommandCentre.tsx +119 -0
  32. package/template/console/command/controller.ts +267 -0
  33. package/template/console/command/events.ts +19 -0
  34. package/template/console/command/store.ts +36 -0
  35. package/template/console/command/types.ts +61 -0
  36. package/template/console/components/AnalystIdentity.tsx +25 -0
  37. package/template/console/components/PageHeader.tsx +27 -0
  38. package/template/console/configuration/ConfigurationDialog.tsx +200 -0
  39. package/template/console/configuration/ConfigurationWorkspace.tsx +66 -0
  40. package/template/console/configuration/FormBuilder.tsx +143 -0
  41. package/template/console/configuration/api.ts +40 -0
  42. package/template/console/configuration/events.ts +14 -0
  43. package/template/console/configuration/types.ts +79 -0
  44. package/template/console/lib/format.ts +49 -0
  45. package/template/console/lib/http.ts +96 -0
  46. package/template/console/main.tsx +225 -0
  47. package/template/console/operations/OperationsWorkspace.tsx +126 -0
  48. package/template/console/operations/controller.ts +237 -0
  49. package/template/console/operations/events.ts +37 -0
  50. package/template/console/operations/store.ts +32 -0
  51. package/template/console/operations/types.ts +107 -0
  52. package/template/console/people/PeopleWorkspace.tsx +81 -0
  53. package/template/console/people/types.ts +25 -0
  54. package/template/console/profile/ProfileWorkspace.tsx +136 -0
  55. package/template/console/profile/events.ts +9 -0
  56. package/template/console/profile/types.ts +6 -0
  57. package/template/console/quality/QualityWorkspace.tsx +87 -0
  58. package/template/console/quality/controller.ts +154 -0
  59. package/template/console/quality/events.ts +34 -0
  60. package/template/console/quality/store.ts +36 -0
  61. package/template/console/quality/types.ts +70 -0
  62. package/template/console/queues/QueueEditor.tsx +173 -0
  63. package/template/console/queues/QueueWorkspace.tsx +109 -0
  64. package/template/console/queues/controller.ts +194 -0
  65. package/template/console/queues/events.ts +34 -0
  66. package/template/console/queues/store.ts +37 -0
  67. package/template/console/queues/types.ts +102 -0
  68. package/template/console/registry/RegistryDialog.tsx +198 -0
  69. package/template/console/registry/RegistryWorkspace.tsx +108 -0
  70. package/template/console/registry/events.ts +14 -0
  71. package/template/console/registry/types.ts +52 -0
  72. package/template/console/reports/ReportDrawer.tsx +159 -0
  73. package/template/console/reports/ReportWorkspace.tsx +90 -0
  74. package/template/console/reports/controller.ts +517 -0
  75. package/template/console/reports/events.ts +42 -0
  76. package/template/console/reports/store.ts +39 -0
  77. package/template/console/reports/types.ts +230 -0
  78. package/template/console/settings/BrandEditor.tsx +126 -0
  79. package/template/console/settings/ChannelDialog.tsx +241 -0
  80. package/template/console/settings/SettingsWorkspace.tsx +155 -0
  81. package/template/console/settings/events.ts +19 -0
  82. package/template/console/settings/handoff.ts +22 -0
  83. package/template/console/settings/types.ts +93 -0
  84. package/template/console/shell/WorkspaceShell.tsx +160 -0
  85. package/template/console/shell/controller.ts +182 -0
  86. package/template/console/shell/events.ts +25 -0
  87. package/template/console/shell/navigation.ts +61 -0
  88. package/template/console/shell/store.ts +56 -0
  89. package/template/console/shell/types.ts +86 -0
  90. package/template/console/workflows/CreateWorkflowDialog.tsx +87 -0
  91. package/template/console/workflows/WorkflowCanvas.tsx +42 -0
  92. package/template/console/workflows/WorkflowDialogs.tsx +6 -0
  93. package/template/console/workflows/WorkflowStudio.tsx +331 -0
  94. package/template/console/workflows/WorkflowWorkspace.tsx +82 -0
  95. package/template/console/workflows/events.ts +17 -0
  96. package/template/console/workflows/graph.ts +156 -0
  97. package/template/console/workflows/templates.ts +70 -0
  98. package/template/console/workflows/types.ts +201 -0
  99. package/template/gitignore.template +18 -0
  100. package/template/migrations/0001_reports_foundation.sql +444 -0
  101. package/template/migrations/0002_human_report_loop.sql +65 -0
  102. package/template/migrations/0003_delivery_reliability.sql +18 -0
  103. package/template/migrations/0004_public_intake.sql +14 -0
  104. package/template/migrations/0005_operations_visibility.sql +24 -0
  105. package/template/migrations/0006_ai_governance.sql +198 -0
  106. package/template/migrations/0007_ai_release_gates.sql +6 -0
  107. package/template/migrations/0008_retention_analytics_exports.sql +52 -0
  108. package/template/migrations/0009_retention_derived_copies.sql +14 -0
  109. package/template/migrations/0010_ai_quality_controls.sql +26 -0
  110. package/template/migrations/0011_analyst_presence.sql +28 -0
  111. package/template/migrations/0012_queue_policies.sql +87 -0
  112. package/template/migrations/0013_routing_agents.sql +63 -0
  113. package/template/migrations/0014_webhook_enrichments.sql +122 -0
  114. package/template/migrations/0015_queue_owned_ai.sql +55 -0
  115. package/template/migrations/0016_operator_accounts.sql +67 -0
  116. package/template/migrations/0017_operator_profiles_and_recovery.sql +33 -0
  117. package/template/migrations/0018_platform_configuration.sql +382 -0
  118. package/template/migrations/0019_workflow_authoring_runtime.sql +372 -0
  119. package/template/migrations/0020_tasks_findings_assistant_budgets.sql +427 -0
  120. package/template/migrations/0021_abuse_evidence_operations.sql +324 -0
  121. package/template/migrations/0022_workflow_dispatch_operations.sql +42 -0
  122. package/template/migrations/0023_component_connection_execution.sql +75 -0
  123. package/template/migrations/0024_access_runtime_integrity.sql +72 -0
  124. package/template/migrations/0025_installation_timezone.sql +11 -0
  125. package/template/migrations/0026_ai_and_egress_execution_controls.sql +49 -0
  126. package/template/migrations/0027_prompt_and_ai_registry.sql +37 -0
  127. package/template/migrations/0028_step_attempt_ai_provenance.sql +13 -0
  128. package/template/migrations/0029_evidence_fetch_transport.sql +5 -0
  129. package/template/migrations/0030_evidence_dlq_incidents.sql +45 -0
  130. package/template/migrations/0031_shadow_quality_integrity.sql +7 -0
  131. package/template/migrations/0032_action_delivery_outbox.sql +55 -0
  132. package/template/migrations/0033_configuration_and_assistant_drafts.sql +43 -0
  133. package/template/migrations/0034_installation_integrations.sql +31 -0
  134. package/template/migrations/0035_workspace_governance.sql +21 -0
  135. package/template/migrations/0036_published_routing_baseline.sql +15 -0
  136. package/template/migrations/0037_builtin_phishing_specialist.sql +71 -0
  137. package/template/migrations/0038_remove_deprecated_enrichment_runtime.sql +228 -0
  138. package/template/migrations/0039_secure_reporting_channels.sql +45 -0
  139. package/template/migrations/0040_notification_only_reporting.sql +24 -0
  140. package/template/migrations/0041_better_auth_credentials.sql +17 -0
  141. package/template/package.json +47 -0
  142. package/template/public/_headers +27 -0
  143. package/template/public/app-icon-192.png +0 -0
  144. package/template/public/app-icon-512.png +0 -0
  145. package/template/public/brand-icon.svg +7 -0
  146. package/template/public/brand-tokens.css +80 -0
  147. package/template/public/console/auth-shell.js +19340 -0
  148. package/template/public/customer-brand.js +58 -0
  149. package/template/public/embed/embed.css +139 -0
  150. package/template/public/embed/embed.js +408 -0
  151. package/template/public/embed/index.html +91 -0
  152. package/template/public/favicon.svg +7 -0
  153. package/template/public/fonts/Manrope-Variable.ttf +0 -0
  154. package/template/public/fonts/Newsreader-Italic-Variable.ttf +0 -0
  155. package/template/public/fonts/Newsreader-Variable.ttf +0 -0
  156. package/template/public/index.html +123 -0
  157. package/template/public/logo-primary.svg +7 -0
  158. package/template/public/logo-reversed.svg +7 -0
  159. package/template/public/manifest.webmanifest +21 -0
  160. package/template/public/public-report.js +184 -0
  161. package/template/public/report/index.html +39 -0
  162. package/template/public/report/public-report.css +20 -0
  163. package/template/public/social-card.png +0 -0
  164. package/template/public/styles.css +1521 -0
  165. package/template/public/widget.css +80 -0
  166. package/template/public/widget.js +220 -0
  167. package/template/reports.config.example.json +38 -0
  168. package/template/reports.schema.json +89 -0
  169. package/template/scripts/reports-auth-onboarding.mjs +180 -0
  170. package/template/scripts/reports-backup.mjs +276 -0
  171. package/template/scripts/reports-cloudflare-preflight.mjs +152 -0
  172. package/template/scripts/reports-deploy.mjs +173 -0
  173. package/template/scripts/reports-plan.mjs +226 -0
  174. package/template/scripts/reports-restore.mjs +180 -0
  175. package/template/scripts/reports-secrets.mjs +73 -0
  176. package/template/scripts/reports-uninstall-plan.mjs +32 -0
  177. package/template/src/agent-executor.ts +330 -0
  178. package/template/src/ai-observability.ts +163 -0
  179. package/template/src/ai-registry-validation.ts +244 -0
  180. package/template/src/ai-registry.ts +292 -0
  181. package/template/src/api-cursor.ts +84 -0
  182. package/template/src/assistant.ts +554 -0
  183. package/template/src/audit.ts +39 -0
  184. package/template/src/backup-service.ts +269 -0
  185. package/template/src/budget-control.ts +127 -0
  186. package/template/src/component-executor.ts +845 -0
  187. package/template/src/configuration-registry.ts +550 -0
  188. package/template/src/connection-egress.ts +430 -0
  189. package/template/src/connection-oauth.ts +368 -0
  190. package/template/src/evidence-service.ts +335 -0
  191. package/template/src/human-tasks.ts +316 -0
  192. package/template/src/index.ts +4114 -0
  193. package/template/src/installation-admin.ts +301 -0
  194. package/template/src/intake-abuse.ts +156 -0
  195. package/template/src/platform-registry-validation.ts +367 -0
  196. package/template/src/platform-registry.ts +753 -0
  197. package/template/src/report-admin.ts +342 -0
  198. package/template/src/report-ai-quality.ts +390 -0
  199. package/template/src/report-ai-validation.ts +80 -0
  200. package/template/src/report-ai.ts +857 -0
  201. package/template/src/report-auth.ts +292 -0
  202. package/template/src/report-better-auth.ts +583 -0
  203. package/template/src/report-context-schema.ts +132 -0
  204. package/template/src/report-context.ts +126 -0
  205. package/template/src/report-crypto.ts +142 -0
  206. package/template/src/report-delivery.ts +579 -0
  207. package/template/src/report-form-validation.ts +51 -0
  208. package/template/src/report-governance.ts +510 -0
  209. package/template/src/report-http.ts +90 -0
  210. package/template/src/report-operations.ts +685 -0
  211. package/template/src/report-operator-accounts.ts +810 -0
  212. package/template/src/report-presence.ts +398 -0
  213. package/template/src/report-queue-validation.ts +309 -0
  214. package/template/src/report-queues.ts +478 -0
  215. package/template/src/report-repository.ts +972 -0
  216. package/template/src/report-router-agent.ts +328 -0
  217. package/template/src/report-router-validation.ts +81 -0
  218. package/template/src/report-routing.ts +178 -0
  219. package/template/src/report-turnstile.ts +142 -0
  220. package/template/src/report-types.ts +224 -0
  221. package/template/src/report-validation.ts +279 -0
  222. package/template/src/report-workflow-validation.ts +119 -0
  223. package/template/src/report-workflow.ts +886 -0
  224. package/template/src/shadow-quality.ts +278 -0
  225. package/template/src/workflow-actions.ts +782 -0
  226. package/template/src/workflow-compiler.ts +230 -0
  227. package/template/src/workflow-dynamic-runtime.ts +613 -0
  228. package/template/src/workflow-effects.ts +316 -0
  229. package/template/src/workflow-expressions.ts +191 -0
  230. package/template/src/workflow-platform-types.ts +121 -0
  231. package/template/src/workflow-platform-validation.ts +540 -0
  232. package/template/src/workflow-repository.ts +916 -0
  233. package/template/src/workflow-runs.ts +686 -0
  234. package/template/src/workflow-simulator.ts +211 -0
  235. package/template/src/workspace-branding.ts +128 -0
  236. package/template/src/workspace-governance.ts +279 -0
  237. package/template/tsconfig.console.json +23 -0
  238. package/template/tsconfig.json +22 -0
  239. package/template/vite.console.config.ts +20 -0
  240. package/template/worker-configuration.d.ts +65 -0
@@ -0,0 +1,1521 @@
1
+ @import url("./brand-tokens.css");
2
+
3
+ :root {
4
+ color-scheme: light;
5
+ --ink: var(--safest-ink-950);
6
+ --muted: var(--safest-stone-650);
7
+ --canvas: var(--safest-parchment-50);
8
+ --paper: var(--safest-paper);
9
+ --line: var(--safest-line);
10
+ --forest: var(--safest-evergreen-800);
11
+ --forest-dark: var(--safest-evergreen-950);
12
+ --mint: var(--safest-mint-100);
13
+ --danger: var(--safest-danger-700);
14
+ --danger-soft: var(--safest-danger-100);
15
+ --sans: var(--safest-font-sans);
16
+ --serif: var(--safest-font-serif);
17
+ --brand-primary-contrast: #ffffff;
18
+ --brand-accent: var(--safest-lime-400);
19
+ --customer-radius: 12px;
20
+ font-family: var(--sans);
21
+ }
22
+
23
+ * { box-sizing: border-box; }
24
+ html { min-width: 0; scroll-behavior: smooth; }
25
+ body { min-height: 100vh; margin: 0; color: var(--ink); background: var(--canvas); -webkit-font-smoothing: antialiased; }
26
+ [hidden] { display: none !important; }
27
+ button, input, select { font: inherit; }
28
+ button, select { cursor: pointer; }
29
+ button { border: 0; }
30
+ a { color: inherit; }
31
+ h1, h2, h3, p { margin-top: 0; }
32
+ h1, h2 { font-family: var(--serif); letter-spacing: -.035em; }
33
+ h1 { margin-bottom: 8px; font-size: clamp(34px, 4vw, 50px); line-height: 1; }
34
+ h2 { margin-bottom: 6px; font-size: 24px; }
35
+ :focus-visible { outline: 3px solid rgba(47, 121, 81, .28); outline-offset: 2px; }
36
+
37
+ .skip-link { position: fixed; z-index: 100; top: 10px; left: 12px; padding: 9px 12px; border-radius: 8px; color: white; background: var(--forest-dark); transform: translateY(-160%); }
38
+ .skip-link:focus { transform: translateY(0); }
39
+ .eyebrow { margin: 0 0 7px; color: #7e8c83; font-size: 10px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
40
+ .eyebrow.light { color: #b8d2c3; }
41
+
42
+ .topbar { position: sticky; z-index: 20; top: 0; height: 66px; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.94); backdrop-filter: blur(16px); }
43
+ .brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
44
+ .brand img { width: 34px; height: 34px; flex: 0 0 34px; border-radius: min(11px, var(--customer-radius)); object-fit: contain; }
45
+ .customer-brand-fallback { width: 36px; height: 36px; display: grid; place-items: center; border-radius: min(10px, var(--customer-radius)); color: var(--brand-primary-contrast); background: var(--forest); font-size: 10px; font-weight: 850; }
46
+ .brand strong, .brand small { display: block; }
47
+ .brand strong { font-size: 14px; }
48
+ .brand small { color: var(--muted); font-size: 10px; }
49
+ .top-actions { display: flex; gap: 10px; align-items: center; }
50
+ .current-analyst { padding-right: 10px; border-right: 1px solid var(--line); }
51
+ .health { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 10px; font-weight: 750; }
52
+ .health i { width: 7px; height: 7px; border-radius: 50%; background: #dda13f; box-shadow: 0 0 0 4px rgba(221,161,63,.12); }
53
+ .health.ready i { background: #4d936b; box-shadow: 0 0 0 4px rgba(77,147,107,.12); }
54
+ .health.failed i { background: var(--danger); }
55
+
56
+ .login-layout { min-height: calc(100vh - 66px); display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(420px, .9fr); }
57
+ .login-story { position: relative; overflow: hidden; padding: clamp(54px, 8vw, 124px); display: flex; flex-direction: column; justify-content: center; color: white; background: #123b2b; }
58
+ .login-story::after { content: ""; position: absolute; width: 520px; height: 520px; right: -260px; top: -260px; border: 1px solid rgba(218,243,142,.22); border-radius: 50%; box-shadow: 0 0 0 72px rgba(218,243,142,.035), 0 0 0 145px rgba(218,243,142,.02); }
59
+ .login-story > * { position: relative; z-index: 1; max-width: 650px; }
60
+ .login-story h1 { margin-bottom: 25px; color: white; font-size: clamp(48px, 6.2vw, 82px); letter-spacing: -.055em; }
61
+ .login-story > p:not(.eyebrow) { max-width: 560px; color: #c8dbcf; font-size: 17px; line-height: 1.65; }
62
+ .login-story ul { margin: 20px 0 0; padding: 0; display: grid; gap: 11px; list-style: none; color: #d9e9df; font-size: 12px; }
63
+ .login-story li::before { content: "✓"; margin-right: 9px; color: #d9f48a; font-weight: 900; }
64
+ .login-card { width: min(460px, calc(100% - 44px)); margin: auto; padding: 42px; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); box-shadow: var(--safest-shadow-lg); }
65
+ .login-card h2 { font-size: 34px; }
66
+ .login-card > p:not(.eyebrow, .privacy-note) { margin-bottom: 25px; color: var(--muted); font-size: 12px; line-height: 1.65; }
67
+ .login-card form { display: grid; gap: 11px; }
68
+ .auth-panel > .auth-copy { margin-bottom: 25px; color: var(--muted); font-size: 12px; line-height: 1.65; }
69
+ .react-auth-root > .auth-error { min-height: 16px; margin-top: 10px; }
70
+ .auth-panel > .auth-back { margin-top: 7px; }
71
+ .auth-panel > .form-message { margin-top: 8px; }
72
+ .oauth-buttons { display: grid; gap: 8px; margin-bottom: 16px; }
73
+ .auth-divider { display: flex; align-items: center; gap: 10px; margin: 15px 0; color: var(--muted); font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
74
+ .auth-divider::before, .auth-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
75
+ .auth-divider span { white-space: nowrap; }
76
+ .react-auth-root button:disabled, .react-auth-root input:disabled { cursor: wait; opacity: .68; }
77
+ .auth-loading { min-height: 300px; margin: 0; display: grid; place-items: center; color: var(--muted); font-size: 11px; }
78
+ label { display: grid; gap: 7px; color: #314139; font-size: 10px; font-weight: 800; }
79
+ input, select { width: 100%; min-height: 40px; padding: 8px 10px; border: 1px solid #cfd7d1; border-radius: 8px; color: var(--ink); background: white; }
80
+ input:focus, select:focus { border-color: #68a380; box-shadow: 0 0 0 3px rgba(34,108,70,.1); outline: none; }
81
+ .primary, .secondary, .icon-button { min-height: 38px; padding: 9px 14px; border-radius: 8px; font-size: 11px; font-weight: 800; }
82
+ .primary { color: var(--brand-primary-contrast); background: var(--forest); }
83
+ .primary:hover { background: var(--forest-dark); }
84
+ .secondary, .icon-button { border: 1px solid #cfd7d1; color: #314139; background: white; }
85
+ .secondary:hover, .icon-button:hover { background: #f7f9f6; }
86
+ .wide { width: 100%; }
87
+ .divider { margin: 17px 0; display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 9px; text-transform: uppercase; }
88
+ .divider::before, .divider::after { content: ""; height: 1px; flex: 1; background: var(--line); }
89
+ .privacy-note { margin: 18px 0 0; color: var(--muted); font-size: 10px; }
90
+ .error { min-height: 16px; margin: 0; color: var(--danger); font-size: 11px; }
91
+ .text-button { width: fit-content; padding: 5px 0; color: var(--forest); background: transparent; font-size: 10px; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
92
+ .form-message { min-height: 16px; margin: 0; color: #42644f; font-size: 10px; line-height: 1.5; }
93
+
94
+ .workspace { min-height: calc(100vh - 66px); display: grid; grid-template-columns: 238px minmax(0, 1fr); }
95
+ .sidebar { position: sticky; top: 66px; height: calc(100vh - 66px); padding: 20px 14px; display: flex; flex-direction: column; border-right: 1px solid var(--line); background: #fafbf9; }
96
+ .workspace-card { padding: 10px; display: flex; gap: 9px; align-items: center; border: 1px solid #e1e7e2; border-radius: 10px; background: white; }
97
+ .workspace-card > span { width: 31px; height: 31px; display: grid; place-items: center; border-radius: 8px; color: #d9f48a; background: #193d2e; font-size: 9px; font-weight: 850; }
98
+ .workspace-card strong, .workspace-card small { display: block; }
99
+ .workspace-card strong { font-size: 10px; }
100
+ .workspace-card small { margin-top: 2px; color: var(--muted); font-size: 8px; }
101
+ .sidebar nav { margin-top: 24px; display: grid; gap: 4px; }
102
+ .sidebar nav a { min-height: 40px; padding: 0 11px; display: flex; gap: 10px; align-items: center; border-radius: 8px; color: #536159; font-size: 11px; font-weight: 750; text-decoration: none; }
103
+ .sidebar nav a:hover, .sidebar nav a.active { color: var(--forest-dark); background: #e4efe7; }
104
+ .sidebar nav span { width: 18px; text-align: center; }
105
+ .active-analysts { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); }
106
+ .active-analysts > div:first-child { padding-inline: 5px; display: flex; align-items: center; justify-content: space-between; }
107
+ .active-analysts > div:first-child strong { color: #66746b; font-size: 9px; letter-spacing: .06em; text-transform: uppercase; }
108
+ .active-analysts > div:first-child span { min-width: 20px; padding: 2px 6px; border-radius: 999px; color: var(--forest); background: var(--mint); font-size: 8px; font-weight: 850; text-align: center; }
109
+ .active-analyst-list { margin-top: 8px; display: grid; gap: 3px; }
110
+ .active-analyst { min-width: 0; padding: 7px 5px; display: flex; align-items: center; justify-content: space-between; gap: 7px; border-radius: 8px; }
111
+ .active-analyst:hover { background: #f0f4f0; }
112
+ .active-analyst-empty { margin: 0; padding: 8px 5px; color: var(--muted); font-size: 9px; }
113
+ .analyst-identity { min-width: 0; display: inline-flex; align-items: center; gap: 7px; }
114
+ .analyst-identity > span:last-child { min-width: 0; }
115
+ .analyst-identity strong, .analyst-identity small { display: block; max-width: 145px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
116
+ .analyst-identity strong { color: #314139; font-size: 9px; }
117
+ .analyst-identity small { margin-top: 2px; color: var(--muted); font-size: 8px; font-weight: 500; }
118
+ .analyst-avatar { width: 27px; height: 27px; flex: 0 0 27px; display: inline-grid; place-items: center; overflow: hidden; border: 2px solid white; border-radius: 50%; color: white; background: var(--avatar-color); box-shadow: 0 0 0 1px rgba(30,61,45,.15); font-size: 9px; font-weight: 850; }
119
+ .analyst-avatar.small { width: 22px; height: 22px; flex-basis: 22px; margin-right: 7px; font-size: 8px; vertical-align: middle; }
120
+ .analyst-avatar.large { width: 86px; height: 86px; flex-basis: 86px; font-size: 24px; }
121
+ .analyst-avatar img { width: 100%; height: 100%; object-fit: cover; }
122
+ .presence-dot { width: 7px; height: 7px; flex: 0 0 7px; border-radius: 50%; background: #91a096; }
123
+ .presence-dot.online { background: #55a271; }
124
+ .presence-dot.viewing { background: #4d83a0; }
125
+ .presence-dot.editing { background: #cf8a38; box-shadow: 0 0 0 3px rgba(207,138,56,.13); }
126
+ .principle { margin-top: auto; padding: 14px; border-radius: 10px; color: #496054; background: #edf6f0; }
127
+ .principle strong { font-size: 10px; }
128
+ .principle p { margin: 7px 0 0; font-size: 9px; line-height: 1.5; }
129
+ .content { min-width: 0; padding: clamp(25px, 4vw, 48px); }
130
+ .page-head { max-width: 1400px; margin: 0 auto 24px; display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
131
+ .page-head p:last-child { margin: 0; color: var(--muted); font-size: 12px; }
132
+ .metrics { max-width: 1400px; margin: 0 auto 14px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 11px; }
133
+ .metrics article { min-height: 126px; padding: 18px; border: 1px solid var(--line); border-top: 3px solid #b6c0b9; border-radius: 12px; background: white; }
134
+ .metrics article.urgent { border-top-color: var(--danger); }
135
+ .metrics span, .metrics small { display: block; color: var(--muted); font-size: 9px; }
136
+ .metrics strong { display: block; margin: 14px 0 8px; font: 650 32px/1 var(--serif); }
137
+ .surface { max-width: 1400px; margin: 0 auto; border: 1px solid var(--line); border-radius: 14px; background: white; overflow: hidden; }
138
+ .surface-head { padding: 20px; display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; border-bottom: 1px solid var(--line); }
139
+ .surface-head h2 { margin: 0; font-size: 21px; }
140
+ .filters { display: flex; gap: 9px; }
141
+ .filters label { min-width: 150px; }
142
+ .filters select { min-height: 36px; }
143
+ .table-wrap { position: relative; overflow-x: auto; }
144
+ table { width: 100%; border-collapse: collapse; font-size: 10px; }
145
+ th { padding: 10px 14px; color: #849087; background: #fafbf9; font-size: 8px; letter-spacing: .08em; text-align: left; text-transform: uppercase; }
146
+ td { padding: 14px; border-top: 1px solid #edf0ec; vertical-align: middle; }
147
+ td strong, td small { display: block; }
148
+ td small { margin-top: 3px; color: var(--muted); }
149
+ .unclaimed { color: var(--muted); font-size: 9px; }
150
+ .badge { display: inline-flex; padding: 4px 7px; border-radius: 999px; color: #4f6357; background: #edf1ed; font-size: 8px; font-weight: 800; text-transform: capitalize; }
151
+ .badge.urgent { color: #8d352f; background: var(--danger-soft); }
152
+ .empty { padding: 50px 20px; text-align: center; }
153
+ .empty > span { width: 42px; height: 42px; margin: 0 auto 12px; display: grid; place-items: center; border-radius: 50%; color: var(--forest); background: var(--mint); }
154
+ .empty h3 { margin-bottom: 5px; }
155
+ .empty p { color: var(--muted); font-size: 10px; }
156
+ .surface-error { padding: 0 20px 18px; }
157
+ .report-link { padding: 0; color: var(--forest); background: transparent; font: inherit; font-weight: 850; text-align: left; }
158
+ .report-link:hover { text-decoration: underline; text-underline-offset: 3px; }
159
+ .appeals-surface { margin-top: 14px; }
160
+ .queues-surface { margin-top: 14px; }
161
+ .queue-policy-note { padding: 14px 20px; display: flex; gap: 8px; align-items: baseline; color: #52645a; background: #f4f8f4; font-size: 9px; line-height: 1.55; }
162
+ .queue-policy-note strong { flex: 0 0 auto; color: #294737; }
163
+ .routing-agent-form { padding: 17px 20px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 11px; border-bottom: 1px solid var(--line); background: white; }
164
+ .routing-agent-head { grid-column: 1 / -1; display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; }
165
+ .routing-agent-head h3 { margin: 0; font-size: 15px; }
166
+ .routing-agent-head p:last-child { max-width: 700px; margin: 5px 0 0; color: var(--muted); font-size: 9px; line-height: 1.55; }
167
+ .routing-agent-form select[multiple] { min-height: 94px; cursor: default; }
168
+ .routing-agent-form textarea { min-height: 105px; padding: 9px; border: 1px solid #cfd7d1; border-radius: 8px; resize: vertical; font: inherit; }
169
+ .routing-agent-instructions { grid-column: span 2; }
170
+ .routing-agent-footer { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
171
+ .queue-list { padding: 14px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 11px; background: #fafbf9; }
172
+ .queue-card { min-width: 0; padding: 15px; display: flex; flex-direction: column; gap: 12px; border: 1px solid var(--line); border-top: 3px solid #6c8276; border-radius: 10px; background: white; }
173
+ .queue-card.ai { border-top-color: #9b6545; }
174
+ .queue-card.hybrid { border-top-color: #596e9a; }
175
+ .queue-card > div:first-child { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
176
+ .queue-card > div:first-child > div:last-child { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px; }
177
+ .queue-card strong, .queue-card small { display: block; }
178
+ .queue-card > div:first-child strong { font-size: 11px; }
179
+ .queue-card small { margin-top: 3px; color: var(--muted); font-size: 8px; }
180
+ .queue-card > p { margin: 0; color: var(--muted); font-size: 9px; line-height: 1.5; }
181
+ .queue-card dl { margin: 0; padding: 9px 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; border-block: 1px solid #edf0ec; }
182
+ .queue-card dt { color: var(--muted); font-size: 7px; text-transform: uppercase; }
183
+ .queue-card dd { margin: 3px 0 0; font-size: 9px; font-weight: 800; }
184
+ .queue-card .queue-instructions { min-height: 42px; display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; color: #405249; }
185
+ .queue-card > button { margin-top: auto; align-self: flex-start; }
186
+ .queue-dialog { width: min(920px, calc(100% - 30px)); }
187
+ .queue-form { padding: 20px 22px 24px; display: grid; gap: 13px; }
188
+ .queue-form-section { padding: 15px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 11px; border: 1px solid var(--line); border-radius: 10px; background: #fafbf9; }
189
+ .queue-form-section > div:first-child { grid-column: 1 / -1; }
190
+ .queue-form-section h3 { margin: 0; font-size: 14px; }
191
+ .queue-form textarea { min-height: 88px; padding: 9px; border: 1px solid #cfd7d1; border-radius: 8px; resize: vertical; font: inherit; }
192
+ .queue-form .wide-field { grid-column: 1 / -1; }
193
+ .queue-form .code-input { min-height: 150px; color: #294737; font: 10px/1.55 ui-monospace, SFMono-Regular, Menlo, monospace; }
194
+ .queue-form select[multiple] { min-height: 100px; cursor: default; }
195
+ .queue-safety-copy { margin: 0; padding: 10px; border-left: 3px solid #789082; color: #536159; background: #edf4ee; font-size: 9px; line-height: 1.55; }
196
+ .queue-form-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
197
+ .queue-form-footer > div { display: flex; gap: 7px; }
198
+ .operations-surface { margin-top: 14px; }
199
+ .analytics-surface { margin-top: 14px; }
200
+ .surface-buttons { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px; }
201
+ .analytics-metrics { padding: 14px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; background: #fafbf9; }
202
+ .analytics-metrics article { padding: 14px; border: 1px solid var(--line); border-radius: 9px; background: white; }
203
+ .analytics-metrics span, .analytics-metrics small { display: block; color: var(--muted); font-size: 9px; }
204
+ .analytics-metrics strong { display: block; margin: 9px 0 6px; font: 650 25px/1 var(--serif); }
205
+ .analytics-body { padding: 18px 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 22px; border-top: 1px solid var(--line); }
206
+ .analytics-body h3 { margin-bottom: 11px; font-size: 13px; }
207
+ .analytics-body p, .analytics-body li { color: var(--muted); font-size: 9px; line-height: 1.55; }
208
+ .analytics-body ul { margin: 8px 0 0; padding-left: 18px; }
209
+ .analytics-list { display: grid; gap: 7px; }
210
+ .analytics-list > div { padding: 8px 10px; display: flex; justify-content: space-between; border-radius: 7px; background: #f4f7f4; font-size: 9px; text-transform: capitalize; }
211
+ .ai-explainer { grid-column: 1 / -1; padding: 14px; border-left: 3px solid #729a7d; border-radius: 7px; background: #f1f6f2; }
212
+ .ai-explainer strong { font-size: 10px; }
213
+ .ai-explainer p { margin: 5px 0 0; color: var(--muted); font-size: 9px; line-height: 1.55; }
214
+ .ai-enabled { align-self: end; min-height: 40px; }
215
+ .ai-form-footer { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
216
+ .ai-form-footer span { color: var(--muted); font-size: 9px; overflow-wrap: anywhere; }
217
+ .quality-surface { margin-top: 14px; }
218
+ .quality-summary { padding: 14px 20px; display: flex; justify-content: space-between; align-items: center; gap: 18px; color: var(--muted); background: #fafbf9; }
219
+ .quality-summary p { max-width: 760px; margin: 0; font-size: 9px; line-height: 1.55; }
220
+ .quality-summary strong { flex: 0 0 auto; color: var(--forest); font-size: 10px; }
221
+ .quality-list { display: grid; }
222
+ .quality-list > article { padding: 13px 20px; display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 12px; border-top: 1px solid #edf0ec; }
223
+ .quality-list strong, .quality-list small { display: block; }
224
+ .quality-list small { margin-top: 4px; color: var(--muted); font-size: 9px; }
225
+ .quality-dialog { width: min(900px, calc(100% - 30px)); }
226
+ .quality-detail-content { padding: 20px 22px 24px; }
227
+ .quality-detail-content > section { margin-top: 14px; }
228
+ .quality-detail-content pre { max-height: 300px; margin: 0; padding: 14px; overflow: auto; border: 1px solid var(--line); border-radius: 9px; color: #294737; background: #f5f8f5; font: 9px/1.55 ui-monospace, SFMono-Regular, Menlo, monospace; white-space: pre-wrap; overflow-wrap: anywhere; }
229
+ .quality-review-form { margin-top: 14px; padding: 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 11px; border: 1px solid var(--line); border-radius: 10px; background: #fafbf9; }
230
+ .quality-review-form h3, .quality-review-form .quality-notes, .quality-review-form > button { grid-column: 1 / -1; }
231
+ .quality-review-form textarea { min-height: 90px; padding: 9px; border: 1px solid #cfd7d1; border-radius: 8px; resize: vertical; font: inherit; }
232
+ .operation-metrics { padding: 14px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; background: #fafbf9; }
233
+ .operation-metrics article { padding: 14px; border: 1px solid var(--line); border-radius: 9px; background: white; }
234
+ .operation-metrics span, .operation-metrics small { display: block; color: var(--muted); font-size: 9px; }
235
+ .operation-metrics strong { display: block; margin: 9px 0 6px; font: 650 25px/1 var(--serif); }
236
+ .operation-list { display: grid; }
237
+ .operation-list > article { padding: 13px 20px; display: flex; align-items: center; justify-content: space-between; gap: 14px; border-top: 1px solid #edf0ec; }
238
+ .operation-list strong, .operation-list small { display: block; }
239
+ .operation-list small { margin-top: 4px; color: var(--muted); font-size: 9px; }
240
+ .empty.compact { padding-block: 28px; }
241
+ .appeal-list { display: grid; }
242
+ .appeal-row { padding: 15px 20px; display: grid; grid-template-columns: minmax(0, 1fr) 130px 130px auto; gap: 12px; align-items: center; border-top: 1px solid #edf0ec; }
243
+ .appeal-row:first-child { border-top: 0; }
244
+ .appeal-row strong, .appeal-row small { display: block; }
245
+ .appeal-row small { margin-top: 4px; color: var(--muted); font-size: 9px; }
246
+ .appeal-mobile-meta { display: none; }
247
+ .appeal-row > span { color: var(--muted); font-size: 10px; text-transform: capitalize; }
248
+
249
+ .detail-dialog { width: min(980px, calc(100% - 30px)); max-height: calc(100vh - 30px); padding: 0; border: 1px solid var(--line); border-radius: 15px; color: var(--ink); background: white; box-shadow: 0 25px 80px rgba(16,41,28,.25); }
250
+ .detail-dialog::backdrop { background: rgba(11,35,24,.48); backdrop-filter: blur(3px); }
251
+ .detail-head { position: sticky; z-index: 2; top: 0; padding: 19px 22px; display: flex; justify-content: space-between; align-items: flex-start; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.96); }
252
+ .detail-head h2 { margin: 0; }
253
+ .detail-head p:last-child { margin: 5px 0 0; color: var(--muted); font-size: 10px; text-transform: capitalize; }
254
+ .report-detail-content, .appeal-dialog > form, .appeal-dialog > p, .appeal-dialog > .claim-bar { margin-inline: 22px; }
255
+ .report-detail-content { padding-block: 20px 24px; }
256
+ .detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
257
+ .detail-grid section, .detail-actions form { padding: 16px; border: 1px solid var(--line); border-radius: 10px; background: #fafbf9; }
258
+ .detail-grid h3, .detail-actions h3, .report-detail-content > section > h3 { margin-bottom: 13px; }
259
+ .detail-grid dl { margin: 0; display: grid; grid-template-columns: 115px 1fr; gap: 8px; font-size: 10px; }
260
+ .detail-grid dt { color: var(--muted); }
261
+ .detail-grid dd { margin: 0; overflow-wrap: anywhere; font-weight: 750; }
262
+ .evidence-list { display: grid; gap: 7px; }
263
+ .evidence-item { padding: 8px; border-radius: 7px; color: #405249; background: white; font-size: 9px; overflow-wrap: anywhere; }
264
+ .report-detail-content > section { margin-top: 14px; }
265
+ .message-list { display: grid; gap: 8px; }
266
+ .delivery-list { display: grid; gap: 7px; }
267
+ .delivery-list article { padding: 10px 12px; display: flex; justify-content: space-between; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 8px; background: #fafbf9; }
268
+ .delivery-list strong, .delivery-list small { display: block; }
269
+ .delivery-list strong { font-size: 10px; }
270
+ .delivery-list small { margin-top: 4px; color: var(--muted); font-size: 8px; }
271
+ .finding-result-list { display: grid; gap: 7px; }
272
+ .finding-result-list article { padding: 10px 12px; display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; border: 1px solid var(--line); border-radius: 8px; background: #fafbf9; }
273
+ .finding-result-list strong, .finding-result-list small { display: block; }
274
+ .finding-result-list strong { font-size: 10px; }
275
+ .finding-result-list small { margin-top: 4px; color: var(--muted); font-size: 8px; overflow-wrap: anywhere; }
276
+ .finding-result-list pre { max-width: min(700px, 70vw); margin: 9px 0 0; padding: 9px; overflow: auto; border-radius: 6px; color: #294737; background: #edf4ee; font: 9px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; white-space: pre-wrap; overflow-wrap: anywhere; }
277
+ .ai-run-list { display: grid; gap: 8px; }
278
+ .ai-run-list article { padding: 12px; border-left: 3px solid #729a7d; border-radius: 7px; background: #f1f6f2; }
279
+ .ai-run-list strong, .ai-run-list small { display: block; }
280
+ .ai-run-list strong { font-size: 10px; }
281
+ .ai-run-list small { color: var(--muted); font-size: 8px; overflow-wrap: anywhere; }
282
+ .ai-run-list p { margin: 8px 0; font-size: 10px; line-height: 1.5; }
283
+ .report-run-list { display: grid; gap: 7px; margin-bottom: 12px; }
284
+ .report-run-record { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border: 1px solid #d7e5da; border-radius: 8px; background: #f2f7f3; }
285
+ .report-run-record strong, .report-run-record small { display: block; }
286
+ .report-run-record strong { font-size: 10px; }
287
+ .report-run-record small { margin-top: 4px; color: var(--muted); font-size: 8px; overflow-wrap: anywhere; }
288
+ .report-timeline { position: relative; display: grid; gap: 0; }
289
+ .timeline-event { position: relative; display: grid; grid-template-columns: 28px 1fr; gap: 8px; min-height: 48px; }
290
+ .timeline-event:not(:last-child)::before { content: ""; position: absolute; top: 25px; bottom: 0; left: 11px; width: 1px; background: #d8e1da; }
291
+ .timeline-marker { position: relative; z-index: 1; width: 23px; height: 23px; display: grid; place-items: center; border: 1px solid #cbd9ce; border-radius: 50%; color: #315641; background: #fff; font-size: 9px; font-weight: 850; }
292
+ .timeline-marker.action { color: #8a4a20; border-color: #edc69f; background: #fff8ef; }
293
+ .timeline-event > div { padding: 2px 0 10px; }
294
+ .timeline-event strong, .timeline-event span, .timeline-event small { display: block; }
295
+ .timeline-event strong { font-size: 9px; }
296
+ .timeline-event span { margin-top: 2px; color: #304a3b; font-size: 9px; line-height: 1.4; }
297
+ .timeline-event small { margin-top: 3px; color: var(--muted); font-size: 8px; }
298
+ .decision-record-list { display: grid; gap: 8px; }
299
+ .decision-record { padding: 11px 12px; border-left: 3px solid #315f46; border-radius: 7px; background: #f2f6f2; }
300
+ .decision-record > div { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
301
+ .decision-record strong { font-size: 10px; }
302
+ .decision-record p { margin: 8px 0; color: #294536; font-size: 9px; line-height: 1.5; }
303
+ .decision-record small { color: var(--muted); font-size: 8px; }
304
+ .case-message { max-width: 82%; padding: 10px 12px; border-radius: 9px; background: #edf1ed; font-size: 10px; line-height: 1.5; }
305
+ .case-message.outbound { margin-left: auto; color: #244634; background: #e5f1e8; }
306
+ .case-message small { margin-top: 5px; display: block; color: var(--muted); font-size: 8px; }
307
+ .claim-bar { margin-top: 14px; padding: 13px 15px; display: flex; justify-content: space-between; align-items: center; gap: 12px; border-radius: 9px; color: #4b6255; background: #edf6f0; }
308
+ .claim-bar p { margin: 0; display: flex; align-items: center; font-size: 10px; }
309
+ .claim-bar > div { display: flex; gap: 7px; }
310
+ .detail-actions { margin-top: 14px; display: grid; grid-template-columns: .8fr 1.2fr; gap: 12px; }
311
+ .detail-actions form { display: grid; align-content: start; gap: 10px; }
312
+ .detail-actions textarea, .appeal-dialog textarea { min-height: 80px; padding: 9px; border: 1px solid #cfd7d1; border-radius: 8px; resize: vertical; font: inherit; }
313
+ .checkbox { grid-template-columns: auto 1fr; align-items: center; }
314
+ .checkbox input { width: auto; min-height: 0; }
315
+ .appeal-dialog { width: min(660px, calc(100% - 30px)); padding-bottom: 23px; }
316
+ .appeal-dialog > p { color: var(--muted); font-size: 11px; line-height: 1.6; }
317
+ .appeal-dialog > form { display: grid; gap: 11px; }
318
+ .explain-grid { max-width: 1400px; margin: 14px auto 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 11px; }
319
+ .explain-grid article { padding: 17px; display: flex; gap: 12px; border: 1px solid var(--line); border-radius: 11px; background: rgba(255,255,255,.62); }
320
+ .explain-grid b { width: 25px; height: 25px; flex: 0 0 25px; display: grid; place-items: center; border-radius: 50%; color: var(--forest); background: var(--mint); font-size: 9px; }
321
+ .explain-grid strong { font-size: 10px; }
322
+ .explain-grid p { margin: 6px 0 0; color: var(--muted); font-size: 9px; line-height: 1.5; }
323
+ @media (max-width: 900px) {
324
+ .login-layout { min-height: auto; grid-template-columns: 1fr; }
325
+ .login-story { min-height: 0; padding: 42px 28px; }
326
+ .login-card { margin-block: 24px 32px; }
327
+ .workspace { grid-template-columns: 1fr; }
328
+ .sidebar { position: static; width: auto; height: auto; border-right: 0; border-bottom: 1px solid var(--line); }
329
+ .sidebar nav { grid-template-columns: 1fr 1fr; }
330
+ .principle { display: none; }
331
+ .metrics { grid-template-columns: 1fr 1fr; }
332
+ .operation-metrics { grid-template-columns: 1fr 1fr; }
333
+ .analytics-metrics { grid-template-columns: 1fr 1fr; }
334
+ .analytics-body { grid-template-columns: 1fr; }
335
+ .queue-list { grid-template-columns: 1fr 1fr; }
336
+ .queue-form-section { grid-template-columns: 1fr 1fr; }
337
+ .routing-agent-form { grid-template-columns: 1fr 1fr; }
338
+ .quality-review-form { grid-template-columns: 1fr; }
339
+ .quality-review-form > * { grid-column: 1 !important; }
340
+ .explain-grid { grid-template-columns: 1fr; }
341
+ .detail-grid, .detail-actions { grid-template-columns: 1fr; }
342
+ .appeal-row { grid-template-columns: 1fr auto; }
343
+ .appeal-row > span { display: none; }
344
+ .appeal-mobile-meta { display: inline; }
345
+ }
346
+
347
+ @media (max-width: 560px) {
348
+ .topbar { padding-inline: 14px; }
349
+ .health span { display: none; }
350
+ .login-story { padding: 30px 20px 28px; }
351
+ .login-story h1 { margin-bottom: 14px; font-size: clamp(36px, 11vw, 42px); line-height: .98; }
352
+ .login-story h1 br { display: none; }
353
+ .login-story > p:not(.eyebrow) { font-size: 14px; line-height: 1.5; }
354
+ .login-story ul { margin-top: 15px; gap: 8px; font-size: 11px; }
355
+ .login-card { width: calc(100% - 28px); margin-block: 16px 26px; padding: 22px; }
356
+ .login-card h2 { font-size: 30px; }
357
+ .content { padding: 22px 14px; }
358
+ .page-head, .surface-head { align-items: stretch; flex-direction: column; }
359
+ .metrics { grid-template-columns: 1fr; }
360
+ .operation-metrics { grid-template-columns: 1fr; }
361
+ .analytics-metrics { grid-template-columns: 1fr; }
362
+ .queue-list, .queue-form-section { grid-template-columns: 1fr; }
363
+ .routing-agent-form { grid-template-columns: 1fr; }
364
+ .routing-agent-instructions { grid-column: 1; }
365
+ .queue-policy-note { align-items: flex-start; flex-direction: column; }
366
+ .quality-summary { align-items: flex-start; flex-direction: column; }
367
+ .quality-list > article { grid-template-columns: 1fr auto; }
368
+ .quality-list > article > button { grid-column: 1 / -1; }
369
+ .filters { width: 100%; flex-direction: column; }
370
+ }
371
+
372
+ /* Compact live-workspace shell */
373
+ .visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
374
+ .field-help { margin: -4px 0 3px; color: var(--muted); font-size: 9px; }
375
+ .infrastructure-access { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
376
+ .infrastructure-access summary { color: #4b5d53; cursor: pointer; font-size: 10px; font-weight: 800; }
377
+ .infrastructure-access > p { margin: 9px 0; color: var(--muted); font-size: 9px; line-height: 1.5; }
378
+ #invitation-form, #forgot-password-form, #password-reset-form { display: grid; gap: 11px; }
379
+
380
+ .workspace { grid-template-columns: 214px minmax(0, 1fr); background: #f4f3ee; }
381
+ .sidebar { padding: 18px 11px; border-right: 0; color: #f2f6ef; background: linear-gradient(180deg, #063a2d 0%, #073327 100%); }
382
+ .workspace-card { padding: 9px; border-color: rgba(255,255,255,.11); background: rgba(255,255,255,.055); }
383
+ .workspace-card > span { color: #dafa72; background: rgba(218,250,114,.12); }
384
+ .workspace-card strong { color: white; }
385
+ .workspace-card small { color: #a9c3b7; }
386
+ .sidebar nav { margin-top: 19px; gap: 3px; }
387
+ .sidebar nav > small { margin: 14px 10px 5px; color: #7ba397; font-size: 7px; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
388
+ .sidebar nav a { min-height: 36px; color: #bdd0c8; font-size: 10px; }
389
+ .sidebar nav a:hover { color: white; background: rgba(255,255,255,.07); }
390
+ .sidebar nav a.active { color: #123b2b; background: #dafa72; box-shadow: 0 7px 18px rgba(0,0,0,.12); }
391
+ .principle { color: #bcd2c8; background: rgba(255,255,255,.06); }
392
+ .principle strong { color: white; }
393
+ .content { min-width: 0; padding: 0; transition: margin-right .2s ease; }
394
+ .queue-view { min-height: calc(100vh - 66px); }
395
+ .page-head { max-width: none; min-height: 78px; margin: 0; padding: 15px 22px; align-items: center; border-bottom: 1px solid #dedfd8; background: #fbfaf7; }
396
+ .queue-title > div { display: flex; align-items: center; gap: 11px; }
397
+ .page-head h1 { margin: 0; font-family: var(--sans); font-size: 25px; font-weight: 780; letter-spacing: -.04em; }
398
+ .queue-title p { margin: 4px 0 0; color: var(--muted); font-size: 9px; }
399
+ .live-label { padding: 5px 8px; display: inline-flex; align-items: center; gap: 6px; border: 1px solid #d4d9d3; border-radius: 7px; color: #52645a; background: white; font-size: 8px; font-weight: 800; }
400
+ .live-label i { width: 6px; height: 6px; border-radius: 50%; background: #49a467; box-shadow: 0 0 0 3px rgba(73,164,103,.12); }
401
+ .active-analysts { min-width: 0; margin: 0; padding: 0; border: 0; }
402
+ .active-analysts > div:first-child { justify-content: flex-end; gap: 6px; }
403
+ .active-analysts > div:first-child strong { color: #819087; font-size: 7px; }
404
+ .active-analyst-list { max-width: min(620px, 48vw); margin-top: 5px; display: flex; justify-content: flex-end; gap: 6px; overflow-x: auto; }
405
+ .active-analyst { min-width: 150px; padding: 5px 8px; border: 1px solid #dce1dc; background: white; }
406
+ .active-analyst:hover { background: white; }
407
+ .active-analyst .analyst-identity strong { color: #244333; }
408
+ .active-analyst-empty { padding: 4px 0; }
409
+ .report-surface { max-width: none; margin: 0; border: 0; border-radius: 0; background: #fbfaf7; }
410
+ .report-surface > .surface-head { padding: 11px 15px; align-items: center; border-bottom-color: #dcddd7; }
411
+ .queue-toolbar { min-width: 0; display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
412
+ .queue-toolbar label { min-width: 112px; display: block; color: transparent; font-size: 0; }
413
+ .queue-toolbar select { min-height: 33px; padding: 6px 28px 6px 9px; border-color: #d7dbd6; border-radius: 7px; color: #425148; background-color: white; font-size: 9px; font-weight: 700; }
414
+ .queue-toolbar .search-field { position: relative; min-width: 195px; }
415
+ .queue-toolbar .search-field span { position: absolute; z-index: 1; top: 8px; left: 10px; color: #849087; font-size: 13px; }
416
+ .queue-toolbar .search-field input { min-height: 33px; padding-left: 30px; font-size: 9px; }
417
+ .refresh-button { min-width: 34px; min-height: 33px; padding: 6px; font-size: 14px; }
418
+ .report-surface .table-wrap { min-height: calc(100vh - 189px); background: white; }
419
+ .report-surface table { font-size: 10px; table-layout: fixed; }
420
+ .report-surface th { height: 35px; padding: 8px 15px; color: #7b8880; background: #f8f8f5; font-size: 7px; }
421
+ .report-surface th:first-child { width: 34%; }
422
+ .report-surface th:nth-child(2) { width: 21%; }
423
+ .report-surface th:nth-child(3) { width: 13%; }
424
+ .report-surface th:nth-child(4) { width: 12%; }
425
+ .report-surface th:nth-child(5) { width: 20%; }
426
+ .report-surface td { height: 62px; padding: 10px 15px; border-top-color: #e7e8e2; }
427
+ .report-surface tbody tr { cursor: pointer; transition: background .12s ease, box-shadow .12s ease; }
428
+ .report-surface tbody tr:hover { background: #f8fbf6; }
429
+ .report-surface tbody tr.selected { background: #eff7ea; box-shadow: inset 3px 0 #1f6c48; }
430
+ .report-identity { min-width: 0; display: flex; align-items: center; gap: 10px; }
431
+ .report-identity > span:last-child { min-width: 0; }
432
+ .report-avatar { width: 31px; height: 31px; flex: 0 0 31px; display: grid; place-items: center; border-radius: 50%; color: #5b4c85; background: #eeebfa; font-size: 8px; font-weight: 850; }
433
+ .report-link { color: #1e2e26; font-size: 10px; }
434
+ .report-identity small { max-width: 290px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
435
+ .priority-badge { padding: 4px 7px; display: inline-flex; border-radius: 6px; font-size: 8px; font-weight: 850; text-transform: capitalize; }
436
+ .priority-badge.high { color: #a23932; background: #fff0ec; }
437
+ .priority-badge.medium { color: #9b651d; background: #fff5dc; }
438
+ .priority-badge.low { color: #6b6d58; background: #f4f1dc; }
439
+ .unclaimed { padding-left: 28px; color: #89948d; }
440
+
441
+ body.report-open .content { margin-right: 408px; }
442
+ .report-drawer { position: fixed; z-index: 30; inset: 66px 0 0 auto; width: 408px; height: calc(100vh - 66px); max-height: none; margin: 0; border: 0; border-left: 1px solid #d9ddd7; border-radius: 0; box-shadow: -12px 0 35px rgba(20,49,33,.1); overflow-y: auto; }
443
+ .report-drawer::backdrop { display: none; }
444
+ .report-drawer .detail-head { padding: 17px 18px; }
445
+ .report-drawer .detail-head h2 { font-family: var(--sans); font-size: 18px; letter-spacing: -.02em; }
446
+ .report-drawer .report-detail-content { margin-inline: 15px; padding-block: 15px 24px; }
447
+ .report-drawer .detail-grid, .report-drawer .detail-actions { grid-template-columns: 1fr; }
448
+ .report-drawer .detail-grid section, .report-drawer .detail-actions form { padding: 13px; }
449
+ .report-drawer .detail-grid dl { grid-template-columns: 105px 1fr; font-size: 9px; }
450
+ .report-drawer .report-detail-content > section { padding: 13px; border: 1px solid var(--line); border-radius: 9px; background: #fafbf9; }
451
+ .report-drawer .claim-bar { position: sticky; z-index: 1; bottom: 0; border: 1px solid #d9e8dc; box-shadow: 0 -5px 18px rgba(29,69,46,.06); }
452
+ .report-drawer .detail-actions { padding-bottom: 18px; }
453
+ .report-drawer .case-message { max-width: 95%; }
454
+ .report-drawer .finding-result-list pre { max-width: 330px; }
455
+
456
+ .content > .surface[data-view], .content > .explain-grid[data-view] { max-width: 1180px; margin: 24px auto; }
457
+ .people-surface .surface-head p:last-child { margin: 5px 0 0; color: var(--muted); font-size: 9px; }
458
+ .invite-form { padding: 15px 20px; display: grid; grid-template-columns: minmax(220px, 1fr) 190px auto; align-items: end; gap: 10px; border-bottom: 1px solid var(--line); background: #fafbf9; }
459
+ .invite-form button { min-height: 40px; }
460
+ .invite-result { margin: 14px 20px 0; padding: 12px; display: grid; grid-template-columns: minmax(170px, .7fr) minmax(260px, 1.3fr) auto; align-items: center; gap: 10px; border: 1px solid #cfe0d4; border-radius: 9px; background: #f1f8f2; }
461
+ .invite-result strong, .invite-result small { display: block; }
462
+ .invite-result strong { font-size: 10px; }
463
+ .invite-result small { margin-top: 3px; color: var(--muted); font-size: 8px; }
464
+ .invite-result input { font: 9px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; }
465
+ .people-columns { padding: 18px 20px 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
466
+ .people-columns h2, .people-columns h3 { margin-bottom: 10px; font: 740 13px/1.2 var(--sans); letter-spacing: -.01em; }
467
+ .people-list { display: grid; border: 1px solid var(--line); border-radius: 9px; overflow: hidden; }
468
+ .people-list article { min-width: 0; padding: 11px; display: grid; grid-template-columns: minmax(0, 1fr) auto auto auto; align-items: center; gap: 9px; border-top: 1px solid var(--line); background: white; }
469
+ .people-list article:first-child { border-top: 0; }
470
+ .people-list article > small { color: var(--muted); font-size: 8px; }
471
+ .people-list article > div strong, .people-list article > div small { display: block; }
472
+ .people-list article > div strong { font-size: 9px; }
473
+ .people-list article > div small { margin-top: 3px; color: var(--muted); font-size: 8px; }
474
+ .people-role { padding: 4px 7px; border-radius: 999px; color: #335643; background: #eaf3eb; font-size: 8px; font-weight: 800; }
475
+ .people-empty { margin: 0; padding: 20px; color: var(--muted); font-size: 9px; }
476
+ .compact-button { min-height: 30px; padding: 6px 9px; font-size: 8px; }
477
+ .profile-surface .surface-head p:last-child { max-width: 620px; margin: 5px 0 0; color: var(--muted); font-size: 9px; line-height: 1.55; }
478
+ .profile-layout { padding: 24px; display: grid; grid-template-columns: 210px minmax(0, 480px); gap: 34px; align-items: start; }
479
+ .profile-photo-card { display: grid; justify-items: start; gap: 10px; }
480
+ .profile-avatar-preview { min-height: 86px; }
481
+ .profile-photo-card small { color: var(--muted); font-size: 8px; }
482
+ .upload-button { position: relative; display: inline-flex; align-items: center; }
483
+ .upload-button.disabled { opacity: .58; cursor: wait; }
484
+ .upload-button input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
485
+ .profile-form { display: grid; gap: 12px; }
486
+ .profile-form label { display: grid; gap: 6px; }
487
+ .workspace-mode button:disabled { cursor: not-allowed; opacity: .58; }
488
+ .profile-form input[readonly] { color: #68756d; background: #f4f6f3; }
489
+ .profile-surface > .form-message { padding: 0 24px 5px; }
490
+
491
+ @media (max-width: 1180px) {
492
+ body.report-open .content { margin-right: 360px; }
493
+ .report-drawer { width: 360px; }
494
+ .report-surface th:first-child { width: 38%; }
495
+ .active-analyst-list { max-width: 40vw; }
496
+ }
497
+
498
+ @media (max-width: 900px) {
499
+ .workspace { width: 100%; min-width: 0; grid-template-columns: minmax(0, 1fr); overflow-x: clip; }
500
+ .sidebar { position: static; width: 100%; min-width: 0; max-width: 100vw; height: auto; padding: 10px; overflow: hidden; }
501
+ .sidebar .workspace-card, .sidebar .principle { display: none; }
502
+ .sidebar nav { width: 100%; min-width: 0; max-width: 100%; margin: 0; display: flex; overflow-x: auto; overscroll-behavior-x: contain; }
503
+ .sidebar nav, .active-analyst-list { scrollbar-width: none; }
504
+ .sidebar nav::-webkit-scrollbar, .active-analyst-list::-webkit-scrollbar { display: none; }
505
+ .sidebar nav > small { display: none; }
506
+ .sidebar nav a { flex: 0 0 auto; }
507
+ .content { width: 100%; min-width: 0; max-width: 100%; }
508
+ .page-head { min-width: 0; align-items: flex-start; flex-direction: column; }
509
+ .active-analyst-list { max-width: calc(100vw - 44px); justify-content: flex-start; }
510
+ body.report-open .content { margin-right: 0; }
511
+ .report-drawer { top: 66px; width: min(440px, 100vw); }
512
+ .report-drawer::backdrop { display: block; background: rgba(5,32,23,.35); }
513
+ .invite-form, .invite-result, .people-columns, .profile-layout { grid-template-columns: 1fr; }
514
+ }
515
+
516
+ @media (max-width: 620px) {
517
+ .topbar { height: 58px; }
518
+ .current-analyst { display: none; }
519
+ .queue-toolbar { display: grid; grid-template-columns: 1fr 1fr; }
520
+ .report-surface > .surface-head { align-items: stretch; flex-direction: column; }
521
+ .queue-view, .report-surface { width: 100%; max-width: 100%; min-width: 0; }
522
+ .report-surface > .surface-head { width: 100%; max-width: 100%; }
523
+ .queue-toolbar { width: 100%; max-width: calc(100vw - 30px); }
524
+ .queue-toolbar .search-field { min-width: 0; grid-column: 1 / -1; }
525
+ .queue-toolbar label { min-width: 0; }
526
+ .refresh-button { align-self: flex-end; }
527
+ .report-surface th:nth-child(2), .report-surface td:nth-child(2),
528
+ .report-surface th:nth-child(3), .report-surface td:nth-child(3) { display: none; }
529
+ .report-surface th:first-child { width: 52%; }
530
+ .report-surface th:nth-child(4) { width: 18%; }
531
+ .report-surface th:nth-child(5) { width: 30%; }
532
+ .report-drawer { inset: var(--product-topbar) 0 0 0; width: 100%; height: calc(100dvh - var(--product-topbar)); }
533
+ .report-surface .table-wrap { overflow-x: hidden; }
534
+ .people-list article { grid-template-columns: 1fr auto; }
535
+ .people-list article > small { display: none; }
536
+ }
537
+
538
+ /* Workspace-wide customer theme application */
539
+ .topbar, .surface, .login-card, .editor-dialog, .detail-dialog, .studio-dialog, .public-top,
540
+ .command-metrics article, .command-panel, .form-field-head, input, select, textarea { background-color: var(--paper); }
541
+ .login-story { background: var(--forest); }
542
+ .surface, .login-card, .editor-dialog, .detail-dialog, .command-metrics article, .command-panel { border-radius: max(6px, var(--customer-radius)); }
543
+ .sidebar, .object-grid, .queue-list { background-color: color-mix(in srgb, var(--canvas) 65%, var(--paper)); }
544
+ .workspace-mark { color: var(--brand-primary-contrast); background: var(--forest); }
545
+
546
+ /* Product shell and builder surfaces */
547
+ .global-command { min-height: 36px; padding: 7px 10px; display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 9px; color: #536159; background: #fafbf9; font-size: 10px; font-weight: 750; }
548
+ .global-command:hover { color: var(--forest); border-color: #b9cbc0; background: #f1f7f2; }
549
+ .global-command kbd { padding: 2px 5px; border: 1px solid #d7ddd8; border-radius: 5px; color: #7a867e; background: white; font: 8px var(--sans); }
550
+ .nav-count { min-width: 23px; margin-left: auto; padding: 2px 6px; border-radius: 999px; color: var(--forest); background: #dfeee3; font-size: 8px; text-align: center; }
551
+ .sidebar nav a.active .nav-count { color: white; background: var(--forest); }
552
+ .command-view, .builder-view, .assistant-view, .settings-view { max-width: 1400px; margin: 0 auto; }
553
+ .command-head { max-width: none; }
554
+ .command-head h1, .builder-view .page-head h1, .assistant-view .page-head h1, .settings-view .page-head h1 { font-size: clamp(34px, 4vw, 48px); }
555
+ .command-metrics { max-width: none; }
556
+ .command-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr); gap: 14px; }
557
+ .command-panel { max-width: none; margin: 0; }
558
+ .attention-banner { margin-bottom: 14px; padding: 13px 15px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border: 1px solid #e8d7a6; border-radius: 11px; color: #6f5216; background: #fff8e5; font-size: 10px; }
559
+ .attention-banner strong, .attention-banner span { display: block; }
560
+ .attention-banner span { margin-top: 3px; color: #806a3d; }
561
+ .attention-list, .compact-run-list { display: grid; }
562
+ .attention-row, .compact-run-row { min-width: 0; padding: 13px 17px; display: grid; align-items: center; gap: 11px; border-top: 1px solid var(--line); }
563
+ .attention-row:first-child, .compact-run-row:first-child { border-top: 0; }
564
+ .attention-row { grid-template-columns: 34px minmax(0, 1fr) auto; }
565
+ .compact-run-row { grid-template-columns: minmax(0, 1fr) auto; }
566
+ .attention-glyph { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 9px; color: #9b651d; background: #fff1ce; font-size: 14px; }
567
+ .attention-glyph.danger { color: var(--danger); background: var(--danger-soft); }
568
+ .attention-row strong, .attention-row small, .compact-run-row strong, .compact-run-row small { display: block; }
569
+ .attention-row strong, .compact-run-row strong { font-size: 10px; }
570
+ .attention-row small, .compact-run-row small { margin-top: 3px; color: var(--muted); font-size: 8px; }
571
+ .attention-meta { color: var(--muted); font-size: 8px; text-align: right; }
572
+ .skeleton-block, .skeleton-card { position: relative; overflow: hidden; background: #edf1ed; }
573
+ .skeleton-block::after, .skeleton-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,.68), transparent); animation: skeleton 1.25s infinite; }
574
+ .skeleton-block { height: 72px; margin: 15px; border-radius: 9px; }
575
+ .skeleton-card { min-height: 180px; border-radius: 12px; }
576
+ @keyframes skeleton { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
577
+
578
+ .builder-view > .page-head, .assistant-view > .page-head, .settings-view > .page-head { max-width: none; }
579
+ .safety-boundary { margin-bottom: 14px; padding: 12px 14px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 7px; border: 1px solid #cfe0d4; border-radius: 10px; color: #345743; background: #f0f7f1; font-size: 9px; line-height: 1.55; }
580
+ .safety-boundary strong { color: #173e2c; }
581
+ .routing-boundary { border-color: #d9d9e9; color: #555477; background: #f5f4fb; }
582
+ .routing-boundary strong { color: #343253; }
583
+ .object-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
584
+ .object-card { min-width: 0; padding: 16px; display: flex; flex-direction: column; gap: 12px; border: 1px solid var(--line); border-radius: 12px; background: white; box-shadow: 0 4px 14px rgba(21,55,37,.03); transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease; }
585
+ .object-card:hover { border-color: #b9cac0; box-shadow: 0 9px 26px rgba(21,55,37,.07); transform: translateY(-1px); }
586
+ .object-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
587
+ .object-icon { width: 35px; height: 35px; display: grid; place-items: center; border-radius: 10px; color: var(--forest); background: var(--mint); font-size: 15px; }
588
+ .object-icon.action { color: #9d3832; background: #fff0ec; }
589
+ .object-icon.agent { color: #5b4f84; background: #f0edfa; }
590
+ .object-icon.connection { color: #285f73; background: #eaf5f8; }
591
+ .object-card h3 { margin: 0; font: 700 17px/1.2 var(--serif); letter-spacing: -.02em; }
592
+ .object-card > p { min-height: 45px; margin: -7px 0 0; color: var(--muted); font-size: 9px; line-height: 1.55; }
593
+ .object-card-meta { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 6px; }
594
+ .object-card-meta div { padding: 8px; border-radius: 7px; background: #f6f8f5; }
595
+ .object-card-meta span, .object-card-meta strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
596
+ .object-card-meta span { color: var(--muted); font-size: 7px; text-transform: uppercase; }
597
+ .object-card-meta strong { margin-top: 3px; font-size: 8px; }
598
+ .object-card-footer { margin-top: auto; padding-top: 11px; display: flex; align-items: center; justify-content: space-between; gap: 8px; border-top: 1px solid var(--line); }
599
+ .object-card-footer small { color: var(--muted); font-size: 8px; }
600
+ .object-card-footer button { min-height: 31px; padding: 6px 9px; }
601
+ .empty-product { grid-column: 1 / -1; padding: 55px 25px; border: 1px dashed #cbd5ce; border-radius: 13px; color: var(--muted); background: rgba(255,255,255,.62); text-align: center; }
602
+ .empty-product span { width: 44px; height: 44px; margin: 0 auto 12px; display: grid; place-items: center; border-radius: 12px; color: var(--forest); background: var(--mint); font-size: 20px; }
603
+ .empty-product h2 { color: var(--ink); }
604
+ .empty-product p { max-width: 520px; margin: 0 auto 14px; font-size: 10px; line-height: 1.6; }
605
+ .segmented-tabs { width: fit-content; margin-bottom: 14px; padding: 3px; display: flex; gap: 2px; border: 1px solid var(--line); border-radius: 9px; background: #eef1ed; }
606
+ .segmented-tabs button { min-height: 31px; padding: 6px 11px; border-radius: 6px; color: var(--muted); background: transparent; font-size: 9px; font-weight: 800; }
607
+ .segmented-tabs button.active { color: var(--forest-dark); background: white; box-shadow: 0 1px 4px rgba(20,48,33,.09); }
608
+ .component-filters { margin-bottom: 12px; display: flex; gap: 9px; }
609
+ .component-filters .search-field { min-width: 260px; flex: 1; }
610
+ .configuration-tabs { max-width: 100%; overflow-x: auto; }
611
+
612
+ .assistant-layout { display: grid; grid-template-columns: minmax(0, 1fr) 275px; gap: 14px; }
613
+ .assistant-panel { max-width: none; min-height: 660px; display: grid; grid-template-rows: auto minmax(0, 1fr) auto auto; overflow: hidden; }
614
+ .assistant-context { padding: 10px 16px; border-bottom: 1px solid var(--line); color: var(--muted); background: #fafbf9; font-size: 9px; }
615
+ .assistant-messages { padding: 22px; display: grid; align-content: start; gap: 16px; overflow-y: auto; }
616
+ .assistant-empty { align-self: center; padding: 65px 20px; text-align: center; }
617
+ .assistant-empty > span { width: 47px; height: 47px; margin: 0 auto 13px; display: grid; place-items: center; border-radius: 14px; color: #5a4b85; background: #efecf8; font-size: 21px; }
618
+ .assistant-empty h2 { font-family: var(--sans); font-size: 24px; }
619
+ .assistant-empty p { max-width: 530px; margin: 0 auto 18px; color: var(--muted); font-size: 10px; line-height: 1.6; }
620
+ .assistant-empty > div { display: flex; flex-wrap: wrap; justify-content: center; gap: 7px; }
621
+ .assistant-empty button { padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; color: #435148; background: white; font-size: 9px; }
622
+ .assistant-message { max-width: 82%; display: grid; grid-template-columns: 29px minmax(0, 1fr); gap: 9px; }
623
+ .assistant-message.user { margin-left: auto; grid-template-columns: minmax(0, 1fr) 29px; }
624
+ .assistant-message.user .assistant-bubble { order: -1; color: #173e2c; background: #e2efe5; }
625
+ .assistant-avatar { width: 29px; height: 29px; display: grid; place-items: center; border-radius: 9px; color: #5b4f84; background: #efecf8; font-size: 11px; font-weight: 850; }
626
+ .assistant-bubble { padding: 11px 13px; border-radius: 11px; background: #f4f6f3; font-size: 10px; line-height: 1.65; white-space: pre-wrap; }
627
+ .assistant-bubble strong { display: block; margin-bottom: 4px; }
628
+ .assistant-citations { margin-top: 9px; display: flex; flex-wrap: wrap; gap: 5px; }
629
+ .assistant-citations button { padding: 4px 7px; border: 1px solid #cdd7d0; border-radius: 6px; color: #3f5f4d; background: white; font-size: 8px; }
630
+ .assistant-composer { margin: 0 14px 12px; padding: 7px; display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: end; gap: 8px; border: 1px solid #becbc2; border-radius: 11px; background: white; box-shadow: 0 7px 23px rgba(22,55,38,.08); }
631
+ .assistant-composer textarea { min-height: 44px; max-height: 150px; padding: 8px; border: 0; resize: vertical; font: 11px/1.5 var(--sans); outline: 0; }
632
+ .assistant-panel > .error { padding: 0 18px 8px; }
633
+ .assistant-side { display: grid; align-content: start; gap: 12px; }
634
+ .assistant-side .surface { width: 100%; max-width: none; margin: 0; padding: 16px; }
635
+ .assistant-side h2 { font: 700 15px var(--sans); }
636
+ .assistant-side ul { margin: 11px 0 0; padding-left: 18px; color: var(--muted); font-size: 9px; line-height: 1.85; }
637
+ .assistant-side p { color: var(--muted); font-size: 9px; line-height: 1.55; }
638
+
639
+ .settings-grid { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(300px,.9fr); gap: 14px; }
640
+ .settings-card { width: 100%; max-width: none; margin: 0; }
641
+ .settings-wide { grid-column: 1 / -1; }
642
+ .setup-list, .integration-list { display: grid; }
643
+ .setup-row, .integration-row { padding: 13px 17px; display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; align-items: center; gap: 10px; border-top: 1px solid var(--line); }
644
+ .setup-row:first-child, .integration-row:first-child { border-top: 0; }
645
+ .setup-state { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; color: var(--forest); background: var(--mint); font-size: 10px; font-weight: 850; }
646
+ .setup-state.warning { color: #8c651c; background: #fff2cf; }
647
+ .setup-row strong, .setup-row small, .integration-row strong, .integration-row small { display: block; }
648
+ .setup-row strong, .integration-row strong { font-size: 9px; }
649
+ .setup-row small, .integration-row small { margin-top: 3px; color: var(--muted); font-size: 8px; }
650
+ .integration-actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
651
+ .settings-facts { margin: 0; padding: 17px; display: grid; grid-template-columns: 120px minmax(0,1fr); gap: 10px 13px; font-size: 9px; }
652
+ .settings-fact { display: contents; }
653
+ .settings-facts dt { color: var(--muted); }
654
+ .settings-facts dd { margin: 0; overflow-wrap: anywhere; font-weight: 750; }
655
+ .settings-card-loading { padding: 17px; }
656
+ .settings-empty-row { padding: 22px 17px; color: var(--muted); text-align: left; }
657
+ .settings-empty-row strong, .settings-empty-row small { display: block; }
658
+ .settings-empty-row strong { color: var(--ink); font-size: 10px; }
659
+ .settings-empty-row small { margin-top: 4px; font-size: 9px; line-height: 1.5; }
660
+ .settings-no-access { max-width: none; margin: 0; }
661
+ .settings-form-feedback { min-width: 0; display: grid !important; gap: 2px !important; }
662
+ .settings-form-feedback p { margin: 0; }
663
+
664
+ /* Builder dialogs */
665
+ .editor-dialog { width: min(760px, calc(100% - 28px)); max-height: calc(100vh - 36px); padding: 0; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 25px 80px rgba(10,37,24,.23); overflow-y: auto; }
666
+ .editor-dialog::backdrop, .studio-dialog::backdrop { background: rgba(7,31,20,.46); backdrop-filter: blur(3px); }
667
+ .editor-form { padding: 20px; display: grid; gap: 13px; }
668
+ .editor-form fieldset { padding: 12px; display: grid; gap: 8px; border: 1px solid var(--line); border-radius: 9px; }
669
+ .editor-form legend { padding: 0 5px; color: var(--muted); font-size: 9px; font-weight: 800; }
670
+ .template-choice { padding: 9px; display: flex; grid-template-columns: auto 1fr; align-items: center; gap: 9px; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; }
671
+ .template-choice:has(input:checked) { border-color: #75a086; background: #f1f7f2; }
672
+ .template-choice input { width: 15px; min-height: 15px; accent-color: var(--forest); }
673
+ .template-choice strong, .template-choice small { display: block; }
674
+ .template-choice small { margin-top: 2px; color: var(--muted); font-size: 8px; }
675
+ .editor-footer { padding-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); }
676
+ .editor-footer > div { display: flex; gap: 7px; }
677
+ .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
678
+ .wide-field { grid-column: 1 / -1; }
679
+ .code-input { min-height: 118px; padding: 9px; border: 1px solid #cfd7d1; border-radius: 8px; resize: vertical; color: #264635; background: #fbfcfa; font: 9px/1.55 ui-monospace, SFMono-Regular, Menlo, monospace; tab-size: 2; }
680
+ .configuration-code { min-height: 410px; }
681
+ .validation-summary { padding: 11px; border: 1px solid var(--line); border-radius: 8px; color: var(--muted); background: #fafbf9; font-size: 9px; line-height: 1.55; }
682
+ .validation-summary.valid { color: #316345; border-color: #c6ddcc; background: #f0f8f2; }
683
+ .validation-summary.invalid { color: #943b35; border-color: #ecd2cf; background: #fff3f1; }
684
+
685
+ .studio-dialog { width: calc(100vw - 24px); height: calc(100vh - 24px); max-width: none; max-height: none; margin: 12px; padding: 0; border: 1px solid var(--line); border-radius: 13px; color: var(--ink); background: var(--canvas); box-shadow: 0 30px 100px rgba(4,27,16,.27); overflow: hidden; }
686
+ .studio-toolbar { height: 62px; padding: 0 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); background: white; }
687
+ .studio-toolbar > div:first-child { min-width: 0; display: flex; align-items: center; gap: 10px; }
688
+ .studio-toolbar .eyebrow { margin-bottom: 2px; }
689
+ .studio-toolbar h2 { margin: 0; font: 750 14px var(--sans); letter-spacing: -.015em; }
690
+ .studio-toolbar small { color: var(--muted); font-size: 8px; }
691
+ .studio-actions { display: flex; align-items: center; gap: 7px; }
692
+ .save-state { color: var(--muted); font-size: 8px; }
693
+ .studio-body { height: calc(100vh - 302px); min-height: 410px; display: grid; grid-template-columns: 210px minmax(430px, 1fr) 290px; }
694
+ .node-palette, .node-inspector { padding: 14px; background: white; overflow-y: auto; }
695
+ .node-palette { border-right: 1px solid var(--line); }
696
+ .node-inspector { border-left: 1px solid var(--line); }
697
+ .node-palette h3, .node-inspector h3 { margin: 0; font: 750 12px var(--sans); }
698
+ .node-palette > p, .node-inspector p { color: var(--muted); font-size: 8px; line-height: 1.5; }
699
+ .palette-button { width: 100%; margin-top: 6px; padding: 8px; display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 8px; color: #35463d; background: white; text-align: left; }
700
+ .palette-button:hover { border-color: #9bb3a3; background: #f5f9f5; }
701
+ .palette-button i { width: 9px; height: 9px; flex: 0 0 auto; border-radius: 3px; background: var(--forest); }
702
+ .palette-button i.human { background: #c9862f; }
703
+ .palette-button i.action { background: var(--danger); }
704
+ .palette-button i.ai { background: #67538f; }
705
+ .palette-button strong, .palette-button small { display: block; }
706
+ .palette-button strong { font-size: 9px; }
707
+ .palette-button small { margin-top: 2px; color: var(--muted); font-size: 7px; }
708
+ .workflow-canvas-shell { min-width: 0; overflow: auto; background-color: #f7f8f5; background-image: radial-gradient(#cdd5ce 1px, transparent 1px); background-size: 20px 20px; }
709
+ .canvas-legend { position: sticky; z-index: 2; top: 10px; left: 10px; width: fit-content; padding: 6px 8px; display: flex; gap: 10px; border: 1px solid var(--line); border-radius: 7px; color: var(--muted); background: rgba(255,255,255,.93); font-size: 7px; }
710
+ .canvas-legend span { display: flex; align-items: center; gap: 4px; }
711
+ .canvas-legend i { width: 7px; height: 7px; border-radius: 2px; background: var(--forest); }
712
+ .canvas-legend i.human { background: #c9862f; }
713
+ .canvas-legend i.action { background: var(--danger); }
714
+ .workflow-canvas { position: relative; min-width: 920px; min-height: 580px; }
715
+ .workflow-edge-layer { position: absolute; inset: 0; z-index: 0; overflow: visible; pointer-events: none; }
716
+ .workflow-edge-path { fill: none; stroke: #6e8c79; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
717
+ .workflow-edge-group.warning .workflow-edge-path { stroke: #ad742d; stroke-dasharray: 7 5; }
718
+ .workflow-edge-group.exception .workflow-edge-path { stroke: #bb574e; stroke-dasharray: 6 5; }
719
+ .workflow-arrow-head.standard { fill: #5d7e69; }
720
+ .workflow-arrow-head.warning { fill: #a56d29; }
721
+ .workflow-arrow-head.exception { fill: #b94f46; }
722
+ .workflow-edge-label { fill: #50645a; stroke: #f7f8f5; stroke-width: 5px; stroke-linejoin: round; paint-order: stroke; font: 800 8px var(--sans); letter-spacing: .035em; text-transform: uppercase; }
723
+ .workflow-edge-group.warning .workflow-edge-label { fill: #946125; }
724
+ .workflow-edge-group.exception .workflow-edge-label { fill: #a1433b; }
725
+ .canvas-node { position: absolute; z-index: 1; width: 168px; min-height: 78px; padding: 11px; border: 1px solid #b9c6bd; border-radius: 11px; color: var(--ink); background: white; box-shadow: 0 4px 14px rgba(25,53,38,.07); text-align: left; }
726
+ .canvas-node:hover, .canvas-node.selected { border-color: var(--forest); box-shadow: 0 0 0 3px rgba(49,119,78,.13), 0 5px 16px rgba(25,53,38,.08); }
727
+ .canvas-node::before, .canvas-node::after { content: ""; position: absolute; top: 50%; width: 8px; height: 8px; transform: translateY(-50%); border: 2px solid white; border-radius: 50%; background: #6f8777; box-shadow: 0 0 0 1px #6f8777; }
728
+ .canvas-node::before { left: -5px; }
729
+ .canvas-node::after { right: -5px; }
730
+ .canvas-node[data-kind="start"]::before, .canvas-node[data-kind="end"]::after { display: none; }
731
+ .canvas-node-kind { display: flex; align-items: center; gap: 5px; color: var(--muted); font-size: 7px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
732
+ .canvas-node-kind i { width: 8px; height: 8px; border-radius: 3px; background: var(--forest); }
733
+ .canvas-node.human .canvas-node-kind i { background: #c9862f; }
734
+ .canvas-node.action .canvas-node-kind i { background: var(--danger); }
735
+ .canvas-node.ai .canvas-node-kind i { background: #67538f; }
736
+ .canvas-node h4 { margin: 9px 0 0; font-size: 10px; }
737
+ .canvas-node p { margin: 3px 0 0; color: var(--muted); font-size: 7px; line-height: 1.4; }
738
+ .node-inspector form { display: grid; gap: 10px; }
739
+ .node-inspector textarea { min-height: 76px; }
740
+ .inspector-actions { display: flex; justify-content: space-between; gap: 8px; }
741
+ .danger-button { padding: 7px 9px; border: 1px solid #e6c7c3; border-radius: 7px; color: #9d3e37; background: #fff4f2; font-size: 8px; font-weight: 800; }
742
+ .graph-json-editor { height: 230px; padding: 12px 14px; display: grid; grid-template-columns: 170px minmax(0,1fr) auto; align-items: stretch; gap: 12px; border-top: 1px solid var(--line); background: white; }
743
+ .graph-json-editor h3 { margin: 0; font: 750 11px var(--sans); }
744
+ .graph-json-editor p { color: var(--muted); font-size: 8px; line-height: 1.5; }
745
+ .graph-json-editor textarea { padding: 9px; border: 1px solid var(--line); border-radius: 8px; resize: none; color: #294737; background: #fafbf9; font: 8px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; }
746
+ .studio-console { height: 168px; border-top: 1px solid var(--line); background: white; }
747
+ .console-head { height: 39px; padding: 0 13px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); font-size: 9px; }
748
+ .console-output { height: 128px; padding: 10px 14px; color: var(--muted); font-size: 8px; line-height: 1.55; overflow-y: auto; }
749
+ .console-output p { margin: 0 0 5px; }
750
+ .console-issue { padding: 6px 8px; display: grid; grid-template-columns: 65px minmax(0,1fr) auto; gap: 8px; border-top: 1px solid var(--line); }
751
+ .console-issue:first-child { border-top: 0; }
752
+ .studio-error { position: absolute; right: 14px; bottom: 171px; z-index: 5; min-height: 0; padding: 7px 10px; border-radius: 7px; background: #fff2ef; }
753
+
754
+ /* Report Workspace uses the same facts and controls in a full investigation surface. */
755
+ body.report-open .content { margin-right: 0; }
756
+ .report-drawer { inset: 74px 12px 12px auto; width: min(1120px, calc(100vw - 274px)); height: calc(100vh - 86px); border: 1px solid var(--line); border-radius: 13px; box-shadow: -18px 18px 60px rgba(10,39,24,.18); }
757
+ .report-drawer::backdrop { display: block; background: rgba(7,31,20,.31); backdrop-filter: blur(2px); }
758
+ .report-drawer .report-detail-content { margin: 0; padding: 16px 18px 28px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, .75fr); gap: 12px; }
759
+ .report-drawer .detail-grid { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; }
760
+ .report-drawer .report-detail-content > section { margin: 0; }
761
+ .report-drawer .report-detail-content > section:nth-of-type(n+2) { grid-column: 1; }
762
+ .report-drawer .claim-bar, .report-drawer .detail-actions, .report-drawer .surface-error { grid-column: 2; }
763
+ .report-drawer .claim-bar { top: 0; bottom: auto; align-self: start; }
764
+ .report-drawer .detail-actions { padding: 0; grid-template-columns: 1fr; align-self: start; }
765
+
766
+ @media (max-width: 1100px) {
767
+ .object-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
768
+ .command-grid, .assistant-layout, .settings-grid { grid-template-columns: 1fr; }
769
+ .assistant-side { grid-template-columns: 1fr 1fr; }
770
+ .settings-wide { grid-column: auto; }
771
+ .studio-body { grid-template-columns: 180px minmax(430px,1fr) 250px; }
772
+ .report-drawer { width: calc(100vw - 40px); }
773
+ }
774
+
775
+ @media (max-width: 760px) {
776
+ .global-command, .health { display: none; }
777
+ .content { padding: 22px 14px 35px; }
778
+ .command-grid, .object-grid, .form-grid { grid-template-columns: 1fr; }
779
+ .wide-field { grid-column: auto; }
780
+ .assistant-side { grid-template-columns: 1fr; }
781
+ .assistant-message { max-width: 94%; }
782
+ .configuration-tabs { width: 100%; }
783
+ .studio-dialog { width: 100vw; height: 100vh; margin: 0; border: 0; border-radius: 0; }
784
+ .studio-toolbar { height: auto; min-height: 64px; align-items: flex-start; flex-direction: column; padding-block: 9px; }
785
+ .studio-actions { width: 100%; overflow-x: auto; }
786
+ .save-state { display: none; }
787
+ .studio-body { height: calc(100vh - 290px); display: flex; flex-direction: column; overflow-y: auto; }
788
+ .node-palette, .node-inspector { display: block; flex: 0 0 auto; overflow: visible; }
789
+ .node-palette { border-right: 0; border-bottom: 1px solid var(--line); }
790
+ .node-palette > p { display: none; }
791
+ .node-palette-list { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: thin; }
792
+ .palette-button { min-width: 155px; margin-top: 0; flex: 0 0 155px; }
793
+ .workflow-canvas-shell { min-height: 500px; flex: 0 0 500px; }
794
+ .node-inspector { border-top: 1px solid var(--line); border-left: 0; }
795
+ .graph-json-editor { height: 220px; grid-template-columns: 1fr; overflow-y: auto; }
796
+ .graph-json-editor > div { display: none; }
797
+ .report-drawer { inset: 58px 0 0; width: 100vw; height: calc(100vh - 58px); border-radius: 0; }
798
+ .report-drawer .report-detail-content, .report-drawer .detail-grid { grid-template-columns: 1fr; }
799
+ .report-drawer .report-detail-content > *, .report-drawer .claim-bar, .report-drawer .detail-actions { grid-column: 1 !important; }
800
+ .component-filters { align-items: stretch; flex-direction: column; }
801
+ .component-filters .search-field { min-width: 0; }
802
+ }
803
+
804
+ /* Handoff-aligned production shell */
805
+ :root {
806
+ --product-sidebar: 248px;
807
+ --product-topbar: 64px;
808
+ --product-shadow: 0 1px 2px rgba(6,31,23,.06), 0 4px 14px rgba(6,31,23,.04);
809
+ }
810
+
811
+ .svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
812
+ #workspace-shell-root, #workspace-navigation-root { display: contents; }
813
+ .topbar svg, .sidebar svg, .surface-buttons svg, .command-metrics svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
814
+ .nav-toggle, .nav-scrim { display: none; }
815
+ .nav-toggle[hidden] { display: none; }
816
+
817
+ .topbar {
818
+ z-index: 70;
819
+ height: var(--product-topbar);
820
+ padding: 0 16px;
821
+ display: grid;
822
+ grid-template-columns: 216px minmax(188px, 240px) minmax(240px, 520px) minmax(280px, 1fr);
823
+ justify-content: stretch;
824
+ gap: 14px;
825
+ background: rgba(255,255,255,.96);
826
+ }
827
+ .brand { min-width: 0; gap: 10px; }
828
+ .brand img { border-radius: 9px; }
829
+ .brand > span:last-child { min-width: 0; }
830
+ .brand strong, .brand small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
831
+ .brand strong { font-size: 13px; line-height: 1.25; }
832
+ .brand small { margin-top: 2px; font-size: 10px; }
833
+ .top-workspace { min-width: 0; padding: 5px 8px; display: flex; align-items: center; gap: 9px; border: 1px solid transparent; border-radius: 8px; }
834
+ .top-workspace > span:last-child { min-width: 0; }
835
+ .top-workspace strong, .top-workspace small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
836
+ .top-workspace strong { font-size: 12px; }
837
+ .top-workspace small { margin-top: 1px; color: var(--muted); font-size: 10px; }
838
+ .workspace-mark { width: 30px; height: 30px; flex: 0 0 30px; display: grid; place-items: center; border-radius: 9px; color: var(--safest-lime-400); background: var(--forest-dark); font-size: 10px; font-weight: 850; }
839
+ .workspace-logo { width: 30px; height: 30px; flex: 0 0 30px; border-radius: 9px; object-fit: contain; }
840
+ .global-command { width: auto; min-width: 0; min-height: 38px; padding: 0 11px; justify-self: stretch; display: grid; grid-template-columns: 17px minmax(0,1fr) auto; gap: 9px; color: #637168; background: #fafbf8; font-size: 12px; font-weight: 550; text-align: left; }
841
+ .global-command span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
842
+ .global-command kbd { padding: 2px 6px; font-size: 9px; }
843
+ .top-actions { min-width: 0; justify-content: flex-end; gap: 8px; }
844
+ .health { flex: 0 1 auto; padding: 6px 8px; border-radius: 999px; background: #fafbf8; font-size: 10px; white-space: nowrap; }
845
+ .current-analyst { min-width: 0; padding: 4px 10px 4px 4px; border: 0; border-radius: 8px; }
846
+ .current-analyst:hover { background: #fafbf8; }
847
+ .current-analyst .analyst-identity strong { color: var(--ink); font-size: 11px; }
848
+ .current-analyst .analyst-identity small { font-size: 9px; }
849
+ .current-analyst .analyst-avatar { width: 30px; height: 30px; flex-basis: 30px; }
850
+ .sign-out-button { min-height: 38px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 8px; color: #425148; background: white; font-size: 10px; font-weight: 800; }
851
+ .sign-out-button:hover { background: #f7f9f6; }
852
+
853
+ .workspace { min-height: calc(100vh - var(--product-topbar)); grid-template-columns: var(--product-sidebar) minmax(0, 1fr); background: var(--canvas); }
854
+ .sidebar { top: var(--product-topbar); height: calc(100vh - var(--product-topbar)); padding: 16px 12px 14px; background: var(--forest-dark); }
855
+ .sidebar nav { margin-top: 0; display: grid; gap: 3px; }
856
+ .sidebar nav > small { margin: 11px 10px 5px; color: #7fa596; font-size: 9px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
857
+ .sidebar nav > small:first-child { margin-top: 9px; }
858
+ .sidebar nav a { min-height: 40px; padding: 0 10px; display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; gap: 10px; color: #c5d7cf; font-size: 13px; font-weight: 560; }
859
+ .sidebar nav a svg { width: 18px; height: 18px; }
860
+ .sidebar nav a span { width: auto; min-width: 0; text-align: left; }
861
+ .sidebar nav a:hover { color: white; background: rgba(255,255,255,.065); }
862
+ .sidebar nav a.active { color: #102f24; background: var(--safest-lime-400); box-shadow: none; font-weight: 750; }
863
+ .sidebar .nav-count { min-width: 22px; margin-left: 0; color: #dceae3; background: rgba(255,255,255,.10); font-size: 9px; }
864
+ .sidebar nav a.active .nav-count { color: white; background: var(--forest-dark); }
865
+ .principle { margin-top: auto; padding: 12px 10px; display: flex; align-items: flex-start; gap: 9px; color: #8eb0a2; background: rgba(255,255,255,.055); }
866
+ .principle-dot { width: 8px; height: 8px; margin-top: 3px; flex: 0 0 8px; border-radius: 50%; background: #55b27b; box-shadow: 0 0 0 5px rgba(85,178,123,.12); }
867
+ .principle strong { display: block; color: #eef6f1; font-size: 11px; }
868
+ .principle p { margin-top: 3px; color: #8eb0a2; font-size: 10px; line-height: 1.45; }
869
+
870
+ .content { background: var(--canvas); }
871
+ .command-view { max-width: 1184px; margin: 0 auto; padding: 28px; }
872
+ .command-head { min-height: 0; margin: 0 0 24px; padding: 0; align-items: flex-start; border: 0; background: transparent; }
873
+ .command-head h1 { margin: 0; font-family: var(--sans); font-size: 28px; font-weight: 760; line-height: 1.25; letter-spacing: -.04em; }
874
+ .command-head p:last-child { max-width: 720px; margin-top: 6px; color: var(--muted); font-size: 13px; line-height: 1.5; }
875
+ .command-head .surface-buttons { padding-top: 0; flex-wrap: nowrap; }
876
+ .surface-buttons .primary, .surface-buttons .secondary { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
877
+ .surface-buttons svg { width: 16px; height: 16px; }
878
+
879
+ .attention-banner { margin: 0 0 20px; padding: 14px 16px; border: 0; border-radius: 12px; color: var(--safest-warning-700); background: var(--safest-warning-100); font-size: 12px; }
880
+ .attention-banner > div { flex: 1; }
881
+ .attention-banner strong { font-size: 13px; }
882
+ .attention-banner span { margin-top: 3px; color: inherit; font-size: 11px; line-height: 1.45; }
883
+
884
+ .command-metrics { max-width: none; margin: 0 0 16px; gap: 12px; }
885
+ .command-metrics article { min-height: 116px; padding: 16px; border: 1px solid var(--line); border-top-width: 1px; border-radius: 12px; background: white; box-shadow: var(--product-shadow); }
886
+ .command-metrics article.urgent { border-top-color: var(--line); }
887
+ .command-metrics span { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: var(--muted); font-size: 11px; font-weight: 650; }
888
+ .command-metrics span svg { color: #6d7b72; }
889
+ .command-metrics strong { margin: 9px 0 6px; font: 730 26px/1 var(--sans); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
890
+ .command-metrics small { color: var(--muted); font-size: 11px; }
891
+
892
+ .command-grid { grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr); gap: 16px; }
893
+ .command-panel { border-radius: 12px; box-shadow: var(--product-shadow); }
894
+ .command-panel .surface-head { padding: 16px 18px; align-items: flex-start; }
895
+ .command-panel .surface-head h2 { margin: 0; font-family: var(--sans); font-size: 16px; font-weight: 720; letter-spacing: -.02em; }
896
+ .command-panel .surface-head p { margin: 4px 0 0; color: var(--muted); font-size: 12px; line-height: 1.45; }
897
+ .command-panel .surface-head .text-button { margin-top: 1px; font-size: 12px; }
898
+ .attention-row { padding: 14px 16px; gap: 12px; background: white; text-align: left; }
899
+ .attention-row:hover { background: #fafbf8; }
900
+ .attention-row strong { color: var(--ink); font-size: 12px; }
901
+ .attention-row small { margin-top: 3px; font-size: 10px; }
902
+ .attention-glyph { width: 34px; height: 34px; border-radius: 10px; }
903
+ .attention-meta { min-width: 80px; color: var(--muted); font-size: 10px; }
904
+
905
+ .queue-load-list { padding: 16px 18px; display: grid; gap: 16px; }
906
+ .queue-load-row { display: grid; grid-template-columns: minmax(110px, 1fr) minmax(90px, 1.35fr) 54px; align-items: center; gap: 11px; }
907
+ .queue-load-label strong, .queue-load-label small { display: block; }
908
+ .queue-load-label strong { font-size: 12px; }
909
+ .queue-load-label small { margin-top: 2px; color: var(--muted); font-size: 9px; }
910
+ .queue-load-track { height: 8px; overflow: hidden; border-radius: 999px; background: #f0f2ee; }
911
+ .queue-load-fill { display: block; height: 100%; border-radius: inherit; background: var(--forest); }
912
+ .queue-load-fill.warning { background: var(--safest-warning-700); }
913
+ .queue-load-fill.danger { background: var(--danger); }
914
+ .queue-load-count { font-size: 10px; text-align: right; white-space: nowrap; }
915
+ .queue-load-panel .empty-product { padding: 30px 18px; }
916
+
917
+ .recent-runs-panel { margin-top: 16px; }
918
+ .compact-run-row { padding: 13px 16px; grid-template-columns: 32px minmax(210px,1.35fr) minmax(130px,.75fr) 90px 50px; gap: 10px; }
919
+ .run-glyph { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 9px; color: var(--forest); background: var(--mint); font-size: 15px; }
920
+ .compact-run-row strong { font-size: 12px; }
921
+ .compact-run-row small { margin-top: 2px; font-size: 10px; }
922
+ .run-status { width: fit-content; padding: 4px 8px; border-radius: 999px; color: var(--safest-positive-700); background: var(--safest-positive-100); font-size: 10px; font-weight: 750; white-space: nowrap; }
923
+ .run-status::before { content: ""; width: 6px; height: 6px; margin-right: 6px; display: inline-block; border-radius: 50%; background: currentColor; }
924
+ .run-status.warning { color: var(--safest-warning-700); background: var(--safest-warning-100); }
925
+ .run-status.danger { color: var(--danger); background: var(--danger-soft); }
926
+ .run-age { color: var(--muted); font-size: 10px; text-align: right; }
927
+ .run-open { justify-self: end; font-size: 11px; }
928
+ .command-panel .empty-product { padding: 36px 20px; border: 0; border-radius: 0; background: transparent; }
929
+ .command-panel .empty-product span { width: 38px; height: 38px; margin-bottom: 9px; font-size: 16px; }
930
+ .command-panel .empty-product h2 { margin-bottom: 4px; font-family: var(--sans); font-size: 15px; }
931
+ .command-panel .empty-product p { margin-bottom: 0; font-size: 10px; }
932
+
933
+ /* The remaining authenticated surfaces share the same handoff page width. */
934
+ .builder-view, .assistant-view, .settings-view { max-width: 1184px; padding: 28px; }
935
+ .builder-view > .page-head, .assistant-view > .page-head, .settings-view > .page-head { min-height: 0; margin: 0 0 24px; padding: 0; align-items: flex-start; border: 0; background: transparent; }
936
+ .builder-view > .page-head h1, .assistant-view > .page-head h1, .settings-view > .page-head h1 { font-size: 28px; }
937
+ .content > .surface[data-view], .content > .explain-grid[data-view] { max-width: 1184px; margin: 28px auto; }
938
+
939
+ @media (max-width: 1240px) {
940
+ :root { --product-sidebar: 218px; }
941
+ .topbar { grid-template-columns: 186px minmax(170px, 210px) minmax(210px, 1fr) auto; }
942
+ .health { display: none; }
943
+ }
944
+
945
+ @media (max-width: 1020px) {
946
+ :root { --product-sidebar: 72px; }
947
+ .topbar { grid-template-columns: 190px minmax(210px, 1fr) auto; }
948
+ .top-workspace { display: none; }
949
+ .sidebar { padding-inline: 10px; }
950
+ .sidebar nav > small, .sidebar nav a span, .sidebar nav a b, .principle div { display: none; }
951
+ .sidebar nav a { grid-template-columns: 1fr; justify-items: center; padding-inline: 0; }
952
+ .principle { justify-content: center; }
953
+ .command-grid { grid-template-columns: 1fr; }
954
+ .queue-load-list { grid-template-columns: 1fr 1fr; }
955
+ }
956
+
957
+ @media (max-width: 760px) {
958
+ :root { --product-topbar: 64px; }
959
+ .topbar { height: var(--product-topbar); padding-inline: 12px; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 8px; }
960
+ .nav-toggle { width: 40px; height: 40px; padding: 0; display: grid; place-items: center; border: 0; border-radius: 9px; color: var(--ink); background: transparent; }
961
+ .nav-toggle:hover { background: #f2f5f1; }
962
+ .nav-toggle svg { width: 20px; height: 20px; }
963
+ .global-command, .health, .current-analyst { display: none; }
964
+ .workspace { display: block; min-height: calc(100vh - var(--product-topbar)); }
965
+ .sidebar { position: fixed; z-index: 66; top: var(--product-topbar); left: 0; width: min(248px, calc(100vw - 42px)); height: calc(100vh - var(--product-topbar)); padding: 14px 12px; overflow-y: auto; visibility: hidden; pointer-events: none; transform: translateX(-102%); transition: transform 180ms ease, visibility 0s linear 180ms; box-shadow: 18px 0 46px rgba(4,31,21,.22); }
966
+ .mobile-navigation-open .sidebar { visibility: visible; pointer-events: auto; transform: translateX(0); transition-delay: 0s; }
967
+ .sidebar nav { display: grid; grid-template-columns: 1fr; gap: 3px; overflow: visible; }
968
+ .sidebar nav > small { display: block; }
969
+ .sidebar nav a { min-width: 0; display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; justify-items: stretch; padding: 0 10px; }
970
+ .sidebar nav a span { display: block; white-space: normal; }
971
+ .sidebar nav a b { display: inline-block; }
972
+ .principle { display: flex; }
973
+ .principle div { display: block; }
974
+ .nav-scrim { position: fixed; z-index: 65; inset: var(--product-topbar) 0 0; width: 100%; height: auto; display: block; border: 0; border-radius: 0; background: rgba(5,28,20,.33); backdrop-filter: blur(1px); }
975
+ .nav-scrim[hidden] { display: none; }
976
+ .content { padding: 0; }
977
+ .command-view, .builder-view, .assistant-view, .settings-view { padding: 20px 14px 34px; }
978
+ .command-head { align-items: stretch; }
979
+ .command-head .surface-buttons { width: 100%; justify-content: flex-start; }
980
+ .command-metrics { grid-template-columns: 1fr 1fr; }
981
+ .queue-load-list { grid-template-columns: 1fr; }
982
+ .compact-run-row { grid-template-columns: 32px minmax(0,1fr) auto; }
983
+ .compact-run-row .run-status, .compact-run-row .run-age { display: none; }
984
+ .content > .surface[data-view], .content > .explain-grid[data-view] { margin: 20px 14px; }
985
+ }
986
+
987
+ @media (max-width: 460px) {
988
+ .brand small { display: none; }
989
+ .brand .customer-brand-fallback { display: grid; }
990
+ .topbar { grid-template-columns: 40px minmax(0, 1fr) auto; }
991
+ .command-metrics { grid-template-columns: 1fr 1fr; gap: 10px; }
992
+ .command-metrics article { min-height: 106px; padding: 14px; }
993
+ .command-metrics strong { font-size: 24px; }
994
+ .command-head h1 { font-size: 25px; }
995
+ .command-head .surface-buttons > * { flex: 1; justify-content: center; }
996
+ .queue-load-row { grid-template-columns: 1fr 48px; }
997
+ .queue-load-track { grid-column: 1 / -1; grid-row: 2; }
998
+ .attention-row { grid-template-columns: 34px minmax(0,1fr); }
999
+ .attention-meta { grid-column: 2; text-align: left; }
1000
+ }
1001
+
1002
+ @media (max-width: 340px) {
1003
+ .command-metrics { grid-template-columns: 1fr; }
1004
+ body.login-mode .login-story { padding: 24px 18px; }
1005
+ body.login-mode .login-story h1 { font-size: 34px; }
1006
+ body.login-mode .login-story ul { display: none; }
1007
+ }
1008
+
1009
+ /* Visual intake form builder */
1010
+ .configuration-dialog { width: min(1180px, calc(100% - 28px)); }
1011
+ .configuration-dialog .editor-form { padding: 20px; }
1012
+ .form-builder-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(330px, .8fr); gap: 18px; align-items: start; }
1013
+ .form-builder-controls { display: grid; gap: 13px; }
1014
+ .form-builder-controls > section { padding: 16px; display: grid; gap: 12px; border: 1px solid var(--line); border-radius: var(--customer-radius); background: var(--paper); }
1015
+ .form-builder-controls h3 { margin: 0; font: 720 14px/1.2 var(--sans); letter-spacing: -.01em; }
1016
+ .builder-section-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
1017
+ .builder-section-head p, .builder-section-head small { margin: 3px 0 0; display: block; color: var(--muted); font-size: 9px; }
1018
+ .builder-rows, .form-field-list, .field-options { display: grid; gap: 9px; }
1019
+ .builder-row { padding: 11px; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(130px, .7fr) auto; gap: 9px; align-items: end; border: 1px solid var(--line); border-radius: max(8px, calc(var(--customer-radius) * .75)); background: #fafbf9; }
1020
+ .target-type-row { grid-template-columns: minmax(0, 1fr) auto; }
1021
+ .builder-row-actions { display: flex; gap: 4px; align-items: center; }
1022
+ .builder-row-actions .icon-button { width: 29px; min-height: 31px; padding: 4px; }
1023
+ .danger-text { color: var(--danger); }
1024
+ .form-field-card { border: 1px solid var(--line); border-radius: var(--customer-radius); background: #fafbf9; overflow: hidden; }
1025
+ .form-field-head { padding: 10px 12px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); background: var(--paper); }
1026
+ .field-card-title { font-size: 11px; }
1027
+ .form-field-grid { padding: 12px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
1028
+ .form-field-grid textarea { min-height: 72px; padding: 9px; border: 1px solid #cfd7d1; border-radius: 8px; resize: vertical; font: inherit; }
1029
+ .builder-checkbox { min-height: 40px; display: flex; grid-template-columns: none; flex-direction: row; align-items: center; gap: 8px; }
1030
+ .builder-checkbox input { width: auto; min-height: 0; }
1031
+ .field-number-bounds { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
1032
+ .field-options-section { padding: 12px; border-top: 1px solid var(--line); background: var(--paper); }
1033
+ .field-option-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(100px, .55fr) auto; gap: 8px; align-items: center; }
1034
+ .field-option-row button { width: 30px; min-height: 40px; padding: 5px; }
1035
+ .form-builder-preview { position: sticky; top: 86px; padding: 14px; border: 1px solid var(--line); border-radius: var(--customer-radius); background: #eef2ed; }
1036
+ .form-builder-preview > div:first-child { margin-bottom: 10px; display: flex; justify-content: space-between; align-items: baseline; }
1037
+ .form-builder-preview > div:first-child span { color: var(--muted); font-size: 9px; }
1038
+ .form-builder-preview safest-report { max-height: calc(100vh - 190px); overflow-y: auto; }
1039
+
1040
+ /* Customer branding settings */
1041
+ .brand-settings-card .surface-head p:last-child, .settings-card .surface-head p { margin: 4px 0 0; color: var(--muted); font-size: 10px; }
1042
+ .brand-form { padding: 18px; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr); gap: 18px; }
1043
+ .brand-controls { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 11px; }
1044
+ .brand-controls .wide-field { grid-column: 1 / -1; }
1045
+ .brand-controls label:has(input[type=color]) { grid-template-columns: 1fr 44px; align-items: center; }
1046
+ .brand-controls input[type=color] { min-height: 40px; padding: 3px; }
1047
+ .brand-controls label:has(input[type=range]) { grid-template-columns: 1fr auto; }
1048
+ .brand-controls input[type=range] { grid-column: 1 / -1; padding: 0; border: 0; }
1049
+ .brand-preview { padding: 15px; border: 1px solid var(--line); border-radius: var(--customer-radius); background: #fafbf9; }
1050
+ .brand-preview-card { padding: 18px; display: flex; gap: 12px; color: var(--preview-text); border: 1px solid var(--preview-line); border-radius: var(--preview-radius); background: var(--preview-surface); font-family: var(--preview-body); box-shadow: 0 8px 20px rgba(0,0,0,.06); }
1051
+ .brand-preview-logo { width: 42px; height: 42px; flex: 0 0 42px; display: grid; place-items: center; border-radius: max(5px, calc(var(--preview-radius) * .7)); color: var(--preview-primary-text); background-color: var(--preview-primary); background-position: center; background-size: contain; background-repeat: no-repeat; font-size: 10px; font-weight: 850; }
1052
+ .brand-preview-logo.has-image { color: transparent; background-color: transparent; }
1053
+ .brand-preview-card h3 { margin: 0 0 4px; font-family: var(--preview-heading); font-size: 18px; }
1054
+ .brand-preview-card p { margin: 0; color: var(--preview-muted); font-size: 10px; }
1055
+ .brand-preview-card button { margin-top: 14px; padding: 9px 12px; border-radius: max(5px, calc(var(--preview-radius) * .65)); color: var(--preview-primary-text); background: var(--preview-primary); font-size: 10px; font-weight: 800; }
1056
+ .brand-form > .editor-footer { grid-column: 1 / -1; }
1057
+
1058
+ /* Guided reporting channel setup */
1059
+ .integration-dialog { width: min(760px, calc(100% - 28px)); }
1060
+ .integration-wizard { padding: 20px; }
1061
+ .integration-setup-step { display: grid; gap: 13px; }
1062
+ .integration-wizard fieldset { margin: 0; padding: 13px; display: grid; gap: 8px; border: 1px solid var(--line); border-radius: var(--customer-radius); }
1063
+ .integration-wizard legend { padding: 0 5px; font-size: 10px; font-weight: 800; }
1064
+ .channel-choice { padding: 12px; display: flex; grid-template-columns: none; flex-direction: row; gap: 10px; align-items: flex-start; border: 1px solid var(--line); border-radius: max(7px, calc(var(--customer-radius) * .75)); background: var(--paper); }
1065
+ .channel-choice:has(input:checked) { border-color: var(--forest); background: color-mix(in srgb, var(--forest) 7%, var(--paper)); }
1066
+ .channel-choice input { width: auto; min-height: 0; margin-top: 3px; accent-color: var(--forest); }
1067
+ .channel-choice strong, .channel-choice small { display: block; }
1068
+ .channel-choice small { margin-top: 3px; color: var(--muted); font-size: 9px; font-weight: 500; line-height: 1.5; }
1069
+ .field-help { margin: 0; color: var(--muted); font-size: 9px; line-height: 1.55; }
1070
+ .context-field-list { display: grid; gap: 8px; }
1071
+ .context-field-row { padding: 9px; display: grid; grid-template-columns: minmax(110px, 1fr) minmax(150px, 1.4fr) 100px 105px auto auto 34px; gap: 7px; align-items: center; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); }
1072
+ .context-field-row input, .context-field-row select { min-width: 0; min-height: 34px; padding: 7px 8px; font-size: 9px; }
1073
+ .context-field-check { display: flex; grid-template-columns: none; flex-direction: row; gap: 5px; align-items: center; white-space: nowrap; font-size: 8px; }
1074
+ .context-field-check input { width: auto; min-height: 0; padding: 0; accent-color: var(--forest); }
1075
+ .context-field-remove { width: 30px; height: 30px; }
1076
+ .integration-result { display: grid; gap: 17px; }
1077
+ .success-heading { padding: 15px; display: flex; gap: 11px; border-radius: var(--customer-radius); background: color-mix(in srgb, var(--forest) 8%, var(--paper)); }
1078
+ .success-heading > span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; color: var(--brand-primary-contrast); background: var(--forest); font-weight: 900; }
1079
+ .success-heading h3 { margin: 0 0 4px; font-size: 15px; }
1080
+ .success-heading p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.5; }
1081
+ .channel-result-block { display: grid; gap: 13px; }
1082
+ .copy-control { display: flex; gap: 7px; align-items: stretch; }
1083
+ .copy-control input, .copy-control textarea { flex: 1; }
1084
+ .copy-control textarea { min-height: 230px; padding: 10px; border: 1px solid var(--line); border-radius: 8px; resize: vertical; font: 10px/1.55 var(--safest-font-mono); }
1085
+ .copy-control button { flex: 0 0 auto; }
1086
+ .link-button { display: inline-flex; width: fit-content; align-items: center; text-decoration: none; }
1087
+ .secret-callout { padding: 14px; border: 1px solid #e3c27d; border-radius: var(--customer-radius); background: #fff8e7; }
1088
+ .secret-callout p { color: #735c2b; font-size: 10px; }
1089
+ .integration-result details { padding: 12px; border: 1px solid var(--line); border-radius: var(--customer-radius); }
1090
+ .integration-result summary { cursor: pointer; font-size: 10px; font-weight: 800; }
1091
+ .integration-widget-preview { max-width: 460px; margin: 12px auto 0; }
1092
+
1093
+ @media (max-width: 900px) {
1094
+ .form-builder-layout, .brand-form { grid-template-columns: 1fr; }
1095
+ .form-builder-preview { position: static; }
1096
+ .brand-form > .editor-footer { grid-column: auto; }
1097
+ .context-field-row { grid-template-columns: 1fr 1fr; }
1098
+ .context-field-row .context-field-remove { justify-self: end; }
1099
+ }
1100
+
1101
+ @media (max-width: 620px) {
1102
+ .brand-controls, .form-field-grid, .builder-row { grid-template-columns: 1fr; }
1103
+ .builder-row-actions { justify-content: flex-end; }
1104
+ .copy-control { flex-wrap: wrap; }
1105
+ }
1106
+
1107
+ /* Authoritative responsive contract for the console shell and dense editors. */
1108
+ body.login-mode .topbar { display: flex; justify-content: flex-start; }
1109
+ body.login-mode .top-actions { margin-left: auto; }
1110
+
1111
+ @media (max-width: 760px) {
1112
+ body { min-width: 0; overflow-x: clip; }
1113
+ body.login-mode .topbar { height: 58px; padding-inline: 14px; }
1114
+ body.login-mode .brand { width: auto; max-width: calc(100% - 44px); }
1115
+ body.login-mode .brand small { display: none; }
1116
+ .sidebar { top: var(--product-topbar); width: min(248px, calc(100% - 42px)); height: calc(100dvh - var(--product-topbar)); padding-bottom: calc(14px + env(safe-area-inset-bottom)); }
1117
+ .content, .queue-view, .report-surface, .report-surface > .surface-head { width: 100%; max-width: 100%; }
1118
+ .report-drawer { inset: var(--product-topbar) 0 0; width: 100%; height: calc(100dvh - var(--product-topbar)); max-height: none; margin: 0; border-width: 0; border-radius: 0; }
1119
+ .studio-dialog { width: 100%; height: 100dvh; margin: 0; border: 0; border-radius: 0; }
1120
+ .studio-body { height: calc(100dvh - 290px); }
1121
+ .command-head .surface-buttons { flex-wrap: wrap; }
1122
+ }
1123
+
1124
+ @media (max-width: 620px) {
1125
+ .active-analyst-list { max-width: calc(100% - 44px); }
1126
+ .queue-toolbar { max-width: 100%; }
1127
+ .editor-dialog, .detail-dialog, .queue-dialog, .quality-dialog, .appeal-dialog, .configuration-dialog, .integration-dialog {
1128
+ width: calc(100% - 16px);
1129
+ max-width: calc(100% - 16px);
1130
+ max-height: calc(100dvh - 16px);
1131
+ margin: 8px;
1132
+ }
1133
+ .report-drawer.detail-dialog {
1134
+ inset: var(--product-topbar) 0 0;
1135
+ width: 100%;
1136
+ max-width: 100%;
1137
+ height: calc(100dvh - var(--product-topbar));
1138
+ max-height: none;
1139
+ margin: 0;
1140
+ border-width: 0;
1141
+ border-radius: 0;
1142
+ }
1143
+ .editor-form, .configuration-dialog .editor-form, .integration-wizard { padding: 14px; }
1144
+ .editor-footer, .routing-agent-head, .routing-agent-footer { align-items: stretch; flex-direction: column; }
1145
+ .editor-footer > div, .editor-footer > button { width: 100%; }
1146
+ .editor-footer > div > button { flex: 1; }
1147
+ .context-field-row { grid-template-columns: 1fr; }
1148
+ .context-field-row .context-field-remove { justify-self: end; }
1149
+ .context-field-check { white-space: normal; }
1150
+ .copy-control input, .copy-control textarea { width: 100%; min-width: 0; }
1151
+ .setup-row, .integration-row { grid-template-columns: 28px minmax(0, 1fr); align-items: start; }
1152
+ .setup-row > :last-child, .integration-row > :last-child { grid-column: 2; justify-self: start; }
1153
+ .settings-facts { grid-template-columns: 1fr; gap: 4px; }
1154
+ .settings-fact + .settings-fact dt { margin-top: 8px; }
1155
+ }
1156
+
1157
+ @media (max-width: 460px) {
1158
+ .sign-out-button { min-height: 40px; padding-inline: 10px; }
1159
+ .command-view, .builder-view, .assistant-view, .settings-view { padding-inline: 12px; }
1160
+ .content > .surface[data-view], .content > .explain-grid[data-view] { margin-inline: 12px; }
1161
+ .surface-buttons { width: 100%; justify-content: flex-start; }
1162
+ .copy-control button { width: 100%; }
1163
+ .assistant-composer { margin-inline: 10px; }
1164
+ }
1165
+
1166
+ /* Console content hierarchy: one task title, one useful line, then the work. */
1167
+ .workspace-mode .page-head > div:first-child,
1168
+ .workspace-mode .surface-head > div:first-child { min-width: 0; }
1169
+ .workspace-mode .page-head p:last-child { max-width: 62ch; margin: 4px 0 0; color: var(--muted); font-size: 12px; line-height: 1.45; }
1170
+ .workspace-mode .surface-head { align-items: center; }
1171
+ .workspace-mode .surface-head h2,
1172
+ .workspace-mode .surface-head h3,
1173
+ .workspace-mode .settings-card h2 { margin: 0; font-family: var(--sans); font-size: 17px; font-weight: 740; letter-spacing: -.025em; }
1174
+ .workspace-mode .surface-head p { max-width: 68ch; margin: 3px 0 0; color: var(--muted); font-size: 11px; line-height: 1.45; }
1175
+ .workspace-mode .settings-card .surface-head { min-height: 54px; padding: 14px 17px; }
1176
+ .workspace-mode .settings-card .surface-head h2 { font-size: 16px; }
1177
+ .workspace-mode .settings-grid { gap: 12px; }
1178
+ .workspace-mode .preview-label { margin: 0 0 10px; color: #718078; font-size: 10px; font-weight: 750; }
1179
+ .workspace-mode .builder-view > .page-head,
1180
+ .workspace-mode .assistant-view > .page-head,
1181
+ .workspace-mode .settings-view > .page-head { margin-bottom: 18px; }
1182
+ .workspace-mode .command-head h1 { font-size: clamp(28px, 3vw, 36px); }
1183
+ .workspace-mode .command-panel .surface-head { min-height: 54px; padding-block: 13px; }
1184
+ .workspace-mode .command-panel .surface-head h2 { font-size: 15px; }
1185
+ .workspace-mode .people-surface .surface-head,
1186
+ .workspace-mode .profile-surface .surface-head { padding-block: 16px; }
1187
+ .workspace-mode .people-surface .surface-head h2,
1188
+ .workspace-mode .profile-surface .surface-head h2 { font-size: 18px; }
1189
+ .workspace-mode .detail-head h2 { font-family: var(--sans); font-weight: 760; letter-spacing: -.025em; }
1190
+ .workspace-mode .detail-head p { margin-top: 4px; }
1191
+
1192
+ @media (min-width: 1021px) {
1193
+ body.workspace-mode .brand { display: none; }
1194
+ body.workspace-mode .top-workspace small { display: none; }
1195
+ body.workspace-mode .topbar { grid-template-columns: minmax(180px, 240px) minmax(240px, 520px) minmax(280px, 1fr); }
1196
+ }
1197
+
1198
+ @media (max-width: 760px) {
1199
+ .workspace-mode .builder-view > .page-head,
1200
+ .workspace-mode .assistant-view > .page-head,
1201
+ .workspace-mode .settings-view > .page-head {
1202
+ display: grid;
1203
+ grid-template-columns: minmax(0, 1fr) auto;
1204
+ gap: 10px 12px;
1205
+ align-items: start;
1206
+ }
1207
+ .workspace-mode .builder-view > .page-head > .surface-buttons { grid-column: 1 / -1; width: auto; }
1208
+ .workspace-mode .page-head h1,
1209
+ .workspace-mode .builder-view > .page-head h1,
1210
+ .workspace-mode .assistant-view > .page-head h1,
1211
+ .workspace-mode .settings-view > .page-head h1 { font-size: 24px; line-height: 1.08; }
1212
+ .workspace-mode .page-head p:last-child { font-size: 11px; line-height: 1.4; }
1213
+ .workspace-mode .settings-card .surface-head { flex-direction: row; align-items: center; }
1214
+ .workspace-mode .settings-card.settings-wide .surface-head { flex-wrap: wrap; align-items: flex-start; }
1215
+ .workspace-mode .settings-card.settings-wide .surface-head > div { flex: 1 1 220px; }
1216
+ .workspace-mode .settings-card.settings-wide .surface-head > button { flex: 0 0 auto; }
1217
+ .workspace-mode .command-panel .surface-head { flex-direction: row; justify-content: space-between; align-items: center; }
1218
+ .workspace-mode .content > .surface[data-view],
1219
+ .workspace-mode .content > .explain-grid[data-view] { margin-top: 16px; }
1220
+ }
1221
+
1222
+ @media (max-width: 460px) {
1223
+ .workspace-mode .command-view,
1224
+ .workspace-mode .builder-view,
1225
+ .workspace-mode .assistant-view,
1226
+ .workspace-mode .settings-view { padding-top: 16px; }
1227
+ .workspace-mode .command-metrics article { min-height: 92px; }
1228
+ .workspace-mode .command-metrics strong { margin-bottom: 0; }
1229
+ .workspace-mode .command-metrics small { display: none; }
1230
+ .workspace-mode .settings-card.settings-wide .surface-head > button { width: 100%; }
1231
+ }
1232
+
1233
+ /* Typed Operations workspace */
1234
+ .operation-metrics article.urgent { border-color: #ebc9c5; background: #fffafa; }
1235
+ .operations-section-head { align-items: center; }
1236
+ .operations-filters { flex-direction: row; }
1237
+ .operations-filters label { min-width: 132px; }
1238
+ .operation-incident-list { display: grid; }
1239
+ .operation-incident-row { padding: 14px 20px; display: grid; grid-template-columns: minmax(0, 1fr) auto 110px auto; align-items: center; gap: 12px; border-top: 1px solid #edf0ec; }
1240
+ .operation-incident-row:first-child { border-top: 0; }
1241
+ .operation-incident-row strong, .operation-incident-row small { display: block; }
1242
+ .operation-incident-row small { margin-top: 4px; color: var(--muted); font-size: 9px; line-height: 1.45; }
1243
+ .operation-state { color: var(--muted); font-size: 10px; }
1244
+ .operations-dialog { width: min(900px, calc(100% - 30px)); }
1245
+ .operations-detail-content { padding: 20px 22px 24px; }
1246
+ .operations-summary { margin: 0 0 14px; color: #3c5146; font-size: 11px; line-height: 1.6; }
1247
+ .operations-detail-content > section { margin-top: 14px; }
1248
+ .operations-detail-content > section > h3 { margin-bottom: 10px; font-size: 13px; }
1249
+ .operations-detail-content pre { max-height: 260px; margin: 0; padding: 13px; overflow: auto; border: 1px solid var(--line); border-radius: 9px; color: #294737; background: #f5f8f5; font: 9px/1.55 ui-monospace, SFMono-Regular, Menlo, monospace; white-space: pre-wrap; overflow-wrap: anywhere; }
1250
+ .operation-detail-list { display: grid; gap: 7px; }
1251
+ .operation-detail-list > p { margin: 0; color: var(--muted); font-size: 10px; }
1252
+ .operation-detail-list article { padding: 10px 12px; display: flex; justify-content: space-between; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 8px; background: #fafbf9; }
1253
+ .operation-detail-list strong, .operation-detail-list small { display: block; }
1254
+ .operation-detail-list strong { font-size: 10px; }
1255
+ .operation-detail-list small { margin-top: 4px; color: var(--muted); font-size: 8px; overflow-wrap: anywhere; }
1256
+ .operations-actions { margin-top: 15px; padding: 15px; display: grid; grid-template-columns: auto minmax(260px, 1fr); align-items: start; gap: 15px; border: 1px solid var(--line); border-radius: 10px; background: #fafbf9; }
1257
+ .operations-actions > div { display: flex; flex-wrap: wrap; gap: 7px; }
1258
+ .operations-actions form { display: grid; grid-template-columns: minmax(140px, .55fr) minmax(220px, 1.45fr) auto; align-items: end; gap: 9px; }
1259
+ .operations-actions textarea { min-height: 62px; padding: 9px; border: 1px solid #cfd7d1; border-radius: 8px; resize: vertical; font: inherit; }
1260
+
1261
+ @media (max-width: 760px) {
1262
+ .operations-section-head { align-items: stretch; }
1263
+ .operations-filters { width: 100%; }
1264
+ .operation-incident-row { grid-template-columns: minmax(0, 1fr) auto; }
1265
+ .operation-incident-row .operation-state { grid-column: 1; }
1266
+ .operation-incident-row > button { grid-column: 2; grid-row: 2; }
1267
+ .operations-actions, .operations-actions form { grid-template-columns: 1fr; }
1268
+ .operations-actions form > button { width: 100%; }
1269
+ }
1270
+
1271
+ @media (max-width: 460px) {
1272
+ .operations-filters { flex-direction: column; }
1273
+ .operations-filters label { min-width: 0; }
1274
+ .operation-incident-row { padding: 13px 14px; }
1275
+ .operations-detail-content { padding: 15px 14px 20px; }
1276
+ .operation-detail-list article { align-items: flex-start; flex-direction: column; }
1277
+ }
1278
+
1279
+ /* Typed Analytics workspace */
1280
+ .analytics-toolbar { align-items: center; }
1281
+
1282
+ /* Canonical console heading contract: stable left edge, sentence case, one scale. */
1283
+ .workspace-mode .command-view,
1284
+ .workspace-mode .builder-view,
1285
+ .workspace-mode .view-stack {
1286
+ width: 100%;
1287
+ max-width: 1184px;
1288
+ margin-inline: auto;
1289
+ padding: 28px;
1290
+ }
1291
+ .workspace-mode .page-stack { min-width: 0; }
1292
+ .workspace-mode .page-stack > .surface,
1293
+ .workspace-mode .view-stack > .surface { max-width: none; margin: 0; }
1294
+ .workspace-mode .page-stack > .queues-surface,
1295
+ .workspace-mode .page-stack > .appeals-surface,
1296
+ .workspace-mode .page-stack > .quality-surface { margin-top: 0; }
1297
+ .workspace-mode .console-page-head,
1298
+ .workspace-mode .command-head,
1299
+ .workspace-mode .builder-view > .console-page-head,
1300
+ .workspace-mode .assistant-view > .console-page-head,
1301
+ .workspace-mode .settings-view > .console-page-head {
1302
+ min-height: 0;
1303
+ margin: 0 0 18px;
1304
+ padding: 0;
1305
+ display: flex;
1306
+ flex-flow: row wrap;
1307
+ align-items: flex-start;
1308
+ justify-content: space-between;
1309
+ gap: 10px 16px;
1310
+ border: 0;
1311
+ background: transparent;
1312
+ text-align: left;
1313
+ }
1314
+ .workspace-mode .queue-view .console-page-head {
1315
+ width: min(100%, 1184px);
1316
+ max-width: 1184px;
1317
+ margin: 0 auto;
1318
+ padding: 28px 28px 18px;
1319
+ border: 0;
1320
+ background: transparent;
1321
+ }
1322
+ .workspace-mode .console-page-head h1,
1323
+ .workspace-mode .command-head h1,
1324
+ .workspace-mode .builder-view > .console-page-head h1,
1325
+ .workspace-mode .assistant-view > .console-page-head h1,
1326
+ .workspace-mode .settings-view > .console-page-head h1 {
1327
+ margin: 0;
1328
+ font-family: var(--sans);
1329
+ font-size: 28px;
1330
+ font-weight: 780;
1331
+ line-height: 1.12;
1332
+ letter-spacing: -.04em;
1333
+ text-align: left;
1334
+ text-transform: none;
1335
+ }
1336
+ .workspace-mode .console-page-head .page-title-group,
1337
+ .workspace-mode .console-page-head .page-title-row,
1338
+ .workspace-mode .surface-head > div:first-child,
1339
+ .workspace-mode .detail-head > div:first-child,
1340
+ .workspace-mode .studio-toolbar > div:first-child {
1341
+ text-align: left;
1342
+ }
1343
+ .workspace-mode .page-title-group { min-width: 0; flex: 1 1 220px; }
1344
+ .workspace-mode .page-title-row { display: flex; align-items: center; gap: 10px; }
1345
+ .workspace-mode .console-page-head .surface-buttons { width: auto; margin-left: auto; flex: 0 1 auto; justify-content: flex-end; }
1346
+ .workspace-mode .console-page-head .page-title-group > p:last-child { max-width: 62ch; margin: 5px 0 0; color: var(--muted); font-size: 12px; line-height: 1.45; }
1347
+ .workspace-mode .context-label {
1348
+ margin: 0 0 7px;
1349
+ color: #718078;
1350
+ font-size: 10px;
1351
+ font-weight: 750;
1352
+ letter-spacing: 0;
1353
+ text-transform: none;
1354
+ }
1355
+ .workspace-mode .surface-head h2,
1356
+ .workspace-mode .surface-head h3,
1357
+ .workspace-mode .detail-head h2,
1358
+ .workspace-mode .studio-toolbar h2,
1359
+ .workspace-mode .node-palette h3,
1360
+ .workspace-mode .node-inspector h3,
1361
+ .workspace-mode .graph-json-editor h3,
1362
+ .workspace-mode .people-columns h2,
1363
+ .workspace-mode .analytics-body h3 {
1364
+ text-align: left;
1365
+ text-transform: none;
1366
+ }
1367
+ .workspace-mode .sidebar nav > small {
1368
+ letter-spacing: 0;
1369
+ text-transform: none;
1370
+ }
1371
+ .workspace-mode th,
1372
+ .workspace-mode .badge,
1373
+ .workspace-mode .priority-badge,
1374
+ .workspace-mode .context-label,
1375
+ .workspace-mode .active-analysts > div:first-child strong,
1376
+ .workspace-mode .queue-card dt,
1377
+ .workspace-mode .object-card-meta span,
1378
+ .workspace-mode .appeal-row > span,
1379
+ .workspace-mode .detail-head p:last-child,
1380
+ .workspace-mode .analytics-list > div,
1381
+ .workspace-mode .canvas-node-kind,
1382
+ .workspace-mode .workflow-edge-label {
1383
+ letter-spacing: 0;
1384
+ text-transform: none;
1385
+ }
1386
+ .workspace-mode .empty,
1387
+ .workspace-mode .empty-product,
1388
+ .workspace-mode .assistant-empty {
1389
+ text-align: center;
1390
+ }
1391
+
1392
+ @media (max-width: 760px) {
1393
+ .workspace-mode .command-view,
1394
+ .workspace-mode .builder-view,
1395
+ .workspace-mode .view-stack {
1396
+ padding: 20px 14px 34px;
1397
+ }
1398
+ .workspace-mode .queue-view .console-page-head {
1399
+ padding: 20px 14px 18px;
1400
+ }
1401
+ .workspace-mode .console-page-head h1,
1402
+ .workspace-mode .command-head h1,
1403
+ .workspace-mode .builder-view > .console-page-head h1,
1404
+ .workspace-mode .assistant-view > .console-page-head h1,
1405
+ .workspace-mode .settings-view > .console-page-head h1 {
1406
+ font-size: 24px;
1407
+ line-height: 1.12;
1408
+ }
1409
+ .workspace-mode .console-page-head .page-title-group > p:last-child { font-size: 11px; line-height: 1.4; }
1410
+ }
1411
+
1412
+ @media (max-width: 620px) {
1413
+ .workspace-mode .console-page-head:has(.surface-buttons button:nth-child(2)) > .surface-buttons {
1414
+ width: 100%;
1415
+ margin-left: 0;
1416
+ justify-content: flex-start;
1417
+ }
1418
+ }
1419
+
1420
+ @media (max-width: 460px) {
1421
+ .workspace-mode .settings-card.settings-wide .surface-head > button { width: auto; margin-left: auto; }
1422
+ .workspace-mode .console-page-head .surface-buttons { width: auto; }
1423
+ .workspace-mode .console-page-head:has(.surface-buttons button:nth-child(2)) > .surface-buttons { width: 100%; }
1424
+ }
1425
+ .analytics-toolbar label { width: 150px; }
1426
+ .analytics-list > p { margin: 0; color: var(--muted); font-size: 10px; }
1427
+ .audit-verification { color: #304a3b !important; font-weight: 650; }
1428
+
1429
+ @media (max-width: 620px) {
1430
+ .analytics-toolbar { align-items: stretch; }
1431
+ .analytics-toolbar label { width: 100%; }
1432
+ }
1433
+
1434
+ /* Typed Workflows workspace and studio */
1435
+ .workflow-list { align-items: stretch; }
1436
+ .workflow-card { min-width: 0; }
1437
+ .workflow-studio-dialog[open] { display: flex; flex-direction: column; }
1438
+ .workflow-studio-dialog .studio-toolbar { height: auto; min-height: 68px; flex: 0 0 auto; padding-block: 9px; }
1439
+ .workflow-studio-dialog .studio-actions { min-width: 0; flex-wrap: wrap; justify-content: flex-end; }
1440
+ .studio-authority { display: flex; flex-direction: row; align-items: center; gap: 6px; color: var(--muted); font-size: 9px; font-weight: 750; }
1441
+ .studio-authority select { width: auto; min-width: 104px; min-height: 31px; padding-block: 5px; }
1442
+ .workflow-studio-dialog .studio-body { height: auto; min-height: 0; flex: 1 1 auto; }
1443
+ .node-palette-list { display: grid; gap: 6px; }
1444
+ .workflow-studio-dialog .graph-json-editor { height: auto; flex: 0 0 230px; min-height: 0; }
1445
+ .workflow-studio-dialog .studio-console { height: auto; min-height: 0; flex: 0 0 168px; }
1446
+ .workflow-studio-dialog .console-output { height: 128px; }
1447
+ .workflow-studio-loading { min-height: 0; flex: 1 1 auto; padding: 18px; }
1448
+ .workflow-studio-loading .skeleton-block { height: 100%; min-height: 320px; }
1449
+ .node-inspector-empty { padding-top: 2px; }
1450
+ .pin-control { display: flex; flex-wrap: wrap; align-items: end; gap: 8px; }
1451
+ .pin-control label { min-width: 150px; }
1452
+ .pin-control select { min-height: 31px; }
1453
+ .studio-error:empty { display: none; }
1454
+ .workflow-create-dialog { width: min(650px, calc(100% - 30px)); }
1455
+
1456
+ @media (max-width: 760px) {
1457
+ .workflow-studio-dialog .studio-toolbar { gap: 9px; padding: 10px 12px; }
1458
+ .workflow-studio-dialog .studio-toolbar > div:first-child { width: 100%; }
1459
+ .workflow-studio-dialog .studio-actions { width: 100%; display: flex; overflow: visible; }
1460
+ .workflow-studio-dialog .studio-actions > button { flex: 1 0 70px; }
1461
+ .workflow-studio-dialog .studio-authority { flex: 1 1 150px; }
1462
+ .workflow-studio-dialog .studio-authority select { flex: 1 1 auto; min-width: 0; }
1463
+ .workflow-studio-dialog .studio-body { height: auto; min-height: 0; overflow-y: auto; }
1464
+ .workflow-studio-dialog .node-palette { padding: 12px; }
1465
+ .workflow-studio-dialog .node-palette-list { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: thin; }
1466
+ .workflow-studio-dialog .workflow-canvas-shell { min-height: 440px; flex-basis: 440px; }
1467
+ .workflow-studio-dialog .node-inspector { padding: 14px 12px 18px; }
1468
+ .workflow-studio-dialog .graph-json-editor { height: auto; flex-basis: 220px; }
1469
+ .workflow-studio-dialog .studio-console { flex-basis: 172px; }
1470
+ .workflow-studio-dialog .console-output { height: 132px; }
1471
+ .workflow-studio-dialog .studio-error { right: 10px; bottom: 175px; left: 10px; }
1472
+ }
1473
+
1474
+ @media (max-width: 460px) {
1475
+ .workflow-create-dialog .form-grid { grid-template-columns: 1fr; }
1476
+ .workflow-create-dialog .editor-footer { align-items: stretch; flex-direction: column; }
1477
+ .workflow-create-dialog .editor-footer > div { justify-content: flex-end; }
1478
+ .workflow-studio-dialog .studio-actions > button { padding-inline: 7px; }
1479
+ .workflow-studio-dialog .console-issue { grid-template-columns: 54px minmax(0, 1fr); }
1480
+ .workflow-studio-dialog .console-issue code { grid-column: 2; overflow-wrap: anywhere; }
1481
+ .pin-control label, .pin-control button { width: 100%; }
1482
+ }
1483
+
1484
+ /* Typed Components and Configuration workspaces */
1485
+ .registry-dialog { width: min(860px, calc(100% - 28px)); }
1486
+ .registry-form .safety-boundary { margin-bottom: 0; }
1487
+ .configuration-form > .form-builder { min-width: 0; margin: 0; padding: 0; border: 0; }
1488
+ .configuration-dialog-loading { padding: 20px; }
1489
+ .configuration-dialog-loading .skeleton-block { height: 360px; margin: 0; }
1490
+ .validation-summary strong, .validation-summary p { display: block; margin: 0; }
1491
+ .validation-summary ul { margin: 7px 0 0; padding-left: 18px; }
1492
+ .registry-list, .configuration-list { min-width: 0; }
1493
+ .registry-card .object-card-footer small { max-width: 70%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
1494
+ .component-filters { align-items: end; }
1495
+ .component-filters .search-field { position: relative; display: block; }
1496
+ .component-filters .search-field > span { position: absolute; z-index: 1; top: 10px; left: 11px; color: #849087; font-size: 13px; }
1497
+ .component-filters .search-field > input { padding-left: 32px; }
1498
+ .form-builder-controls textarea { font: inherit; }
1499
+
1500
+ @media (max-width: 760px) {
1501
+ .registry-dialog, .configuration-dialog { width: calc(100% - 16px); max-height: calc(100vh - 16px); }
1502
+ .component-filters { align-items: stretch; }
1503
+ .configuration-dialog .detail-head, .registry-dialog .detail-head { padding: 14px; }
1504
+ .configuration-dialog .editor-form, .registry-dialog .editor-form { padding: 14px; }
1505
+ .configuration-tabs { scrollbar-width: thin; }
1506
+ .configuration-tabs button { flex: 0 0 auto; }
1507
+ }
1508
+
1509
+ @media (max-width: 460px) {
1510
+ .registry-dialog, .configuration-dialog { width: 100%; max-height: 100vh; margin: 0; border: 0; border-radius: 0; }
1511
+ .registry-card .object-card-meta, .configuration-card .object-card-meta { grid-template-columns: repeat(3, minmax(0, 1fr)); }
1512
+ .registry-card .object-card-footer, .configuration-card .object-card-footer { align-items: stretch; flex-direction: column; }
1513
+ .registry-card .object-card-footer small { max-width: 100%; }
1514
+ .registry-card .object-card-footer button, .configuration-card .object-card-footer button { width: 100%; }
1515
+ .configuration-dialog .editor-footer > div { display: grid; grid-template-columns: 1fr 1fr; }
1516
+ .configuration-dialog .editor-footer > div > button { width: 100%; }
1517
+ .form-field-grid, .field-number-bounds { grid-template-columns: 1fr; }
1518
+ .builder-row, .target-type-row, .reason-row, .field-option-row { grid-template-columns: 1fr; }
1519
+ .builder-row-actions { justify-content: flex-end; }
1520
+ .field-option-row button { width: 100%; }
1521
+ }