@citrusworx/juiceui 0.4.0 → 0.6.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.
@@ -47,6 +47,53 @@
47
47
  --juice-tabs-indicator: var(--cm-tabs-indicator);
48
48
  --juice-tabs-list-rule: var(--cm-tabs-list-rule);
49
49
  --juice-tabs-focus-ring: var(--cm-tabs-focus-ring);
50
+ /* Surface tone roles — thinner --cm-* set; no dedicated frost token,
51
+ so soft mixes --cm-surface to the unthemed frost alpha. */
52
+ --juice-surface-soft-bg: color-mix(in srgb, var(--cm-surface) 88%, transparent);
53
+ --juice-surface-soft-border: var(--cm-border);
54
+ --juice-surface-soft-shadow: 0 18px 40px -28px rgba(0, 102, 1.7, 0.18);
55
+ --juice-surface-soft-blur: 10px;
56
+ --juice-surface-strong-bg: var(--cm-surface);
57
+ --juice-surface-strong-border: var(--cm-border);
58
+ --juice-surface-strong-shadow: 0 22px 48px -22px rgba(0, 102, 1.7, 0.22);
59
+ --juice-surface-strong-blur: 0px;
60
+ --juice-surface-muted-bg: var(--cm-surface-muted);
61
+ --juice-surface-muted-border: var(--cm-border);
62
+ --juice-surface-muted-shadow: none;
63
+ --juice-surface-muted-blur: 0px;
64
+ /* Border strength — no --cm-border-strong; bold mixes heading for contrast. */
65
+ --juice-border-strength-soft-width: 1px;
66
+ --juice-border-strength-soft-color: var(--cm-border);
67
+ --juice-border-strength-bold-width: 2px;
68
+ --juice-border-strength-bold-color: color-mix(in srgb, var(--cm-heading) 22%, transparent);
69
+ /* Shadow tone — same green family (wintergreen cool / lime warm). */
70
+ --juice-shadow-tone-cool-color: rgba(0.3825, 76.1175, 40.7745, 0.2);
71
+ --juice-shadow-tone-cool-shadow: 0 18px 40px -28px rgba(0.3825, 76.1175, 40.7745, 0.2);
72
+ --juice-shadow-tone-warm-color: rgba(40.29, 86.7, 15.3, 0.2);
73
+ --juice-shadow-tone-warm-shadow: 0 18px 40px -28px rgba(40.29, 86.7, 15.3, 0.2);
74
+ /* Overlay — frost veil / muted green tint; thinner --cm-* set. */
75
+ --juice-overlay-frost-wash: color-mix(in srgb, var(--cm-surface) 42%, transparent);
76
+ --juice-overlay-frost-layer: linear-gradient(var(--juice-overlay-frost-wash), var(--juice-overlay-frost-wash));
77
+ --juice-overlay-tint-wash: color-mix(in srgb, var(--cm-surface-muted) 40%, transparent);
78
+ --juice-overlay-tint-layer: linear-gradient(var(--juice-overlay-tint-wash), var(--juice-overlay-tint-wash));
79
+ /* Modal chrome — thinner --cm-* set; heading stands in for accent.
80
+ Close is a surface control, not heading-fill CTA. */
81
+ --cm-modal-overlay: color-mix(in srgb, var(--cm-heading) 55%, transparent);
82
+ --cm-modal-panel: var(--cm-surface);
83
+ --cm-modal-panel-border: var(--cm-border);
84
+ --cm-modal-panel-shadow: 0 22px 48px -22px color-mix(in srgb, var(--cm-heading) 22%, transparent);
85
+ --cm-modal-close: var(--cm-surface);
86
+ --cm-modal-close-color: var(--cm-heading);
87
+ --cm-modal-close-hover: var(--cm-surface-muted);
88
+ --cm-modal-focus-ring: var(--cm-heading);
89
+ --juice-modal-overlay: var(--cm-modal-overlay);
90
+ --juice-modal-panel: var(--cm-modal-panel);
91
+ --juice-modal-panel-border: var(--cm-modal-panel-border);
92
+ --juice-modal-panel-shadow: var(--cm-modal-panel-shadow);
93
+ --juice-modal-close: var(--cm-modal-close);
94
+ --juice-modal-close-color: var(--cm-modal-close-color);
95
+ --juice-modal-close-hover: var(--cm-modal-close-hover);
96
+ --juice-modal-focus-ring: var(--cm-modal-focus-ring);
50
97
  background-color: var(--cm-page);
