@jaimevalasek/aioson 1.30.1 → 1.30.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (90) hide show
  1. package/CHANGELOG.md +9 -0
  2. package/docs/design-previews/cognitive-core-ui-auth.html +95 -0
  3. package/docs/design-previews/cognitive-core-ui-kanban.html +231 -0
  4. package/docs/design-previews/cognitive-core-ui-list-detail.html +174 -0
  5. package/docs/design-previews/cognitive-core-ui-preview.css +1315 -0
  6. package/docs/design-previews/cognitive-core-ui-settings.html +142 -0
  7. package/docs/design-previews/cognitive-core-ui-website.html +190 -1009
  8. package/docs/design-previews/cognitive-core-ui.html +281 -463
  9. package/docs/design-previews/index.html +83 -31
  10. package/package.json +1 -1
  11. package/src/constants.js +567 -511
  12. package/template/.aioson/docs/play/README.md +2 -0
  13. package/template/.aioson/docs/play/agent-usage-guide.md +7 -1
  14. package/template/.aioson/docs/play/app-compatibility-guide.md +6 -1
  15. package/template/.aioson/docs/play/auth-services-and-testing.md +16 -1
  16. package/template/.aioson/docs/play/manifest-and-runtime.md +23 -0
  17. package/template/.aioson/skills/design/aurora-command-ui/SKILL.md +266 -243
  18. package/template/.aioson/skills/design/aurora-command-ui/references/art-direction.md +293 -293
  19. package/template/.aioson/skills/design/aurora-command-ui/references/components.md +827 -827
  20. package/template/.aioson/skills/design/aurora-command-ui/references/dashboards.md +250 -250
  21. package/template/.aioson/skills/design/aurora-command-ui/references/design-tokens.md +585 -585
  22. package/template/.aioson/skills/design/aurora-command-ui/references/motion.md +365 -365
  23. package/template/.aioson/skills/design/aurora-command-ui/references/patterns.md +485 -482
  24. package/template/.aioson/skills/design/aurora-command-ui/references/websites.md +386 -387
  25. package/template/.aioson/skills/design/bold-editorial-ui/SKILL.md +228 -205
  26. package/template/.aioson/skills/design/bold-editorial-ui/references/art-direction.md +338 -338
  27. package/template/.aioson/skills/design/bold-editorial-ui/references/components.md +977 -977
  28. package/template/.aioson/skills/design/bold-editorial-ui/references/dashboards.md +218 -218
  29. package/template/.aioson/skills/design/bold-editorial-ui/references/design-tokens.md +326 -326
  30. package/template/.aioson/skills/design/bold-editorial-ui/references/motion.md +461 -461
  31. package/template/.aioson/skills/design/bold-editorial-ui/references/patterns.md +293 -293
  32. package/template/.aioson/skills/design/bold-editorial-ui/references/websites.md +352 -352
  33. package/template/.aioson/skills/design/clean-saas-ui/SKILL.md +233 -210
  34. package/template/.aioson/skills/design/clean-saas-ui/references/art-direction.md +319 -319
  35. package/template/.aioson/skills/design/clean-saas-ui/references/components.md +365 -365
  36. package/template/.aioson/skills/design/clean-saas-ui/references/dashboards.md +196 -196
  37. package/template/.aioson/skills/design/clean-saas-ui/references/design-tokens.md +244 -244
  38. package/template/.aioson/skills/design/clean-saas-ui/references/motion.md +235 -235
  39. package/template/.aioson/skills/design/clean-saas-ui/references/patterns.md +215 -215
  40. package/template/.aioson/skills/design/clean-saas-ui/references/websites.md +295 -295
  41. package/template/.aioson/skills/design/cognitive-core-ui/SKILL.md +239 -203
  42. package/template/.aioson/skills/design/cognitive-core-ui/references/art-direction.md +339 -339
  43. package/template/.aioson/skills/design/cognitive-core-ui/references/components.md +417 -407
  44. package/template/.aioson/skills/design/cognitive-core-ui/references/dashboards.md +289 -272
  45. package/template/.aioson/skills/design/cognitive-core-ui/references/design-tokens.md +525 -524
  46. package/template/.aioson/skills/design/cognitive-core-ui/references/motion.md +279 -279
  47. package/template/.aioson/skills/design/cognitive-core-ui/references/patterns.md +355 -289
  48. package/template/.aioson/skills/design/cognitive-core-ui/references/websites.md +443 -437
  49. package/template/.aioson/skills/design/glassmorphism-ui/SKILL.md +245 -222
  50. package/template/.aioson/skills/design/glassmorphism-ui/references/art-direction.md +159 -159
  51. package/template/.aioson/skills/design/glassmorphism-ui/references/components.md +498 -498
  52. package/template/.aioson/skills/design/glassmorphism-ui/references/dashboards.md +236 -236
  53. package/template/.aioson/skills/design/glassmorphism-ui/references/design-tokens.md +274 -274
  54. package/template/.aioson/skills/design/glassmorphism-ui/references/motion.md +355 -355
  55. package/template/.aioson/skills/design/glassmorphism-ui/references/patterns.md +198 -198
  56. package/template/.aioson/skills/design/glassmorphism-ui/references/websites.md +307 -307
  57. package/template/.aioson/skills/design/interface-design/SKILL.md +68 -47
  58. package/template/.aioson/skills/design/interface-design/references/components-and-states.md +105 -105
  59. package/template/.aioson/skills/design/interface-design/references/design-directions.md +101 -101
  60. package/template/.aioson/skills/design/interface-design/references/handoff-and-quality.md +92 -71
  61. package/template/.aioson/skills/design/interface-design/references/intent-and-domain.md +74 -74
  62. package/template/.aioson/skills/design/interface-design/references/tokens-and-depth.md +173 -173
  63. package/template/.aioson/skills/design/neo-brutalist-ui/SKILL.md +236 -213
  64. package/template/.aioson/skills/design/neo-brutalist-ui/references/art-direction.md +228 -228
  65. package/template/.aioson/skills/design/neo-brutalist-ui/references/components.md +855 -855
  66. package/template/.aioson/skills/design/neo-brutalist-ui/references/dashboards.md +334 -334
  67. package/template/.aioson/skills/design/neo-brutalist-ui/references/design-tokens.md +342 -342
  68. package/template/.aioson/skills/design/neo-brutalist-ui/references/motion.md +286 -286
  69. package/template/.aioson/skills/design/neo-brutalist-ui/references/patterns.md +458 -458
  70. package/template/.aioson/skills/design/neo-brutalist-ui/references/websites.md +723 -723
  71. package/template/.aioson/skills/design/premium-command-center-ui/SKILL.md +83 -62
  72. package/template/.aioson/skills/design/premium-command-center-ui/references/operations.md +74 -74
  73. package/template/.aioson/skills/design/premium-command-center-ui/references/patterns.md +116 -116
  74. package/template/.aioson/skills/design/premium-command-center-ui/references/validation.md +47 -47
  75. package/template/.aioson/skills/design/premium-command-center-ui/references/visual-system.md +215 -215
  76. package/template/.aioson/skills/design/pt.squarespace.com/.skill-meta.json +31 -31
  77. package/template/.aioson/skills/design/pt.squarespace.com/SKILL.md +94 -66
  78. package/template/.aioson/skills/design/pt.squarespace.com/references/components.md +366 -366
  79. package/template/.aioson/skills/design/pt.squarespace.com/references/design-tokens.md +150 -150
  80. package/template/.aioson/skills/design/pt.squarespace.com/references/motion.md +270 -270
  81. package/template/.aioson/skills/design/pt.squarespace.com/references/patterns.md +189 -189
  82. package/template/.aioson/skills/design/pt.squarespace.com/references/websites.md +161 -161
  83. package/template/.aioson/skills/design/warm-craft-ui/SKILL.md +232 -209
  84. package/template/.aioson/skills/design/warm-craft-ui/references/art-direction.md +324 -324
  85. package/template/.aioson/skills/design/warm-craft-ui/references/components.md +508 -508
  86. package/template/.aioson/skills/design/warm-craft-ui/references/dashboards.md +223 -223
  87. package/template/.aioson/skills/design/warm-craft-ui/references/design-tokens.md +374 -374
  88. package/template/.aioson/skills/design/warm-craft-ui/references/motion.md +356 -356
  89. package/template/.aioson/skills/design/warm-craft-ui/references/patterns.md +288 -288
  90. package/template/.aioson/skills/design/warm-craft-ui/references/websites.md +289 -289
