@stacksjs/defaults 0.75.674 → 0.75.685

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 (57) hide show
  1. package/ai/skills/stacks-ai/SKILL.md +7 -2
  2. package/ai/skills/stacks-api/SKILL.md +1 -1
  3. package/ai/skills/stacks-dashboard/SKILL.md +9 -2
  4. package/ai/skills/stacks-deploy/SKILL.md +8 -0
  5. package/ai/skills/stacks-desktop/SKILL.md +31 -0
  6. package/ai/skills/stacks-development/SKILL.md +5 -7
  7. package/ai/skills/stacks-health/SKILL.md +19 -9
  8. package/ai/skills/stacks-native/CATALOG.md +24 -24
  9. package/ai/skills/stacks-newsletter/SKILL.md +10 -4
  10. package/ai/skills/stacks-router/SKILL.md +2 -2
  11. package/ai/skills/stacks-routes/SKILL.md +2 -2
  12. package/ai/skills/stacks-scheduler/SKILL.md +16 -2
  13. package/ai/skills/stacks-security/SKILL.md +24 -0
  14. package/ai/skills/stacks-socials/SKILL.md +17 -1
  15. package/ai/skills/stacks-storage/SKILL.md +34 -15
  16. package/app/Actions/SubscriberEmailAction.ts +26 -10
  17. package/app/Jobs/Inspire.ts +33 -0
  18. package/functions/dashboard-sidebar-order.ts +3 -0
  19. package/ide/vscode/package.json +1 -1
  20. package/package.json +8 -7
  21. package/project/storage/framework/types/request-context.d.ts +3 -0
  22. package/resources/components/Dashboard/Billing/BillingPaymentMethodsPanel.stx +3 -10
  23. package/resources/components/Dashboard/Billing/BillingPlanSummary.stx +3 -10
  24. package/resources/components/Dashboard/Billing/BillingSettings.stx +13 -15
  25. package/resources/components/Dashboard/Billing/BillingTransactionHistory.stx +2 -9
  26. package/resources/components/Dashboard/DashboardSectionLanding.stx +72 -0
  27. package/resources/components/Dashboard/DashboardSectionSidebar.stx +78 -0
  28. package/resources/components/Dashboard/GlobalSearch.stx +3 -1
  29. package/resources/components/Dashboard/Home/DashboardHome.stx +14 -1
  30. package/resources/components/Dashboard/Settings/AppearanceSettingsDashboard.stx +21 -92
  31. package/resources/components/Dashboard/Settings/DashboardSettingsFrame.stx +98 -0
  32. package/resources/components/Dashboard/Settings/DashboardThemePicker.stx +4 -9
  33. package/resources/components/Dashboard/Settings/MailSettingsDashboard.stx +162 -167
  34. package/resources/components/Dashboard/Settings/SettingsDashboard.stx +34 -30
  35. package/resources/components/Dashboard/Settings/SoftwareUpdateDashboard.stx +229 -0
  36. package/resources/components/Dashboard/UI/DashboardNavigationCards.stx +44 -0
  37. package/resources/components/Dashboard/UI/Input.stx +1 -0
  38. package/resources/components/Dashboard/UI/Select.stx +1 -0
  39. package/resources/components/Dashboard/UI/Table.stx +1 -0
  40. package/resources/components/Dashboard/UI/Textarea.stx +1 -0
  41. package/resources/components/Marketing/SubscribeForm.stx +29 -8
  42. package/resources/functions/dashboard/section-landing.ts +201 -0
  43. package/resources/functions/dashboard/section-navigation.ts +95 -0
  44. package/styles/dashboard-theme.css +778 -9
  45. package/views/dashboard/composables/dashboard-themes.ts +5 -5
  46. package/views/dashboard/composables/settings-window.ts +116 -0
  47. package/views/dashboard/composables/useAppearance.ts +13 -4
  48. package/views/dashboard/composables/useDashboardThemes.ts +2 -1
  49. package/views/dashboard/composables/useSettingsWindow.ts +23 -0
  50. package/views/dashboard/layouts/default.stx +32 -20
  51. package/views/dashboard/layouts/settings.stx +48 -0
  52. package/views/dashboard/sections/[section].stx +19 -0
  53. package/views/dashboard/settings/appearance.stx +4 -2
  54. package/views/dashboard/settings/billing.stx +3 -4
  55. package/views/dashboard/settings/index.stx +4 -2
  56. package/views/dashboard/settings/mail.stx +3 -3
  57. package/views/dashboard/settings/software-update.stx +9 -0
