create-safest-tools 0.6.0 → 0.7.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 (172) hide show
  1. package/README.md +3 -3
  2. package/package.json +2 -2
  3. package/src/config.mjs +2 -2
  4. package/src/update.mjs +10 -1
  5. package/template/README.md +2 -2
  6. package/template/console/README.md +2 -2
  7. package/template/console/analytics/AnalyticsWorkspace.tsx +49 -36
  8. package/template/console/analytics/controller.ts +10 -2
  9. package/template/console/analytics/types.ts +7 -0
  10. package/template/console/appeals/AppealFollowup.tsx +171 -0
  11. package/template/console/appeals/AppealWorkspace.tsx +33 -4
  12. package/template/console/appeals/RecordAppealDialog.tsx +42 -0
  13. package/template/console/appeals/appeal-corrections.css +29 -0
  14. package/template/console/appeals/controller.ts +40 -14
  15. package/template/console/appeals/events.ts +1 -0
  16. package/template/console/appeals/types.ts +6 -0
  17. package/template/console/appeals/useAppealDraftGuard.ts +12 -0
  18. package/template/console/assistant/AssistantWorkspace.tsx +28 -5
  19. package/template/console/command/CommandCentre.tsx +101 -64
  20. package/template/console/command/controller.ts +80 -70
  21. package/template/console/command/events.ts +1 -2
  22. package/template/console/command/presentation.ts +29 -0
  23. package/template/console/command/store.ts +4 -4
  24. package/template/console/command/types.ts +26 -21
  25. package/template/console/configuration/ConfigurationBuilders.tsx +101 -0
  26. package/template/console/configuration/ConfigurationDialog.tsx +28 -13
  27. package/template/console/configuration/ConfigurationWorkspace.tsx +21 -8
  28. package/template/console/configuration/types.ts +1 -1
  29. package/template/console/lib/priority.ts +13 -0
  30. package/template/console/operations/CaseEscalations.tsx +142 -0
  31. package/template/console/operations/OperationsWorkspace.tsx +2 -0
  32. package/template/console/operations/case-escalations.css +20 -0
  33. package/template/console/people/PeopleWorkspace.tsx +8 -4
  34. package/template/console/people/PersonAccessDialog.tsx +40 -0
  35. package/template/console/people/types.ts +1 -0
  36. package/template/console/profile/ProfileWorkspace.tsx +1 -1
  37. package/template/console/registry/IntegrationSetup.tsx +41 -0
  38. package/template/console/registry/IntegrationVerification.tsx +54 -0
  39. package/template/console/registry/RegistryDetailsDialog.tsx +2 -2
  40. package/template/console/registry/RegistryDialog.tsx +56 -27
  41. package/template/console/registry/RegistryWorkspace.tsx +10 -5
  42. package/template/console/registry/integration-verification.css +25 -0
  43. package/template/console/reports/CaseActions.tsx +81 -0
  44. package/template/console/reports/CaseContinuity.tsx +27 -0
  45. package/template/console/reports/CaseNotices.tsx +48 -0
  46. package/template/console/reports/CaseOwnership.tsx +78 -0
  47. package/template/console/reports/CaseReviewTasks.tsx +148 -0
  48. package/template/console/reports/EnrichmentFindings.tsx +148 -0
  49. package/template/console/reports/InvestigationBrief.tsx +29 -0
  50. package/template/console/reports/ReportDrawer.tsx +122 -67
  51. package/template/console/reports/ReportWorkspace.tsx +112 -23
  52. package/template/console/reports/controller.ts +125 -60
  53. package/template/console/reports/events.ts +9 -2
  54. package/template/console/reports/load-inbox.ts +17 -0
  55. package/template/console/reports/presence-presentation.ts +52 -0
  56. package/template/console/reports/private-drafts.ts +32 -0
  57. package/template/console/reports/store.ts +2 -2
  58. package/template/console/reports/types.ts +50 -2
  59. package/template/console/reports/use-editing-access.ts +13 -0
  60. package/template/console/settings/SettingsWorkspace.tsx +1 -1
  61. package/template/console/shell/WorkspaceShell.tsx +55 -29
  62. package/template/console/shell/WorkspaceUpdateNotice.tsx +48 -0
  63. package/template/console/shell/controller.ts +23 -16
  64. package/template/console/shell/navigation.ts +30 -39
  65. package/template/console/workflows/CreatePlaybookDialog.tsx +73 -0
  66. package/template/console/workflows/PlaybookExamples.tsx +160 -0
  67. package/template/console/workflows/PlaybookFields.tsx +109 -0
  68. package/template/console/workflows/PlaybookGuideEditor.tsx +125 -0
  69. package/template/console/workflows/PlaybookHistory.tsx +106 -0
  70. package/template/console/workflows/WorkflowDialogs.tsx +2 -1
  71. package/template/console/workflows/WorkflowStudio.tsx +108 -39
  72. package/template/console/workflows/WorkflowWorkspace.tsx +9 -7
  73. package/template/console/workflows/templates.ts +3 -3
  74. package/template/console/workflows/types.ts +11 -0
  75. package/template/migrations/0001_safest_resolve_baseline.sql +0 -1
  76. package/template/migrations/0002_playbook_publication_evidence.sql +36 -0
  77. package/template/migrations/0003_action_confirmation.sql +24 -0
  78. package/template/migrations/0004_notice_recovery.sql +22 -0
  79. package/template/migrations/0005_appeal_continuity.sql +17 -0
  80. package/template/migrations/0006_case_ownership.sql +23 -0
  81. package/template/migrations/0007_integration_verification.sql +21 -0
  82. package/template/migrations/0008_case_escalations.sql +135 -0
  83. package/template/migrations/0009_participant_continuation.sql +61 -0
  84. package/template/migrations/0010_appeal_corrections.sql +41 -0
  85. package/template/npm-shrinkwrap.json +8036 -0
  86. package/template/package.json +31 -22
  87. package/template/public/_headers +16 -1
  88. package/template/public/console/auth-shell.js +22151 -14847
  89. package/template/public/console/release.json +1 -0
  90. package/template/public/console/workspace-features.css +2 -0
  91. package/template/public/embed/embed.css +3 -0
  92. package/template/public/embed/embed.js +19 -1
  93. package/template/public/embed/index.html +2 -0
  94. package/template/public/index.html +9 -6
  95. package/template/public/participant.css +2 -0
  96. package/template/public/participant.html +13 -0
  97. package/template/public/participant.js +111 -0
  98. package/template/public/public-report.js +21 -1
  99. package/template/public/report/index.html +1 -1
  100. package/template/public/styles.css +599 -83
  101. package/template/public/workspace.css +124 -0
  102. package/template/scripts/reports-plan.mjs +1 -1
  103. package/template/shared/case-escalations.ts +31 -0
  104. package/template/shared/integration-progress.ts +27 -0
  105. package/template/shared/notice-inputs.ts +3 -0
  106. package/template/shared/playbook-resources.ts +14 -0
  107. package/template/shared/playbooks.ts +249 -0
  108. package/template/src/agent-executor.ts +25 -8
  109. package/template/src/ai-observability.ts +14 -13
  110. package/template/src/ai-registry-validation.ts +1 -1
  111. package/template/src/appeal-continuity.ts +75 -0
  112. package/template/src/appeal-correction-state.ts +46 -0
  113. package/template/src/appeal-corrections.ts +112 -0
  114. package/template/src/appeal-decisions.ts +85 -0
  115. package/template/src/assistant.ts +3 -4
  116. package/template/src/case-escalations.ts +223 -0
  117. package/template/src/case-investigator.ts +179 -0
  118. package/template/src/component-executor.ts +5 -4
  119. package/template/src/configuration-registry.ts +4 -1
  120. package/template/src/connection-oauth.ts +12 -3
  121. package/template/src/database-readiness.ts +14 -0
  122. package/template/src/human-tasks.ts +152 -55
  123. package/template/src/index.ts +191 -29
  124. package/template/src/installation-admin.ts +2 -1
  125. package/template/src/integration-progress.ts +45 -0
  126. package/template/src/integration-verification.ts +249 -0
  127. package/template/src/investigation-evidence.ts +95 -0
  128. package/template/src/investigator-fixture.ts +30 -0
  129. package/template/src/notice-delivery.ts +19 -0
  130. package/template/src/notice-recovery.ts +81 -0
  131. package/template/src/operator-scope.ts +31 -0
  132. package/template/src/participant-access.ts +163 -0
  133. package/template/src/participant-case.ts +87 -0
  134. package/template/src/participant-customer-access.ts +93 -0
  135. package/template/src/participant-recovery.ts +43 -0
  136. package/template/src/participant-routes.ts +67 -0
  137. package/template/src/platform-registry-validation.ts +25 -2
  138. package/template/src/platform-registry.ts +10 -7
  139. package/template/src/playbook-resources.ts +58 -0
  140. package/template/src/report-admin.ts +9 -2
  141. package/template/src/report-auth.ts +1 -28
  142. package/template/src/report-better-auth.ts +18 -6
  143. package/template/src/report-delivery.ts +149 -148
  144. package/template/src/report-email-inbound.ts +33 -22
  145. package/template/src/report-email-template.ts +5 -2
  146. package/template/src/report-email.ts +7 -30
  147. package/template/src/report-governance.ts +42 -45
  148. package/template/src/report-http.ts +37 -2
  149. package/template/src/report-operations.ts +30 -67
  150. package/template/src/report-operator-accounts.ts +7 -6
  151. package/template/src/report-ownership.ts +64 -0
  152. package/template/src/report-presence.ts +15 -9
  153. package/template/src/report-repository.ts +16 -7
  154. package/template/src/report-turnstile.ts +7 -3
  155. package/template/src/report-types.ts +1 -0
  156. package/template/src/report-workflow.ts +183 -249
  157. package/template/src/workflow-actions.ts +248 -156
  158. package/template/src/workflow-compiler.ts +63 -12
  159. package/template/src/workflow-dynamic-runtime.ts +20 -9
  160. package/template/src/workflow-effects.ts +117 -39
  161. package/template/src/workflow-event-transport.ts +16 -0
  162. package/template/src/workflow-expressions.ts +30 -0
  163. package/template/src/workflow-loader-code.ts +21 -0
  164. package/template/src/workflow-platform-types.ts +3 -0
  165. package/template/src/workflow-platform-validation.ts +23 -1
  166. package/template/src/workflow-repository.ts +131 -28
  167. package/template/src/workflow-runs.ts +61 -13
  168. package/template/src/workflow-simulator.ts +7 -4
  169. package/template/src/workspace-governance.ts +6 -4
  170. package/template/tsconfig.json +1 -0
  171. package/template/vite.console.config.ts +30 -2
  172. package/template/worker-configuration.d.ts +3 -2
