@citrusworx/juiceui 0.4.0 → 0.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,709 @@
1
+ @charset "UTF-8";
2
+ /*
3
+ Tide — dark product / SaaS identity.
4
+ Teal family + black/gray/white tokens. Not Aquaflux (blue/purple hospitality).
5
+ Ships as dist/themes/tide.css.
6
+ */
7
+ [theme=tide] {
8
+ /* Compact FAQ / help column — named cards stay ~720px centered, not full-bleed. */
9
+ --tide-measure: 45rem;
10
+ /* Foundation — near-black page (black/lagoon steps), not a mid-teal wash. */
11
+ --tide-page: hsl(0, 0%, 10%);
12
+ --tide-page-tint: hsl(180, 54%, 20%);
13
+ --tide-page-deep: rgb(24.072, 29.376, 29.376);
14
+ --tide-surface: hsla(0, 0%, 10%, 0.62);
15
+ --tide-surface-strong: hsla(0, 0%, 10%, 0.78);
16
+ --tide-surface-muted: hsla(180, 54%, 20%, 0.32);
17
+ --tide-surface-deep: hsl(0, 0%, 15%);
18
+ --tide-border: rgba(37.8216, 163.7304, 163.7304, 0.5);
19
+ --tide-border-strong: rgba(37.8216, 163.7304, 163.7304, 0.58);
20
+ --tide-line-glow: 0 0 10px -2px hsla(180, 66%, 56%, 0.26);
21
+ --tide-shadow: hsla(0, 0%, 10%, 0.52);
22
+ /* Typography */
23
+ --tide-text: hsl(0, 0%, 95%);
24
+ --tide-text-muted: hsla(180, 70%, 78%, 0.78);
25
+ --tide-heading: hsl(0, 0%, 100%);
26
+ --tide-body-font: "Inter", sans-serif;
27
+ --tide-heading-font: "Inter", sans-serif;
28
+ /* Accent — cooler/deeper than teal-500. Lagoon hue 180, not Aquaflux blue. */
29
+ --tide-accent: rgb(60.894, 204.714, 200.995488);
30
+ --tide-accent-soft: hsl(180, 66%, 56%);
31
+ --tide-accent-strong: hsl(180, 68%, 66%);
32
+ --tide-highlight: hsl(180, 58%, 28%);
33
+ /* Surface recipes */
34
+ --tide-page-background:
35
+ radial-gradient(ellipse 64% 42% at 50% -6%, hsla(180, 66%, 56%, 0.18), transparent 56%),
36
+ radial-gradient(circle at 84% 90%, hsla(180, 64%, 46%, 0.08), transparent 34%),
37
+ linear-gradient(180deg, hsl(0, 0%, 10%) 0%, rgb(23.358, 31.314, 31.314) 100%);
38
+ --tide-button-background: linear-gradient(135deg, hsl(180, 66%, 56%), hsl(180, 62%, 36%));
39
+ --tide-card-background:
40
+ linear-gradient(180deg, hsla(180, 54%, 20%, 0.22) 0%, hsla(0, 0%, 10%, 0.76) 100%);
41
+ --tide-panel-background:
42
+ linear-gradient(180deg, hsla(180, 54%, 20%, 0.16) 0%, hsla(0, 0%, 15%, 0.64) 100%);
43
+ /* Accordion chrome roles — same names as Aquaflux / KiwiPress / Citrusmint.
44
+ Bound from Tide surface/accent tokens; triggers are surfaces, not CTAs. */
45
+ --tide-trigger: hsla(0, 0%, 10%, 0.22);
46
+ --tide-trigger-hover: var(--tide-surface-muted);
47
+ --tide-trigger-open: hsla(180, 64%, 46%, 0.12);
48
+ --tide-chevron: var(--tide-accent);
49
+ --tide-panel-rule: transparent;
50
+ --tide-focus-ring: var(--tide-accent);
51
+ --tide-item-border: var(--tide-border);
52
+ --tide-item-border-open: var(--tide-border);
53
+ --tide-trigger-accent: var(--tide-accent);
54
+ --tide-panel-well: hsla(0, 0%, 10%, 0.62);
55
+ --tide-open-glow: 0 0 10px -2px hsla(180, 66%, 56%, 0.26), 0 0 20px -8px hsla(180, 66%, 56%, 0.32);
56
+ --juice-accordion-trigger: var(--tide-trigger);
57
+ --juice-accordion-trigger-hover: var(--tide-trigger-hover);
58
+ --juice-accordion-trigger-open: var(--tide-trigger-open);
59
+ --juice-accordion-chevron: var(--tide-chevron);
60
+ --juice-accordion-panel-rule: var(--tide-panel-rule);
61
+ --juice-accordion-focus-ring: var(--tide-focus-ring);
62
+ --juice-accordion-item-border: var(--tide-item-border);
63
+ --juice-accordion-item-border-open: var(--tide-item-border-open);
64
+ --juice-accordion-trigger-accent: var(--tide-trigger-accent);
65
+ --juice-accordion-panel: var(--tide-panel-well);
66
+ --juice-accordion-open-glow: var(--tide-open-glow);
67
+ --juice-accordion-chevron-size: 0.7rem;
68
+ --juice-accordion-chevron-weight: 2.5px;
69
+ /* Tabs chrome roles — surface/text controls, not the CTA gradient. */
70
+ --tide-tabs-trigger: transparent;
71
+ --tide-tabs-trigger-hover: transparent;
72
+ --tide-tabs-trigger-active: transparent;
73
+ --tide-tabs-text: var(--tide-text-muted);
74
+ --tide-tabs-text-hover: var(--tide-heading);
75
+ --tide-tabs-text-active: var(--tide-accent);
76
+ --tide-tabs-indicator: var(--tide-accent);
77
+ --tide-tabs-list-rule: var(--tide-border);
78
+ --tide-tabs-focus-ring: var(--tide-accent);
79
+ --tide-tabs-panel: var(--tide-panel-well);
80
+ --juice-tabs-trigger: var(--tide-tabs-trigger);
81
+ --juice-tabs-trigger-hover: var(--tide-tabs-trigger-hover);
82
+ --juice-tabs-trigger-active: var(--tide-tabs-trigger-active);
83
+ --juice-tabs-text: var(--tide-tabs-text);
84
+ --juice-tabs-text-hover: var(--tide-tabs-text-hover);
85
+ --juice-tabs-text-active: var(--tide-tabs-text-active);
86
+ --juice-tabs-indicator: var(--tide-tabs-indicator);
87
+ --juice-tabs-list-rule: var(--tide-tabs-list-rule);
88
+ --juice-tabs-focus-ring: var(--tide-tabs-focus-ring);
89
+ --juice-tabs-panel: var(--tide-tabs-panel);
90
+ /* Surface tone roles — dark frost / elevated / recessed, not white glass. */
91
+ --juice-surface-soft-bg: var(--tide-surface);
92
+ --juice-surface-soft-border: var(--tide-border);
93
+ --juice-surface-soft-shadow: var(--tide-line-glow), 0 18px 40px -28px var(--tide-shadow);
94
+ --juice-surface-soft-blur: 16px;
95
+ --juice-surface-strong-bg: var(--tide-surface-strong);
96
+ --juice-surface-strong-border: var(--tide-border-strong);
97
+ --juice-surface-strong-shadow: var(--tide-line-glow), 0 24px 56px -22px var(--tide-shadow);
98
+ --juice-surface-strong-blur: 0px;
99
+ --juice-surface-muted-bg: var(--tide-surface-muted);
100
+ --juice-surface-muted-border: var(--tide-border);
101
+ --juice-surface-muted-shadow: none;
102
+ --juice-surface-muted-blur: 0px;
103
+ /* Border strength — lagoon line tokens, not the unthemed light gray. */
104
+ --juice-border-strength-soft-width: 1px;
105
+ --juice-border-strength-soft-color: var(--tide-border);
106
+ --juice-border-strength-bold-width: 2px;
107
+ --juice-border-strength-bold-color: var(--tide-border-strong);
108
+ /* Shadow tone — dark lagoon vs ink; never the unthemed light gray. */
109
+ --juice-shadow-tone-cool-color: color-mix(in srgb, var(--tide-accent) 45%, var(--tide-shadow));
110
+ --juice-shadow-tone-cool-shadow: var(--tide-line-glow), 0 18px 40px -28px color-mix(in srgb, var(--tide-accent) 45%, var(--tide-shadow));
111
+ --juice-shadow-tone-warm-color: var(--tide-shadow);
112
+ --juice-shadow-tone-warm-shadow: 0 22px 48px -22px var(--tide-shadow);
113
+ /* Overlay — dark frost / lagoon tint; never the unthemed white veil. */
114
+ --juice-overlay-frost-wash: color-mix(in srgb, var(--tide-page) 48%, transparent);
115
+ --juice-overlay-frost-layer: linear-gradient(var(--juice-overlay-frost-wash), var(--juice-overlay-frost-wash));
116
+ --juice-overlay-tint-wash: color-mix(in srgb, var(--tide-page-tint) 32%, transparent);
117
+ --juice-overlay-tint-layer: linear-gradient(var(--juice-overlay-tint-wash), var(--juice-overlay-tint-wash));
118
+ /* Modal chrome — dark scrim + elevated dark panel, not white glass.
119
+ Close is a surface control, not the CTA gradient. */
120
+ --tide-modal-overlay: color-mix(in srgb, var(--tide-page) 72%, transparent);
121
+ --tide-modal-panel: var(--tide-surface-strong);
122
+ --tide-modal-panel-border: var(--tide-border);
123
+ --tide-modal-panel-shadow: var(--tide-line-glow), 0 24px 56px -22px var(--tide-shadow);
124
+ --tide-modal-close: var(--tide-surface-strong);
125
+ --tide-modal-close-color: var(--tide-heading);
126
+ --tide-modal-close-hover: var(--tide-surface-muted);
127
+ --tide-modal-focus-ring: var(--tide-accent);
128
+ --juice-modal-overlay: var(--tide-modal-overlay);
129
+ --juice-modal-panel: var(--tide-modal-panel);
130
+ --juice-modal-panel-border: var(--tide-modal-panel-border);
131
+ --juice-modal-panel-shadow: var(--tide-modal-panel-shadow);
132
+ --juice-modal-close: var(--tide-modal-close);
133
+ --juice-modal-close-color: var(--tide-modal-close-color);
134
+ --juice-modal-close-hover: var(--tide-modal-close-hover);
135
+ --juice-modal-focus-ring: var(--tide-modal-focus-ring);
136
+ /* Drawer chrome — dark scrim + elevated dark panel, not white glass.
137
+ Close is a surface control, not the CTA gradient. */
138
+ --tide-drawer-overlay: color-mix(in srgb, var(--tide-page) 72%, transparent);
139
+ --tide-drawer-panel: var(--tide-surface-strong);
140
+ --tide-drawer-panel-border: var(--tide-border);
141
+ --tide-drawer-panel-shadow: var(--tide-line-glow), 0 24px 56px -22px var(--tide-shadow);
142
+ --tide-drawer-close: var(--tide-surface-strong);
143
+ --tide-drawer-close-color: var(--tide-heading);
144
+ --tide-drawer-close-hover: var(--tide-surface-muted);
145
+ --tide-drawer-focus-ring: var(--tide-accent);
146
+ --juice-drawer-overlay: var(--tide-drawer-overlay);
147
+ --juice-drawer-panel: var(--tide-drawer-panel);
148
+ --juice-drawer-panel-border: var(--tide-drawer-panel-border);
149
+ --juice-drawer-panel-shadow: var(--tide-drawer-panel-shadow);
150
+ --juice-drawer-close: var(--tide-drawer-close);
151
+ --juice-drawer-close-color: var(--tide-drawer-close-color);
152
+ --juice-drawer-close-hover: var(--tide-drawer-close-hover);
153
+ --juice-drawer-focus-ring: var(--tide-drawer-focus-ring);
154
+ /* Toast chrome — dark panel, not white glass. Close is a surface
155
+ control, not the CTA gradient. Status remaps lagoon identity. */
156
+ --tide-toast-panel: var(--tide-surface-strong);
157
+ --tide-toast-panel-border: var(--tide-border);
158
+ --tide-toast-panel-shadow: var(--tide-line-glow), 0 18px 40px -22px var(--tide-shadow);
159
+ --tide-toast-ink: var(--tide-text);
160
+ --tide-toast-close: var(--tide-surface-strong);
161
+ --tide-toast-close-color: var(--tide-heading);
162
+ --tide-toast-close-hover: var(--tide-surface-muted);
163
+ --tide-toast-focus-ring: var(--tide-accent);
164
+ --tide-toast-success: var(--tide-accent);
165
+ --tide-toast-success-soft: color-mix(in srgb, var(--tide-accent) 16%, var(--tide-surface-strong));
166
+ --tide-toast-error: var(--tide-accent-strong);
167
+ --tide-toast-error-soft: color-mix(in srgb, var(--tide-accent-strong) 14%, var(--tide-surface-strong));
168
+ --tide-toast-info: var(--tide-accent-soft);
169
+ --tide-toast-info-soft: var(--tide-surface-muted);
170
+ --tide-toast-warning: var(--tide-page-tint);
171
+ --tide-toast-warning-soft: color-mix(in srgb, var(--tide-page-tint) 22%, var(--tide-surface-strong));
172
+ --juice-toast-panel: var(--tide-toast-panel);
173
+ --juice-toast-panel-border: var(--tide-toast-panel-border);
174
+ --juice-toast-panel-shadow: var(--tide-toast-panel-shadow);
175
+ --juice-toast-ink: var(--tide-toast-ink);
176
+ --juice-toast-close: var(--tide-toast-close);
177
+ --juice-toast-close-color: var(--tide-toast-close-color);
178
+ --juice-toast-close-hover: var(--tide-toast-close-hover);
179
+ --juice-toast-focus-ring: var(--tide-toast-focus-ring);
180
+ --juice-toast-success: var(--tide-toast-success);
181
+ --juice-toast-success-soft: var(--tide-toast-success-soft);
182
+ --juice-toast-error: var(--tide-toast-error);
183
+ --juice-toast-error-soft: var(--tide-toast-error-soft);
184
+ --juice-toast-info: var(--tide-toast-info);
185
+ --juice-toast-info-soft: var(--tide-toast-info-soft);
186
+ --juice-toast-warning: var(--tide-toast-warning);
187
+ --juice-toast-warning-soft: var(--tide-toast-warning-soft);
188
+ /* Popover chrome — dark panel, not white glass. Close is a surface
189
+ control, not the CTA gradient. Distinct from modal/drawer/toast. */
190
+ --tide-popover-panel: var(--tide-surface-strong);
191
+ --tide-popover-panel-border: var(--tide-border);
192
+ --tide-popover-panel-shadow: var(--tide-line-glow), 0 18px 40px -22px var(--tide-shadow);
193
+ --tide-popover-ink: var(--tide-text);
194
+ --tide-popover-close: var(--tide-surface-strong);
195
+ --tide-popover-close-color: var(--tide-heading);
196
+ --tide-popover-close-hover: var(--tide-surface-muted);
197
+ --tide-popover-focus-ring: var(--tide-accent);
198
+ --juice-popover-panel: var(--tide-popover-panel);
199
+ --juice-popover-panel-border: var(--tide-popover-panel-border);
200
+ --juice-popover-panel-shadow: var(--tide-popover-panel-shadow);
201
+ --juice-popover-ink: var(--tide-popover-ink);
202
+ --juice-popover-close: var(--tide-popover-close);
203
+ --juice-popover-close-color: var(--tide-popover-close-color);
204
+ --juice-popover-close-hover: var(--tide-popover-close-hover);
205
+ --juice-popover-focus-ring: var(--tide-popover-focus-ring);
206
+ min-height: 100vh;
207
+ background-color: var(--tide-page);
208
+ background-image: var(--tide-page-background);
209
+ color: var(--tide-text);
210
+ font-family: var(--tide-body-font);
211
+ }
212
+
213
+ [theme=tide] :where(main) {
214
+ background: transparent;
215
+ color: inherit;
216
+ min-height: 100vh;
217
+ width: 100%;
218
+ max-width: none;
219
+ box-sizing: border-box;
220
+ }
221
+
222
+ [theme=tide] :where(div) {
223
+ background-color: transparent;
224
+ color: inherit;
225
+ }
226
+
227
+ [theme=tide] :where(section, article, aside, nav, header, footer, form) {
228
+ background-color: var(--tide-surface);
229
+ color: var(--tide-text);
230
+ border: 1px solid var(--tide-border);
231
+ box-shadow: var(--tide-line-glow), 0 24px 60px -36px var(--tide-shadow);
232
+ -webkit-backdrop-filter: blur(16px);
233
+ backdrop-filter: blur(16px);
234
+ }
235
+
236
+ /* Page intro is type, not a competing glass surface. */
237
+ [theme=tide] :where(main > header) {
238
+ width: min(var(--tide-measure), 100%);
239
+ max-width: var(--tide-measure);
240
+ background: transparent;
241
+ background-image: none;
242
+ color: var(--tide-text);
243
+ border: none;
244
+ box-shadow: none;
245
+ -webkit-backdrop-filter: none;
246
+ backdrop-filter: none;
247
+ }
248
+
249
+ [theme=tide] :where(nav[type=bar], nav[type=sidebar]) {
250
+ background-color: var(--tide-surface-strong);
251
+ }
252
+
253
+ [theme=tide] :where(nav[type=bar]) {
254
+ border-bottom: 1px solid var(--tide-border);
255
+ }
256
+
257
+ [theme=tide] :where(h1, h2, h3, h4, h5, h6) {
258
+ color: var(--tide-heading);
259
+ font-family: var(--tide-heading-font);
260
+ }
261
+
262
+ [theme=tide] :where(p, span, li, label, dt, dd, blockquote) {
263
+ color: var(--tide-text);
264
+ font-family: var(--tide-body-font);
265
+ }
266
+
267
+ [theme=tide] :where(small, figcaption) {
268
+ color: var(--tide-text-muted);
269
+ font-family: var(--tide-body-font);
270
+ }
271
+
272
+ [theme=tide] :where(strong, b) {
273
+ color: var(--tide-heading);
274
+ }
275
+
276
+ [theme=tide] :where(a) {
277
+ color: var(--tide-accent-strong);
278
+ }
279
+
280
+ [theme=tide] :where(a:hover, a:focus-visible) {
281
+ color: var(--tide-accent);
282
+ }
283
+
284
+ [theme=tide] :where(button, input, textarea, select) {
285
+ background-color: var(--tide-surface-strong);
286
+ color: var(--tide-text);
287
+ border: 1px solid var(--tide-border-strong);
288
+ font-family: var(--tide-body-font);
289
+ box-shadow: 0 14px 32px -26px var(--tide-shadow);
290
+ }
291
+
292
+ [theme=tide] :where(button) {
293
+ background-image: var(--tide-button-background);
294
+ color: var(--tide-heading);
295
+ border-color: transparent;
296
+ }
297
+
298
+ [theme=tide] :where(button:hover, button:focus-visible) {
299
+ box-shadow: var(--tide-line-glow), 0 18px 38px -24px var(--tide-shadow);
300
+ }
301
+
302
+ [theme=tide] :where(input::placeholder, textarea::placeholder) {
303
+ color: var(--tide-text-muted);
304
+ }
305
+
306
+ [theme=tide] :where(input:focus-visible, textarea:focus-visible, select:focus-visible) {
307
+ outline: 2px solid rgba(60.894, 204.714, 200.995488, 0.42);
308
+ outline-offset: 2px;
309
+ }
310
+
311
+ [theme=tide] :where(code, pre) {
312
+ background-color: var(--tide-surface-muted);
313
+ color: var(--tide-heading);
314
+ border: 1px solid var(--tide-border);
315
+ }
316
+
317
+ [theme=tide] :where(hr) {
318
+ border: none;
319
+ border-top: 1px solid var(--tide-border);
320
+ }
321
+
322
+ [theme=tide] :where(ul, ol) {
323
+ color: var(--tide-text);
324
+ }
325
+
326
+ [theme=tide][tide-card],
327
+ [theme=tide] [tide-card] {
328
+ width: min(var(--tide-measure), 100%);
329
+ max-width: var(--tide-measure);
330
+ box-sizing: border-box;
331
+ background: var(--tide-card-background);
332
+ color: var(--tide-text);
333
+ border: 1px solid var(--tide-border);
334
+ box-shadow: var(--tide-line-glow), 0 28px 70px -42px var(--tide-shadow);
335
+ -webkit-backdrop-filter: blur(18px);
336
+ backdrop-filter: blur(18px);
337
+ border-radius: 1.15rem;
338
+ }
339
+
340
+ [theme=tide][tide-card] :where(h1, h2, h3, h4, h5, h6),
341
+ [theme=tide] [tide-card] :where(h1, h2, h3, h4, h5, h6) {
342
+ color: var(--tide-heading);
343
+ }
344
+
345
+ [theme=tide][tide-card] :where(p, span, li, small),
346
+ [theme=tide] [tide-card] :where(p, span, li, small) {
347
+ color: var(--tide-text-muted);
348
+ }
349
+
350
+ [theme=tide][tide-card] :where(strong, b),
351
+ [theme=tide] [tide-card] :where(strong, b) {
352
+ color: var(--tide-heading);
353
+ }
354
+
355
+ [theme=tide][tide-panel],
356
+ [theme=tide] [tide-panel] {
357
+ background: var(--tide-panel-background);
358
+ color: var(--tide-text);
359
+ border: 1px solid var(--tide-border);
360
+ box-shadow: var(--tide-line-glow), 0 22px 56px -40px var(--tide-shadow);
361
+ }
362
+
363
+ [theme=tide][tide-panel] :where(h1, h2, h3, h4, h5, h6),
364
+ [theme=tide] [tide-panel] :where(h1, h2, h3, h4, h5, h6) {
365
+ color: var(--tide-heading);
366
+ }
367
+
368
+ [theme=tide][tide-panel] :where(p, span, li, small),
369
+ [theme=tide] [tide-panel] :where(p, span, li, small) {
370
+ color: var(--tide-text);
371
+ }
372
+
373
+ [theme=tide][tide-panel] :where(strong, b),
374
+ [theme=tide] [tide-panel] :where(strong, b) {
375
+ color: var(--tide-heading);
376
+ }
377
+
378
+ [theme=tide] [hero-eyebrow] {
379
+ color: var(--tide-accent);
380
+ text-transform: uppercase;
381
+ letter-spacing: 0.18em;
382
+ font-size: 0.72rem;
383
+ font-weight: 600;
384
+ justify-content: center;
385
+ }
386
+
387
+ /* Accordion wrappers are structural, not default section surfaces.
388
+ Group FAQ stacks in [tide-card] / [tide-panel] instead.
389
+ Fill / chevron / focus / panel-rule come from --juice-accordion-* roles. */
390
+ [theme=tide] :where([accordion]) {
391
+ background: transparent;
392
+ background-image: none;
393
+ border: none;
394
+ box-shadow: none;
395
+ -webkit-backdrop-filter: none;
396
+ backdrop-filter: none;
397
+ gap: 0.65rem;
398
+ }
399
+
400
+ /* Open pair reads as one tile: soft accent wash, same 1px line as idle pills.
401
+ Left accent stays on the header via --juice-accordion-trigger-accent. */
402
+ [theme=tide] [accordion]:has(> [accordion-item][aria-expanded=true]) {
403
+ background-color: var(--juice-accordion-trigger-open);
404
+ background-image: none;
405
+ border: 1px solid var(--juice-accordion-item-border-open);
406
+ border-radius: 0.95rem;
407
+ box-shadow: var(--juice-accordion-open-glow);
408
+ padding: 0.1rem 0.12rem 0.55rem;
409
+ gap: 0.45rem;
410
+ }
411
+
412
+ /* Generic Tide buttons use --tide-button-background (CTA gradient).
413
+ Accordion triggers are surface controls, not primary actions. */
414
+ [theme=tide] button[accordion-item] {
415
+ background-image: none;
416
+ background-color: var(--juice-accordion-trigger);
417
+ color: var(--tide-heading);
418
+ border: 1px solid var(--juice-accordion-item-border);
419
+ box-shadow: var(--tide-line-glow);
420
+ padding-left: 1.2rem;
421
+ }
422
+
423
+ [theme=tide] button[accordion-item]::after {
424
+ border-color: var(--juice-accordion-chevron);
425
+ }
426
+
427
+ [theme=tide] button[accordion-item]:hover {
428
+ border-color: var(--tide-border-strong);
429
+ background-color: var(--juice-accordion-trigger-hover);
430
+ color: var(--tide-heading);
431
+ background-image: none;
432
+ }
433
+
434
+ [theme=tide] button[accordion-item]:focus-visible {
435
+ outline: 2px solid var(--juice-accordion-focus-ring);
436
+ outline-offset: 2px;
437
+ }
438
+
439
+ [theme=tide] button[accordion-item][aria-expanded=true] {
440
+ background-color: transparent;
441
+ background-image: none;
442
+ color: var(--tide-heading);
443
+ border-color: transparent;
444
+ box-shadow: none;
445
+ padding-left: 1.35rem;
446
+ }
447
+
448
+ [theme=tide] [accordion] [role=region] {
449
+ color: var(--tide-text-muted);
450
+ background-color: var(--juice-accordion-panel);
451
+ border: 1px solid var(--tide-border);
452
+ border-radius: 0.7rem;
453
+ box-shadow: inset 0 1px 0 hsla(0, 0%, 10%, 0.4);
454
+ margin: 0 0.45rem 0.08rem;
455
+ padding: 0.85rem 1.05rem;
456
+ }
457
+
458
+ /* Tabs wrappers are structural. Generic Tide buttons use --tide-button-background;
459
+ tab triggers stay surface/text controls. */
460
+ [theme=tide] :where([tabs]) {
461
+ background: transparent;
462
+ background-image: none;
463
+ border: none;
464
+ box-shadow: none;
465
+ -webkit-backdrop-filter: none;
466
+ backdrop-filter: none;
467
+ }
468
+
469
+ [theme=tide] [tabs]:not(:has([tabs-list], [tab-panel])),
470
+ [theme=tide] [tabs-list] {
471
+ border-bottom-color: var(--juice-tabs-list-rule);
472
+ }
473
+
474
+ [theme=tide] button[tab],
475
+ [theme=tide] [tabs] > button,
476
+ [theme=tide] [tabs-list] > button {
477
+ background-image: none;
478
+ background-color: var(--juice-tabs-trigger);
479
+ color: var(--juice-tabs-text);
480
+ border: none;
481
+ border-bottom: 2px solid transparent;
482
+ border-radius: 0;
483
+ box-shadow: none;
484
+ }
485
+
486
+ [theme=tide] button[tab]:hover,
487
+ [theme=tide] [tabs] > button:hover,
488
+ [theme=tide] [tabs-list] > button:hover {
489
+ background-image: none;
490
+ background-color: var(--juice-tabs-trigger-hover);
491
+ color: var(--juice-tabs-text-hover);
492
+ box-shadow: none;
493
+ }
494
+
495
+ [theme=tide] button[tab]:focus-visible,
496
+ [theme=tide] [tabs] > button:focus-visible,
497
+ [theme=tide] [tabs-list] > button:focus-visible {
498
+ outline: 2px solid var(--juice-tabs-focus-ring);
499
+ outline-offset: 2px;
500
+ }
501
+
502
+ [theme=tide] button[tab][active],
503
+ [theme=tide] button[tab][aria-selected=true],
504
+ [theme=tide] [tabs] > button[active],
505
+ [theme=tide] [tabs] > button[aria-selected=true],
506
+ [theme=tide] [tabs-list] > button[active],
507
+ [theme=tide] [tabs-list] > button[aria-selected=true] {
508
+ background-image: none;
509
+ background-color: var(--juice-tabs-trigger-active);
510
+ color: var(--juice-tabs-text-active);
511
+ border-bottom-color: var(--juice-tabs-indicator);
512
+ }
513
+
514
+ [theme=tide] [tab-panel] {
515
+ color: var(--tide-text-muted);
516
+ background-color: var(--juice-tabs-panel);
517
+ }
518
+
519
+ /* Modal chrome. Generic Tide buttons use --tide-button-background;
520
+ [modal-close] stays a surface control. Panel stays dark. */
521
+ [theme=tide] [modal-overlay] {
522
+ background-color: var(--juice-modal-overlay);
523
+ }
524
+
525
+ [theme=tide] [modal]:not([surfaceTone]) {
526
+ background-color: var(--juice-modal-panel);
527
+ border: 1px solid var(--juice-modal-panel-border);
528
+ box-shadow: var(--juice-modal-panel-shadow);
529
+ }
530
+
531
+ [theme=tide] button[modal-close],
532
+ [theme=tide] [modal-close] {
533
+ background-image: none;
534
+ background-color: var(--juice-modal-close);
535
+ color: var(--juice-modal-close-color);
536
+ box-shadow: none;
537
+ transform: none;
538
+ }
539
+
540
+ [theme=tide] button[modal-close]:hover,
541
+ [theme=tide] [modal-close]:hover {
542
+ background-image: none;
543
+ background-color: var(--juice-modal-close-hover);
544
+ color: var(--juice-modal-close-color);
545
+ transform: none;
546
+ }
547
+
548
+ [theme=tide] button[modal-close]:focus-visible,
549
+ [theme=tide] [modal-close]:focus-visible {
550
+ outline: 2px solid var(--juice-modal-focus-ring);
551
+ outline-offset: 2px;
552
+ }
553
+
554
+ /* Drawer chrome. Generic Tide buttons use --tide-button-background;
555
+ [drawer-close] stays a surface control. Panel stays dark. */
556
+ [theme=tide] [drawer-overlay] {
557
+ background-color: var(--juice-drawer-overlay);
558
+ }
559
+
560
+ [theme=tide] [drawer]:not([surfaceTone]) {
561
+ background-color: var(--juice-drawer-panel);
562
+ border: 1px solid var(--juice-drawer-panel-border);
563
+ box-shadow: var(--juice-drawer-panel-shadow);
564
+ }
565
+
566
+ [theme=tide] button[drawer-close],
567
+ [theme=tide] [drawer-close] {
568
+ background-image: none;
569
+ background-color: var(--juice-drawer-close);
570
+ color: var(--juice-drawer-close-color);
571
+ box-shadow: none;
572
+ transform: none;
573
+ }
574
+
575
+ [theme=tide] button[drawer-close]:hover,
576
+ [theme=tide] [drawer-close]:hover {
577
+ background-image: none;
578
+ background-color: var(--juice-drawer-close-hover);
579
+ color: var(--juice-drawer-close-color);
580
+ transform: none;
581
+ }
582
+
583
+ [theme=tide] button[drawer-close]:focus-visible,
584
+ [theme=tide] [drawer-close]:focus-visible {
585
+ outline: 2px solid var(--juice-drawer-focus-ring);
586
+ outline-offset: 2px;
587
+ }
588
+
589
+ /* Toast chrome. Generic Tide buttons use --tide-button-background;
590
+ [toast-close] stays a surface control. Panel stays dark. */
591
+ [theme=tide] [toast]:not([surfaceTone]) {
592
+ background-color: var(--juice-toast-panel);
593
+ border: 1px solid var(--juice-toast-panel-border);
594
+ box-shadow: var(--juice-toast-panel-shadow);
595
+ color: var(--juice-toast-ink);
596
+ }
597
+
598
+ [theme=tide] [toast-title],
599
+ [theme=tide] [toast-body] {
600
+ color: var(--juice-toast-ink);
601
+ }
602
+
603
+ [theme=tide] [toast=success]:not([surfaceTone]) {
604
+ background-color: var(--juice-toast-success-soft);
605
+ }
606
+
607
+ [theme=tide] [toast=success] {
608
+ border-left-color: var(--juice-toast-success);
609
+ }
610
+
611
+ [theme=tide] [toast=success] [toast-title] {
612
+ color: var(--juice-toast-success);
613
+ }
614
+
615
+ [theme=tide] [toast=error]:not([surfaceTone]) {
616
+ background-color: var(--juice-toast-error-soft);
617
+ }
618
+
619
+ [theme=tide] [toast=error] {
620
+ border-left-color: var(--juice-toast-error);
621
+ }
622
+
623
+ [theme=tide] [toast=error] [toast-title] {
624
+ color: var(--juice-toast-error);
625
+ }
626
+
627
+ [theme=tide] [toast=info]:not([surfaceTone]) {
628
+ background-color: var(--juice-toast-info-soft);
629
+ }
630
+
631
+ [theme=tide] [toast=info] {
632
+ border-left-color: var(--juice-toast-info);
633
+ }
634
+
635
+ [theme=tide] [toast=info] [toast-title] {
636
+ color: var(--juice-toast-info);
637
+ }
638
+
639
+ [theme=tide] [toast=warning]:not([surfaceTone]) {
640
+ background-color: var(--juice-toast-warning-soft);
641
+ }
642
+
643
+ [theme=tide] [toast=warning] {
644
+ border-left-color: var(--juice-toast-warning);
645
+ }
646
+
647
+ [theme=tide] [toast=warning] [toast-title] {
648
+ color: var(--juice-toast-warning);
649
+ }
650
+
651
+ [theme=tide] button[toast-close],
652
+ [theme=tide] [toast-close] {
653
+ background-image: none;
654
+ background-color: var(--juice-toast-close);
655
+ color: var(--juice-toast-close-color);
656
+ box-shadow: none;
657
+ transform: none;
658
+ }
659
+
660
+ [theme=tide] button[toast-close]:hover,
661
+ [theme=tide] [toast-close]:hover {
662
+ background-image: none;
663
+ background-color: var(--juice-toast-close-hover);
664
+ color: var(--juice-toast-close-color);
665
+ transform: none;
666
+ }
667
+
668
+ [theme=tide] button[toast-close]:focus-visible,
669
+ [theme=tide] [toast-close]:focus-visible {
670
+ outline: 2px solid var(--juice-toast-focus-ring);
671
+ outline-offset: 2px;
672
+ }
673
+
674
+ /* Popover chrome. Generic Tide buttons use --tide-button-background;
675
+ [popover-close] stays a surface control. Panel stays dark. */
676
+ [theme=tide] [popover-panel]:not([surfaceTone]) {
677
+ background-color: var(--juice-popover-panel);
678
+ border: 1px solid var(--juice-popover-panel-border);
679
+ box-shadow: var(--juice-popover-panel-shadow);
680
+ color: var(--juice-popover-ink);
681
+ }
682
+
683
+ [theme=tide] [popover-header],
684
+ [theme=tide] [popover-body] {
685
+ color: var(--juice-popover-ink);
686
+ }
687
+
688
+ [theme=tide] button[popover-close],
689
+ [theme=tide] [popover-close] {
690
+ background-image: none;
691
+ background-color: var(--juice-popover-close);
692
+ color: var(--juice-popover-close-color);
693
+ box-shadow: none;
694
+ transform: none;
695
+ }
696
+
697
+ [theme=tide] button[popover-close]:hover,
698
+ [theme=tide] [popover-close]:hover {
699
+ background-image: none;
700
+ background-color: var(--juice-popover-close-hover);
701
+ color: var(--juice-popover-close-color);
702
+ transform: none;
703
+ }
704
+
705
+ [theme=tide] button[popover-close]:focus-visible,
706
+ [theme=tide] [popover-close]:focus-visible {
707
+ outline: 2px solid var(--juice-popover-focus-ring);
708
+ outline-offset: 2px;
709
+ }