51
98
  color: var(--cm-text);
52
99
  font-family: var(--cm-body-font);
@@ -177,4 +224,36 @@
177
224
 
178
225
  [theme=citrusmint] [tab-panel] {
179
226
  color: var(--cm-text);
227
+ }
228
+
229
+ /* Modal chrome. Generic Citrusmint buttons use heading fill;
230
+ [modal-close] stays a surface control. Runtime is slice B. */
231
+ [theme=citrusmint] [modal-overlay] {
232
+ background-color: var(--juice-modal-overlay);
233
+ }
234
+
235
+ [theme=citrusmint] [modal]:not([surfaceTone]) {
236
+ background-color: var(--juice-modal-panel);
237
+ border: 1px solid var(--juice-modal-panel-border);
238
+ box-shadow: var(--juice-modal-panel-shadow);
239
+ }
240
+
241
+ [theme=citrusmint] button[modal-close],
242
+ [theme=citrusmint] [modal-close] {
243
+ background-color: var(--juice-modal-close);
244
+ color: var(--juice-modal-close-color);
245
+ box-shadow: none;
246
+ transform: none;
247
+ }
248
+
249
+ [theme=citrusmint] button[modal-close]:hover,
250
+ [theme=citrusmint] [modal-close]:hover {
251
+ background-color: var(--juice-modal-close-hover);
252
+ color: var(--juice-modal-close-color);
253
+ }
254
+
255
+ [theme=citrusmint] button[modal-close]:focus-visible,
256
+ [theme=citrusmint] [modal-close]:focus-visible {
257
+ outline: 2px solid var(--juice-modal-focus-ring);
258
+ outline-offset: 2px;
180
259
  }
@@ -2,7 +2,7 @@
2
2
  * Theme metadata for JS consumers is not part of the Beta public API.
3
3
  * Theme contracts live beside SCSS as `<themeId>.yaml` under `src/themes/<themeId>/`.
4
4
  * Draft themes live under `src/themes/_draft/` and are not imported from juice.scss.
5
- * Draft SCSS (for example tide) compiles to `dist/themes/_draft/` for local demos.
5
+ * Draft SCSS compiles to `dist/themes/_draft/` for local demos.
6
6
  * Those files are blocked from package `exports` and omitted from the published tarball.
7
7
  */
8
8
  export {};
@@ -86,6 +86,53 @@
86
86
  --juice-tabs-indicator: var(--kw-tabs-indicator);
87
87
  --juice-tabs-list-rule: var(--kw-tabs-list-rule);
88
88
  --juice-tabs-focus-ring: var(--kw-tabs-focus-ring);