@@ -1,4 +1,125 @@
1
- @import url("./brand-tokens.css");
1
+ @import url("./brand-tokens.css?v=b671ce94d413e180cb03");
2
+
3
+ /* Playbook authoring: business guidance and its executable process share one home. */
4
+ .playbook-library-intro { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: center; padding: 32px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); }
5
+ .playbook-library-intro h2 { margin: 12px 0; font-size: 30px; }
6
+ .playbook-library-intro p { max-width: 630px; margin-bottom: 0; font-size: 14px; line-height: 1.7; color: var(--muted); }
7
+ .playbook-library-intro .eyebrow, .playbook-step-intro .eyebrow { color: var(--forest); }
8
+ .playbook-library-steps { display: grid; gap: 20px; padding-left: 28px; border-left: 1px solid var(--line); font-size: 12px; font-weight: 650; }
9
+ .editor-dialog.playbook-create-dialog { width: min(960px, calc(100vw - 32px)); max-width: 960px; }
10
+ .playbook-create-dialog .editor-footer { position: sticky; bottom: 0; background: var(--paper); padding-top: 16px; padding-bottom: 16px; z-index: 1; }
11
+ .playbook-create-dialog .editor-form { gap: 24px; }
12
+ .playbook-guide-fields { display: grid; min-width: 0; margin: 0; padding: 0; gap: 24px; border: 0; }
13
+ .playbook-guide-fields > legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
14
+ .playbook-guide-fields label { display: grid; gap: 8px; font-size: 13px; font-weight: 650; }
15
+ .playbook-guide-fields label small, .playbook-guide-fields .muted { color: var(--muted); font-weight: 400; font-size: 12px; line-height: 1.65; }
16
+ .playbook-guide-fields input:not([type=checkbox],[type=radio]), .playbook-guide-fields select, .playbook-guide-fields textarea { width: 100%; min-width: 0; padding: 11px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); color: var(--ink); font: 14px/1.6 var(--sans); }
17
+ .playbook-guide-fields textarea { resize: vertical; min-height: 100px; }
18
+ .playbook-step-intro h3 { margin: 12px 0; font-size: 24px; letter-spacing: -.025em; }
19
+ .playbook-step-intro p { color: var(--muted); font-size: 14px; line-height: 1.7; margin: 0; }
20
+ .playbook-callout { padding: 18px 20px; border: 1px solid var(--line); border-radius: 10px; background: var(--canvas); font-size: 13px; line-height: 1.65; }
21
+ .playbook-callout p { margin: 6px 0 0; color: var(--muted); }
22
+ .playbook-callout button { margin-top: 10px; }
23
+ .playbook-capability { padding: 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
24
+ .playbook-capability.selected { border-color: var(--forest); }
25
+ .playbook-guide-fields .playbook-check { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; line-height: 1.5; }
26
+ .playbook-check input { flex: 0 0 auto; width: 17px; height: 17px; margin: 2px 0 0; accent-color: var(--forest); }
27
+ .playbook-check > span:nth-child(2) { flex: 1; min-width: 0; }
28
+ .playbook-check strong, .playbook-check small { display: block; }
29
+ .playbook-check small { margin-top: 5px; }
30
+ .playbook-source { margin: 12px 0 0 29px; color: var(--muted); font-size: 12px; }
31
+ .playbook-capability-options { display: grid; gap: 14px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
32
+ .playbook-capability-options p { margin-bottom: 0; }
33
+ .playbook-progress { display: flex; gap: 15px; flex-wrap: wrap; list-style: none; margin: 0; padding: 0 0 20px; border-bottom: 1px solid var(--line); }
34
+ .playbook-progress li { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 11px; }
35
+ .playbook-progress li span { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line); }
36
+ .playbook-progress li[aria-current=step] { color: var(--forest); font-weight: 750; }
37
+ .playbook-progress li[aria-current=step] span { color: var(--brand-primary-contrast); background: var(--forest); border-color: var(--forest); }
38
+ .playbook-view-switch { display: flex; flex: 0 0 auto; gap: 6px; align-items: center; padding: 14px 24px; border-bottom: 1px solid var(--line); background: var(--paper); }
39
+ .playbook-view-switch button { border-radius: 8px; padding: 10px 16px; background: transparent; color: var(--muted); font-size: 13px; font-weight: 650; }
40
+ .playbook-view-switch button[aria-pressed=true] { background: var(--mint); color: var(--forest-dark); }
41
+ .playbook-view-switch > span { margin-left: auto; color: var(--muted); font-size: 12px; }
42
+ .playbook-guide-panel { display: grid; grid-template-columns: 190px minmax(0, 1fr); min-height: 460px; background: var(--paper); }
43
+ .workflow-studio-dialog .playbook-guide-panel { flex: 1 1 auto; min-height: 0; overflow-y: auto; }
44
+ .workflow-studio-dialog .studio-workflow-view { display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; overflow: auto; }
45
+ .playbook-section-nav { padding: 24px 16px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; align-items: stretch; }
46
+ .playbook-section-nav button { display: flex; align-items: center; gap: 12px; text-align: left; border-radius: 8px; padding: 13px; background: transparent; color: var(--muted); font-size: 13px; }
47
+ .playbook-section-nav button span { color: var(--muted); font-size: 11px; }
48
+ .playbook-section-nav button[aria-current=step] { background: var(--mint); color: var(--forest-dark); font-weight: 700; }
49
+ .playbook-guide-content { max-width: 920px; width: 100%; min-width: 0; padding: 32px 40px; display: grid; gap: 24px; align-content: start; }
50
+ .playbook-guide-save { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; padding-top: 22px; border-top: 1px solid var(--line); }
51
+ .playbook-guide-save > span { flex: 1; color: var(--muted); font-size: 12px; }
52
+ .playbook-notice-preview { margin: 12px 0 0; padding: 16px; border-left: 3px solid var(--forest); background: var(--canvas); white-space: pre-wrap; font-size: 13px; line-height: 1.7; overflow-wrap: anywhere; }
53
+ .workflow-studio-dialog.has-playbook .console-output, .workflow-studio-dialog.has-playbook .console-head { font-size: 12px; line-height: 1.6; }
54
+ .playbook-published-examples > button { display: block; padding: 9px 0; text-align: left; }
55
+ /* Saved examples, case runs and immutable publication history. */
56
+ .workflow-studio-dialog .playbook-lifecycle-panel { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 28px 32px; background: var(--paper); font-size: 14px; line-height: 1.65; }
57
+ .playbook-lifecycle-panel h3 { font-size: 25px; line-height: 1.2; margin: 6px 0 10px; letter-spacing: -.02em; }
58
+ .playbook-lifecycle-panel h4 { margin: 0 0 12px; font-size: 17px; }
59
+ .playbook-panel-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; margin-bottom: 20px; }
60
+ .playbook-panel-heading p, .playbook-panel-heading > span { color: var(--muted); font-size: 13px; max-width: 660px; margin-bottom: 0; }
61
+ .playbook-panel-heading > button { flex: 0 0 auto; }
62
+ .playbook-suite-summary { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; padding: 16px 20px; margin: 0 0 24px; border: 1px solid var(--line); background: var(--canvas); border-radius: 10px; }
63
+ .playbook-suite-summary span { font-size: 12px; color: var(--muted); }
64
+ .playbook-examples-layout { display: grid; grid-template-columns: minmax(170px, 250px) minmax(0, 1fr); gap: 32px; }
65
+ .playbook-example-list { display: flex; flex-direction: column; align-self: start; gap: 8px; min-width: 0; }
66
+ .playbook-example-list button { display: grid; gap: 6px; padding: 16px; border-radius: 10px; border: 1px solid var(--line); background: var(--paper); text-align: left; color: var(--ink); }
67
+ .playbook-example-list button[aria-current=true] span, .playbook-example-list button[aria-current=true] small { color: var(--forest-dark); }
68
+ .playbook-example-list button[aria-current=true] { background: var(--mint); border-color: var(--forest); }
69
+ .playbook-example-list strong { overflow-wrap: anywhere; font-size: 13px; line-height: 1.6; }
70
+ .playbook-example-list span, .playbook-example-list small { color: var(--muted); font-size: 12px; }
71
+ .playbook-example-editor, .playbook-version-detail { min-width: 0; }
72
+ .playbook-example-editor form { margin-bottom: 28px; }
73
+ .playbook-field-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
74
+ .playbook-milestones { border: 1px solid var(--line); border-radius: 10px; padding: 16px; display: grid; gap: 12px; }
75
+ .playbook-milestones legend { font-size: 13px; font-weight: 650; padding: 0 8px; }
76
+ .playbook-advanced-example { border-top: 1px solid var(--line); padding-top: 16px; }
77
+ .playbook-lifecycle-panel summary { cursor: pointer; font-size: 13px; font-weight: 650; padding: 8px 0; }
78
+ .playbook-advanced-example p { margin: 12px 0; color: var(--muted); font-size: 13px; }
79
+ .playbook-advanced-example label { margin-bottom: 20px; }
80
+ .playbook-advanced-example textarea.code-input { min-height: 150px; font: 12px/1.7 ui-monospace, monospace; }
81
+ .playbook-example-result { margin-bottom: 24px; border: 1px solid var(--line); border-radius: 12px; padding: 22px; background: var(--canvas); }
82
+ .playbook-example-result.failed { border-left: 4px solid var(--danger); }
83
+ .playbook-result-facts { display: flex; flex-wrap: wrap; gap: 20px 32px; margin: 20px 0; }
84
+ .playbook-result-facts div { display: grid; gap: 3px; min-width: 100px; }
85
+ .playbook-result-facts dt { color: var(--muted); font-size: 12px; }
86
+ .playbook-result-facts dd { margin: 0; font-weight: 650; }
87
+ .playbook-step-trace { margin: 0; padding: 0 0 0 24px; }
88
+ .playbook-step-trace li { padding: 10px 0 10px 4px; border-bottom: 1px solid var(--line); font-size: 13px; }
89
+ .playbook-step-trace strong { display: inline-block; color: var(--muted); font-size: 12px; font-weight: 500; margin-left: 14px; }
90
+ .playbook-panel-footer { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding-top: 20px; margin-top: 24px; border-top: 1px solid var(--line); }
91
+ .playbook-panel-footer > span { color: var(--muted); font-size: 12px; }
92
+ .playbook-json-record { max-height: 320px; overflow: auto; padding: 16px; border-radius: 8px; background: var(--canvas); font-size: 12px; line-height: 1.7; }
93
+ .playbook-activation { margin-top: 28px; padding: 22px; border: 1px solid var(--line); border-radius: 12px; }
94
+ .playbook-version-detail > .playbook-callout { margin: 20px 0; }
95
+ .playbook-run-filter { display: grid; gap: 8px; font-size: 13px; max-width: 260px; margin-bottom: 24px; }
96
+ .playbook-run-filter select { padding: 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); color: var(--ink); }
97
+ .playbook-run-list { display: grid; gap: 16px; }
98
+ .playbook-run-list article { padding: 22px; border: 1px solid var(--line); border-radius: 12px; }
99
+ @media (max-width: 760px) {
100
+ .workflow-studio-dialog .playbook-lifecycle-panel { padding: 22px 16px; }
101
+ .playbook-panel-heading { flex-wrap: wrap; gap: 14px; }
102
+ .playbook-examples-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
103
+ .playbook-example-list { flex-direction: row; overflow-x: auto; padding-bottom: 6px; }
104
+ .playbook-example-list button { min-width: 180px; max-width: 220px; flex: 0 0 auto; }
105
+ .playbook-field-pair { grid-template-columns: minmax(0, 1fr); }
106
+ .playbook-view-switch { overflow-x: auto; }
107
+ .playbook-view-switch button { padding: 10px 12px; }
108
+ .playbook-activation { padding: 16px; }
109
+ }
110
+ @media (max-width: 760px) {
111
+ .playbook-library-intro { grid-template-columns: minmax(0, 1fr); padding: 22px; gap: 24px; }
112
+ .playbook-library-steps { padding-left: 0; border-left: 0; gap: 12px; }
113
+ .playbook-guide-panel { grid-template-columns: minmax(0, 1fr); }
114
+ .playbook-section-nav { flex-direction: row; flex-wrap: wrap; padding: 12px; border-right: 0; border-bottom: 1px solid var(--line); gap: 4px; }
115
+ .playbook-section-nav button { padding: 9px; font-size: 12px; gap: 6px; }
116
+ .playbook-guide-content { padding: 22px 16px; }
117
+ .playbook-view-switch { padding: 12px; }
118
+ .playbook-view-switch > span { display: none; }
119
+ .playbook-capability { padding: 15px; }
120
+ .playbook-check .badge { display: none; }
121
+ .playbook-progress { gap: 10px; }
122
+ }
2
123
 