@@ -1,272 +1,289 @@
1
- # Dashboard Presets — Cognitive Core UI
2
-
3
- Read after `design-tokens.md`, `components.md`, and `patterns.md`.
4
-
5
- These presets help choose a fitting operational composition instead of defaulting to random card grids.
6
-
7
- ---
8
-
9
- ## How to choose
10
-
11
- 1. Start from the product's **main operational pressure**, not from a visual trope.
12
- 2. Pick **one dominant preset** per screen.
13
- 3. Mix small traits from another preset only when the primary composition is already clear.
14
- 4. Choose one opening composition from the library below before placing a stat row.
15
-
16
- ---
17
-
18
- ## Opening Composition Library
19
-
20
- Do not let every dashboard begin with `4 KPI cards + tabs + equal grid`.
21
-
22
- Choose one primary opening move:
23
-
24
- ### 1. Dominant Hero Surface
25
-
26
- Use when:
27
- - the screen has one main operational story
28
- - users need a fast read on what matters most
29
-
30
- Composition:
31
- - one large hero analysis panel
32
- - 2-3 supporting metrics beside or below
33
- - secondary cards deferred downward
34
-
35
- Best for:
36
- - control centers
37
- - analytics
38
- - AI orchestration
39
-
40
- ### 2. Alert and Queue First
41
-
42
- Use when:
43
- - urgency beats summary
44
- - users act from exceptions, incidents, or pending work
45
-
46
- Composition:
47
- - alert cluster or priority queue above the fold
48
- - supporting health metrics nearby
49
- - context rail for recent events
50
-
51
- Best for:
52
- - ops
53
- - support
54
- - logistics
55
- - monitoring
56
-
57
- ### 3. Trend First
58
-
59
- Use when:
60
- - change over time matters more than static totals
61
- - the main question is movement, not snapshot
62
-
63
- Composition:
64
- - chart or trend ribbon as the hero
65
- - compact stat strip
66
- - ranked list or narrative summary below
67
-
68
- Best for:
69
- - revenue
70
- - analytics
71
- - performance
72
-
73
- ### 4. Profile or Entity First
74
-
75
- Use when:
76
- - one active entity anchors the workflow
77
- - the user is working inside a person, account, project, or agent
78
-
79
- Composition:
80
- - profile header or entity summary surface
81
- - focused stat cards
82
- - detail tabs and contextual rails
83
-
84
- Best for:
85
- - CRM
86
- - account management
87
- - AI agent panels
88
-
89
- ### 5. Workspace First
90
-
91
- Use when:
92
- - the dashboard is really a working surface, not just a summary
93
- - users spend time editing, reviewing, or operating from this page
94
-
95
- Composition:
96
- - tool surface or main work pane dominates
97
- - navigation and status become secondary chrome
98
- - metrics move to support rails
99
-
100
- Best for:
101
- - admin tools
102
- - builder UIs
103
- - review flows
104
-
105
- ---
106
-
107
- ## Anti-Template Rules
108
-
109
- - Never open every dashboard with four equal stat cards unless the product truly lives and dies by four equal KPIs.
110
- - Never let the stat row be the most memorable part of the page.
111
- - If the layout could be mistaken for a generic admin starter after removing the colors, redesign the composition.
112
- - One strong focal block beats six medium-interest cards.
113
- - Use `references/art-direction.md` to choose a signature move before styling panels.
114
-
115
- ---
116
-
117
- ## Preset 1: Inventory Operations Board
118
-
119
- **Best for:** stock control, inventory movement, replenishment monitoring, product catalog operations, supply dashboards.
120
-
121
- **Default theme:** Dark.
122
-
123
- **Layout composition:**
124
- ```
125
- TOP BAR: Logo + product name + compact status badge + account/actions
126
- STATS ROW: 3-4 high-signal cards only
127
- SUBNAV: Dashboard | Products | Movements (or equivalent)
128
- MAIN GRID:
129
- LEFT RAIL (220-260px): monitoring blocks, quick filters, credential/mode card
130
- CENTER (flex: 1): stock radar / urgent items / operational summary
131
- RIGHT RAIL (320-380px): recent movements / alerts / short activity feed
132
- ```
133
-
134
- **Why it works:**
135
- - One central operational story above the fold
136
- - Urgent items visible without a product-wall overload
137
- - Movement history stays contextual, not dominant
138
- - Left rail gives monitoring without stealing the main stage
139
-
140
- **Rules:**
141
- - Do not render the full product catalog above the fold. Show 2–4 urgent cards in the central radar.
142
- - Use color semantics sparingly: green = stable, amber = low, red = zero/critical.
143
- - Prefer operational labels: `Baixo estoque`, `Zerados`, `Saude do estoque`, `Movimentacao recente`.
144
- - Keep the focal block calm. Do not turn it into a second dashboard shell inside the dashboard.
145
- - For tables: treat each row as an intentional operational lane — aligned numbers, consistent padding, enough breathing room around status chips.
146
-
147
- ---
148
-
149
- ## Preset 2: Premium Control Center
150
-
151
- **Best for:** AI systems, orchestration panels, intelligence products, multi-module operational platforms, command centers.
152
-
153
- **Default theme:** Dark.
154
-
155
- **Layout composition:**
156
- ```
157
- TOP BAR: Logo + system subtitle + nav + status badge
158
- STATS ROW: 4 stat cards
159
- SECONDARY NAV: domain tabs
160
- MAIN GRID:
161
- PRIMARY PANEL: single large analysis/control surface
162
- SUPPORT PANEL: mode/status block
163
- LOWER PANELS: grouped operational cards or capabilities
164
- ```
165
-
166
- **Guardrail:**
167
- - Use only when the product genuinely needs command-center semantics.
168
- - DNA panels, mode panels, and labeled capability cards are optional, not default.
169
- - Do not use for inventory just because the product is dark and premium.
170
-
171
- ---
172
-
173
- ## Preset 3: Admin Analytics
174
-
175
- **Best for:** analytics, SaaS admin, revenue tracking, performance reporting dashboards.
176
-
177
- **Default theme:** Dark or Light.
178
-
179
- **Layout composition:**
180
- ```
181
- TOP BAR
182
- STATS ROW
183
- FILTER / DATE BAR
184
- MAIN:
185
- Chart panel (full width or 2/3)
186
- Ranked list or summary panel (1/3)
187
- Table or report panel (full width below)
188
- ```
189
-
190
- **Guardrail:**
191
- - Let charts and tables do the work.
192
- - Do not overload with decorative status cards.
193
-
194
- ---
195
-
196
- ## Preset 4: Ops Cockpit
197
-
198
- **Best for:** system monitoring, logistics control, incident response, infra operations, real-time dashboards.
199
-
200
- **Default theme:** Dark.
201
-
202
- **Layout composition:**
203
- ```
204
- TOP BAR
205
- STATUS ROW (alert counts + system health)
206
- MAIN GRID:
207
- Alert feed (primary, left/center)
208
- System status cluster (grouped service cards)
209
- Quick stats / context rail (right)
210
- ```
211
-
212
- **Guardrail:**
213
- - Alerts must be scannable first. Status color must carry meaning, not atmosphere.
214
-
215
- ---
216
-
217
- ## Preset 5: CRM / Contact Manager
218
-
219
- **Best for:** CRM, support tools, people directories, account management, talent pipelines.
220
-
221
- **Default theme:** Light or Dark.
222
-
223
- **Layout composition:**
224
- ```
225
- TOP BAR
226
- TAB BAR (with filter badges)
227
- LIST-DETAIL SPLIT:
228
- Entity list (340px, scrollable)
229
- Active profile/detail view (flex: 1)
230
- → Profile Header (compact) + Stat Cards + Tab sub-nav + Content
231
- ```
232
-
233
- ---
234
-
235
- ## Operational Table Guardrails
236
-
237
- Dashboards often have tables. This is where otherwise-good boards lose quality.
238
-
239
- ### Goals
240
- - Rows scannable in under 1 second
241
- - Same premium density as the rest of the board
242
- - Avoid the feeling of "spreadsheet leftovers pasted into a polished shell"
243
-
244
- ### Rules
245
- 1. Use `font-variant-numeric: tabular-nums` for quantities, prices, thresholds, and derived values.
246
- 2. Keep status, quantity, and actions visually separated — they should not collapse into one dense block.
247
- 3. Status chips must sit comfortably inside row rhythm. If they crowd neighboring columns, widen the lane.
248
- 4. Action buttons in tables should read as a grouped control cluster, not as independent floating pills.
249
- 5. Row hover must feel like a surface state, not a hard painted rectangle.
250
- 6. `border-collapse: separate` + `td` surfaces = premium. `border-collapse: collapse` + `tr` backgrounds = amateur.
251
-
252
- ### Failure signs
253
- - Serif fallback inside the table only → font scope bug in `td`
254
- - Row hover painting a hard rectangle wrong collapse mode or `tr` background
255
- - Status chips squeezed → widen the column or reduce chip padding
256
- - Numbers misaligned → missing `font-variant-numeric: tabular-nums`
257
- - Page opens with a large hero-like block → reduce stat row height, tighten typography
258
- - Cards feel puffy and over-padded reduce `padding`, `border-radius`, and grid gap
259
- - Layout reads like a polished demo instead of an operational surface density is part of the identity
260
-
261
- ---
262
-
263
- ## Inventory Mapping Guide
264
-
265
- | Inventory concept | UI treatment |
266
- |---|---|
267
- | Low stock | Urgent card in stock radar |
268
- | Zero stock | Critical card in stock radar (semantic-red) |
269
- | Recent entry/exit | Right-rail activity list |
270
- | Valuation / total items | Top stat row |
271
- | Category / supplier monitoring | Left rail blocks or filters |
272
- | Replenishment threshold | Progress bar + limit helper |
1
+ # Dashboard Presets — Cognitive Core UI
2
+
3
+ Read after `design-tokens.md`, `components.md`, and `patterns.md`.
4
+
5
+ These presets help choose a fitting operational composition instead of defaulting to random card grids.
6
+
7
+ ---
8
+
9
+ ## How to choose
10
+
11
+ 1. Start from the product's **main operational pressure**, not from a visual trope.
12
+ 2. Pick **one dominant preset** per screen.
13
+ 3. Mix small traits from another preset only when the primary composition is already clear.
14
+ 4. Choose one opening composition from the library below before placing a stat row.
15
+
16
+ ## Layout implementation rules
17
+
18
+ Use these rules for every dashboard preset:
19
+
20
+ - Implement the shell as CSS grid with named regions when possible. Minimum: `topbar`, `status`, `main`, and optional `sidebar` / `rail`.
21
+ - Main dashboard regions must use `minmax(0, 1fr)` and every scrollable panel must have `min-width: 0; min-height: 0`.
22
+ - Rails are constraints, not fixed layout promises: use `minmax(220px, 260px)` or `minmax(280px, 360px)` inside a grid, then collapse them below tablet width.
23
+ - Stat cards use `repeat(auto-fit, minmax(min(100%, 160px), 1fr))`.
24
+ - Long tables, feeds, paths, IDs, and names must have an explicit overflow strategy before styling begins.
25
+ - Above the fold, one surface owns attention. Supporting rails must not visually compete with it.
26
+
27
+ ---
28
+
29
+ ## Opening Composition Library
30
+
31
+ Do not let every dashboard begin with `4 KPI cards + tabs + equal grid`.
32
+
33
+ Choose one primary opening move:
34
+
35
+ ### 1. Dominant Hero Surface
36
+
37
+ Use when:
38
+ - the screen has one main operational story
39
+ - users need a fast read on what matters most
40
+
41
+ Composition:
42
+ - one large hero analysis panel
43
+ - 2-3 supporting metrics beside or below
44
+ - secondary cards deferred downward
45
+
46
+ Best for:
47
+ - control centers
48
+ - analytics
49
+ - AI orchestration
50
+
51
+ ### 2. Alert and Queue First
52
+
53
+ Use when:
54
+ - urgency beats summary
55
+ - users act from exceptions, incidents, or pending work
56
+
57
+ Composition:
58
+ - alert cluster or priority queue above the fold
59
+ - supporting health metrics nearby
60
+ - context rail for recent events
61
+
62
+ Best for:
63
+ - ops
64
+ - support
65
+ - logistics
66
+ - monitoring
67
+
68
+ ### 3. Trend First
69
+
70
+ Use when:
71
+ - change over time matters more than static totals
72
+ - the main question is movement, not snapshot
73
+
74
+ Composition:
75
+ - chart or trend ribbon as the hero
76
+ - compact stat strip
77
+ - ranked list or narrative summary below
78
+
79
+ Best for:
80
+ - revenue
81
+ - analytics
82
+ - performance
83
+
84
+ ### 4. Profile or Entity First
85
+
86
+ Use when:
87
+ - one active entity anchors the workflow
88
+ - the user is working inside a person, account, project, or agent
89
+
90
+ Composition:
91
+ - profile header or entity summary surface
92
+ - focused stat cards
93
+ - detail tabs and contextual rails
94
+
95
+ Best for:
96
+ - CRM
97
+ - account management
98
+ - AI agent panels
99
+
100
+ ### 5. Workspace First
101
+
102
+ Use when:
103
+ - the dashboard is really a working surface, not just a summary
104
+ - users spend time editing, reviewing, or operating from this page
105
+
106
+ Composition:
107
+ - tool surface or main work pane dominates
108
+ - navigation and status become secondary chrome
109
+ - metrics move to support rails
110
+
111
+ Best for:
112
+ - admin tools
113
+ - builder UIs
114
+ - review flows
115
+
116
+ ---
117
+
118
+ ## Anti-Template Rules
119
+
120
+ - Never open every dashboard with four equal stat cards unless the product truly lives and dies by four equal KPIs.
121
+ - Never let the stat row be the most memorable part of the page.
122
+ - If the layout could be mistaken for a generic admin starter after removing the colors, redesign the composition.
123
+ - One strong focal block beats six medium-interest cards.
124
+ - Use `references/art-direction.md` to choose a signature move before styling panels.
125
+
126
+ ---
127
+
128
+ ## Preset 1: Inventory Operations Board
129
+
130
+ **Best for:** stock control, inventory movement, replenishment monitoring, product catalog operations, supply dashboards.
131
+
132
+ **Default theme:** Dark.
133
+
134
+ **Layout composition:**
135
+ ```
136
+ TOP BAR: Logo + product name + compact status badge + account/actions
137
+ STATS ROW: 3-4 high-signal cards only
138
+ SUBNAV: Dashboard | Products | Movements (or equivalent)
139
+ MAIN GRID:
140
+ LEFT RAIL (minmax(220px, 260px)): monitoring blocks, quick filters, credential/mode section
141
+ CENTER (minmax(0, 1fr)): stock radar / urgent items / operational summary
142
+ RIGHT RAIL (minmax(280px, 360px)): recent movements / alerts / short activity feed
143
+ ```
144
+
145
+ **Why it works:**
146
+ - One central operational story above the fold
147
+ - Urgent items visible without a product-wall overload
148
+ - Movement history stays contextual, not dominant
149
+ - Left rail gives monitoring without stealing the main stage
150
+
151
+ **Rules:**
152
+ - Do not render the full product catalog above the fold. Show 2–4 urgent cards in the central radar.
153
+ - Use color semantics sparingly: green = stable, amber = low, red = zero/critical.
154
+ - Prefer operational labels: `Baixo estoque`, `Zerados`, `Saude do estoque`, `Movimentacao recente`.
155
+ - Keep the focal block calm. Do not turn it into a second dashboard shell inside the dashboard.
156
+ - For tables: treat each row as an intentional operational lane — aligned numbers, consistent padding, enough breathing room around status chips.
157
+ - Implementation default: `grid-template-columns: minmax(220px, 260px) minmax(0, 1fr) minmax(280px, 360px)`. Below 1100px, move the right rail below the center. Below 760px, collapse both rails into tabs/drawers.
158
+
159
+ ---
160
+
161
+ ## Preset 2: Premium Control Center
162
+
163
+ **Best for:** AI systems, orchestration panels, intelligence products, multi-module operational platforms, command centers.
164
+
165
+ **Default theme:** Dark.
166
+
167
+ **Layout composition:**
168
+ ```
169
+ TOP BAR: Logo + system subtitle + nav + status badge
170
+ STATS ROW: 4 stat cards
171
+ SECONDARY NAV: domain tabs
172
+ MAIN GRID:
173
+ PRIMARY PANEL: single large analysis/control surface
174
+ SUPPORT PANEL: mode/status block
175
+ LOWER PANELS: grouped operational cards or capabilities
176
+ ```
177
+
178
+ **Guardrail:**
179
+ - Use only when the product genuinely needs command-center semantics.
180
+ - DNA panels, mode panels, and labeled capability cards are optional, not default.
181
+ - Do not use for inventory just because the product is dark and premium.
182
+ - Implementation default: `grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.8fr)` for the primary/support row, with lower panels in `auto-fit` grids.
183
+
184
+ ---
185
+
186
+ ## Preset 3: Admin Analytics
187
+
188
+ **Best for:** analytics, SaaS admin, revenue tracking, performance reporting dashboards.
189
+
190
+ **Default theme:** Dark or Light.
191
+
192
+ **Layout composition:**
193
+ ```
194
+ TOP BAR
195
+ STATS ROW
196
+ FILTER / DATE BAR
197
+ MAIN:
198
+ Chart panel (full width or 2/3)
199
+ Ranked list or summary panel (1/3)
200
+ Table or report panel (full width below)
201
+ ```
202
+
203
+ **Guardrail:**
204
+ - Let charts and tables do the work.
205
+ - Do not overload with decorative status cards.
206
+ - Implementation default: chart and ranked list use `grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr)`, then collapse to one column below 900px.
207
+
208
+ ---
209
+
210
+ ## Preset 4: Ops Cockpit
211
+
212
+ **Best for:** system monitoring, logistics control, incident response, infra operations, real-time dashboards.
213
+
214
+ **Default theme:** Dark.
215
+
216
+ **Layout composition:**
217
+ ```
218
+ TOP BAR
219
+ STATUS ROW (alert counts + system health)
220
+ MAIN GRID:
221
+ Alert feed (primary, left/center)
222
+ System status cluster (grouped service cards)
223
+ Quick stats / context rail (right)
224
+ ```
225
+
226
+ **Guardrail:**
227
+ - Alerts must be scannable first. Status color must carry meaning, not atmosphere.
228
+ - Implementation default: alert feed gets `minmax(0, 1fr)` and the context rail gets `minmax(260px, 320px)`. Never let the rail set the page width.
229
+
230
+ ---
231
+
232
+ ## Preset 5: CRM / Contact Manager
233
+
234
+ **Best for:** CRM, support tools, people directories, account management, talent pipelines.
235
+
236
+ **Default theme:** Light or Dark.
237
+
238
+ **Layout composition:**
239
+ ```
240
+ TOP BAR
241
+ TAB BAR (with filter badges)
242
+ LIST-DETAIL SPLIT:
243
+ Entity list (minmax(280px, 340px), scrollable)
244
+ Active profile/detail view (minmax(0, 1fr))
245
+ Profile Header (compact) + Stat Cards + Tab sub-nav + Content
246
+ ```
247
+
248
+ Below 760px, the entity list becomes a capped-height selection panel above the detail view or a drawer. Do not stack a full infinite list above the detail page.
249
+
250
+ ---
251
+
252
+ ## Operational Table Guardrails
253
+
254
+ Dashboards often have tables. This is where otherwise-good boards lose quality.
255
+
256
+ ### Goals
257
+ - Rows scannable in under 1 second
258
+ - Same premium density as the rest of the board
259
+ - Avoid the feeling of "spreadsheet leftovers pasted into a polished shell"
260
+
261
+ ### Rules
262
+ 1. Use `font-variant-numeric: tabular-nums` for quantities, prices, thresholds, and derived values.
263
+ 2. Keep status, quantity, and actions visually separated — they should not collapse into one dense block.
264
+ 3. Status chips must sit comfortably inside row rhythm. If they crowd neighboring columns, widen the lane.
265
+ 4. Action buttons in tables should read as a grouped control cluster, not as independent floating pills.
266
+ 5. Row hover must feel like a surface state, not a hard painted rectangle.
267
+ 6. `border-collapse: separate` + `td` surfaces = premium. `border-collapse: collapse` + `tr` backgrounds = amateur.
268
+
269
+ ### Failure signs
270
+ - Serif fallback inside the table only font scope bug in `td`
271
+ - Row hover painting a hard rectangle wrong collapse mode or `tr` background
272
+ - Status chips squeezed widen the column or reduce chip padding
273
+ - Numbers misaligned → missing `font-variant-numeric: tabular-nums`
274
+ - Page opens with a large hero-like block → reduce stat row height, tighten typography
275
+ - Cards feel puffy and over-padded → reduce `padding`, `border-radius`, and grid gap
276
+ - Layout reads like a polished demo instead of an operational surface → density is part of the identity
277
+
278
+ ---
279
+
280
+ ## Inventory Mapping Guide
281
+
282
+ | Inventory concept | UI treatment |
283
+ |---|---|
284
+ | Low stock | Urgent card in stock radar |
285
+ | Zero stock | Critical card in stock radar (semantic-red) |
286
+ | Recent entry/exit | Right-rail activity list |
287
+ | Valuation / total items | Top stat row |
288
+ | Category / supplier monitoring | Left rail blocks or filters |
289
+ | Replenishment threshold | Progress bar + limit helper |