89
+ /* Surface tone roles — --kw-surface-strong is the frosted nav fill;
90
+ juice strong uses the opaque --kw-surface panel. */
91
+ --juice-surface-soft-bg: var(--kw-surface-strong);
92
+ --juice-surface-soft-border: var(--kw-border);
93
+ --juice-surface-soft-shadow: 0 18px 40px -28px var(--kw-shadow);
94
+ --juice-surface-soft-blur: 10px;
95
+ --juice-surface-strong-bg: var(--kw-surface);
96
+ --juice-surface-strong-border: var(--kw-border-strong);
97
+ --juice-surface-strong-shadow: 0 22px 48px -22px var(--kw-shadow-strong);
98
+ --juice-surface-strong-blur: 0px;
99
+ --juice-surface-muted-bg: var(--kw-surface-muted);
100
+ --juice-surface-muted-border: var(--kw-border);
101
+ --juice-surface-muted-shadow: none;
102
+ --juice-surface-muted-blur: 0px;
103
+ /* Border strength — existing --kw-border tokens; 1px hairline vs 2px rule. */
104
+ --juice-border-strength-soft-width: 1px;
105
+ --juice-border-strength-soft-color: var(--kw-border);
106
+ --juice-border-strength-bold-width: 2px;
107
+ --juice-border-strength-bold-color: var(--kw-border-strong);
108
+ /* Shadow tone — cornflower tier vs marmalade warm; no new hue family. */
109
+ --juice-shadow-tone-cool-color: color-mix(in srgb, var(--kw-tier-content) 18%, transparent);
110
+ --juice-shadow-tone-cool-shadow: 0 18px 40px -28px color-mix(in srgb, var(--kw-tier-content) 18%, transparent);
111
+ --juice-shadow-tone-warm-color: color-mix(in srgb, var(--kw-warm) 18%, transparent);
112
+ --juice-shadow-tone-warm-shadow: 0 18px 40px -28px color-mix(in srgb, var(--kw-warm) 18%, transparent);
113
+ /* Overlay — frost veil / kiwi tint wash; existing tokens only. */
114
+ --juice-overlay-frost-wash: color-mix(in srgb, var(--kw-surface) 42%, 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(--kw-accent-tint) 40%, transparent);
117
+ --juice-overlay-tint-layer: linear-gradient(var(--juice-overlay-tint-wash), var(--juice-overlay-tint-wash));
118
+ /* Modal chrome — dimming scrim + elevated panel from existing tokens.
119
+ Close is a surface control, not the kiwi CTA. */
120
+ --kw-modal-overlay: color-mix(in srgb, var(--kw-surface-deep) 75%, transparent);
121
+ --kw-modal-panel: var(--kw-surface);
122
+ --kw-modal-panel-border: var(--kw-border);
123
+ --kw-modal-panel-shadow: 0 24px 56px -24px var(--kw-shadow-strong);
124
+ --kw-modal-close: var(--kw-surface);
125
+ --kw-modal-close-color: var(--kw-heading);
126
+ --kw-modal-close-hover: var(--kw-surface-muted);
127
+ --kw-modal-focus-ring: var(--kw-accent);
128
+ --juice-modal-overlay: var(--kw-modal-overlay);
129
+ --juice-modal-panel: var(--kw-modal-panel);
130
+ --juice-modal-panel-border: var(--kw-modal-panel-border);
131
+ --juice-modal-panel-shadow: var(--kw-modal-panel-shadow);
132
+ --juice-modal-close: var(--kw-modal-close);
133
+ --juice-modal-close-color: var(--kw-modal-close-color);
134
+ --juice-modal-close-hover: var(--kw-modal-close-hover);
135
+ --juice-modal-focus-ring: var(--kw-modal-focus-ring);
89
136
  background-color: var(--kw-page);
90
137
  color: var(--kw-text);
91
138
  font-family: var(--kw-body-font);
@@ -1252,28 +1299,42 @@
1252
1299
  color: var(--kw-text-soft);
1253
1300
  }
1254
1301
 
1255
- /* Modal */
1302
+ /* Modal chrome. Generic KiwiPress buttons are kiwi CTAs;
1303
+ [modal-close] stays a surface control. Motion stays theme-local. */
1256
1304
  [theme=kiwipress] [modal-overlay] {
1257
- background-color: rgba(25.5, 25.5, 25.5, 0.75);
1305
+ background-color: var(--juice-modal-overlay);
1258
1306
  animation: kw-fadeIn 0.2s ease-out;
1259
1307
  }
1260
1308
 