@@ -1,14 +1,17 @@
1
- html[data-dashboard-layout] {
1
+ html[data-color-mode] {
2
2
  color-scheme: light;
3
- --dashboard-overview-gradient:
4
- radial-gradient(ellipse at 85% 0%, color-mix(in srgb, var(--dashboard-hero-start) 90%, white), transparent 65%),
5
- linear-gradient(155deg, var(--dashboard-hero-start), var(--dashboard-hero-end));
6
3
  }
7
4
 
8
- html[data-dashboard-layout].dark {
5
+ html[data-color-mode].dark {
9
6
  color-scheme: dark;
10
7
  }
11
8
 
9
+ html[data-dashboard-layout] {
10
+ --dashboard-overview-gradient:
11
+ radial-gradient(ellipse at 85% 0%, color-mix(in srgb, var(--dashboard-hero-start) 90%, white), transparent 65%),
12
+ linear-gradient(155deg, var(--dashboard-hero-start), var(--dashboard-hero-end));
13
+ }
14
+
12
15
  html[data-dashboard-layout] body {
13
16
  color: var(--dashboard-text);
14
17
  font-family: -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
@@ -213,11 +216,11 @@ html[data-dashboard-theme="system-cleaner"] [data-section-id="analytics"] { --da
213
216
  html[data-dashboard-theme="system-cleaner"] [data-section-id="marketing"] { --dashboard-tile: #a12d79; }
214
217
  html[data-dashboard-theme="system-cleaner"] [data-section-id="management"] { --dashboard-tile: #4d579f; }
215
218
 
216
- html[data-dashboard-overview="immersive"]:has([data-dashboard-overview-page]) body {
219
+ html[data-dashboard-overview="immersive"]:has([data-dashboard-overview-page], [data-dashboard-section-page]) body {
217
220
  background: var(--dashboard-overview-gradient) fixed;
218
221
  }
219
222
 
220
- html[data-dashboard-overview="immersive"]:has([data-dashboard-overview-page]) :is([data-dashboard-content], [data-dashboard-web-sidebar], [data-dashboard-mobile-bar]) {
223
+ html[data-dashboard-overview="immersive"]:has([data-dashboard-overview-page], [data-dashboard-section-page]) :is([data-dashboard-content], [data-dashboard-web-sidebar], [data-dashboard-mobile-bar]) {
221
224
  --dashboard-canvas: transparent;
222
225
  --dashboard-window: transparent;
223
226
  --dashboard-text: var(--dashboard-hero-text);
@@ -229,7 +232,7 @@ html[data-dashboard-overview="immersive"]:has([data-dashboard-overview-page]) :i
229
232
  color: var(--dashboard-text);
230
233
  }
231
234
 
232
- html[data-dashboard-overview="immersive"] [data-dashboard-content]:has([data-dashboard-overview-page]),
235
+ html[data-dashboard-overview="immersive"] [data-dashboard-content]:has([data-dashboard-overview-page], [data-dashboard-section-page]),
233
236
  html[data-dashboard-overview="immersive"] [data-dashboard-hero] {
234
237
  box-shadow: none;
235
238
  }
@@ -239,10 +242,776 @@ html[data-dashboard-overview="immersive"] [data-dashboard-hero] {
239
242
  padding-inline: 0;
240
243
  }
241
244
 
242
- html[data-dashboard-overview="immersive"]:has([data-dashboard-overview-page]) [data-dashboard-mobile-bar] > :is(button, span) {
245
+ html[data-dashboard-overview="immersive"]:has([data-dashboard-overview-page], [data-dashboard-section-page]) [data-dashboard-mobile-bar] > :is(button, span) {
243
246
  color: inherit;
244
247
  }
245
248
 
246
249
  html[data-dashboard-overview="immersive"] [data-dashboard-overview-page] [data-dashboard-button="secondary"] {
247
250
  border-radius: 999px;
248
251
  }
252
+
253
+ /* The Original follows the dashboard's explicit appearance choice, including
254
+ native fields and the macOS sidebar chrome that normally follows the OS. */
255
+ html[data-dashboard-theme="original"] {
256
+ --dashboard-original-text: light-dark(#20232b, #f1f2f5);
257
+ --dashboard-original-muted: light-dark(#555d6b, #abb0bc);
258
+ --dashboard-original-focus: light-dark(#0863ce, #9bc7ff);
259
+ --dashboard-original-field: light-dark(#fff, #25272e);
260
+ --dashboard-original-field-border: light-dark(#858d9e, #687082);
261
+ }
262
+
263
+ html[data-dashboard-theme="original"] :is([data-dashboard-content], [data-dashboard-guest]) {
264
+ color: var(--dashboard-original-text);
265
+ }
266
+
267
+ html[data-dashboard-theme="original"] [data-dashboard-muted] {
268
+ color: var(--dashboard-original-muted);
269
+ }
270
+
271
+ html[data-dashboard-theme="original"][data-appearance="macos"] [data-sidebar-selection="accent"] {
272
+ --stx-sidebar-accent: light-dark(#0863ce, #216cdf);
273
+ --stx-sidebar-selection-idle: light-dark(rgb(0 0 0 / .065), rgb(255 255 255 / .11));
274
+ --stx-sidebar-icon-idle: light-dark(#596170, #a7aebe);
275
+ }
276
+
277
+ html[data-dashboard-theme="original"][data-appearance="macos"] [data-stx-sidebar] .stx-sidebar-rim {
278
+ box-shadow: inset 0 1px 0 light-dark(rgb(255 255 255 / .52), rgb(255 255 255 / .14)),
279
+ inset -1px 0 0 light-dark(rgb(29 41 63 / .1), rgb(255 255 255 / .08));
280
+ }
281
+
282
+ html[data-dashboard-theme="original"][data-appearance="macos"]:not(.dark) [data-stx-sidebar] .stx-sidebar-rim::after { opacity: .8; }
283
+ html[data-dashboard-theme="original"][data-appearance="macos"].dark [data-stx-sidebar] .stx-sidebar-rim::after { opacity: .25; }
284
+
285
+ html[data-dashboard-theme="original"] [data-stx-sidebar] :is([data-sidebar-item], [data-sidebar-section-header]):focus-visible {
286
+ outline: 2px solid var(--dashboard-original-focus);
287
+ outline-offset: -2px;
288
+ }
289
+
290
+ html[data-dashboard-theme="original"] [data-dashboard-field]:not(:disabled) {
291
+ color: var(--dashboard-original-text);
292
+ background-color: var(--dashboard-original-field);
293
+ }
294
+
295
+ html[data-dashboard-theme="original"] [data-dashboard-field]:not(:disabled, [aria-invalid="true"]) {
296
+ border-color: var(--dashboard-original-field-border);
297
+ }
298
+
299
+ html[data-dashboard-theme="original"] [data-dashboard-field]::placeholder {
300
+ color: var(--dashboard-original-muted);
301
+ opacity: 1;
302
+ }
303
+
304
+ html[data-dashboard-theme="original"] :is([data-dashboard-button], [data-dashboard-field]):focus-visible {
305
+ outline: 2px solid var(--dashboard-original-focus);
306
+ outline-offset: 2px;
307
+ }
308
+
309
+ html[data-dashboard-theme="original"] [data-dashboard-field][aria-invalid="true"]:focus-visible {
310
+ outline-color: light-dark(#a9263a, #ff9ca9);
311
+ }
312
+
313
+ [data-dashboard-section-sidebar],
314
+ [data-dashboard-section-overview] {
315
+ display: none;
316
+ }
317
+
318
+ html[data-dashboard-navigation="sections"] :is([data-dashboard-sidebar-tree], [data-sidebar-order-controls]) {
319
+ display: none;
320
+ }
321
+
322
+ html[data-dashboard-navigation="sections"] [data-dashboard-section-overview] {
323
+ display: block;
324
+ }
325
+
326
+ html[data-dashboard-navigation="sections"] [data-dashboard-section-sidebar] {
327
+ display: flex;
328
+ min-height: 100%;
329
+ flex-direction: column;
330
+ padding: 6px 10px 0;
331
+ }
332
+
333
+ [data-dashboard-section-sidebar-links] {
334
+ display: grid;
335
+ gap: 4px;
336
+ }
337
+
338
+ [data-dashboard-section-sidebar-footer] {
339
+ margin-top: auto;
340
+ padding-top: 10px;
341
+ }
342
+
343
+ [data-dashboard-section-entry]:not([hidden]) {
344
+ display: flex;
345
+ align-items: center;
346
+ gap: 10px;
347
+ min-height: 42px;
348
+ padding: 5px 8px;
349
+ border-radius: 9px;
350
+ color: var(--dashboard-text);
351
+ text-decoration: none;
352
+ font-size: 13px;
353
+ font-weight: 500;
354
+ }
355
+
356
+ [data-dashboard-section-entry]:is(:hover, [aria-current]) {
357
+ background: var(--dashboard-surface-muted);
358
+ }
359
+
360
+ [data-dashboard-section-entry]:focus-visible,
361
+ [data-dashboard-navigation-card]:focus-visible {
362
+ outline: 2px solid var(--dashboard-accent, light-dark(#0863ce, #9bc7ff));
363
+ outline-offset: 2px;
364
+ }
365
+
366
+ .dashboard-section-icon {
367
+ display: grid;
368
+ flex: 0 0 28px;
369
+ width: 28px;
370
+ height: 28px;
371
+ place-items: center;
372
+ border-radius: 8px;
373
+ color: white;
374
+ background: linear-gradient(160deg, color-mix(in srgb, var(--dashboard-tile, var(--dashboard-accent-fill, #245fc8)) 72%, white), var(--dashboard-tile, var(--dashboard-accent-fill, #245fc8)));
375
+ box-shadow: inset 0 1px 0 rgb(255 255 255 / .3), 0 2px 5px rgb(0 0 0 / .18);
376
+ }
377
+
378
+ .dashboard-section-icon > span { width: 16px; height: 16px; }
379
+
380
+ [data-dashboard-navigation-card] {
381
+ align-items: center;
382
+ min-height: 70px;
383
+ }
384
+
385
+ [data-dashboard-navigation-card]:hover {
386
+ border-color: var(--dashboard-accent, light-dark(#0863ce, #9bc7ff));
387
+ }
388
+
389
+ html[data-dashboard-layout] [data-dashboard-navigation-card]:hover {
390
+ background: var(--dashboard-surface-muted);
391
+ border-color: var(--dashboard-accent);
392
+ }
393
+
394
+ html[data-dashboard-theme="system-cleaner"] [data-section-id="delivery"] { --dashboard-tile: #137485; }
395
+ html[data-dashboard-theme="system-cleaner"] [data-section-id="utilities"],
396
+ html[data-dashboard-theme="system-cleaner"] [data-section-id="settings"] { --dashboard-tile: #a12d79; }
397
+
398
+ [data-dashboard-section-entry] > span:last-child {
399
+ min-width: 0;
400
+ overflow: hidden;
401
+ text-overflow: ellipsis;
402
+ white-space: nowrap;
403
+ }
404
+
405
+ html[data-dashboard-navigation="sections"] [data-dashboard-section-overview] [data-dashboard-navigation-card] {
406
+ min-height: 116px;
407
+ padding-right: 72px;
408
+ }
409
+
410
+ html[data-dashboard-navigation="sections"] [data-dashboard-section-overview] .dashboard-section-icon {
411
+ position: absolute;
412
+ top: -11px;
413
+ right: -11px;
414
+ width: 75px;
415
+ height: 75px;
416
+ border-radius: 50%;
417
+ background: radial-gradient(circle at 34% 28%, rgb(255 255 255 / .72), transparent 32%),
418
+ linear-gradient(160deg, color-mix(in srgb, var(--dashboard-tile, var(--dashboard-accent-fill)) 67%, white), var(--dashboard-tile, var(--dashboard-accent-fill)));
419
+ }
420
+
421
+ html[data-dashboard-navigation="sections"] [data-dashboard-section-overview] .dashboard-section-icon > span {
422
+ width: 26px;
423
+ height: 26px;
424
+ }
425
+
426
+ html[data-dashboard-navigation="sections"] [data-dashboard-section-overview] [data-dashboard-navigation-card] > [data-dashboard-muted] {
427
+ position: absolute;
428
+ right: 14px;
429
+ bottom: 14px;
430
+ }
431
+
432
+ /* The colored window follows the section on landing pages. The dashboard
433
+ home and the detail pages continue to use their own surfaces. */
434
+ html[data-dashboard-theme="system-cleaner"]:has([data-dashboard-section-page]) {
435
+ --dashboard-overview-gradient:
436
+ radial-gradient(84% 74% at 16% -12%, color-mix(in srgb, var(--dashboard-section-color, #6a2fb8) 92%, white), transparent 84%),
437
+ linear-gradient(145deg, var(--dashboard-section-color, #6a2fb8), color-mix(in srgb, var(--dashboard-section-color, #6a2fb8) 56%, #101721) 53%, #101721);
438
+ }
439
+
440
+ html[data-dashboard-theme="system-cleaner"]:has([data-dashboard-section-page][data-section-id="library"]) { --dashboard-section-color: #235597; }
441
+ html[data-dashboard-theme="system-cleaner"]:has([data-dashboard-section-page][data-section-id="app"]) { --dashboard-section-color: #9c432c; }
442
+ html[data-dashboard-theme="system-cleaner"]:has([data-dashboard-section-page][data-section-id="data"]) { --dashboard-section-color: #136f7c; }
443
+ html[data-dashboard-theme="system-cleaner"]:has([data-dashboard-section-page][data-section-id="content"]) { --dashboard-section-color: #236b4e; }
444
+ html[data-dashboard-theme="system-cleaner"]:has([data-dashboard-section-page][data-section-id="commerce"]) { --dashboard-section-color: #434a99; }
445
+ html[data-dashboard-theme="system-cleaner"]:has([data-dashboard-section-page][data-section-id="delivery"]) { --dashboard-section-color: #226d5d; }
446
+ html[data-dashboard-theme="system-cleaner"]:has([data-dashboard-section-page][data-section-id="marketing"]) { --dashboard-section-color: #873665; }
447
+ html[data-dashboard-theme="system-cleaner"]:has([data-dashboard-section-page][data-section-id="analytics"]) { --dashboard-section-color: #80551a; }
448
+ html[data-dashboard-theme="system-cleaner"]:has([data-dashboard-section-page][data-section-id="management"]) { --dashboard-section-color: #4d4989; }
449
+ html[data-dashboard-theme="system-cleaner"]:has([data-dashboard-section-page][data-section-id="utilities"]) { --dashboard-section-color: #535b71; }
450
+
451
+ .dashboard-section-landing {
452
+ width: min(100%, 76rem);
453
+ margin-inline: auto;
454
+ padding: clamp(1rem, 4vw, 3.5rem);
455
+ padding-bottom: 4rem;
456
+ --section-art-color: var(--dashboard-section-color, var(--dashboard-tile, var(--dashboard-accent-fill, #245fc8)));
457
+ --section-border: var(--dashboard-border, light-dark(#dcdce3, #353741));
458
+ --section-control: var(--dashboard-surface-muted, light-dark(#ebedf3, #2c2f39));
459
+ }
460
+
461
+ .dashboard-section-stage {
462
+ display: grid;
463
+ grid-template-areas: "art intro" "art features";
464
+ grid-template-columns: minmax(12rem, .75fr) minmax(0, 1.25fr);
465
+ grid-template-rows: auto 1fr;
466
+ align-items: start;
467
+ column-gap: clamp(1.5rem, 5vw, 5rem);
468
+ row-gap: 1.15rem;
469
+ padding: clamp(1rem, 2vw, 2.5rem) 0 clamp(2rem, 5vw, 4.5rem);
470
+ }
471
+
472
+ .dashboard-section-intro { grid-area: intro; }
473
+ .dashboard-section-intro h1 {
474
+ margin: 0;
475
+ font-size: clamp(2rem, 3.5vw, 3.45rem);
476
+ line-height: 1.04;
477
+ letter-spacing: -.045em;
478
+ font-weight: 680;
479
+ overflow-wrap: anywhere;
480
+ }
481
+ .dashboard-section-intro p {
482
+ max-width: 42ch;
483
+ margin: .65rem 0 0;
484
+ font-size: clamp(.9rem, 1.35vw, 1.08rem);
485
+ line-height: 1.55;
486
+ text-wrap: pretty;
487
+ }
488
+
489
+ .dashboard-section-art {
490
+ grid-area: art;
491
+ display: grid;
492
+ justify-items: center;
493
+ align-content: start;
494
+ gap: clamp(1.5rem, 4vw, 2.75rem);
495
+ padding-top: .4rem;
496
+ }
497
+
498
+ .dashboard-section-orb {
499
+ display: grid;
500
+ place-items: center;
501
+ width: clamp(9.5rem, 17vw, 15rem);
502
+ aspect-ratio: 1;
503
+ border-radius: 50%;
504
+ background:
505
+ radial-gradient(circle at 31% 26%, rgb(255 255 255 / .87) 2%, rgb(255 255 255 / .28) 18%, transparent 34%),
506
+ radial-gradient(ellipse at 48% 103%, rgb(255 255 255 / .23), transparent 54%),
507
+ linear-gradient(151deg, color-mix(in srgb, var(--section-art-color) 58%, #a8f0eb), var(--section-art-color) 61%, color-mix(in srgb, var(--section-art-color) 63%, #1b2931));
508
+ box-shadow: inset 0 1px 2px rgb(255 255 255 / .34), 0 18px 50px rgb(0 0 0 / .16),
509
+ 0 0 50px color-mix(in srgb, var(--section-art-color) 52%, transparent);
510
+ color: #fff;
511
+ }
512
+
513
+ .dashboard-section-orb > span { width: 40%; height: 40%; filter: drop-shadow(0 4px 9px rgb(0 0 0 / .17)); }
514
+
515
+ .dashboard-section-primary {
516
+ display: grid;
517
+ justify-items: center;
518
+ gap: .95rem;
519
+ text-align: center;
520
+ font-size: .8rem;
521
+ }
522
+
523
+ [data-dashboard-section-primary] {
524
+ display: grid;
525
+ place-content: center;
526
+ justify-items: center;
527
+ gap: .2rem;
528
+ width: 4.65rem;
529
+ aspect-ratio: 1;
530
+ border-radius: 50%;
531
+ background:
532
+ radial-gradient(circle at 35% 22%, rgb(255 255 255 / .20), transparent 55%),
533
+ color-mix(in srgb, var(--section-art-color) 84%, #000);
534
+ box-shadow: 0 0 0 5px rgb(255 255 255 / .10), 0 0 0 10px rgb(255 255 255 / .06), 0 9px 24px rgb(0 0 0 / .18);
535
+ color: #fff;
536
+ font-size: .86rem;
537
+ font-weight: 650;
538
+ text-decoration: none;
539
+ transition: transform 160ms cubic-bezier(.2, .75, .2, 1), filter 160ms cubic-bezier(.2, .75, .2, 1);
540
+ }
541
+
542
+ [data-dashboard-section-primary] > span { width: 1rem; height: 1rem; }
543
+ [data-dashboard-section-primary]:hover { filter: brightness(1.12); transform: translateY(-2px); }
544
+ [data-dashboard-section-primary]:active { transform: scale(.96); }
545
+ [data-dashboard-section-primary]:focus-visible { outline: 2px solid var(--dashboard-accent, #0863ce); outline-offset: 7px; }
546
+
547
+ .dashboard-section-features { grid-area: features; min-width: 0; }
548
+
549
+ .dashboard-section-row {
550
+ display: flex;
551
+ align-items: center;
552
+ gap: .8rem;
553
+ min-width: 0;
554
+ min-height: 3.4rem;
555
+ padding: .55rem .65rem;
556
+ border-radius: .7rem;
557
+ color: inherit;
558
+ text-decoration: none;
559
+ transition: background-color 160ms cubic-bezier(.2, .75, .2, 1);
560
+ }
561
+
562
+ .dashboard-section-row:hover { background-color: var(--section-control); }
563
+ .dashboard-section-row:focus-visible,
564
+ .dashboard-section-more > summary:focus-visible { outline: 2px solid var(--dashboard-accent, #0863ce); outline-offset: -2px; }
565
+
566
+ .dashboard-section-row-icon {
567
+ display: grid;
568
+ flex: 0 0 2.15rem;
569
+ height: 2.15rem;
570
+ place-items: center;
571
+ border-radius: 50%;
572
+ background: var(--section-control);
573
+ box-shadow: inset 0 1px 0 rgb(255 255 255 / .13);
574
+ }
575
+
576
+ .dashboard-section-row-icon > span { width: 1rem; height: 1rem; }
577
+ .dashboard-section-row-copy { display: grid; flex: 1; gap: .1rem; min-width: 0; overflow-wrap: anywhere; }
578
+ .dashboard-section-row-copy > strong { font-size: .94rem; font-weight: 620; }
579
+ .dashboard-section-row-copy > span { font-size: .79rem; line-height: 1.4; }
580
+ .dashboard-section-chevron { flex: 0 0 .75rem; height: .75rem; opacity: .7; }
581
+
582
+ .dashboard-section-panels {
583
+ display: grid;
584
+ grid-template-columns: repeat(auto-fit, minmax(min(100%, 21rem), 1fr));
585
+ gap: 1rem;
586
+ align-items: start;
587
+ }
588
+
589
+ .dashboard-section-panel {
590
+ min-width: 0;
591
+ padding: .95rem 1rem 1rem;
592
+ border-radius: calc(var(--dashboard-radius, 12px) + 4px);
593
+ background: var(--dashboard-surface, light-dark(#fff, #20222b));
594
+ border: 1px solid var(--section-border);
595
+ }
596
+
597
+ .dashboard-section-panel > h2 { margin: 0 .65rem .45rem; font-size: 1rem; font-weight: 650; }
598
+ .dashboard-section-panel :is(.dashboard-section-row, summary) { min-height: 2.75rem; }
599
+ .dashboard-section-panel .dashboard-section-row-icon { flex-basis: 1.7rem; height: 1.7rem; }
600
+ .dashboard-section-panel .dashboard-section-row-icon > span { width: .86rem; height: .86rem; }
601
+ .dashboard-section-panel .dashboard-section-row-copy > strong { font-size: .86rem; }
602
+ .dashboard-section-more > summary { padding: .65rem; border-radius: .65rem; cursor: pointer; font-size: .82rem; }
603
+ .dashboard-section-more > summary:hover { background: var(--section-control); }
604
+
605
+ html[data-dashboard-theme="system-cleaner"] [data-dashboard-metrics] {
606
+ padding: 0;
607
+ border: 0;
608
+ background: transparent;
609
+ }
610
+
611
+ @media (max-width: 700px) {
612
+ .dashboard-section-stage {
613
+ grid-template-areas: "intro" "art" "features";
614
+ grid-template-columns: minmax(0, 1fr);
615
+ grid-template-rows: auto;
616
+ row-gap: 1.1rem;
617
+ padding-bottom: 1.65rem;
618
+ }
619
+
620
+ .dashboard-section-art {
621
+ grid-template-columns: auto minmax(0, 1fr);
622
+ align-items: center;
623
+ justify-items: start;
624
+ justify-content: start;
625
+ gap: 1.65rem;
626
+ padding: .5rem .65rem .85rem;
627
+ }
628
+
629
+ .dashboard-section-orb { width: clamp(5.5rem, 24vw, 8rem); }
630
+ [data-dashboard-section-primary] { width: 3.65rem; font-size: .75rem; }
631
+ }
632
+
633
+ @media (prefers-reduced-motion: reduce) {
634
+ [data-dashboard-section-primary], .dashboard-section-row { transition: none; }
635
+ [data-dashboard-section-primary]:is(:hover, :active) { transform: none; }
636
+ }
637
+
638
+ /* Settings uses the same split view in a browser and its own Craft window. */
639
+ html:has([data-dashboard-settings-content]) [data-dashboard-content][data-dashboard-settings-content] {
640
+ height: auto;
641
+ min-height: 100dvh;
642
+ margin: 0;
643
+ border-radius: 0;
644
+ background: light-dark(#fff, #1e1e20);
645
+ box-shadow: none;
646
+ }
647
+
648
+ html:has([data-dashboard-settings][data-settings-native="true"]),
649
+ html:has([data-dashboard-settings][data-settings-native="true"]) body,
650
+ html:has([data-dashboard-settings][data-settings-native="true"]) [data-dashboard-settings-content] {
651
+ background: transparent;
652
+ }
653
+
654
+ html:has([data-dashboard-settings-content]) .dashboard-modal-layer {
655
+ left: 0;
656
+ }
657
+
658
+ .dashboard-settings {
659
+ --stx-mac-window: light-dark(#fff, #1e1e20);
660
+ --stx-mac-sidebar: light-dark(#ededef, #29292d);
661
+ --stx-mac-accent: light-dark(#0765d4, #6db4ff);
662
+ --stx-mac-ink: light-dark(#202024, #f1f1f3);
663
+ --stx-mac-ink-secondary: light-dark(#56565f, #b2b2bb);
664
+ --stx-mac-control-line: light-dark(#a8a8b1, #6b6b76);
665
+ --stx-mac-card: light-dark(#f3f3f5, #2b2b2e);
666
+ --stx-mac-row-height: 47px;
667
+ --stx-mac-row-inset: 14px;
668
+ --dashboard-text: var(--stx-mac-ink);
669
+ --dashboard-muted: var(--stx-mac-ink-secondary);
670
+ --dashboard-surface: var(--stx-mac-window);
671
+ --dashboard-surface-muted: var(--stx-mac-card);
672
+ --dashboard-border: var(--stx-mac-separator);
673
+ --dashboard-accent: var(--stx-mac-accent);
674
+ --dashboard-accent-fill: light-dark(#0765d4, #235fad);
675
+ --dashboard-accent-text: #fff;
676
+ --dashboard-radius: 10px;
677
+ --dashboard-original-text: var(--dashboard-text);
678
+ --dashboard-original-muted: var(--dashboard-muted);
679
+ --dashboard-original-focus: var(--dashboard-accent);
680
+ --dashboard-original-field: var(--dashboard-surface);
681
+ --dashboard-original-field-border: var(--stx-mac-control-line);
682
+ display: grid;
683
+ grid-template-columns: clamp(192px, 29vw, 225px) minmax(0, 1fr);
684
+ height: 100dvh;
685
+ color: var(--stx-mac-ink);
686
+ font-family: var(--stx-mac-font);
687
+ }
688
+
689
+ .dashboard-settings-sidebar {
690
+ padding: 0 11px 14px;
691
+ overflow-y: auto;
692
+ background: var(--stx-mac-sidebar);
693
+ border-inline-end: 1px solid var(--stx-mac-separator);
694
+ }
695
+
696
+ [data-settings-native="true"] .dashboard-settings-sidebar {
697
+ background: color-mix(in srgb, var(--stx-mac-sidebar) 74%, transparent);
698
+ }
699
+
700
+ .dashboard-settings-sidebar-chrome {
701
+ position: relative;
702
+ min-height: 50px;
703
+ margin-inline: -11px;
704
+ }
705
+
706
+ .dashboard-settings-back,
707
+ .dashboard-settings-nav-item {
708
+ display: flex;
709
+ align-items: center;
710
+ gap: 8px;
711
+ border-radius: 7px;
712
+ font-size: 13px;
713
+ font-weight: 500;
714
+ text-decoration: none;
715
+ }
716
+
717
+ .dashboard-settings-back {
718
+ position: absolute;
719
+ inset: 8px auto auto 11px;
720
+ min-height: 34px;
721
+ padding-inline: 8px;
722
+ color: var(--stx-mac-ink-secondary);
723
+ }
724
+
725
+ [data-settings-native="true"] .dashboard-settings-back { display: none; }
726
+
727
+ .dashboard-settings-search {
728
+ display: flex;
729
+ align-items: center;
730
+ gap: 6px;
731
+ min-height: 29px;
732
+ margin: 0 2px 11px;
733
+ padding: 0 7px;
734
+ border-radius: 8px;
735
+ background: var(--stx-mac-well);
736
+ color: var(--stx-mac-ink-secondary);
737
+ }
738
+
739
+ .dashboard-settings-search:focus-within {
740
+ box-shadow: var(--stx-mac-focus-ring);
741
+ }
742
+
743
+ .dashboard-settings-search > span {
744
+ flex: 0 0 14px;
745
+ height: 14px;
746
+ }
747
+
748
+ .dashboard-settings-search input {
749
+ flex: 1;
750
+ min-width: 0;
751
+ padding: 0;
752
+ border: 0;
753
+ outline: none;
754
+ background: transparent;
755
+ color: var(--stx-mac-ink);
756
+ font: inherit;
757
+ font-size: 13px;
758
+ }
759
+
760
+ .dashboard-settings-search input::placeholder {
761
+ color: var(--stx-mac-ink-secondary);
762
+ opacity: 1;
763
+ }
764
+
765
+ .dashboard-settings-search-empty {
766
+ padding: 3px 8px;
767
+ color: var(--stx-mac-ink-secondary);
768
+ font-size: 12px;
769
+ }
770
+
771
+ .dashboard-settings-nav-item {
772
+ min-height: 31px;
773
+ padding: 3px 7px;
774
+ color: inherit;
775
+ }
776
+
777
+ .dashboard-settings-nav-item[hidden] { display: none; }
778
+ .dashboard-settings-back:hover,
779
+ .dashboard-settings-nav-item:hover {
780
+ background: var(--stx-mac-hover);
781
+ }
782
+
783
+ .dashboard-settings-nav-item[aria-current="page"] {
784
+ background: light-dark(#1667cf, #275caa);
785
+ color: white;
786
+ font-weight: 600;
787
+ }
788
+
789
+ :root[data-craft-window-active="false"] .dashboard-settings-nav-item[aria-current="page"] {
790
+ background: var(--stx-mac-selection-inactive);
791
+ color: var(--stx-mac-ink);
792
+ }
793
+
794
+ .dashboard-settings :is(a, summary):focus-visible {
795
+ outline: 2px solid var(--stx-mac-accent);
796
+ outline-offset: 2px;
797
+ }
798
+
799
+ .dashboard-settings-tile {
800
+ display: grid;
801
+ flex: 0 0 21px;
802
+ place-items: center;
803
+ width: 21px;
804
+ height: 21px;
805
+ border-radius: 6px;
806
+ color: #fff;
807
+ background: linear-gradient(#87878f, #62626c);
808
+ box-shadow: inset 0 1px 1px rgb(255 255 255 / .28);
809
+ font-size: 14px;
810
+ }
811
+
812
+ .dashboard-settings-tile > span,
813
+ .dashboard-settings-back > span {
814
+ width: 1em;
815
+ height: 1em;
816
+ }
817
+
818
+ .dashboard-settings-tile[data-tone="purple"] { background: linear-gradient(#9a75d9, #7548bc); }
819
+ .dashboard-settings-tile[data-tone="blue"] { background: linear-gradient(#479ef2, #1770c6); }
820
+ .dashboard-settings-tile[data-tone="green"] { background: linear-gradient(#44af7e, #218659); }
821
+
822
+ .dashboard-settings-detail {
823
+ display: flex;
824
+ flex-direction: column;
825
+ min-width: 0;
826
+ min-height: 0;
827
+ background: var(--stx-mac-window);
828
+ }
829
+
830
+ .dashboard-settings-toolbar {
831
+ display: flex;
832
+ flex: none;
833
+ align-items: center;
834
+ gap: 11px;
835
+ min-height: 51px;
836
+ padding: 0 16px;
837
+ border-bottom: 1px solid var(--stx-mac-separator);
838
+ user-select: none;
839
+ }
840
+
841
+ .dashboard-settings-toolbar h1 {
842
+ margin: 0;
843
+ font-size: 15px;
844
+ font-weight: 650;
845
+ letter-spacing: -.012em;
846
+ pointer-events: none;
847
+ }
848
+
849
+ .dashboard-settings-history {
850
+ display: flex;
851
+ align-items: center;
852
+ gap: 1px;
853
+ padding: 2px;
854
+ border-radius: 8px;
855
+ background: var(--stx-mac-well);
856
+ }
857
+
858
+ .dashboard-settings-history button {
859
+ display: grid;
860
+ place-items: center;
861
+ width: 28px;
862
+ height: 24px;
863
+ border-radius: 6px;
864
+ color: var(--stx-mac-ink);
865
+ }
866
+
867
+ .dashboard-settings-history button:not(:disabled):hover { background: var(--stx-mac-hover); }
868
+ .dashboard-settings-history button:disabled { opacity: .35; }
869
+ .dashboard-settings-history button:focus-visible { outline: 2px solid var(--stx-mac-accent); }
870
+
871
+ .dashboard-settings-history button > span {
872
+ width: 12px;
873
+ height: 12px;
874
+ }
875
+
876
+ .dashboard-settings-pane {
877
+ flex: 1;
878
+ min-height: 0;
879
+ overflow: auto;
880
+ overscroll-behavior: contain;
881
+ background: var(--stx-mac-window);
882
+ }
883
+
884
+ .dashboard-settings-inner {
885
+ max-width: 780px;
886
+ margin-inline: auto;
887
+ padding: 18px clamp(14px, 3vw, 30px) 30px;
888
+ }
889
+
890
+ .dashboard-settings-stack {
891
+ display: flex;
892
+ flex-direction: column;
893
+ gap: 10px;
894
+ }
895
+
896
+ .dashboard-settings [data-settings-section] {
897
+ margin-block-end: 0;
898
+ }
899
+
900
+ .dashboard-settings :is([data-settings-pane-header], [data-settings-panel]) {
901
+ background: var(--stx-mac-card);
902
+ border-radius: var(--stx-mac-card-radius);
903
+ }
904
+
905
+ .dashboard-settings [data-settings-pane-header] {
906
+ margin-block-end: 8px;
907
+ --stx-settings-hero-padding: 18px;
908
+ }
909
+
910
+ .dashboard-settings [data-settings-row] {
911
+ padding-block: 7px;
912
+ }
913
+
914
+ .dashboard-settings [data-settings-row] .stx-settings-row-description {
915
+ white-space: normal;
916
+ }
917
+
918
+ .dashboard-settings-config-picker > summary {
919
+ display: flex;
920
+ align-items: center;
921
+ justify-content: space-between;
922
+ gap: 10px;
923
+ min-height: var(--stx-mac-row-height);
924
+ padding-inline: var(--stx-mac-row-inset);
925
+ border-radius: var(--stx-mac-card-radius);
926
+ cursor: pointer;
927
+ list-style: none;
928
+ }
929
+
930
+ .dashboard-settings-config-picker > summary::-webkit-details-marker { display: none; }
931
+ .dashboard-settings-config-picker > summary:hover { background: var(--stx-mac-hover); }
932
+
933
+ .dashboard-settings-config-selection {
934
+ display: inline-flex;
935
+ align-items: center;
936
+ gap: 7px;
937
+ color: var(--stx-mac-ink-secondary);
938
+ }
939
+
940
+ .dashboard-settings-config-selection > span:last-child {
941
+ width: .8em;
942
+ height: .8em;
943
+ }
944
+
945
+ .dashboard-settings-config-picker[open] .dashboard-settings-config-selection > span:last-child {
946
+ transform: rotate(180deg);
947
+ }
948
+
949
+ html .dashboard-settings [data-dashboard-field]:not(:disabled) {
950
+ color: var(--stx-mac-ink);
951
+ background-color: var(--stx-mac-window);
952
+ }
953
+
954
+ html .dashboard-settings [data-dashboard-field]:not(:disabled, [aria-invalid="true"]) {
955
+ border-color: var(--stx-mac-control-line);
956
+ }
957
+
958
+ html .dashboard-settings [data-dashboard-field]::placeholder {
959
+ color: var(--stx-mac-ink-secondary);
960
+ opacity: 1;
961
+ }
962
+
963
+ html .dashboard-settings [data-dashboard-button="primary"] {
964
+ color: #fff;
965
+ background: var(--dashboard-accent-fill);
966
+ }
967
+
968
+ html .dashboard-settings [data-dashboard-button="primary"]:hover {
969
+ background: light-dark(#0056bd, #306fc1);
970
+ }
971
+
972
+ html .dashboard-settings [data-dashboard-button="secondary"] {
973
+ color: var(--stx-mac-ink);
974
+ background: var(--stx-mac-window);
975
+ border-color: var(--stx-mac-control-line);
976
+ }
977
+
978
+ html .dashboard-settings [data-dashboard-button="secondary"]:hover {
979
+ background: var(--stx-mac-sidebar);
980
+ }
981
+
982
+ @media (max-width: 590px) {
983
+ .dashboard-settings {
984
+ display: block;
985
+ height: auto;
986
+ }
987
+
988
+ .dashboard-settings-sidebar {
989
+ padding-bottom: 10px;
990
+ overflow: visible;
991
+ border-inline-end: 0;
992
+ border-block-end: 1px solid var(--stx-mac-separator);
993
+ }
994
+
995
+ .dashboard-settings-sidebar [data-settings-group] {
996
+ display: grid;
997
+ grid-template-columns: repeat(2, minmax(0, 1fr));
998
+ gap: 3px;
999
+ }
1000
+
1001
+ .dashboard-settings-pane { overflow: visible; }
1002
+ }
1003
+
1004
+ @media (max-width: 420px) {
1005
+ .dashboard-settings [data-setting="color-mode"] {
1006
+ flex-wrap: wrap;
1007
+ gap: 6px;
1008
+ }
1009
+ }
1010
+
1011
+ .dashboard-settings-section-toggle + .dashboard-settings-section-toggle [data-settings-row]::before {
1012
+ content: '';
1013
+ position: absolute;
1014
+ inset: 0 var(--stx-mac-row-inset) auto;
1015
+ height: var(--stx-mac-hairline);
1016
+ background: var(--stx-mac-separator);
1017
+ }