@crisp-ui-kit/crisp 0.7.3 → 0.7.5

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 (52) hide show
  1. package/dist/cjs/components/avatar/avatar.recipe.js +0 -7
  2. package/dist/cjs/components/badge/badge.recipe.js +0 -8
  3. package/dist/cjs/components/button/button.recipe.js +0 -10
  4. package/dist/cjs/components/checkbox/checkbox.recipe.js +0 -6
  5. package/dist/cjs/components/datatable/datatable.js +28 -7
  6. package/dist/cjs/components/input/input.recipe.js +0 -1
  7. package/dist/cjs/components/kbd/kbd.recipe.js +0 -7
  8. package/dist/cjs/components/switch/switch.recipe.js +0 -1
  9. package/dist/cjs/components/wheelpicker/wheelpicker.recipe.js +0 -1
  10. package/dist/cjs/product/appshell/appshell.recipe.js +0 -1
  11. package/dist/cjs/product/command/command.recipe.js +0 -6
  12. package/dist/cjs/product/navitem/navitem.recipe.js +0 -8
  13. package/dist/cjs/product/recordpanel/recordpanel.recipe.js +0 -1
  14. package/dist/cjs/product/recordstable/recordstable.recipe.js +12 -8
  15. package/dist/cjs/product/sidebar/sidebar.recipe.js +0 -5
  16. package/dist/esm/components/avatar/avatar.recipe.js +0 -7
  17. package/dist/esm/components/badge/badge.recipe.js +0 -8
  18. package/dist/esm/components/button/button.recipe.js +0 -10
  19. package/dist/esm/components/checkbox/checkbox.recipe.js +0 -6
  20. package/dist/esm/components/datatable/datatable.js +28 -7
  21. package/dist/esm/components/input/input.recipe.js +0 -1
  22. package/dist/esm/components/kbd/kbd.recipe.js +0 -7
  23. package/dist/esm/components/switch/switch.recipe.js +0 -1
  24. package/dist/esm/components/wheelpicker/wheelpicker.recipe.js +0 -1
  25. package/dist/esm/product/appshell/appshell.recipe.js +0 -1
  26. package/dist/esm/product/command/command.recipe.js +0 -6
  27. package/dist/esm/product/navitem/navitem.recipe.js +0 -8
  28. package/dist/esm/product/recordpanel/recordpanel.recipe.js +0 -1
  29. package/dist/esm/product/recordstable/recordstable.recipe.js +12 -8
  30. package/dist/esm/product/sidebar/sidebar.recipe.js +0 -5
  31. package/dist/recordstable.css +12 -2
  32. package/dist/styles.css +1639 -1629
  33. package/dist/types/components/avatar/avatar.d.ts +0 -7
  34. package/dist/types/components/avatar/avatar.recipe.d.ts +0 -7
  35. package/dist/types/components/badge/badge.d.ts +0 -8
  36. package/dist/types/components/badge/badge.recipe.d.ts +0 -8
  37. package/dist/types/components/button/button.d.ts +0 -10
  38. package/dist/types/components/button/button.recipe.d.ts +0 -10
  39. package/dist/types/components/checkbox/checkbox.recipe.d.ts +0 -6
  40. package/dist/types/components/datatable/datatable.d.ts +3 -1
  41. package/dist/types/components/input/input.d.ts +0 -7
  42. package/dist/types/components/input/input.recipe.d.ts +0 -7
  43. package/dist/types/components/kbd/kbd.recipe.d.ts +0 -7
  44. package/dist/types/components/switch/switch.recipe.d.ts +0 -9
  45. package/dist/types/components/wheelpicker/wheelpicker.recipe.d.ts +0 -6
  46. package/dist/types/product/appshell/appshell.recipe.d.ts +0 -5
  47. package/dist/types/product/command/command.recipe.d.ts +0 -6
  48. package/dist/types/product/navitem/navitem.recipe.d.ts +0 -8
  49. package/dist/types/product/recordpanel/recordpanel.recipe.d.ts +0 -5
  50. package/dist/types/product/recordstable/recordstable.recipe.d.ts +0 -6
  51. package/dist/types/product/sidebar/sidebar.recipe.d.ts +0 -5
  52. package/package.json +12 -1
package/dist/styles.css CHANGED
@@ -122,206 +122,28 @@
122
122
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
123
123
  }
124
124
 
125
- @keyframes crisp-skeleton { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }
126
- .skeleton {
127
- display: block; background: color-mix(in srgb, var(--fg-primary) 8%, transparent); border-radius: var(--radius-md); animation: crisp-skeleton 1.4s ease-in-out infinite;
128
- &[data-circle] { border-radius: var(--radius-full); }
129
- }
130
-
131
- @media (prefers-reduced-motion: reduce) {
132
- .skeleton, .skeleton * {
133
- animation-duration: 0.01ms !important;
134
- animation-iteration-count: 1 !important;
135
- transition-duration: 0.01ms !important;
136
- }
137
- }
138
-
139
- .datepickerfield {
140
-
141
- display: inline-flex; font-family: var(--font-sans);
142
-
143
- & .datepickerfield-trigger {
144
- display: inline-flex; align-items: center; gap: var(--space-2);
145
- box-sizing: border-box; height: 32px; padding: 0 var(--space-2-5); margin: 0;
146
- border: none; border-radius: var(--radius-md); background: transparent;
147
- box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--fg-primary) 7%, transparent);
148
- color: var(--fg-primary); font-family: inherit; font-size: var(--text-lg);
149
- white-space: nowrap; cursor: pointer;
150
- }
151
- & .datepickerfield-trigger[data-ghost] { background: transparent; box-shadow: none; }
152
- & .datepickerfield-trigger[data-ghost]:hover { background: color-mix(in srgb, var(--fg-primary) 4%, transparent); }
153
- & .datepickerfield-trigger[data-placeholder] { color: var(--fg-muted); }
154
- & .datepickerfield-trigger svg { flex-shrink: 0; color: var(--fg-muted); }
155
-
156
- & .datepickerfield-panel { padding: var(--space-2); width: 300px; }
157
- & .datepickerfield-presets { display: flex; flex-wrap: wrap; gap: var(--space-1); margin-top: var(--space-2); }
158
- & .datepickerfield-preset {
159
- height: var(--size-chip); padding: 0 var(--space-2); border: none;
160
- border-radius: var(--radius-chip); background: var(--bg-raised); color: var(--fg-primary);
161
- font-family: inherit; font-size: var(--text-sm); cursor: pointer;
162
- }
163
- & .datepickerfield-preset:hover { background: color-mix(in srgb, var(--fg-primary) 8%, transparent); }
164
-
165
- }
166
-
167
- .checkbox {
168
- appearance: none; -webkit-appearance: none; box-sizing: border-box; flex-shrink: 0; margin: 0; width: 16px; height: 16px; border: none; border-radius: var(--radius-sm)
169
- ; background: var(--bg-surface)
170
- ; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--fg-primary)
171
- 9%, transparent); cursor: pointer; transition: background-color .12s, box-shadow .12s; &:hover { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--fg-primary) 30%, transparent); }
172
- &:checked, &:indeterminate { background: var(--bg-brand-solid) center / 10px no-repeat; box-shadow: none; }
173
- &:checked { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 12 12' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 6.5 5 9l4.5-5'/%3E%3C/svg%3E"); }
174
- &:indeterminate { background-image: linear-gradient(var(--fg-on-brand), var(--fg-on-brand)); background-size: 8px 2px; }
175
- &:focus-visible { outline: 2px solid var(--bg-brand-solid); outline-offset: 1px; }
176
-
177
- }
178
-
179
- @media (prefers-reduced-motion: reduce) {
180
- .checkbox, .checkbox * {
181
- animation-duration: 0.01ms !important;
182
- animation-iteration-count: 1 !important;
183
- transition-duration: 0.01ms !important;
184
- }
185
- }
186
-
187
- .datatable {
188
- display: flex; flex-direction: column; gap: var(--space-2-5); font-family: var(--font-sans);
189
- & .datatable-toolbar { display: flex; align-items: center; gap: var(--space-2); }
190
- & .datatable-search { position: relative; flex: 1; max-width: 280px; display: inline-flex; align-items: center; }
191
- & .datatable-search svg { position: absolute; inset-inline-start: var(--space-2); color: var(--fg-muted); pointer-events: none; }
192
- & .datatable-search input { width: 100%; height: 32px; padding: 0 var(--space-2) 0 var(--space-6); border: none; border-radius: var(--radius-md); background: var(--bg-surface); box-shadow: inset 0 0 0 1px var(--ring-neutral), 0 0 2px rgba(28,40,64,0.18), 0 1px 3px rgba(0,0,0,0.04); font-family: inherit; font-size: var(--text-lg); color: var(--fg-primary); outline: none; transition: box-shadow .15s; }
193
- & .datatable-search input::placeholder { color: var(--fg-muted); }
194
- & .datatable-search input:focus { box-shadow: inset 0 0 0 1px var(--bg-brand-solid); }
195
- & .datatable-count { margin-inline-start: auto; font-size: var(--text-md); color: var(--fg-muted); }
196
- /* Attio's header cell has no padding of its own -- the button owns the
197
- full cell so the whole header is clickable (its own inset is 12px).
198
- Mirrors the summary-row fix. */
199
- & th { padding: 0; }
200
- /* Same wrapper trap as AUTHORING.md Lesson 40 (ColumnCalc's summary trigger):
201
- Menu wraps its trigger in a flex div that sizes to its content, so a
202
- long header grew past the column instead of filling it -- with nothing
203
- left to squeeze, the label's own ellipsis CSS (below) had no properly
204
- -sized box to truncate against, and the th's own overflow hard-clipped
205
- it with no "...". Fill the wrapper, scoped to th so Menu's default
206
- (correct everywhere else) is untouched. */
207
- & th .menu { width: 100%; height: 100%; }
208
- & .datatable-th-inner { display: inline-flex; align-items: center; gap: var(--space-1-5); width: 100%; min-width: 0; height: 100%; }
209
- & .datatable-th-inner > svg { flex-shrink: 0; color: var(--fg-muted); }
210
- /* Attio's summary cell has NO padding of its own -- the calculation trigger
211
- owns the whole 246x37 area so a click anywhere in the cell opens the
212
- menu. Zero the cell's inset and let ColumnCalc supply the 12px. */
213
- & tfoot td { padding: 0; }
214
- /* Group heading row -- Attio groups a view under a subtle label with the
215
- bucket's count beside it. */
216
- & .datatable-viewsettings { display: inline-flex; align-items: center; gap: var(--space-1-5); height: var(--size-row); margin: 0; padding: 0 var(--space-2); border: none; border-radius: var(--radius-md); background: transparent; color: var(--fg-muted); font-family: inherit; font-size: var(--text-md); font-weight: var(--weight-medium); white-space: nowrap; cursor: pointer; transition: background-color .12s, color .12s; }
217
- & .datatable-viewsettings:hover { background: color-mix(in srgb, var(--fg-primary) 4%, transparent); color: var(--fg-primary); }
218
- & .datatable-group-label { padding: var(--space-1-5) var(--space-2) var(--space-1); font-size: var(--text-sm); font-weight: var(--weight-medium); color: var(--fg-muted); }
219
- & .datatable-group { height: var(--size-menuRow); padding: 0 var(--space-3); background: var(--bg-subtle); border-bottom: 1px solid var(--border-subtle); font-size: var(--text-md); font-weight: var(--weight-medium); color: color-mix(in srgb, var(--fg-primary) 63%, transparent); }
220
- & .datatable-group-count { margin-inline-start: var(--space-1-5); color: var(--fg-muted); font-variant-numeric: tabular-nums; }
221
- & .datatable-th-rename { width: 100%; min-width: 0; height: var(--size-row); margin: 0; padding: 0 var(--space-1); border: none; border-radius: var(--radius-md); background: var(--bg-surface); box-shadow: inset 0 0 0 1px var(--bg-brand-solid); font-family: inherit; font-size: var(--text-lg); font-weight: var(--weight-medium); color: var(--fg-primary); outline: none; }
222
- & .datatable-th-rename:focus { box-shadow: inset 0 0 0 1px var(--bg-brand-solid); }
223
- & .datatable-th-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
224
- & .datatable-sort { display: flex; align-items: center; gap: var(--space-1-5); width: 100%; min-width: 0; height: 100%; margin: 0; padding: 0 var(--space-2); border: none; background: none; font: inherit; letter-spacing: inherit; color: inherit; text-align: start; cursor: pointer; }
225
- & th[data-align="right"] .datatable-sort { justify-content: flex-end; }
226
- & .datatable-chevron { margin-inline-start: auto; flex-shrink: 0; color: var(--fg-muted); opacity: 0; transition: opacity .12s; }
227
- & th[data-align="right"] .datatable-chevron { margin-inline-start: 0; }
228
- & .datatable-sort:hover .datatable-chevron { opacity: 0.6; }
229
- & .datatable-sort[data-sorted] .datatable-chevron { opacity: 1; color: var(--fg-primary); }
230
- /* sticky first column(s) + horizontal scroll shadow — RecordsTable's feel */
231
- & th[data-sticky], & td[data-sticky] { position: sticky; z-index: 1; background: var(--bg-surface); }
232
- & th[data-sticky] { z-index: 3; }
233
- & tbody tr[data-selected] td[data-sticky] { background: color-mix(in srgb, var(--bg-brand-solid) 10%, var(--bg-surface)); }
234
- & tbody tr:hover td[data-sticky] { background: color-mix(in srgb, var(--fg-primary) 4%, var(--bg-surface)); }
235
- & .table-scroll[data-scrolled-x] [data-sticky-edge] { clip-path: inset(0 -38px 0 0); box-shadow: 6px 0 16px 4px rgba(0,0,0,0.12); }
236
- /* add-row + summary footer */
237
- & .datatable-addcell { padding: 0; border-top: none; }
238
- & .datatable-addrow { display: flex; align-items: center; gap: var(--space-2); width: 100%; height: var(--size-tableRow); padding: 0 var(--space-2); border: none; border-top: 1px solid var(--border-subtle); background: var(--bg-surface); color: var(--fg-muted); font-family: inherit; font-size: var(--text-lg); cursor: pointer; transition: background-color .12s; }
239
- & .datatable-addrow:hover { background: var(--bg-raised); color: var(--fg-primary); }
240
- & .datatable-addrow svg { flex-shrink: 0; }
241
- & .datatable-check { display: flex; align-items: center; justify-content: center; }
242
- & .datatable-col-check { width: 40px; padding: 0; text-align: center; }
243
- & tbody tr[data-selected] td { background: color-mix(in srgb, var(--bg-brand-solid) 10%, var(--bg-surface)); }
244
- & tbody tr[data-selected]:hover td { background: color-mix(in srgb, var(--fg-primary) 4%, color-mix(in srgb, var(--bg-brand-solid) 10%, var(--bg-surface))); }
245
- & .datatable-editable:hover { background: color-mix(in srgb, var(--fg-primary) 4%, var(--bg-surface)); cursor: text; }
246
- & .datatable-edit { width: 100%; height: 28px; margin: 0; padding: 0 var(--space-1-5); border: none; border-radius: var(--radius-sm); background: var(--bg-surface); box-shadow: inset 0 0 0 1px var(--bg-brand-solid); font-family: inherit; font-size: var(--text-lg); color: var(--fg-primary); outline: none; vertical-align: middle; }
247
- & .datatable-edit:focus { box-shadow: inset 0 0 0 1px var(--bg-brand-solid); }
248
- & .datatable-empty { padding: var(--space-8) var(--space-3); text-align: center; color: var(--fg-muted); font-size: var(--text-lg); }
249
- /* fixed layout so column widths (and resize) are exact — like RecordsTable */
250
- & table { table-layout: fixed; }
251
- /* column resize grip */
252
- & .datatable-resize { position: absolute; top: 0; right: -3px; width: 9px; height: 100%; cursor: col-resize; z-index: 6; touch-action: none; }
253
- & .datatable-resize::after { content: ""; position: absolute; top: 0; left: 3px; width: 2px; height: 100%; background: var(--bg-brand-solid); opacity: 0; transition: opacity .12s; }
254
- & .datatable-resize:hover::after, & .datatable-resize[data-resizing]::after { opacity: 1; }
255
- /* typed cells — entity (avatar + name), colour-coded tags, numbers, dates */
256
- & .datatable-entity { display: flex; align-items: center; gap: var(--space-1-5); min-width: 0; color: var(--fg-primary); font-weight: var(--weight-medium); }
257
- & .datatable-entity-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
258
- & .datatable-avatar { width: var(--size-icon); height: var(--size-icon); border-radius: var(--radius-sm); flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; font-size: 10px; line-height: 1; font-weight: var(--weight-semibold); text-transform: uppercase; color: var(--fg-on-brand); background: var(--bg-brand-solid); }
259
- & .datatable-avatar[data-tone="success"] { background: var(--bg-success); } & .datatable-avatar[data-tone="warning"] { background: var(--bg-warning); } & .datatable-avatar[data-tone="danger"] { background: var(--bg-danger); } & .datatable-avatar[data-tone="purple"] { background: var(--bg-purple); } & .datatable-avatar[data-tone="cyan"] { background: var(--bg-cyan); } & .datatable-avatar[data-tone="orange"] { background: var(--bg-orange); }
260
- & .datatable-avatar img { width: 100%; height: 100%; border-radius: inherit; object-fit: cover; }
261
- & .datatable-tags { display: flex; align-items: center; gap: var(--space-1); overflow: hidden; }
262
- & .datatable-tag { display: inline-flex; align-items: center; height: var(--size-chip); padding: 0 var(--space-1); border-radius: var(--radius-chip); font-size: var(--text-lg); line-height: 20px; font-weight: var(--weight-medium); white-space: nowrap; background: color-mix(in srgb, var(--fg-primary) 6%, transparent); color: color-mix(in srgb, var(--fg-primary) 82%, transparent); }
263
- & .datatable-tag[data-tone="brand"] { background: color-mix(in srgb, var(--bg-brand-solid) 14%, transparent); color: color-mix(in srgb, var(--bg-brand-solid) 82%, var(--fg-primary)); }
264
- & .datatable-tag[data-tone="success"] { background: color-mix(in srgb, var(--bg-success) 16%, transparent); color: color-mix(in srgb, var(--bg-success) 78%, var(--fg-primary)); }
265
- & .datatable-tag[data-tone="warning"] { background: color-mix(in srgb, var(--bg-warning) 18%, transparent); color: color-mix(in srgb, var(--bg-warning) 82%, var(--fg-primary)); }
266
- & .datatable-tag[data-tone="danger"] { background: color-mix(in srgb, var(--bg-danger) 15%, transparent); color: color-mix(in srgb, var(--bg-danger) 80%, var(--fg-primary)); }
267
- & .datatable-tag[data-tone="purple"] { background: color-mix(in srgb, var(--bg-purple) 16%, transparent); color: color-mix(in srgb, var(--bg-purple) 80%, var(--fg-primary)); }
268
- & .datatable-tag[data-tone="cyan"] { background: color-mix(in srgb, var(--bg-cyan) 18%, transparent); color: color-mix(in srgb, var(--bg-cyan) 82%, var(--fg-primary)); }
269
- & .datatable-tag[data-tone="orange"] { background: color-mix(in srgb, var(--bg-orange) 16%, transparent); color: color-mix(in srgb, var(--bg-orange) 82%, var(--fg-primary)); }
270
- & .datatable-num { font-variant-numeric: tabular-nums; }
271
- & .datatable-muted { color: var(--fg-muted); }
272
- /* row drag-to-reorder -- Attio's Settings > Objects > Attributes measures
273
- a leading 20px grip column, a 16px grip icon, and the row's own
274
- hairline doubling as the drop indicator (it tints toward the brand
275
- colour as the active drop target). The affordance + geometry are
276
- measured; the drag MECHANISM is crisp's existing house idiom -- HTML5
277
- draggable + dataTransfer, the same one column reorder already uses
278
- (RecordsTable's reorderColumn) -- not Attio's own proprietary
279
- pointer-events implementation. */
280
- & .datatable-col-grip { width: 20px; padding: 0; text-align: center; }
281
- & .datatable-grip { display: inline-flex; align-items: center; justify-content: center; width: 100%; height: 100%; margin: 0; border: none; border-radius: 0; background: none; font-family: inherit; color: var(--fg-muted); cursor: grab; }
282
- & .datatable-grip:active { cursor: grabbing; }
283
- & tbody tr[data-drop-target] td, & tbody tr[data-drop-target] th { box-shadow: inset 0 2px 0 0 var(--bg-brand-solid); transition: box-shadow .12s; }
284
- }
285
-
286
- @media (prefers-reduced-motion: reduce) {
287
- .datatable, .datatable * {
288
- animation-duration: 0.01ms !important;
289
- animation-iteration-count: 1 !important;
290
- transition-duration: 0.01ms !important;
291
- }
292
- }
293
-
294
- .columncalc {
295
- display: flex; align-items: stretch; width: 100%; height: 100%; font-family: var(--font-sans);
296
- /* Menu wraps its trigger in a flex div that sizes to content, which would
297
- shrink the button back to its text. Make the wrapper fill too, so the
298
- whole cell stays clickable. */
299
- & .menu { width: 100%; height: 100%; }
300
- /* Attio's hit target is the WHOLE summary cell -- measured 246x37 with
301
- padding 0 12px, not a content-sized chip. Clicking anywhere in the cell
302
- opens the aggregation menu. */
303
- & .columncalc-trigger { display: flex; align-items: center; gap: var(--space-1); width: 100%; height: 100%; min-height: var(--size-tableRow); margin: 0; padding: 0 var(--space-3); border: none; border-radius: var(--radius-md); background: transparent; color: var(--fg-muted); font-family: inherit; font-size: var(--text-md); font-weight: var(--weight-medium); white-space: nowrap; cursor: pointer; transition: background-color .12s, color .12s; }
304
- & .columncalc-trigger:hover { background: color-mix(in srgb, var(--fg-primary) 4%, transparent); color: var(--fg-primary); }
305
- & .columncalc-trigger svg { flex-shrink: 0; opacity: 0.7; }
306
- & .columncalc-trigger[data-align="right"] { justify-content: flex-end; }
307
- & .columncalc-placeholder { overflow: hidden; text-overflow: ellipsis; }
308
- & .columncalc-value { color: var(--fg-primary); font-variant-numeric: tabular-nums; }
309
- & .columncalc-op { color: var(--fg-muted); }
310
- & .columncalc-section { padding: var(--space-1-5) var(--space-2) var(--space-1); font-size: var(--text-sm); font-weight: var(--weight-medium); color: var(--fg-muted); }
125
+ .accordion {
126
+ display: flex; flex-direction: column; font-family: var(--font-sans);
127
+ & .accordion-item { border-bottom: 1px solid var(--border-subtle); }
128
+ & .accordion-trigger { display: flex; align-items: center; gap: var(--space-2); width: 100%; height: 44px; padding: 0 var(--space-1); margin: 0; border: none; background: none; color: var(--fg-primary); font-family: inherit; font-size: var(--text-lg); font-weight: var(--weight-medium); text-align: start; cursor: pointer; }
129
+ & .accordion-trigger:hover { color: var(--fg-primary); }
130
+ & .accordion-title { flex: 1; min-width: 0; }
131
+ & .accordion-chevron { flex-shrink: 0; color: var(--fg-muted); transition: transform .2s ease; }
132
+ & .accordion-trigger[aria-expanded="true"] .accordion-chevron { transform: rotate(180deg); }
133
+ & .accordion-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .2s ease; }
134
+ & .accordion-panel[data-open] { grid-template-rows: 1fr; }
135
+ & .accordion-panel-inner { overflow: hidden; }
136
+ & .accordion-content { padding: 0 var(--space-1) var(--space-3); font-size: var(--text-md); color: var(--fg-muted); }
311
137
  }
312
138
 
313
139
  @media (prefers-reduced-motion: reduce) {
314
- .columncalc, .columncalc * {
140
+ .accordion, .accordion * {
315
141
  animation-duration: 0.01ms !important;
316
142
  animation-iteration-count: 1 !important;
317
143
  transition-duration: 0.01ms !important;
318
144
  }
319
145
  }
320
146
 
321
- .kbd {
322
- box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; gap: var(--space-0-5); min-width: 20px; height: 20px; padding-inline: var(--space-1); border-radius: var(--radius-sm); font-family: var(--font-sans); font-size: var(--text-xs); font-weight: var(--weight-regular); color: color-mix(in srgb, var(--fg-primary) 50%, transparent); background: transparent; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--fg-primary) 6%, transparent);
323
- }
324
-
325
147
  .avatar {
326
148
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; font-family: var(--font-sans); font-weight: var(--weight-semibold); overflow: hidden; user-select: none; & img { width: 100%; height: 100%; object-fit: cover; }
327
149
  }
@@ -362,168 +184,18 @@
362
184
  background: var(--bg-success); color: #fff;
363
185
  }
364
186
 
365
- .breadcrumb {
366
- display: flex; align-items: center; gap: var(--space-0-5); font-family: var(--font-sans); font-size: var(--text-lg);
367
- & .breadcrumb-item { display: inline-flex; align-items: center; gap: var(--space-1-5); box-sizing: border-box; height: 24px; padding: 0 var(--space-1); border-radius: var(--radius-md); color: var(--fg-muted); text-decoration: none; white-space: nowrap; }
368
- & .breadcrumb-item svg { flex-shrink: 0; }
369
- & a.breadcrumb-item:hover, & button.breadcrumb-item:hover { color: var(--fg-primary); background: color-mix(in srgb, var(--fg-primary) 5%, transparent); }
370
- & button.breadcrumb-item { border: none; background: none; font: inherit; cursor: pointer; }
371
- & .breadcrumb-item[aria-current] { color: var(--fg-primary); font-weight: var(--weight-medium); }
372
- & .breadcrumb-sep { flex-shrink: 0; color: color-mix(in srgb, var(--fg-primary) 28%, transparent); }
373
- }
374
-
375
187
  .avatargroup {
376
188
  display: inline-flex; align-items: center;
377
189
  & > * { margin-inline-start: -var(--space-2); box-shadow: 0 0 0 2px var(--bg-surface); position: relative; }
378
190
  & > *:first-child { margin-inline-start: 0; }
379
191
  }
380
192
 
381
- .tabs {
382
-
383
- display: flex; flex-direction: column; min-height: 0; font-family: var(--font-sans);
384
- -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
385
-
386
- & .tabs-list { position: relative; display: flex; align-items: center; gap: var(--space-1); height: var(--size-row); flex-shrink: 0; }
387
- & .tabs-leading { display: inline-flex; align-items: center; margin-inline-end: var(--space-1); }
388
- & .tabs-tab { position: relative; display: inline-flex; align-items: center; gap: var(--space-1-5); height: 28px; margin: 0; padding: 0 var(--space-2); border: none; background: none; box-shadow: inset 0 0 0 1px transparent; border-radius: var(--radius-md); font-family: inherit; font-size: var(--text-lg); font-weight: var(--weight-medium); letter-spacing: -0.14px; color: var(--fg-muted); cursor: pointer; white-space: nowrap; transition: color .12s ease, background-color .12s ease, box-shadow .12s ease; }
389
- & .tabs-tab svg { flex-shrink: 0; opacity: 0.85; }
390
- & .tabs-tab:hover:not([data-selected]) { background: color-mix(in srgb, var(--fg-primary) 4%, transparent); color: var(--fg-primary); }
391
- & .tabs-tab[data-selected] { color: var(--fg-primary); background: var(--bg-subtle); box-shadow: inset 0 0 0 1px var(--border-subtle); }
392
- & .tabs-tab:focus-visible { outline: 2px solid var(--bg-brand-solid); outline-offset: 1px; }
393
- & .tabs-tab-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 16px; height: 16px; padding: 0 var(--space-1); border-radius: var(--radius-sm); background: color-mix(in srgb, var(--fg-primary) 6%, transparent); font-size: var(--text-xs); font-weight: var(--weight-medium); color: var(--fg-muted); }
394
- & .tabs-tab[data-selected] .tabs-tab-badge { color: var(--fg-primary); }
395
- & .tabs-indicator { position: absolute; bottom: calc(-1 * var(--space-2)); left: 0; height: 1px; background: var(--fg-primary); border-radius: 2px 2px 0 0; transition: transform .2s cubic-bezier(.4,0,.2,1), width .2s cubic-bezier(.4,0,.2,1); pointer-events: none; }
396
- & .tabs-panel { flex: 1; min-height: 0; }
397
- & .tabs-panel:focus-visible { outline: none; }
398
-
193
+ .badge {
194
+ display: inline-flex; align-items: center; justify-content: center; gap: var(--space-1); font-family: var(--font-sans); font-weight: var(--weight-medium); letter-spacing: -0.1px; white-space: nowrap;
195
+ & .badge-dot { width: 6px; height: 6px; flex-shrink: 0; border-radius: var(--radius-full); background: currentColor; }
399
196
  }
400
-
401
- @media (prefers-reduced-motion: reduce) {
402
- .tabs, .tabs * {
403
- animation-duration: 0.01ms !important;
404
- animation-iteration-count: 1 !important;
405
- transition-duration: 0.01ms !important;
406
- }
407
- }
408
-
409
- .radiogroup {
410
-
411
- display: flex; flex-direction: column; gap: var(--space-1); font-family: var(--font-sans);
412
- -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
413
-
414
- & .radio { display: flex; align-items: center; gap: var(--space-2); margin: 0; padding: var(--space-1) var(--space-1); border: none; background: none; border-radius: var(--radius-md); font-family: inherit; font-size: var(--text-lg); color: var(--fg-primary); text-align: start; cursor: pointer; }
415
- & .radio:disabled { opacity: 0.5; cursor: not-allowed; }
416
- & .radio:focus-visible { outline: none; }
417
- & .radio-dot { position: relative; flex-shrink: 0; width: 16px; height: 16px; border-radius: var(--radius-full); box-shadow: inset 0 0 0 1.5px var(--border-default); transition: box-shadow .12s ease; }
418
- & .radio:hover .radio-dot { box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--fg-primary) 40%, transparent); }
419
- & .radio[data-checked] .radio-dot { box-shadow: inset 0 0 0 1.5px var(--bg-brand-solid); }
420
- & .radio[data-checked] .radio-dot::after { content: ""; position: absolute; inset: 0; margin: auto; width: 8px; height: 8px; border-radius: var(--radius-full); background: var(--bg-brand-solid); }
421
- & .radio:focus-visible .radio-dot { outline: 2px solid var(--bg-brand-solid); outline-offset: 2px; }
422
- & .radio-label { min-width: 0; }
423
-
424
- &[data-variant="card"] { flex-direction: row; flex-wrap: wrap; gap: var(--space-3); }
425
- &[data-variant="card"] .radio { flex: 1 1 150px; min-width: 150px; flex-direction: column; align-items: stretch; gap: 0; padding: 0; border-radius: var(--radius-2xl); box-shadow: inset 0 0 0 1px var(--border-default); overflow: hidden; transition: box-shadow .12s ease; }
426
- &[data-variant="card"] .radio:hover { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--fg-primary) 22%, transparent); }
427
- &[data-variant="card"] .radio[data-checked] { box-shadow: inset 0 0 0 1px var(--bg-brand-solid); }
428
- &[data-variant="card"] .radio-preview { flex: 1; min-height: 0; background: var(--bg-raised); }
429
- &[data-variant="card"] .radio-cardfoot { display: flex; align-items: center; gap: var(--space-2); padding: var(--space-2) var(--space-2-5); border-top: 1px solid var(--border-subtle); font-size: var(--text-md); font-weight: var(--weight-medium); }
430
-
431
- }
432
-
433
- @media (prefers-reduced-motion: reduce) {
434
- .radiogroup, .radiogroup * {
435
- animation-duration: 0.01ms !important;
436
- animation-iteration-count: 1 !important;
437
- transition-duration: 0.01ms !important;
438
- }
439
- }
440
-
441
- .formfield {
442
- display: flex; flex-direction: column; gap: var(--space-1-5); box-sizing: border-box; font-family: var(--font-sans);
443
- & .formfield-label { display: inline-flex; align-items: center; gap: var(--space-1); font-size: var(--text-sm); font-weight: var(--weight-medium); color: var(--fg-muted); }
444
- & .formfield-required { color: var(--bg-danger); }
445
- & .formfield-optional { color: color-mix(in srgb, var(--fg-primary) 40%, transparent); font-weight: var(--weight-regular); }
446
- & .formfield-desc { font-size: var(--text-sm); line-height: 16px; color: var(--fg-muted); }
447
- & .formfield-error { font-size: var(--text-sm); line-height: 16px; color: var(--bg-danger); }
448
- }
449
-
450
- .select {
451
-
452
- position: relative; display: inline-flex; font-family: var(--font-sans);
453
- -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
454
-
455
- & .select-trigger {
456
- box-sizing: border-box; display: inline-flex; align-items: center; gap: var(--space-1-5);
457
- height: var(--size-menuRow); width: 100%; min-width: 0; margin: 0; padding: 0 var(--space-1-5) 0 var(--space-2);
458
- border: none; border-radius: var(--radius-md); background: transparent; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--fg-primary) 7%, transparent);
459
- font-family: inherit; font-size: var(--text-lg); color: var(--fg-primary); cursor: pointer;
460
- transition: background-color .12s ease, box-shadow .12s ease;
461
- }
462
- & .select-trigger:hover { background: var(--bg-raised); }
463
- & .select-trigger[data-open], & .select-trigger:focus-visible { outline: none; box-shadow: inset 0 0 0 1px var(--bg-brand-solid); background: var(--bg-surface); }
464
- & .select-trigger:disabled { opacity: 0.5; cursor: not-allowed; }
465
- & .select-value { flex: 1; min-width: 0; display: inline-flex; align-items: center; gap: var(--space-1-5); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: start; }
466
- & .select-placeholder { color: var(--fg-muted); }
467
- & .select-chevron { flex-shrink: 0; color: var(--fg-muted); transition: transform .15s ease; }
468
- & .select-trigger[data-open] .select-chevron { transform: rotate(180deg); }
469
-
470
- & .select-listbox {
471
- position: fixed; z-index: 60; box-sizing: border-box; display: flex; flex-direction: column; gap: var(--space-px);
472
- max-height: 280px; overflow-y: auto; padding: var(--space-1);
473
- border-radius: var(--radius-xl); background: var(--bg-popover);
474
- box-shadow: inset 0 0 0 1px var(--ring-popover), 0 0 0 1px var(--shadow-popover1), 0 4px 8px -4px var(--shadow-popover2), 0 4px 12px -2px var(--shadow-popover3);
475
- transform-origin: top left; opacity: 1; transform: none; transition: opacity .08s ease, transform .08s ease;
476
- }
477
- & .select-listbox[data-up] { transform-origin: bottom; }
478
- & .select-listbox { @starting-style { opacity: 0; transform: scale(0.97) translateY(-1px); } }
479
- & .select-search { display: flex; align-items: center; gap: var(--space-2); height: 34px; flex-shrink: 0; margin: calc(-1 * var(--space-1)) calc(-1 * var(--space-1)) var(--space-1); padding: 0 var(--space-2-5); border-bottom: 1px solid var(--border-subtle); color: var(--fg-muted); }
480
- & .select-search svg { flex-shrink: 0; }
481
- & .select-search input { flex: 1; min-width: 0; border: none; outline: none; background: none; font-family: inherit; font-size: var(--text-lg); color: var(--fg-primary); }
482
- & .select-search input::placeholder { color: var(--fg-muted); }
483
- & .select-empty { padding: var(--space-3) var(--space-2); text-align: center; font-size: var(--text-md); color: var(--fg-muted); }
484
- & .select-option {
485
- box-sizing: border-box; display: flex; align-items: center; gap: var(--space-2); height: var(--size-menuRow); flex-shrink: 0;
486
- padding: 0 var(--space-2); margin: 0; border: none; background: none; border-radius: var(--radius-md);
487
- font-family: inherit; font-size: var(--text-lg); color: var(--fg-primary); text-align: start; cursor: pointer; white-space: nowrap;
488
- }
489
- & .select-option[data-highlighted] { background: var(--bg-raised); }
490
- & .select-option[data-disabled] { opacity: 0.5; cursor: not-allowed; }
491
- & .select-option-dot { flex-shrink: 0; width: 8px; height: 8px; border-radius: var(--radius-full); }
492
- & .select-option-label { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
493
- & .select-option-check { flex-shrink: 0; color: var(--bg-brand-solid); }
494
-
495
- }
496
- .select--variant_default {
497
-
498
- }
499
- .select--variant_ghost {
500
-
501
- & .select-trigger { background: transparent; box-shadow: none; }
502
- & .select-trigger:hover { background: var(--bg-raised); box-shadow: none; }
503
- & .select-trigger[data-open], & .select-trigger:focus-visible { background: transparent; box-shadow: inset 0 0 0 1px var(--bg-brand-solid); }
504
-
505
- }
506
- .select--width_full {
507
- width: 100%;
508
- }
509
- .select--width_auto {
510
- width: auto;
511
- }
512
-
513
- @media (prefers-reduced-motion: reduce) {
514
- .select, .select * {
515
- animation-duration: 0.01ms !important;
516
- animation-iteration-count: 1 !important;
517
- transition-duration: 0.01ms !important;
518
- }
519
- }
520
-
521
- .badge {
522
- display: inline-flex; align-items: center; justify-content: center; gap: var(--space-1); font-family: var(--font-sans); font-weight: var(--weight-medium); letter-spacing: -0.1px; white-space: nowrap;
523
- & .badge-dot { width: 6px; height: 6px; flex-shrink: 0; border-radius: var(--radius-full); background: currentColor; }
524
- }
525
- .badge--tone_neutral {
526
- background: var(--bg-raised); color: var(--fg-muted); box-shadow: inset 0 0 0 1px var(--border-default);
197
+ .badge--tone_neutral {
198
+ background: var(--bg-raised); color: var(--fg-muted); box-shadow: inset 0 0 0 1px var(--border-default);
527
199
  }
528
200
  .badge--tone_brand {
529
201
  background: color-mix(in srgb, var(--bg-brand-solid) 14%, transparent); color: var(--bg-brand-solid); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--bg-brand-solid) 30%, transparent);
@@ -568,188 +240,198 @@
568
240
  background: var(--fg-muted); color: var(--bg-surface); box-shadow: none;
569
241
  }
570
242
 
571
- .datepicker {
572
-
573
- position: relative; box-sizing: border-box; width: 100%; min-width: 0;
574
- font-family: var(--font-sans); color: var(--fg-primary); background: var(--bg-surface);
575
-
576
- & .datepicker-header {
577
- display: flex; align-items: center; justify-content: space-between;
578
- height: var(--size-menuRow);
579
- }
580
- & .datepicker-header-label {
581
- display: inline-flex; align-items: center; gap: var(--space-1);
582
- height: 100%; min-width: 0; border: 0; padding: 0 var(--space-1);
583
- border-radius: var(--radius-md); background: transparent; cursor: pointer;
584
- color: var(--fg-primary); font-family: inherit;
585
- font-size: var(--text-lg); line-height: 20px; font-weight: var(--weight-medium);
586
- white-space: nowrap;
587
- outline: 2px solid transparent; outline-offset: -2px;
588
- transition: outline-color .2s ease;
589
- }
590
- & .datepicker-header-label:focus-visible { outline-color: var(--stroke-focus-ring); }
591
- & .datepicker-header-chevron { display: inline-flex; transition: transform .2s ease; }
592
- & .datepicker-header-chevron[data-open] { transform: rotate(180deg); }
243
+ .barchart {
244
+ display: flex; flex-direction: column; box-sizing: border-box; font-family: var(--font-sans); --barchart-yaxis-width: 34px;
245
+ & .barchart-body { display: flex; flex: 1; min-height: 0; }
246
+ & .barchart-yaxis { position: relative; flex-shrink: 0; width: var(--barchart-yaxis-width); }
247
+ & .barchart-ytick { position: absolute; inset-inline-end: var(--space-2); transform: translateY(50%); font-size: var(--text-xs); color: var(--fg-muted); white-space: nowrap; }
248
+ & .barchart-plot { position: relative; flex: 1; min-width: 0; display: flex; align-items: flex-end; gap: var(--space-3); border-bottom: 1px solid var(--border-default); }
249
+ & .barchart-grid { position: absolute; left: 0; right: 0; border-top: 1px dashed var(--border-subtle); pointer-events: none; }
250
+ & .barchart-col { position: relative; flex: 1; min-width: 0; height: 100%; display: flex; align-items: flex-end; justify-content: center; }
251
+ & .barchart-bar { width: 100%; max-width: 96px; border-radius: var(--radius-sm) var(--radius-sm) 0 0; background: var(--bg-brand-solid); transition: height 0.3s ease; }
252
+ & .barchart-bar[data-empty] { min-height: 2px; opacity: 0.35; }
253
+ & .barchart-xaxis { display: flex; gap: var(--space-3); margin-top: var(--space-1-5); }
254
+ & .barchart-xaxis[data-inset] { padding-inline-start: var(--barchart-yaxis-width); }
255
+ & .barchart-xlabel { flex: 1; min-width: 0; text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: var(--text-sm); color: var(--fg-muted); }
256
+ & .barchart-axis-title { margin-top: var(--space-1); padding-inline-start: var(--barchart-yaxis-width); text-align: center; font-size: var(--text-sm); color: var(--fg-muted); }
257
+ }
593
258
 
594
- & .datepicker-nav { display: flex; align-items: center; }
595
- & .datepicker-nav-button {
596
- display: inline-flex; align-items: center; justify-content: center;
597
- width: var(--size-menuRow); height: var(--size-menuRow); padding: 0;
598
- border: none; border-radius: var(--radius-md); background: none;
599
- color: var(--fg-muted); font-family: inherit; cursor: pointer;
600
- outline: 2px solid transparent; outline-offset: -2px;
601
- transition: background-color .12s, outline-color .2s ease;
602
- }
603
- & .datepicker-nav-button:hover { background: var(--bg-raised); }
604
- & .datepicker-nav-button:focus-visible { outline-color: var(--stroke-focus-ring); }
605
- & .datepicker-nav-button:disabled { opacity: .4; cursor: not-allowed; }
259
+ @media (prefers-reduced-motion: reduce) {
260
+ .barchart, .barchart * {
261
+ animation-duration: 0.01ms !important;
262
+ animation-iteration-count: 1 !important;
263
+ transition-duration: 0.01ms !important;
264
+ }
265
+ }
606
266
 
607
- & .datepicker-weekday-row {
608
- display: grid; grid-template-columns: repeat(7, minmax(0, 1fr));
609
- position: relative; z-index: 2; background: var(--bg-surface);
610
- }
611
- & .datepicker-weekday {
612
- display: flex; align-items: center; justify-content: center;
613
- height: var(--size-calendarCell); color: var(--fg-neutral-subtle);
614
- font-size: var(--text-sm); line-height: 16px; font-weight: var(--weight-medium);
615
- }
267
+ .breadcrumb {
268
+ display: flex; align-items: center; gap: var(--space-0-5); font-family: var(--font-sans); font-size: var(--text-lg);
269
+ & .breadcrumb-item { display: inline-flex; align-items: center; gap: var(--space-1-5); box-sizing: border-box; height: 24px; padding: 0 var(--space-1); border-radius: var(--radius-md); color: var(--fg-muted); text-decoration: none; white-space: nowrap; }
270
+ & .breadcrumb-item svg { flex-shrink: 0; }
271
+ & a.breadcrumb-item:hover, & button.breadcrumb-item:hover { color: var(--fg-primary); background: color-mix(in srgb, var(--fg-primary) 5%, transparent); }
272
+ & button.breadcrumb-item { border: none; background: none; font: inherit; cursor: pointer; }
273
+ & .breadcrumb-item[aria-current] { color: var(--fg-primary); font-weight: var(--weight-medium); }
274
+ & .breadcrumb-sep { flex-shrink: 0; color: color-mix(in srgb, var(--fg-primary) 28%, transparent); }
275
+ }
616
276
 
617
- & .datepicker-months { display: grid; grid-template-columns: minmax(0, 1fr); align-items: start; min-width: 0; }
618
- & .datepicker-months[data-wheel-open] { visibility: hidden; }
619
- & .datepicker-month { min-width: 0; }
620
- & .datepicker-month-label {
621
- display: flex; align-items: center; height: 24px;
622
- color: var(--fg-primary); font-size: var(--text-lg); line-height: 20px;
623
- font-weight: var(--weight-medium);
624
- }
277
+ .bulkbar {
278
+ position: absolute; left: 0; right: 0; bottom: var(--space-4); display: flex; justify-content: center; pointer-events: none; z-index: 10;
279
+ & .bulkbar-bar { pointer-events: auto; display: flex; align-items: center; gap: var(--space-0-5); height: 48px; padding: 0 var(--space-1) 0 var(--space-1-5); border-radius: 14px; background: var(--bg-surface); box-shadow: inset 0 0 0 1px var(--ring-popover), 0 0 0 1px var(--shadow-popover1), 0 4px 8px -4px var(--shadow-popover2), 0 4px 12px -2px var(--shadow-popover3); color: var(--fg-primary); transition: opacity .16s ease, transform .16s ease; }
280
+ & .bulkbar-bar { @starting-style { opacity: 0; transform: translateY(10px); } }
281
+ & .bulkbar-count { display: inline-flex; align-items: center; gap: var(--space-1); height: var(--size-menuRow); margin: 0; padding: 0 var(--space-2); border: none; border-radius: var(--radius-md); background: color-mix(in srgb, var(--fg-primary) 4%, transparent); font-family: inherit; font-size: var(--text-md); font-weight: var(--weight-medium); color: var(--fg-muted); white-space: nowrap; cursor: pointer; transition: background-color .12s; }
282
+ & .bulkbar-count:hover { background: color-mix(in srgb, var(--fg-primary) 8%, transparent); color: var(--fg-primary); }
283
+ & .bulkbar-count svg { flex-shrink: 0; }
284
+ & .bulkbar-btn { display: inline-flex; align-items: center; gap: var(--space-1); height: var(--size-menuRow); padding: 0 var(--space-2); border: none; border-radius: var(--radius-md); background: transparent; color: var(--fg-primary); font-family: inherit; font-size: var(--text-md); font-weight: var(--weight-medium); white-space: nowrap; cursor: pointer; transition: background-color .12s; }
285
+ & .bulkbar-btn:hover { background: var(--bg-raised); }
286
+ & .bulkbar-btn--danger { color: var(--bg-danger); }
287
+ & .bulkbar-btn--danger:hover { background: color-mix(in srgb, var(--bg-danger) 10%, transparent); }
288
+ & .bulkbar-btn svg { flex-shrink: 0; }
289
+ }
625
290
 
626
- & .datepicker-grid { display: grid; min-width: 0; }
627
- & .datepicker-week-row { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
291
+ @media (prefers-reduced-motion: reduce) {
292
+ .bulkbar, .bulkbar * {
293
+ animation-duration: 0.01ms !important;
294
+ animation-iteration-count: 1 !important;
295
+ transition-duration: 0.01ms !important;
296
+ }
297
+ }
628
298
 
629
- & .datepicker-cell {
630
- position: relative; min-width: 0; min-height: var(--size-calendarCell);
631
- isolation: isolate;
632
- }
633
- & .datepicker-empty-cell { min-height: var(--size-calendarCell); }
299
+ .button {
300
+ display: inline-flex; align-items: center; justify-content: center; gap: var(--space-1-5); font-family: var(--font-sans); font-weight: var(--weight-medium); letter-spacing: -0.14px; line-height: 20px; white-space: nowrap; border: none; cursor: pointer; transition: background-color .2s, box-shadow .2s, color .2s; &:disabled { opacity: 0.5; cursor: not-allowed; }
301
+ }
302
+ .button--intent_primary {
303
+ background: var(--bg-brand-solid); color: var(--fg-on-brand); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.07), 0 2px 4px -2px rgba(38,109,240,0.12), 0 3px 6px -2px rgba(38,109,240,0.08); &:hover { background: var(--bg-brand-solid-pressed); } &:active { background: var(--bg-brand-solid-pressed); }
304
+ }
305
+ .button--intent_neutral {
306
+ background: var(--bg-surface); color: var(--fg-primary); box-shadow: inset 0 0 0 1px var(--ring-neutral), 0 0 2px rgba(28,40,64,0.18), 0 1px 3px rgba(0,0,0,0.04); &:hover { background: var(--bg-raised); }
307
+ }
308
+ .button--intent_danger {
309
+ background: var(--bg-danger-solid); color: var(--fg-on-brand); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.07), 0 2px 4px -2px rgba(186,37,37,0.20), 0 3px 6px -2px rgba(186,37,37,0.12); &:hover { filter: brightness(0.96); } &:active { filter: brightness(0.92); }
310
+ }
311
+ .button--intent_ghost {
312
+ background: transparent; color: var(--fg-muted); box-shadow: none; &:hover { background: var(--bg-raised); color: var(--fg-primary); }
313
+ }
314
+ .button--size_sm {
315
+ height: 24px; padding-inline: var(--space-1-5); font-size: var(--text-md); border-radius: var(--radius-md);
316
+ }
317
+ .button--size_md {
318
+ height: 28px; padding-inline: var(--space-2); font-size: var(--text-lg); border-radius: var(--radius-md);
319
+ }
320
+ .button--size_lg {
321
+ height: 40px; padding-inline: 14px; font-size: var(--text-lg); border-radius: 10px;
322
+ }
323
+ .button--shape_text {
324
+
325
+ }
326
+ .button--shape_icon {
327
+ padding-inline: 0; aspect-ratio: 1 / 1;
328
+ }
329
+ .button--touchTarget_true {
330
+ position: relative; &::after { content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 100%; height: 100%; min-width: 44px; min-height: 44px; }
331
+ }
332
+ .button--touchTarget_false {
333
+
334
+ }
634
335
 
635
- /* The bridge joining days inside a completed range.
636
- The endpoints do NOT carry data-in-range -- only the interior days do --
637
- so these are three independent rules, not a base plus two modifiers. A
638
- modifier that sets only inset-inline-start never generates a pseudo
639
- element on an endpoint, which leaves a half-cell of white between the
640
- endpoint's pill and the run of grey beside it. Each rule declares its
641
- own content. */
642
- & .datepicker-cell[data-range-complete][data-in-range]::before {
643
- content: ""; position: absolute; z-index: -1; inset-inline: 0;
644
- top: calc((var(--size-calendarCell) - var(--size-calendarPill)) / 2); height: var(--size-calendarPill); background: var(--bg-neutral-weak);
645
- }
646
- & .datepicker-cell[data-range-complete][data-range-start]:not([data-range-end])::before {
647
- content: ""; position: absolute; z-index: -1;
648
- inset-inline-start: 50%; inset-inline-end: 0;
649
- top: calc((var(--size-calendarCell) - var(--size-calendarPill)) / 2); height: var(--size-calendarPill); background: var(--bg-neutral-weak);
650
- }
651
- & .datepicker-cell[data-range-complete][data-range-end]:not([data-range-start])::before {
652
- content: ""; position: absolute; z-index: -1;
653
- inset-inline-start: 0; inset-inline-end: 50%;
654
- top: calc((var(--size-calendarCell) - var(--size-calendarPill)) / 2); height: var(--size-calendarPill); background: var(--bg-neutral-weak);
655
- }
656
-
657
- & .datepicker-date {
658
- position: relative; display: flex; width: 100%; height: 100%;
659
- min-height: var(--size-calendarCell); min-width: 0;
660
- align-items: flex-start; justify-content: center;
661
- border: 0; padding: 0; background: transparent; cursor: pointer;
662
- color: var(--fg-primary); font: inherit; outline: none;
663
- isolation: isolate;
664
- }
665
- /* the round day highlight, behind the numeral */
666
- & .datepicker-date::before {
667
- content: ""; position: absolute; z-index: -1; top: calc((var(--size-calendarCell) - var(--size-calendarPill)) / 2); left: 50%;
668
- width: var(--size-calendarPill); height: var(--size-calendarPill);
669
- border-radius: var(--radius-md);
670
- background: transparent; transform: translateX(-50%);
671
- }
672
- & .datepicker-date[data-today]::before { background: var(--bg-neutral-weak); }
673
- & .datepicker-date[data-selected]::before { background: var(--bg-brand-solid); }
674
- & .datepicker-date[data-selected] { color: var(--fg-on-brand); }
675
- & .datepicker-date[data-in-range] { color: var(--fg-primary); }
676
- & .datepicker-date[data-in-range]::before { background: transparent; }
677
- & .datepicker-date[data-unavailable] { color: var(--fg-disabled); }
678
- & .datepicker-date:disabled { color: var(--fg-disabled); cursor: not-allowed; }
679
- & .datepicker-date:focus-visible::after {
680
- content: ""; position: absolute; top: calc((var(--size-calendarCell) - var(--size-calendarPill)) / 2); left: 50%;
681
- width: var(--size-calendarPill); height: var(--size-calendarPill);
682
- transform: translateX(-50%); border-radius: var(--radius-md);
683
- outline: 2px solid var(--stroke-focus-ring); outline-offset: -2px;
684
- }
685
-
686
- & .datepicker-date-content {
687
- position: relative; z-index: 1; display: flex; width: 100%;
688
- min-height: var(--size-calendarCell); min-width: 0; box-sizing: border-box;
689
- flex-direction: column; align-items: center; gap: 3px;
690
- padding-top: calc((var(--size-calendarCell) - var(--size-calendarPill)) / 2); color: inherit;
691
- font-size: var(--text-lg); line-height: 20px; font-weight: var(--weight-medium);
692
- font-variant-numeric: tabular-nums;
693
- }
694
- /* The numeral is its own 42px flex box so it centres on the 42px pill.
695
- Without this the content column top-aligns the glyph and the pill reads
696
- as offset — the cell is 48px, the pill 42px inset 3px, and only a
697
- 42px-tall numeral box shares the pill's centre line. */
698
- & .datepicker-date-content > [data-date-picker-day] {
699
- display: flex; min-height: var(--size-calendarPill); flex-shrink: 0;
700
- align-items: center; justify-content: center;
701
- }
702
-
703
- /* the year/month wheel, laid over the grid it replaces */
704
- & .datepicker-wheel-container {
705
- position: absolute; z-index: 1; inset-inline: 0;
706
- top: var(--size-menuRow); bottom: 0;
707
- display: flex; align-items: center; overflow: hidden;
708
- background: var(--bg-surface);
709
- }
710
- & .datepicker-wheel { width: 100%; }
336
+ @media (prefers-reduced-motion: reduce) {
337
+ .button, .button * {
338
+ animation-duration: 0.01ms !important;
339
+ animation-iteration-count: 1 !important;
340
+ transition-duration: 0.01ms !important;
341
+ }
342
+ }
711
343
 
712
- & .datepicker-continuous-scroll {
713
- height: 100%; min-height: 0; overflow-y: auto;
714
- overscroll-behavior: contain; scrollbar-width: none;
715
- }
716
- & .datepicker-continuous-scroll::-webkit-scrollbar { display: none; }
717
- & .datepicker-continuous-content { display: flex; flex-direction: column; }
344
+ .callout {
345
+ display: flex; align-items: flex-start; gap: var(--space-2-5); box-sizing: border-box; padding: var(--space-3) var(--space-4); border-radius: var(--radius-lg); font-family: var(--font-sans); font-size: var(--text-md); background: color-mix(in srgb, var(--fg-primary) 4%, transparent); color: var(--fg-primary);
346
+ & .callout-icon { flex-shrink: 0; margin-top: 1px; display: inline-flex; color: var(--fg-muted); }
347
+ & .callout-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
348
+ & .callout-title { font-weight: var(--weight-semibold); }
349
+ & .callout-desc { color: var(--fg-muted); }
350
+ & .callout-action { flex-shrink: 0; }
351
+ &[data-tone="info"] { background: color-mix(in srgb, var(--bg-brand-solid) 8%, transparent); }
352
+ &[data-tone="info"] .callout-icon { color: var(--bg-brand-solid); }
353
+ &[data-tone="success"] { background: color-mix(in srgb, var(--bg-success) 10%, transparent); }
354
+ &[data-tone="success"] .callout-icon { color: var(--bg-success); }
355
+ &[data-tone="warning"] { background: color-mix(in srgb, var(--bg-warning) 12%, transparent); }
356
+ &[data-tone="warning"] .callout-icon { color: var(--bg-warning); }
357
+ &[data-tone="danger"] { background: color-mix(in srgb, var(--bg-danger) 10%, transparent); }
358
+ &[data-tone="danger"] .callout-icon { color: var(--bg-danger); }
359
+ }
718
360
 
719
- /* announced, never drawn */
720
- & .datepicker-live-region {
721
- position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
722
- overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
723
- }
724
-
361
+ .card {
362
+ display: flex; flex-direction: column; box-sizing: border-box; border-radius: var(--radius-xl); background: var(--bg-surface); box-shadow: inset 0 0 0 1px var(--border-subtle); font-family: var(--font-sans); color: var(--fg-primary);
363
+ & .card-header { display: flex; align-items: center; gap: var(--space-2); flex-shrink: 0; padding: var(--space-3) var(--space-4); border-bottom: 1px solid var(--border-subtle); font-size: var(--text-lg); font-weight: var(--weight-semibold); }
364
+ & .card-header svg { flex-shrink: 0; color: var(--fg-muted); }
365
+ & .card-title { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
366
+ & .card-body { flex: 1; min-height: 0; padding: var(--space-4); }
367
+ & .card-footer { display: flex; align-items: center; justify-content: flex-end; gap: var(--space-2); flex-shrink: 0; padding: var(--space-3) var(--space-4); border-top: 1px solid var(--border-subtle); }
725
368
  }
726
- .datepicker--visibleRange_month {
369
+ .card--raised_true {
370
+ box-shadow: inset 0 0 0 1px var(--border-subtle), 0 1px 2px rgba(0,0,0,0.04), 0 4px 12px -4px rgba(28,40,64,0.08);
371
+ }
372
+ .card--raised_false {
727
373
 
728
374
  }
729
- .datepicker--visibleRange_twoMonths {
730
- & .datepicker-months { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--space-6); }
731
- & .datepicker-two-month-header { display: flex; align-items: center; justify-content: space-between; height: var(--size-menuRow); }
732
- & .datepicker-two-month-label { color: var(--fg-primary); font-size: var(--text-lg); line-height: 20px; font-weight: var(--weight-medium); }
375
+ .card--interactive_true {
376
+ cursor: pointer; transition: box-shadow 0.12s ease; &:hover { box-shadow: inset 0 0 0 1px var(--border-default), 0 1px 2px rgba(0,0,0,0.04), 0 6px 16px -6px rgba(28,40,64,0.12); }
733
377
  }
734
- .datepicker--visibleRange_week {
378
+ .card--interactive_false {
735
379
 
736
380
  }
737
- .datepicker--visibleRange_continuous {
738
- & .datepicker-weekday-row { position: sticky; top: 0; }
381
+
382
+ @media (prefers-reduced-motion: reduce) {
383
+ .card, .card * {
384
+ animation-duration: 0.01ms !important;
385
+ animation-iteration-count: 1 !important;
386
+ transition-duration: 0.01ms !important;
387
+ }
388
+ }
389
+
390
+ .checkbox {
391
+ appearance: none; -webkit-appearance: none; box-sizing: border-box; flex-shrink: 0; margin: 0; width: 16px; height: 16px; border: none; border-radius: var(--radius-sm)
392
+ ; background: var(--bg-surface)
393
+ ; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--fg-primary)
394
+ 9%, transparent); cursor: pointer; transition: background-color .12s, box-shadow .12s; &:hover { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--fg-primary) 30%, transparent); }
395
+ &:checked, &:indeterminate { background: var(--bg-brand-solid) center / 10px no-repeat; box-shadow: none; }
396
+ &:checked { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 12 12' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 6.5 5 9l4.5-5'/%3E%3C/svg%3E"); }
397
+ &:indeterminate { background-image: linear-gradient(var(--fg-on-brand), var(--fg-on-brand)); background-size: 8px 2px; }
398
+ &:focus-visible { outline: 2px solid var(--bg-brand-solid); outline-offset: 1px; }
399
+
739
400
  }
740
401
 
741
402
  @media (prefers-reduced-motion: reduce) {
742
- .datepicker, .datepicker * {
403
+ .checkbox, .checkbox * {
743
404
  animation-duration: 0.01ms !important;
744
405
  animation-iteration-count: 1 !important;
745
406
  transition-duration: 0.01ms !important;
746
407
  }
747
408
  }
748
409
 
749
- .divider {
750
- flex-shrink: 0; border: none; margin: 0; background: var(--border-subtle);
751
- &[data-orientation="horizontal"] { width: 100%; height: 1px; }
752
- &[data-orientation="vertical"] { width: 1px; align-self: stretch; min-height: 1em; }
410
+ .columncalc {
411
+ display: flex; align-items: stretch; width: 100%; height: 100%; font-family: var(--font-sans);
412
+ /* Menu wraps its trigger in a flex div that sizes to content, which would
413
+ shrink the button back to its text. Make the wrapper fill too, so the
414
+ whole cell stays clickable. */
415
+ & .menu { width: 100%; height: 100%; }
416
+ /* Attio's hit target is the WHOLE summary cell -- measured 246x37 with
417
+ padding 0 12px, not a content-sized chip. Clicking anywhere in the cell
418
+ opens the aggregation menu. */
419
+ & .columncalc-trigger { display: flex; align-items: center; gap: var(--space-1); width: 100%; height: 100%; min-height: var(--size-tableRow); margin: 0; padding: 0 var(--space-3); border: none; border-radius: var(--radius-md); background: transparent; color: var(--fg-muted); font-family: inherit; font-size: var(--text-md); font-weight: var(--weight-medium); white-space: nowrap; cursor: pointer; transition: background-color .12s, color .12s; }
420
+ & .columncalc-trigger:hover { background: color-mix(in srgb, var(--fg-primary) 4%, transparent); color: var(--fg-primary); }
421
+ & .columncalc-trigger svg { flex-shrink: 0; opacity: 0.7; }
422
+ & .columncalc-trigger[data-align="right"] { justify-content: flex-end; }
423
+ & .columncalc-placeholder { overflow: hidden; text-overflow: ellipsis; }
424
+ & .columncalc-value { color: var(--fg-primary); font-variant-numeric: tabular-nums; }
425
+ & .columncalc-op { color: var(--fg-muted); }
426
+ & .columncalc-section { padding: var(--space-1-5) var(--space-2) var(--space-1); font-size: var(--text-sm); font-weight: var(--weight-medium); color: var(--fg-muted); }
427
+ }
428
+
429
+ @media (prefers-reduced-motion: reduce) {
430
+ .columncalc, .columncalc * {
431
+ animation-duration: 0.01ms !important;
432
+ animation-iteration-count: 1 !important;
433
+ transition-duration: 0.01ms !important;
434
+ }
753
435
  }
754
436
 
755
437
  .contextmenu {
@@ -773,90 +455,482 @@
773
455
  }
774
456
  }
775
457
 
776
- .bulkbar {
777
- position: absolute; left: 0; right: 0; bottom: var(--space-4); display: flex; justify-content: center; pointer-events: none; z-index: 10;
778
- & .bulkbar-bar { pointer-events: auto; display: flex; align-items: center; gap: var(--space-0-5); height: 48px; padding: 0 var(--space-1) 0 var(--space-1-5); border-radius: 14px; background: var(--bg-surface); box-shadow: inset 0 0 0 1px var(--ring-popover), 0 0 0 1px var(--shadow-popover1), 0 4px 8px -4px var(--shadow-popover2), 0 4px 12px -2px var(--shadow-popover3); color: var(--fg-primary); transition: opacity .16s ease, transform .16s ease; }
779
- & .bulkbar-bar { @starting-style { opacity: 0; transform: translateY(10px); } }
780
- & .bulkbar-count { display: inline-flex; align-items: center; gap: var(--space-1); height: var(--size-menuRow); margin: 0; padding: 0 var(--space-2); border: none; border-radius: var(--radius-md); background: color-mix(in srgb, var(--fg-primary) 4%, transparent); font-family: inherit; font-size: var(--text-md); font-weight: var(--weight-medium); color: var(--fg-muted); white-space: nowrap; cursor: pointer; transition: background-color .12s; }
781
- & .bulkbar-count:hover { background: color-mix(in srgb, var(--fg-primary) 8%, transparent); color: var(--fg-primary); }
782
- & .bulkbar-count svg { flex-shrink: 0; }
783
- & .bulkbar-btn { display: inline-flex; align-items: center; gap: var(--space-1); height: var(--size-menuRow); padding: 0 var(--space-2); border: none; border-radius: var(--radius-md); background: transparent; color: var(--fg-primary); font-family: inherit; font-size: var(--text-md); font-weight: var(--weight-medium); white-space: nowrap; cursor: pointer; transition: background-color .12s; }
784
- & .bulkbar-btn:hover { background: var(--bg-raised); }
785
- & .bulkbar-btn--danger { color: var(--bg-danger); }
786
- & .bulkbar-btn--danger:hover { background: color-mix(in srgb, var(--bg-danger) 10%, transparent); }
787
- & .bulkbar-btn svg { flex-shrink: 0; }
788
- }
789
-
790
- @media (prefers-reduced-motion: reduce) {
791
- .bulkbar, .bulkbar * {
792
- animation-duration: 0.01ms !important;
793
- animation-iteration-count: 1 !important;
794
- transition-duration: 0.01ms !important;
795
- }
796
- }
797
-
798
- .multiselect {
799
-
800
- position: relative; display: inline-flex; width: 100%; font-family: var(--font-sans);
801
- -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
802
-
803
- & .multiselect-trigger {
804
- box-sizing: border-box; display: flex; align-items: center; gap: var(--space-1); width: 100%; min-width: 0; min-height: var(--size-menuRow);
805
- margin: 0; padding: var(--space-0-5) var(--space-1-5) var(--space-0-5) var(--space-2);
806
- border: none; border-radius: var(--radius-md); background: transparent; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--fg-primary) 7%, transparent);
807
- font-family: inherit; font-size: var(--text-lg); color: var(--fg-primary); cursor: pointer; text-align: start;
808
- transition: background-color .12s ease, box-shadow .12s ease;
809
- }
810
- & .multiselect-trigger:hover { background: var(--bg-raised); }
811
- & .multiselect-trigger[data-open], & .multiselect-trigger:focus-visible { outline: none; box-shadow: inset 0 0 0 1px var(--bg-brand-solid); background: var(--bg-surface); }
812
- & .multiselect-trigger:disabled { opacity: 0.5; cursor: not-allowed; }
813
- & .multiselect-chips { flex: 1; min-width: 0; display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-1); }
814
- & .multiselect-placeholder { color: var(--fg-muted); }
815
- & .multiselect-chevron { flex-shrink: 0; color: var(--fg-muted); transition: transform .15s ease; }
816
- & .multiselect-trigger[data-open] .multiselect-chevron { transform: rotate(180deg); }
817
-
818
- & .multiselect-listbox {
819
- position: fixed; z-index: 60; box-sizing: border-box; display: flex; flex-direction: column; gap: var(--space-px);
820
- max-height: 300px; overflow-y: auto; padding: var(--space-1);
821
- border-radius: var(--radius-xl); background: var(--bg-popover);
822
- box-shadow: inset 0 0 0 1px var(--ring-popover), 0 0 0 1px var(--shadow-popover1), 0 4px 8px -4px var(--shadow-popover2), 0 4px 12px -2px var(--shadow-popover3);
823
- transform-origin: top left; opacity: 1; transform: none; transition: opacity .08s ease, transform .08s ease;
824
- }
825
- & .multiselect-listbox[data-up] { transform-origin: bottom left; }
826
- & .multiselect-listbox { @starting-style { opacity: 0; transform: scale(0.97) translateY(-1px); } }
827
- & .multiselect-search { display: flex; align-items: center; gap: var(--space-2); height: 34px; flex-shrink: 0; margin: calc(-1 * var(--space-1)) calc(-1 * var(--space-1)) var(--space-1); padding: 0 var(--space-2-5); border-bottom: 1px solid var(--border-subtle); color: var(--fg-muted); }
828
- & .multiselect-search svg { flex-shrink: 0; }
829
- & .multiselect-search input { flex: 1; min-width: 0; border: none; outline: none; background: none; font-family: inherit; font-size: var(--text-lg); color: var(--fg-primary); }
830
- & .multiselect-search input::placeholder { color: var(--fg-muted); }
831
- & .multiselect-option {
832
- box-sizing: border-box; display: flex; align-items: center; gap: var(--space-2); height: var(--size-menuRow); flex-shrink: 0;
833
- padding: 0 var(--space-2); margin: 0; border: none; background: none; border-radius: var(--radius-md); font-family: inherit; cursor: pointer; text-align: start;
834
- }
835
- & .multiselect-option[data-highlighted] { background: var(--bg-raised); }
836
- & .multiselect-option-chip { flex: 0 1 auto; min-width: 0; overflow: hidden; }
837
- & .multiselect-check { flex-shrink: 0; margin-inline-start: auto; display: inline-flex; align-items: center; justify-content: center; width: 16px; height: 16px; border-radius: var(--radius-sm); box-shadow: inset 0 0 0 1.5px var(--border-default); color: transparent; }
838
- & .multiselect-option[aria-selected="true"] .multiselect-check { background: var(--bg-brand-solid); box-shadow: none; color: #fff; }
839
- & .multiselect-empty { padding: var(--space-3) var(--space-2); text-align: center; font-size: var(--text-md); color: var(--fg-muted); }
840
-
841
- & .recordstable-tag { display: inline-flex; align-items: center; height: var(--size-chip); padding: 0 var(--space-1); border-radius: var(--radius-chip); font-size: var(--text-lg); line-height: 20px; font-weight: var(--weight-medium); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; background: color-mix(in srgb, var(--fg-primary) 6%, transparent); color: color-mix(in srgb, var(--fg-primary) 82%, transparent); }
842
- & .recordstable-tag[data-tone="brand"] { background: color-mix(in srgb, var(--bg-brand-solid) 14%, transparent); color: color-mix(in srgb, var(--bg-brand-solid) 82%, var(--fg-primary)); }
843
- & .recordstable-tag[data-tone="success"] { background: color-mix(in srgb, var(--bg-success) 16%, transparent); color: color-mix(in srgb, var(--bg-success) 78%, var(--fg-primary)); }
844
- & .recordstable-tag[data-tone="warning"] { background: color-mix(in srgb, var(--bg-warning) 18%, transparent); color: color-mix(in srgb, var(--bg-warning) 82%, var(--fg-primary)); }
845
- & .recordstable-tag[data-tone="danger"] { background: color-mix(in srgb, var(--bg-danger) 15%, transparent); color: color-mix(in srgb, var(--bg-danger) 80%, var(--fg-primary)); }
846
- & .recordstable-tag[data-tone="purple"] { background: color-mix(in srgb, var(--bg-purple) 16%, transparent); color: color-mix(in srgb, var(--bg-purple) 80%, var(--fg-primary)); }
847
- & .recordstable-tag[data-tone="cyan"] { background: color-mix(in srgb, var(--bg-cyan) 18%, transparent); color: color-mix(in srgb, var(--bg-cyan) 82%, var(--fg-primary)); }
848
- & .recordstable-tag[data-tone="orange"] { background: color-mix(in srgb, var(--bg-orange) 16%, transparent); color: color-mix(in srgb, var(--bg-orange) 82%, var(--fg-primary)); }
849
-
850
- }
851
-
458
+ .datatable {
459
+ display: flex; flex-direction: column; gap: var(--space-2-5); font-family: var(--font-sans);
460
+ & .datatable-toolbar { display: flex; align-items: center; gap: var(--space-2); }
461
+ & .datatable-search { position: relative; flex: 1; max-width: 280px; display: inline-flex; align-items: center; }
462
+ & .datatable-search svg { position: absolute; inset-inline-start: var(--space-2); color: var(--fg-muted); pointer-events: none; }
463
+ & .datatable-search input { width: 100%; height: 32px; padding: 0 var(--space-2) 0 var(--space-6); border: none; border-radius: var(--radius-md); background: var(--bg-surface); box-shadow: inset 0 0 0 1px var(--ring-neutral), 0 0 2px rgba(28,40,64,0.18), 0 1px 3px rgba(0,0,0,0.04); font-family: inherit; font-size: var(--text-lg); color: var(--fg-primary); outline: none; transition: box-shadow .15s; }
464
+ & .datatable-search input::placeholder { color: var(--fg-muted); }
465
+ & .datatable-search input:focus { box-shadow: inset 0 0 0 1px var(--bg-brand-solid); }
466
+ & .datatable-count { margin-inline-start: auto; font-size: var(--text-md); color: var(--fg-muted); }
467
+ /* Attio's header cell has no padding of its own -- the button owns the
468
+ full cell so the whole header is clickable (its own inset is 12px).
469
+ Mirrors the summary-row fix. */
470
+ & th { padding: 0; }
471
+ /* Same wrapper trap as AUTHORING.md Lesson 40 (ColumnCalc's summary trigger):
472
+ Menu wraps its trigger in a flex div that sizes to its content, so a
473
+ long header grew past the column instead of filling it -- with nothing
474
+ left to squeeze, the label's own ellipsis CSS (below) had no properly
475
+ -sized box to truncate against, and the th's own overflow hard-clipped
476
+ it with no "...". Fill the wrapper, scoped to th so Menu's default
477
+ (correct everywhere else) is untouched. */
478
+ & th .menu { width: 100%; height: 100%; }
479
+ & .datatable-th-inner { display: inline-flex; align-items: center; gap: var(--space-1-5); width: 100%; min-width: 0; height: 100%; }
480
+ & .datatable-th-inner > svg { flex-shrink: 0; color: var(--fg-muted); }
481
+ /* Attio's summary cell has NO padding of its own -- the calculation trigger
482
+ owns the whole 246x37 area so a click anywhere in the cell opens the
483
+ menu. Zero the cell's inset and let ColumnCalc supply the 12px. */
484
+ & tfoot td { padding: 0; }
485
+ /* Group heading row -- Attio groups a view under a subtle label with the
486
+ bucket's count beside it. */
487
+ & .datatable-viewsettings { display: inline-flex; align-items: center; gap: var(--space-1-5); height: var(--size-row); margin: 0; padding: 0 var(--space-2); border: none; border-radius: var(--radius-md); background: transparent; color: var(--fg-muted); font-family: inherit; font-size: var(--text-md); font-weight: var(--weight-medium); white-space: nowrap; cursor: pointer; transition: background-color .12s, color .12s; }
488
+ & .datatable-viewsettings:hover { background: color-mix(in srgb, var(--fg-primary) 4%, transparent); color: var(--fg-primary); }
489
+ & .datatable-group-label { padding: var(--space-1-5) var(--space-2) var(--space-1); font-size: var(--text-sm); font-weight: var(--weight-medium); color: var(--fg-muted); }
490
+ & .datatable-group { height: var(--size-menuRow); padding: 0 var(--space-3); background: var(--bg-subtle); border-bottom: 1px solid var(--border-subtle); font-size: var(--text-md); font-weight: var(--weight-medium); color: color-mix(in srgb, var(--fg-primary) 63%, transparent); }
491
+ & .datatable-group-count { margin-inline-start: var(--space-1-5); color: var(--fg-muted); font-variant-numeric: tabular-nums; }
492
+ & .datatable-th-rename { width: 100%; min-width: 0; height: var(--size-row); margin: 0; padding: 0 var(--space-1); border: none; border-radius: var(--radius-md); background: var(--bg-surface); box-shadow: inset 0 0 0 1px var(--bg-brand-solid); font-family: inherit; font-size: var(--text-lg); font-weight: var(--weight-medium); color: var(--fg-primary); outline: none; }
493
+ & .datatable-th-rename:focus { box-shadow: inset 0 0 0 1px var(--bg-brand-solid); }
494
+ & .datatable-th-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
495
+ & .datatable-sort { display: flex; align-items: center; gap: var(--space-1-5); width: 100%; min-width: 0; height: 100%; margin: 0; padding: 0 var(--space-2); border: none; background: none; font: inherit; letter-spacing: inherit; color: inherit; text-align: start; cursor: pointer; }
496
+ & th[data-align="right"] .datatable-sort { justify-content: flex-end; }
497
+ & .datatable-chevron { margin-inline-start: auto; flex-shrink: 0; color: var(--fg-muted); opacity: 0; transition: opacity .12s; }
498
+ & th[data-align="right"] .datatable-chevron { margin-inline-start: 0; }
499
+ & .datatable-sort:hover .datatable-chevron { opacity: 0.6; }
500
+ & .datatable-sort[data-sorted] .datatable-chevron { opacity: 1; color: var(--fg-primary); }
501
+ /* sticky first column(s) + horizontal scroll shadow — RecordsTable's feel */
502
+ & th[data-sticky], & td[data-sticky] { position: sticky; z-index: 1; background: var(--bg-surface); }
503
+ & th[data-sticky] { z-index: 3; }
504
+ & tbody tr[data-selected] td[data-sticky] { background: color-mix(in srgb, var(--bg-brand-solid) 10%, var(--bg-surface)); }
505
+ & tbody tr:hover td[data-sticky] { background: color-mix(in srgb, var(--fg-primary) 4%, var(--bg-surface)); }
506
+ & .table-scroll[data-scrolled-x] [data-sticky-edge] { clip-path: inset(0 -38px 0 0); box-shadow: 6px 0 16px 4px rgba(0,0,0,0.12); }
507
+ /* add-row + summary footer */
508
+ & .datatable-addcell { padding: 0; border-top: none; }
509
+ & .datatable-addrow { display: flex; align-items: center; gap: var(--space-2); width: 100%; height: var(--size-tableRow); padding: 0 var(--space-2); border: none; border-top: 1px solid var(--border-subtle); background: var(--bg-surface); color: var(--fg-muted); font-family: inherit; font-size: var(--text-lg); cursor: pointer; transition: background-color .12s; }
510
+ & .datatable-addrow:hover { background: var(--bg-raised); color: var(--fg-primary); }
511
+ & .datatable-addrow svg { flex-shrink: 0; }
512
+ & .datatable-check { display: flex; align-items: center; justify-content: center; }
513
+ & .datatable-col-check { width: 40px; padding: 0; text-align: center; }
514
+ & tbody tr[data-selected] td { background: color-mix(in srgb, var(--bg-brand-solid) 10%, var(--bg-surface)); }
515
+ & tbody tr[data-selected]:hover td { background: color-mix(in srgb, var(--fg-primary) 4%, color-mix(in srgb, var(--bg-brand-solid) 10%, var(--bg-surface))); }
516
+ & .datatable-editable:hover { background: color-mix(in srgb, var(--fg-primary) 4%, var(--bg-surface)); cursor: text; }
517
+ & .datatable-edit { width: 100%; height: 28px; margin: 0; padding: 0 var(--space-1-5); border: none; border-radius: var(--radius-sm); background: var(--bg-surface); box-shadow: inset 0 0 0 1px var(--bg-brand-solid); font-family: inherit; font-size: var(--text-lg); color: var(--fg-primary); outline: none; vertical-align: middle; }
518
+ & .datatable-edit:focus { box-shadow: inset 0 0 0 1px var(--bg-brand-solid); }
519
+ & .datatable-empty { padding: var(--space-8) var(--space-3); text-align: center; color: var(--fg-muted); font-size: var(--text-lg); }
520
+ /* fixed layout so column widths (and resize) are exact — like RecordsTable */
521
+ & table { table-layout: fixed; }
522
+ /* column resize grip */
523
+ & .datatable-resize { position: absolute; top: 0; right: -3px; width: 9px; height: 100%; cursor: col-resize; z-index: 6; touch-action: none; }
524
+ & .datatable-resize::after { content: ""; position: absolute; top: 0; left: 3px; width: 2px; height: 100%; background: var(--bg-brand-solid); opacity: 0; transition: opacity .12s; }
525
+ & .datatable-resize:hover::after, & .datatable-resize[data-resizing]::after { opacity: 1; }
526
+ /* typed cells — entity (avatar + name), colour-coded tags, numbers, dates */
527
+ & .datatable-entity { display: flex; align-items: center; gap: var(--space-1-5); min-width: 0; color: var(--fg-primary); font-weight: var(--weight-medium); }
528
+ & .datatable-entity-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
529
+ & .datatable-avatar { width: var(--size-icon); height: var(--size-icon); border-radius: var(--radius-sm); flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; font-size: 10px; line-height: 1; font-weight: var(--weight-semibold); text-transform: uppercase; color: var(--fg-on-brand); background: var(--bg-brand-solid); }
530
+ & .datatable-avatar[data-tone="success"] { background: var(--bg-success); } & .datatable-avatar[data-tone="warning"] { background: var(--bg-warning); } & .datatable-avatar[data-tone="danger"] { background: var(--bg-danger); } & .datatable-avatar[data-tone="purple"] { background: var(--bg-purple); } & .datatable-avatar[data-tone="cyan"] { background: var(--bg-cyan); } & .datatable-avatar[data-tone="orange"] { background: var(--bg-orange); }
531
+ & .datatable-avatar img { width: 100%; height: 100%; border-radius: inherit; object-fit: cover; }
532
+ & .datatable-tags { display: flex; align-items: center; gap: var(--space-1); overflow: hidden; }
533
+ & .datatable-tag { display: inline-flex; align-items: center; height: var(--size-chip); padding: 0 var(--space-1); border-radius: var(--radius-chip); font-size: var(--text-lg); line-height: 20px; font-weight: var(--weight-medium); white-space: nowrap; background: color-mix(in srgb, var(--fg-primary) 6%, transparent); color: color-mix(in srgb, var(--fg-primary) 82%, transparent); }
534
+ & .datatable-tag[data-tone="brand"] { background: color-mix(in srgb, var(--bg-brand-solid) 14%, transparent); color: color-mix(in srgb, var(--bg-brand-solid) 82%, var(--fg-primary)); }
535
+ & .datatable-tag[data-tone="success"] { background: color-mix(in srgb, var(--bg-success) 16%, transparent); color: color-mix(in srgb, var(--bg-success) 78%, var(--fg-primary)); }
536
+ & .datatable-tag[data-tone="warning"] { background: color-mix(in srgb, var(--bg-warning) 18%, transparent); color: color-mix(in srgb, var(--bg-warning) 82%, var(--fg-primary)); }
537
+ & .datatable-tag[data-tone="danger"] { background: color-mix(in srgb, var(--bg-danger) 15%, transparent); color: color-mix(in srgb, var(--bg-danger) 80%, var(--fg-primary)); }
538
+ & .datatable-tag[data-tone="purple"] { background: color-mix(in srgb, var(--bg-purple) 16%, transparent); color: color-mix(in srgb, var(--bg-purple) 80%, var(--fg-primary)); }
539
+ & .datatable-tag[data-tone="cyan"] { background: color-mix(in srgb, var(--bg-cyan) 18%, transparent); color: color-mix(in srgb, var(--bg-cyan) 82%, var(--fg-primary)); }
540
+ & .datatable-tag[data-tone="orange"] { background: color-mix(in srgb, var(--bg-orange) 16%, transparent); color: color-mix(in srgb, var(--bg-orange) 82%, var(--fg-primary)); }
541
+ & .datatable-num { font-variant-numeric: tabular-nums; }
542
+ & .datatable-muted { color: var(--fg-muted); }
543
+ /* row drag-to-reorder -- Attio's Settings > Objects > Attributes measures
544
+ a leading 20px grip column, a 16px grip icon, and the row's own
545
+ hairline doubling as the drop indicator (it tints toward the brand
546
+ colour as the active drop target). The affordance + geometry are
547
+ measured; the drag MECHANISM is crisp's existing house idiom -- HTML5
548
+ draggable + dataTransfer, the same one column reorder already uses
549
+ (RecordsTable's reorderColumn) -- not Attio's own proprietary
550
+ pointer-events implementation. */
551
+ & .datatable-col-grip { width: 20px; padding: 0; text-align: center; }
552
+ & .datatable-grip { display: inline-flex; align-items: center; justify-content: center; width: 100%; height: 100%; margin: 0; border: none; border-radius: 0; background: none; font-family: inherit; color: var(--fg-muted); cursor: grab; }
553
+ & .datatable-grip:active { cursor: grabbing; }
554
+ & tbody tr[data-drop-target] td, & tbody tr[data-drop-target] th { box-shadow: inset 0 2px 0 0 var(--bg-brand-solid); transition: box-shadow .12s; }
555
+ }
556
+
557
+ @media (prefers-reduced-motion: reduce) {
558
+ .datatable, .datatable * {
559
+ animation-duration: 0.01ms !important;
560
+ animation-iteration-count: 1 !important;
561
+ transition-duration: 0.01ms !important;
562
+ }
563
+ }
564
+
565
+ .datepicker {
566
+
567
+ position: relative; box-sizing: border-box; width: 100%; min-width: 0;
568
+ font-family: var(--font-sans); color: var(--fg-primary); background: var(--bg-surface);
569
+
570
+ & .datepicker-header {
571
+ display: flex; align-items: center; justify-content: space-between;
572
+ height: var(--size-menuRow);
573
+ }
574
+ & .datepicker-header-label {
575
+ display: inline-flex; align-items: center; gap: var(--space-1);
576
+ height: 100%; min-width: 0; border: 0; padding: 0 var(--space-1);
577
+ border-radius: var(--radius-md); background: transparent; cursor: pointer;
578
+ color: var(--fg-primary); font-family: inherit;
579
+ font-size: var(--text-lg); line-height: 20px; font-weight: var(--weight-medium);
580
+ white-space: nowrap;
581
+ outline: 2px solid transparent; outline-offset: -2px;
582
+ transition: outline-color .2s ease;
583
+ }
584
+ & .datepicker-header-label:focus-visible { outline-color: var(--stroke-focus-ring); }
585
+ & .datepicker-header-chevron { display: inline-flex; transition: transform .2s ease; }
586
+ & .datepicker-header-chevron[data-open] { transform: rotate(180deg); }
587
+
588
+ & .datepicker-nav { display: flex; align-items: center; }
589
+ & .datepicker-nav-button {
590
+ display: inline-flex; align-items: center; justify-content: center;
591
+ width: var(--size-menuRow); height: var(--size-menuRow); padding: 0;
592
+ border: none; border-radius: var(--radius-md); background: none;
593
+ color: var(--fg-muted); font-family: inherit; cursor: pointer;
594
+ outline: 2px solid transparent; outline-offset: -2px;
595
+ transition: background-color .12s, outline-color .2s ease;
596
+ }
597
+ & .datepicker-nav-button:hover { background: var(--bg-raised); }
598
+ & .datepicker-nav-button:focus-visible { outline-color: var(--stroke-focus-ring); }
599
+ & .datepicker-nav-button:disabled { opacity: .4; cursor: not-allowed; }
600
+
601
+ & .datepicker-weekday-row {
602
+ display: grid; grid-template-columns: repeat(7, minmax(0, 1fr));
603
+ position: relative; z-index: 2; background: var(--bg-surface);
604
+ }
605
+ & .datepicker-weekday {
606
+ display: flex; align-items: center; justify-content: center;
607
+ height: var(--size-calendarCell); color: var(--fg-neutral-subtle);
608
+ font-size: var(--text-sm); line-height: 16px; font-weight: var(--weight-medium);
609
+ }
610
+
611
+ & .datepicker-months { display: grid; grid-template-columns: minmax(0, 1fr); align-items: start; min-width: 0; }
612
+ & .datepicker-months[data-wheel-open] { visibility: hidden; }
613
+ & .datepicker-month { min-width: 0; }
614
+ & .datepicker-month-label {
615
+ display: flex; align-items: center; height: 24px;
616
+ color: var(--fg-primary); font-size: var(--text-lg); line-height: 20px;
617
+ font-weight: var(--weight-medium);
618
+ }
619
+
620
+ & .datepicker-grid { display: grid; min-width: 0; }
621
+ & .datepicker-week-row { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
622
+
623
+ & .datepicker-cell {
624
+ position: relative; min-width: 0; min-height: var(--size-calendarCell);
625
+ isolation: isolate;
626
+ }
627
+ & .datepicker-empty-cell { min-height: var(--size-calendarCell); }
628
+
629
+ /* The bridge joining days inside a completed range.
630
+ The endpoints do NOT carry data-in-range -- only the interior days do --
631
+ so these are three independent rules, not a base plus two modifiers. A
632
+ modifier that sets only inset-inline-start never generates a pseudo
633
+ element on an endpoint, which leaves a half-cell of white between the
634
+ endpoint's pill and the run of grey beside it. Each rule declares its
635
+ own content. */
636
+ & .datepicker-cell[data-range-complete][data-in-range]::before {
637
+ content: ""; position: absolute; z-index: -1; inset-inline: 0;
638
+ top: calc((var(--size-calendarCell) - var(--size-calendarPill)) / 2); height: var(--size-calendarPill); background: var(--bg-neutral-weak);
639
+ }
640
+ & .datepicker-cell[data-range-complete][data-range-start]:not([data-range-end])::before {
641
+ content: ""; position: absolute; z-index: -1;
642
+ inset-inline-start: 50%; inset-inline-end: 0;
643
+ top: calc((var(--size-calendarCell) - var(--size-calendarPill)) / 2); height: var(--size-calendarPill); background: var(--bg-neutral-weak);
644
+ }
645
+ & .datepicker-cell[data-range-complete][data-range-end]:not([data-range-start])::before {
646
+ content: ""; position: absolute; z-index: -1;
647
+ inset-inline-start: 0; inset-inline-end: 50%;
648
+ top: calc((var(--size-calendarCell) - var(--size-calendarPill)) / 2); height: var(--size-calendarPill); background: var(--bg-neutral-weak);
649
+ }
650
+
651
+ & .datepicker-date {
652
+ position: relative; display: flex; width: 100%; height: 100%;
653
+ min-height: var(--size-calendarCell); min-width: 0;
654
+ align-items: flex-start; justify-content: center;
655
+ border: 0; padding: 0; background: transparent; cursor: pointer;
656
+ color: var(--fg-primary); font: inherit; outline: none;
657
+ isolation: isolate;
658
+ }
659
+ /* the round day highlight, behind the numeral */
660
+ & .datepicker-date::before {
661
+ content: ""; position: absolute; z-index: -1; top: calc((var(--size-calendarCell) - var(--size-calendarPill)) / 2); left: 50%;
662
+ width: var(--size-calendarPill); height: var(--size-calendarPill);
663
+ border-radius: var(--radius-md);
664
+ background: transparent; transform: translateX(-50%);
665
+ }
666
+ & .datepicker-date[data-today]::before { background: var(--bg-neutral-weak); }
667
+ & .datepicker-date[data-selected]::before { background: var(--bg-brand-solid); }
668
+ & .datepicker-date[data-selected] { color: var(--fg-on-brand); }
669
+ & .datepicker-date[data-in-range] { color: var(--fg-primary); }
670
+ & .datepicker-date[data-in-range]::before { background: transparent; }
671
+ & .datepicker-date[data-unavailable] { color: var(--fg-disabled); }
672
+ & .datepicker-date:disabled { color: var(--fg-disabled); cursor: not-allowed; }
673
+ & .datepicker-date:focus-visible::after {
674
+ content: ""; position: absolute; top: calc((var(--size-calendarCell) - var(--size-calendarPill)) / 2); left: 50%;
675
+ width: var(--size-calendarPill); height: var(--size-calendarPill);
676
+ transform: translateX(-50%); border-radius: var(--radius-md);
677
+ outline: 2px solid var(--stroke-focus-ring); outline-offset: -2px;
678
+ }
679
+
680
+ & .datepicker-date-content {
681
+ position: relative; z-index: 1; display: flex; width: 100%;
682
+ min-height: var(--size-calendarCell); min-width: 0; box-sizing: border-box;
683
+ flex-direction: column; align-items: center; gap: 3px;
684
+ padding-top: calc((var(--size-calendarCell) - var(--size-calendarPill)) / 2); color: inherit;
685
+ font-size: var(--text-lg); line-height: 20px; font-weight: var(--weight-medium);
686
+ font-variant-numeric: tabular-nums;
687
+ }
688
+ /* The numeral is its own 42px flex box so it centres on the 42px pill.
689
+ Without this the content column top-aligns the glyph and the pill reads
690
+ as offset — the cell is 48px, the pill 42px inset 3px, and only a
691
+ 42px-tall numeral box shares the pill's centre line. */
692
+ & .datepicker-date-content > [data-date-picker-day] {
693
+ display: flex; min-height: var(--size-calendarPill); flex-shrink: 0;
694
+ align-items: center; justify-content: center;
695
+ }
696
+
697
+ /* the year/month wheel, laid over the grid it replaces */
698
+ & .datepicker-wheel-container {
699
+ position: absolute; z-index: 1; inset-inline: 0;
700
+ top: var(--size-menuRow); bottom: 0;
701
+ display: flex; align-items: center; overflow: hidden;
702
+ background: var(--bg-surface);
703
+ }
704
+ & .datepicker-wheel { width: 100%; }
705
+
706
+ & .datepicker-continuous-scroll {
707
+ height: 100%; min-height: 0; overflow-y: auto;
708
+ overscroll-behavior: contain; scrollbar-width: none;
709
+ }
710
+ & .datepicker-continuous-scroll::-webkit-scrollbar { display: none; }
711
+ & .datepicker-continuous-content { display: flex; flex-direction: column; }
712
+
713
+ /* announced, never drawn */
714
+ & .datepicker-live-region {
715
+ position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
716
+ overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
717
+ }
718
+
719
+ }
720
+ .datepicker--visibleRange_month {
721
+
722
+ }
723
+ .datepicker--visibleRange_twoMonths {
724
+ & .datepicker-months { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--space-6); }
725
+ & .datepicker-two-month-header { display: flex; align-items: center; justify-content: space-between; height: var(--size-menuRow); }
726
+ & .datepicker-two-month-label { color: var(--fg-primary); font-size: var(--text-lg); line-height: 20px; font-weight: var(--weight-medium); }
727
+ }
728
+ .datepicker--visibleRange_week {
729
+
730
+ }
731
+ .datepicker--visibleRange_continuous {
732
+ & .datepicker-weekday-row { position: sticky; top: 0; }
733
+ }
734
+
735
+ @media (prefers-reduced-motion: reduce) {
736
+ .datepicker, .datepicker * {
737
+ animation-duration: 0.01ms !important;
738
+ animation-iteration-count: 1 !important;
739
+ transition-duration: 0.01ms !important;
740
+ }
741
+ }
742
+
743
+ .datepickerfield {
744
+
745
+ display: inline-flex; font-family: var(--font-sans);
746
+
747
+ & .datepickerfield-trigger {
748
+ display: inline-flex; align-items: center; gap: var(--space-2);
749
+ box-sizing: border-box; height: 32px; padding: 0 var(--space-2-5); margin: 0;
750
+ border: none; border-radius: var(--radius-md); background: transparent;
751
+ box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--fg-primary) 7%, transparent);
752
+ color: var(--fg-primary); font-family: inherit; font-size: var(--text-lg);
753
+ white-space: nowrap; cursor: pointer;
754
+ }
755
+ & .datepickerfield-trigger[data-ghost] { background: transparent; box-shadow: none; }
756
+ & .datepickerfield-trigger[data-ghost]:hover { background: color-mix(in srgb, var(--fg-primary) 4%, transparent); }
757
+ & .datepickerfield-trigger[data-placeholder] { color: var(--fg-muted); }
758
+ & .datepickerfield-trigger svg { flex-shrink: 0; color: var(--fg-muted); }
759
+
760
+ & .datepickerfield-panel { padding: var(--space-2); width: 300px; }
761
+ & .datepickerfield-presets { display: flex; flex-wrap: wrap; gap: var(--space-1); margin-top: var(--space-2); }
762
+ & .datepickerfield-preset {
763
+ height: var(--size-chip); padding: 0 var(--space-2); border: none;
764
+ border-radius: var(--radius-chip); background: var(--bg-raised); color: var(--fg-primary);
765
+ font-family: inherit; font-size: var(--text-sm); cursor: pointer;
766
+ }
767
+ & .datepickerfield-preset:hover { background: color-mix(in srgb, var(--fg-primary) 8%, transparent); }
768
+
769
+ }
770
+
771
+ .dialog {
772
+ display: contents; font-family: var(--font-sans);
773
+ & .dialog-backdrop { position: fixed; inset: 0; z-index: 60; background: transparent; }
774
+ & .dialog-positioner { position: fixed; inset: 0; z-index: 61; display: flex; align-items: flex-start; justify-content: center; padding: 15vh var(--space-4) var(--space-4); }
775
+ & .dialog-content { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; position: relative; display: flex; flex-direction: column; box-sizing: border-box; width: 90vw; max-height: 74vh; padding: var(--space-1); border-radius: var(--radius-2xl); background: color-mix(in srgb, var(--bg-overlay-frost) 60%, transparent); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); box-shadow: 0 8px 28px -6px var(--shadow-overlay1), 0 18px 88px -4px var(--shadow-overlay2), 0 0 1px var(--shadow-overlay3); opacity: 1; transform: scale(1); transition: opacity 0.2s ease, transform 0.2s ease; @starting-style { opacity: 0; transform: scale(0.97); } }
776
+ & .dialog-card { display: flex; flex-direction: column; flex: 1; min-height: 0; box-sizing: border-box; border-radius: var(--radius-xl); background: var(--bg-surface); box-shadow: 0 0 0 1px color-mix(in srgb, var(--fg-primary) 8%, transparent); overflow: hidden; }
777
+ & .dialog-header { display: flex; align-items: center; gap: var(--space-2); flex-shrink: 0; height: 52px; padding: 0 var(--space-2) 0 var(--space-4); border-bottom: 1px solid var(--border-subtle); }
778
+ & .dialog-header svg { flex-shrink: 0; color: var(--fg-muted); }
779
+ & .dialog-title { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: var(--text-lg); font-weight: var(--weight-medium); color: var(--fg-primary); }
780
+ & .dialog-close { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 28px; height: 28px; margin: 0; padding: 0; border: none; border-radius: var(--radius-md); background: none; color: var(--fg-muted); font-family: inherit; cursor: pointer; }
781
+ & .dialog-close:hover { background: color-mix(in srgb, var(--fg-primary) 6%, transparent); color: var(--fg-primary); }
782
+ & .dialog-body { flex: 1; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; gap: var(--space-4); padding: var(--space-5) var(--space-4); }
783
+ & .dialog-footer { display: flex; align-items: center; justify-content: flex-end; gap: var(--space-3); flex-shrink: 0; min-height: 56px; padding: 0 var(--space-4); border-top: 1px solid var(--border-subtle); }
784
+ & .dialog-field { display: flex; flex-direction: column; gap: var(--space-1-5); }
785
+ & .dialog-field-label { font-size: var(--text-sm); font-weight: var(--weight-medium); color: color-mix(in srgb, var(--fg-primary) 50%, transparent); }
786
+ & .dialog-more { display: inline-flex; align-items: center; gap: var(--space-2); margin-inline-end: auto; border: none; background: none; padding: 0; font-family: inherit; font-size: var(--text-md); color: var(--fg-muted); cursor: pointer; }
787
+ & .dialog-submit { display: inline-flex; align-items: center; gap: var(--space-2); height: 28px; padding: 0 var(--space-1) 0 var(--space-2-5); border: none; border-radius: var(--radius-md); background: var(--bg-brand-solid); color: var(--fg-on-brand); font-family: inherit; font-size: var(--text-md); font-weight: var(--weight-medium); cursor: pointer; }
788
+ & .dialog-submit-key { display: inline-flex; align-items: center; justify-content: center; height: 18px; padding: 0 var(--space-1); border-radius: var(--radius-sm); background: rgba(255,255,255,0.22); font-size: var(--text-xs); }
789
+ }
790
+
791
+ @media (prefers-reduced-motion: reduce) {
792
+ .dialog, .dialog * {
793
+ animation-duration: 0.01ms !important;
794
+ animation-iteration-count: 1 !important;
795
+ transition-duration: 0.01ms !important;
796
+ }
797
+ }
798
+
799
+ .divider {
800
+ flex-shrink: 0; border: none; margin: 0; background: var(--border-subtle);
801
+ &[data-orientation="horizontal"] { width: 100%; height: 1px; }
802
+ &[data-orientation="vertical"] { width: 1px; align-self: stretch; min-height: 1em; }
803
+ }
804
+
805
+ .donutchart {
806
+ display: inline-flex; align-items: center; gap: var(--space-4); box-sizing: border-box; font-family: var(--font-sans);
807
+ -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
808
+ & .donutchart-ring { position: relative; flex-shrink: 0; }
809
+ & .donutchart-svg { display: block; }
810
+ & .donutchart-seg { fill: none; transition: stroke-dasharray 0.3s ease; }
811
+ & .donutchart-track { fill: none; stroke: color-mix(in srgb, var(--fg-primary) 6%, transparent); }
812
+ & .donutchart-center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
813
+ & .donutchart-total { font-size: var(--text-xl); font-weight: var(--weight-semibold); letter-spacing: -0.3px; color: var(--fg-primary); }
814
+ & .donutchart-caption { font-size: var(--text-xs); color: var(--fg-muted); }
815
+ & .donutchart-legend { display: flex; flex-direction: column; gap: var(--space-1-5); min-width: 0; }
816
+ & .donutchart-item { display: inline-flex; align-items: center; gap: var(--space-2); font-size: var(--text-md); color: var(--fg-primary); }
817
+ & .donutchart-swatch { width: 10px; height: 10px; flex-shrink: 0; border-radius: 3px; }
818
+ & .donutchart-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--fg-muted); }
819
+ & .donutchart-val { flex-shrink: 0; font-weight: var(--weight-medium); color: var(--fg-primary); }
820
+ }
821
+
822
+ @media (prefers-reduced-motion: reduce) {
823
+ .donutchart, .donutchart * {
824
+ animation-duration: 0.01ms !important;
825
+ animation-iteration-count: 1 !important;
826
+ transition-duration: 0.01ms !important;
827
+ }
828
+ }
829
+
830
+ .drawer {
831
+ display: contents; font-family: var(--font-sans);
832
+ & .drawer-backdrop { position: fixed; inset: 0; z-index: 60; background: color-mix(in srgb, var(--fg-primary) 18%, transparent); opacity: 1; transition: opacity 0.2s ease; @starting-style { opacity: 0; } }
833
+ & .drawer-positioner { position: fixed; inset: 0; z-index: 61; display: flex; box-sizing: border-box; padding: var(--space-2); }
834
+ & .drawer-positioner[data-side="right"] { justify-content: flex-end; }
835
+ & .drawer-positioner[data-side="left"] { justify-content: flex-start; }
836
+ & .drawer-content { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; position: relative; display: flex; flex-direction: column; box-sizing: border-box; overflow: hidden; width: 420px; max-width: 100%; height: 100%; background: var(--bg-surface); border-radius: var(--radius-xl); box-shadow: inset 0 0 0 1px var(--ring-popover), 0 0 0 1px var(--shadow-popover1), 0 4px 8px -4px var(--shadow-popover2), 0 4px 12px -2px var(--shadow-popover3); transform: none; transition: transform 0.24s cubic-bezier(.32,.72,0,1); }
837
+ & .drawer-positioner[data-side="right"] .drawer-content { @starting-style { transform: translateX(calc(100% + var(--space-2))); } }
838
+ & .drawer-positioner[data-side="left"] .drawer-content { @starting-style { transform: translateX(calc(-100% - var(--space-2))); } }
839
+ & .drawer-header { display: flex; align-items: center; gap: var(--space-2); flex-shrink: 0; height: 52px; padding: 0 var(--space-2) 0 var(--space-4); border-bottom: 1px solid var(--border-subtle); }
840
+ & .drawer-header svg { flex-shrink: 0; color: var(--fg-muted); }
841
+ & .drawer-title { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: var(--text-lg); font-weight: var(--weight-semibold); color: var(--fg-primary); }
842
+ & .drawer-close { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 28px; height: 28px; margin: 0; padding: 0; border: none; border-radius: var(--radius-md); background: none; color: var(--fg-muted); font-family: inherit; cursor: pointer; }
843
+ & .drawer-close:hover { background: color-mix(in srgb, var(--fg-primary) 6%, transparent); color: var(--fg-primary); }
844
+ & .drawer-body { flex: 1; min-height: 0; overflow-y: auto; padding: var(--space-4); }
845
+ & .drawer-footer { display: flex; align-items: center; justify-content: flex-end; gap: var(--space-3); flex-shrink: 0; min-height: 56px; padding: 0 var(--space-4); border-top: 1px solid var(--border-subtle); }
846
+ }
847
+
848
+ @media (prefers-reduced-motion: reduce) {
849
+ .drawer, .drawer * {
850
+ animation-duration: 0.01ms !important;
851
+ animation-iteration-count: 1 !important;
852
+ transition-duration: 0.01ms !important;
853
+ }
854
+ }
855
+
856
+ .emptystate {
857
+ display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--space-1-5); box-sizing: border-box; padding: var(--space-8) var(--space-4); text-align: center; font-family: var(--font-sans);
858
+ & .emptystate-icon { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin-bottom: var(--space-1); border-radius: var(--radius-xl); background: color-mix(in srgb, var(--fg-primary) 5%, transparent); color: var(--fg-muted); }
859
+ & .emptystate-title { font-size: var(--text-lg); font-weight: var(--weight-semibold); color: var(--fg-primary); }
860
+ & .emptystate-desc { max-width: 320px; font-size: var(--text-md); color: var(--fg-muted); }
861
+ & .emptystate-action { margin-top: var(--space-2); }
862
+ }
863
+ .emptystate--variant_default {
864
+
865
+ }
866
+ .emptystate--variant_illustrated {
867
+ & .emptystate-icon { width: 132px; height: 96px; margin-bottom: var(--space-2); border-radius: 0; color: color-mix(in srgb, var(--fg-primary) 22%, transparent); background: radial-gradient(circle, color-mix(in srgb, var(--fg-primary) 12%, transparent) 1.2px, transparent 1.2px) 0 0 / 16px 16px; }
868
+ }
869
+ .emptystate--variant_page {
870
+ gap: var(--space-2);
871
+ & .emptystate-icon { width: 45px; height: 45px; margin-bottom: var(--space-2); border-radius: var(--radius-full); border: 1px solid var(--border-subtle); background: none; color: var(--fg-muted); }
872
+ & .emptystate-title { font-size: 20px; line-height: 24px; }
873
+ & .emptystate-desc { max-width: 266px; font-size: var(--text-lg); font-weight: var(--weight-medium); line-height: 20px; }
874
+ & .emptystate-action { margin-top: var(--space-2); }
875
+ }
876
+
877
+ .formfield {
878
+ display: flex; flex-direction: column; gap: var(--space-1-5); box-sizing: border-box; font-family: var(--font-sans);
879
+ & .formfield-label { display: inline-flex; align-items: center; gap: var(--space-1); font-size: var(--text-sm); font-weight: var(--weight-medium); color: var(--fg-muted); }
880
+ & .formfield-required { color: var(--bg-danger); }
881
+ & .formfield-optional { color: color-mix(in srgb, var(--fg-primary) 40%, transparent); font-weight: var(--weight-regular); }
882
+ & .formfield-desc { font-size: var(--text-sm); line-height: 16px; color: var(--fg-muted); }
883
+ & .formfield-error { font-size: var(--text-sm); line-height: 16px; color: var(--bg-danger); }
884
+ }
885
+
886
+ .input {
887
+
888
+ position: relative; box-sizing: border-box; display: inline-flex; align-items: center;
889
+ width: 100%; background: var(--bg-surface); box-shadow: inset 0 0 0 1px var(--ring-neutral), 0 0 2px rgba(28,40,64,0.18), 0 1px 3px rgba(0,0,0,0.04);
890
+ font-family: var(--font-sans); font-size: var(--text-lg); line-height: 20px;
891
+
892
+ &::after {
893
+ content: ""; position: absolute; inset: 0; border-radius: inherit;
894
+ border: 2px solid transparent; transition: border-color .1s ease;
895
+ pointer-events: none;
896
+ }
897
+ &:focus-within::after { border-color: var(--stroke-field-focus); }
898
+
899
+ & .input-value {
900
+ box-sizing: border-box; flex: 1 1 auto; min-width: 0; width: 100%;
901
+ align-self: stretch; margin: 0; border: none; background: none; outline: none;
902
+ font: inherit; color: var(--fg-primary);
903
+ }
904
+ & .input-value::placeholder { color: var(--fg-muted); }
905
+ & .input-value:disabled { opacity: 0.5; cursor: not-allowed; }
906
+ &:has(.input-value:disabled) { opacity: 1; }
907
+
908
+ }
909
+ .input--size_medium {
910
+ height: 32px; border-radius: var(--radius-md); & .input-value { padding-inline: var(--space-2-5); }
911
+ }
912
+ .input--size_large {
913
+ height: 36px; border-radius: 10px; & .input-value { padding-inline: var(--space-3); }
914
+ }
915
+ .input--invalid_true {
916
+ &::after { border-color: var(--bg-danger); } &:focus-within::after { border-color: var(--bg-danger); }
917
+ }
918
+ .input--invalid_false {
919
+
920
+ }
921
+
852
922
  @media (prefers-reduced-motion: reduce) {
853
- .multiselect, .multiselect * {
923
+ .input, .input * {
854
924
  animation-duration: 0.01ms !important;
855
925
  animation-iteration-count: 1 !important;
856
926
  transition-duration: 0.01ms !important;
857
927
  }
858
928
  }
859
929
 
930
+ .kbd {
931
+ box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; gap: var(--space-0-5); min-width: 20px; height: 20px; padding-inline: var(--space-1); border-radius: var(--radius-sm); font-family: var(--font-sans); font-size: var(--text-xs); font-weight: var(--weight-regular); color: color-mix(in srgb, var(--fg-primary) 50%, transparent); background: transparent; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--fg-primary) 6%, transparent);
932
+ }
933
+
860
934
  .linechart {
861
935
  display: flex; flex-direction: column; box-sizing: border-box; font-family: var(--font-sans); --linechart-yaxis-width: 34px;
862
936
  & .linechart-body { display: flex; flex: 1; min-height: 0; }
@@ -873,260 +947,172 @@
873
947
  & .linechart-axis-title { margin-top: var(--space-1); padding-inline-start: var(--linechart-yaxis-width); text-align: center; font-size: var(--text-sm); color: var(--fg-muted); }
874
948
  }
875
949
 
876
- .barchart {
877
- display: flex; flex-direction: column; box-sizing: border-box; font-family: var(--font-sans); --barchart-yaxis-width: 34px;
878
- & .barchart-body { display: flex; flex: 1; min-height: 0; }
879
- & .barchart-yaxis { position: relative; flex-shrink: 0; width: var(--barchart-yaxis-width); }
880
- & .barchart-ytick { position: absolute; inset-inline-end: var(--space-2); transform: translateY(50%); font-size: var(--text-xs); color: var(--fg-muted); white-space: nowrap; }
881
- & .barchart-plot { position: relative; flex: 1; min-width: 0; display: flex; align-items: flex-end; gap: var(--space-3); border-bottom: 1px solid var(--border-default); }
882
- & .barchart-grid { position: absolute; left: 0; right: 0; border-top: 1px dashed var(--border-subtle); pointer-events: none; }
883
- & .barchart-col { position: relative; flex: 1; min-width: 0; height: 100%; display: flex; align-items: flex-end; justify-content: center; }
884
- & .barchart-bar { width: 100%; max-width: 96px; border-radius: var(--radius-sm) var(--radius-sm) 0 0; background: var(--bg-brand-solid); transition: height 0.3s ease; }
885
- & .barchart-bar[data-empty] { min-height: 2px; opacity: 0.35; }
886
- & .barchart-xaxis { display: flex; gap: var(--space-3); margin-top: var(--space-1-5); }
887
- & .barchart-xaxis[data-inset] { padding-inline-start: var(--barchart-yaxis-width); }
888
- & .barchart-xlabel { flex: 1; min-width: 0; text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: var(--text-sm); color: var(--fg-muted); }
889
- & .barchart-axis-title { margin-top: var(--space-1); padding-inline-start: var(--barchart-yaxis-width); text-align: center; font-size: var(--text-sm); color: var(--fg-muted); }
890
- }
891
-
892
- @media (prefers-reduced-motion: reduce) {
893
- .barchart, .barchart * {
894
- animation-duration: 0.01ms !important;
895
- animation-iteration-count: 1 !important;
896
- transition-duration: 0.01ms !important;
897
- }
898
- }
950
+ .menu {
951
+
952
+ position: relative; display: inline-flex; font-family: var(--font-sans);
953
+ -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
899
954
 
900
- .segmented {
901
- position: relative; display: inline-flex; align-items: center; gap: var(--space-0-5); box-sizing: border-box; padding: var(--space-0-5); border-radius: var(--radius-lg); background: color-mix(in srgb, var(--fg-primary) 5%, transparent); font-family: var(--font-sans);
902
- & .segmented-thumb { position: absolute; top: var(--space-0-5); left: 0; height: 26px; border-radius: var(--radius-md); background: var(--bg-surface); box-shadow: inset 0 0 0 1px var(--border-subtle), 0 1px 2px rgba(0,0,0,0.06); pointer-events: none; z-index: 0; transition: transform .2s cubic-bezier(.4,0,.2,1), width .2s cubic-bezier(.4,0,.2,1); }
903
- & .segmented-item { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; gap: var(--space-1-5); height: 26px; padding: 0 var(--space-2-5); margin: 0; border: none; border-radius: var(--radius-md); background: none; color: var(--fg-muted); font-family: inherit; font-size: var(--text-md); font-weight: var(--weight-medium); white-space: nowrap; cursor: pointer; transition: color 0.15s ease; }
904
- & .segmented-item svg { flex-shrink: 0; }
905
- & .segmented-item:hover { color: var(--fg-primary); }
906
- & .segmented-item[data-selected] { color: var(--fg-primary); }
907
- & .segmented-item[disabled] { opacity: 0.4; cursor: default; }
908
- & .segmented-item--icon { width: 26px; padding: 0; }
909
- }
955
+ & .menu-content {
956
+ position: fixed; z-index: 60; box-sizing: border-box; display: flex; flex-direction: column; gap: var(--space-px);
957
+ min-width: 200px; max-height: 360px; overflow-y: auto; padding: var(--space-1);
958
+ border-radius: var(--radius-xl); background: var(--bg-popover);
959
+ box-shadow: inset 0 0 0 1px var(--ring-popover), 0 0 0 1px var(--shadow-popover1), 0 4px 8px -4px var(--shadow-popover2), 0 4px 12px -2px var(--shadow-popover3);
960
+ transform-origin: top left; opacity: 1; transform: none; transition: opacity .08s ease, transform .08s ease;
961
+ }
962
+ & .menu-content[data-align="end"] { transform-origin: top right; }
963
+ & .menu-content[data-up] { transform-origin: bottom left; }
964
+ & .menu-content[data-up][data-align="end"] { transform-origin: bottom right; }
965
+ & .menu-content { @starting-style { opacity: 0; transform: scale(0.97) translateY(-1px); } }
910
966
 
911
- @media (prefers-reduced-motion: reduce) {
912
- .segmented, .segmented * {
913
- animation-duration: 0.01ms !important;
914
- animation-iteration-count: 1 !important;
915
- transition-duration: 0.01ms !important;
916
- }
917
- }
967
+ & .menu-item {
968
+ box-sizing: border-box; display: flex; align-items: center; gap: var(--space-1-5); width: 100%; height: var(--size-menuRow); flex-shrink: 0;
969
+ margin: 0; padding: 0 var(--space-2); border: none; background: none; border-radius: var(--radius-md);
970
+ font-family: inherit; font-size: var(--text-lg); color: var(--fg-primary); text-align: start; cursor: pointer; white-space: nowrap;
971
+ }
972
+ & .menu-item svg { flex-shrink: 0; color: var(--fg-muted); }
973
+ & .menu-item:focus { outline: none; }
974
+ & .menu-item:hover:not([data-disabled]), & .menu-item:focus-visible:not([data-disabled]), & .menu-item[data-highlighted]:not([data-disabled]) { background: var(--bg-raised); }
975
+ & .menu-item[data-disabled] { opacity: 0.5; cursor: not-allowed; }
976
+ & .menu-item--danger { color: var(--bg-danger); }
977
+ & .menu-item--danger svg { color: var(--bg-danger); }
978
+ & .menu-item--danger:hover, & .menu-item--danger:focus-visible, & .menu-item--danger[data-highlighted] { background: color-mix(in srgb, var(--bg-danger) 10%, transparent); }
979
+ & .menu-item-label { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
980
+ & .menu-item-shortcut { flex-shrink: 0; margin-inline-start: var(--space-3); font-size: var(--text-sm); color: var(--fg-muted); letter-spacing: 0.02em; }
981
+ & .menu-item-check { flex-shrink: 0; color: var(--bg-brand-solid); }
982
+ & .menu-item-check--placeholder { width: 15px; }
918
983
 
919
- .accordion {
920
- display: flex; flex-direction: column; font-family: var(--font-sans);
921
- & .accordion-item { border-bottom: 1px solid var(--border-subtle); }
922
- & .accordion-trigger { display: flex; align-items: center; gap: var(--space-2); width: 100%; height: 44px; padding: 0 var(--space-1); margin: 0; border: none; background: none; color: var(--fg-primary); font-family: inherit; font-size: var(--text-lg); font-weight: var(--weight-medium); text-align: start; cursor: pointer; }
923
- & .accordion-trigger:hover { color: var(--fg-primary); }
924
- & .accordion-title { flex: 1; min-width: 0; }
925
- & .accordion-chevron { flex-shrink: 0; color: var(--fg-muted); transition: transform .2s ease; }
926
- & .accordion-trigger[aria-expanded="true"] .accordion-chevron { transform: rotate(180deg); }
927
- & .accordion-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .2s ease; }
928
- & .accordion-panel[data-open] { grid-template-rows: 1fr; }
929
- & .accordion-panel-inner { overflow: hidden; }
930
- & .accordion-content { padding: 0 var(--space-1) var(--space-3); font-size: var(--text-md); color: var(--fg-muted); }
984
+ & .menu-sep { height: 1px; flex-shrink: 0; border: none; margin: var(--space-1) calc(-1 * var(--space-1)); background: var(--border-subtle); }
985
+ & .menu-label { padding: var(--space-1-5) var(--space-2) var(--space-0-5); font-size: var(--text-sm); font-weight: var(--weight-medium); color: var(--fg-muted); }
986
+
931
987
  }
932
988
 
933
989
  @media (prefers-reduced-motion: reduce) {
934
- .accordion, .accordion * {
990
+ .menu, .menu * {
935
991
  animation-duration: 0.01ms !important;
936
992
  animation-iteration-count: 1 !important;
937
993
  transition-duration: 0.01ms !important;
938
994
  }
939
995
  }
940
996
 
941
- .tabletoolbar {
942
-
943
- display: contents; font-family: var(--font-sans); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
944
- & * { box-sizing: border-box; }
945
- & .tabletoolbar-toolbar { display: flex; align-items: center; gap: var(--space-1-5); padding: 0 var(--space-3) var(--space-2); }
946
- & .tabletoolbar-search { display: flex; align-items: center; gap: var(--space-1-5); height: var(--size-row); padding: 0 var(--space-2-5); border: none; border-radius: var(--radius-md); background: var(--bg-surface); box-shadow: inset 0 0 0 1px var(--border-subtle); color: var(--fg-muted); }
947
- & .tabletoolbar-search svg { flex-shrink: 0; }
948
- & .tabletoolbar-search input { border: none; outline: none; background: transparent; font-family: inherit; font-size: var(--text-md); color: var(--fg-primary); width: 180px; }
949
- & .tabletoolbar-search input::placeholder { color: var(--fg-muted); }
950
- & .tabletoolbar-tool { display: inline-flex; align-items: center; gap: var(--space-1); height: var(--size-row); margin: 0; padding: 0 var(--space-2); border: none; border-radius: var(--radius-md); background: transparent; box-shadow: inset 0 0 0 1px var(--border-default); color: var(--fg-primary); font-family: inherit; font-size: var(--text-md); font-weight: var(--weight-medium); cursor: pointer; transition: background-color .12s; }
951
- & .tabletoolbar-tool:hover { background: var(--bg-raised); }
952
- & .tabletoolbar-tool svg { flex-shrink: 0; color: var(--fg-muted); }
953
- & .tabletoolbar-tool--active { background: var(--bg-raised); }
954
- & .tabletoolbar-tool--ghost { box-shadow: none; background: color-mix(in srgb, var(--fg-primary) 3%, transparent); color: var(--fg-muted); }
955
- & .tabletoolbar-tool--ghost:hover { background: color-mix(in srgb, var(--fg-primary) 6%, transparent); }
956
- & .tabletoolbar-toolgroup { position: relative; display: inline-flex; }
957
- & .tabletoolbar-menu { position: absolute; top: calc(100% + var(--space-1)); left: 0; z-index: 30; min-width: 232px; padding: var(--space-1); border-radius: var(--radius-lg); background: var(--bg-popover); box-shadow: inset 0 0 0 1px var(--ring-popover), 0 0 0 1px var(--shadow-popover1), 0 4px 8px -4px var(--shadow-popover2), 0 4px 12px -2px var(--shadow-popover3); display: flex; flex-direction: column; gap: var(--space-px); transform-origin: top; opacity: 1; transform: none; transition: opacity .13s ease, transform .13s ease; }
958
- & .tabletoolbar-menu { @starting-style { opacity: 0; transform: scale(0.96); } }
959
- & .tabletoolbar-menu-head { padding: var(--space-1) var(--space-2) var(--space-0-5); font-size: var(--text-sm); font-weight: var(--weight-medium); color: var(--fg-muted); }
960
- & .tabletoolbar-sortpop { min-width: 460px; overflow: visible; padding: var(--space-1-5); gap: var(--space-1); }
961
- & .tabletoolbar-sort-empty { padding: var(--space-1) var(--space-1) var(--space-2); font-size: var(--text-md); color: var(--fg-muted); }
962
- & .tabletoolbar-sort-row { display: flex; align-items: center; gap: var(--space-1-5); }
963
- & .tabletoolbar-sort-grip { display: inline-flex; align-items: center; justify-content: center; width: 16px; height: 28px; flex-shrink: 0; margin-right: calc(-1 * var(--space-1)); padding: 0; border: none; background: none; color: var(--fg-muted); cursor: grab; }
964
- & .tabletoolbar-sort-grip:active { cursor: grabbing; }
965
- & .tabletoolbar-sort-grip:hover { color: var(--fg-primary); }
966
- & .tabletoolbar-sort-optlabel { display: inline-flex; align-items: center; gap: var(--space-1-5); min-width: 0; }
967
- & .tabletoolbar-sort-optlabel svg { flex-shrink: 0; color: var(--fg-muted); }
968
- & .tabletoolbar-sort-field { flex: 1; min-width: 0; }
969
- & .tabletoolbar-sort-dir { width: 136px; flex-shrink: 0; }
970
- & .tabletoolbar-sort-field .select-trigger, & .tabletoolbar-sort-dir .select-trigger { height: 28px; padding-right: var(--space-1); }
971
- & .tabletoolbar-sort-remove { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; flex-shrink: 0; padding: 0; margin: 0; border: none; border-radius: var(--radius-md); background: none; color: var(--fg-muted); cursor: pointer; transition: background-color .12s, color .12s; }
972
- & .tabletoolbar-sort-remove:hover { background: var(--bg-raised); color: var(--fg-primary); }
973
- & .tabletoolbar-sort-addrow { display: flex; padding: var(--space-0-5) 0; }
974
- & .tabletoolbar-sort-add { display: inline-flex; align-items: center; gap: var(--space-1-5); height: 28px; padding: 0 var(--space-2) 0 var(--space-1-5); margin: 0; border: none; border-radius: var(--radius-md); background: var(--bg-surface); box-shadow: inset 0 0 0 1px var(--ring-neutral), 0 0 2px rgba(28,40,64,0.18), 0 1px 3px rgba(0,0,0,0.04); font-family: inherit; font-size: var(--text-lg); font-weight: var(--weight-regular); color: var(--fg-primary); cursor: pointer; transition: background-color .12s; }
975
- & .tabletoolbar-sort-add:hover { background: var(--bg-raised); }
976
- & .tabletoolbar-sort-add svg { flex-shrink: 0; color: var(--fg-muted); }
977
- & .tabletoolbar-sort-foot { display: flex; padding: var(--space-1-5) var(--space-1) var(--space-0-5); }
978
- & .tabletoolbar-sort-learn { display: inline-flex; align-items: center; gap: var(--space-1-5); font-size: var(--text-lg); color: color-mix(in srgb, var(--fg-primary) 63%, transparent); text-decoration: none; }
979
- & .tabletoolbar-sort-learn svg { flex-shrink: 0; }
980
- & .tabletoolbar-sort-learn:hover { color: var(--fg-primary); }
981
- & .tabletoolbar-menu-item { display: flex; align-items: center; gap: var(--space-2); width: 100%; height: var(--size-row); margin: 0; padding: 0 var(--space-2); border: none; background: none; border-radius: var(--radius-md); font-family: inherit; font-size: var(--text-lg); color: var(--fg-primary); text-align: left; cursor: pointer; }
982
- & .tabletoolbar-menu-item:hover { background: var(--bg-raised); }
983
- & .tabletoolbar-menu-item:disabled { opacity: 0.4; cursor: default; }
984
- & .tabletoolbar-menu-item:disabled:hover { background: none; }
985
- & .tabletoolbar-menu-item svg { flex-shrink: 0; color: var(--fg-muted); }
986
- & .tabletoolbar-menu-item[data-on] svg { color: var(--bg-brand-solid); }
987
- & .tabletoolbar-menu-item .tabletoolbar-menu-check { margin-left: auto; }
988
- & .tabletoolbar-menu-input { height: var(--size-row); margin: var(--space-0-5); padding: 0 var(--space-2); border: none; border-radius: var(--radius-md); box-shadow: inset 0 0 0 1px var(--border-subtle); background: var(--bg-surface); font-family: inherit; font-size: var(--text-lg); color: var(--fg-primary); outline: none; }
989
- & .tabletoolbar-menu-sep { height: 1px; background: var(--border-subtle); margin: var(--space-0-5) 0; }
990
- & .tabletoolbar-menu--up { top: auto; bottom: calc(100% + var(--space-1)); transform-origin: bottom; }
991
- & .tabletoolbar-menu--right { left: auto; right: 0; }
992
- & .tabletoolbar-menu--fixed { position: fixed; top: auto; left: auto; z-index: 40; }
993
- & .tabletoolbar-menu--hdr { min-width: 200px; }
994
- & .tabletoolbar-menu-item--danger { color: var(--bg-danger); }
995
- & .tabletoolbar-menu-item--danger svg { color: var(--bg-danger); }
996
- & .tabletoolbar-menu-item--danger:hover { background: color-mix(in srgb, var(--bg-danger) 10%, transparent); }
997
- & .tabletoolbar-menu-check { margin-left: auto; color: var(--bg-brand-solid); }
998
- & .tabletoolbar-fchip { display: inline-flex; align-items: center; height: var(--size-row); padding-right: var(--space-1); border-radius: var(--radius-md); box-shadow: inset 0 0 0 1px var(--border-default); background: var(--bg-surface); font-size: var(--text-md); color: var(--fg-primary); white-space: nowrap; }
999
- & .tabletoolbar-fchip-main { display: inline-flex; align-items: center; gap: var(--space-1-5); height: 100%; margin: 0; padding: 0 var(--space-1) 0 var(--space-2); border: none; background: none; font-family: inherit; font-size: var(--text-md); color: var(--fg-primary); cursor: pointer; }
1000
- & .tabletoolbar-fchip-field { font-weight: var(--weight-medium); }
1001
- & .tabletoolbar-fchip-op { color: var(--fg-muted); }
1002
- & .tabletoolbar-fchip-val { font-weight: var(--weight-medium); max-width: 140px; overflow: hidden; text-overflow: ellipsis; }
1003
- & .tabletoolbar-fchip-x { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; padding: 0; border: none; border-radius: var(--radius-sm); background: none; color: var(--fg-muted); cursor: pointer; }
1004
- & .tabletoolbar-fchip-x:hover { background: color-mix(in srgb, var(--fg-primary) 10%, transparent); color: var(--fg-primary); }
1005
- & .tabletoolbar-spacer { flex: 1; }
1006
- & .tabletoolbar-count { font-size: var(--text-md); color: var(--fg-muted); }
1007
- & .tabletoolbar-new { display: inline-flex; align-items: center; gap: var(--space-1); height: var(--size-row); padding: 0 var(--space-2-5); border: none; border-radius: var(--radius-md); background: var(--bg-brand-solid); color: var(--fg-on-brand); font-family: inherit; font-size: var(--text-md); font-weight: var(--weight-medium); cursor: pointer; transition: background-color .12s; }
1008
- & .tabletoolbar-new:hover { background: var(--bg-brand-solid-pressed); }
997
+ .multiselect {
1009
998
 
1010
- }
999
+ position: relative; display: inline-flex; width: 100%; font-family: var(--font-sans);
1000
+ -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
1011
1001
 
1012
- @media (prefers-reduced-motion: reduce) {
1013
- .tabletoolbar, .tabletoolbar * {
1014
- animation-duration: 0.01ms !important;
1015
- animation-iteration-count: 1 !important;
1016
- transition-duration: 0.01ms !important;
1017
- }
1018
- }
1002
+ & .multiselect-trigger {
1003
+ box-sizing: border-box; display: flex; align-items: center; gap: var(--space-1); width: 100%; min-width: 0; min-height: var(--size-menuRow);
1004
+ margin: 0; padding: var(--space-0-5) var(--space-1-5) var(--space-0-5) var(--space-2);
1005
+ border: none; border-radius: var(--radius-md); background: transparent; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--fg-primary) 7%, transparent);
1006
+ font-family: inherit; font-size: var(--text-lg); color: var(--fg-primary); cursor: pointer; text-align: start;
1007
+ transition: background-color .12s ease, box-shadow .12s ease;
1008
+ }
1009
+ & .multiselect-trigger:hover { background: var(--bg-raised); }
1010
+ & .multiselect-trigger[data-open], & .multiselect-trigger:focus-visible { outline: none; box-shadow: inset 0 0 0 1px var(--bg-brand-solid); background: var(--bg-surface); }
1011
+ & .multiselect-trigger:disabled { opacity: 0.5; cursor: not-allowed; }
1012
+ & .multiselect-chips { flex: 1; min-width: 0; display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-1); }
1013
+ & .multiselect-placeholder { color: var(--fg-muted); }
1014
+ & .multiselect-chevron { flex-shrink: 0; color: var(--fg-muted); transition: transform .15s ease; }
1015
+ & .multiselect-trigger[data-open] .multiselect-chevron { transform: rotate(180deg); }
1019
1016
 
1020
- .drawer {
1021
- display: contents; font-family: var(--font-sans);
1022
- & .drawer-backdrop { position: fixed; inset: 0; z-index: 60; background: color-mix(in srgb, var(--fg-primary) 18%, transparent); opacity: 1; transition: opacity 0.2s ease; @starting-style { opacity: 0; } }
1023
- & .drawer-positioner { position: fixed; inset: 0; z-index: 61; display: flex; box-sizing: border-box; padding: var(--space-2); }
1024
- & .drawer-positioner[data-side="right"] { justify-content: flex-end; }
1025
- & .drawer-positioner[data-side="left"] { justify-content: flex-start; }
1026
- & .drawer-content { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; position: relative; display: flex; flex-direction: column; box-sizing: border-box; overflow: hidden; width: 420px; max-width: 100%; height: 100%; background: var(--bg-surface); border-radius: var(--radius-xl); box-shadow: inset 0 0 0 1px var(--ring-popover), 0 0 0 1px var(--shadow-popover1), 0 4px 8px -4px var(--shadow-popover2), 0 4px 12px -2px var(--shadow-popover3); transform: none; transition: transform 0.24s cubic-bezier(.32,.72,0,1); }
1027
- & .drawer-positioner[data-side="right"] .drawer-content { @starting-style { transform: translateX(calc(100% + var(--space-2))); } }
1028
- & .drawer-positioner[data-side="left"] .drawer-content { @starting-style { transform: translateX(calc(-100% - var(--space-2))); } }
1029
- & .drawer-header { display: flex; align-items: center; gap: var(--space-2); flex-shrink: 0; height: 52px; padding: 0 var(--space-2) 0 var(--space-4); border-bottom: 1px solid var(--border-subtle); }
1030
- & .drawer-header svg { flex-shrink: 0; color: var(--fg-muted); }
1031
- & .drawer-title { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: var(--text-lg); font-weight: var(--weight-semibold); color: var(--fg-primary); }
1032
- & .drawer-close { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 28px; height: 28px; margin: 0; padding: 0; border: none; border-radius: var(--radius-md); background: none; color: var(--fg-muted); font-family: inherit; cursor: pointer; }
1033
- & .drawer-close:hover { background: color-mix(in srgb, var(--fg-primary) 6%, transparent); color: var(--fg-primary); }
1034
- & .drawer-body { flex: 1; min-height: 0; overflow-y: auto; padding: var(--space-4); }
1035
- & .drawer-footer { display: flex; align-items: center; justify-content: flex-end; gap: var(--space-3); flex-shrink: 0; min-height: 56px; padding: 0 var(--space-4); border-top: 1px solid var(--border-subtle); }
1017
+ & .multiselect-listbox {
1018
+ position: fixed; z-index: 60; box-sizing: border-box; display: flex; flex-direction: column; gap: var(--space-px);
1019
+ max-height: 300px; overflow-y: auto; padding: var(--space-1);
1020
+ border-radius: var(--radius-xl); background: var(--bg-popover);
1021
+ box-shadow: inset 0 0 0 1px var(--ring-popover), 0 0 0 1px var(--shadow-popover1), 0 4px 8px -4px var(--shadow-popover2), 0 4px 12px -2px var(--shadow-popover3);
1022
+ transform-origin: top left; opacity: 1; transform: none; transition: opacity .08s ease, transform .08s ease;
1023
+ }
1024
+ & .multiselect-listbox[data-up] { transform-origin: bottom left; }
1025
+ & .multiselect-listbox { @starting-style { opacity: 0; transform: scale(0.97) translateY(-1px); } }
1026
+ & .multiselect-search { display: flex; align-items: center; gap: var(--space-2); height: 34px; flex-shrink: 0; margin: calc(-1 * var(--space-1)) calc(-1 * var(--space-1)) var(--space-1); padding: 0 var(--space-2-5); border-bottom: 1px solid var(--border-subtle); color: var(--fg-muted); }
1027
+ & .multiselect-search svg { flex-shrink: 0; }
1028
+ & .multiselect-search input { flex: 1; min-width: 0; border: none; outline: none; background: none; font-family: inherit; font-size: var(--text-lg); color: var(--fg-primary); }
1029
+ & .multiselect-search input::placeholder { color: var(--fg-muted); }
1030
+ & .multiselect-option {
1031
+ box-sizing: border-box; display: flex; align-items: center; gap: var(--space-2); height: var(--size-menuRow); flex-shrink: 0;
1032
+ padding: 0 var(--space-2); margin: 0; border: none; background: none; border-radius: var(--radius-md); font-family: inherit; cursor: pointer; text-align: start;
1033
+ }
1034
+ & .multiselect-option[data-highlighted] { background: var(--bg-raised); }
1035
+ & .multiselect-option-chip { flex: 0 1 auto; min-width: 0; overflow: hidden; }
1036
+ & .multiselect-check { flex-shrink: 0; margin-inline-start: auto; display: inline-flex; align-items: center; justify-content: center; width: 16px; height: 16px; border-radius: var(--radius-sm); box-shadow: inset 0 0 0 1.5px var(--border-default); color: transparent; }
1037
+ & .multiselect-option[aria-selected="true"] .multiselect-check { background: var(--bg-brand-solid); box-shadow: none; color: #fff; }
1038
+ & .multiselect-empty { padding: var(--space-3) var(--space-2); text-align: center; font-size: var(--text-md); color: var(--fg-muted); }
1039
+
1040
+ & .recordstable-tag { display: inline-flex; align-items: center; height: var(--size-chip); padding: 0 var(--space-1); border-radius: var(--radius-chip); font-size: var(--text-lg); line-height: 20px; font-weight: var(--weight-medium); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; background: color-mix(in srgb, var(--fg-primary) 6%, transparent); color: color-mix(in srgb, var(--fg-primary) 82%, transparent); }
1041
+ & .recordstable-tag[data-tone="brand"] { background: color-mix(in srgb, var(--bg-brand-solid) 14%, transparent); color: color-mix(in srgb, var(--bg-brand-solid) 82%, var(--fg-primary)); }
1042
+ & .recordstable-tag[data-tone="success"] { background: color-mix(in srgb, var(--bg-success) 16%, transparent); color: color-mix(in srgb, var(--bg-success) 78%, var(--fg-primary)); }
1043
+ & .recordstable-tag[data-tone="warning"] { background: color-mix(in srgb, var(--bg-warning) 18%, transparent); color: color-mix(in srgb, var(--bg-warning) 82%, var(--fg-primary)); }
1044
+ & .recordstable-tag[data-tone="danger"] { background: color-mix(in srgb, var(--bg-danger) 15%, transparent); color: color-mix(in srgb, var(--bg-danger) 80%, var(--fg-primary)); }
1045
+ & .recordstable-tag[data-tone="purple"] { background: color-mix(in srgb, var(--bg-purple) 16%, transparent); color: color-mix(in srgb, var(--bg-purple) 80%, var(--fg-primary)); }
1046
+ & .recordstable-tag[data-tone="cyan"] { background: color-mix(in srgb, var(--bg-cyan) 18%, transparent); color: color-mix(in srgb, var(--bg-cyan) 82%, var(--fg-primary)); }
1047
+ & .recordstable-tag[data-tone="orange"] { background: color-mix(in srgb, var(--bg-orange) 16%, transparent); color: color-mix(in srgb, var(--bg-orange) 82%, var(--fg-primary)); }
1048
+
1036
1049
  }
1037
1050
 
1038
1051
  @media (prefers-reduced-motion: reduce) {
1039
- .drawer, .drawer * {
1052
+ .multiselect, .multiselect * {
1040
1053
  animation-duration: 0.01ms !important;
1041
1054
  animation-iteration-count: 1 !important;
1042
1055
  transition-duration: 0.01ms !important;
1043
1056
  }
1044
1057
  }
1045
1058
 
1046
- .statcard {
1047
- display: flex; flex-direction: column; gap: var(--space-1-5); box-sizing: border-box; font-family: var(--font-sans);
1048
- -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
1049
- & .statcard-label { display: inline-flex; align-items: center; gap: var(--space-1-5); font-size: var(--text-sm); font-weight: var(--weight-medium); color: var(--fg-muted); }
1050
- & .statcard-label svg { color: var(--fg-muted); }
1051
- & .statcard-value { font-size: 28px; line-height: 32px; font-weight: var(--weight-semibold); letter-spacing: -0.4px; color: var(--fg-primary); }
1052
- & .statcard-foot { display: inline-flex; align-items: center; gap: var(--space-1-5); font-size: var(--text-sm); color: var(--fg-muted); }
1053
- & .statcard-delta { display: inline-flex; align-items: center; gap: 2px; height: 20px; padding: 0 var(--space-1); border-radius: var(--radius-sm); font-size: var(--text-sm); font-weight: var(--weight-medium); }
1054
- & .statcard-delta svg { flex-shrink: 0; }
1055
- & .statcard-delta[data-trend="up"] { background: color-mix(in srgb, var(--bg-success) 16%, transparent); color: color-mix(in srgb, var(--bg-success) 80%, var(--fg-primary)); }
1056
- & .statcard-delta[data-trend="down"] { background: color-mix(in srgb, var(--bg-danger) 15%, transparent); color: color-mix(in srgb, var(--bg-danger) 80%, var(--fg-primary)); }
1057
- & .statcard-delta[data-trend="flat"] { background: color-mix(in srgb, var(--fg-primary) 6%, transparent); color: var(--fg-muted); }
1058
- }
1059
- .statcard--card_true {
1060
- padding: var(--space-4); border-radius: var(--radius-xl); background: var(--bg-surface); box-shadow: inset 0 0 0 1px var(--border-subtle);
1061
- }
1062
- .statcard--card_false {
1063
-
1059
+ .popover {
1060
+ display: contents; font-family: var(--font-sans);
1061
+ & .popover-content { position: fixed; z-index: 60; box-sizing: border-box; min-width: 200px; max-width: min(360px, 92vw); padding: var(--space-1); border-radius: var(--radius-xl); background: var(--bg-popover); color: var(--fg-primary); box-shadow: inset 0 0 0 1px var(--ring-popover), 0 0 0 1px var(--shadow-popover1), 0 4px 8px -4px var(--shadow-popover2), 0 4px 12px -2px var(--shadow-popover3); opacity: 1; transform: none; transition: opacity 0.08s ease, transform 0.08s ease; transform-origin: top left; @starting-style { opacity: 0; transform: scale(0.97) translateY(-1px); } }
1062
+ & .popover-content[data-align="end"] { transform-origin: top right; }
1063
+ & .popover-content[data-up] { transform-origin: bottom left; }
1064
1064
  }
1065
1065
 
1066
- .input {
1067
-
1068
- position: relative; box-sizing: border-box; display: inline-flex; align-items: center;
1069
- width: 100%; background: var(--bg-surface); box-shadow: inset 0 0 0 1px var(--ring-neutral), 0 0 2px rgba(28,40,64,0.18), 0 1px 3px rgba(0,0,0,0.04);
1070
- font-family: var(--font-sans); font-size: var(--text-lg); line-height: 20px;
1071
-
1072
- &::after {
1073
- content: ""; position: absolute; inset: 0; border-radius: inherit;
1074
- border: 2px solid transparent; transition: border-color .1s ease;
1075
- pointer-events: none;
1076
- }
1077
- &:focus-within::after { border-color: var(--stroke-field-focus); }
1078
-
1079
- & .input-value {
1080
- box-sizing: border-box; flex: 1 1 auto; min-width: 0; width: 100%;
1081
- align-self: stretch; margin: 0; border: none; background: none; outline: none;
1082
- font: inherit; color: var(--fg-primary);
1083
- }
1084
- & .input-value::placeholder { color: var(--fg-muted); }
1085
- & .input-value:disabled { opacity: 0.5; cursor: not-allowed; }
1086
- &:has(.input-value:disabled) { opacity: 1; }
1087
-
1088
- }
1089
- .input--size_medium {
1090
- height: 32px; border-radius: var(--radius-md); & .input-value { padding-inline: var(--space-2-5); }
1091
- }
1092
- .input--size_large {
1093
- height: 36px; border-radius: 10px; & .input-value { padding-inline: var(--space-3); }
1094
- }
1095
- .input--invalid_true {
1096
- &::after { border-color: var(--bg-danger); } &:focus-within::after { border-color: var(--bg-danger); }
1066
+ @media (prefers-reduced-motion: reduce) {
1067
+ .popover, .popover * {
1068
+ animation-duration: 0.01ms !important;
1069
+ animation-iteration-count: 1 !important;
1070
+ transition-duration: 0.01ms !important;
1071
+ }
1097
1072
  }
1098
- .input--invalid_false {
1099
-
1073
+
1074
+ .progress {
1075
+ display: block; box-sizing: border-box; height: 6px; border-radius: var(--radius-full); background: color-mix(in srgb, var(--fg-primary) 8%, transparent); overflow: hidden;
1076
+ & .progress-fill { display: block; height: 100%; border-radius: var(--radius-full); background: var(--bg-brand-solid); transition: width 0.25s ease; }
1077
+ &[data-segmented] { display: flex; gap: var(--space-1); background: transparent; overflow: visible; }
1078
+ &[data-segmented] .progress-seg { flex: 1; height: 100%; border-radius: var(--radius-full); background: color-mix(in srgb, var(--fg-primary) 8%, transparent); transition: background 0.2s; }
1079
+ &[data-segmented] .progress-seg[data-filled] { background: var(--bg-brand-solid); }
1100
1080
  }
1101
1081
 
1102
1082
  @media (prefers-reduced-motion: reduce) {
1103
- .input, .input * {
1083
+ .progress, .progress * {
1104
1084
  animation-duration: 0.01ms !important;
1105
1085
  animation-iteration-count: 1 !important;
1106
1086
  transition-duration: 0.01ms !important;
1107
1087
  }
1108
1088
  }
1109
1089
 
1110
- .toast {
1111
- display: contents; font-family: var(--font-sans);
1112
- & .toast-viewport { position: fixed; z-index: 80; inset-inline-end: var(--space-4); bottom: var(--space-4); display: flex; flex-direction: column; gap: var(--space-2); width: 360px; max-width: calc(100vw - var(--space-8)); pointer-events: none; }
1113
- & .toast { pointer-events: auto; display: flex; align-items: flex-start; gap: var(--space-2-5); box-sizing: border-box; padding: var(--space-3); border-radius: var(--radius-xl); background: var(--bg-raised); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--fg-primary) 5%, transparent), 0 8px 28px -6px rgba(28,40,64,0.16), 0 2px 6px -2px rgba(28,40,64,0.10); opacity: 1; transform: translateY(0); transition: opacity 0.15s ease, transform 0.15s ease; @starting-style { opacity: 0; transform: translateY(8px); } }
1114
- & .toast-icon { flex-shrink: 0; margin-top: 1px; display: inline-flex; color: var(--fg-muted); }
1115
- & .toast[data-tone="info"] .toast-icon { color: var(--bg-brand-solid); }
1116
- & .toast[data-tone="success"] .toast-icon { color: var(--bg-success); }
1117
- & .toast[data-tone="warning"] .toast-icon { color: var(--bg-warning); }
1118
- & .toast[data-tone="danger"] .toast-icon { color: var(--bg-danger); }
1119
- & .toast-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
1120
- & .toast-title { font-size: var(--text-md); font-weight: var(--weight-semibold); color: var(--fg-primary); }
1121
- & .toast-desc { font-size: var(--text-md); color: var(--fg-muted); }
1122
- & .toast-action { align-self: flex-start; margin-top: var(--space-1-5); height: 24px; padding: 0 var(--space-2); border: none; border-radius: var(--radius-md); background: color-mix(in srgb, var(--fg-primary) 6%, transparent); color: var(--fg-primary); font-family: inherit; font-size: var(--text-sm); font-weight: var(--weight-medium); cursor: pointer; }
1123
- & .toast-action:hover { background: color-mix(in srgb, var(--fg-primary) 10%, transparent); }
1124
- & .toast-close { flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; margin: -2px -2px 0 0; padding: 0; border: none; border-radius: var(--radius-md); background: none; color: var(--fg-muted); font-family: inherit; cursor: pointer; }
1125
- & .toast-close:hover { background: color-mix(in srgb, var(--fg-primary) 6%, transparent); color: var(--fg-primary); }
1090
+ .radiogroup {
1091
+
1092
+ display: flex; flex-direction: column; gap: var(--space-1); font-family: var(--font-sans);
1093
+ -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
1094
+
1095
+ & .radio { display: flex; align-items: center; gap: var(--space-2); margin: 0; padding: var(--space-1) var(--space-1); border: none; background: none; border-radius: var(--radius-md); font-family: inherit; font-size: var(--text-lg); color: var(--fg-primary); text-align: start; cursor: pointer; }
1096
+ & .radio:disabled { opacity: 0.5; cursor: not-allowed; }
1097
+ & .radio:focus-visible { outline: none; }
1098
+ & .radio-dot { position: relative; flex-shrink: 0; width: 16px; height: 16px; border-radius: var(--radius-full); box-shadow: inset 0 0 0 1.5px var(--border-default); transition: box-shadow .12s ease; }
1099
+ & .radio:hover .radio-dot { box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--fg-primary) 40%, transparent); }
1100
+ & .radio[data-checked] .radio-dot { box-shadow: inset 0 0 0 1.5px var(--bg-brand-solid); }
1101
+ & .radio[data-checked] .radio-dot::after { content: ""; position: absolute; inset: 0; margin: auto; width: 8px; height: 8px; border-radius: var(--radius-full); background: var(--bg-brand-solid); }
1102
+ & .radio:focus-visible .radio-dot { outline: 2px solid var(--bg-brand-solid); outline-offset: 2px; }
1103
+ & .radio-label { min-width: 0; }
1104
+
1105
+ &[data-variant="card"] { flex-direction: row; flex-wrap: wrap; gap: var(--space-3); }
1106
+ &[data-variant="card"] .radio { flex: 1 1 150px; min-width: 150px; flex-direction: column; align-items: stretch; gap: 0; padding: 0; border-radius: var(--radius-2xl); box-shadow: inset 0 0 0 1px var(--border-default); overflow: hidden; transition: box-shadow .12s ease; }
1107
+ &[data-variant="card"] .radio:hover { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--fg-primary) 22%, transparent); }
1108
+ &[data-variant="card"] .radio[data-checked] { box-shadow: inset 0 0 0 1px var(--bg-brand-solid); }
1109
+ &[data-variant="card"] .radio-preview { flex: 1; min-height: 0; background: var(--bg-raised); }
1110
+ &[data-variant="card"] .radio-cardfoot { display: flex; align-items: center; gap: var(--space-2); padding: var(--space-2) var(--space-2-5); border-top: 1px solid var(--border-subtle); font-size: var(--text-md); font-weight: var(--weight-medium); }
1111
+
1126
1112
  }
1127
1113
 
1128
1114
  @media (prefers-reduced-motion: reduce) {
1129
- .toast, .toast * {
1115
+ .radiogroup, .radiogroup * {
1130
1116
  animation-duration: 0.01ms !important;
1131
1117
  animation-iteration-count: 1 !important;
1132
1118
  transition-duration: 0.01ms !important;
@@ -1187,231 +1173,154 @@
1187
1173
  }
1188
1174
  }
1189
1175
 
1190
- .wheelpicker {
1191
-
1192
- position: relative; box-sizing: border-box; width: 100%; overflow: hidden;
1193
- background: var(--bg-surface); font-family: var(--font-sans);
1194
-
1195
- /* the band the selected row sits in; behind the items, never hit-tested */
1196
- & .wheelpicker-indicator {
1197
- position: absolute; z-index: 0; inset-inline: var(--space-4); top: 50%;
1198
- transform: translateY(-50%); border-radius: var(--radius-md);
1199
- background: var(--bg-neutral-weak); pointer-events: none;
1200
- }
1201
-
1202
- /* fades the rows furthest from the centre, so the column reads as a wheel
1203
- rather than a list. 40% of the viewport, capped, top and bottom. */
1204
- & .wheelpicker-fog {
1205
- position: relative; z-index: 1; height: 100%; overflow: hidden;
1206
- mask-image: linear-gradient(
1207
- to bottom,
1208
- transparent 0,
1209
- #000 var(--wheelpicker-fog),
1210
- #000 calc(100% - var(--wheelpicker-fog)),
1211
- transparent 100%
1212
- );
1213
- }
1214
- & .wheelpicker-columns { display: flex; width: 100%; height: 100%; justify-content: center; }
1215
-
1216
- & .wheelpicker-column {
1217
- box-sizing: border-box; flex: 0 0 auto; width: max-content; height: 100%;
1218
- overflow-x: hidden; overflow-y: auto;
1219
- overscroll-behavior-y: contain; overscroll-behavior-x: none;
1220
- scroll-snap-type: y mandatory; touch-action: pan-y;
1221
- scrollbar-width: none; -ms-overflow-style: none; outline: none;
1222
- padding-block: var(--wheelpicker-offset);
1223
- }
1224
- & .wheelpicker-column::-webkit-scrollbar { display: none; }
1225
-
1226
- & .wheelpicker-item {
1227
- display: flex; align-items: center; justify-content: center;
1228
- scroll-snap-align: center; user-select: none; white-space: nowrap;
1229
- padding-inline: var(--space-4); color: var(--fg-disabled);
1230
- background: none; border: none; font: inherit; cursor: pointer;
1231
- }
1232
- & .wheelpicker-item[data-selected] { color: var(--fg-primary); }
1233
-
1234
- /* the ring is drawn on the SELECTED row, and only for keyboard focus:
1235
- a pointer user has just tapped the row they meant and does not need it */
1236
- & .wheelpicker-column:focus-visible .wheelpicker-item[data-selected] {
1237
- outline: 2px solid var(--stroke-focus-ring); outline-offset: -2px;
1238
- border-radius: var(--radius-md);
1239
- }
1240
-
1241
- }
1242
- .wheelpicker--size_small {
1243
-
1244
- height: 180px; --wheelpicker-offset: 72px;
1245
- --wheelpicker-fog: min(40%, 108px);
1246
- & .wheelpicker-indicator { height: 36px; }
1247
- & .wheelpicker-item { height: 36px; min-height: 36px; font-size: 20px; line-height: 27px; }
1248
-
1176
+ .segmented {
1177
+ position: relative; display: inline-flex; align-items: center; gap: var(--space-0-5); box-sizing: border-box; padding: var(--space-0-5); border-radius: var(--radius-lg); background: color-mix(in srgb, var(--fg-primary) 5%, transparent); font-family: var(--font-sans);
1178
+ & .segmented-thumb { position: absolute; top: var(--space-0-5); left: 0; height: 26px; border-radius: var(--radius-md); background: var(--bg-surface); box-shadow: inset 0 0 0 1px var(--border-subtle), 0 1px 2px rgba(0,0,0,0.06); pointer-events: none; z-index: 0; transition: transform .2s cubic-bezier(.4,0,.2,1), width .2s cubic-bezier(.4,0,.2,1); }
1179
+ & .segmented-item { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; gap: var(--space-1-5); height: 26px; padding: 0 var(--space-2-5); margin: 0; border: none; border-radius: var(--radius-md); background: none; color: var(--fg-muted); font-family: inherit; font-size: var(--text-md); font-weight: var(--weight-medium); white-space: nowrap; cursor: pointer; transition: color 0.15s ease; }
1180
+ & .segmented-item svg { flex-shrink: 0; }
1181
+ & .segmented-item:hover { color: var(--fg-primary); }
1182
+ & .segmented-item[data-selected] { color: var(--fg-primary); }
1183
+ & .segmented-item[disabled] { opacity: 0.4; cursor: default; }
1184
+ & .segmented-item--icon { width: 26px; padding: 0; }
1249
1185
  }
1250
- .wheelpicker--size_medium {
1251
-
1252
- height: 220px; --wheelpicker-offset: 88px;
1253
- --wheelpicker-fog: min(40%, 132px);
1254
- & .wheelpicker-indicator { height: 44px; }
1255
- & .wheelpicker-item { height: 44px; min-height: 44px; font-size: 26px; line-height: 35px; }
1256
-
1186
+
1187
+ @media (prefers-reduced-motion: reduce) {
1188
+ .segmented, .segmented * {
1189
+ animation-duration: 0.01ms !important;
1190
+ animation-iteration-count: 1 !important;
1191
+ transition-duration: 0.01ms !important;
1192
+ }
1257
1193
  }
1258
1194
 
1259
- .menu {
1195
+ .select {
1260
1196
 
1261
1197
  position: relative; display: inline-flex; font-family: var(--font-sans);
1262
1198
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
1263
1199
 
1264
- & .menu-content {
1200
+ & .select-trigger {
1201
+ box-sizing: border-box; display: inline-flex; align-items: center; gap: var(--space-1-5);
1202
+ height: var(--size-menuRow); width: 100%; min-width: 0; margin: 0; padding: 0 var(--space-1-5) 0 var(--space-2);
1203
+ border: none; border-radius: var(--radius-md); background: transparent; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--fg-primary) 7%, transparent);
1204
+ font-family: inherit; font-size: var(--text-lg); color: var(--fg-primary); cursor: pointer;
1205
+ transition: background-color .12s ease, box-shadow .12s ease;
1206
+ }
1207
+ & .select-trigger:hover { background: var(--bg-raised); }
1208
+ & .select-trigger[data-open], & .select-trigger:focus-visible { outline: none; box-shadow: inset 0 0 0 1px var(--bg-brand-solid); background: var(--bg-surface); }
1209
+ & .select-trigger:disabled { opacity: 0.5; cursor: not-allowed; }
1210
+ & .select-value { flex: 1; min-width: 0; display: inline-flex; align-items: center; gap: var(--space-1-5); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: start; }
1211
+ & .select-placeholder { color: var(--fg-muted); }
1212
+ & .select-chevron { flex-shrink: 0; color: var(--fg-muted); transition: transform .15s ease; }
1213
+ & .select-trigger[data-open] .select-chevron { transform: rotate(180deg); }
1214
+
1215
+ & .select-listbox {
1265
1216
  position: fixed; z-index: 60; box-sizing: border-box; display: flex; flex-direction: column; gap: var(--space-px);
1266
- min-width: 200px; max-height: 360px; overflow-y: auto; padding: var(--space-1);
1217
+ max-height: 280px; overflow-y: auto; padding: var(--space-1);
1267
1218
  border-radius: var(--radius-xl); background: var(--bg-popover);
1268
1219
  box-shadow: inset 0 0 0 1px var(--ring-popover), 0 0 0 1px var(--shadow-popover1), 0 4px 8px -4px var(--shadow-popover2), 0 4px 12px -2px var(--shadow-popover3);
1269
1220
  transform-origin: top left; opacity: 1; transform: none; transition: opacity .08s ease, transform .08s ease;
1270
1221
  }
1271
- & .menu-content[data-align="end"] { transform-origin: top right; }
1272
- & .menu-content[data-up] { transform-origin: bottom left; }
1273
- & .menu-content[data-up][data-align="end"] { transform-origin: bottom right; }
1274
- & .menu-content { @starting-style { opacity: 0; transform: scale(0.97) translateY(-1px); } }
1275
-
1276
- & .menu-item {
1277
- box-sizing: border-box; display: flex; align-items: center; gap: var(--space-1-5); width: 100%; height: var(--size-menuRow); flex-shrink: 0;
1278
- margin: 0; padding: 0 var(--space-2); border: none; background: none; border-radius: var(--radius-md);
1222
+ & .select-listbox[data-up] { transform-origin: bottom; }
1223
+ & .select-listbox { @starting-style { opacity: 0; transform: scale(0.97) translateY(-1px); } }
1224
+ & .select-search { display: flex; align-items: center; gap: var(--space-2); height: 34px; flex-shrink: 0; margin: calc(-1 * var(--space-1)) calc(-1 * var(--space-1)) var(--space-1); padding: 0 var(--space-2-5); border-bottom: 1px solid var(--border-subtle); color: var(--fg-muted); }
1225
+ & .select-search svg { flex-shrink: 0; }
1226
+ & .select-search input { flex: 1; min-width: 0; border: none; outline: none; background: none; font-family: inherit; font-size: var(--text-lg); color: var(--fg-primary); }
1227
+ & .select-search input::placeholder { color: var(--fg-muted); }
1228
+ & .select-empty { padding: var(--space-3) var(--space-2); text-align: center; font-size: var(--text-md); color: var(--fg-muted); }
1229
+ & .select-option {
1230
+ box-sizing: border-box; display: flex; align-items: center; gap: var(--space-2); height: var(--size-menuRow); flex-shrink: 0;
1231
+ padding: 0 var(--space-2); margin: 0; border: none; background: none; border-radius: var(--radius-md);
1279
1232
  font-family: inherit; font-size: var(--text-lg); color: var(--fg-primary); text-align: start; cursor: pointer; white-space: nowrap;
1280
1233
  }
1281
- & .menu-item svg { flex-shrink: 0; color: var(--fg-muted); }
1282
- & .menu-item:focus { outline: none; }
1283
- & .menu-item:hover:not([data-disabled]), & .menu-item:focus-visible:not([data-disabled]), & .menu-item[data-highlighted]:not([data-disabled]) { background: var(--bg-raised); }
1284
- & .menu-item[data-disabled] { opacity: 0.5; cursor: not-allowed; }
1285
- & .menu-item--danger { color: var(--bg-danger); }
1286
- & .menu-item--danger svg { color: var(--bg-danger); }
1287
- & .menu-item--danger:hover, & .menu-item--danger:focus-visible, & .menu-item--danger[data-highlighted] { background: color-mix(in srgb, var(--bg-danger) 10%, transparent); }
1288
- & .menu-item-label { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
1289
- & .menu-item-shortcut { flex-shrink: 0; margin-inline-start: var(--space-3); font-size: var(--text-sm); color: var(--fg-muted); letter-spacing: 0.02em; }
1290
- & .menu-item-check { flex-shrink: 0; color: var(--bg-brand-solid); }
1291
- & .menu-item-check--placeholder { width: 15px; }
1292
-
1293
- & .menu-sep { height: 1px; flex-shrink: 0; border: none; margin: var(--space-1) calc(-1 * var(--space-1)); background: var(--border-subtle); }
1294
- & .menu-label { padding: var(--space-1-5) var(--space-2) var(--space-0-5); font-size: var(--text-sm); font-weight: var(--weight-medium); color: var(--fg-muted); }
1234
+ & .select-option[data-highlighted] { background: var(--bg-raised); }
1235
+ & .select-option[data-disabled] { opacity: 0.5; cursor: not-allowed; }
1236
+ & .select-option-dot { flex-shrink: 0; width: 8px; height: 8px; border-radius: var(--radius-full); }
1237
+ & .select-option-label { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
1238
+ & .select-option-check { flex-shrink: 0; color: var(--bg-brand-solid); }
1239
+
1240
+ }
1241
+ .select--variant_default {
1242
+
1243
+ }
1244
+ .select--variant_ghost {
1295
1245
 
1246
+ & .select-trigger { background: transparent; box-shadow: none; }
1247
+ & .select-trigger:hover { background: var(--bg-raised); box-shadow: none; }
1248
+ & .select-trigger[data-open], & .select-trigger:focus-visible { background: transparent; box-shadow: inset 0 0 0 1px var(--bg-brand-solid); }
1249
+
1250
+ }
1251
+ .select--width_full {
1252
+ width: 100%;
1253
+ }
1254
+ .select--width_auto {
1255
+ width: auto;
1296
1256
  }
1297
1257
 
1298
1258
  @media (prefers-reduced-motion: reduce) {
1299
- .menu, .menu * {
1259
+ .select, .select * {
1300
1260
  animation-duration: 0.01ms !important;
1301
1261
  animation-iteration-count: 1 !important;
1302
1262
  transition-duration: 0.01ms !important;
1303
1263
  }
1304
1264
  }
1305
1265
 
1306
- .donutchart {
1307
- display: inline-flex; align-items: center; gap: var(--space-4); box-sizing: border-box; font-family: var(--font-sans);
1308
- -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
1309
- & .donutchart-ring { position: relative; flex-shrink: 0; }
1310
- & .donutchart-svg { display: block; }
1311
- & .donutchart-seg { fill: none; transition: stroke-dasharray 0.3s ease; }
1312
- & .donutchart-track { fill: none; stroke: color-mix(in srgb, var(--fg-primary) 6%, transparent); }
1313
- & .donutchart-center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
1314
- & .donutchart-total { font-size: var(--text-xl); font-weight: var(--weight-semibold); letter-spacing: -0.3px; color: var(--fg-primary); }
1315
- & .donutchart-caption { font-size: var(--text-xs); color: var(--fg-muted); }
1316
- & .donutchart-legend { display: flex; flex-direction: column; gap: var(--space-1-5); min-width: 0; }
1317
- & .donutchart-item { display: inline-flex; align-items: center; gap: var(--space-2); font-size: var(--text-md); color: var(--fg-primary); }
1318
- & .donutchart-swatch { width: 10px; height: 10px; flex-shrink: 0; border-radius: 3px; }
1319
- & .donutchart-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--fg-muted); }
1320
- & .donutchart-val { flex-shrink: 0; font-weight: var(--weight-medium); color: var(--fg-primary); }
1266
+ @keyframes crisp-skeleton { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }
1267
+ .skeleton {
1268
+ display: block; background: color-mix(in srgb, var(--fg-primary) 8%, transparent); border-radius: var(--radius-md); animation: crisp-skeleton 1.4s ease-in-out infinite;
1269
+ &[data-circle] { border-radius: var(--radius-full); }
1321
1270
  }
1322
1271
 
1323
1272
  @media (prefers-reduced-motion: reduce) {
1324
- .donutchart, .donutchart * {
1273
+ .skeleton, .skeleton * {
1325
1274
  animation-duration: 0.01ms !important;
1326
1275
  animation-iteration-count: 1 !important;
1327
1276
  transition-duration: 0.01ms !important;
1328
1277
  }
1329
1278
  }
1330
1279
 
1331
- .textarea {
1332
-
1333
- position: relative; display: block; width: 100%; font-family: var(--font-sans);
1334
-
1335
- & .textarea-field {
1336
- box-sizing: border-box; display: block; width: 100%; min-height: 80px; resize: vertical;
1337
- margin: 0; padding: var(--space-1-5) var(--space-2-5); border: none; border-radius: var(--radius-md);
1338
- background: var(--bg-surface); box-shadow: inset 0 0 0 1px var(--ring-neutral), 0 0 2px rgba(28,40,64,0.18), 0 1px 3px rgba(0,0,0,0.04);
1339
- font-family: inherit; font-size: var(--text-lg); line-height: 20px; color: var(--fg-primary);
1340
- outline: none; transition: box-shadow .15s ease;
1341
- -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
1342
- }
1343
- & .textarea-field::placeholder { color: var(--fg-muted); }
1344
- & .textarea-field:disabled { opacity: 0.5; cursor: not-allowed; }
1345
-
1346
- /* seed-design's focus treatment, same as Input: a 2px ring on an ::after
1347
- overlay that is present-but-transparent at rest, so focusing never
1348
- shifts the box, animating only its colour. */
1349
- & .textarea-wrap { position: relative; display: block; }
1350
- & .textarea-wrap::after {
1351
- content: ""; position: absolute; inset: 0; border-radius: var(--radius-md);
1352
- border: 2px solid transparent; transition: border-color .1s ease;
1353
- pointer-events: none;
1354
- }
1355
- & .textarea-wrap:focus-within::after { border-color: var(--stroke-field-focus); }
1356
- &[data-invalid] .textarea-wrap::after { border-color: var(--bg-danger); }
1357
- &[data-invalid] .textarea-wrap:focus-within::after { border-color: var(--bg-danger); }
1358
- &[data-counted] .textarea-field { padding-bottom: var(--space-5); }
1359
- & .textarea-count { position: absolute; inset-inline-end: var(--space-2-5); bottom: var(--space-1-5); font-size: var(--text-sm); color: var(--fg-muted); pointer-events: none; }
1360
- & .textarea-count[data-over] { color: var(--bg-danger); }
1361
-
1280
+ @keyframes crisp-spin { to { transform: rotate(360deg); } }
1281
+ .spinner {
1282
+ display: inline-block; box-sizing: border-box; width: 16px; height: 16px; border-radius: var(--radius-full); border: 2px solid color-mix(in srgb, var(--fg-primary) 15%, transparent); border-top-color: var(--fg-muted); animation: crisp-spin 0.6s linear infinite;
1362
1283
  }
1363
1284
 
1364
1285
  @media (prefers-reduced-motion: reduce) {
1365
- .textarea, .textarea * {
1286
+ .spinner, .spinner * {
1366
1287
  animation-duration: 0.01ms !important;
1367
1288
  animation-iteration-count: 1 !important;
1368
1289
  transition-duration: 0.01ms !important;
1369
1290
  }
1370
1291
  }
1371
1292
 
1372
- .card {
1373
- display: flex; flex-direction: column; box-sizing: border-box; border-radius: var(--radius-xl); background: var(--bg-surface); box-shadow: inset 0 0 0 1px var(--border-subtle); font-family: var(--font-sans); color: var(--fg-primary);
1374
- & .card-header { display: flex; align-items: center; gap: var(--space-2); flex-shrink: 0; padding: var(--space-3) var(--space-4); border-bottom: 1px solid var(--border-subtle); font-size: var(--text-lg); font-weight: var(--weight-semibold); }
1375
- & .card-header svg { flex-shrink: 0; color: var(--fg-muted); }
1376
- & .card-title { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
1377
- & .card-body { flex: 1; min-height: 0; padding: var(--space-4); }
1378
- & .card-footer { display: flex; align-items: center; justify-content: flex-end; gap: var(--space-2); flex-shrink: 0; padding: var(--space-3) var(--space-4); border-top: 1px solid var(--border-subtle); }
1379
- }
1380
- .card--raised_true {
1381
- box-shadow: inset 0 0 0 1px var(--border-subtle), 0 1px 2px rgba(0,0,0,0.04), 0 4px 12px -4px rgba(28,40,64,0.08);
1382
- }
1383
- .card--raised_false {
1384
-
1385
- }
1386
- .card--interactive_true {
1387
- cursor: pointer; transition: box-shadow 0.12s ease; &:hover { box-shadow: inset 0 0 0 1px var(--border-default), 0 1px 2px rgba(0,0,0,0.04), 0 6px 16px -6px rgba(28,40,64,0.12); }
1388
- }
1389
- .card--interactive_false {
1390
-
1293
+ .stagebar {
1294
+ display: flex; align-items: center; gap: var(--space-0-5); width: 100%; height: 6px; font-family: var(--font-sans);
1295
+ & .stagebar-seg { flex: 1; height: 100%; border-radius: var(--radius-full); transition: background 0.2s ease; }
1391
1296
  }
1392
1297
 
1393
1298
  @media (prefers-reduced-motion: reduce) {
1394
- .card, .card * {
1299
+ .stagebar, .stagebar * {
1395
1300
  animation-duration: 0.01ms !important;
1396
1301
  animation-iteration-count: 1 !important;
1397
1302
  transition-duration: 0.01ms !important;
1398
1303
  }
1399
1304
  }
1400
1305
 
1401
- .progress {
1402
- display: block; box-sizing: border-box; height: 6px; border-radius: var(--radius-full); background: color-mix(in srgb, var(--fg-primary) 8%, transparent); overflow: hidden;
1403
- & .progress-fill { display: block; height: 100%; border-radius: var(--radius-full); background: var(--bg-brand-solid); transition: width 0.25s ease; }
1404
- &[data-segmented] { display: flex; gap: var(--space-1); background: transparent; overflow: visible; }
1405
- &[data-segmented] .progress-seg { flex: 1; height: 100%; border-radius: var(--radius-full); background: color-mix(in srgb, var(--fg-primary) 8%, transparent); transition: background 0.2s; }
1406
- &[data-segmented] .progress-seg[data-filled] { background: var(--bg-brand-solid); }
1306
+ .statcard {
1307
+ display: flex; flex-direction: column; gap: var(--space-1-5); box-sizing: border-box; font-family: var(--font-sans);
1308
+ -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
1309
+ & .statcard-label { display: inline-flex; align-items: center; gap: var(--space-1-5); font-size: var(--text-sm); font-weight: var(--weight-medium); color: var(--fg-muted); }
1310
+ & .statcard-label svg { color: var(--fg-muted); }
1311
+ & .statcard-value { font-size: 28px; line-height: 32px; font-weight: var(--weight-semibold); letter-spacing: -0.4px; color: var(--fg-primary); }
1312
+ & .statcard-foot { display: inline-flex; align-items: center; gap: var(--space-1-5); font-size: var(--text-sm); color: var(--fg-muted); }
1313
+ & .statcard-delta { display: inline-flex; align-items: center; gap: 2px; height: 20px; padding: 0 var(--space-1); border-radius: var(--radius-sm); font-size: var(--text-sm); font-weight: var(--weight-medium); }
1314
+ & .statcard-delta svg { flex-shrink: 0; }
1315
+ & .statcard-delta[data-trend="up"] { background: color-mix(in srgb, var(--bg-success) 16%, transparent); color: color-mix(in srgb, var(--bg-success) 80%, var(--fg-primary)); }
1316
+ & .statcard-delta[data-trend="down"] { background: color-mix(in srgb, var(--bg-danger) 15%, transparent); color: color-mix(in srgb, var(--bg-danger) 80%, var(--fg-primary)); }
1317
+ & .statcard-delta[data-trend="flat"] { background: color-mix(in srgb, var(--fg-primary) 6%, transparent); color: var(--fg-muted); }
1407
1318
  }
1408
-
1409
- @media (prefers-reduced-motion: reduce) {
1410
- .progress, .progress * {
1411
- animation-duration: 0.01ms !important;
1412
- animation-iteration-count: 1 !important;
1413
- transition-duration: 0.01ms !important;
1414
- }
1319
+ .statcard--card_true {
1320
+ padding: var(--space-4); border-radius: var(--radius-xl); background: var(--bg-surface); box-shadow: inset 0 0 0 1px var(--border-subtle);
1321
+ }
1322
+ .statcard--card_false {
1323
+
1415
1324
  }
1416
1325
 
1417
1326
  .switch {
@@ -1435,172 +1344,215 @@
1435
1344
  }
1436
1345
  }
1437
1346
 
1438
- .dialog {
1439
- display: contents; font-family: var(--font-sans);
1440
- & .dialog-backdrop { position: fixed; inset: 0; z-index: 60; background: transparent; }
1441
- & .dialog-positioner { position: fixed; inset: 0; z-index: 61; display: flex; align-items: flex-start; justify-content: center; padding: 15vh var(--space-4) var(--space-4); }
1442
- & .dialog-content { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; position: relative; display: flex; flex-direction: column; box-sizing: border-box; width: 90vw; max-height: 74vh; padding: var(--space-1); border-radius: var(--radius-2xl); background: color-mix(in srgb, var(--bg-overlay-frost) 60%, transparent); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); box-shadow: 0 8px 28px -6px var(--shadow-overlay1), 0 18px 88px -4px var(--shadow-overlay2), 0 0 1px var(--shadow-overlay3); opacity: 1; transform: scale(1); transition: opacity 0.2s ease, transform 0.2s ease; @starting-style { opacity: 0; transform: scale(0.97); } }
1443
- & .dialog-card { display: flex; flex-direction: column; flex: 1; min-height: 0; box-sizing: border-box; border-radius: var(--radius-xl); background: var(--bg-surface); box-shadow: 0 0 0 1px color-mix(in srgb, var(--fg-primary) 8%, transparent); overflow: hidden; }
1444
- & .dialog-header { display: flex; align-items: center; gap: var(--space-2); flex-shrink: 0; height: 52px; padding: 0 var(--space-2) 0 var(--space-4); border-bottom: 1px solid var(--border-subtle); }
1445
- & .dialog-header svg { flex-shrink: 0; color: var(--fg-muted); }
1446
- & .dialog-title { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: var(--text-lg); font-weight: var(--weight-medium); color: var(--fg-primary); }
1447
- & .dialog-close { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 28px; height: 28px; margin: 0; padding: 0; border: none; border-radius: var(--radius-md); background: none; color: var(--fg-muted); font-family: inherit; cursor: pointer; }
1448
- & .dialog-close:hover { background: color-mix(in srgb, var(--fg-primary) 6%, transparent); color: var(--fg-primary); }
1449
- & .dialog-body { flex: 1; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; gap: var(--space-4); padding: var(--space-5) var(--space-4); }
1450
- & .dialog-footer { display: flex; align-items: center; justify-content: flex-end; gap: var(--space-3); flex-shrink: 0; min-height: 56px; padding: 0 var(--space-4); border-top: 1px solid var(--border-subtle); }
1451
- & .dialog-field { display: flex; flex-direction: column; gap: var(--space-1-5); }
1452
- & .dialog-field-label { font-size: var(--text-sm); font-weight: var(--weight-medium); color: color-mix(in srgb, var(--fg-primary) 50%, transparent); }
1453
- & .dialog-more { display: inline-flex; align-items: center; gap: var(--space-2); margin-inline-end: auto; border: none; background: none; padding: 0; font-family: inherit; font-size: var(--text-md); color: var(--fg-muted); cursor: pointer; }
1454
- & .dialog-submit { display: inline-flex; align-items: center; gap: var(--space-2); height: 28px; padding: 0 var(--space-1) 0 var(--space-2-5); border: none; border-radius: var(--radius-md); background: var(--bg-brand-solid); color: var(--fg-on-brand); font-family: inherit; font-size: var(--text-md); font-weight: var(--weight-medium); cursor: pointer; }
1455
- & .dialog-submit-key { display: inline-flex; align-items: center; justify-content: center; height: 18px; padding: 0 var(--space-1); border-radius: var(--radius-sm); background: rgba(255,255,255,0.22); font-size: var(--text-xs); }
1347
+ .table {
1348
+ display: block; box-sizing: border-box; background: var(--bg-surface);
1349
+ & .table-scroll { overflow-x: auto; }
1350
+ & table { width: 100%; border-collapse: separate; border-spacing: 0; font-family: var(--font-sans); font-size: var(--text-lg); color: var(--fg-primary); }
1351
+ & th, & td { position: relative; height: var(--size-tableRow); padding: 0 var(--space-2); border-bottom: 1px solid var(--border-subtle); border-inline-end: 1px solid var(--border-subtle); text-align: start; vertical-align: middle; white-space: nowrap; overflow: hidden; }
1352
+ & th { height: var(--size-tableHeader); background: var(--bg-surface); font-size: var(--text-lg); font-weight: var(--weight-medium); letter-spacing: -0.14px; color: color-mix(in srgb, var(--fg-primary) 63%, transparent); user-select: none; }
1353
+ & td { color: var(--fg-primary); background: var(--bg-surface); }
1354
+ & th:last-child, & td:last-child { border-inline-end: none; }
1355
+ & tbody tr:last-child td { border-bottom: none; }
1356
+ & tfoot td { border-top: 1px solid var(--border-subtle); border-bottom: none; font-weight: var(--weight-medium); color: var(--fg-muted); }
1357
+ & caption { padding: var(--space-2) var(--space-2); text-align: start; font-size: var(--text-sm); color: var(--fg-muted); caption-side: bottom; }
1358
+ & td[data-align="right"], & th[data-align="right"] { text-align: end; }
1359
+ & td[data-align="center"], & th[data-align="center"] { text-align: center; }
1456
1360
  }
1457
-
1458
- @media (prefers-reduced-motion: reduce) {
1459
- .dialog, .dialog * {
1460
- animation-duration: 0.01ms !important;
1461
- animation-iteration-count: 1 !important;
1462
- transition-duration: 0.01ms !important;
1463
- }
1361
+ .table--interactive_true {
1362
+ & tbody tr { transition: background-color .12s; } & tbody tr:hover td { background: color-mix(in srgb, var(--fg-primary) 4%, var(--bg-surface)); }
1464
1363
  }
1465
-
1466
- .stagebar {
1467
- display: flex; align-items: center; gap: var(--space-0-5); width: 100%; height: 6px; font-family: var(--font-sans);
1468
- & .stagebar-seg { flex: 1; height: 100%; border-radius: var(--radius-full); transition: background 0.2s ease; }
1364
+ .table--interactive_false {
1365
+
1366
+ }
1367
+ .table--surface_card {
1368
+ border: 1px solid var(--border-subtle); border-radius: var(--radius-xl); overflow: hidden;
1369
+ }
1370
+ .table--surface_bleed {
1371
+ border: none; border-radius: 0;
1469
1372
  }
1470
1373
 
1471
1374
  @media (prefers-reduced-motion: reduce) {
1472
- .stagebar, .stagebar * {
1375
+ .table, .table * {
1473
1376
  animation-duration: 0.01ms !important;
1474
1377
  animation-iteration-count: 1 !important;
1475
1378
  transition-duration: 0.01ms !important;
1476
1379
  }
1477
1380
  }
1478
1381
 
1479
- .popover {
1480
- display: contents; font-family: var(--font-sans);
1481
- & .popover-content { position: fixed; z-index: 60; box-sizing: border-box; min-width: 200px; max-width: min(360px, 92vw); padding: var(--space-1); border-radius: var(--radius-xl); background: var(--bg-popover); color: var(--fg-primary); box-shadow: inset 0 0 0 1px var(--ring-popover), 0 0 0 1px var(--shadow-popover1), 0 4px 8px -4px var(--shadow-popover2), 0 4px 12px -2px var(--shadow-popover3); opacity: 1; transform: none; transition: opacity 0.08s ease, transform 0.08s ease; transform-origin: top left; @starting-style { opacity: 0; transform: scale(0.97) translateY(-1px); } }
1482
- & .popover-content[data-align="end"] { transform-origin: top right; }
1483
- & .popover-content[data-up] { transform-origin: bottom left; }
1382
+ .tabletoolbar {
1383
+
1384
+ display: contents; font-family: var(--font-sans); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
1385
+ & * { box-sizing: border-box; }
1386
+ & .tabletoolbar-toolbar { display: flex; align-items: center; gap: var(--space-1-5); padding: 0 var(--space-3) var(--space-2); }
1387
+ & .tabletoolbar-search { display: flex; align-items: center; gap: var(--space-1-5); height: var(--size-row); padding: 0 var(--space-2-5); border: none; border-radius: var(--radius-md); background: var(--bg-surface); box-shadow: inset 0 0 0 1px var(--border-subtle); color: var(--fg-muted); }
1388
+ & .tabletoolbar-search svg { flex-shrink: 0; }
1389
+ & .tabletoolbar-search input { border: none; outline: none; background: transparent; font-family: inherit; font-size: var(--text-md); color: var(--fg-primary); width: 180px; }
1390
+ & .tabletoolbar-search input::placeholder { color: var(--fg-muted); }
1391
+ & .tabletoolbar-tool { display: inline-flex; align-items: center; gap: var(--space-1); height: var(--size-row); margin: 0; padding: 0 var(--space-2); border: none; border-radius: var(--radius-md); background: transparent; box-shadow: inset 0 0 0 1px var(--border-default); color: var(--fg-primary); font-family: inherit; font-size: var(--text-md); font-weight: var(--weight-medium); cursor: pointer; transition: background-color .12s; }
1392
+ & .tabletoolbar-tool:hover { background: var(--bg-raised); }
1393
+ & .tabletoolbar-tool svg { flex-shrink: 0; color: var(--fg-muted); }
1394
+ & .tabletoolbar-tool--active { background: var(--bg-raised); }
1395
+ & .tabletoolbar-tool--ghost { box-shadow: none; background: color-mix(in srgb, var(--fg-primary) 3%, transparent); color: var(--fg-muted); }
1396
+ & .tabletoolbar-tool--ghost:hover { background: color-mix(in srgb, var(--fg-primary) 6%, transparent); }
1397
+ & .tabletoolbar-toolgroup { position: relative; display: inline-flex; }
1398
+ & .tabletoolbar-menu { position: absolute; top: calc(100% + var(--space-1)); left: 0; z-index: 30; min-width: 232px; padding: var(--space-1); border-radius: var(--radius-lg); background: var(--bg-popover); box-shadow: inset 0 0 0 1px var(--ring-popover), 0 0 0 1px var(--shadow-popover1), 0 4px 8px -4px var(--shadow-popover2), 0 4px 12px -2px var(--shadow-popover3); display: flex; flex-direction: column; gap: var(--space-px); transform-origin: top; opacity: 1; transform: none; transition: opacity .13s ease, transform .13s ease; }
1399
+ & .tabletoolbar-menu { @starting-style { opacity: 0; transform: scale(0.96); } }
1400
+ & .tabletoolbar-menu-head { padding: var(--space-1) var(--space-2) var(--space-0-5); font-size: var(--text-sm); font-weight: var(--weight-medium); color: var(--fg-muted); }
1401
+ & .tabletoolbar-sortpop { min-width: 460px; overflow: visible; padding: var(--space-1-5); gap: var(--space-1); }
1402
+ & .tabletoolbar-sort-empty { padding: var(--space-1) var(--space-1) var(--space-2); font-size: var(--text-md); color: var(--fg-muted); }
1403
+ & .tabletoolbar-sort-row { display: flex; align-items: center; gap: var(--space-1-5); }
1404
+ & .tabletoolbar-sort-grip { display: inline-flex; align-items: center; justify-content: center; width: 16px; height: 28px; flex-shrink: 0; margin-right: calc(-1 * var(--space-1)); padding: 0; border: none; background: none; color: var(--fg-muted); cursor: grab; }
1405
+ & .tabletoolbar-sort-grip:active { cursor: grabbing; }
1406
+ & .tabletoolbar-sort-grip:hover { color: var(--fg-primary); }
1407
+ & .tabletoolbar-sort-optlabel { display: inline-flex; align-items: center; gap: var(--space-1-5); min-width: 0; }
1408
+ & .tabletoolbar-sort-optlabel svg { flex-shrink: 0; color: var(--fg-muted); }
1409
+ & .tabletoolbar-sort-field { flex: 1; min-width: 0; }
1410
+ & .tabletoolbar-sort-dir { width: 136px; flex-shrink: 0; }
1411
+ & .tabletoolbar-sort-field .select-trigger, & .tabletoolbar-sort-dir .select-trigger { height: 28px; padding-right: var(--space-1); }
1412
+ & .tabletoolbar-sort-remove { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; flex-shrink: 0; padding: 0; margin: 0; border: none; border-radius: var(--radius-md); background: none; color: var(--fg-muted); cursor: pointer; transition: background-color .12s, color .12s; }
1413
+ & .tabletoolbar-sort-remove:hover { background: var(--bg-raised); color: var(--fg-primary); }
1414
+ & .tabletoolbar-sort-addrow { display: flex; padding: var(--space-0-5) 0; }
1415
+ & .tabletoolbar-sort-add { display: inline-flex; align-items: center; gap: var(--space-1-5); height: 28px; padding: 0 var(--space-2) 0 var(--space-1-5); margin: 0; border: none; border-radius: var(--radius-md); background: var(--bg-surface); box-shadow: inset 0 0 0 1px var(--ring-neutral), 0 0 2px rgba(28,40,64,0.18), 0 1px 3px rgba(0,0,0,0.04); font-family: inherit; font-size: var(--text-lg); font-weight: var(--weight-regular); color: var(--fg-primary); cursor: pointer; transition: background-color .12s; }
1416
+ & .tabletoolbar-sort-add:hover { background: var(--bg-raised); }
1417
+ & .tabletoolbar-sort-add svg { flex-shrink: 0; color: var(--fg-muted); }
1418
+ & .tabletoolbar-sort-foot { display: flex; padding: var(--space-1-5) var(--space-1) var(--space-0-5); }
1419
+ & .tabletoolbar-sort-learn { display: inline-flex; align-items: center; gap: var(--space-1-5); font-size: var(--text-lg); color: color-mix(in srgb, var(--fg-primary) 63%, transparent); text-decoration: none; }
1420
+ & .tabletoolbar-sort-learn svg { flex-shrink: 0; }
1421
+ & .tabletoolbar-sort-learn:hover { color: var(--fg-primary); }
1422
+ & .tabletoolbar-menu-item { display: flex; align-items: center; gap: var(--space-2); width: 100%; height: var(--size-row); margin: 0; padding: 0 var(--space-2); border: none; background: none; border-radius: var(--radius-md); font-family: inherit; font-size: var(--text-lg); color: var(--fg-primary); text-align: left; cursor: pointer; }
1423
+ & .tabletoolbar-menu-item:hover { background: var(--bg-raised); }
1424
+ & .tabletoolbar-menu-item:disabled { opacity: 0.4; cursor: default; }
1425
+ & .tabletoolbar-menu-item:disabled:hover { background: none; }
1426
+ & .tabletoolbar-menu-item svg { flex-shrink: 0; color: var(--fg-muted); }
1427
+ & .tabletoolbar-menu-item[data-on] svg { color: var(--bg-brand-solid); }
1428
+ & .tabletoolbar-menu-item .tabletoolbar-menu-check { margin-left: auto; }
1429
+ & .tabletoolbar-menu-input { height: var(--size-row); margin: var(--space-0-5); padding: 0 var(--space-2); border: none; border-radius: var(--radius-md); box-shadow: inset 0 0 0 1px var(--border-subtle); background: var(--bg-surface); font-family: inherit; font-size: var(--text-lg); color: var(--fg-primary); outline: none; }
1430
+ & .tabletoolbar-menu-sep { height: 1px; background: var(--border-subtle); margin: var(--space-0-5) 0; }
1431
+ & .tabletoolbar-menu--up { top: auto; bottom: calc(100% + var(--space-1)); transform-origin: bottom; }
1432
+ & .tabletoolbar-menu--right { left: auto; right: 0; }
1433
+ & .tabletoolbar-menu--fixed { position: fixed; top: auto; left: auto; z-index: 40; }
1434
+ & .tabletoolbar-menu--hdr { min-width: 200px; }
1435
+ & .tabletoolbar-menu-item--danger { color: var(--bg-danger); }
1436
+ & .tabletoolbar-menu-item--danger svg { color: var(--bg-danger); }
1437
+ & .tabletoolbar-menu-item--danger:hover { background: color-mix(in srgb, var(--bg-danger) 10%, transparent); }
1438
+ & .tabletoolbar-menu-check { margin-left: auto; color: var(--bg-brand-solid); }
1439
+ & .tabletoolbar-fchip { display: inline-flex; align-items: center; height: var(--size-row); padding-right: var(--space-1); border-radius: var(--radius-md); box-shadow: inset 0 0 0 1px var(--border-default); background: var(--bg-surface); font-size: var(--text-md); color: var(--fg-primary); white-space: nowrap; }
1440
+ & .tabletoolbar-fchip-main { display: inline-flex; align-items: center; gap: var(--space-1-5); height: 100%; margin: 0; padding: 0 var(--space-1) 0 var(--space-2); border: none; background: none; font-family: inherit; font-size: var(--text-md); color: var(--fg-primary); cursor: pointer; }
1441
+ & .tabletoolbar-fchip-field { font-weight: var(--weight-medium); }
1442
+ & .tabletoolbar-fchip-op { color: var(--fg-muted); }
1443
+ & .tabletoolbar-fchip-val { font-weight: var(--weight-medium); max-width: 140px; overflow: hidden; text-overflow: ellipsis; }
1444
+ & .tabletoolbar-fchip-x { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; padding: 0; border: none; border-radius: var(--radius-sm); background: none; color: var(--fg-muted); cursor: pointer; }
1445
+ & .tabletoolbar-fchip-x:hover { background: color-mix(in srgb, var(--fg-primary) 10%, transparent); color: var(--fg-primary); }
1446
+ & .tabletoolbar-spacer { flex: 1; }
1447
+ & .tabletoolbar-count { font-size: var(--text-md); color: var(--fg-muted); }
1448
+ & .tabletoolbar-new { display: inline-flex; align-items: center; gap: var(--space-1); height: var(--size-row); padding: 0 var(--space-2-5); border: none; border-radius: var(--radius-md); background: var(--bg-brand-solid); color: var(--fg-on-brand); font-family: inherit; font-size: var(--text-md); font-weight: var(--weight-medium); cursor: pointer; transition: background-color .12s; }
1449
+ & .tabletoolbar-new:hover { background: var(--bg-brand-solid-pressed); }
1450
+
1484
1451
  }
1485
1452
 
1486
1453
  @media (prefers-reduced-motion: reduce) {
1487
- .popover, .popover * {
1454
+ .tabletoolbar, .tabletoolbar * {
1488
1455
  animation-duration: 0.01ms !important;
1489
1456
  animation-iteration-count: 1 !important;
1490
1457
  transition-duration: 0.01ms !important;
1491
1458
  }
1492
1459
  }
1493
1460
 
1494
- .table {
1495
- display: block; box-sizing: border-box; background: var(--bg-surface);
1496
- & .table-scroll { overflow-x: auto; }
1497
- & table { width: 100%; border-collapse: separate; border-spacing: 0; font-family: var(--font-sans); font-size: var(--text-lg); color: var(--fg-primary); }
1498
- & th, & td { position: relative; height: var(--size-tableRow); padding: 0 var(--space-2); border-bottom: 1px solid var(--border-subtle); border-inline-end: 1px solid var(--border-subtle); text-align: start; vertical-align: middle; white-space: nowrap; overflow: hidden; }
1499
- & th { height: var(--size-tableHeader); background: var(--bg-surface); font-size: var(--text-lg); font-weight: var(--weight-medium); letter-spacing: -0.14px; color: color-mix(in srgb, var(--fg-primary) 63%, transparent); user-select: none; }
1500
- & td { color: var(--fg-primary); background: var(--bg-surface); }
1501
- & th:last-child, & td:last-child { border-inline-end: none; }
1502
- & tbody tr:last-child td { border-bottom: none; }
1503
- & tfoot td { border-top: 1px solid var(--border-subtle); border-bottom: none; font-weight: var(--weight-medium); color: var(--fg-muted); }
1504
- & caption { padding: var(--space-2) var(--space-2); text-align: start; font-size: var(--text-sm); color: var(--fg-muted); caption-side: bottom; }
1505
- & td[data-align="right"], & th[data-align="right"] { text-align: end; }
1506
- & td[data-align="center"], & th[data-align="center"] { text-align: center; }
1507
- }
1508
- .table--interactive_true {
1509
- & tbody tr { transition: background-color .12s; } & tbody tr:hover td { background: color-mix(in srgb, var(--fg-primary) 4%, var(--bg-surface)); }
1510
- }
1511
- .table--interactive_false {
1461
+ .tabs {
1462
+
1463
+ display: flex; flex-direction: column; min-height: 0; font-family: var(--font-sans);
1464
+ -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
1465
+
1466
+ & .tabs-list { position: relative; display: flex; align-items: center; gap: var(--space-1); height: var(--size-row); flex-shrink: 0; }
1467
+ & .tabs-leading { display: inline-flex; align-items: center; margin-inline-end: var(--space-1); }
1468
+ & .tabs-tab { position: relative; display: inline-flex; align-items: center; gap: var(--space-1-5); height: 28px; margin: 0; padding: 0 var(--space-2); border: none; background: none; box-shadow: inset 0 0 0 1px transparent; border-radius: var(--radius-md); font-family: inherit; font-size: var(--text-lg); font-weight: var(--weight-medium); letter-spacing: -0.14px; color: var(--fg-muted); cursor: pointer; white-space: nowrap; transition: color .12s ease, background-color .12s ease, box-shadow .12s ease; }
1469
+ & .tabs-tab svg { flex-shrink: 0; opacity: 0.85; }
1470
+ & .tabs-tab:hover:not([data-selected]) { background: color-mix(in srgb, var(--fg-primary) 4%, transparent); color: var(--fg-primary); }
1471
+ & .tabs-tab[data-selected] { color: var(--fg-primary); background: var(--bg-subtle); box-shadow: inset 0 0 0 1px var(--border-subtle); }
1472
+ & .tabs-tab:focus-visible { outline: 2px solid var(--bg-brand-solid); outline-offset: 1px; }
1473
+ & .tabs-tab-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 16px; height: 16px; padding: 0 var(--space-1); border-radius: var(--radius-sm); background: color-mix(in srgb, var(--fg-primary) 6%, transparent); font-size: var(--text-xs); font-weight: var(--weight-medium); color: var(--fg-muted); }
1474
+ & .tabs-tab[data-selected] .tabs-tab-badge { color: var(--fg-primary); }
1475
+ & .tabs-indicator { position: absolute; bottom: calc(-1 * var(--space-2)); left: 0; height: 1px; background: var(--fg-primary); border-radius: 2px 2px 0 0; transition: transform .2s cubic-bezier(.4,0,.2,1), width .2s cubic-bezier(.4,0,.2,1); pointer-events: none; }
1476
+ & .tabs-panel { flex: 1; min-height: 0; }
1477
+ & .tabs-panel:focus-visible { outline: none; }
1512
1478
 
1513
- }
1514
- .table--surface_card {
1515
- border: 1px solid var(--border-subtle); border-radius: var(--radius-xl); overflow: hidden;
1516
- }
1517
- .table--surface_bleed {
1518
- border: none; border-radius: 0;
1519
1479
  }
1520
1480
 
1521
1481
  @media (prefers-reduced-motion: reduce) {
1522
- .table, .table * {
1482
+ .tabs, .tabs * {
1523
1483
  animation-duration: 0.01ms !important;
1524
1484
  animation-iteration-count: 1 !important;
1525
1485
  transition-duration: 0.01ms !important;
1526
1486
  }
1527
1487
  }
1528
1488
 
1529
- @keyframes crisp-spin { to { transform: rotate(360deg); } }
1530
- .spinner {
1531
- display: inline-block; box-sizing: border-box; width: 16px; height: 16px; border-radius: var(--radius-full); border: 2px solid color-mix(in srgb, var(--fg-primary) 15%, transparent); border-top-color: var(--fg-muted); animation: crisp-spin 0.6s linear infinite;
1489
+ .textarea {
1490
+
1491
+ position: relative; display: block; width: 100%; font-family: var(--font-sans);
1492
+
1493
+ & .textarea-field {
1494
+ box-sizing: border-box; display: block; width: 100%; min-height: 80px; resize: vertical;
1495
+ margin: 0; padding: var(--space-1-5) var(--space-2-5); border: none; border-radius: var(--radius-md);
1496
+ background: var(--bg-surface); box-shadow: inset 0 0 0 1px var(--ring-neutral), 0 0 2px rgba(28,40,64,0.18), 0 1px 3px rgba(0,0,0,0.04);
1497
+ font-family: inherit; font-size: var(--text-lg); line-height: 20px; color: var(--fg-primary);
1498
+ outline: none; transition: box-shadow .15s ease;
1499
+ -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
1500
+ }
1501
+ & .textarea-field::placeholder { color: var(--fg-muted); }
1502
+ & .textarea-field:disabled { opacity: 0.5; cursor: not-allowed; }
1503
+
1504
+ /* seed-design's focus treatment, same as Input: a 2px ring on an ::after
1505
+ overlay that is present-but-transparent at rest, so focusing never
1506
+ shifts the box, animating only its colour. */
1507
+ & .textarea-wrap { position: relative; display: block; }
1508
+ & .textarea-wrap::after {
1509
+ content: ""; position: absolute; inset: 0; border-radius: var(--radius-md);
1510
+ border: 2px solid transparent; transition: border-color .1s ease;
1511
+ pointer-events: none;
1512
+ }
1513
+ & .textarea-wrap:focus-within::after { border-color: var(--stroke-field-focus); }
1514
+ &[data-invalid] .textarea-wrap::after { border-color: var(--bg-danger); }
1515
+ &[data-invalid] .textarea-wrap:focus-within::after { border-color: var(--bg-danger); }
1516
+ &[data-counted] .textarea-field { padding-bottom: var(--space-5); }
1517
+ & .textarea-count { position: absolute; inset-inline-end: var(--space-2-5); bottom: var(--space-1-5); font-size: var(--text-sm); color: var(--fg-muted); pointer-events: none; }
1518
+ & .textarea-count[data-over] { color: var(--bg-danger); }
1519
+
1532
1520
  }
1533
1521
 
1534
1522
  @media (prefers-reduced-motion: reduce) {
1535
- .spinner, .spinner * {
1523
+ .textarea, .textarea * {
1536
1524
  animation-duration: 0.01ms !important;
1537
1525
  animation-iteration-count: 1 !important;
1538
1526
  transition-duration: 0.01ms !important;
1539
1527
  }
1540
1528
  }
1541
1529
 
1542
- .button {
1543
- display: inline-flex; align-items: center; justify-content: center; gap: var(--space-1-5); font-family: var(--font-sans); font-weight: var(--weight-medium); letter-spacing: -0.14px; line-height: 20px; white-space: nowrap; border: none; cursor: pointer; transition: background-color .2s, box-shadow .2s, color .2s; &:disabled { opacity: 0.5; cursor: not-allowed; }
1544
- }
1545
- .button--intent_primary {
1546
- background: var(--bg-brand-solid); color: var(--fg-on-brand); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.07), 0 2px 4px -2px rgba(38,109,240,0.12), 0 3px 6px -2px rgba(38,109,240,0.08); &:hover { background: var(--bg-brand-solid-pressed); } &:active { background: var(--bg-brand-solid-pressed); }
1547
- }
1548
- .button--intent_neutral {
1549
- background: var(--bg-surface); color: var(--fg-primary); box-shadow: inset 0 0 0 1px var(--ring-neutral), 0 0 2px rgba(28,40,64,0.18), 0 1px 3px rgba(0,0,0,0.04); &:hover { background: var(--bg-raised); }
1550
- }
1551
- .button--intent_danger {
1552
- background: var(--bg-danger-solid); color: var(--fg-on-brand); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.07), 0 2px 4px -2px rgba(186,37,37,0.20), 0 3px 6px -2px rgba(186,37,37,0.12); &:hover { filter: brightness(0.96); } &:active { filter: brightness(0.92); }
1553
- }
1554
- .button--intent_ghost {
1555
- background: transparent; color: var(--fg-muted); box-shadow: none; &:hover { background: var(--bg-raised); color: var(--fg-primary); }
1556
- }
1557
- .button--size_sm {
1558
- height: 24px; padding-inline: var(--space-1-5); font-size: var(--text-md); border-radius: var(--radius-md);
1559
- }
1560
- .button--size_md {
1561
- height: 28px; padding-inline: var(--space-2); font-size: var(--text-lg); border-radius: var(--radius-md);
1562
- }
1563
- .button--size_lg {
1564
- height: 40px; padding-inline: 14px; font-size: var(--text-lg); border-radius: 10px;
1565
- }
1566
- .button--shape_text {
1567
-
1568
- }
1569
- .button--shape_icon {
1570
- padding-inline: 0; aspect-ratio: 1 / 1;
1571
- }
1572
- .button--touchTarget_true {
1573
- position: relative; &::after { content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 100%; height: 100%; min-width: 44px; min-height: 44px; }
1574
- }
1575
- .button--touchTarget_false {
1576
-
1530
+ .toast {
1531
+ display: contents; font-family: var(--font-sans);
1532
+ & .toast-viewport { position: fixed; z-index: 80; inset-inline-end: var(--space-4); bottom: var(--space-4); display: flex; flex-direction: column; gap: var(--space-2); width: 360px; max-width: calc(100vw - var(--space-8)); pointer-events: none; }
1533
+ & .toast { pointer-events: auto; display: flex; align-items: flex-start; gap: var(--space-2-5); box-sizing: border-box; padding: var(--space-3); border-radius: var(--radius-xl); background: var(--bg-raised); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--fg-primary) 5%, transparent), 0 8px 28px -6px rgba(28,40,64,0.16), 0 2px 6px -2px rgba(28,40,64,0.10); opacity: 1; transform: translateY(0); transition: opacity 0.15s ease, transform 0.15s ease; @starting-style { opacity: 0; transform: translateY(8px); } }
1534
+ & .toast-icon { flex-shrink: 0; margin-top: 1px; display: inline-flex; color: var(--fg-muted); }
1535
+ & .toast[data-tone="info"] .toast-icon { color: var(--bg-brand-solid); }
1536
+ & .toast[data-tone="success"] .toast-icon { color: var(--bg-success); }
1537
+ & .toast[data-tone="warning"] .toast-icon { color: var(--bg-warning); }
1538
+ & .toast[data-tone="danger"] .toast-icon { color: var(--bg-danger); }
1539
+ & .toast-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
1540
+ & .toast-title { font-size: var(--text-md); font-weight: var(--weight-semibold); color: var(--fg-primary); }
1541
+ & .toast-desc { font-size: var(--text-md); color: var(--fg-muted); }
1542
+ & .toast-action { align-self: flex-start; margin-top: var(--space-1-5); height: 24px; padding: 0 var(--space-2); border: none; border-radius: var(--radius-md); background: color-mix(in srgb, var(--fg-primary) 6%, transparent); color: var(--fg-primary); font-family: inherit; font-size: var(--text-sm); font-weight: var(--weight-medium); cursor: pointer; }
1543
+ & .toast-action:hover { background: color-mix(in srgb, var(--fg-primary) 10%, transparent); }
1544
+ & .toast-close { flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; margin: -2px -2px 0 0; padding: 0; border: none; border-radius: var(--radius-md); background: none; color: var(--fg-muted); font-family: inherit; cursor: pointer; }
1545
+ & .toast-close:hover { background: color-mix(in srgb, var(--fg-primary) 6%, transparent); color: var(--fg-primary); }
1577
1546
  }
1578
1547
 
1579
1548
  @media (prefers-reduced-motion: reduce) {
1580
- .button, .button * {
1549
+ .toast, .toast * {
1581
1550
  animation-duration: 0.01ms !important;
1582
1551
  animation-iteration-count: 1 !important;
1583
1552
  transition-duration: 0.01ms !important;
1584
1553
  }
1585
1554
  }
1586
1555
 
1587
- .callout {
1588
- display: flex; align-items: flex-start; gap: var(--space-2-5); box-sizing: border-box; padding: var(--space-3) var(--space-4); border-radius: var(--radius-lg); font-family: var(--font-sans); font-size: var(--text-md); background: color-mix(in srgb, var(--fg-primary) 4%, transparent); color: var(--fg-primary);
1589
- & .callout-icon { flex-shrink: 0; margin-top: 1px; display: inline-flex; color: var(--fg-muted); }
1590
- & .callout-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
1591
- & .callout-title { font-weight: var(--weight-semibold); }
1592
- & .callout-desc { color: var(--fg-muted); }
1593
- & .callout-action { flex-shrink: 0; }
1594
- &[data-tone="info"] { background: color-mix(in srgb, var(--bg-brand-solid) 8%, transparent); }
1595
- &[data-tone="info"] .callout-icon { color: var(--bg-brand-solid); }
1596
- &[data-tone="success"] { background: color-mix(in srgb, var(--bg-success) 10%, transparent); }
1597
- &[data-tone="success"] .callout-icon { color: var(--bg-success); }
1598
- &[data-tone="warning"] { background: color-mix(in srgb, var(--bg-warning) 12%, transparent); }
1599
- &[data-tone="warning"] .callout-icon { color: var(--bg-warning); }
1600
- &[data-tone="danger"] { background: color-mix(in srgb, var(--bg-danger) 10%, transparent); }
1601
- &[data-tone="danger"] .callout-icon { color: var(--bg-danger); }
1602
- }
1603
-
1604
1556
  .tooltip {
1605
1557
  position: fixed; z-index: 70; box-sizing: border-box; pointer-events: none; max-width: 260px; padding: var(--space-1) var(--space-2); border-radius: var(--radius-sm); background: #20242c; color: #fff; font-family: var(--font-sans); font-size: var(--text-sm); font-weight: var(--weight-medium); line-height: 1.45; box-shadow: 0 4px 14px -2px rgba(28,40,64,0.28), 0 0 0 1px rgba(255,255,255,0.04); opacity: 1; transition: opacity 0.12s ease; @starting-style { opacity: 0; }
1606
1558
  }
@@ -1613,281 +1565,181 @@
1613
1565
  }
1614
1566
  }
1615
1567
 
1616
- .emptystate {
1617
- display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--space-1-5); box-sizing: border-box; padding: var(--space-8) var(--space-4); text-align: center; font-family: var(--font-sans);
1618
- & .emptystate-icon { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin-bottom: var(--space-1); border-radius: var(--radius-xl); background: color-mix(in srgb, var(--fg-primary) 5%, transparent); color: var(--fg-muted); }
1619
- & .emptystate-title { font-size: var(--text-lg); font-weight: var(--weight-semibold); color: var(--fg-primary); }
1620
- & .emptystate-desc { max-width: 320px; font-size: var(--text-md); color: var(--fg-muted); }
1621
- & .emptystate-action { margin-top: var(--space-2); }
1622
- }
1623
- .emptystate--variant_default {
1568
+ .wheelpicker {
1624
1569
 
1625
- }
1626
- .emptystate--variant_illustrated {
1627
- & .emptystate-icon { width: 132px; height: 96px; margin-bottom: var(--space-2); border-radius: 0; color: color-mix(in srgb, var(--fg-primary) 22%, transparent); background: radial-gradient(circle, color-mix(in srgb, var(--fg-primary) 12%, transparent) 1.2px, transparent 1.2px) 0 0 / 16px 16px; }
1628
- }
1629
- .emptystate--variant_page {
1630
- gap: var(--space-2);
1631
- & .emptystate-icon { width: 45px; height: 45px; margin-bottom: var(--space-2); border-radius: var(--radius-full); border: 1px solid var(--border-subtle); background: none; color: var(--fg-muted); }
1632
- & .emptystate-title { font-size: 20px; line-height: 24px; }
1633
- & .emptystate-desc { max-width: 266px; font-size: var(--text-lg); font-weight: var(--weight-medium); line-height: 20px; }
1634
- & .emptystate-action { margin-top: var(--space-2); }
1635
- }
1570
+ position: relative; box-sizing: border-box; width: 100%; overflow: hidden;
1571
+ background: var(--bg-surface); font-family: var(--font-sans);
1636
1572
 
1637
- .onboarding {
1638
- display: flex; flex-direction: column; box-sizing: border-box; width: 272px; padding: var(--space-3); gap: var(--space-2);
1639
- border-radius: var(--radius-xl); background: var(--bg-surface); font-family: var(--font-sans);
1640
- -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
1641
- box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--fg-primary) 6%, transparent), 0 8px 28px -6px rgba(28,40,64,0.16), 0 2px 6px -2px rgba(28,40,64,0.10);
1573
+ /* the band the selected row sits in; behind the items, never hit-tested */
1574
+ & .wheelpicker-indicator {
1575
+ position: absolute; z-index: 0; inset-inline: var(--space-4); top: 50%;
1576
+ transform: translateY(-50%); border-radius: var(--radius-md);
1577
+ background: var(--bg-neutral-weak); pointer-events: none;
1578
+ }
1642
1579
 
1643
- & .onboarding-head { display: flex; align-items: center; gap: var(--space-1); }
1644
- & .onboarding-title { flex: 1; min-width: 0; font-size: var(--text-lg); font-weight: var(--weight-medium); color: var(--fg-primary); }
1645
- & .onboarding-iconbtn { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: var(--size-chip); flex-shrink: 0; padding: 0; margin: 0; border: none; border-radius: var(--radius-sm); background: none; color: var(--fg-muted); font-family: inherit; cursor: pointer; transition: background-color .12s, color .12s; }
1646
- & .onboarding-iconbtn:hover { background: var(--bg-raised); color: var(--fg-primary); }
1580
+ /* fades the rows furthest from the centre, so the column reads as a wheel
1581
+ rather than a list. 40% of the viewport, capped, top and bottom. */
1582
+ & .wheelpicker-fog {
1583
+ position: relative; z-index: 1; height: 100%; overflow: hidden;
1584
+ mask-image: linear-gradient(
1585
+ to bottom,
1586
+ transparent 0,
1587
+ #000 var(--wheelpicker-fog),
1588
+ #000 calc(100% - var(--wheelpicker-fog)),
1589
+ transparent 100%
1590
+ );
1591
+ }
1592
+ & .wheelpicker-columns { display: flex; width: 100%; height: 100%; justify-content: center; }
1647
1593
 
1648
- & .onboarding-sub { font-size: var(--text-sm); color: color-mix(in srgb, var(--fg-primary) 50%, transparent); }
1649
- & .onboarding-sub b { font-weight: var(--weight-medium); color: var(--fg-primary); }
1594
+ & .wheelpicker-column {
1595
+ box-sizing: border-box; flex: 0 0 auto; width: max-content; height: 100%;
1596
+ overflow-x: hidden; overflow-y: auto;
1597
+ overscroll-behavior-y: contain; overscroll-behavior-x: none;
1598
+ scroll-snap-type: y mandatory; touch-action: pan-y;
1599
+ scrollbar-width: none; -ms-overflow-style: none; outline: none;
1600
+ padding-block: var(--wheelpicker-offset);
1601
+ }
1602
+ & .wheelpicker-column::-webkit-scrollbar { display: none; }
1650
1603
 
1651
- & .onboarding-progress { display: flex; gap: var(--space-1); margin: var(--space-0-5) 0 var(--space-1); }
1652
- & .onboarding-seg { flex: 1; height: 4px; border-radius: var(--radius-full); background: color-mix(in srgb, var(--fg-primary) 4%, transparent); transition: background-color .2s ease; }
1653
- & .onboarding-seg[data-done] { background: var(--bg-brand-solid); }
1604
+ & .wheelpicker-item {
1605
+ display: flex; align-items: center; justify-content: center;
1606
+ scroll-snap-align: center; user-select: none; white-space: nowrap;
1607
+ padding-inline: var(--space-4); color: var(--fg-disabled);
1608
+ background: none; border: none; font: inherit; cursor: pointer;
1609
+ }
1610
+ & .wheelpicker-item[data-selected] { color: var(--fg-primary); }
1654
1611
 
1655
- & .onboarding-steps { display: flex; flex-direction: column; }
1656
- & .onboarding-step { display: flex; align-items: center; gap: var(--space-2); height: 36px; padding: 0 var(--space-1); margin: 0; border: none; border-radius: var(--radius-md); background: none; font-family: inherit; font-size: var(--text-lg); color: var(--fg-primary); text-align: start; cursor: pointer; transition: background-color .12s; }
1657
- & .onboarding-step:hover { background: var(--bg-raised); }
1658
- & .onboarding-step-icon { display: inline-flex; flex-shrink: 0; color: var(--fg-muted); }
1659
- & .onboarding-step-label { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
1660
- & .onboarding-step-check { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; flex-shrink: 0; border-radius: var(--radius-full); color: transparent; }
1661
- & .onboarding-step[data-done] { cursor: default; }
1662
- & .onboarding-step[data-done] .onboarding-step-icon, & .onboarding-step[data-done] .onboarding-step-label { color: var(--fg-muted); text-decoration: line-through; }
1663
- & .onboarding-step[data-done]:hover { background: none; }
1664
- & .onboarding-step[data-done] .onboarding-step-check { background: var(--bg-brand-solid); color: var(--fg-on-brand); }
1612
+ /* the ring is drawn on the SELECTED row, and only for keyboard focus:
1613
+ a pointer user has just tapped the row they meant and does not need it */
1614
+ & .wheelpicker-column:focus-visible .wheelpicker-item[data-selected] {
1615
+ outline: 2px solid var(--stroke-focus-ring); outline-offset: -2px;
1616
+ border-radius: var(--radius-md);
1617
+ }
1618
+
1619
+ }
1620
+ .wheelpicker--size_small {
1621
+
1622
+ height: 180px; --wheelpicker-offset: 72px;
1623
+ --wheelpicker-fog: min(40%, 108px);
1624
+ & .wheelpicker-indicator { height: 36px; }
1625
+ & .wheelpicker-item { height: 36px; min-height: 36px; font-size: 20px; line-height: 27px; }
1626
+
1627
+ }
1628
+ .wheelpicker--size_medium {
1629
+
1630
+ height: 220px; --wheelpicker-offset: 88px;
1631
+ --wheelpicker-fog: min(40%, 132px);
1632
+ & .wheelpicker-indicator { height: 44px; }
1633
+ & .wheelpicker-item { height: 44px; min-height: 44px; font-size: 26px; line-height: 35px; }
1634
+
1635
+ }
1636
+
1637
+ .appshell {
1638
+
1639
+ display: flex; height: 100%; width: 100%; overflow: hidden; background: var(--bg-surface); font-family: var(--font-sans); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
1640
+ & .appshell-side { position: relative; flex-shrink: 0; overflow: hidden; }
1641
+ & .appshell-side-inner { height: 100%; }
1642
+ & .appshell-resize { position: absolute; top: 0; right: 0; width: 10px; height: 100%; cursor: col-resize; z-index: 5; touch-action: none; }
1643
+ & .appshell-resize::after { content: ""; position: absolute; top: 0; right: 0; width: 1px; height: 100%; background: var(--border-subtle); transition: background-color .16s, height .16s; }
1644
+ & .appshell-resize:hover::after, & .appshell-resize[data-dragging]::after { width: 2px; background: var(--bg-brand-solid); }
1645
+ & .appshell-main { position: relative; flex: 1; min-width: 0; display: flex; flex-direction: column; overflow: hidden; }
1646
+ & .appshell-expand { position: absolute; top: var(--space-2); inset-inline-start: var(--space-2); z-index: 6; display: inline-flex; align-items: center; justify-content: center; width: var(--size-row); height: var(--size-row); padding: 0; border: none; border-radius: var(--radius-md); box-shadow: inset 0 0 0 1px var(--border-subtle); background: var(--bg-surface); color: var(--fg-muted); font-family: inherit; cursor: pointer; transition: background-color .12s; }
1647
+ & .appshell-expand:hover { background: var(--bg-raised); color: var(--fg-primary); }
1648
+
1665
1649
  }
1666
1650
 
1667
1651
  @media (prefers-reduced-motion: reduce) {
1668
- .onboarding, .onboarding * {
1652
+ .appshell, .appshell * {
1669
1653
  animation-duration: 0.01ms !important;
1670
1654
  animation-iteration-count: 1 !important;
1671
1655
  transition-duration: 0.01ms !important;
1672
1656
  }
1673
1657
  }
1674
1658
 
1675
- .recordstable {
1676
-
1677
- box-sizing: border-box; position: relative; display: flex; flex-direction: column; min-height: 0; height: 100%; width: 100%; font-family: var(--font-sans); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
1678
- & * { box-sizing: border-box; }
1659
+ .authshell {
1660
+ min-height: 100%; box-sizing: border-box; display: flex; flex-direction: column; align-items: center; position: relative;
1661
+ background: var(--bg-surface); font-family: var(--font-sans); font-size: var(--text-lg); line-height: 20px; color: var(--fg-primary);
1662
+ -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
1679
1663
 
1680
- /* toolbar */
1681
- & .recordstable-toolbar { display: flex; align-items: center; gap: var(--space-1-5); padding: 0 var(--space-3) var(--space-2); }
1682
- & .recordstable-search { display: flex; align-items: center; gap: var(--space-1-5); height: var(--size-row); padding: 0 var(--space-2-5); border: none; border-radius: var(--radius-md); background: var(--bg-surface); box-shadow: inset 0 0 0 1px var(--border-subtle); color: var(--fg-muted); }
1683
- & .recordstable-search svg { flex-shrink: 0; }
1684
- & .recordstable-search input { border: none; outline: none; background: transparent; font-family: inherit; font-size: var(--text-md); color: var(--fg-primary); width: 180px; }
1685
- & .recordstable-search input::placeholder { color: var(--fg-muted); }
1686
- & .recordstable-tool { display: inline-flex; align-items: center; gap: var(--space-1); height: var(--size-row); margin: 0; padding: 0 var(--space-2); border: none; border-radius: var(--radius-md); background: transparent; box-shadow: inset 0 0 0 1px var(--border-default); color: var(--fg-primary); font-family: inherit; font-size: var(--text-md); font-weight: var(--weight-medium); cursor: pointer; transition: background-color .12s; }
1687
- & .recordstable-tool:hover { background: var(--bg-raised); }
1688
- & .recordstable-tool svg { flex-shrink: 0; color: var(--fg-muted); }
1689
- & .recordstable-tool--active { background: var(--bg-raised); }
1690
- & .recordstable-tool--ghost { box-shadow: none; background: color-mix(in srgb, var(--fg-primary) 3%, transparent); color: var(--fg-muted); }
1691
- & .recordstable-tool--ghost:hover { background: color-mix(in srgb, var(--fg-primary) 6%, transparent); }
1692
- & .recordstable-toolgroup { position: relative; display: inline-flex; }
1693
- & .recordstable-menu { position: absolute; top: calc(100% + var(--space-1)); left: 0; z-index: 30; min-width: 232px; padding: var(--space-1); border-radius: var(--radius-lg); background: var(--bg-popover); box-shadow: inset 0 0 0 1px var(--ring-popover), 0 0 0 1px var(--shadow-popover1), 0 4px 8px -4px var(--shadow-popover2), 0 4px 12px -2px var(--shadow-popover3); display: flex; flex-direction: column; gap: var(--space-px); transform-origin: top; opacity: 1; transform: none; transition: opacity .13s ease, transform .13s ease; }
1694
- & .recordstable-menu { @starting-style { opacity: 0; transform: scale(0.96); } }
1695
- & .recordstable-ctx { z-index: 60; }
1696
- & .recordstable-th[data-drop] { box-shadow: inset 2px 0 0 var(--bg-brand-solid); }
1697
- & .recordstable-th-inner[draggable="true"]:active { cursor: grabbing; }
1698
- & .recordstable-menu-head { padding: var(--space-1) var(--space-2) var(--space-0-5); font-size: var(--text-sm); font-weight: var(--weight-medium); color: var(--fg-muted); }
1699
- & .recordstable-sortpop { min-width: 460px; overflow: visible; padding: var(--space-1-5); gap: var(--space-1); }
1700
- & .recordstable-sort-empty { padding: var(--space-1) var(--space-1) var(--space-2); font-size: var(--text-md); color: var(--fg-muted); }
1701
- & .recordstable-sort-row { display: flex; align-items: center; gap: var(--space-1-5); }
1702
- & .recordstable-sort-grip { display: inline-flex; align-items: center; justify-content: center; width: 16px; height: 28px; flex-shrink: 0; margin-right: calc(-1 * var(--space-1)); padding: 0; border: none; background: none; color: var(--fg-muted); cursor: grab; }
1703
- & .recordstable-sort-grip:active { cursor: grabbing; }
1704
- & .recordstable-sort-grip:hover { color: var(--fg-primary); }
1705
- & .recordstable-sort-optlabel { display: inline-flex; align-items: center; gap: var(--space-1-5); min-width: 0; }
1706
- & .recordstable-sort-optlabel svg { flex-shrink: 0; color: var(--fg-muted); }
1707
- & .recordstable-sort-field { flex: 1; min-width: 0; }
1708
- & .recordstable-sort-dir { width: 136px; flex-shrink: 0; }
1709
- & .recordstable-sort-field .select-trigger, & .recordstable-sort-dir .select-trigger { height: 28px; padding-right: var(--space-1); }
1710
- & .recordstable-sort-remove { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; flex-shrink: 0; padding: 0; margin: 0; border: none; border-radius: var(--radius-md); background: none; color: var(--fg-muted); cursor: pointer; transition: background-color .12s, color .12s; }
1711
- & .recordstable-sort-remove:hover { background: var(--bg-raised); color: var(--fg-primary); }
1712
- & .recordstable-sort-addrow { display: flex; padding: var(--space-0-5) 0; }
1713
- & .recordstable-sort-add { display: inline-flex; align-items: center; gap: var(--space-1-5); height: 28px; padding: 0 var(--space-2) 0 var(--space-1-5); margin: 0; border: none; border-radius: var(--radius-md); background: var(--bg-surface); box-shadow: inset 0 0 0 1px var(--ring-neutral), 0 0 2px rgba(28,40,64,0.18), 0 1px 3px rgba(0,0,0,0.04); font-family: inherit; font-size: var(--text-lg); font-weight: var(--weight-regular); color: var(--fg-primary); cursor: pointer; transition: background-color .12s; }
1714
- & .recordstable-sort-add:hover { background: var(--bg-raised); }
1715
- & .recordstable-sort-add svg { flex-shrink: 0; color: var(--fg-muted); }
1716
- & .recordstable-sort-foot { display: flex; padding: var(--space-1-5) var(--space-1) var(--space-0-5); }
1717
- & .recordstable-sort-learn { display: inline-flex; align-items: center; gap: var(--space-1-5); font-size: var(--text-lg); color: color-mix(in srgb, var(--fg-primary) 63%, transparent); text-decoration: none; }
1718
- & .recordstable-sort-learn svg { flex-shrink: 0; }
1719
- & .recordstable-sort-learn:hover { color: var(--fg-primary); }
1720
- & .recordstable-menu-item { display: flex; align-items: center; gap: var(--space-2); width: 100%; height: var(--size-row); margin: 0; padding: 0 var(--space-2); border: none; background: none; border-radius: var(--radius-md); font-family: inherit; font-size: var(--text-lg); color: var(--fg-primary); text-align: left; cursor: pointer; }
1721
- & .recordstable-menu-item:hover { background: var(--bg-raised); }
1722
- & .recordstable-menu-item:disabled { opacity: 0.4; cursor: default; }
1723
- & .recordstable-menu-item:disabled:hover { background: none; }
1724
- & .recordstable-menu-item svg { flex-shrink: 0; color: var(--fg-muted); }
1725
- & .recordstable-menu-item[data-on] svg { color: var(--bg-brand-solid); }
1726
- & .recordstable-menu-item .recordstable-menu-check { margin-left: auto; }
1727
- & .recordstable-menu-input { height: var(--size-row); margin: var(--space-0-5); padding: 0 var(--space-2); border: none; border-radius: var(--radius-md); box-shadow: inset 0 0 0 1px var(--border-subtle); background: var(--bg-surface); font-family: inherit; font-size: var(--text-lg); color: var(--fg-primary); outline: none; }
1728
- & .recordstable-menu-sep { height: 1px; background: var(--border-subtle); margin: var(--space-0-5) 0; }
1729
- & .recordstable-menu--up { top: auto; bottom: calc(100% + var(--space-1)); transform-origin: bottom; }
1730
- & .recordstable-menu--right { left: auto; right: 0; }
1731
- & .recordstable-menu--fixed { position: fixed; top: auto; left: auto; z-index: 40; }
1732
- & .recordstable-menu--hdr { min-width: 200px; }
1733
- & .recordstable-menu-item--danger { color: var(--bg-danger); }
1734
- & .recordstable-menu-item--danger svg { color: var(--bg-danger); }
1735
- & .recordstable-menu-item--danger:hover { background: color-mix(in srgb, var(--bg-danger) 10%, transparent); }
1736
- & .recordstable-menu-check { margin-left: auto; color: var(--bg-brand-solid); }
1737
- & .recordstable-fchip { display: inline-flex; align-items: center; height: var(--size-row); padding-right: var(--space-1); border-radius: var(--radius-md); box-shadow: inset 0 0 0 1px var(--border-default); background: var(--bg-surface); font-size: var(--text-md); color: var(--fg-primary); white-space: nowrap; }
1738
- & .recordstable-fchip-main { display: inline-flex; align-items: center; gap: var(--space-1-5); height: 100%; margin: 0; padding: 0 var(--space-1) 0 var(--space-2); border: none; background: none; font-family: inherit; font-size: var(--text-md); color: var(--fg-primary); cursor: pointer; }
1739
- & .recordstable-fchip-field { font-weight: var(--weight-medium); }
1740
- & .recordstable-fchip-op { color: var(--fg-muted); }
1741
- & .recordstable-fchip-val { font-weight: var(--weight-medium); max-width: 140px; overflow: hidden; text-overflow: ellipsis; }
1742
- & .recordstable-fchip-x { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; padding: 0; border: none; border-radius: var(--radius-sm); background: none; color: var(--fg-muted); cursor: pointer; }
1743
- & .recordstable-fchip-x:hover { background: color-mix(in srgb, var(--fg-primary) 10%, transparent); color: var(--fg-primary); }
1744
- & .recordstable-spacer { flex: 1; }
1745
- & .recordstable-count { font-size: var(--text-md); color: var(--fg-muted); }
1746
- & .recordstable-new { display: inline-flex; align-items: center; gap: var(--space-1); height: var(--size-row); padding: 0 var(--space-2-5); border: none; border-radius: var(--radius-md); background: var(--bg-brand-solid); color: var(--fg-on-brand); font-family: inherit; font-size: var(--text-md); font-weight: var(--weight-medium); cursor: pointer; transition: background-color .12s; }
1747
- & .recordstable-new:hover { background: var(--bg-brand-solid-pressed); }
1664
+ & .authshell-progress { position: absolute; top: 0; left: 0; width: 100%; height: 2px; background: var(--border-default); }
1665
+ & .authshell-progress-fill { height: 2px; background: var(--fg-primary); border-radius: 4px; transition: width .2s; }
1748
1666
 
1749
- /* scroll frame + table */
1750
- & .recordstable-scroll { flex: 1; min-height: 0; overflow: auto; background: var(--bg-surface); border-top: 1px solid var(--border-subtle); scrollbar-width: thin; scrollbar-color: color-mix(in srgb, var(--fg-primary) 22%, transparent) transparent; }
1751
- & .recordstable-scroll::-webkit-scrollbar { width: 10px; height: 10px; }
1752
- & .recordstable-scroll::-webkit-scrollbar-thumb { background: color-mix(in srgb, var(--fg-primary) 20%, transparent); border-radius: var(--radius-full); border: 2px solid var(--bg-surface); background-clip: padding-box; }
1753
- & .recordstable-scroll::-webkit-scrollbar-thumb:hover { background: color-mix(in srgb, var(--fg-primary) 34%, transparent); background-clip: padding-box; }
1754
- & .recordstable-scroll::-webkit-scrollbar-corner { background: transparent; }
1755
- & .recordstable-table { table-layout: fixed; border-collapse: separate; border-spacing: 0; }
1756
- & .recordstable-th, & .recordstable-td { position: relative; height: var(--size-tableRow); padding: 0 var(--space-2); border-bottom: 1px solid var(--border-subtle); border-inline-end: 1px solid var(--border-subtle); text-align: start; white-space: nowrap; overflow: hidden; }
1757
- & .recordstable-th { position: sticky; top: 0; z-index: 2; padding: 0; height: var(--size-tableHeader); background: var(--bg-surface); font-size: var(--text-lg); font-weight: var(--weight-medium); letter-spacing: -0.14px; color: color-mix(in srgb, var(--fg-primary) 63%, transparent); user-select: none; }
1758
- & .recordstable-th-inner { display: flex; align-items: center; gap: var(--space-1-5); width: 100%; height: 100%; margin: 0; padding: 0 var(--space-2); border: none; background: none; color: inherit; font: inherit; letter-spacing: inherit; text-align: start; cursor: pointer; }
1759
- & .recordstable-th-inner svg { flex-shrink: 0; color: color-mix(in srgb, var(--fg-primary) 45%, transparent); }
1760
- & .recordstable-th-label { flex: 1; overflow: hidden; text-overflow: ellipsis; }
1761
- & .recordstable-th-rename { width: 100%; min-width: 0; height: 100%; margin: 0; padding: 0; border: none; outline: none; background: none; color: inherit; font: inherit; letter-spacing: inherit; }
1762
- & .recordstable-th-rename:focus { box-shadow: inset 0 0 0 1px var(--bg-brand-solid); }
1763
- & .recordstable-sort { flex-shrink: 0; opacity: 0.4; transition: opacity .12s; color: color-mix(in srgb, var(--fg-primary) 45%, transparent); }
1764
- & .recordstable-th:hover .recordstable-sort, & .recordstable-th[data-sorted] .recordstable-sort { opacity: 1; }
1765
- & .recordstable-th[data-sorted="desc"] .recordstable-sort svg { transform: rotate(180deg); }
1667
+ & .authshell-logo { margin-top: var(--space-8); height: 24px; display: flex; align-items: center; }
1766
1668
 
1767
- /* column resize handle */
1768
- & .recordstable-resize { position: absolute; top: 0; right: -3px; width: 9px; height: 100%; cursor: col-resize; z-index: 6; touch-action: none; }
1769
- & .recordstable-resize::after { content: ""; position: absolute; top: 0; left: 3px; width: 2px; height: 100%; background: var(--bg-brand-solid); opacity: 0; transition: opacity .12s; }
1770
- & .recordstable-resize:hover::after, & .recordstable-resize[data-resizing]::after { opacity: 1; }
1669
+ & .authshell-card { margin-top: var(--space-6); display: flex; height: 692px; border-radius: 20px; border: 1px solid var(--border-subtle); overflow: hidden; }
1771
1670
 
1772
- /* add-column header */
1773
- & .recordstable-addcol { min-width: 44px; }
1774
- & .recordstable-addcol button { display: flex; align-items: center; justify-content: center; width: 44px; height: 100%; border: none; background: none; color: var(--fg-muted); cursor: pointer; }
1775
- & .recordstable-addcol button:hover { background: var(--bg-raised); color: var(--fg-primary); }
1671
+ & .authshell-pane { flex: 0 0 564px; padding: 72px; display: flex; flex-direction: column; box-sizing: border-box; }
1776
1672
 
1777
- /* cells */
1778
- & .recordstable-td { font-size: var(--text-lg); color: var(--fg-primary); background: var(--bg-surface); cursor: default; }
1779
- & .recordstable-td--editable { cursor: text; }
1780
- /* keyboard/click cell selection (spreadsheet-style) */
1781
- & .recordstable-td[data-selected] { outline: 2px solid var(--bg-brand-solid); outline-offset: -2px; border-radius: var(--radius-sm); z-index: 3; }
1782
- & .recordstable-scroll:focus { outline: none; }
1783
- /* picker cells (status / date / reference) host a ghost control edge-to-edge */
1784
- & .recordstable-td--picker { padding: 0; }
1785
- & .recordstable-td--picker .select-trigger, & .recordstable-td--picker .datepicker-trigger, & .recordstable-td--picker .multiselect-trigger { width: 100%; height: 100%; min-height: 0; border-radius: 0; box-shadow: none; padding: 0 var(--space-2); }
1786
- & .recordstable-td--picker .multiselect-trigger:hover { background: none; }
1787
- & .recordstable-td--picker .multiselect-trigger[data-open] { box-shadow: inset 0 0 0 1.5px var(--bg-brand-solid); }
1788
- /* tag cell: one compact clipped line of full chips, no chevron (opens the picker on click) */
1789
- & .recordstable-td--picker .multiselect-chips { flex-wrap: nowrap; overflow: hidden; }
1790
- & .recordstable-td--picker .multiselect-chips .recordstable-tag { flex-shrink: 0; max-width: none; }
1791
- & .recordstable-td--picker .multiselect-chevron { display: none; }
1792
- & .recordstable-td--picker .multiselect-placeholder { color: var(--fg-muted); }
1793
- & .recordstable-status { display: inline-flex; align-items: center; gap: var(--space-1-5); min-width: 0; }
1794
- & .recordstable-status-dot { flex-shrink: 0; width: 8px; height: 8px; border-radius: var(--radius-full); }
1795
- & .recordstable-cell { display: flex; align-items: center; gap: var(--space-2); height: 100%; min-width: 0; }
1796
- & .recordstable-cell--num { justify-content: flex-end; font-variant-numeric: tabular-nums; }
1797
- & .recordstable-cell--tags { gap: var(--space-1); }
1798
- & .recordstable-tag { display: inline-flex; align-items: center; height: var(--size-chip); padding: 0 var(--space-1); border-radius: var(--radius-chip); font-size: var(--text-lg); line-height: 20px; font-weight: var(--weight-medium); white-space: nowrap; background: color-mix(in srgb, var(--fg-primary) 6%, transparent); color: color-mix(in srgb, var(--fg-primary) 82%, transparent); box-shadow: inset 0 0 0 1px var(--border-subtle); }
1799
- & .recordstable-tag[data-tone="brand"] { background: color-mix(in srgb, var(--bg-brand-solid) 14%, transparent); color: color-mix(in srgb, var(--bg-brand-solid) 82%, var(--fg-primary)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--bg-brand-solid) 30%, transparent); }
1800
- & .recordstable-tag[data-tone="success"] { background: color-mix(in srgb, var(--bg-success) 16%, transparent); color: color-mix(in srgb, var(--bg-success) 78%, var(--fg-primary)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--bg-success) 30%, transparent); }
1801
- & .recordstable-tag[data-tone="warning"] { background: color-mix(in srgb, var(--bg-warning) 18%, transparent); color: color-mix(in srgb, var(--bg-warning) 82%, var(--fg-primary)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--bg-warning) 30%, transparent); }
1802
- & .recordstable-tag[data-tone="danger"] { background: color-mix(in srgb, var(--bg-danger) 15%, transparent); color: color-mix(in srgb, var(--bg-danger) 80%, var(--fg-primary)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--bg-danger) 30%, transparent); }
1803
- & .recordstable-tag[data-tone="purple"] { background: color-mix(in srgb, var(--bg-purple) 16%, transparent); color: color-mix(in srgb, var(--bg-purple) 80%, var(--fg-primary)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--bg-purple) 30%, transparent); }
1804
- & .recordstable-tag[data-tone="cyan"] { background: color-mix(in srgb, var(--bg-cyan) 18%, transparent); color: color-mix(in srgb, var(--bg-cyan) 82%, var(--fg-primary)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--bg-cyan) 30%, transparent); }
1805
- & .recordstable-tag[data-tone="orange"] { background: color-mix(in srgb, var(--bg-orange) 16%, transparent); color: color-mix(in srgb, var(--bg-orange) 82%, var(--fg-primary)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--bg-orange) 30%, transparent); }
1806
- & .recordstable-muted { color: var(--fg-muted); }
1807
- & .recordstable-entity { display: flex; align-items: center; gap: var(--space-1-5); min-width: 0; color: var(--fg-primary); font-weight: var(--weight-medium); text-decoration: none; }
1808
- & .recordstable-entity:hover .recordstable-entity-name { text-decoration: underline; }
1809
- & .recordstable-entity-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
1810
- & button.recordstable-entity-name--link { margin: 0; padding: 0; border: none; background: none; font: inherit; color: inherit; letter-spacing: inherit; text-align: start; cursor: pointer; max-width: 100%; }
1811
- & .recordstable-fav { width: var(--size-icon); height: var(--size-icon); border-radius: var(--radius-sm); flex-shrink: 0; object-fit: cover; background: var(--bg-raised); }
1812
- & .recordstable-open { position: absolute; inset-inline-end: var(--space-1); top: 50%; transform: translateY(-50%); display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; padding: 0; border: none; border-radius: var(--radius-sm); background: var(--bg-surface); box-shadow: inset 0 0 0 1px var(--border-default); color: var(--fg-muted); font-family: inherit; cursor: pointer; opacity: 0; transition: opacity .12s, background-color .12s; z-index: 3; }
1813
- & .recordstable-open:hover { background: var(--bg-raised); color: var(--fg-primary); }
1814
- & tbody tr:hover .recordstable-open { opacity: 1; }
1815
- & .recordstable-link { color: var(--fg-primary); text-decoration: none; overflow: hidden; text-overflow: ellipsis; }
1816
- & .recordstable-link:hover { text-decoration: underline; }
1673
+ & .authshell-preview { flex: 0 0 564px; padding: 96px 64px; background: var(--bg-subtle); border-inline-start: 1px solid color-mix(in srgb, var(--fg-primary) 5%, transparent); position: relative; overflow: hidden; box-sizing: border-box; }
1674
+ & .authshell-preview::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; background: linear-gradient(color-mix(in srgb, var(--bg-subtle) 0%, transparent) 0%, var(--bg-subtle) 100%); pointer-events: none; }
1817
1675
 
1818
- /* inline edit input */
1819
- & .recordstable-edit { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; padding: 0 var(--space-2); border: none; outline: 2px solid var(--bg-brand-solid); outline-offset: -2px; border-radius: var(--radius-sm); background: var(--bg-surface); font-family: inherit; font-size: var(--text-lg); color: var(--fg-primary); z-index: 5; }
1820
- & .recordstable-edit--num { text-align: end; font-variant-numeric: tabular-nums; }
1676
+ & .authshell-body { width: 420px; margin: 0 auto; display: flex; flex-direction: column; gap: var(--space-8); align-items: center; }
1821
1677
 
1822
- /* selection / hover / sticky */
1823
- & .recordstable-col-check { width: 40px; min-width: 40px; padding: 0; }
1824
- & .recordstable-check-inner { display: flex; align-items: center; justify-content: center; height: 100%; }
1825
- & .recordstable-col-check, & .recordstable-col-entity { position: sticky; z-index: 3; background: var(--bg-surface); }
1826
- & .recordstable-col-check { left: 0; }
1827
- & .recordstable-col-entity { left: 40px; clip-path: inset(0 -38px 0 0); transition: box-shadow .2s ease; }
1828
- & thead .recordstable-col-check, & thead .recordstable-col-entity { z-index: 4; }
1829
- /* soft shadow on the sticky column edge once the grid is scrolled horizontally */
1830
- & .recordstable-scroll[data-scrolled] .recordstable-col-entity { box-shadow: 6px 0 16px 4px rgba(0,0,0,0.12); }
1831
- /* AI-enriched values carry a purple wash. Measured from Attio:
1832
- a full-bleed overlay at #9b69ff 4% (== bgPurple), composited OVER
1833
- whatever row-state background the cell already has, which is why it
1834
- is an ::after and not a background. */
1835
- & .recordstable-td[data-enriched]::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: color-mix(in srgb, var(--bg-purple) 4%, transparent); }
1836
- & tbody tr:hover .recordstable-td { background: color-mix(in srgb, var(--fg-primary) 4%, var(--bg-surface)); }
1837
- & tbody tr[data-selected] .recordstable-td { background: color-mix(in srgb, var(--bg-brand-solid) 10%, var(--bg-surface)); }
1838
- & tbody tr[data-selected]:hover .recordstable-td { background: color-mix(in srgb, var(--fg-primary) 4%, color-mix(in srgb, var(--bg-brand-solid) 10%, var(--bg-surface))); }
1839
- & .recordstable-th:last-child, & .recordstable-td:last-child { border-inline-end: none; }
1678
+ & .authshell-title { font-size: 20px; line-height: 24px; font-weight: var(--weight-semibold); letter-spacing: -0.4px; color: var(--fg-primary); align-self: stretch; }
1840
1679
 
1841
- /* add-row footer */
1842
- & .recordstable-addrow { display: flex; align-items: center; gap: var(--space-2); width: 100%; height: var(--size-tableRow); padding: 0 var(--space-2); border: none; border-top: 1px solid var(--border-subtle); background: var(--bg-surface); color: var(--fg-muted); font-family: inherit; font-size: var(--text-lg); cursor: pointer; }
1843
- & .recordstable-addrow:hover { background: var(--bg-raised); color: var(--fg-primary); }
1844
- /* zero-row empty state — centred in the body region (headers + summary stay) */
1845
- & .recordstable-empty { display: flex; align-items: center; justify-content: center; min-height: 320px; padding: var(--space-8) var(--space-4); }
1680
+ & .authshell-form { align-self: stretch; display: flex; flex-direction: column; gap: 28px; }
1846
1681
 
1847
- /* summary footer — per-column aggregation, sticky to the bottom */
1848
- & .recordstable-sum { position: sticky; bottom: 0; z-index: 2; height: var(--size-tableRow); padding: 0; border-top: 1px solid var(--border-subtle); border-inline-end: 1px solid var(--border-subtle); background: var(--bg-surface); }
1849
- & tfoot .recordstable-col-check, & tfoot .recordstable-col-entity { position: sticky; bottom: 0; z-index: 3; }
1850
- & .recordstable-sum:last-child { border-inline-end: none; }
1851
- & .recordstable-sum-btn { display: flex; align-items: center; justify-content: flex-end; gap: var(--space-1-5); width: 100%; height: 100%; margin: 0; padding: 0 var(--space-3); border: none; background: none; color: color-mix(in srgb, var(--fg-primary) 63%, transparent); font-family: inherit; font-size: var(--text-lg); font-weight: var(--weight-medium); cursor: pointer; white-space: nowrap; overflow: hidden; }
1852
- & .recordstable-sum-btn:hover { background: var(--bg-raised); }
1853
- & .recordstable-sum-label { color: color-mix(in srgb, var(--fg-primary) 45%, transparent); text-transform: capitalize; }
1854
- & .recordstable-sum-value { color: var(--fg-primary); font-variant-numeric: tabular-nums; overflow: hidden; text-overflow: ellipsis; }
1855
- & .recordstable-sumgroup { width: 100%; height: 100%; }
1856
- & .recordstable-pin { flex-shrink: 0; margin-inline-start: var(--space-1); color: var(--bg-warning); fill: color-mix(in srgb, var(--bg-warning) 35%, transparent); }
1857
- & .recordstable-sum-btn[data-empty] { opacity: 0; justify-content: flex-start; }
1858
- & .recordstable-sum-btn[data-empty]:hover { opacity: 1; }
1682
+ & .authshell-footer { margin-top: var(--space-6); display: flex; align-items: center; gap: var(--space-1); font-size: var(--text-sm); line-height: 16px; color: color-mix(in srgb, var(--fg-primary) 63%, transparent); }
1683
+ & .authshell-footer a { color: inherit; font-weight: var(--weight-medium); text-decoration: underline; }
1859
1684
 
1860
- /* bulk action bar lives in its own component now — see components/bulkbar */
1861
- & .recordstable-bulk-sep { width: 1px; height: 20px; margin: 0 var(--space-0-5); background: var(--border-subtle); }
1862
- & .recordstable-bulk-close { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; padding: 0; border: none; border-radius: var(--radius-md); background: transparent; color: var(--fg-muted); cursor: pointer; }
1863
- & .recordstable-bulk-close:hover { background: var(--bg-raised); color: var(--fg-primary); }
1864
-
1685
+ /* Auth-surface control treatment: flatter than the in-app chrome — a plain
1686
+ hairline ring instead of elevation.field's soft glow, and a 36px (not
1687
+ 40px) submit. Scoped to .authshell-body so a consumer keeps using
1688
+ crisp's Input / FormField / Button and gets the auth treatment for free. */
1689
+ & .authshell-body .formfield-label { font-size: var(--text-sm); line-height: 16px; font-weight: var(--weight-medium); letter-spacing: -0.12px; color: color-mix(in srgb, var(--fg-primary) 50%, transparent); padding-inline-start: var(--space-1); }
1690
+ & .authshell-body .formfield { gap: var(--space-1); }
1691
+ & .authshell-body .input { height: 34px; padding-inline: var(--space-2-5); border-radius: 10px; background: transparent; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--fg-primary) 6%, transparent); font-size: var(--text-lg); font-weight: var(--weight-medium); letter-spacing: -0.14px; transition: box-shadow .14s, background-color .14s; }
1692
+ & .authshell-body .input:focus { box-shadow: inset 0 0 0 1px var(--bg-brand-solid); }
1693
+ /* Same three-layer brand shadow as Button's primary intent, but the auth
1694
+ button's inset ring is measured at rgba(0,0,0,0.06) — a hairline, not
1695
+ the in-app button's rgba(255,255,255,0.07) highlight. */
1696
+ & .authshell-body .button { height: 36px; padding-inline: var(--space-3); border-radius: 10px; }
1697
+ & .authshell-body .button--intent_primary { box-shadow: inset 0 0 0 1px rgba(0,0,0,0.06), 0 2px 4px -2px rgba(38,109,240,0.12), 0 3px 6px -2px rgba(38,109,240,0.08); }
1698
+
1699
+ /* Attio drops the preview pane in JS on narrow viewports (measured: two
1700
+ panes at 1393px, one at 954px), so 1200px is a chosen threshold inside
1701
+ that bracket, not a measured value. A CONTAINER query, not a media
1702
+ query: the shell is embedded in the docs inside an ~800px column, where
1703
+ a viewport query would keep the 1130px card and overflow it. Asking the
1704
+ shell's own width is what "there isn't room for the preview" means. */
1705
+ container-type: inline-size;
1706
+ @container (max-width: 1200px) { & .authshell-preview { display: none; } }
1707
+ }
1708
+
1709
+ @media (prefers-reduced-motion: reduce) {
1710
+ .authshell, .authshell * {
1711
+ animation-duration: 0.01ms !important;
1712
+ animation-iteration-count: 1 !important;
1713
+ transition-duration: 0.01ms !important;
1714
+ }
1715
+ }
1716
+
1717
+ .board {
1718
+ display: flex; gap: var(--space-3); height: 100%; box-sizing: border-box; padding: var(--space-3); overflow-x: auto; align-items: flex-start; font-family: var(--font-sans);
1719
+ & .board-col { display: flex; flex-direction: column; width: 280px; flex-shrink: 0; max-height: 100%; box-sizing: border-box; }
1720
+ & .board-col-header { display: flex; align-items: center; gap: var(--space-2); height: 36px; padding: 0 var(--space-1); flex-shrink: 0; }
1721
+ & .board-col-dot { width: 9px; height: 9px; border-radius: var(--radius-full); flex-shrink: 0; }
1722
+ & .board-col-title { font-size: var(--text-lg); font-weight: var(--weight-semibold); color: var(--fg-primary); }
1723
+ & .board-col-count { font-size: var(--text-md); color: var(--fg-muted); }
1724
+ & .board-col-add { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; margin-inline-start: auto; padding: 0; border: none; border-radius: var(--radius-md); background: none; color: var(--fg-muted); font-family: inherit; cursor: pointer; }
1725
+ & .board-col-add:hover { background: color-mix(in srgb, var(--fg-primary) 6%, transparent); color: var(--fg-primary); }
1726
+ & .board-col-body { display: flex; flex-direction: column; gap: var(--space-2); flex: 1; min-height: 48px; padding: var(--space-1); border-radius: var(--radius-lg); overflow-y: auto; transition: background 0.12s; }
1727
+ & .board-col[data-over] .board-col-body { background: color-mix(in srgb, var(--bg-brand-solid) 7%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--bg-brand-solid) 30%, transparent); }
1728
+ & .board-newcard { display: flex; align-items: center; justify-content: center; gap: var(--space-1-5); height: 32px; flex-shrink: 0; border: none; border-radius: var(--radius-md); background: color-mix(in srgb, var(--fg-primary) 4%, transparent); color: var(--fg-muted); font-family: inherit; font-size: var(--text-md); font-weight: var(--weight-medium); cursor: pointer; }
1729
+ & .board-newcard:hover { background: color-mix(in srgb, var(--fg-primary) 7%, transparent); color: var(--fg-primary); }
1730
+ & .board-card { display: flex; flex-direction: column; gap: var(--space-2); box-sizing: border-box; padding: var(--space-2-5) var(--space-3); border-radius: var(--radius-lg); background: var(--bg-surface); box-shadow: inset 0 0 0 1px var(--border-subtle), 0 1px 2px rgba(0,0,0,0.04); cursor: grab; }
1731
+ & .board-card:active { cursor: grabbing; }
1732
+ & .board-card[data-dragging] { opacity: 0.4; }
1865
1733
  }
1866
1734
 
1867
1735
  @media (prefers-reduced-motion: reduce) {
1868
- .recordstable, .recordstable * {
1736
+ .board, .board * {
1869
1737
  animation-duration: 0.01ms !important;
1870
1738
  animation-iteration-count: 1 !important;
1871
1739
  transition-duration: 0.01ms !important;
1872
1740
  }
1873
1741
  }
1874
1742
 
1875
- .flowcanvas {
1876
- position: relative; overflow: hidden; box-sizing: border-box; width: 100%; height: 100%; background-color: var(--bg-surface); background-image: radial-gradient(circle, color-mix(in srgb, var(--fg-primary) 14%, transparent) 1px, transparent 1px); font-family: var(--font-sans); cursor: grab; touch-action: none; user-select: none;
1877
- &[data-panning] { cursor: grabbing; }
1878
- & .flowcanvas-viewport { position: absolute; top: 0; left: 0; transform-origin: 0 0; }
1879
- & .flowcanvas-edges { position: absolute; top: 0; left: 0; width: 1px; height: 1px; overflow: visible; pointer-events: none; }
1880
- & .flowcanvas-edge { fill: none; stroke: color-mix(in srgb, var(--fg-primary) 28%, transparent); stroke-width: 1.5; }
1881
- & .flowcanvas-edge-dot { fill: var(--bg-brand-solid); }
1882
- & .flowcanvas-node { position: absolute; cursor: grab; }
1883
- & .flowcanvas-node[data-dragging] { cursor: grabbing; z-index: 10; }
1884
- & .flowcanvas-toolbar { position: absolute; bottom: var(--space-4); left: 50%; transform: translateX(-50%); display: inline-flex; align-items: center; gap: var(--space-1); padding: var(--space-1); border-radius: var(--radius-lg); background: var(--bg-raised); box-shadow: inset 0 0 0 1px var(--border-default), 0 4px 14px -4px rgba(28,40,64,0.16); }
1885
- & .flowcanvas-tool { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-1); height: 30px; min-width: 30px; padding: 0 var(--space-2); margin: 0; border: none; border-radius: var(--radius-md); background: none; color: var(--fg-muted); font-family: inherit; font-size: var(--text-md); font-weight: var(--weight-medium); cursor: pointer; }
1886
- & .flowcanvas-tool:hover { background: color-mix(in srgb, var(--fg-primary) 6%, transparent); color: var(--fg-primary); }
1887
- & .flowcanvas-tool-zoom { min-width: 48px; }
1888
- & .flowcanvas-tool-sep { width: 1px; height: 18px; background: var(--border-subtle); }
1889
- }
1890
-
1891
1743
  .command {
1892
1744
  display: contents; font-family: var(--font-sans)
1893
1745
  ; & .command-content, & .command-card { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
@@ -1925,6 +1777,49 @@
1925
1777
  }
1926
1778
  }
1927
1779
 
1780
+ .entitycard {
1781
+ display: flex; flex-direction: column; box-sizing: border-box; width: 100%; min-width: 0; text-align: start;
1782
+ padding: var(--space-3) var(--space-4); margin: 0; border: none; border-radius: var(--radius-xl);
1783
+ background: var(--bg-surface); box-shadow: inset 0 0 0 1px var(--border-subtle); color: var(--fg-primary);
1784
+ font-family: var(--font-sans); cursor: pointer; transition: box-shadow .12s ease, background-color .12s ease;
1785
+ -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
1786
+
1787
+ &:hover { box-shadow: inset 0 0 0 1px var(--border-default), 0 1px 2px rgba(0,0,0,0.04), 0 6px 16px -6px rgba(28,40,64,0.12); }
1788
+ &:focus-visible { outline: 2px solid var(--bg-brand-solid); outline-offset: 2px; }
1789
+
1790
+ & .entitycard-author { display: inline-flex; align-items: center; gap: var(--space-1-5); font-size: var(--text-md); font-weight: var(--weight-medium); color: var(--fg-muted); }
1791
+ & .entitycard-title { margin-top: var(--space-2); font-size: var(--text-lg); font-weight: var(--weight-semibold); letter-spacing: -0.1px; color: var(--fg-primary); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
1792
+ & .entitycard-excerpt { margin-top: var(--space-1); font-size: var(--text-md); line-height: 18px; color: var(--fg-muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
1793
+ & .entitycard-spacer { flex: 1; min-height: var(--space-3); }
1794
+ & .entitycard-foot { display: flex; align-items: center; gap: var(--space-1-5); padding-top: var(--space-2-5); margin-top: var(--space-1); border-top: 1px solid var(--border-subtle); font-size: var(--text-sm); color: var(--fg-muted); }
1795
+ & .entitycard-foot-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--fg-primary); }
1796
+ & .entitycard-date { margin-inline-start: auto; flex-shrink: 0; white-space: nowrap; }
1797
+ }
1798
+
1799
+ @media (prefers-reduced-motion: reduce) {
1800
+ .entitycard, .entitycard * {
1801
+ animation-duration: 0.01ms !important;
1802
+ animation-iteration-count: 1 !important;
1803
+ transition-duration: 0.01ms !important;
1804
+ }
1805
+ }
1806
+
1807
+ .flowcanvas {
1808
+ position: relative; overflow: hidden; box-sizing: border-box; width: 100%; height: 100%; background-color: var(--bg-surface); background-image: radial-gradient(circle, color-mix(in srgb, var(--fg-primary) 14%, transparent) 1px, transparent 1px); font-family: var(--font-sans); cursor: grab; touch-action: none; user-select: none;
1809
+ &[data-panning] { cursor: grabbing; }
1810
+ & .flowcanvas-viewport { position: absolute; top: 0; left: 0; transform-origin: 0 0; }
1811
+ & .flowcanvas-edges { position: absolute; top: 0; left: 0; width: 1px; height: 1px; overflow: visible; pointer-events: none; }
1812
+ & .flowcanvas-edge { fill: none; stroke: color-mix(in srgb, var(--fg-primary) 28%, transparent); stroke-width: 1.5; }
1813
+ & .flowcanvas-edge-dot { fill: var(--bg-brand-solid); }
1814
+ & .flowcanvas-node { position: absolute; cursor: grab; }
1815
+ & .flowcanvas-node[data-dragging] { cursor: grabbing; z-index: 10; }
1816
+ & .flowcanvas-toolbar { position: absolute; bottom: var(--space-4); left: 50%; transform: translateX(-50%); display: inline-flex; align-items: center; gap: var(--space-1); padding: var(--space-1); border-radius: var(--radius-lg); background: var(--bg-raised); box-shadow: inset 0 0 0 1px var(--border-default), 0 4px 14px -4px rgba(28,40,64,0.16); }
1817
+ & .flowcanvas-tool { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-1); height: 30px; min-width: 30px; padding: 0 var(--space-2); margin: 0; border: none; border-radius: var(--radius-md); background: none; color: var(--fg-muted); font-family: inherit; font-size: var(--text-md); font-weight: var(--weight-medium); cursor: pointer; }
1818
+ & .flowcanvas-tool:hover { background: color-mix(in srgb, var(--fg-primary) 6%, transparent); color: var(--fg-primary); }
1819
+ & .flowcanvas-tool-zoom { min-width: 48px; }
1820
+ & .flowcanvas-tool-sep { width: 1px; height: 18px; background: var(--border-subtle); }
1821
+ }
1822
+
1928
1823
  .inbox {
1929
1824
  display: flex; flex-direction: column; box-sizing: border-box; width: 380px; max-height: 588px;
1930
1825
  border-radius: var(--radius-xl); background: var(--bg-surface); font-family: var(--font-sans); overflow: hidden;
@@ -1965,87 +1860,46 @@
1965
1860
  }
1966
1861
  }
1967
1862
 
1968
- .appshell {
1969
-
1970
- display: flex; height: 100%; width: 100%; overflow: hidden; background: var(--bg-surface); font-family: var(--font-sans); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
1971
- & .appshell-side { position: relative; flex-shrink: 0; overflow: hidden; }
1972
- & .appshell-side-inner { height: 100%; }
1973
- & .appshell-resize { position: absolute; top: 0; right: 0; width: 10px; height: 100%; cursor: col-resize; z-index: 5; touch-action: none; }
1974
- & .appshell-resize::after { content: ""; position: absolute; top: 0; right: 0; width: 1px; height: 100%; background: var(--border-subtle); transition: background-color .16s, height .16s; }
1975
- & .appshell-resize:hover::after, & .appshell-resize[data-dragging]::after { width: 2px; background: var(--bg-brand-solid); }
1976
- & .appshell-main { position: relative; flex: 1; min-width: 0; display: flex; flex-direction: column; overflow: hidden; }
1977
- & .appshell-expand { position: absolute; top: var(--space-2); inset-inline-start: var(--space-2); z-index: 6; display: inline-flex; align-items: center; justify-content: center; width: var(--size-row); height: var(--size-row); padding: 0; border: none; border-radius: var(--radius-md); box-shadow: inset 0 0 0 1px var(--border-subtle); background: var(--bg-surface); color: var(--fg-muted); font-family: inherit; cursor: pointer; transition: background-color .12s; }
1978
- & .appshell-expand:hover { background: var(--bg-raised); color: var(--fg-primary); }
1979
-
1980
- }
1863
+ .listpage {
1864
+ display: flex; flex-direction: column; min-height: 0; box-sizing: border-box; font-family: var(--font-sans); color: var(--fg-primary);
1865
+ -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
1981
1866
 
1982
- @media (prefers-reduced-motion: reduce) {
1983
- .appshell, .appshell * {
1984
- animation-duration: 0.01ms !important;
1985
- animation-iteration-count: 1 !important;
1986
- transition-duration: 0.01ms !important;
1987
- }
1988
- }
1867
+ & .listpage-toolbar { display: flex; align-items: center; gap: var(--space-2); height: 52px; flex-shrink: 0; padding: 0 var(--space-3); }
1868
+ & .listpage-toolbar-lead { display: flex; align-items: center; gap: var(--space-2); }
1869
+ & .listpage-count { margin-inline-start: auto; font-size: var(--text-md); color: var(--fg-muted); white-space: nowrap; }
1870
+ & .listpage-toolbar-trail { display: flex; align-items: center; gap: var(--space-2); }
1871
+ & .listpage-count + .listpage-toolbar-trail { margin-inline-start: var(--space-3); }
1989
1872
 
1990
- .recordpanel {
1991
-
1992
- position: absolute; top: var(--space-2); inset-inline-end: var(--space-2); bottom: var(--space-2);
1993
- z-index: 20; display: flex; flex-direction: column; overflow: hidden;
1994
- width: 420px; max-width: calc(92% - var(--space-2));
1995
- background: var(--bg-surface); border-radius: var(--radius-xl);
1996
- box-shadow: inset 0 0 0 1px var(--ring-popover), 0 0 0 1px var(--shadow-popover1), 0 4px 8px -4px var(--shadow-popover2), 0 4px 12px -2px var(--shadow-popover3);
1997
- font-family: var(--font-sans);
1998
- -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
1999
- transform: translateX(0); transition: transform .2s ease;
2000
- @starting-style { transform: translateX(calc(100% + var(--space-2))); }
2001
- & * { box-sizing: border-box; }
1873
+ & .listpage-body { flex: 1; min-height: 0; overflow-y: auto; padding: 0 var(--space-3) var(--space-3); }
2002
1874
 
2003
- & .recordpanel-header { display: flex; align-items: center; gap: var(--space-2); height: 52px; flex-shrink: 0; padding: 0 var(--space-3); border-bottom: 1px solid var(--border-subtle); }
2004
- & .recordpanel-fav { width: 22px; height: var(--size-chip); border-radius: var(--radius-sm); flex-shrink: 0; object-fit: cover; background: var(--bg-raised); }
2005
- & .recordpanel-title { flex: 1; min-width: 0; font-size: var(--text-xl); font-weight: var(--weight-semibold); letter-spacing: -0.2px; color: var(--fg-primary); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
2006
- & .recordpanel-iconbtn { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; flex-shrink: 0; padding: 0; border: none; border-radius: var(--radius-md); background: transparent; color: var(--fg-muted); font-family: inherit; cursor: pointer; transition: background-color .12s; }
2007
- & .recordpanel-iconbtn:hover { background: var(--bg-raised); color: var(--fg-primary); }
1875
+ & .listpage-section-label { padding: var(--space-2) var(--space-1); font-size: var(--text-sm); font-weight: var(--weight-medium); color: var(--fg-muted); }
1876
+ & .listpage-favorites { display: flex; align-items: center; justify-content: center; min-height: 200px; padding: var(--space-6); border-radius: var(--radius-xl);
1877
+ background: repeating-linear-gradient(0deg, transparent, transparent) padding-box,
1878
+ border-box; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--fg-primary) 8%, transparent); }
1879
+ & .listpage-favorites[data-dashed] { box-shadow: none; border: 1px dashed color-mix(in srgb, var(--fg-primary) 14%, transparent); }
2008
1880
 
2009
- & .recordpanel-body { flex: 1; min-height: 0; overflow-y: auto; padding: var(--space-2) var(--space-3); }
2010
- & .recordpanel-sectionlabel { font-size: var(--text-sm); font-weight: var(--weight-medium); color: var(--fg-muted); padding: var(--space-2) var(--space-1) var(--space-1); }
2011
- & .recordpanel-field { display: flex; align-items: flex-start; gap: var(--space-2); min-height: 32px; padding: var(--space-1) var(--space-1); border-radius: var(--radius-md); }
2012
- & .recordpanel-field:hover { background: color-mix(in srgb, var(--fg-primary) 3%, transparent); }
2013
- & .recordpanel-field-label { display: flex; align-items: center; gap: var(--space-1-5); width: 132px; flex-shrink: 0; padding-top: 3px; color: var(--fg-muted); font-size: var(--text-md); }
2014
- & .recordpanel-field-label svg { flex-shrink: 0; }
2015
- & .recordpanel-field-value { flex: 1; min-width: 0; display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-1); padding-top: 3px; font-size: var(--text-lg); color: var(--fg-primary); }
2016
- & .recordpanel-empty { color: var(--fg-muted); }
1881
+ & .listpage-colhead { display: flex; align-items: center; gap: var(--space-2-5); height: 40px; padding: 0 var(--space-2); box-shadow: inset 0 -1px 0 var(--border-subtle); font-size: var(--text-sm); color: var(--fg-muted); }
1882
+ & .listpage-colhead-cell { display: inline-flex; align-items: center; gap: var(--space-1-5); }
2017
1883
 
2018
- & .recordstable-tag { display: inline-flex; align-items: center; height: var(--size-chip); padding: 0 var(--space-1); border-radius: var(--radius-chip); font-size: var(--text-lg); line-height: 20px; font-weight: var(--weight-medium); white-space: nowrap; background: color-mix(in srgb, var(--fg-primary) 6%, transparent); color: color-mix(in srgb, var(--fg-primary) 82%, transparent); box-shadow: inset 0 0 0 1px var(--border-subtle); }
2019
- & .recordstable-tag[data-tone="brand"] { background: color-mix(in srgb, var(--bg-brand-solid) 14%, transparent); color: color-mix(in srgb, var(--bg-brand-solid) 82%, var(--fg-primary)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--bg-brand-solid) 30%, transparent); }
2020
- & .recordstable-tag[data-tone="success"] { background: color-mix(in srgb, var(--bg-success) 16%, transparent); color: color-mix(in srgb, var(--bg-success) 78%, var(--fg-primary)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--bg-success) 30%, transparent); }
2021
- & .recordstable-tag[data-tone="warning"] { background: color-mix(in srgb, var(--bg-warning) 18%, transparent); color: color-mix(in srgb, var(--bg-warning) 82%, var(--fg-primary)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--bg-warning) 30%, transparent); }
2022
- & .recordstable-tag[data-tone="danger"] { background: color-mix(in srgb, var(--bg-danger) 15%, transparent); color: color-mix(in srgb, var(--bg-danger) 80%, var(--fg-primary)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--bg-danger) 30%, transparent); }
2023
- & .recordstable-tag[data-tone="purple"] { background: color-mix(in srgb, var(--bg-purple) 16%, transparent); color: color-mix(in srgb, var(--bg-purple) 80%, var(--fg-primary)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--bg-purple) 30%, transparent); }
2024
- & .recordstable-tag[data-tone="cyan"] { background: color-mix(in srgb, var(--bg-cyan) 18%, transparent); color: color-mix(in srgb, var(--bg-cyan) 82%, var(--fg-primary)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--bg-cyan) 30%, transparent); }
2025
- & .recordstable-tag[data-tone="orange"] { background: color-mix(in srgb, var(--bg-orange) 16%, transparent); color: color-mix(in srgb, var(--bg-orange) 82%, var(--fg-primary)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--bg-orange) 30%, transparent); }
2026
- & .recordpanel-link { color: var(--bg-brand-solid); text-decoration: none; overflow: hidden; text-overflow: ellipsis; }
2027
- & .recordpanel-link:hover { text-decoration: underline; }
2028
-
1884
+ & .listpage-group { display: flex; align-items: center; gap: var(--space-1-5); height: 36px; padding: 0 var(--space-2); font-size: var(--text-sm); font-weight: var(--weight-medium); color: var(--fg-muted); }
1885
+ & .listpage-group-count { display: inline-flex; align-items: center; justify-content: center; min-width: 16px; height: 16px; padding: 0 var(--space-1); border-radius: var(--radius-sm); background: color-mix(in srgb, var(--fg-primary) 6%, transparent); font-size: var(--text-xs); color: var(--fg-muted); }
1886
+
1887
+ & .listpage-row { display: flex; align-items: center; gap: var(--space-2-5); width: 100%; height: 52px; padding: 0 var(--space-2); margin: 0; border: none; border-top: 1px solid var(--border-subtle); background: none; font-family: inherit; color: inherit; text-align: start; cursor: pointer; transition: background-color .12s; }
1888
+ & .listpage-row:focus-visible { outline: 2px solid var(--bg-brand-solid); outline-offset: -2px; }
1889
+ & .listpage-row:hover { background: color-mix(in srgb, var(--fg-primary) 3%, transparent); }
1890
+ & .listpage-row-title { font-size: var(--text-lg); font-weight: var(--weight-medium); color: var(--fg-primary); }
1891
+
1892
+ & .listpage-empty { padding: var(--space-8) var(--space-4); text-align: center; font-size: var(--text-md); color: var(--fg-muted); }
2029
1893
  }
2030
1894
 
2031
1895
  @media (prefers-reduced-motion: reduce) {
2032
- .recordpanel, .recordpanel * {
1896
+ .listpage, .listpage * {
2033
1897
  animation-duration: 0.01ms !important;
2034
1898
  animation-iteration-count: 1 !important;
2035
1899
  transition-duration: 0.01ms !important;
2036
1900
  }
2037
1901
  }
2038
1902
 
2039
- .settingssection {
2040
- display: flex; flex-direction: column; box-sizing: border-box; font-family: var(--font-sans);
2041
- & .settingssection-head { display: flex; align-items: flex-start; gap: var(--space-2); }
2042
- & .settingssection-heading { flex: 1; min-width: 0; }
2043
- & .settingssection-title { font-size: var(--text-xl); line-height: 24px; font-weight: var(--weight-semibold); letter-spacing: -0.2px; color: var(--fg-primary); }
2044
- & .settingssection-sub { margin-top: var(--space-0-5); font-size: var(--text-md); line-height: 18px; color: var(--fg-muted); }
2045
- & .settingssection-action { flex-shrink: 0; }
2046
- & .settingssection-body { display: flex; flex-direction: column; gap: var(--space-4); margin-top: var(--space-3); }
2047
- }
2048
-
2049
1903
  .navitem {
2050
1904
  box-sizing: border-box; display: flex; align-items: center; gap: var(--space-1-5)
2051
1905
  ; height: 28px; padding-inline: var(--space-2)
@@ -2070,122 +1924,38 @@
2070
1924
  }
2071
1925
  }
2072
1926
 
2073
- .settingsshell {
2074
- display: flex; min-height: 0; box-sizing: border-box; font-family: var(--font-sans); color: var(--fg-primary);
2075
- -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
2076
-
2077
- & .settingsshell-nav { display: flex; flex-direction: column; width: 256px; flex-shrink: 0; min-height: 0; padding: var(--space-3); border-inline-end: 1px solid var(--border-subtle); }
2078
- & .settingsshell-back { display: inline-flex; align-items: center; gap: var(--space-1-5); height: 28px; padding: 0 var(--space-1); margin: 0 0 var(--space-2); border: none; background: none; font-family: inherit; font-size: var(--text-lg); font-weight: var(--weight-semibold); color: var(--fg-primary); cursor: pointer; border-radius: var(--radius-md); }
2079
- & .settingsshell-back svg { color: var(--fg-muted); }
2080
- & .settingsshell-back:hover svg { color: var(--fg-primary); }
2081
-
2082
- & .settingsshell-search { display: flex; align-items: center; gap: var(--space-2); height: 32px; margin-bottom: var(--space-2); padding: 0 var(--space-2-5); border-radius: var(--radius-md); background: var(--bg-surface); box-shadow: inset 0 0 0 1px var(--border-default); color: var(--fg-muted); }
2083
- /* The field box owns the ring, so focus has to move it -- the inner
2084
- input kills its own outline. Measured on Attio: a focused field's
2085
- input carries box-shadow: none while its wrapper carries
2086
- inset 0 0 0 1px #266df0. */
2087
- & .settingsshell-search:focus-within { box-shadow: inset 0 0 0 1px var(--bg-brand-solid); }
2088
- & .settingsshell-search svg { flex-shrink: 0; }
2089
- & .settingsshell-search input { flex: 1; min-width: 0; border: none; outline: none; background: none; font-family: inherit; font-size: var(--text-lg); color: var(--fg-primary); }
2090
- & .settingsshell-search input::placeholder { color: var(--fg-muted); }
2091
-
2092
- & .settingsshell-groups { flex: 1; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; gap: var(--space-2-5); }
2093
- & .settingsshell-group { display: flex; flex-direction: column; gap: 1px; }
2094
- & .settingsshell-group-label { padding: var(--space-1) var(--space-2); font-size: var(--text-sm); font-weight: var(--weight-medium); color: var(--fg-muted); }
2095
- & .settingsshell-item { display: flex; align-items: center; gap: var(--space-2); height: 30px; padding: 0 var(--space-2); margin: 0; border: none; border-radius: var(--radius-md); background: none; font-family: inherit; font-size: var(--text-lg); color: var(--fg-primary); text-align: start; cursor: pointer; transition: background-color .12s; }
2096
- & .settingsshell-item svg { flex-shrink: 0; color: var(--fg-muted); }
2097
- & .settingsshell-item-label { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
2098
- & .settingsshell-item:hover { background: var(--bg-raised); }
2099
- & .settingsshell-item[data-active] { background: var(--bg-raised); font-weight: var(--weight-medium); }
2100
- & .settingsshell-item[data-active] svg { color: var(--fg-primary); }
2101
- & .settingsshell-empty { padding: var(--space-3) var(--space-2); font-size: var(--text-md); color: var(--fg-muted); }
2102
-
2103
- & .settingsshell-content { flex: 1; min-width: 0; min-height: 0; overflow-y: auto; padding: var(--space-6) var(--space-8); }
2104
- }
2105
-
2106
- @media (prefers-reduced-motion: reduce) {
2107
- .settingsshell, .settingsshell * {
2108
- animation-duration: 0.01ms !important;
2109
- animation-iteration-count: 1 !important;
2110
- transition-duration: 0.01ms !important;
2111
- }
2112
- }
2113
-
2114
- .board {
2115
- display: flex; gap: var(--space-3); height: 100%; box-sizing: border-box; padding: var(--space-3); overflow-x: auto; align-items: flex-start; font-family: var(--font-sans);
2116
- & .board-col { display: flex; flex-direction: column; width: 280px; flex-shrink: 0; max-height: 100%; box-sizing: border-box; }
2117
- & .board-col-header { display: flex; align-items: center; gap: var(--space-2); height: 36px; padding: 0 var(--space-1); flex-shrink: 0; }
2118
- & .board-col-dot { width: 9px; height: 9px; border-radius: var(--radius-full); flex-shrink: 0; }
2119
- & .board-col-title { font-size: var(--text-lg); font-weight: var(--weight-semibold); color: var(--fg-primary); }
2120
- & .board-col-count { font-size: var(--text-md); color: var(--fg-muted); }
2121
- & .board-col-add { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; margin-inline-start: auto; padding: 0; border: none; border-radius: var(--radius-md); background: none; color: var(--fg-muted); font-family: inherit; cursor: pointer; }
2122
- & .board-col-add:hover { background: color-mix(in srgb, var(--fg-primary) 6%, transparent); color: var(--fg-primary); }
2123
- & .board-col-body { display: flex; flex-direction: column; gap: var(--space-2); flex: 1; min-height: 48px; padding: var(--space-1); border-radius: var(--radius-lg); overflow-y: auto; transition: background 0.12s; }
2124
- & .board-col[data-over] .board-col-body { background: color-mix(in srgb, var(--bg-brand-solid) 7%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--bg-brand-solid) 30%, transparent); }
2125
- & .board-newcard { display: flex; align-items: center; justify-content: center; gap: var(--space-1-5); height: 32px; flex-shrink: 0; border: none; border-radius: var(--radius-md); background: color-mix(in srgb, var(--fg-primary) 4%, transparent); color: var(--fg-muted); font-family: inherit; font-size: var(--text-md); font-weight: var(--weight-medium); cursor: pointer; }
2126
- & .board-newcard:hover { background: color-mix(in srgb, var(--fg-primary) 7%, transparent); color: var(--fg-primary); }
2127
- & .board-card { display: flex; flex-direction: column; gap: var(--space-2); box-sizing: border-box; padding: var(--space-2-5) var(--space-3); border-radius: var(--radius-lg); background: var(--bg-surface); box-shadow: inset 0 0 0 1px var(--border-subtle), 0 1px 2px rgba(0,0,0,0.04); cursor: grab; }
2128
- & .board-card:active { cursor: grabbing; }
2129
- & .board-card[data-dragging] { opacity: 0.4; }
2130
- }
2131
-
2132
- @media (prefers-reduced-motion: reduce) {
2133
- .board, .board * {
2134
- animation-duration: 0.01ms !important;
2135
- animation-iteration-count: 1 !important;
2136
- transition-duration: 0.01ms !important;
2137
- }
2138
- }
2139
-
2140
- .viewtoggle {
2141
- display: inline-flex; align-items: center; gap: 2px; box-sizing: border-box; padding: 2px;
2142
- border-radius: var(--radius-lg); background: color-mix(in srgb, var(--fg-primary) 5%, transparent);
2143
- font-family: var(--font-sans);
2144
-
2145
- & .viewtoggle-tile { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px;
2146
- padding: 0; margin: 0; border: none; border-radius: var(--radius-md); background: none; color: var(--fg-muted);
2147
- font-family: inherit; cursor: pointer; transition: background-color .12s, color .12s, box-shadow .12s; }
2148
- & .viewtoggle-tile:hover { color: var(--fg-primary); }
2149
- & .viewtoggle-tile[data-active] { background: var(--bg-tile-active); color: var(--fg-primary);
2150
- box-shadow: 0 1px 2px -1px var(--shadow-tile-active); }
2151
- & .viewtoggle-tile:focus-visible { outline: 2px solid var(--bg-brand-solid); outline-offset: 1px; }
2152
- }
2153
-
2154
- @media (prefers-reduced-motion: reduce) {
2155
- .viewtoggle, .viewtoggle * {
2156
- animation-duration: 0.01ms !important;
2157
- animation-iteration-count: 1 !important;
2158
- transition-duration: 0.01ms !important;
2159
- }
2160
- }
2161
-
2162
- .tasklist {
2163
- display: flex; flex-direction: column; box-sizing: border-box; font-family: var(--font-sans);
2164
- -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
2165
-
2166
- & .tasklist-group { display: flex; align-items: center; gap: var(--space-1-5); height: 36px; padding: 0 var(--space-2); font-size: var(--text-md); font-weight: var(--weight-medium); color: var(--fg-muted); }
2167
- & .tasklist-group-count { display: inline-flex; align-items: center; justify-content: center; min-width: 16px; height: 16px; padding: 0 var(--space-1); border-radius: var(--radius-sm); background: color-mix(in srgb, var(--fg-primary) 6%, transparent); font-size: var(--text-xs); color: var(--fg-muted); }
2168
-
2169
- & .tasklist-row { display: flex; align-items: center; gap: var(--space-2-5); height: 52px; padding: 0 var(--space-2); border-top: 1px solid var(--border-subtle); }
2170
- & .tasklist-row:first-child { border-top: none; }
1927
+ .onboarding {
1928
+ display: flex; flex-direction: column; box-sizing: border-box; width: 272px; padding: var(--space-3); gap: var(--space-2);
1929
+ border-radius: var(--radius-xl); background: var(--bg-surface); font-family: var(--font-sans);
1930
+ -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
1931
+ box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--fg-primary) 6%, transparent), 0 8px 28px -6px rgba(28,40,64,0.16), 0 2px 6px -2px rgba(28,40,64,0.10);
2171
1932
 
2172
- & .tasklist-check { appearance: none; -webkit-appearance: none; box-sizing: border-box; flex-shrink: 0; margin: 0; width: 16px; height: 16px; border: none; border-radius: var(--radius-full); background: var(--bg-surface); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--fg-primary) 9%, transparent); cursor: pointer; transition: background-color .12s, box-shadow .12s; }
2173
- & .tasklist-check:hover { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--fg-primary) 30%, transparent); }
2174
- & .tasklist-check:checked { background: var(--bg-brand-solid) center / 10px no-repeat; box-shadow: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 12 12' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 6.5 5 9l4.5-5'/%3E%3C/svg%3E"); }
2175
- & .tasklist-check:focus-visible { outline: 2px solid var(--bg-brand-solid); outline-offset: 1px; }
1933
+ & .onboarding-head { display: flex; align-items: center; gap: var(--space-1); }
1934
+ & .onboarding-title { flex: 1; min-width: 0; font-size: var(--text-lg); font-weight: var(--weight-medium); color: var(--fg-primary); }
1935
+ & .onboarding-iconbtn { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: var(--size-chip); flex-shrink: 0; padding: 0; margin: 0; border: none; border-radius: var(--radius-sm); background: none; color: var(--fg-muted); font-family: inherit; cursor: pointer; transition: background-color .12s, color .12s; }
1936
+ & .onboarding-iconbtn:hover { background: var(--bg-raised); color: var(--fg-primary); }
2176
1937
 
2177
- & .tasklist-title { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: var(--text-lg); font-weight: var(--weight-medium); color: var(--fg-primary); }
2178
- & .tasklist-row[data-done] .tasklist-title { color: var(--fg-muted); text-decoration: line-through; }
1938
+ & .onboarding-sub { font-size: var(--text-sm); color: color-mix(in srgb, var(--fg-primary) 50%, transparent); }
1939
+ & .onboarding-sub b { font-weight: var(--weight-medium); color: var(--fg-primary); }
2179
1940
 
2180
- & .tasklist-meta { display: inline-flex; align-items: center; gap: var(--space-3); flex-shrink: 0; }
2181
- & .tasklist-due { font-size: var(--text-lg); color: var(--fg-muted); white-space: nowrap; }
2182
- & .tasklist-due[data-overdue] { color: var(--bg-danger); }
1941
+ & .onboarding-progress { display: flex; gap: var(--space-1); margin: var(--space-0-5) 0 var(--space-1); }
1942
+ & .onboarding-seg { flex: 1; height: 4px; border-radius: var(--radius-full); background: color-mix(in srgb, var(--fg-primary) 4%, transparent); transition: background-color .2s ease; }
1943
+ & .onboarding-seg[data-done] { background: var(--bg-brand-solid); }
2183
1944
 
2184
- & .tasklist-empty { padding: var(--space-4) var(--space-2); text-align: center; font-size: var(--text-md); color: var(--fg-muted); }
1945
+ & .onboarding-steps { display: flex; flex-direction: column; }
1946
+ & .onboarding-step { display: flex; align-items: center; gap: var(--space-2); height: 36px; padding: 0 var(--space-1); margin: 0; border: none; border-radius: var(--radius-md); background: none; font-family: inherit; font-size: var(--text-lg); color: var(--fg-primary); text-align: start; cursor: pointer; transition: background-color .12s; }
1947
+ & .onboarding-step:hover { background: var(--bg-raised); }
1948
+ & .onboarding-step-icon { display: inline-flex; flex-shrink: 0; color: var(--fg-muted); }
1949
+ & .onboarding-step-label { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
1950
+ & .onboarding-step-check { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; flex-shrink: 0; border-radius: var(--radius-full); color: transparent; }
1951
+ & .onboarding-step[data-done] { cursor: default; }
1952
+ & .onboarding-step[data-done] .onboarding-step-icon, & .onboarding-step[data-done] .onboarding-step-label { color: var(--fg-muted); text-decoration: line-through; }
1953
+ & .onboarding-step[data-done]:hover { background: none; }
1954
+ & .onboarding-step[data-done] .onboarding-step-check { background: var(--bg-brand-solid); color: var(--fg-on-brand); }
2185
1955
  }
2186
1956
 
2187
1957
  @media (prefers-reduced-motion: reduce) {
2188
- .tasklist, .tasklist * {
1958
+ .onboarding, .onboarding * {
2189
1959
  animation-duration: 0.01ms !important;
2190
1960
  animation-iteration-count: 1 !important;
2191
1961
  transition-duration: 0.01ms !important;
@@ -2344,27 +2114,259 @@
2344
2114
  }
2345
2115
  }
2346
2116
 
2347
- .trialbanner {
2348
- display: flex; align-items: center; gap: var(--space-1-5); box-sizing: border-box; min-height: 28px;
2349
- padding: 0 var(--space-1); border-radius: var(--radius-lg); font-family: var(--font-sans);
2350
- font-size: var(--text-lg); color: var(--fg-primary);
2117
+ .recordpanel {
2118
+
2119
+ position: absolute; top: var(--space-2); inset-inline-end: var(--space-2); bottom: var(--space-2);
2120
+ z-index: 20; display: flex; flex-direction: column; overflow: hidden;
2121
+ width: 420px; max-width: calc(92% - var(--space-2));
2122
+ background: var(--bg-surface); border-radius: var(--radius-xl);
2123
+ box-shadow: inset 0 0 0 1px var(--ring-popover), 0 0 0 1px var(--shadow-popover1), 0 4px 8px -4px var(--shadow-popover2), 0 4px 12px -2px var(--shadow-popover3);
2124
+ font-family: var(--font-sans);
2351
2125
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
2126
+ transform: translateX(0); transition: transform .2s ease;
2127
+ @starting-style { transform: translateX(calc(100% + var(--space-2))); }
2128
+ & * { box-sizing: border-box; }
2129
+
2130
+ & .recordpanel-header { display: flex; align-items: center; gap: var(--space-2); height: 52px; flex-shrink: 0; padding: 0 var(--space-3); border-bottom: 1px solid var(--border-subtle); }
2131
+ & .recordpanel-fav { width: 22px; height: var(--size-chip); border-radius: var(--radius-sm); flex-shrink: 0; object-fit: cover; background: var(--bg-raised); }
2132
+ & .recordpanel-title { flex: 1; min-width: 0; font-size: var(--text-xl); font-weight: var(--weight-semibold); letter-spacing: -0.2px; color: var(--fg-primary); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
2133
+ & .recordpanel-iconbtn { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; flex-shrink: 0; padding: 0; border: none; border-radius: var(--radius-md); background: transparent; color: var(--fg-muted); font-family: inherit; cursor: pointer; transition: background-color .12s; }
2134
+ & .recordpanel-iconbtn:hover { background: var(--bg-raised); color: var(--fg-primary); }
2135
+
2136
+ & .recordpanel-body { flex: 1; min-height: 0; overflow-y: auto; padding: var(--space-2) var(--space-3); }
2137
+ & .recordpanel-sectionlabel { font-size: var(--text-sm); font-weight: var(--weight-medium); color: var(--fg-muted); padding: var(--space-2) var(--space-1) var(--space-1); }
2138
+ & .recordpanel-field { display: flex; align-items: flex-start; gap: var(--space-2); min-height: 32px; padding: var(--space-1) var(--space-1); border-radius: var(--radius-md); }
2139
+ & .recordpanel-field:hover { background: color-mix(in srgb, var(--fg-primary) 3%, transparent); }
2140
+ & .recordpanel-field-label { display: flex; align-items: center; gap: var(--space-1-5); width: 132px; flex-shrink: 0; padding-top: 3px; color: var(--fg-muted); font-size: var(--text-md); }
2141
+ & .recordpanel-field-label svg { flex-shrink: 0; }
2142
+ & .recordpanel-field-value { flex: 1; min-width: 0; display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-1); padding-top: 3px; font-size: var(--text-lg); color: var(--fg-primary); }
2143
+ & .recordpanel-empty { color: var(--fg-muted); }
2144
+
2145
+ & .recordstable-tag { display: inline-flex; align-items: center; height: var(--size-chip); padding: 0 var(--space-1); border-radius: var(--radius-chip); font-size: var(--text-lg); line-height: 20px; font-weight: var(--weight-medium); white-space: nowrap; background: color-mix(in srgb, var(--fg-primary) 6%, transparent); color: color-mix(in srgb, var(--fg-primary) 82%, transparent); box-shadow: inset 0 0 0 1px var(--border-subtle); }
2146
+ & .recordstable-tag[data-tone="brand"] { background: color-mix(in srgb, var(--bg-brand-solid) 14%, transparent); color: color-mix(in srgb, var(--bg-brand-solid) 82%, var(--fg-primary)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--bg-brand-solid) 30%, transparent); }
2147
+ & .recordstable-tag[data-tone="success"] { background: color-mix(in srgb, var(--bg-success) 16%, transparent); color: color-mix(in srgb, var(--bg-success) 78%, var(--fg-primary)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--bg-success) 30%, transparent); }
2148
+ & .recordstable-tag[data-tone="warning"] { background: color-mix(in srgb, var(--bg-warning) 18%, transparent); color: color-mix(in srgb, var(--bg-warning) 82%, var(--fg-primary)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--bg-warning) 30%, transparent); }
2149
+ & .recordstable-tag[data-tone="danger"] { background: color-mix(in srgb, var(--bg-danger) 15%, transparent); color: color-mix(in srgb, var(--bg-danger) 80%, var(--fg-primary)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--bg-danger) 30%, transparent); }
2150
+ & .recordstable-tag[data-tone="purple"] { background: color-mix(in srgb, var(--bg-purple) 16%, transparent); color: color-mix(in srgb, var(--bg-purple) 80%, var(--fg-primary)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--bg-purple) 30%, transparent); }
2151
+ & .recordstable-tag[data-tone="cyan"] { background: color-mix(in srgb, var(--bg-cyan) 18%, transparent); color: color-mix(in srgb, var(--bg-cyan) 82%, var(--fg-primary)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--bg-cyan) 30%, transparent); }
2152
+ & .recordstable-tag[data-tone="orange"] { background: color-mix(in srgb, var(--bg-orange) 16%, transparent); color: color-mix(in srgb, var(--bg-orange) 82%, var(--fg-primary)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--bg-orange) 30%, transparent); }
2153
+ & .recordpanel-link { color: var(--bg-brand-solid); text-decoration: none; overflow: hidden; text-overflow: ellipsis; }
2154
+ & .recordpanel-link:hover { text-decoration: underline; }
2155
+
2156
+ }
2157
+
2158
+ @media (prefers-reduced-motion: reduce) {
2159
+ .recordpanel, .recordpanel * {
2160
+ animation-duration: 0.01ms !important;
2161
+ animation-iteration-count: 1 !important;
2162
+ transition-duration: 0.01ms !important;
2163
+ }
2164
+ }
2165
+
2166
+ .recordstable {
2167
+
2168
+ box-sizing: border-box; position: relative; display: flex; flex-direction: column; min-height: 0; height: 100%; width: 100%; font-family: var(--font-sans); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
2169
+ & * { box-sizing: border-box; }
2170
+
2171
+ /* toolbar */
2172
+ & .recordstable-toolbar { display: flex; align-items: center; gap: var(--space-1-5); padding: 0 var(--space-3) var(--space-2); }
2173
+ & .recordstable-search { display: flex; align-items: center; gap: var(--space-1-5); height: var(--size-row); padding: 0 var(--space-2-5); border: none; border-radius: var(--radius-md); background: var(--bg-surface); box-shadow: inset 0 0 0 1px var(--border-subtle); color: var(--fg-muted); }
2174
+ & .recordstable-search svg { flex-shrink: 0; }
2175
+ & .recordstable-search input { border: none; outline: none; background: transparent; font-family: inherit; font-size: var(--text-md); color: var(--fg-primary); width: 180px; }
2176
+ & .recordstable-search input::placeholder { color: var(--fg-muted); }
2177
+ & .recordstable-tool { display: inline-flex; align-items: center; gap: var(--space-1); height: var(--size-row); margin: 0; padding: 0 var(--space-2); border: none; border-radius: var(--radius-md); background: transparent; box-shadow: inset 0 0 0 1px var(--border-default); color: var(--fg-primary); font-family: inherit; font-size: var(--text-md); font-weight: var(--weight-medium); cursor: pointer; transition: background-color .12s; }
2178
+ & .recordstable-tool:hover { background: var(--bg-raised); }
2179
+ & .recordstable-tool svg { flex-shrink: 0; color: var(--fg-muted); }
2180
+ & .recordstable-tool--active { background: var(--bg-raised); }
2181
+ & .recordstable-tool--ghost { box-shadow: none; background: color-mix(in srgb, var(--fg-primary) 3%, transparent); color: var(--fg-muted); }
2182
+ & .recordstable-tool--ghost:hover { background: color-mix(in srgb, var(--fg-primary) 6%, transparent); }
2183
+ & .recordstable-toolgroup { position: relative; display: inline-flex; }
2184
+ & .recordstable-menu { position: absolute; top: calc(100% + var(--space-1)); left: 0; z-index: 30; min-width: 232px; padding: var(--space-1); border-radius: var(--radius-lg); background: var(--bg-popover); box-shadow: inset 0 0 0 1px var(--ring-popover), 0 0 0 1px var(--shadow-popover1), 0 4px 8px -4px var(--shadow-popover2), 0 4px 12px -2px var(--shadow-popover3); display: flex; flex-direction: column; gap: var(--space-px); transform-origin: top; opacity: 1; transform: none; transition: opacity .13s ease, transform .13s ease; }
2185
+ & .recordstable-menu { @starting-style { opacity: 0; transform: scale(0.96); } }
2186
+ & .recordstable-ctx { z-index: 60; }
2187
+ & .recordstable-th[data-drop] { box-shadow: inset 2px 0 0 var(--bg-brand-solid); }
2188
+ & .recordstable-th-inner[draggable="true"]:active { cursor: grabbing; }
2189
+ & .recordstable-menu-head { padding: var(--space-1) var(--space-2) var(--space-0-5); font-size: var(--text-sm); font-weight: var(--weight-medium); color: var(--fg-muted); }
2190
+ & .recordstable-sortpop { min-width: 460px; overflow: visible; padding: var(--space-1-5); gap: var(--space-1); }
2191
+ & .recordstable-sort-empty { padding: var(--space-1) var(--space-1) var(--space-2); font-size: var(--text-md); color: var(--fg-muted); }
2192
+ & .recordstable-sort-row { display: flex; align-items: center; gap: var(--space-1-5); }
2193
+ & .recordstable-sort-grip { display: inline-flex; align-items: center; justify-content: center; width: 16px; height: 28px; flex-shrink: 0; margin-right: calc(-1 * var(--space-1)); padding: 0; border: none; background: none; color: var(--fg-muted); cursor: grab; }
2194
+ & .recordstable-sort-grip:active { cursor: grabbing; }
2195
+ & .recordstable-sort-grip:hover { color: var(--fg-primary); }
2196
+ & .recordstable-sort-optlabel { display: inline-flex; align-items: center; gap: var(--space-1-5); min-width: 0; }
2197
+ & .recordstable-sort-optlabel svg { flex-shrink: 0; color: var(--fg-muted); }
2198
+ & .recordstable-sort-field { flex: 1; min-width: 0; }
2199
+ & .recordstable-sort-dir { width: 136px; flex-shrink: 0; }
2200
+ & .recordstable-sort-field .select-trigger, & .recordstable-sort-dir .select-trigger { height: 28px; padding-right: var(--space-1); }
2201
+ & .recordstable-sort-remove { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; flex-shrink: 0; padding: 0; margin: 0; border: none; border-radius: var(--radius-md); background: none; color: var(--fg-muted); cursor: pointer; transition: background-color .12s, color .12s; }
2202
+ & .recordstable-sort-remove:hover { background: var(--bg-raised); color: var(--fg-primary); }
2203
+ & .recordstable-sort-addrow { display: flex; padding: var(--space-0-5) 0; }
2204
+ & .recordstable-sort-add { display: inline-flex; align-items: center; gap: var(--space-1-5); height: 28px; padding: 0 var(--space-2) 0 var(--space-1-5); margin: 0; border: none; border-radius: var(--radius-md); background: var(--bg-surface); box-shadow: inset 0 0 0 1px var(--ring-neutral), 0 0 2px rgba(28,40,64,0.18), 0 1px 3px rgba(0,0,0,0.04); font-family: inherit; font-size: var(--text-lg); font-weight: var(--weight-regular); color: var(--fg-primary); cursor: pointer; transition: background-color .12s; }
2205
+ & .recordstable-sort-add:hover { background: var(--bg-raised); }
2206
+ & .recordstable-sort-add svg { flex-shrink: 0; color: var(--fg-muted); }
2207
+ & .recordstable-sort-foot { display: flex; padding: var(--space-1-5) var(--space-1) var(--space-0-5); }
2208
+ & .recordstable-sort-learn { display: inline-flex; align-items: center; gap: var(--space-1-5); font-size: var(--text-lg); color: color-mix(in srgb, var(--fg-primary) 63%, transparent); text-decoration: none; }
2209
+ & .recordstable-sort-learn svg { flex-shrink: 0; }
2210
+ & .recordstable-sort-learn:hover { color: var(--fg-primary); }
2211
+ & .recordstable-menu-item { display: flex; align-items: center; gap: var(--space-2); width: 100%; height: var(--size-row); margin: 0; padding: 0 var(--space-2); border: none; background: none; border-radius: var(--radius-md); font-family: inherit; font-size: var(--text-lg); color: var(--fg-primary); text-align: left; cursor: pointer; }
2212
+ & .recordstable-menu-item:hover { background: var(--bg-raised); }
2213
+ & .recordstable-menu-item:disabled { opacity: 0.4; cursor: default; }
2214
+ & .recordstable-menu-item:disabled:hover { background: none; }
2215
+ & .recordstable-menu-item svg { flex-shrink: 0; color: var(--fg-muted); }
2216
+ & .recordstable-menu-item[data-on] svg { color: var(--bg-brand-solid); }
2217
+ & .recordstable-menu-item .recordstable-menu-check { margin-left: auto; }
2218
+ & .recordstable-menu-input { height: var(--size-row); margin: var(--space-0-5); padding: 0 var(--space-2); border: none; border-radius: var(--radius-md); box-shadow: inset 0 0 0 1px var(--border-subtle); background: var(--bg-surface); font-family: inherit; font-size: var(--text-lg); color: var(--fg-primary); outline: none; }
2219
+ & .recordstable-menu-sep { height: 1px; background: var(--border-subtle); margin: var(--space-0-5) 0; }
2220
+ & .recordstable-menu--up { top: auto; bottom: calc(100% + var(--space-1)); transform-origin: bottom; }
2221
+ & .recordstable-menu--right { left: auto; right: 0; }
2222
+ & .recordstable-menu--fixed { position: fixed; top: auto; left: auto; z-index: 40; }
2223
+ & .recordstable-menu--hdr { min-width: 200px; }
2224
+ & .recordstable-menu-item--danger { color: var(--bg-danger); }
2225
+ & .recordstable-menu-item--danger svg { color: var(--bg-danger); }
2226
+ & .recordstable-menu-item--danger:hover { background: color-mix(in srgb, var(--bg-danger) 10%, transparent); }
2227
+ & .recordstable-menu-check { margin-left: auto; color: var(--bg-brand-solid); }
2228
+ & .recordstable-fchip { display: inline-flex; align-items: center; height: var(--size-row); padding-right: var(--space-1); border-radius: var(--radius-md); box-shadow: inset 0 0 0 1px var(--border-default); background: var(--bg-surface); font-size: var(--text-md); color: var(--fg-primary); white-space: nowrap; }
2229
+ & .recordstable-fchip-main { display: inline-flex; align-items: center; gap: var(--space-1-5); height: 100%; margin: 0; padding: 0 var(--space-1) 0 var(--space-2); border: none; background: none; font-family: inherit; font-size: var(--text-md); color: var(--fg-primary); cursor: pointer; }
2230
+ & .recordstable-fchip-field { font-weight: var(--weight-medium); }
2231
+ & .recordstable-fchip-op { color: var(--fg-muted); }
2232
+ & .recordstable-fchip-val { font-weight: var(--weight-medium); max-width: 140px; overflow: hidden; text-overflow: ellipsis; }
2233
+ & .recordstable-fchip-x { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; padding: 0; border: none; border-radius: var(--radius-sm); background: none; color: var(--fg-muted); cursor: pointer; }
2234
+ & .recordstable-fchip-x:hover { background: color-mix(in srgb, var(--fg-primary) 10%, transparent); color: var(--fg-primary); }
2235
+ & .recordstable-spacer { flex: 1; }
2236
+ & .recordstable-count { font-size: var(--text-md); color: var(--fg-muted); }
2237
+ & .recordstable-new { display: inline-flex; align-items: center; gap: var(--space-1); height: var(--size-row); padding: 0 var(--space-2-5); border: none; border-radius: var(--radius-md); background: var(--bg-brand-solid); color: var(--fg-on-brand); font-family: inherit; font-size: var(--text-md); font-weight: var(--weight-medium); cursor: pointer; transition: background-color .12s; }
2238
+ & .recordstable-new:hover { background: var(--bg-brand-solid-pressed); }
2239
+
2240
+ /* scroll frame + table */
2241
+ & .recordstable-scroll { flex: 1; min-height: 0; overflow: auto; background: var(--bg-surface); border-top: 1px solid var(--border-subtle); scrollbar-width: thin; scrollbar-color: color-mix(in srgb, var(--fg-primary) 22%, transparent) transparent; }
2242
+ & .recordstable-scroll::-webkit-scrollbar { width: 10px; height: 10px; }
2243
+ & .recordstable-scroll::-webkit-scrollbar-thumb { background: color-mix(in srgb, var(--fg-primary) 20%, transparent); border-radius: var(--radius-full); border: 2px solid var(--bg-surface); background-clip: padding-box; }
2244
+ & .recordstable-scroll::-webkit-scrollbar-thumb:hover { background: color-mix(in srgb, var(--fg-primary) 34%, transparent); background-clip: padding-box; }
2245
+ & .recordstable-scroll::-webkit-scrollbar-corner { background: transparent; }
2246
+ & .recordstable-table { table-layout: fixed; border-collapse: separate; border-spacing: 0; }
2247
+ & .recordstable-th, & .recordstable-td { position: relative; height: var(--size-tableRow); padding: 0 var(--space-2); border-bottom: 1px solid var(--border-subtle); border-inline-end: 1px solid var(--border-subtle); text-align: start; white-space: nowrap; overflow: hidden; }
2248
+ & .recordstable-th { position: sticky; top: 0; z-index: 2; padding: 0; height: var(--size-tableHeader); background: var(--bg-surface); font-size: var(--text-lg); font-weight: var(--weight-medium); letter-spacing: -0.14px; color: color-mix(in srgb, var(--fg-primary) 63%, transparent); user-select: none; }
2249
+ & .recordstable-th-inner { display: flex; align-items: center; gap: var(--space-1-5); width: 100%; height: 100%; margin: 0; padding: 0 var(--space-2); border: none; background: none; color: inherit; font: inherit; letter-spacing: inherit; text-align: start; cursor: pointer; }
2250
+ & .recordstable-th-inner svg { flex-shrink: 0; color: color-mix(in srgb, var(--fg-primary) 45%, transparent); }
2251
+ & .recordstable-th-label { flex: 1; overflow: hidden; text-overflow: ellipsis; }
2252
+ & .recordstable-th-rename { width: 100%; min-width: 0; height: 100%; margin: 0; padding: 0; border: none; outline: none; background: none; color: inherit; font: inherit; letter-spacing: inherit; }
2253
+ & .recordstable-th-rename:focus { box-shadow: inset 0 0 0 1px var(--bg-brand-solid); }
2254
+ & .recordstable-sort { flex-shrink: 0; opacity: 0.4; transition: opacity .12s; color: color-mix(in srgb, var(--fg-primary) 45%, transparent); }
2255
+ & .recordstable-th:hover .recordstable-sort, & .recordstable-th[data-sorted] .recordstable-sort { opacity: 1; }
2256
+ & .recordstable-th[data-sorted="desc"] .recordstable-sort svg { transform: rotate(180deg); }
2257
+
2258
+ /* column resize handle */
2259
+ & .recordstable-resize { position: absolute; top: 0; right: -3px; width: 9px; height: 100%; cursor: col-resize; z-index: 6; touch-action: none; }
2260
+ & .recordstable-resize::after { content: ""; position: absolute; top: 0; left: 3px; width: 2px; height: 100%; background: var(--bg-brand-solid); opacity: 0; transition: opacity .12s; }
2261
+ & .recordstable-resize:hover::after, & .recordstable-resize[data-resizing]::after { opacity: 1; }
2262
+
2263
+ /* add-column header */
2264
+ & .recordstable-addcol { min-width: 44px; }
2265
+ & .recordstable-addcol button { display: flex; align-items: center; justify-content: center; width: 44px; height: 100%; border: none; background: none; color: var(--fg-muted); cursor: pointer; }
2266
+ & .recordstable-addcol button:hover { background: var(--bg-raised); color: var(--fg-primary); }
2267
+
2268
+ /* cells */
2269
+ & .recordstable-td { font-size: var(--text-lg); color: var(--fg-primary); background: var(--bg-surface); cursor: default; }
2270
+ & .recordstable-td--editable { cursor: text; }
2271
+ /* keyboard/click cell selection (spreadsheet-style) */
2272
+ & .recordstable-td[data-selected] { outline: 2px solid var(--bg-brand-solid); outline-offset: -2px; border-radius: var(--radius-sm); z-index: 3; }
2273
+ & .recordstable-scroll:focus { outline: none; }
2274
+ /* picker cells (status / date / reference) host a ghost control edge-to-edge */
2275
+ & .recordstable-td--picker { padding: 0; }
2276
+ & .recordstable-td--picker .select-trigger, & .recordstable-td--picker .datepicker-trigger, & .recordstable-td--picker .multiselect-trigger { width: 100%; height: 100%; min-height: 0; border-radius: 0; box-shadow: none; padding: 0 var(--space-2); }
2277
+ & .recordstable-td--picker .multiselect-trigger:hover { background: none; }
2278
+ & .recordstable-td--picker .multiselect-trigger[data-open] { box-shadow: inset 0 0 0 1.5px var(--bg-brand-solid); }
2279
+ /* tag cell: one compact clipped line of full chips, no chevron (opens the picker on click) */
2280
+ & .recordstable-td--picker .multiselect-chips { flex-wrap: nowrap; overflow: hidden; }
2281
+ & .recordstable-td--picker .multiselect-chips .recordstable-tag { flex-shrink: 0; max-width: none; }
2282
+ & .recordstable-td--picker .multiselect-chevron { display: none; }
2283
+ & .recordstable-td--picker .multiselect-placeholder { color: var(--fg-muted); }
2284
+ & .recordstable-status { display: inline-flex; align-items: center; gap: var(--space-1-5); min-width: 0; }
2285
+ & .recordstable-status-dot { flex-shrink: 0; width: 8px; height: 8px; border-radius: var(--radius-full); }
2286
+ & .recordstable-cell { display: flex; align-items: center; gap: var(--space-2); height: 100%; min-width: 0; }
2287
+ & .recordstable-cell--num { justify-content: flex-end; font-variant-numeric: tabular-nums; }
2288
+ & .recordstable-cell--tags { gap: var(--space-1); }
2289
+ & .recordstable-tag { display: inline-flex; align-items: center; height: var(--size-chip); padding: 0 var(--space-1); border-radius: var(--radius-chip); font-size: var(--text-lg); line-height: 20px; font-weight: var(--weight-medium); white-space: nowrap; background: color-mix(in srgb, var(--fg-primary) 6%, transparent); color: color-mix(in srgb, var(--fg-primary) 82%, transparent); box-shadow: inset 0 0 0 1px var(--border-subtle); }
2290
+ & .recordstable-tag[data-tone="brand"] { background: color-mix(in srgb, var(--bg-brand-solid) 14%, transparent); color: color-mix(in srgb, var(--bg-brand-solid) 82%, var(--fg-primary)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--bg-brand-solid) 30%, transparent); }
2291
+ & .recordstable-tag[data-tone="success"] { background: color-mix(in srgb, var(--bg-success) 16%, transparent); color: color-mix(in srgb, var(--bg-success) 78%, var(--fg-primary)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--bg-success) 30%, transparent); }
2292
+ & .recordstable-tag[data-tone="warning"] { background: color-mix(in srgb, var(--bg-warning) 18%, transparent); color: color-mix(in srgb, var(--bg-warning) 82%, var(--fg-primary)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--bg-warning) 30%, transparent); }
2293
+ & .recordstable-tag[data-tone="danger"] { background: color-mix(in srgb, var(--bg-danger) 15%, transparent); color: color-mix(in srgb, var(--bg-danger) 80%, var(--fg-primary)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--bg-danger) 30%, transparent); }
2294
+ & .recordstable-tag[data-tone="purple"] { background: color-mix(in srgb, var(--bg-purple) 16%, transparent); color: color-mix(in srgb, var(--bg-purple) 80%, var(--fg-primary)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--bg-purple) 30%, transparent); }
2295
+ & .recordstable-tag[data-tone="cyan"] { background: color-mix(in srgb, var(--bg-cyan) 18%, transparent); color: color-mix(in srgb, var(--bg-cyan) 82%, var(--fg-primary)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--bg-cyan) 30%, transparent); }
2296
+ & .recordstable-tag[data-tone="orange"] { background: color-mix(in srgb, var(--bg-orange) 16%, transparent); color: color-mix(in srgb, var(--bg-orange) 82%, var(--fg-primary)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--bg-orange) 30%, transparent); }
2297
+ & .recordstable-muted { color: var(--fg-muted); }
2298
+ & .recordstable-entity { display: flex; align-items: center; gap: var(--space-1-5); min-width: 0; color: var(--fg-primary); font-weight: var(--weight-medium); text-decoration: none; }
2299
+ & .recordstable-entity:hover .recordstable-entity-name { text-decoration: underline; }
2300
+ & .recordstable-entity-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
2301
+ & button.recordstable-entity-name--link { margin: 0; padding: 0; border: none; background: none; font: inherit; color: inherit; letter-spacing: inherit; text-align: start; cursor: pointer; max-width: 100%; }
2302
+ & .recordstable-fav { width: var(--size-icon); height: var(--size-icon); border-radius: var(--radius-sm); flex-shrink: 0; object-fit: cover; background: var(--bg-raised); }
2303
+ & .recordstable-open { position: absolute; inset-inline-end: var(--space-1); top: 50%; transform: translateY(-50%); display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; padding: 0; border: none; border-radius: var(--radius-sm); background: var(--bg-surface); box-shadow: inset 0 0 0 1px var(--border-default); color: var(--fg-muted); font-family: inherit; cursor: pointer; opacity: 0; transition: opacity .12s, background-color .12s; z-index: 3; }
2304
+ & .recordstable-open:hover { background: var(--bg-raised); color: var(--fg-primary); }
2305
+ & tbody tr:hover .recordstable-open { opacity: 1; }
2306
+ & .recordstable-link { color: var(--fg-primary); text-decoration: none; overflow: hidden; text-overflow: ellipsis; }
2307
+ & .recordstable-link:hover { text-decoration: underline; }
2308
+
2309
+ /* inline edit input */
2310
+ & .recordstable-edit { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; padding: 0 var(--space-2); border: none; outline: 2px solid var(--bg-brand-solid); outline-offset: -2px; border-radius: var(--radius-sm); background: var(--bg-surface); font-family: inherit; font-size: var(--text-lg); color: var(--fg-primary); z-index: 5; }
2311
+ & .recordstable-edit--num { text-align: end; font-variant-numeric: tabular-nums; }
2312
+
2313
+ /* selection / hover / sticky */
2314
+ & .recordstable-col-check { width: 40px; min-width: 40px; padding: 0; }
2315
+ & .recordstable-check-inner { display: flex; align-items: center; justify-content: center; height: 100%; }
2316
+ & .recordstable-col-check, & .recordstable-col-entity { position: sticky; z-index: 3; background: var(--bg-surface); }
2317
+ /* The sticky pin is a LOGICAL offset: with physical `left` these columns
2318
+ were not pinned at all under RTL -- scrolled, they left the viewport
2319
+ entirely (measured: viewport 13..773, check column at x=1333). Nothing in
2320
+ JS measures these, so converting them is safe; the two properties below
2321
+ that have no logical form get an explicit RTL rule rather than being
2322
+ left to point the wrong way. */
2323
+ & .recordstable-col-check { inset-inline-start: 0; }
2324
+ & .recordstable-col-entity { inset-inline-start: 40px; clip-path: inset(0 -38px 0 0); transition: box-shadow .2s ease; }
2325
+ [dir="rtl"] & .recordstable-col-entity { clip-path: inset(0 0 0 -38px); }
2326
+ & thead .recordstable-col-check, & thead .recordstable-col-entity { z-index: 4; }
2327
+ /* soft shadow on the sticky column edge once the grid is scrolled horizontally */
2328
+ & .recordstable-scroll[data-scrolled] .recordstable-col-entity { box-shadow: 6px 0 16px 4px rgba(0,0,0,0.12); }
2329
+ /* box-shadow has no logical form either: the bleed follows the scrolled
2330
+ content, which is the opposite side under RTL. */
2331
+ [dir="rtl"] & .recordstable-scroll[data-scrolled] .recordstable-col-entity { box-shadow: -6px 0 16px 4px rgba(0,0,0,0.12); }
2332
+ /* AI-enriched values carry a purple wash. Measured from Attio:
2333
+ a full-bleed overlay at #9b69ff 4% (== bgPurple), composited OVER
2334
+ whatever row-state background the cell already has, which is why it
2335
+ is an ::after and not a background. */
2336
+ & .recordstable-td[data-enriched]::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: color-mix(in srgb, var(--bg-purple) 4%, transparent); }
2337
+ & tbody tr:hover .recordstable-td { background: color-mix(in srgb, var(--fg-primary) 4%, var(--bg-surface)); }
2338
+ & tbody tr[data-selected] .recordstable-td { background: color-mix(in srgb, var(--bg-brand-solid) 10%, var(--bg-surface)); }
2339
+ & tbody tr[data-selected]:hover .recordstable-td { background: color-mix(in srgb, var(--fg-primary) 4%, color-mix(in srgb, var(--bg-brand-solid) 10%, var(--bg-surface))); }
2340
+ & .recordstable-th:last-child, & .recordstable-td:last-child { border-inline-end: none; }
2341
+
2342
+ /* add-row footer */
2343
+ & .recordstable-addrow { display: flex; align-items: center; gap: var(--space-2); width: 100%; height: var(--size-tableRow); padding: 0 var(--space-2); border: none; border-top: 1px solid var(--border-subtle); background: var(--bg-surface); color: var(--fg-muted); font-family: inherit; font-size: var(--text-lg); cursor: pointer; }
2344
+ & .recordstable-addrow:hover { background: var(--bg-raised); color: var(--fg-primary); }
2345
+ /* zero-row empty state — centred in the body region (headers + summary stay) */
2346
+ & .recordstable-empty { display: flex; align-items: center; justify-content: center; min-height: 320px; padding: var(--space-8) var(--space-4); }
2352
2347
 
2353
- & .trialbanner-icon { display: inline-flex; flex-shrink: 0; color: var(--fg-muted); }
2354
- & .trialbanner-msg { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
2355
- & .trialbanner-action { display: inline-flex; align-items: center; gap: var(--space-1); height: 20px; flex-shrink: 0;
2356
- padding: 0 var(--space-1-5); margin: 0; border: none; border-radius: var(--radius-sm); background: var(--bg-surface);
2357
- box-shadow: 0 0 2px rgba(28,40,64,0.18), 0 1px 3px rgba(0,0,0,0.04);
2358
- font-family: inherit; font-size: var(--text-md); font-weight: var(--weight-medium); color: var(--fg-primary);
2359
- white-space: nowrap; cursor: pointer; transition: background-color .12s; }
2360
- & .trialbanner-action:hover { background: var(--bg-raised); }
2348
+ /* summary footer — per-column aggregation, sticky to the bottom */
2349
+ & .recordstable-sum { position: sticky; bottom: 0; z-index: 2; height: var(--size-tableRow); padding: 0; border-top: 1px solid var(--border-subtle); border-inline-end: 1px solid var(--border-subtle); background: var(--bg-surface); }
2350
+ & tfoot .recordstable-col-check, & tfoot .recordstable-col-entity { position: sticky; bottom: 0; z-index: 3; }
2351
+ & .recordstable-sum:last-child { border-inline-end: none; }
2352
+ & .recordstable-sum-btn { display: flex; align-items: center; justify-content: flex-end; gap: var(--space-1-5); width: 100%; height: 100%; margin: 0; padding: 0 var(--space-3); border: none; background: none; color: color-mix(in srgb, var(--fg-primary) 63%, transparent); font-family: inherit; font-size: var(--text-lg); font-weight: var(--weight-medium); cursor: pointer; white-space: nowrap; overflow: hidden; }
2353
+ & .recordstable-sum-btn:hover { background: var(--bg-raised); }
2354
+ & .recordstable-sum-label { color: color-mix(in srgb, var(--fg-primary) 45%, transparent); text-transform: capitalize; }
2355
+ & .recordstable-sum-value { color: var(--fg-primary); font-variant-numeric: tabular-nums; overflow: hidden; text-overflow: ellipsis; }
2356
+ & .recordstable-sumgroup { width: 100%; height: 100%; }
2357
+ & .recordstable-pin { flex-shrink: 0; margin-inline-start: var(--space-1); color: var(--bg-warning); fill: color-mix(in srgb, var(--bg-warning) 35%, transparent); }
2358
+ & .recordstable-sum-btn[data-empty] { opacity: 0; justify-content: flex-start; }
2359
+ & .recordstable-sum-btn[data-empty]:hover { opacity: 1; }
2361
2360
 
2362
- &[data-tone="warning"] .trialbanner-icon { color: var(--bg-warning); }
2363
- &[data-tone="danger"] .trialbanner-icon { color: var(--bg-danger); }
2361
+ /* bulk action bar lives in its own component now — see components/bulkbar */
2362
+ & .recordstable-bulk-sep { width: 1px; height: 20px; margin: 0 var(--space-0-5); background: var(--border-subtle); }
2363
+ & .recordstable-bulk-close { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; padding: 0; border: none; border-radius: var(--radius-md); background: transparent; color: var(--fg-muted); cursor: pointer; }
2364
+ & .recordstable-bulk-close:hover { background: var(--bg-raised); color: var(--fg-primary); }
2365
+
2364
2366
  }
2365
2367
 
2366
2368
  @media (prefers-reduced-motion: reduce) {
2367
- .trialbanner, .trialbanner * {
2369
+ .recordstable, .recordstable * {
2368
2370
  animation-duration: 0.01ms !important;
2369
2371
  animation-iteration-count: 1 !important;
2370
2372
  transition-duration: 0.01ms !important;
@@ -2408,125 +2410,51 @@
2408
2410
  }
2409
2411
  }
2410
2412
 
2411
- .entitycard {
2412
- display: flex; flex-direction: column; box-sizing: border-box; width: 100%; min-width: 0; text-align: start;
2413
- padding: var(--space-3) var(--space-4); margin: 0; border: none; border-radius: var(--radius-xl);
2414
- background: var(--bg-surface); box-shadow: inset 0 0 0 1px var(--border-subtle); color: var(--fg-primary);
2415
- font-family: var(--font-sans); cursor: pointer; transition: box-shadow .12s ease, background-color .12s ease;
2416
- -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
2417
-
2418
- &:hover { box-shadow: inset 0 0 0 1px var(--border-default), 0 1px 2px rgba(0,0,0,0.04), 0 6px 16px -6px rgba(28,40,64,0.12); }
2419
- &:focus-visible { outline: 2px solid var(--bg-brand-solid); outline-offset: 2px; }
2420
-
2421
- & .entitycard-author { display: inline-flex; align-items: center; gap: var(--space-1-5); font-size: var(--text-md); font-weight: var(--weight-medium); color: var(--fg-muted); }
2422
- & .entitycard-title { margin-top: var(--space-2); font-size: var(--text-lg); font-weight: var(--weight-semibold); letter-spacing: -0.1px; color: var(--fg-primary); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
2423
- & .entitycard-excerpt { margin-top: var(--space-1); font-size: var(--text-md); line-height: 18px; color: var(--fg-muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
2424
- & .entitycard-spacer { flex: 1; min-height: var(--space-3); }
2425
- & .entitycard-foot { display: flex; align-items: center; gap: var(--space-1-5); padding-top: var(--space-2-5); margin-top: var(--space-1); border-top: 1px solid var(--border-subtle); font-size: var(--text-sm); color: var(--fg-muted); }
2426
- & .entitycard-foot-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--fg-primary); }
2427
- & .entitycard-date { margin-inline-start: auto; flex-shrink: 0; white-space: nowrap; }
2428
- }
2429
-
2430
- @media (prefers-reduced-motion: reduce) {
2431
- .entitycard, .entitycard * {
2432
- animation-duration: 0.01ms !important;
2433
- animation-iteration-count: 1 !important;
2434
- transition-duration: 0.01ms !important;
2435
- }
2436
- }
2437
-
2438
- .authshell {
2439
- min-height: 100%; box-sizing: border-box; display: flex; flex-direction: column; align-items: center; position: relative;
2440
- background: var(--bg-surface); font-family: var(--font-sans); font-size: var(--text-lg); line-height: 20px; color: var(--fg-primary);
2441
- -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
2442
-
2443
- & .authshell-progress { position: absolute; top: 0; left: 0; width: 100%; height: 2px; background: var(--border-default); }
2444
- & .authshell-progress-fill { height: 2px; background: var(--fg-primary); border-radius: 4px; transition: width .2s; }
2445
-
2446
- & .authshell-logo { margin-top: var(--space-8); height: 24px; display: flex; align-items: center; }
2447
-
2448
- & .authshell-card { margin-top: var(--space-6); display: flex; height: 692px; border-radius: 20px; border: 1px solid var(--border-subtle); overflow: hidden; }
2449
-
2450
- & .authshell-pane { flex: 0 0 564px; padding: 72px; display: flex; flex-direction: column; box-sizing: border-box; }
2451
-
2452
- & .authshell-preview { flex: 0 0 564px; padding: 96px 64px; background: var(--bg-subtle); border-inline-start: 1px solid color-mix(in srgb, var(--fg-primary) 5%, transparent); position: relative; overflow: hidden; box-sizing: border-box; }
2453
- & .authshell-preview::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; background: linear-gradient(color-mix(in srgb, var(--bg-subtle) 0%, transparent) 0%, var(--bg-subtle) 100%); pointer-events: none; }
2454
-
2455
- & .authshell-body { width: 420px; margin: 0 auto; display: flex; flex-direction: column; gap: var(--space-8); align-items: center; }
2456
-
2457
- & .authshell-title { font-size: 20px; line-height: 24px; font-weight: var(--weight-semibold); letter-spacing: -0.4px; color: var(--fg-primary); align-self: stretch; }
2458
-
2459
- & .authshell-form { align-self: stretch; display: flex; flex-direction: column; gap: 28px; }
2460
-
2461
- & .authshell-footer { margin-top: var(--space-6); display: flex; align-items: center; gap: var(--space-1); font-size: var(--text-sm); line-height: 16px; color: color-mix(in srgb, var(--fg-primary) 63%, transparent); }
2462
- & .authshell-footer a { color: inherit; font-weight: var(--weight-medium); text-decoration: underline; }
2463
-
2464
- /* Auth-surface control treatment: flatter than the in-app chrome — a plain
2465
- hairline ring instead of elevation.field's soft glow, and a 36px (not
2466
- 40px) submit. Scoped to .authshell-body so a consumer keeps using
2467
- crisp's Input / FormField / Button and gets the auth treatment for free. */
2468
- & .authshell-body .formfield-label { font-size: var(--text-sm); line-height: 16px; font-weight: var(--weight-medium); letter-spacing: -0.12px; color: color-mix(in srgb, var(--fg-primary) 50%, transparent); padding-inline-start: var(--space-1); }
2469
- & .authshell-body .formfield { gap: var(--space-1); }
2470
- & .authshell-body .input { height: 34px; padding-inline: var(--space-2-5); border-radius: 10px; background: transparent; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--fg-primary) 6%, transparent); font-size: var(--text-lg); font-weight: var(--weight-medium); letter-spacing: -0.14px; transition: box-shadow .14s, background-color .14s; }
2471
- & .authshell-body .input:focus { box-shadow: inset 0 0 0 1px var(--bg-brand-solid); }
2472
- /* Same three-layer brand shadow as Button's primary intent, but the auth
2473
- button's inset ring is measured at rgba(0,0,0,0.06) — a hairline, not
2474
- the in-app button's rgba(255,255,255,0.07) highlight. */
2475
- & .authshell-body .button { height: 36px; padding-inline: var(--space-3); border-radius: 10px; }
2476
- & .authshell-body .button--intent_primary { box-shadow: inset 0 0 0 1px rgba(0,0,0,0.06), 0 2px 4px -2px rgba(38,109,240,0.12), 0 3px 6px -2px rgba(38,109,240,0.08); }
2477
-
2478
- /* Attio drops the preview pane in JS on narrow viewports (measured: two
2479
- panes at 1393px, one at 954px), so 1200px is a chosen threshold inside
2480
- that bracket, not a measured value. A CONTAINER query, not a media
2481
- query: the shell is embedded in the docs inside an ~800px column, where
2482
- a viewport query would keep the 1130px card and overflow it. Asking the
2483
- shell's own width is what "there isn't room for the preview" means. */
2484
- container-type: inline-size;
2485
- @container (max-width: 1200px) { & .authshell-preview { display: none; } }
2486
- }
2487
-
2488
- @media (prefers-reduced-motion: reduce) {
2489
- .authshell, .authshell * {
2490
- animation-duration: 0.01ms !important;
2491
- animation-iteration-count: 1 !important;
2492
- transition-duration: 0.01ms !important;
2493
- }
2413
+ .settingssection {
2414
+ display: flex; flex-direction: column; box-sizing: border-box; font-family: var(--font-sans);
2415
+ & .settingssection-head { display: flex; align-items: flex-start; gap: var(--space-2); }
2416
+ & .settingssection-heading { flex: 1; min-width: 0; }
2417
+ & .settingssection-title { font-size: var(--text-xl); line-height: 24px; font-weight: var(--weight-semibold); letter-spacing: -0.2px; color: var(--fg-primary); }
2418
+ & .settingssection-sub { margin-top: var(--space-0-5); font-size: var(--text-md); line-height: 18px; color: var(--fg-muted); }
2419
+ & .settingssection-action { flex-shrink: 0; }
2420
+ & .settingssection-body { display: flex; flex-direction: column; gap: var(--space-4); margin-top: var(--space-3); }
2494
2421
  }
2495
2422
 
2496
- .listpage {
2497
- display: flex; flex-direction: column; min-height: 0; box-sizing: border-box; font-family: var(--font-sans); color: var(--fg-primary);
2423
+ .settingsshell {
2424
+ display: flex; min-height: 0; box-sizing: border-box; font-family: var(--font-sans); color: var(--fg-primary);
2498
2425
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
2499
2426
 
2500
- & .listpage-toolbar { display: flex; align-items: center; gap: var(--space-2); height: 52px; flex-shrink: 0; padding: 0 var(--space-3); }
2501
- & .listpage-toolbar-lead { display: flex; align-items: center; gap: var(--space-2); }
2502
- & .listpage-count { margin-inline-start: auto; font-size: var(--text-md); color: var(--fg-muted); white-space: nowrap; }
2503
- & .listpage-toolbar-trail { display: flex; align-items: center; gap: var(--space-2); }
2504
- & .listpage-count + .listpage-toolbar-trail { margin-inline-start: var(--space-3); }
2505
-
2506
- & .listpage-body { flex: 1; min-height: 0; overflow-y: auto; padding: 0 var(--space-3) var(--space-3); }
2507
-
2508
- & .listpage-section-label { padding: var(--space-2) var(--space-1); font-size: var(--text-sm); font-weight: var(--weight-medium); color: var(--fg-muted); }
2509
- & .listpage-favorites { display: flex; align-items: center; justify-content: center; min-height: 200px; padding: var(--space-6); border-radius: var(--radius-xl);
2510
- background: repeating-linear-gradient(0deg, transparent, transparent) padding-box,
2511
- border-box; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--fg-primary) 8%, transparent); }
2512
- & .listpage-favorites[data-dashed] { box-shadow: none; border: 1px dashed color-mix(in srgb, var(--fg-primary) 14%, transparent); }
2513
-
2514
- & .listpage-colhead { display: flex; align-items: center; gap: var(--space-2-5); height: 40px; padding: 0 var(--space-2); box-shadow: inset 0 -1px 0 var(--border-subtle); font-size: var(--text-sm); color: var(--fg-muted); }
2515
- & .listpage-colhead-cell { display: inline-flex; align-items: center; gap: var(--space-1-5); }
2427
+ & .settingsshell-nav { display: flex; flex-direction: column; width: 256px; flex-shrink: 0; min-height: 0; padding: var(--space-3); border-inline-end: 1px solid var(--border-subtle); }
2428
+ & .settingsshell-back { display: inline-flex; align-items: center; gap: var(--space-1-5); height: 28px; padding: 0 var(--space-1); margin: 0 0 var(--space-2); border: none; background: none; font-family: inherit; font-size: var(--text-lg); font-weight: var(--weight-semibold); color: var(--fg-primary); cursor: pointer; border-radius: var(--radius-md); }
2429
+ & .settingsshell-back svg { color: var(--fg-muted); }
2430
+ & .settingsshell-back:hover svg { color: var(--fg-primary); }
2516
2431
 
2517
- & .listpage-group { display: flex; align-items: center; gap: var(--space-1-5); height: 36px; padding: 0 var(--space-2); font-size: var(--text-sm); font-weight: var(--weight-medium); color: var(--fg-muted); }
2518
- & .listpage-group-count { display: inline-flex; align-items: center; justify-content: center; min-width: 16px; height: 16px; padding: 0 var(--space-1); border-radius: var(--radius-sm); background: color-mix(in srgb, var(--fg-primary) 6%, transparent); font-size: var(--text-xs); color: var(--fg-muted); }
2432
+ & .settingsshell-search { display: flex; align-items: center; gap: var(--space-2); height: 32px; margin-bottom: var(--space-2); padding: 0 var(--space-2-5); border-radius: var(--radius-md); background: var(--bg-surface); box-shadow: inset 0 0 0 1px var(--border-default); color: var(--fg-muted); }
2433
+ /* The field box owns the ring, so focus has to move it -- the inner
2434
+ input kills its own outline. Measured on Attio: a focused field's
2435
+ input carries box-shadow: none while its wrapper carries
2436
+ inset 0 0 0 1px #266df0. */
2437
+ & .settingsshell-search:focus-within { box-shadow: inset 0 0 0 1px var(--bg-brand-solid); }
2438
+ & .settingsshell-search svg { flex-shrink: 0; }
2439
+ & .settingsshell-search input { flex: 1; min-width: 0; border: none; outline: none; background: none; font-family: inherit; font-size: var(--text-lg); color: var(--fg-primary); }
2440
+ & .settingsshell-search input::placeholder { color: var(--fg-muted); }
2519
2441
 
2520
- & .listpage-row { display: flex; align-items: center; gap: var(--space-2-5); width: 100%; height: 52px; padding: 0 var(--space-2); margin: 0; border: none; border-top: 1px solid var(--border-subtle); background: none; font-family: inherit; color: inherit; text-align: start; cursor: pointer; transition: background-color .12s; }
2521
- & .listpage-row:focus-visible { outline: 2px solid var(--bg-brand-solid); outline-offset: -2px; }
2522
- & .listpage-row:hover { background: color-mix(in srgb, var(--fg-primary) 3%, transparent); }
2523
- & .listpage-row-title { font-size: var(--text-lg); font-weight: var(--weight-medium); color: var(--fg-primary); }
2442
+ & .settingsshell-groups { flex: 1; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; gap: var(--space-2-5); }
2443
+ & .settingsshell-group { display: flex; flex-direction: column; gap: 1px; }
2444
+ & .settingsshell-group-label { padding: var(--space-1) var(--space-2); font-size: var(--text-sm); font-weight: var(--weight-medium); color: var(--fg-muted); }
2445
+ & .settingsshell-item { display: flex; align-items: center; gap: var(--space-2); height: 30px; padding: 0 var(--space-2); margin: 0; border: none; border-radius: var(--radius-md); background: none; font-family: inherit; font-size: var(--text-lg); color: var(--fg-primary); text-align: start; cursor: pointer; transition: background-color .12s; }
2446
+ & .settingsshell-item svg { flex-shrink: 0; color: var(--fg-muted); }
2447
+ & .settingsshell-item-label { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
2448
+ & .settingsshell-item:hover { background: var(--bg-raised); }
2449
+ & .settingsshell-item[data-active] { background: var(--bg-raised); font-weight: var(--weight-medium); }
2450
+ & .settingsshell-item[data-active] svg { color: var(--fg-primary); }
2451
+ & .settingsshell-empty { padding: var(--space-3) var(--space-2); font-size: var(--text-md); color: var(--fg-muted); }
2524
2452
 
2525
- & .listpage-empty { padding: var(--space-8) var(--space-4); text-align: center; font-size: var(--text-md); color: var(--fg-muted); }
2453
+ & .settingsshell-content { flex: 1; min-width: 0; min-height: 0; overflow-y: auto; padding: var(--space-6) var(--space-8); }
2526
2454
  }
2527
2455
 
2528
2456
  @media (prefers-reduced-motion: reduce) {
2529
- .listpage, .listpage * {
2457
+ .settingsshell, .settingsshell * {
2530
2458
  animation-duration: 0.01ms !important;
2531
2459
  animation-iteration-count: 1 !important;
2532
2460
  transition-duration: 0.01ms !important;
@@ -2569,3 +2497,85 @@
2569
2497
  transition-duration: 0.01ms !important;
2570
2498
  }
2571
2499
  }
2500
+
2501
+ .tasklist {
2502
+ display: flex; flex-direction: column; box-sizing: border-box; font-family: var(--font-sans);
2503
+ -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
2504
+
2505
+ & .tasklist-group { display: flex; align-items: center; gap: var(--space-1-5); height: 36px; padding: 0 var(--space-2); font-size: var(--text-md); font-weight: var(--weight-medium); color: var(--fg-muted); }
2506
+ & .tasklist-group-count { display: inline-flex; align-items: center; justify-content: center; min-width: 16px; height: 16px; padding: 0 var(--space-1); border-radius: var(--radius-sm); background: color-mix(in srgb, var(--fg-primary) 6%, transparent); font-size: var(--text-xs); color: var(--fg-muted); }
2507
+
2508
+ & .tasklist-row { display: flex; align-items: center; gap: var(--space-2-5); height: 52px; padding: 0 var(--space-2); border-top: 1px solid var(--border-subtle); }
2509
+ & .tasklist-row:first-child { border-top: none; }
2510
+
2511
+ & .tasklist-check { appearance: none; -webkit-appearance: none; box-sizing: border-box; flex-shrink: 0; margin: 0; width: 16px; height: 16px; border: none; border-radius: var(--radius-full); background: var(--bg-surface); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--fg-primary) 9%, transparent); cursor: pointer; transition: background-color .12s, box-shadow .12s; }
2512
+ & .tasklist-check:hover { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--fg-primary) 30%, transparent); }
2513
+ & .tasklist-check:checked { background: var(--bg-brand-solid) center / 10px no-repeat; box-shadow: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 12 12' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 6.5 5 9l4.5-5'/%3E%3C/svg%3E"); }
2514
+ & .tasklist-check:focus-visible { outline: 2px solid var(--bg-brand-solid); outline-offset: 1px; }
2515
+
2516
+ & .tasklist-title { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: var(--text-lg); font-weight: var(--weight-medium); color: var(--fg-primary); }
2517
+ & .tasklist-row[data-done] .tasklist-title { color: var(--fg-muted); text-decoration: line-through; }
2518
+
2519
+ & .tasklist-meta { display: inline-flex; align-items: center; gap: var(--space-3); flex-shrink: 0; }
2520
+ & .tasklist-due { font-size: var(--text-lg); color: var(--fg-muted); white-space: nowrap; }
2521
+ & .tasklist-due[data-overdue] { color: var(--bg-danger); }
2522
+
2523
+ & .tasklist-empty { padding: var(--space-4) var(--space-2); text-align: center; font-size: var(--text-md); color: var(--fg-muted); }
2524
+ }
2525
+
2526
+ @media (prefers-reduced-motion: reduce) {
2527
+ .tasklist, .tasklist * {
2528
+ animation-duration: 0.01ms !important;
2529
+ animation-iteration-count: 1 !important;
2530
+ transition-duration: 0.01ms !important;
2531
+ }
2532
+ }
2533
+
2534
+ .trialbanner {
2535
+ display: flex; align-items: center; gap: var(--space-1-5); box-sizing: border-box; min-height: 28px;
2536
+ padding: 0 var(--space-1); border-radius: var(--radius-lg); font-family: var(--font-sans);
2537
+ font-size: var(--text-lg); color: var(--fg-primary);
2538
+ -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
2539
+
2540
+ & .trialbanner-icon { display: inline-flex; flex-shrink: 0; color: var(--fg-muted); }
2541
+ & .trialbanner-msg { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
2542
+ & .trialbanner-action { display: inline-flex; align-items: center; gap: var(--space-1); height: 20px; flex-shrink: 0;
2543
+ padding: 0 var(--space-1-5); margin: 0; border: none; border-radius: var(--radius-sm); background: var(--bg-surface);
2544
+ box-shadow: 0 0 2px rgba(28,40,64,0.18), 0 1px 3px rgba(0,0,0,0.04);
2545
+ font-family: inherit; font-size: var(--text-md); font-weight: var(--weight-medium); color: var(--fg-primary);
2546
+ white-space: nowrap; cursor: pointer; transition: background-color .12s; }
2547
+ & .trialbanner-action:hover { background: var(--bg-raised); }
2548
+
2549
+ &[data-tone="warning"] .trialbanner-icon { color: var(--bg-warning); }
2550
+ &[data-tone="danger"] .trialbanner-icon { color: var(--bg-danger); }
2551
+ }
2552
+
2553
+ @media (prefers-reduced-motion: reduce) {
2554
+ .trialbanner, .trialbanner * {
2555
+ animation-duration: 0.01ms !important;
2556
+ animation-iteration-count: 1 !important;
2557
+ transition-duration: 0.01ms !important;
2558
+ }
2559
+ }
2560
+
2561
+ .viewtoggle {
2562
+ display: inline-flex; align-items: center; gap: 2px; box-sizing: border-box; padding: 2px;
2563
+ border-radius: var(--radius-lg); background: color-mix(in srgb, var(--fg-primary) 5%, transparent);
2564
+ font-family: var(--font-sans);
2565
+
2566
+ & .viewtoggle-tile { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px;
2567
+ padding: 0; margin: 0; border: none; border-radius: var(--radius-md); background: none; color: var(--fg-muted);
2568
+ font-family: inherit; cursor: pointer; transition: background-color .12s, color .12s, box-shadow .12s; }
2569
+ & .viewtoggle-tile:hover { color: var(--fg-primary); }
2570
+ & .viewtoggle-tile[data-active] { background: var(--bg-tile-active); color: var(--fg-primary);
2571
+ box-shadow: 0 1px 2px -1px var(--shadow-tile-active); }
2572
+ & .viewtoggle-tile:focus-visible { outline: 2px solid var(--bg-brand-solid); outline-offset: 1px; }
2573
+ }
2574
+
2575
+ @media (prefers-reduced-motion: reduce) {
2576
+ .viewtoggle, .viewtoggle * {
2577
+ animation-duration: 0.01ms !important;
2578
+ animation-iteration-count: 1 !important;
2579
+ transition-duration: 0.01ms !important;
2580
+ }
2581
+ }