1261
- [theme=kiwipress] [modal] {
1262
- background-color: var(--kw-surface);
1309
+ [theme=kiwipress] [modal]:not([surfaceTone]) {
1310
+ background-color: var(--juice-modal-panel);
1311
+ border: 1px solid var(--juice-modal-panel-border);
1312
+ box-shadow: var(--juice-modal-panel-shadow);
1263
1313
  animation: kw-slideUp 0.3s ease-out;
1264
1314
  }
1265
1315
 
1316
+ [theme=kiwipress] button[modal-close],
1266
1317
  [theme=kiwipress] [modal-close] {
1267
- background-color: var(--kw-surface);
1318
+ background-image: none;
1319
+ background-color: var(--juice-modal-close);
1320
+ color: var(--juice-modal-close-color);
1268
1321
  box-shadow: 0 2px 8px var(--kw-shadow);
1322
+ transform: none;
1269
1323
  transition: background-color 0.2s, transform 0.2s;
1270
1324
  }
1271
1325
 
1326
+ [theme=kiwipress] button[modal-close]:hover,
1272
1327
  [theme=kiwipress] [modal-close]:hover {
1273
- background-color: var(--kw-surface-muted);
1328
+ background-color: var(--juice-modal-close-hover);
1274
1329
  transform: rotate(90deg);
1275
1330
  }
1276
1331
 
1332
+ [theme=kiwipress] button[modal-close]:focus-visible,
1333
+ [theme=kiwipress] [modal-close]:focus-visible {
1334
+ outline: 2px solid var(--juice-modal-focus-ring);
1335
+ outline-offset: 2px;
1336
+ }
1337
+
1277
1338
  /* Accordion wrappers are structural, not default section surfaces.
1278
1339
  Generic KiwiPress buttons are kiwi CTAs; triggers stay surface controls. */
1279
1340
  [theme=kiwipress] :where([accordion]) {
@@ -0,0 +1,482 @@
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
+ min-height: 100vh;
137
+ background-color: var(--tide-page);
138
+ background-image: var(--tide-page-background);
139
+ color: var(--tide-text);
140
+ font-family: var(--tide-body-font);
141
+ }
142
+
143
+ [theme=tide] :where(main) {
144
+ background: transparent;
145
+ color: inherit;
146
+ min-height: 100vh;
147
+ width: 100%;
148
+ max-width: none;
149
+ box-sizing: border-box;
150
+ }
151
+
152
+ [theme=tide] :where(div) {
153
+ background-color: transparent;
154
+ color: inherit;
155
+ }
156
+
157
+ [theme=tide] :where(section, article, aside, nav, header, footer, form) {
158
+ background-color: var(--tide-surface);
159
+ color: var(--tide-text);
160
+ border: 1px solid var(--tide-border);
161
+ box-shadow: var(--tide-line-glow), 0 24px 60px -36px var(--tide-shadow);
162
+ -webkit-backdrop-filter: blur(16px);
163
+ backdrop-filter: blur(16px);
164
+ }
165
+
166
+ /* Page intro is type, not a competing glass surface. */
167
+ [theme=tide] :where(main > header) {
168
+ width: min(var(--tide-measure), 100%);
169
+ max-width: var(--tide-measure);
170
+ background: transparent;
171
+ background-image: none;
172
+ color: var(--tide-text);
173
+ border: none;
174
+ box-shadow: none;
175
+ -webkit-backdrop-filter: none;
176
+ backdrop-filter: none;
177
+ }
178
+
179
+ [theme=tide] :where(nav[type=bar], nav[type=sidebar]) {
180
+ background-color: var(--tide-surface-strong);
181
+ }
182
+
183
+ [theme=tide] :where(nav[type=bar]) {
184
+ border-bottom: 1px solid var(--tide-border);
185
+ }
186
+
187
+ [theme=tide] :where(h1, h2, h3, h4, h5, h6) {
188
+ color: var(--tide-heading);
189
+ font-family: var(--tide-heading-font);
190
+ }
191
+
192
+ [theme=tide] :where(p, span, li, label, dt, dd, blockquote) {
193
+ color: var(--tide-text);
194
+ font-family: var(--tide-body-font);
195
+ }
196
+
197
+ [theme=tide] :where(small, figcaption) {
198
+ color: var(--tide-text-muted);
199
+ font-family: var(--tide-body-font);
200
+ }
201
+
202
+ [theme=tide] :where(strong, b) {
203
+ color: var(--tide-heading);
204
+ }
205
+
206
+ [theme=tide] :where(a) {
207
+ color: var(--tide-accent-strong);
208
+ }
209
+
210
+ [theme=tide] :where(a:hover, a:focus-visible) {
211
+ color: var(--tide-accent);
212
+ }
213
+
214
+ [theme=tide] :where(button, input, textarea, select) {
215
+ background-color: var(--tide-surface-strong);
216
+ color: var(--tide-text);
217
+ border: 1px solid var(--tide-border-strong);
218
+ font-family: var(--tide-body-font);
219
+ box-shadow: 0 14px 32px -26px var(--tide-shadow);
220
+ }
221
+
222
+ [theme=tide] :where(button) {
223
+ background-image: var(--tide-button-background);
224
+ color: var(--tide-heading);
225
+ border-color: transparent;
226
+ }
227
+
228
+ [theme=tide] :where(button:hover, button:focus-visible) {
229
+ box-shadow: var(--tide-line-glow), 0 18px 38px -24px var(--tide-shadow);
230
+ }
231
+
232
+ [theme=tide] :where(input::placeholder, textarea::placeholder) {
233
+ color: var(--tide-text-muted);
234
+ }
235
+
236
+ [theme=tide] :where(input:focus-visible, textarea:focus-visible, select:focus-visible) {
237
+ outline: 2px solid rgba(60.894, 204.714, 200.995488, 0.42);
238
+ outline-offset: 2px;
239
+ }
240
+
241
+ [theme=tide] :where(code, pre) {
242
+ background-color: var(--tide-surface-muted);
243
+ color: var(--tide-heading);
244
+ border: 1px solid var(--tide-border);
245
+ }
246
+
247
+ [theme=tide] :where(hr) {
248
+ border: none;
249
+ border-top: 1px solid var(--tide-border);
250
+ }
251
+
252
+ [theme=tide] :where(ul, ol) {
253
+ color: var(--tide-text);
254
+ }
255
+
256
+ [theme=tide][tide-card],
257
+ [theme=tide] [tide-card] {
258
+ width: min(var(--tide-measure), 100%);
259
+ max-width: var(--tide-measure);
260
+ box-sizing: border-box;
261
+ background: var(--tide-card-background);
262
+ color: var(--tide-text);
263
+ border: 1px solid var(--tide-border);
264
+ box-shadow: var(--tide-line-glow), 0 28px 70px -42px var(--tide-shadow);
265
+ -webkit-backdrop-filter: blur(18px);
266
+ backdrop-filter: blur(18px);
267
+ border-radius: 1.15rem;
268
+ }
269
+
270
+ [theme=tide][tide-card] :where(h1, h2, h3, h4, h5, h6),
271
+ [theme=tide] [tide-card] :where(h1, h2, h3, h4, h5, h6) {
272
+ color: var(--tide-heading);
273
+ }
274
+
275
+ [theme=tide][tide-card] :where(p, span, li, small),
276
+ [theme=tide] [tide-card] :where(p, span, li, small) {
277
+ color: var(--tide-text-muted);
278
+ }
279
+
280
+ [theme=tide][tide-card] :where(strong, b),
281
+ [theme=tide] [tide-card] :where(strong, b) {
282
+ color: var(--tide-heading);
283
+ }
284
+
285
+ [theme=tide][tide-panel],
286
+ [theme=tide] [tide-panel] {
287
+ background: var(--tide-panel-background);
288
+ color: var(--tide-text);
289
+ border: 1px solid var(--tide-border);
290
+ box-shadow: var(--tide-line-glow), 0 22px 56px -40px var(--tide-shadow);
291
+ }
292
+
293
+ [theme=tide][tide-panel] :where(h1, h2, h3, h4, h5, h6),
294
+ [theme=tide] [tide-panel] :where(h1, h2, h3, h4, h5, h6) {
295
+ color: var(--tide-heading);
296
+ }
297
+
298
+ [theme=tide][tide-panel] :where(p, span, li, small),
299
+ [theme=tide] [tide-panel] :where(p, span, li, small) {
300
+ color: var(--tide-text);
301
+ }
302
+
303
+ [theme=tide][tide-panel] :where(strong, b),
304
+ [theme=tide] [tide-panel] :where(strong, b) {
305
+ color: var(--tide-heading);
306
+ }
307
+
308
+ [theme=tide] [hero-eyebrow] {
309
+ color: var(--tide-accent);
310
+ text-transform: uppercase;
311
+ letter-spacing: 0.18em;
312
+ font-size: 0.72rem;
313
+ font-weight: 600;
314
+ justify-content: center;
315
+ }
316
+
317
+ /* Accordion wrappers are structural, not default section surfaces.
318
+ Group FAQ stacks in [tide-card] / [tide-panel] instead.
319
+ Fill / chevron / focus / panel-rule come from --juice-accordion-* roles. */
320
+ [theme=tide] :where([accordion]) {
321
+ background: transparent;
322
+ background-image: none;
323
+ border: none;
324
+ box-shadow: none;
325
+ -webkit-backdrop-filter: none;
326
+ backdrop-filter: none;
327
+ gap: 0.65rem;
328
+ }
329
+
330
+ /* Open pair reads as one tile: soft accent wash, same 1px line as idle pills.
331
+ Left accent stays on the header via --juice-accordion-trigger-accent. */
332
+ [theme=tide] [accordion]:has(> [accordion-item][aria-expanded=true]) {
333
+ background-color: var(--juice-accordion-trigger-open);
334
+ background-image: none;
335
+ border: 1px solid var(--juice-accordion-item-border-open);
336
+ border-radius: 0.95rem;
337
+ box-shadow: var(--juice-accordion-open-glow);
338
+ padding: 0.1rem 0.12rem 0.55rem;
339
+ gap: 0.45rem;
340
+ }
341
+
342
+ /* Generic Tide buttons use --tide-button-background (CTA gradient).
343
+ Accordion triggers are surface controls, not primary actions. */
344
+ [theme=tide] button[accordion-item] {
345
+ background-image: none;
346
+ background-color: var(--juice-accordion-trigger);
347
+ color: var(--tide-heading);
348
+ border: 1px solid var(--juice-accordion-item-border);
349
+ box-shadow: var(--tide-line-glow);
350
+ padding-left: 1.2rem;
351
+ }
352
+
353
+ [theme=tide] button[accordion-item]::after {
354
+ border-color: var(--juice-accordion-chevron);
355
+ }
356
+
357
+ [theme=tide] button[accordion-item]:hover {
358
+ border-color: var(--tide-border-strong);
359
+ background-color: var(--juice-accordion-trigger-hover);
360
+ color: var(--tide-heading);
361
+ background-image: none;
362
+ }
363
+
364
+ [theme=tide] button[accordion-item]:focus-visible {
365
+ outline: 2px solid var(--juice-accordion-focus-ring);
366
+ outline-offset: 2px;
367
+ }
368
+
369
+ [theme=tide] button[accordion-item][aria-expanded=true] {
370
+ background-color: transparent;
371
+ background-image: none;
372
+ color: var(--tide-heading);
373
+ border-color: transparent;
374
+ box-shadow: none;
375
+ padding-left: 1.35rem;
376
+ }
377
+
378
+ [theme=tide] [accordion] [role=region] {
379
+ color: var(--tide-text-muted);
380
+ background-color: var(--juice-accordion-panel);
381
+ border: 1px solid var(--tide-border);
382
+ border-radius: 0.7rem;
383
+ box-shadow: inset 0 1px 0 hsla(0, 0%, 10%, 0.4);
384
+ margin: 0 0.45rem 0.08rem;
385
+ padding: 0.85rem 1.05rem;
386
+ }
387
+
388
+ /* Tabs wrappers are structural. Generic Tide buttons use --tide-button-background;
389
+ tab triggers stay surface/text controls. */
390
+ [theme=tide] :where([tabs]) {
391
+ background: transparent;
392
+ background-image: none;
393
+ border: none;
394
+ box-shadow: none;
395
+ -webkit-backdrop-filter: none;
396
+ backdrop-filter: none;
397
+ }
398
+
399
+ [theme=tide] [tabs]:not(:has([tabs-list], [tab-panel])),
400
+ [theme=tide] [tabs-list] {
401
+ border-bottom-color: var(--juice-tabs-list-rule);
402
+ }
403
+
404
+ [theme=tide] button[tab],
405
+ [theme=tide] [tabs] > button,
406
+ [theme=tide] [tabs-list] > button {
407
+ background-image: none;
408
+ background-color: var(--juice-tabs-trigger);
409
+ color: var(--juice-tabs-text);
410
+ border: none;
411
+ border-bottom: 2px solid transparent;
412
+ border-radius: 0;
413
+ box-shadow: none;
414
+ }
415
+
416
+ [theme=tide] button[tab]:hover,
417
+ [theme=tide] [tabs] > button:hover,
418
+ [theme=tide] [tabs-list] > button:hover {
419
+ background-image: none;
420
+ background-color: var(--juice-tabs-trigger-hover);
421
+ color: var(--juice-tabs-text-hover);
422
+ box-shadow: none;
423
+ }
424
+
425
+ [theme=tide] button[tab]:focus-visible,
426
+ [theme=tide] [tabs] > button:focus-visible,
427
+ [theme=tide] [tabs-list] > button:focus-visible {
428
+ outline: 2px solid var(--juice-tabs-focus-ring);
429
+ outline-offset: 2px;
430
+ }
431
+
432
+ [theme=tide] button[tab][active],
433
+ [theme=tide] button[tab][aria-selected=true],
434
+ [theme=tide] [tabs] > button[active],
435
+ [theme=tide] [tabs] > button[aria-selected=true],
436
+ [theme=tide] [tabs-list] > button[active],
437
+ [theme=tide] [tabs-list] > button[aria-selected=true] {
438
+ background-image: none;
439
+ background-color: var(--juice-tabs-trigger-active);
440
+ color: var(--juice-tabs-text-active);
441
+ border-bottom-color: var(--juice-tabs-indicator);
442
+ }
443
+
444
+ [theme=tide] [tab-panel] {
445
+ color: var(--tide-text-muted);
446
+ background-color: var(--juice-tabs-panel);
447
+ }
448
+
449
+ /* Modal chrome. Generic Tide buttons use --tide-button-background;
450
+ [modal-close] stays a surface control. Panel stays dark. */
451
+ [theme=tide] [modal-overlay] {
452
+ background-color: var(--juice-modal-overlay);
453
+ }
454
+
455
+ [theme=tide] [modal]:not([surfaceTone]) {
456
+ background-color: var(--juice-modal-panel);
457
+ border: 1px solid var(--juice-modal-panel-border);
458
+ box-shadow: var(--juice-modal-panel-shadow);
459
+ }
460
+
461
+ [theme=tide] button[modal-close],
462
+ [theme=tide] [modal-close] {
463
+ background-image: none;
464
+ background-color: var(--juice-modal-close);
465
+ color: var(--juice-modal-close-color);
466
+ box-shadow: none;
467
+ transform: none;
468
+ }
469
+
470
+ [theme=tide] button[modal-close]:hover,
471
+ [theme=tide] [modal-close]:hover {
472
+ background-image: none;
473
+ background-color: var(--juice-modal-close-hover);
474
+ color: var(--juice-modal-close-color);
475
+ transform: none;
476
+ }
477
+
478
+ [theme=tide] button[modal-close]:focus-visible,
479
+ [theme=tide] [modal-close]:focus-visible {
480
+ outline: 2px solid var(--juice-modal-focus-ring);
481
+ outline-offset: 2px;
482
+ }