3
124
  :root {
4
125
  color-scheme: light;
@@ -102,14 +223,7 @@ input:focus, select:focus { border-color: #68a380; box-shadow: 0 0 0 3px rgba(34
102
223
  .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
224
  .sidebar nav a:hover, .sidebar nav a.active { color: var(--forest-dark); background: #e4efe7; }
104
225
  .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; }
226
+ .active-analysts { position: relative; min-width: 0; }
113
227
  .analyst-identity { min-width: 0; display: inline-flex; align-items: center; gap: 7px; }
114
228
  .analyst-identity > span:last-child { min-width: 0; }
115
229
  .analyst-identity strong, .analyst-identity small { display: block; max-width: 145px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@@ -409,13 +523,6 @@ td small { margin-top: 3px; color: var(--muted); }
409
523
  .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; }
410
524
  .live-label i { width: 6px; height: 6px; border-radius: 50%; background: #49a467; box-shadow: 0 0 0 3px rgba(73,164,103,.12); }
411
525
  .active-analysts { min-width: 0; margin: 0; padding: 0; border: 0; }
412
- .active-analysts > div:first-child { justify-content: flex-end; gap: 6px; }
413
- .active-analysts > div:first-child strong { color: #819087; font-size: 7px; }
414
- .active-analyst-list { max-width: min(620px, 48vw); margin-top: 5px; display: flex; justify-content: flex-end; gap: 6px; overflow-x: auto; }
415
- .active-analyst { min-width: 150px; padding: 5px 8px; border: 1px solid #dce1dc; background: white; }
416
- .active-analyst:hover { background: white; }
417
- .active-analyst .analyst-identity strong { color: #244333; }
418
- .active-analyst-empty { padding: 4px 0; }
419
526
  .report-surface { max-width: none; margin: 0; border: 0; border-radius: 0; background: #fbfaf7; }
420
527
  .report-surface > .surface-head { padding: 11px 15px; align-items: center; border-bottom-color: #dcddd7; }
421
528
  .queue-toolbar { min-width: 0; display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
@@ -427,7 +534,7 @@ td small { margin-top: 3px; color: var(--muted); }
427
534
  .refresh-button { min-width: 34px; min-height: 33px; padding: 6px; font-size: 14px; }
428
535
  .report-surface .table-wrap { min-height: calc(100vh - 189px); background: white; }
429
536
  .report-surface table { font-size: 10px; table-layout: fixed; }
430
- .report-surface th { height: 35px; padding: 8px 15px; color: #7b8880; background: #f8f8f5; font-size: 7px; }
537
+ .report-surface th { height: 35px; padding: 8px 15px; color: #56645b; background: #f8f8f5; font-size: 7px; }
431
538
  .report-surface th:first-child { width: 34%; }
432
539
  .report-surface th:nth-child(2) { width: 21%; }
433
540
  .report-surface th:nth-child(3) { width: 13%; }
@@ -439,19 +546,29 @@ td small { margin-top: 3px; color: var(--muted); }
439
546
  .report-surface tbody tr.selected { background: #eff7ea; box-shadow: inset 3px 0 #1f6c48; }
440
547
  .report-identity { min-width: 0; display: flex; align-items: center; gap: 10px; }
441
548
  .report-identity > span:last-child { min-width: 0; }
549
+ .report-primary-copy { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; }
442
550
  .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; }
443
551
  .report-link { color: #1e2e26; font-size: 10px; }
444
552
  .report-identity small { max-width: 290px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
553
+ .report-mobile-meta { display: none; }
554
+ .report-row-viewers { width: fit-content; max-width: 100%; margin-top: 5px; display: inline-flex; align-items: center; color: #496052; font-size: 8px; font-weight: 800; line-height: 1; }
555
+ .report-row-viewers-desktop { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
556
+ .report-row-viewers-mobile { display: none; align-items: center; gap: 5px; }
557
+ .report-row-viewers-mobile i { width: 6px; height: 6px; flex: 0 0 6px; border-radius: 50%; background: #4ca36c; box-shadow: 0 0 0 3px rgba(76,163,108,.12); }
558
+ .report-row-viewers .presence-avatar-stack { padding-left: 0; }
559
+ .report-row-viewers .presence-avatar-stack .analyst-avatar.small { width: 20px; height: 20px; flex-basis: 20px; margin-left: -4px; border-width: 2px; font-size: 7px; }
560
+ .report-row-viewers .presence-overflow-avatar { width: 20px; height: 20px; margin-left: -4px; font-size: 6.5px; }
445
561
  .priority-badge { padding: 4px 7px; display: inline-flex; border-radius: 6px; font-size: 8px; font-weight: 850; text-transform: capitalize; }
446
562
  .priority-badge.high { color: #a23932; background: #fff0ec; }
447
563
  .priority-badge.medium { color: #9b651d; background: #fff5dc; }
448
564
  .priority-badge.low { color: #6b6d58; background: #f4f1dc; }
449
- .unclaimed { padding-left: 28px; color: #89948d; }
565
+ .unclaimed { padding-left: 28px; color: #56645b; }
450
566
 
451
567
  body.report-open .content { margin-right: 408px; }
452
568
  .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; }
453
569
  .report-drawer::backdrop { display: none; }
454
570
  .report-drawer .detail-head { padding: 17px 18px; }
571
+ .report-drawer .detail-head { background: var(--paper, #fff); backdrop-filter: none; }
455
572
  .report-drawer .detail-head h2 { font-family: var(--sans); font-size: 18px; letter-spacing: -.02em; }
456
573
  .report-drawer .report-detail-content { margin-inline: 15px; padding-block: 15px 24px; }
457
574
  .report-drawer .detail-grid, .report-drawer .detail-actions { grid-template-columns: 1fr; }
@@ -477,6 +594,7 @@ body.report-open .content { margin-right: 408px; }
477
594
  .people-list { display: grid; border: 1px solid var(--line); border-radius: 9px; overflow: hidden; }
478
595
  .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; }
479
596
  .people-list article:first-child { border-top: 0; }
597
+ .people-actions { display: flex; flex-direction: column; gap: 6px; }
480
598
  .people-list article > small { color: var(--muted); font-size: 8px; }
481
599
  .people-list article > div strong, .people-list article > div small { display: block; }
482
600
  .people-list article > div strong { font-size: 9px; }
@@ -495,14 +613,13 @@ body.report-open .content { margin-right: 408px; }
495
613
  .profile-form { display: grid; gap: 12px; }
496
614
  .profile-form label { display: grid; gap: 6px; }
497
615
  .workspace-mode button:disabled { cursor: not-allowed; opacity: .58; }
498
- .profile-form input[readonly] { color: #68756d; background: #f4f6f3; }
616
+ .profile-form input[readonly] { color: #526158; background: #f4f6f3; }
499
617
  .profile-surface > .form-message { padding: 0 24px 5px; }
500
618
 
501
619
  @media (max-width: 1180px) {
502
620
  body.report-open .content { margin-right: 360px; }
503
621
  .report-drawer { width: 360px; }
504
622
  .report-surface th:first-child { width: 38%; }
505
- .active-analyst-list { max-width: 40vw; }
506
623
  }
507
624
 
508
625
  @media (max-width: 900px) {
@@ -510,13 +627,12 @@ body.report-open .content { margin-right: 408px; }
510
627
  .sidebar { position: static; width: 100%; min-width: 0; max-width: 100vw; height: auto; padding: 10px; overflow: hidden; }
511
628
  .sidebar .workspace-card { display: none; }
512
629
  .sidebar nav { width: 100%; min-width: 0; max-width: 100%; margin: 0; display: flex; overflow-x: auto; overscroll-behavior-x: contain; }
513
- .sidebar nav, .active-analyst-list { scrollbar-width: none; }
514
- .sidebar nav::-webkit-scrollbar, .active-analyst-list::-webkit-scrollbar { display: none; }
630
+ .sidebar nav { scrollbar-width: none; }
631
+ .sidebar nav::-webkit-scrollbar { display: none; }
515
632
  .sidebar nav > small { display: none; }
516
633
  .sidebar nav a { flex: 0 0 auto; }
517
634
  .content { width: 100%; min-width: 0; max-width: 100%; }
518
635
  .page-head { min-width: 0; align-items: flex-start; flex-direction: column; }
519
- .active-analyst-list { max-width: calc(100vw - 44px); justify-content: flex-start; }
520
636
  body.report-open .content { margin-right: 0; }
521
637
  .report-drawer { top: 66px; width: min(440px, 100vw); }
522
638
  .report-drawer::backdrop { display: block; background: rgba(5,32,23,.35); }
@@ -534,13 +650,33 @@ body.report-open .content { margin-right: 408px; }
534
650
  .queue-toolbar .search-field { min-width: 0; grid-column: 1 / -1; }
535
651
  .queue-toolbar label { min-width: 0; }
536
652
  .refresh-button { align-self: flex-end; }
537
- .report-surface th:nth-child(2), .report-surface td:nth-child(2),
538
- .report-surface th:nth-child(3), .report-surface td:nth-child(3) { display: none; }
539
- .report-surface th:first-child { width: 52%; }
540
- .report-surface th:nth-child(4) { width: 18%; }
541
- .report-surface th:nth-child(5) { width: 30%; }
653
+ .report-surface table, .report-surface tbody { width: 100%; display: block; }
654
+ .report-surface thead { display: none; }
655
+ .report-surface tbody tr { min-width: 0; padding: 14px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 11px 14px; border-top: 1px solid #e7e8e2; }
656
+ .report-surface tbody tr:first-child { border-top: 0; }
657
+ .report-surface td { min-width: 0; height: auto; padding: 0; border: 0; }
658
+ .report-surface td:first-child { grid-column: 1 / -1; }
659
+ .report-surface td:nth-child(2), .report-surface td:nth-child(3) { display: none; }
660
+ .report-surface td:nth-child(4), .report-surface td:nth-child(5) { width: auto; display: grid; gap: 2px; align-content: end; }
661
+ .report-surface td:nth-child(4)::before, .report-surface td:nth-child(5)::before { color: #7c8981; font-size: 7px; font-weight: 750; text-transform: uppercase; }
662
+ .report-surface td:nth-child(4)::before { content: "Received"; }
663
+ .report-surface td:nth-child(5)::before { content: "Owner"; text-align: right; }
664
+ .report-surface td:nth-child(4) strong { font-size: 10px; }
665
+ .report-surface td:nth-child(4) small { display: none; }
666
+ .report-surface td:nth-child(5) { justify-items: end; text-align: right; }
667
+ .report-surface td:nth-child(5) .analyst-identity { max-width: 150px; justify-content: flex-end; }
668
+ .report-surface .unclaimed { padding-left: 0; }
669
+ .report-identity { align-items: flex-start; }
670
+ .report-primary-copy { width: 100%; }
671
+ .report-link { max-width: 100%; overflow-wrap: anywhere; text-align: left; }
672
+ .report-identity small { max-width: 100%; display: -webkit-box; overflow: hidden; white-space: normal; overflow-wrap: anywhere; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
673
+ .report-mobile-meta { margin-top: 7px; display: flex; align-items: center; gap: 5px; flex-wrap: wrap; }
674
+ .report-mobile-meta > span:not(.priority-badge) { padding: 3px 6px; border-radius: 999px; color: #56675e; background: #f0f3ef; font-size: 7px; font-weight: 750; }
542
675
  .report-drawer { inset: var(--product-topbar) 0 0 0; width: 100%; height: calc(100dvh - var(--product-topbar)); }
543
676
  .report-surface .table-wrap { overflow-x: hidden; }
677
+ .report-row-viewers { margin-top: 6px; padding: 4px 7px; border: 1px solid #d8e6dc; border-radius: 999px; background: #f0f7f1; font-size: 8px; }
678
+ .report-row-viewers-desktop { display: none; }
679
+ .report-row-viewers-mobile { display: inline-flex; }
544
680
  .people-list article { grid-template-columns: 1fr auto; }
545
681
  .people-list article > small { display: none; }
546
682
  }
@@ -882,59 +1018,87 @@ body.report-open .content { margin-right: 0; }
882
1018
  .surface-buttons .primary, .surface-buttons .secondary { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
883
1019
  .surface-buttons svg { width: 16px; height: 16px; }
884
1020
 
885
- .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; }
1021
+ .attention-banner { margin: 0 0 20px; padding: 14px 16px; border: 0; border-radius: 12px; color: #764707; background: var(--safest-warning-100); font-size: 12px; }
886
1022
  .attention-banner > div { flex: 1; }
887
1023
  .attention-banner strong { font-size: 13px; }
888
1024
  .attention-banner span { margin-top: 3px; color: inherit; font-size: 11px; line-height: 1.45; }
889
1025
 
890
- .command-metrics { max-width: none; margin: 0 0 16px; gap: 12px; }
891
- .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); }
892
- .command-metrics article.urgent { border-top-color: var(--line); }
893
- .command-metrics span { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: var(--muted); font-size: 11px; font-weight: 650; }
894
- .command-metrics span svg { color: #6d7b72; }
895
- .command-metrics strong { margin: 9px 0 6px; font: 730 26px/1 var(--sans); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
896
- .command-metrics small { color: var(--muted); font-size: 11px; }
897
-
898
- .command-grid { grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr); gap: 16px; }
899
- .command-panel { border-radius: 12px; box-shadow: var(--product-shadow); }
900
- .command-panel .surface-head { padding: 16px 18px; align-items: flex-start; }
901
- .command-panel .surface-head h2 { margin: 0; font-family: var(--sans); font-size: 16px; font-weight: 720; letter-spacing: -.02em; }
902
- .command-panel .surface-head p { margin: 4px 0 0; color: var(--muted); font-size: 12px; line-height: 1.45; }
903
- .command-panel .surface-head .text-button { margin-top: 1px; font-size: 12px; }
904
- .attention-row { padding: 14px 16px; gap: 12px; background: white; text-align: left; }
905
- .attention-row:hover { background: #fafbf8; }
906
- .attention-row strong { color: var(--ink); font-size: 12px; }
907
- .attention-row small { margin-top: 3px; font-size: 10px; }
908
- .attention-glyph { width: 34px; height: 34px; border-radius: 10px; }
909
- .attention-meta { min-width: 80px; color: var(--muted); font-size: 10px; }
910
-
911
- .queue-load-list { padding: 16px 18px; display: grid; gap: 16px; }
912
- .queue-load-row { display: grid; grid-template-columns: minmax(110px, 1fr) minmax(90px, 1.35fr) 54px; align-items: center; gap: 11px; }
913
- .queue-load-label strong, .queue-load-label small { display: block; }
914
- .queue-load-label strong { font-size: 12px; }
915
- .queue-load-label small { margin-top: 2px; color: var(--muted); font-size: 9px; }
916
- .queue-load-track { height: 8px; overflow: hidden; border-radius: 999px; background: #f0f2ee; }
917
- .queue-load-fill { display: block; height: 100%; border-radius: inherit; background: var(--forest); }
918
- .queue-load-fill.warning { background: var(--safest-warning-700); }
919
- .queue-load-fill.danger { background: var(--danger); }
920
- .queue-load-count { font-size: 10px; text-align: right; white-space: nowrap; }
921
- .queue-load-panel .empty-product { padding: 30px 18px; }
922
-
923
- .recent-runs-panel { margin-top: 16px; }
924
- .compact-run-row { padding: 13px 16px; grid-template-columns: 32px minmax(210px,1.35fr) minmax(130px,.75fr) 90px 50px; gap: 10px; }
925
- .run-glyph { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 9px; color: var(--forest); background: var(--mint); font-size: 15px; }
926
- .compact-run-row strong { font-size: 12px; }
927
- .compact-run-row small { margin-top: 2px; font-size: 10px; }
928
- .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; }
929
- .run-status::before { content: ""; width: 6px; height: 6px; margin-right: 6px; display: inline-block; border-radius: 50%; background: currentColor; }
930
- .run-status.warning { color: var(--safest-warning-700); background: var(--safest-warning-100); }
931
- .run-status.danger { color: var(--danger); background: var(--danger-soft); }
932
- .run-age { color: var(--muted); font-size: 10px; text-align: right; }
933
- .run-open { justify-self: end; font-size: 11px; }
934
- .command-panel .empty-product { padding: 36px 20px; border: 0; border-radius: 0; background: transparent; }
935
- .command-panel .empty-product span { width: 38px; height: 38px; margin-bottom: 9px; font-size: 16px; }
936
- .command-panel .empty-product h2 { margin-bottom: 4px; font-family: var(--sans); font-size: 15px; }
937
- .command-panel .empty-product p { margin-bottom: 0; font-size: 10px; }
1026
+ .command-actions { align-items: center; }
1027
+ .command-signals { margin: 0 0 16px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
1028
+ .command-signal { min-width: 0; min-height: 82px; padding: 13px 15px; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-content: center; gap: 4px 10px; border: 1px solid var(--line); border-radius: 11px; color: var(--ink); background: white; box-shadow: var(--product-shadow); text-align: left; }
1029
+ .command-signal:hover { border-color: #bdc9c1; background: #fbfcfa; }
1030
+ .command-signal > span { align-self: end; color: var(--muted); font-size: 10px; font-weight: 720; }
1031
+ .command-signal > strong { grid-row: 1 / 3; grid-column: 2; align-self: center; font: 760 25px/1 var(--sans); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
1032
+ .command-signal > small { color: var(--muted); font-size: 9px; }
1033
+ .command-signal.danger > strong { color: var(--danger); }
1034
+ .command-signal.warning > strong { color: var(--safest-warning-700); }
1035
+ .command-signal.positive > strong { color: var(--safest-positive-700); }
1036
+
1037
+ .command-workspace-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(300px, .75fr); gap: 16px; align-items: start; }
1038
+ .command-side-stack { min-width: 0; display: grid; gap: 16px; }
1039
+ .command-panel { overflow: hidden; border-radius: 12px; box-shadow: var(--product-shadow); }
1040
+ .command-panel .surface-head { min-height: 64px; padding: 15px 17px; align-items: flex-start; }
1041
+ .command-panel .surface-head h2 { margin: 0; font-family: var(--sans); font-size: 16px; font-weight: 740; letter-spacing: -.02em; }
1042
+ .command-panel .surface-head p { margin: 4px 0 0; color: var(--muted); font-size: 10px; line-height: 1.45; }
1043
+ .command-panel .surface-head .text-button { margin-top: 1px; font-size: 11px; }
1044
+ .surface-head-actions { display: flex; align-items: center; gap: 12px; }
1045
+
1046
+ .review-priority-list { display: grid; }
1047
+ .review-priority-row { position: relative; min-width: 0; min-height: 88px; padding: 14px 14px 14px 18px; display: grid; grid-template-columns: minmax(0, 1fr) auto 18px; align-items: center; gap: 14px; border-top: 1px solid var(--line); color: var(--ink); background: white; text-align: left; }
1048
+ .review-priority-row:hover { background: #fafbf8; }
1049
+ .review-priority-rail { position: absolute; inset: 13px auto 13px 0; width: 3px; border-radius: 0 999px 999px 0; background: #b7c2ba; }
1050
+ .review-priority-row.warning .review-priority-rail { background: #d3972f; }
1051
+ .review-priority-row.danger .review-priority-rail { background: var(--danger); }
1052
+ .review-priority-main, .review-priority-title, .review-priority-meta { min-width: 0; display: flex; align-items: center; }
1053
+ .review-priority-main { display: block; }
1054
+ .review-priority-title { gap: 8px; }
1055
+ .review-priority-title strong { min-width: 0; overflow: hidden; text-overflow: ellipsis; color: var(--ink); font-size: 12px; white-space: nowrap; }
1056
+ .review-priority-main > small { margin-top: 4px; display: block; overflow: hidden; color: var(--muted); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
1057
+ .review-priority-meta { margin-top: 8px; gap: 12px; color: #66766d; font-size: 9px; }
1058
+ .review-priority-meta span + span::before { content: ""; width: 3px; height: 3px; margin: 0 7px 2px 0; display: inline-block; border-radius: 50%; background: #aab4ad; }
1059
+ .priority-chip, .sla-chip { width: fit-content; border-radius: 999px; font-weight: 760; white-space: nowrap; }
1060
+ .priority-chip { padding: 3px 6px; color: #59675f; background: #f0f3f0; font-size: 8px; }
1061
+ .priority-chip.warning { color: #75520f; background: var(--safest-warning-100); }
1062
+ .priority-chip.danger { color: var(--danger); background: var(--danger-soft); }
1063
+ .sla-chip { padding: 5px 8px; color: #56665d; background: #f1f4f1; font-size: 9px; }
1064
+ .sla-chip.positive { color: var(--safest-positive-700); background: var(--safest-positive-100); }
1065
+ .sla-chip.warning { color: #75520f; background: var(--safest-warning-100); }
1066
+ .sla-chip.danger { color: var(--danger); background: var(--danger-soft); }
1067
+ .review-row-arrow { width: 16px; height: 16px; fill: none; stroke: #8b9890; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
1068
+
1069
+ .queue-health-list { padding: 2px 17px 15px; display: grid; }
1070
+ .queue-health-row { padding: 13px 0; border-top: 1px solid var(--line); }
1071
+ .queue-health-row:first-child { border-top: 0; }
1072
+ .queue-health-title, .queue-health-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
1073
+ .queue-health-title strong { min-width: 0; overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
1074
+ .queue-health-title span { color: var(--ink); font-size: 10px; font-weight: 730; white-space: nowrap; }
1075
+ .queue-health-meta { margin-top: 5px; color: var(--muted); font-size: 9px; }
1076
+ .queue-health-row.danger .queue-health-meta span:first-child { color: var(--danger); font-weight: 720; }
1077
+ .queue-health-track { height: 5px; margin-top: 10px; display: block; overflow: hidden; border-radius: 999px; background: #edf1ed; }
1078
+ .queue-health-track i { display: block; height: 100%; border-radius: inherit; background: var(--safest-positive-600); }
1079
+ .queue-health-row.warning .queue-health-track i { background: #d3972f; }
1080
+ .queue-health-row.danger .queue-health-track i { background: var(--danger); }
1081
+ .queue-health-row > small { margin-top: 5px; display: block; color: var(--muted); font-size: 8px; }
1082
+
1083
+ .system-health-summary { margin: 0 16px; padding: 12px; display: flex; align-items: center; gap: 10px; border-radius: 10px; color: var(--safest-positive-700); background: var(--safest-positive-100); }
1084
+ .system-health-summary.danger { color: var(--danger); background: var(--danger-soft); }
1085
+ .system-health-summary > span { width: 30px; height: 30px; flex: 0 0 30px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.72); }
1086
+ .system-health-summary svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
1087
+ .system-health-summary strong, .system-health-summary small { display: block; }
1088
+ .system-health-summary strong { font-size: 10px; }
1089
+ .system-health-summary small { margin-top: 2px; color: inherit; font-size: 8px; line-height: 1.4; opacity: 1; }
1090
+ .system-health-facts { margin: 12px 16px 15px; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; overflow: hidden; border: 1px solid var(--line); border-radius: 9px; background: var(--line); }
1091
+ .system-health-facts div { min-width: 0; padding: 9px 10px; display: flex; align-items: center; justify-content: space-between; gap: 8px; background: white; }
1092
+ .system-health-facts dt { color: var(--muted); font-size: 8px; }
1093
+ .system-health-facts dd { margin: 0; font-size: 10px; font-weight: 760; font-variant-numeric: tabular-nums; }
1094
+
1095
+ .command-empty { min-height: 132px; padding: 24px 18px; display: flex; align-items: center; justify-content: center; gap: 12px; border-top: 1px solid var(--line); text-align: left; }
1096
+ .command-empty > span { width: 38px; height: 38px; flex: 0 0 38px; display: grid; place-items: center; border-radius: 50%; color: var(--safest-positive-700); background: var(--safest-positive-100); }
1097
+ .command-empty svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
1098
+ .command-empty strong, .command-empty small { display: block; }
1099
+ .command-empty strong { font-size: 12px; }
1100
+ .command-empty small { margin-top: 3px; color: var(--muted); font-size: 9px; }
1101
+ .command-empty.compact { min-height: 86px; padding: 18px 0; justify-content: flex-start; border-top: 0; }
938
1102
 
939
1103
  /* The remaining authenticated surfaces share the same handoff page width. */
940
1104
  .builder-view, .assistant-view, .settings-view { max-width: 1184px; padding: 28px; }
@@ -956,6 +1120,8 @@ body.report-open .content { margin-right: 0; }
956
1120
  .sidebar nav > small, .sidebar nav a span, .sidebar nav a b { display: none; }
957
1121
  .sidebar nav a { grid-template-columns: 1fr; justify-items: center; padding-inline: 0; }
958
1122
  .command-grid { grid-template-columns: 1fr; }
1123
+ .command-workspace-grid { grid-template-columns: 1fr; }
1124
+ .command-side-stack { grid-template-columns: 1fr 1fr; }
959
1125
  .queue-load-list { grid-template-columns: 1fr 1fr; }
960
1126
  }
961
1127
 
@@ -981,6 +1147,8 @@ body.report-open .content { margin-right: 0; }
981
1147
  .command-head { align-items: stretch; }
982
1148
  .command-head .surface-buttons { width: 100%; justify-content: flex-start; }
983
1149
  .command-metrics { grid-template-columns: 1fr 1fr; }
1150
+ .command-signals { grid-template-columns: 1fr 1fr; }
1151
+ .command-side-stack { grid-template-columns: 1fr; }
984
1152
  .queue-load-list { grid-template-columns: 1fr; }
985
1153
  .compact-run-row { grid-template-columns: 32px minmax(0,1fr) auto; }
986
1154
  .compact-run-row .run-status, .compact-run-row .run-age { display: none; }
@@ -996,6 +1164,22 @@ body.report-open .content { margin-right: 0; }
996
1164
  .command-metrics strong { font-size: 24px; }
997
1165
  .command-head h1 { font-size: 25px; }
998
1166
  .command-head .surface-buttons > * { flex: 1; justify-content: center; }
1167
+ .command-actions { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
1168
+ .command-actions > * { width: 100%; min-width: 0; }
1169
+ .command-signals { gap: 8px; }
1170
+ .command-signal { min-height: 70px; padding: 10px 11px; }
1171
+ .command-signal > strong { font-size: 22px; }
1172
+ .command-signal > small { display: none; }
1173
+ .command-panel .surface-head { min-height: 58px; padding: 13px 14px; }
1174
+ .command-panel .surface-head p { display: none; }
1175
+ .review-priority-row { min-height: 94px; padding: 13px 12px 13px 16px; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
1176
+ .review-row-arrow { display: none; }
1177
+ .review-priority-title { align-items: flex-start; flex-direction: column; gap: 5px; }
1178
+ .review-priority-title strong { max-width: 100%; }
1179
+ .review-priority-meta { gap: 8px; }
1180
+ .sla-chip { align-self: start; margin-top: 1px; }
1181
+ .queue-health-list { padding-inline: 14px; }
1182
+ .system-health-summary, .system-health-facts { margin-inline: 14px; }
999
1183
  .queue-load-row { grid-template-columns: 1fr 48px; }
1000
1184
  .queue-load-track { grid-column: 1 / -1; grid-row: 2; }
1001
1185
  .attention-row { grid-template-columns: 34px minmax(0,1fr); }
@@ -1176,6 +1360,57 @@ body.login-mode .top-actions { margin-left: auto; }
1176
1360
  .workflow-technical summary span { margin-left: 6px; color: var(--muted); font-weight: 550; }
1177
1361
  .workflow-technical .report-run-list { margin: 10px 0 0; }
1178
1362
  .technical-event-count { margin: 10px 2px 2px; color: var(--muted); font-size: 10px; }
1363
+ .enrichment-heading { margin-bottom: 14px; display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
1364
+ .enrichment-heading h3 { margin: 0 !important; }
1365
+ .enrichment-heading p { max-width: 66ch; margin: 4px 0 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
1366
+ .enrichment-heading > span { flex: 0 0 auto; padding: 5px 9px; border-radius: 999px; color: #315b47; background: #edf5ef; font-size: 10px; font-weight: 800; }
1367
+ .enrichment-finding-list { display: grid; gap: 11px; }
1368
+ .enrichment-finding { min-width: 0; padding: 14px; border: 1px solid #dce6df; border-radius: 10px; background: #f9fbf9; }
1369
+ .enrichment-finding > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
1370
+ .enrichment-finding > header > div { min-width: 0; }
1371
+ .enrichment-finding > header strong, .enrichment-finding > header small { display: block; }
1372
+ .enrichment-finding > header strong { color: #19362a; font-size: 14px; }
1373
+ .enrichment-finding > header small { margin-top: 4px; color: #5e7066; font-size: 12px; line-height: 1.5; }
1374
+ .enrichment-conversation, .enrichment-history { margin-top: 13px; display: grid; gap: 12px; }
1375
+ .enrichment-conversation h4 { margin: 0 0 7px; color: #5f7067; font-size: 10px; letter-spacing: .04em; text-transform: uppercase; }
1376
+ .enrichment-message-list { display: grid; gap: 6px; }
1377
+ .enrichment-message { padding: 9px 10px; border: 1px solid #e1e6e2; border-radius: 8px; background: white; }
1378
+ .enrichment-message.reported { border-color: #e5c98b; background: #fff9ea; box-shadow: inset 3px 0 #d39b37; }
1379
+ .enrichment-message header { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
1380
+ .enrichment-message header div strong, .enrichment-message header div span { display: block; }
1381
+ .enrichment-message header strong { color: #203a2e; font-size: 12px; }
1382
+ .enrichment-message header span, .enrichment-message > small { color: #76847c; font-size: 10px; }
1383
+ .enrichment-message header > span { flex: 0 0 auto; text-align: right; }
1384
+ .enrichment-message p { margin: 8px 0; color: #2d4639; font-size: 13px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
1385
+ .enrichment-account-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
1386
+ .enrichment-account { min-width: 0; padding: 11px; border: 1px solid #e1e6e2; border-radius: 8px; background: white; }
1387
+ .enrichment-account > header { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
1388
+ .enrichment-account > header strong, .enrichment-account > header small { display: block; overflow-wrap: anywhere; }
1389
+ .enrichment-account > header strong { color: #203a2e; font-size: 14px; }
1390
+ .enrichment-account > header small { margin-top: 3px; color: #748179; font-size: 10px; }
1391
+ .enrichment-account > header > span { padding: 4px 7px; border-radius: 999px; color: #315b47; background: #edf5ef; font-size: 10px; font-weight: 800; }
1392
+ .enrichment-account dl { margin: 12px 0 8px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
1393
+ .enrichment-account dl div { min-width: 0; padding: 8px 6px; border-radius: 7px; background: #f4f7f4; text-align: center; }
1394
+ .enrichment-account dt { color: #6f7d75; font-size: 9px; }
1395
+ .enrichment-account dd { margin: 4px 0 0; color: #213d30; font-size: 13px; font-weight: 800; }
1396
+ .enrichment-account > p, .enrichment-restriction { margin: 6px 0 0; display: block; color: #607068; font-size: 11px; line-height: 1.5; }
1397
+ .enrichment-account .enrichment-account-tenure { color: #354f42; font-weight: 700; }
1398
+ .enrichment-restriction { color: #8a5427; }
1399
+ .enrichment-expand, .enrichment-technical { border-top: 1px solid #e4e9e5; }
1400
+ .enrichment-expand summary, .enrichment-technical summary { padding: 11px 1px 3px; color: #3e5d4d; cursor: pointer; font-size: 11px; font-weight: 800; }
1401
+ .enrichment-expand[open] summary, .enrichment-technical[open] summary { margin-bottom: 8px; }
1402
+ .enrichment-event-list { display: grid; gap: 6px; }
1403
+ .enrichment-event-list article { padding: 8px 9px; border-radius: 7px; background: white; }
1404
+ .enrichment-event-list strong, .enrichment-event-list span, .enrichment-event-list small { display: block; }
1405
+ .enrichment-event-list strong { font-size: 12px; }
1406
+ .enrichment-event-list span, .enrichment-event-list small { margin-top: 3px; color: var(--muted); font-size: 10px; overflow-wrap: anywhere; }
1407
+ .enrichment-event-list p { margin: 6px 0; font-size: 11px; line-height: 1.5; }
1408
+ .enrichment-technical dl { grid-template-columns: 96px minmax(0, 1fr) !important; margin-bottom: 9px; font-size: 11px !important; }
1409
+ .enrichment-technical pre { max-height: 320px; margin: 0; padding: 11px; overflow: auto; border-radius: 7px; color: #34483e; background: #eef2ef; font: 10px/1.55 ui-monospace, SFMono-Regular, Menlo, monospace; white-space: pre-wrap; overflow-wrap: anywhere; }
1410
+ .enrichment-empty { padding: 13px; border: 1px dashed #ccd8d0; border-radius: 9px; background: #f7faf7; }
1411
+ .enrichment-empty.danger { border-color: #e7c3bc; background: #fff3f0; }
1412
+ .enrichment-empty strong { color: #29483a; font-size: 13px; }
1413
+ .enrichment-empty p { margin: 4px 0 0; color: #64756c; font-size: 11px; line-height: 1.5; }
1179
1414
  .report-drawer .case-message { max-width: min(82%, 720px); padding: 13px 15px; font-size: 12px; line-height: 1.55; }
1180
1415
  .report-drawer .case-message small { font-size: 10px; line-height: 1.45; }
1181
1416
 
@@ -1184,6 +1419,7 @@ body.login-mode .top-actions { margin-left: auto; }
1184
1419
  .report-drawer .detail-grid,
1185
1420
  .report-drawer .detail-actions { grid-template-columns: 1fr; }
1186
1421
  .report-drawer .submission-meta { grid-template-columns: 100px minmax(0, 1fr) !important; }
1422
+ .enrichment-account-list { grid-template-columns: 1fr; }
1187
1423
  }
1188
1424
 
1189
1425
  @media (max-width: 760px) {
@@ -1200,7 +1436,6 @@ body.login-mode .top-actions { margin-left: auto; }
1200
1436
  }
1201
1437
 
1202
1438
  @media (max-width: 620px) {
1203
- .active-analyst-list { max-width: calc(100% - 44px); }
1204
1439
  .queue-toolbar { max-width: 100%; }
1205
1440
  .editor-dialog, .detail-dialog, .queue-dialog, .quality-dialog, .appeal-dialog, .configuration-dialog, .integration-dialog {
1206
1441
  width: calc(100% - 16px);
@@ -1239,6 +1474,10 @@ body.login-mode .top-actions { margin-left: auto; }
1239
1474
  .surface-buttons { width: 100%; justify-content: flex-start; }
1240
1475
  .copy-control button { width: 100%; }
1241
1476
  .assistant-composer { margin-inline: 10px; }
1477
+ .enrichment-heading { align-items: flex-start; }
1478
+ .enrichment-account dl { grid-template-columns: repeat(3, minmax(0, 1fr)); }
1479
+ .enrichment-message header { display: block; }
1480
+ .enrichment-message header > span { margin-top: 3px; text-align: left; }
1242
1481
  }
1243
1482
 
1244
1483
  /* Console content hierarchy: one task title, one useful line, then the work. */
@@ -1253,7 +1492,7 @@ body.login-mode .top-actions { margin-left: auto; }
1253
1492
  .workspace-mode .settings-card .surface-head { min-height: 54px; padding: 14px 17px; }
1254
1493
  .workspace-mode .settings-card .surface-head h2 { font-size: 16px; }
1255
1494
  .workspace-mode .settings-grid { gap: 12px; }
1256
- .workspace-mode .preview-label { margin: 0 0 10px; color: #718078; font-size: 10px; font-weight: 750; }
1495
+ .workspace-mode .preview-label { margin: 0 0 10px; color: #526158; font-size: 10px; font-weight: 750; }
1257
1496
  .workspace-mode .builder-view > .page-head,
1258
1497
  .workspace-mode .assistant-view > .page-head,
1259
1498
  .workspace-mode .settings-view > .page-head { margin-bottom: 18px; }
@@ -1424,7 +1663,7 @@ body.login-mode .top-actions { margin-left: auto; }
1424
1663
  .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; }
1425
1664
  .workspace-mode .context-label {
1426
1665
  margin: 0 0 7px;
1427
- color: #718078;
1666
+ color: #56675d;
1428
1667
  font-size: 10px;
1429
1668
  font-weight: 750;
1430
1669
  letter-spacing: 0;
@@ -1450,7 +1689,6 @@ body.login-mode .top-actions { margin-left: auto; }
1450
1689
  .workspace-mode .badge,
1451
1690
  .workspace-mode .priority-badge,
1452
1691
  .workspace-mode .context-label,
1453
- .workspace-mode .active-analysts > div:first-child strong,
1454
1692
  .workspace-mode .queue-card dt,
1455
1693
  .workspace-mode .object-card-meta span,
1456
1694
  .workspace-mode .appeal-row > span,
@@ -1467,6 +1705,75 @@ body.login-mode .top-actions { margin-left: auto; }
1467
1705
  text-align: center;
1468
1706
  }
1469
1707
 
1708
+ /* Layered reviewer presence: a stable summary in the header, detail only on demand. */
1709
+ .workspace-mode .active-analysts { position: relative; margin-left: auto; flex: 0 0 auto; }
1710
+ .workspace-mode .presence-summary {
1711
+ width: auto;
1712
+ min-height: 38px;
1713
+ max-width: 100%;
1714
+ padding: 6px 9px;
1715
+ display: inline-flex;
1716
+ align-items: center;
1717
+ justify-content: flex-start;
1718
+ gap: 8px;
1719
+ border: 1px solid #d5ddd7;
1720
+ border-radius: 10px;
1721
+ color: #31483b;
1722
+ background: rgba(255,255,255,.92);
1723
+ box-shadow: 0 2px 8px rgba(24,58,40,.035);
1724
+ font: inherit;
1725
+ }
1726
+ .workspace-mode button.presence-summary { cursor: pointer; }
1727
+ .workspace-mode button.presence-summary:hover,
1728
+ .workspace-mode button.presence-summary[aria-expanded="true"] { border-color: #a9beb0; background: white; }
1729
+ .workspace-mode button.presence-summary:focus-visible { outline: 3px solid rgba(43,111,72,.16); outline-offset: 2px; }
1730
+ .workspace-mode .presence-summary strong { overflow: hidden; font-size: 10px; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; }
1731
+ .workspace-mode .presence-summary-empty { color: #78867e; box-shadow: none; }
1732
+ .presence-signal { width: 7px; height: 7px; flex: 0 0 7px; border-radius: 50%; background: #4ca36c; box-shadow: 0 0 0 4px rgba(76,163,108,.12); }
1733
+ .presence-summary-empty .presence-signal { background: #a5afa9; box-shadow: none; }
1734
+ .presence-avatar-stack { display: inline-flex; align-items: center; flex: 0 0 auto; padding-left: 5px; }
1735
+ .presence-avatar-stack .analyst-avatar.small { width: 24px; height: 24px; flex-basis: 24px; margin: 0 0 0 -5px; border-width: 2px; font-size: 8px; }
1736
+ .presence-avatar-stack .analyst-avatar.small:first-child { margin-left: 0; }
1737
+ .presence-overflow-avatar { width: 24px; height: 24px; margin-left: -5px; display: inline-grid; place-items: center; border: 2px solid white; border-radius: 50%; color: #3e5649; background: #e7eee9; font-size: 7px; font-weight: 850; }
1738
+ .presence-chevron { width: 7px; height: 7px; margin: -3px 2px 0 0; flex: 0 0 7px; border-right: 1.5px solid #66776d; border-bottom: 1.5px solid #66776d; transform: rotate(45deg); transition: transform .16s ease; }
1739
+ .active-analysts.open .presence-chevron { margin-top: 3px; transform: rotate(225deg); }
1740
+ .presence-scrim { display: none; }
1741
+ .presence-panel {
1742
+ position: absolute;
1743
+ z-index: 55;
1744
+ top: calc(100% + 8px);
1745
+ right: 0;
1746
+ width: min(340px, calc(100vw - 28px));
1747
+ max-height: min(520px, calc(100dvh - 118px));
1748
+ border: 1px solid #d7dfd9;
1749
+ border-radius: 14px;
1750
+ background: white;
1751
+ box-shadow: 0 18px 48px rgba(18,48,32,.17), 0 3px 12px rgba(18,48,32,.08);
1752
+ overflow: hidden;
1753
+ }
1754
+ .presence-sheet-handle { display: none; }
1755
+ .presence-panel > header { padding: 15px 15px 13px; display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; border-bottom: 1px solid #e5e9e6; }
1756
+ .presence-panel > header h2 { margin: 0; font: 760 15px/1.25 var(--sans); letter-spacing: -.02em; }
1757
+ .presence-panel > header p { margin: 4px 0 0; color: var(--muted); font-size: 10px; line-height: 1.4; }
1758
+ .presence-panel > header .icon-button { width: 32px; min-width: 32px; min-height: 32px; padding: 4px; }
1759
+ .presence-panel-body { max-height: min(430px, calc(100dvh - 196px)); padding: 5px 14px 12px; overflow-y: auto; overscroll-behavior: contain; }
1760
+ .presence-group { padding-top: 11px; }
1761
+ .presence-group + .presence-group { margin-top: 4px; border-top: 1px solid #e8ebe8; }
1762
+ .presence-group h3 { margin: 0 1px 6px; display: flex; align-items: center; gap: 6px; color: #6f7e75; font-size: 9px; font-weight: 760; }
1763
+ .presence-group h3 span { min-width: 18px; padding: 2px 5px; border-radius: 999px; color: #466051; background: #edf2ee; font-size: 8px; text-align: center; }
1764
+ .presence-group ul { margin: 0; padding: 0; list-style: none; }
1765
+ .presence-group li { min-width: 0; min-height: 48px; padding: 7px 2px; display: flex; align-items: center; justify-content: space-between; gap: 10px; border-top: 1px solid #eff1ef; }
1766
+ .presence-group li:first-child { border-top: 0; }
1767
+ .presence-group .analyst-identity { min-width: 0; flex: 1 1 auto; }
1768
+ .presence-group .analyst-identity > span:last-child { min-width: 0; flex: 1 1 auto; }
1769
+ .presence-group .analyst-identity strong,
1770
+ .presence-group .analyst-identity small { max-width: 250px; }
1771
+ .presence-group .analyst-identity strong { color: #213a2e; font-size: 10px; }
1772
+ .presence-group .analyst-identity small { font-size: 9px; }
1773
+ .report-collaborators { width: fit-content; max-width: 100%; margin-top: 9px; padding: 5px 8px 5px 5px; display: flex; align-items: center; gap: 7px; border-radius: 8px; color: #625233; background: #fff4d9; font-size: 9px; font-weight: 720; line-height: 1.35; }
1774
+ .report-collaborators > span:last-child { min-width: 0; overflow-wrap: anywhere; }
1775
+ .report-collaborators .presence-avatar-stack { padding-left: 0; }
1776
+
1470
1777
  @media (max-width: 760px) {
1471
1778
  .workspace-mode .command-view,
1472
1779
  .workspace-mode .builder-view,
@@ -1488,6 +1795,18 @@ body.login-mode .top-actions { margin-left: auto; }
1488
1795
  }
1489
1796
 
1490
1797
  @media (max-width: 620px) {
1798
+ .workspace-mode .queue-view .console-page-head > .active-analysts {
1799
+ width: 100%;
1800
+ flex: 1 0 100%;
1801
+ }
1802
+ .workspace-mode .queue-view .presence-summary { max-width: min(100%, 330px); }
1803
+ .presence-scrim { position: fixed; z-index: 79; inset: 0; width: 100%; min-height: 0; padding: 0; display: block; border: 0; border-radius: 0; background: rgba(6,31,22,.36); backdrop-filter: blur(1px); }
1804
+ .presence-panel { position: fixed; z-index: 80; inset: auto 0 0; width: 100%; max-height: min(72dvh, 600px); border-width: 1px 0 0; border-radius: 18px 18px 0 0; box-shadow: 0 -18px 48px rgba(15,43,29,.19); }
1805
+ .presence-sheet-handle { width: 38px; height: 4px; margin: 8px auto 0; display: block; border-radius: 999px; background: #d1d8d3; }
1806
+ .presence-panel > header { padding-top: 9px; }
1807
+ .presence-panel-body { max-height: calc(min(72dvh, 600px) - 83px); padding-bottom: calc(16px + env(safe-area-inset-bottom)); }
1808
+ .presence-group .analyst-identity strong,
1809
+ .presence-group .analyst-identity small { max-width: calc(100vw - 94px); }
1491
1810
  .workspace-mode .console-page-head:has(.surface-buttons button:nth-child(2)) > .surface-buttons {
1492
1811
  width: 100%;
1493
1812
  margin-left: 0;
@@ -1529,13 +1848,24 @@ body.login-mode .top-actions { margin-left: auto; }
1529
1848
  .pin-control label { min-width: 150px; }
1530
1849
  .pin-control select { min-height: 31px; }
1531
1850
  .studio-error:empty { display: none; }
1851
+ .workflow-studio-dialog .studio-error { position: static; flex: 0 0 auto; margin: 8px 14px; font-size: 12px; }
1852
+ .workflow-studio-dialog .studio-conflict { flex: 0 0 auto; padding: 12px 16px; margin: 0; font-size: 13px; }
1853
+ .workflow-studio-dialog .studio-conflict p { margin: 6px 0 10px; }
1854
+ .mobile-check-toggle { display: none; }
1532
1855
  .workflow-create-dialog { width: min(650px, calc(100% - 30px)); }
1533
1856
 
1534
1857
  @media (max-width: 760px) {
1535
1858
  .workflow-studio-dialog .studio-toolbar { gap: 9px; padding: 10px 12px; }
1536
1859
  .workflow-studio-dialog .studio-toolbar > div:first-child { width: 100%; }
1537
1860
  .workflow-studio-dialog .studio-actions { width: 100%; display: flex; overflow: visible; }
1861
+ .workflow-studio-dialog .save-state { display: block; flex: 1 0 100%; order: -1; font-size: 11px; }
1538
1862
  .workflow-studio-dialog .studio-actions > button { flex: 1 0 70px; }
1863
+ .workflow-studio-dialog.has-playbook .studio-authority { display: none; }
1864
+ .workflow-studio-dialog .playbook-section-nav { flex-wrap: nowrap; overflow-x: auto; padding: 10px 12px; }
1865
+ .workflow-studio-dialog .playbook-section-nav button { flex: 0 0 auto; padding: 9px 11px; }
1866
+ .workflow-studio-dialog .mobile-check-toggle { display: inline-flex; margin-left: auto; padding: 4px 6px; font-size: 11px; }
1867
+ .workflow-studio-dialog .studio-console.compact-checks { flex-basis: 44px; }
1868
+ .workflow-studio-dialog .compact-checks .console-output { display: none; }
1539
1869
  .workflow-studio-dialog .studio-authority { flex: 1 1 150px; }
1540
1870
  .workflow-studio-dialog .studio-authority select { flex: 1 1 auto; min-width: 0; }
1541
1871
  .workflow-studio-dialog .studio-body { height: auto; min-height: 0; overflow-y: auto; }
@@ -1697,8 +2027,8 @@ body.login-mode .top-actions { margin-left: auto; }
1697
2027
  .registry-archive-confirm strong { font-size: 11px; }
1698
2028
  .registry-archive-confirm p { margin: 4px 0 0; color: #7e4c47; font-size: 9px; }
1699
2029
  .registry-archive-confirm > div:last-child { flex: 0 0 auto; display: flex; gap: 7px; }
1700
- button.danger { min-height: 38px; padding: 9px 13px; border-radius: 8px; color: white; background: #9f4039; font-size: 10px; font-weight: 800; }
1701
- button.danger:hover { background: #84332e; }
2030
+ button.danger-action { min-height: 38px; padding: 9px 13px; border-radius: 8px; color: white; background: #9f4039; font-size: 10px; font-weight: 800; }
2031
+ button.danger-action:hover { background: #84332e; }
1702
2032
 
1703
2033
  .registry-wizard { width: min(900px, calc(100% - 28px)); overflow: hidden; }
1704
2034
  .registry-wizard .detail-head { position: static; }
@@ -1790,3 +2120,189 @@ button.danger:hover { background: #84332e; }
1790
2120
  .registry-wizard-footer > div { width: 100%; display: grid; grid-template-columns: 1fr 1fr; }
1791
2121
  .registry-wizard-footer button { width: 100%; }
1792
2122
  }
2123
+
2124
+ /* Case review belongs to the pinned playbook. */
2125
+ .case-next-step { padding: 24px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); margin-bottom: 24px; }
2126
+ .case-review-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
2127
+ .case-review-heading h3, .case-review-heading h4 { margin: 0 0 8px; }
2128
+ .case-review-heading p, .case-review-instructions { color: var(--muted); font-size: 14px; line-height: 1.7; white-space: pre-wrap; }
2129
+ .case-review-heading > button { flex: 0 0 auto; }
2130
+ .case-review-task { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); }
2131
+ .case-review-task fieldset { min-width: 0; margin: 20px 0 0; padding: 0; border: 0; display: grid; gap: 18px; }
2132
+ .case-review-task legend { font-weight: 650; padding-bottom: 16px; }
2133
+ .case-review-task label:not(.checkbox) { display: grid; gap: 8px; font-size: 13px; font-weight: 650; }
2134
+ .case-review-task select, .case-review-task textarea { width: 100%; min-width: 0; padding: 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); color: var(--ink); font: 14px/1.6 var(--sans); }
2135
+ .case-review-task textarea { min-height: 130px; resize: vertical; }
2136
+ .case-review-sources { display: grid; gap: 12px; font-size: 13px; }
2137
+ .case-review-sources .checkbox { align-items: flex-start; }
2138
+ .case-review-sources p { margin: 0; }
2139
+ .case-action-preview pre { overflow: auto; max-height: 220px; padding: 12px; border: 1px solid var(--line); border-radius: 8px; font-size: 12px; }
2140
+ .case-action-preview dd { min-width: 0; margin: 0; }
2141
+ @media (max-width: 760px) { .case-next-step { padding: 18px; } .case-review-heading { flex-wrap: wrap; } }
2142
+
2143
+ .case-review-field { display: grid; gap: 8px; }
2144
+
2145
+ /* Five product areas; specialist tools stay within their owning area. */
2146
+ .sidebar .navigation-area { min-width: 0; margin-bottom: 6px; }
2147
+ .sidebar .navigation-primary { display: flex; gap: 3px; align-items: center; }
2148
+ .sidebar .navigation-primary > a { flex: 1; min-width: 0; }
2149
+ .sidebar .navigation-expand { display: grid; place-items: center; flex: 0 0 28px; height: 36px; padding: 0; color: #c5d7cf; background: transparent; border: 0; border-radius: 6px; font-size: 18px; }
2150
+ .sidebar .navigation-expand:hover, .sidebar .navigation-admin-toggle:hover { background: rgba(255,255,255,.08); color: white; }
2151
+ .sidebar .navigation-secondary { margin: 4px 0 6px 18px; padding-left: 8px; border-left: 1px solid #507367; }
2152
+ .sidebar .navigation-secondary[hidden] { display: none; }
2153
+ .sidebar .navigation-secondary a { min-height: 36px; padding-inline: 7px; font-size: 12px; }
2154
+ .sidebar .navigation-secondary a svg { width: 15px; height: 15px; }
2155
+ .sidebar .navigation-admin { margin-top: 28px; padding-top: 14px; border-top: 1px solid #507367; }
2156
+ .sidebar .navigation-admin-toggle { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px; text-align: left; background: none; border: 0; color: #c5d7cf; font-size: 12px; }
2157
+ .sidebar .navigation-admin-toggle > span:first-of-type { flex: 1; }
2158
+ .navigation-mobile-head { display: none; }
2159
+ @media (min-width: 761px) and (max-width: 1020px) {
2160
+ :root { --product-sidebar: 218px; }
2161
+ .sidebar nav a { grid-template-columns: 18px minmax(0,1fr) auto; justify-items: stretch; padding-inline: 8px; }
2162
+ .sidebar nav a span { display: block; }
2163
+ .sidebar nav a b { display: inline-block; }
2164
+ }
2165
+ @media (max-width: 760px) {
2166
+ .navigation-mobile-head { display: flex; align-items: center; justify-content: space-between; color: white; padding: 0 4px 12px; }
2167
+ .navigation-mobile-head button { color: white; background: transparent; border-color: #507367; }
2168
+ .sidebar .navigation-secondary { margin-left: 16px; }
2169
+ .sidebar .navigation-expand { flex-basis: 34px; height: 40px; }
2170
+ }
2171
+
2172
+ .insights-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
2173
+ .insights-panel { min-width: 0; padding: 22px; }
2174
+ .insights-panel h2 { margin: 0 0 8px; font-size: 18px; }
2175
+ .insights-panel > p { color: var(--muted); line-height: 1.5; }
2176
+ .insights-panel > small { display: block; margin-top: 14px; line-height: 1.5; color: var(--muted); }
2177
+ .insights-panel > .text-button { margin-top: 16px; }
2178
+ .insights-panel .analytics-list { margin-top: 16px; }
2179
+ .insights-panel li { margin-block: 8px; line-height: 1.5; }
2180
+ .insights-backlog { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin-top: 18px; }
2181
+ .insights-backlog button { display: flex; gap: 12px; justify-content: space-between; text-align: left; white-space: normal; }
2182
+ .insights-backlog small { display: block; margin-top: 6px; font-weight: 400; }
2183
+ @media (max-width: 760px) { .insights-grid, .insights-backlog { grid-template-columns: 1fr; } .insights-panel { padding: 18px; } }
2184
+ .insights-workspace { display: grid; gap: 20px; }
2185
+ .insights-workspace > *, .insights-grid > .insights-panel { margin: 0; width: 100%; }
2186
+ .insights-panel h2 { font-family: var(--sans); }
2187
+ .insights-panel p { font-size: 13px; }
2188
+ .insights-panel .analytics-list > div, .insights-panel .analytics-list > p { font-size: 12px; line-height: 1.5; }
2189
+ .insights-panel .analytics-list > div { gap: 18px; }
2190
+
2191
+ /* A case is a navigable record with one current review and a visible outcome. */
2192
+ .report-drawer[open] { display: flex; flex-direction: column; overflow: hidden; }
2193
+ .report-drawer .detail-head { position: static; flex: 0 0 auto; min-width: 0; }
2194
+ .report-drawer .detail-head > div:first-child { min-width: 0; flex: 1; }
2195
+ .report-drawer .detail-head h2 { overflow-wrap: anywhere; }
2196
+ .report-drawer .report-detail-content { width: 100%; max-width: none; flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
2197
+ .case-header-actions { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
2198
+ .report-drawer .case-summary { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 24px; margin-top: 0; padding: 20px; background: #f4f8f4; border: 1px solid #dce5de; }
2199
+ .case-summary > div:first-child { min-width: 0; flex: 1; }
2200
+ .case-summary h3 { font-size: 20px; margin: 5px 0 6px; }
2201
+ .case-summary p { margin: 0; overflow-wrap: anywhere; }
2202
+ .case-summary-facts { display: grid; gap: 7px; max-width: 360px; font-size: 12px; color: var(--muted); }
2203
+ .case-section-tabs { position: sticky; top: -1px; z-index: 2; display: flex; flex-wrap: wrap; gap: 3px; padding: 10px 0; background: white; border-bottom: 1px solid var(--line); margin: 10px 0 18px; }
2204
+ .case-section-tabs button { flex: 1; padding: 11px 13px; border: 0; background: transparent; color: var(--muted); font-size: 13px; }
2205
+ .case-section-tabs button[aria-selected="true"] { background: #e8f1e8; color: #174c3c; font-weight: 750; }
2206
+ .case-section-panel { min-width: 0; }
2207
+ .case-section-panel[hidden] { display: none; }
2208
+ .case-section-panel > section, .case-context-grid > section, .case-guidance { margin-bottom: 18px; padding: 20px; border: 1px solid #dce5de; border-radius: 12px; background: white; }
2209
+ .case-section-panel h3 { font-size: 18px; margin: 0 0 14px; }
2210
+ .case-section-panel p { line-height: 1.6; }
2211
+ .case-context-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
2212
+ .case-context-grid dl { display: grid; grid-template-columns: 140px minmax(0,1fr); gap: 12px; font-size: 13px; }
2213
+ .case-context-grid dd { min-width: 0; overflow-wrap: anywhere; }
2214
+ .case-section-panel .claim-bar { position: static; box-shadow: none; }
2215
+ .report-drawer .case-review-form, .report-drawer .case-message-form, .case-section-panel > .detail-grid { grid-template-columns: minmax(0,1fr); }
2216
+ .case-continue { margin-block: 8px 20px; }
2217
+ .message-audience { display: block; margin-bottom: 8px; font-size: 11px; color: #355449; }
2218
+ .case-load-warning { padding: 14px; border: 1px solid currentColor; border-radius: 9px; }
2219
+ @media (max-width: 760px) {
2220
+ .case-context-grid { grid-template-columns: 1fr; gap: 0; }
2221
+ .case-context-grid dl { grid-template-columns: 108px minmax(0,1fr); }
2222
+ .case-header-actions { flex-direction: column-reverse; align-items: flex-end; gap: 4px; }
2223
+ .case-header-actions .secondary { padding: 7px; font-size: 11px; }
2224
+ .case-section-tabs button { flex-basis: 30%; padding: 10px 8px; }
2225
+ .report-drawer .case-summary { padding: 16px; gap: 13px; }
2226
+ .case-summary-facts { width: 100%; max-width: none; }
2227
+ .case-section-panel > section, .case-context-grid > section { padding: 16px; }
2228
+ }
2229
+ .case-audience-picker { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
2230
+ .case-audience-picker [aria-pressed="true"] { background: #e8f1e8; color: #174c3c; border-color: #174c3c; }
2231
+ .case-customer-facts { display: grid; gap: 10px; }
2232
+ .case-customer-facts > div { display: grid; grid-template-columns: minmax(110px,.6fr) 1fr; gap: 12px; }
2233
+ .case-customer-facts dd { overflow-wrap: anywhere; }
2234
+
2235
+ .workspace-mode .case-message > small { color: #4e5c53; }
2236
+
2237
+ .workspace-mode .timeline-event small { color: #56675d; }
2238
+
2239
+ .case-refresh { display: inline-flex; align-items: center; gap: 6px; }
2240
+ @media (max-width: 760px) {
2241
+ .report-drawer .detail-head { padding: 12px 14px; align-items: center; }
2242
+ .report-drawer .detail-head h2 { font-size: 15px; }
2243
+ .case-header-actions { flex-direction: row; }
2244
+ .case-refresh-label { display: none; }
2245
+ .case-header-actions .case-refresh { width: 36px; min-height: 36px; justify-content: center; font-size: 18px; }
2246
+ .report-drawer .case-summary { padding: 13px; gap: 10px; }
2247
+ .report-drawer .case-summary h3 { font-size: 17px; margin: 3px 0; }
2248
+ .case-summary-facts { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 11px; }
2249
+ .case-summary.compact .context-label, .case-summary.compact .case-summary-facts, .case-summary.compact > button { display: none; }
2250
+ .report-drawer .case-summary.compact { padding: 10px 13px; }
2251
+ }
2252
+
2253
+ .investigation-brief-heading { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }
2254
+ .investigation-brief h4 { margin: 18px 0 6px; font-size: 13px; }
2255
+ .investigation-brief ul, .investigation-brief ol { padding-left: 20px; font-size: 13px; line-height: 1.65; }
2256
+ .investigation-brief li small { display: block; color: #56675d; overflow-wrap: anywhere; }
2257
+ .investigation-brief details { margin-top: 18px; }
2258
+ .investigation-fixture { padding: 10px; background: #fff3d5; color: #64460e; border-radius: 6px; }
2259
+
2260
+ .case-customer-action { margin-block: 16px; padding: 20px; border: 1px solid var(--line); border-radius: 12px; }
2261
+ .case-customer-action h4 { margin: 0; font-size: 16px; }
2262
+ .case-customer-action summary { cursor: pointer; padding-block: 10px; font-weight: 600; }
2263
+ .case-customer-action pre { max-width: 100%; overflow: auto; padding: 12px; background: var(--surface-alt, #f4f7f4); border-radius: 8px; font-size: 12px; white-space: pre-wrap; overflow-wrap: anywhere; }
2264
+ .case-action-details { margin-block: 12px; }
2265
+ .case-action-details dt { font-weight: 600; }
2266
+ .case-action-details dd { margin-inline-start: 0; }
2267
+ .case-customer-action li { margin-block: 8px; overflow-wrap: anywhere; }
2268
+ .case-customer-action .badge { max-width: 100%; white-space: normal; }
2269
+ @media (max-width: 760px) { .case-customer-action { padding: 16px; } .case-customer-action .case-review-heading { align-items: flex-start; flex-direction: column; } }
2270
+ .playbook-choice-list { min-width: 0; padding: 16px; border: 1px solid var(--line); border-radius: 12px; }
2271
+ .playbook-choice-list legend { padding: 0 5px; font-weight: 650; }
2272
+ .playbook-choice-list .playbook-check { margin-block: 8px; }
2273
+ .playbook-input-field { display: grid; gap: 8px; min-width: 0; }
2274
+ .playbook-input-field pre { max-width: 100%; overflow: auto; white-space: pre-wrap; overflow-wrap: anywhere; }
2275
+ .playbook-section-nav button[aria-current="step"] span { color: #245846; }
2276
+ .case-notice { border: 1px solid var(--line); border-radius: 12px; padding: 16px; margin-block: 12px; }
2277
+ .case-notice-heading { display: flex; align-items: start; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
2278
+ .case-notice-heading h4 { margin: 0; }
2279
+ .case-notice > p { font-size: 13px; }
2280
+ .case-notice details > button { margin-top: 12px; }
2281
+ .case-related-list { list-style:none; padding:0; margin:16px 0; display:grid; gap:12px; }
2282
+ .case-related-list li { display:flex; gap:16px; align-items:center; justify-content:space-between; border:1px solid var(--line); border-radius:12px; padding:16px; }
2283
+ .case-related-list p { margin:6px 0; }
2284
+ .appeal-followup { margin-block:20px; }
2285
+ .appeal-followup dl { display:grid; grid-template-columns:max-content 1fr; gap:8px 16px; }
2286
+ .appeal-followup dd { margin:0; }
2287
+ @media(max-width:700px) { .case-related-list li { align-items:flex-start; flex-direction:column; } .appeal-followup dl { grid-template-columns:1fr; gap:4px; } }
2288
+ .appeal-dialog > .surface, .appeal-dialog > .case-guidance { margin:20px 22px; padding:20px; }
2289
+ .appeal-dialog .appeal-followup form { display:grid; gap:12px; }
2290
+ .appeal-dialog .appeal-followup label { display:grid; gap:6px; }
2291
+ .appeal-dialog .appeal-followup input { min-width:0; padding:9px; border:1px solid #cfd7d1; border-radius:8px; font:inherit; }
2292
+ @media(max-width:700px) { .appeal-dialog > .surface, .appeal-dialog > .case-guidance { margin:16px; padding:16px; } }
2293
+ .integration-setup, .registry-tabs-row { scroll-margin-top:calc(var(--product-topbar) + 16px); }
2294
+ .integration-setup { padding:24px; }
2295
+ .integration-setup .surface-head { padding:0; gap:20px; }
2296
+ .integration-setup .surface-head h2 { margin:0 0 8px; }
2297
+ .integration-setup .surface-head p { max-width:70ch; }
2298
+ .integration-stages { list-style:none; padding:0; margin:20px 0; display:grid; gap:10px; }
2299
+ .integration-stages li { border:1px solid var(--line); border-radius:12px; overflow:hidden; }
2300
+ .integration-stages h3 { margin:0; }
2301
+ .integration-stage-toggle { display:grid; grid-template-columns:30px 1fr auto; gap:14px; align-items:center; width:100%; padding:16px; border:0; background:#f7f9f5; color:var(--ink); text-align:left; font:inherit; cursor:pointer; }
2302
+ .integration-stage-toggle small { display:block; margin-top:5px; font-size:12px; font-weight:400; color:#526258; }
2303
+ .integration-stage-number { width:30px; height:30px; display:grid; place-items:center; border-radius:50%; background:#e2eddf; color:#194b37; font-size:13px; }
2304
+ .integration-stage-detail { padding:0 20px 20px 60px; }
2305
+ .integration-stage-detail > p { max-width:80ch; }
2306
+ .integration-stage-evidence { display:flex; flex-wrap:wrap; align-items:center; gap:10px; margin:16px 0; font-size:13px; color:#526258; }
2307
+ .integration-stage-evidence strong { font-size:12px; color:#254e3b; }
2308
+ @media(max-width:700px) { .integration-setup { padding:16px; } .integration-setup .surface-head { flex-direction:column; align-items:flex-start; } .integration-stage-toggle { padding:12px; gap:10px; } .integration-stage-detail { padding:0 14px 16px; } }