@jjlmoya/utils-health 1.11.0 → 1.12.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jjlmoya/utils-health",
3
- "version": "1.11.0",
3
+ "version": "1.12.0",
4
4
  "type": "module",
5
5
  "main": "./src/index.ts",
6
6
  "types": "./src/index.ts",
@@ -25,7 +25,7 @@
25
25
  }
26
26
 
27
27
 
28
- :global(.theme-dark) .bt {
28
+ .theme-dark .bt {
29
29
  --bt-bg: #030416;
30
30
  --bt-secondary: #00f2ff;
31
31
  --bt-accent: #f0f;
@@ -80,7 +80,7 @@
80
80
  pointer-events: none;
81
81
  }
82
82
 
83
- :global(.theme-dark) .bt__card::before {
83
+ .theme-dark .bt__card::before {
84
84
  background: radial-gradient(circle, rgba(112, 0, 255, 0.15) 0%, transparent 70%);
85
85
  }
86
86
 
@@ -94,7 +94,7 @@
94
94
  background: radial-gradient(circle, rgba(0, 170, 221, 0.1) 0%, transparent 70%);
95
95
  }
96
96
 
97
- :global(.theme-dark) .bt__card::after {
97
+ .theme-dark .bt__card::after {
98
98
  background: radial-gradient(circle, rgba(0, 242, 255, 0.1) 0%, transparent 70%);
99
99
  pointer-events: none;
100
100
  }
@@ -274,10 +274,10 @@
274
274
  transition: color 0.3s ease;
275
275
  }
276
276
 
277
- .buc :global(.buc__status--low) { color: var(--buc-low); }
278
- .buc :global(.buc__status--normal) { color: var(--buc-normal); }
279
- .buc :global(.buc__status--border) { color: var(--buc-border-c); }
280
- .buc :global(.buc__status--high) { color: var(--buc-high); }
277
+ .buc .buc__status--low { color: var(--buc-low); }
278
+ .buc .buc__status--normal { color: var(--buc-normal); }
279
+ .buc .buc__status--border { color: var(--buc-border-c); }
280
+ .buc .buc__status--high { color: var(--buc-high); }
281
281
 
282
282
 
283
283
  .buc__history-header {
@@ -358,7 +358,7 @@
358
358
  }
359
359
 
360
360
 
361
- :global(.buc__row-status) {
361
+ .buc__row-status {
362
362
  font-size: 0.8rem;
363
363
  font-weight: 700;
364
364
  padding: 0.25rem 0.75rem;
@@ -366,12 +366,12 @@
366
366
  display: inline-block;
367
367
  }
368
368
 
369
- :global(.buc__row-status--low) { background: rgba(100,116,139,0.12); color: var(--buc-low); }
370
- :global(.buc__row-status--normal) { background: rgba(16,185,129,0.12); color: var(--buc-normal); }
371
- :global(.buc__row-status--border) { background: rgba(245,158,11,0.12); color: var(--buc-border-c); }
372
- :global(.buc__row-status--high) { background: rgba(239,68,68,0.12); color: var(--buc-high); }
369
+ .buc__row-status--low { background: rgba(100,116,139,0.12); color: var(--buc-low); }
370
+ .buc__row-status--normal { background: rgba(16,185,129,0.12); color: var(--buc-normal); }
371
+ .buc__row-status--border { background: rgba(245,158,11,0.12); color: var(--buc-border-c); }
372
+ .buc__row-status--high { background: rgba(239,68,68,0.12); color: var(--buc-high); }
373
373
 
374
- :global(.buc__row-delete) {
374
+ .buc__row-delete {
375
375
  background: rgba(239,68,68,0.08);
376
376
  border: none;
377
377
  width: 2rem;
@@ -386,9 +386,9 @@
386
386
  padding: 0;
387
387
  }
388
388
 
389
- :global(.buc__row-delete) svg { width: 1.1rem; height: 1.1rem; display: block; }
389
+ .buc__row-delete svg { width: 1.1rem; height: 1.1rem; display: block; }
390
390
 
391
- :global(.buc__row-delete):hover {
391
+ .buc__row-delete:hover {
392
392
  background: var(--buc-high);
393
393
  color: #fff;
394
394
  }
@@ -421,7 +421,7 @@
421
421
  }
422
422
 
423
423
 
424
- :global(.theme-dark) .buc {
424
+ .theme-dark .buc {
425
425
  --buc-bg: #0f172a;
426
426
  --buc-border: #1e293b;
427
427
  --buc-divider: rgba(30,41,59,0.9);
@@ -431,25 +431,25 @@
431
431
  --buc-header-bg: linear-gradient(135deg, rgba(59,130,246,0.12) 0%, rgba(15,23,42,0.5) 100%);
432
432
  }
433
433
 
434
- :global(.theme-dark) .buc__analyte {
434
+ .theme-dark .buc__analyte {
435
435
  background: #1e293b;
436
436
  border-color: #334155;
437
437
  }
438
438
 
439
- :global(.theme-dark) .buc__unit-tag {
439
+ .theme-dark .buc__unit-tag {
440
440
  background: #0f172a;
441
441
  border-color: #334155;
442
442
  }
443
443
 
444
- :global(.theme-dark) .buc__input:focus {
444
+ .theme-dark .buc__input:focus {
445
445
  background: #1e293b;
446
446
  }
447
447
 
448
- :global(.theme-dark) .buc__table thead th {
448
+ .theme-dark .buc__table thead th {
449
449
  background: rgba(255,255,255,0.02);
450
450
  }
451
451
 
452
- :global(.theme-dark) .buc__footer {
452
+ .theme-dark .buc__footer {
453
453
  background: rgba(255,255,255,0.02);
454
454
  }
455
455
 
@@ -20,7 +20,7 @@
20
20
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
21
21
  }
22
22
 
23
- :global(.theme-dark) .bmi {
23
+ .theme-dark .bmi {
24
24
  --bmi-bg: rgba(15, 23, 42, 0.85);
25
25
  --bmi-bg-left: rgba(30, 41, 59, 0.5);
26
26
  --bmi-border: rgba(51, 65, 85, 0.8);
@@ -32,7 +32,7 @@
32
32
  padding: 3rem 1rem;
33
33
  }
34
34
 
35
- :global(.theme-dark) .bv {
35
+ .theme-dark .bv {
36
36
  --bv-bg: #09090b;
37
37
  --bv-border: #27272a;
38
38
  --bv-phase: #71717a;
@@ -15,7 +15,7 @@
15
15
  padding: 2rem 1rem;
16
16
  }
17
17
 
18
- :global(.theme-dark) .ct {
18
+ .theme-dark .ct {
19
19
  --ct-bg: #09090b;
20
20
  --ct-bg-panel: rgba(24, 24, 27, 0.5);
21
21
  --ct-bg-item: #18181b;
@@ -128,7 +128,7 @@
128
128
  height: 1.25rem;
129
129
  }
130
130
 
131
- :global(.theme-dark) .ct__section-icon {
131
+ .theme-dark .ct__section-icon {
132
132
  color: #f59e0b;
133
133
  }
134
134
 
@@ -331,7 +331,7 @@
331
331
  }
332
332
 
333
333
 
334
- :global(.ct__journal-empty) {
334
+ .ct__journal-empty {
335
335
  text-align: center;
336
336
  padding: 1.5rem;
337
337
  opacity: 0.3;
@@ -339,7 +339,7 @@
339
339
  border-radius: 0.75rem;
340
340
  }
341
341
 
342
- :global(.ct__journal-empty p) {
342
+ .ct__journal-empty p {
343
343
  font-size: 0.5625rem;
344
344
  font-weight: 700;
345
345
  text-transform: uppercase;
@@ -348,7 +348,7 @@
348
348
  }
349
349
 
350
350
 
351
- :global(.ct__item) {
351
+ .ct__item {
352
352
  display: flex;
353
353
  align-items: center;
354
354
  gap: 0.625rem;
@@ -361,12 +361,12 @@
361
361
  transform 0.3s;
362
362
  }
363
363
 
364
- :global(.ct__item--removing) {
364
+ .ct__item--removing {
365
365
  opacity: 0;
366
366
  transform: translateX(-1rem);
367
367
  }
368
368
 
369
- :global(.ct__item-icon) {
369
+ .ct__item-icon {
370
370
  padding: 0.375rem;
371
371
  background-color: var(--ct-bg-icon);
372
372
  border-radius: 0.25rem;
@@ -379,22 +379,22 @@
379
379
  height: 1.5rem;
380
380
  }
381
381
 
382
- :global(.ct__item-icon svg) {
382
+ .ct__item-icon svg {
383
383
  width: 0.75rem;
384
384
  height: 0.75rem;
385
385
  }
386
386
 
387
- :global(.ct__item:hover .ct__item-icon) {
387
+ .ct__item:hover .ct__item-icon {
388
388
  color: var(--ct-primary);
389
389
  }
390
390
 
391
- :global(.ct__item-info) {
391
+ .ct__item-info {
392
392
  flex: 1;
393
393
  min-width: 0;
394
394
  text-align: left;
395
395
  }
396
396
 
397
- :global(.ct__item-name) {
397
+ .ct__item-name {
398
398
  font-size: 0.625rem;
399
399
  font-weight: 700;
400
400
  color: var(--ct-text);
@@ -405,14 +405,14 @@
405
405
  margin-bottom: 0.125rem;
406
406
  }
407
407
 
408
- :global(.ct__item-mg) {
408
+ .ct__item-mg {
409
409
  font-size: 0.5rem;
410
410
  color: var(--ct-primary);
411
411
  font-weight: 700;
412
412
  line-height: 1;
413
413
  }
414
414
 
415
- :global(.ct__remove-btn) {
415
+ .ct__remove-btn {
416
416
  padding: 0.375rem;
417
417
  color: var(--ct-border);
418
418
  border: none;
@@ -428,12 +428,12 @@
428
428
  justify-content: center;
429
429
  }
430
430
 
431
- :global(.ct__remove-btn:hover) {
431
+ .ct__remove-btn:hover {
432
432
  color: #f43f5e;
433
433
  background-color: rgba(244, 63, 94, 0.1);
434
434
  }
435
435
 
436
- :global(.ct__remove-icon svg) {
436
+ .ct__remove-icon svg {
437
437
  width: 0.75rem;
438
438
  height: 0.75rem;
439
439
  }
@@ -451,7 +451,7 @@
451
451
  flex-shrink: 0;
452
452
  }
453
453
 
454
- :global(.theme-dark) .ct__stats {
454
+ .theme-dark .ct__stats {
455
455
  background-color: rgba(24, 24, 27, 0.1);
456
456
  border-bottom-color: #18181b;
457
457
  }
@@ -584,7 +584,7 @@
584
584
  stroke: #f59e0b;
585
585
  }
586
586
 
587
- :global(.theme-dark) .ct__chart-line {
587
+ .theme-dark .ct__chart-line {
588
588
  stroke: #fbbf24;
589
589
  }
590
590
 
@@ -605,7 +605,7 @@
605
605
  );
606
606
  }
607
607
 
608
- :global(.theme-dark) .ct__sleep {
608
+ .theme-dark .ct__sleep {
609
609
  background-color: #18181b;
610
610
  }
611
611
 
@@ -751,7 +751,7 @@
751
751
  }
752
752
 
753
753
 
754
- :global(.ct__flyer) {
754
+ .ct__flyer {
755
755
  position: fixed;
756
756
  z-index: 100;
757
757
  pointer-events: none;
@@ -21,7 +21,7 @@
21
21
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
22
22
  }
23
23
 
24
- :global(.theme-dark) .ds {
24
+ .theme-dark .ds {
25
25
  --ds-bg: rgba(15, 23, 42, 0.9);
26
26
  --ds-border: rgba(51, 65, 85, 0.8);
27
27
  --ds-text: #f8fafc;
@@ -27,7 +27,7 @@
27
27
  padding: 2rem 1.5rem;
28
28
  }
29
29
 
30
- :global(.theme-dark) .ds {
30
+ .theme-dark .ds {
31
31
  --ds-bg: #09090b;
32
32
  --ds-panel-bg: rgba(24, 24, 27, 0.6);
33
33
  --ds-border: rgba(255, 255, 255, 0.06);
@@ -76,11 +76,11 @@
76
76
  background: rgba(6, 182, 212, 0.12);
77
77
  }
78
78
 
79
- :global(.theme-dark) .ds__glow--tl {
79
+ .theme-dark .ds__glow--tl {
80
80
  background: rgba(16, 185, 129, 0.05);
81
81
  }
82
82
 
83
- :global(.theme-dark) .ds__glow--br {
83
+ .theme-dark .ds__glow--br {
84
84
  background: rgba(6, 182, 212, 0.05);
85
85
  }
86
86
 
@@ -154,7 +154,7 @@
154
154
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
155
155
  }
156
156
 
157
- :global(.theme-dark) .ds__day-btn--active {
157
+ .theme-dark .ds__day-btn--active {
158
158
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
159
159
  }
160
160
 
@@ -116,14 +116,14 @@
116
116
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.12);
117
117
  }
118
118
 
119
- .ess :global(.ess__option--selected) {
119
+ .ess .ess__option--selected {
120
120
  background: var(--ess-primary);
121
121
  border-color: var(--ess-primary);
122
122
  color: #fff;
123
123
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.35);
124
124
  }
125
125
 
126
- .ess :global(.ess__option--selected) .ess__option-label {
126
+ .ess .ess__option--selected .ess__option-label {
127
127
  color: #fff;
128
128
  }
129
129
 
@@ -234,10 +234,10 @@
234
234
  margin-bottom: 1.5rem;
235
235
  }
236
236
 
237
- :global(.ess__badge--normal) { background: rgba(16, 185, 129, 0.12); color: #10b981; border: 2px solid #10b981; }
238
- :global(.ess__badge--mild) { background: rgba(245, 158, 11, 0.12); color: #f59e0b; border: 2px solid #f59e0b; }
239
- :global(.ess__badge--mod) { background: rgba(249, 115, 22, 0.12); color: #f97316; border: 2px solid #f97316; }
240
- :global(.ess__badge--severe) { background: rgba(239, 68, 68, 0.12); color: #ef4444; border: 2px solid #ef4444; }
237
+ .ess__badge--normal { background: rgba(16, 185, 129, 0.12); color: #10b981; border: 2px solid #10b981; }
238
+ .ess__badge--mild { background: rgba(245, 158, 11, 0.12); color: #f59e0b; border: 2px solid #f59e0b; }
239
+ .ess__badge--mod { background: rgba(249, 115, 22, 0.12); color: #f97316; border: 2px solid #f97316; }
240
+ .ess__badge--severe { background: rgba(239, 68, 68, 0.12); color: #ef4444; border: 2px solid #ef4444; }
241
241
 
242
242
  .ess__result-desc {
243
243
  font-size: 1.2rem;
@@ -267,7 +267,7 @@
267
267
  }
268
268
 
269
269
 
270
- :global(.theme-dark) .ess {
270
+ .theme-dark .ess {
271
271
  --ess-bg: #0f172a;
272
272
  --ess-surface: rgba(15, 23, 42, 0.85);
273
273
  --ess-border: rgba(59, 130, 246, 0.3);
@@ -281,24 +281,24 @@
281
281
  --ess-progress-track: rgba(255, 255, 255, 0.05);
282
282
  }
283
283
 
284
- :global(.theme-dark) .ess__quiz,
285
- :global(.theme-dark) .ess__results {
284
+ .theme-dark .ess__quiz,
285
+ .theme-dark .ess__results {
286
286
  backdrop-filter: blur(16px);
287
287
  -webkit-backdrop-filter: blur(16px);
288
288
  }
289
289
 
290
- :global(.theme-dark) .ess__score-circle {
290
+ .theme-dark .ess__score-circle {
291
291
  background: rgba(15, 23, 42, 0.5);
292
292
  }
293
293
 
294
- :global(.theme-dark) .ess__score-num {
294
+ .theme-dark .ess__score-num {
295
295
  background: linear-gradient(135deg, #fff 0%, var(--ess-primary) 100%);
296
296
  -webkit-background-clip: text;
297
297
  background-clip: text;
298
298
  -webkit-text-fill-color: transparent;
299
299
  }
300
300
 
301
- :global(.theme-dark) .ess__option:hover {
301
+ .theme-dark .ess__option:hover {
302
302
  background: rgba(59, 130, 246, 0.1);
303
303
  }
304
304
 
@@ -21,7 +21,7 @@
21
21
  margin: 0 auto;
22
22
  }
23
23
 
24
- :global(.theme-dark) .hyd {
24
+ .theme-dark .hyd {
25
25
  --hyd-bg: #0f172a;
26
26
  --hyd-border: rgba(14, 165, 233, 0.2);
27
27
  --hyd-divider: rgba(14, 165, 233, 0.12);
@@ -126,7 +126,7 @@
126
126
  flex-shrink: 0;
127
127
  }
128
128
 
129
- :global(.theme-dark) .hyd__weather-btn {
129
+ .theme-dark .hyd__weather-btn {
130
130
  background: rgba(14, 165, 233, 0.15);
131
131
  }
132
132
 
@@ -151,8 +151,8 @@
151
151
  display: none;
152
152
  }
153
153
 
154
- :global(.hyd__weather-btn[data-loading="true"]) .hyd__spinner { display: block; }
155
- :global(.hyd__weather-btn[data-loading="true"]) .hyd__weather-icon { display: none; }
154
+ .hyd__weather-btn[data-loading="true"] .hyd__spinner { display: block; }
155
+ .hyd__weather-btn[data-loading="true"] .hyd__weather-icon { display: none; }
156
156
 
157
157
  @keyframes hyd-spin {
158
158
  to { transform: rotate(360deg); }
@@ -255,7 +255,7 @@
255
255
  box-shadow: 0 8px 24px rgba(14, 165, 233, 0.1), inset 0 0 12px rgba(0,0,0,0.02);
256
256
  }
257
257
 
258
- :global(.theme-dark) .hyd__bottle {
258
+ .theme-dark .hyd__bottle {
259
259
  background: #1e293b;
260
260
  border-color: #334155;
261
261
  }
@@ -300,7 +300,7 @@
300
300
  }
301
301
 
302
302
 
303
- :global(.theme-dark) .pr {
303
+ .theme-dark .pr {
304
304
  --pr-bg: #0c1120;
305
305
  --pr-card-bg: #111827;
306
306
  --pr-primary: #38bdf8;
@@ -314,7 +314,7 @@
314
314
  --pr-glow-primary: rgba(56, 189, 248, 0.25);
315
315
  }
316
316
 
317
- :global(.theme-dark) .pr::before {
317
+ .theme-dark .pr::before {
318
318
  color: #1e293b;
319
319
  opacity: 0.4;
320
320
  }
@@ -254,13 +254,13 @@
254
254
  transition: background 0.1s ease;
255
255
  }
256
256
 
257
- .pvt :global(.pvt__target--wrong) {
257
+ .pvt .pvt__target--wrong {
258
258
  background: var(--pvt-danger);
259
259
  color: #fff;
260
260
  animation: pvt-shake 0.4s ease;
261
261
  }
262
262
 
263
- .pvt :global(.pvt__target--correct) {
263
+ .pvt .pvt__target--correct {
264
264
  background: var(--pvt-success);
265
265
  color: #fff;
266
266
  animation: pvt-pop 0.3s ease;
@@ -312,7 +312,7 @@
312
312
  }
313
313
 
314
314
 
315
- :global(.theme-dark) .pvt {
315
+ .theme-dark .pvt {
316
316
  --pvt-bg: #0f172a;
317
317
  --pvt-surface: #1e293b;
318
318
  --pvt-primary: #60a5fa;
@@ -23,7 +23,7 @@
23
23
  margin: 0 auto;
24
24
  }
25
25
 
26
- :global(.theme-dark) .rdc {
26
+ .theme-dark .rdc {
27
27
  --rdc-bg: #0f172a;
28
28
  --rdc-border: rgba(99, 102, 241, 0.2);
29
29
  --rdc-divider: rgba(99, 102, 241, 0.12);
@@ -183,7 +183,7 @@
183
183
  outline: none;
184
184
  }
185
185
 
186
- :global(.theme-dark) .rdc__slider {
186
+ .theme-dark .rdc__slider {
187
187
  background: linear-gradient(to right, var(--rdc-primary) 0%, var(--rdc-primary) 22%, #1e293b 22%);
188
188
  }
189
189
 
@@ -267,17 +267,17 @@
267
267
  transition: background 0.3s, border-color 0.3s;
268
268
  }
269
269
 
270
- :global(.rdc__status[data-state="warning"]) .rdc__status-icon {
270
+ .rdc__status[data-state="warning"] .rdc__status-icon {
271
271
  background: #fee2e2;
272
272
  color: #991b1b;
273
273
  }
274
274
 
275
- :global(.rdc__status[data-state="ideal"]) .rdc__status-icon {
275
+ .rdc__status[data-state="ideal"] .rdc__status-icon {
276
276
  background: #dcfce7;
277
277
  color: #166534;
278
278
  }
279
279
 
280
- :global(.rdc__status[data-state="safe"]) .rdc__status-icon {
280
+ .rdc__status[data-state="safe"] .rdc__status-icon {
281
281
  background: #dbeafe;
282
282
  color: #1e40af;
283
283
  }
@@ -346,7 +346,7 @@
346
346
  .sdt__legend-item--other .sdt__legend-dot { background: rgba(0,0,0,0.1); }
347
347
 
348
348
 
349
- :global(.theme-dark) .sdt {
349
+ .theme-dark .sdt {
350
350
  --sdt-bg: #0a2030;
351
351
  --sdt-border: rgba(6, 182, 212, 0.28);
352
352
  --sdt-divider: rgba(6, 182, 212, 0.1);
@@ -358,14 +358,14 @@
358
358
  --sdt-input-border: rgba(6, 182, 212, 0.28);
359
359
  }
360
360
 
361
- :global(.theme-dark) .sdt__timeline-bar,
362
- :global(.theme-dark) .sdt__tl-other {
361
+ .theme-dark .sdt__timeline-bar,
362
+ .theme-dark .sdt__tl-other {
363
363
  background: rgba(255,255,255,0.04);
364
364
  }
365
365
 
366
- :global(.theme-dark) .sdt__legend-item--other .sdt__legend-dot { background: rgba(255,255,255,0.08); }
367
- :global(.theme-dark) .sdt__number { color: #67e8f9; }
368
- :global(.theme-dark) .sdt__stat + .sdt__stat { border-color: rgba(6,182,212,0.12); }
366
+ .theme-dark .sdt__legend-item--other .sdt__legend-dot { background: rgba(255,255,255,0.08); }
367
+ .theme-dark .sdt__number { color: #67e8f9; }
368
+ .theme-dark .sdt__stat + .sdt__stat { border-color: rgba(6,182,212,0.12); }
369
369
 
370
370
 
371
371
  @media (max-width: 768px) {
@@ -40,7 +40,7 @@
40
40
  opacity: 0.6;
41
41
  }
42
42
 
43
- :global(.theme-dark) .tr {
43
+ .theme-dark .tr {
44
44
  --tr-accent: #2dd4bf;
45
45
  --tr-bg-canvas: #020617;
46
46
  --tr-bg-controls: #0f172a;
@@ -185,7 +185,7 @@
185
185
  gap: 0.625rem;
186
186
  }
187
187
 
188
- :global(.ube__drink) {
188
+ .ube__drink {
189
189
  background: var(--ube-preset-bg);
190
190
  border: 1px solid var(--ube-preset-border);
191
191
  border-radius: 1rem;
@@ -196,41 +196,41 @@
196
196
  animation: ube-slide-in 0.28s cubic-bezier(0.23, 1, 0.32, 1);
197
197
  }
198
198
 
199
- :global(.ube__drink-icon) {
199
+ .ube__drink-icon {
200
200
  width: 1.6rem;
201
201
  height: 1.6rem;
202
202
  flex-shrink: 0;
203
203
  color: var(--ube-primary);
204
204
  }
205
205
 
206
- :global(.ube__drink-icon) svg { width: 100%; height: 100%; display: block; }
206
+ .ube__drink-icon svg { width: 100%; height: 100%; display: block; }
207
207
 
208
- :global(.ube__drink-info) {
208
+ .ube__drink-info {
209
209
  flex: 1;
210
210
  display: flex;
211
211
  flex-direction: column;
212
212
  gap: 0.15rem;
213
213
  }
214
214
 
215
- :global(.ube__drink-name) {
215
+ .ube__drink-name {
216
216
  font-size: 0.9rem;
217
217
  font-weight: 700;
218
218
  color: var(--ube-text);
219
219
  }
220
220
 
221
- :global(.ube__drink-detail) {
221
+ .ube__drink-detail {
222
222
  font-size: 0.75rem;
223
223
  color: var(--ube-muted);
224
224
  }
225
225
 
226
- :global(.ube__drink-grams) {
226
+ .ube__drink-grams {
227
227
  font-size: 0.82rem;
228
228
  font-weight: 700;
229
229
  color: var(--ube-primary);
230
230
  flex-shrink: 0;
231
231
  }
232
232
 
233
- :global(.ube__drink-remove) {
233
+ .ube__drink-remove {
234
234
  background: none;
235
235
  border: none;
236
236
  width: 1.3rem;
@@ -243,9 +243,9 @@
243
243
  color: var(--ube-muted);
244
244
  }
245
245
 
246
- :global(.ube__drink-remove) svg { width: 100%; height: 100%; display: block; }
246
+ .ube__drink-remove svg { width: 100%; height: 100%; display: block; }
247
247
 
248
- :global(.ube__drink-remove):hover {
248
+ .ube__drink-remove:hover {
249
249
  opacity: 1;
250
250
  color: var(--ube-danger);
251
251
  }
@@ -375,13 +375,13 @@
375
375
  transition: all 0.3s ease;
376
376
  }
377
377
 
378
- :global(.ube__risk-badge--none) { background: rgba(107,114,128,0.1); color: #6b7280; border: 2px solid #6b7280; }
379
- :global(.ube__risk-badge--low) { background: rgba(16,185,129,0.1); color: #10b981; border: 2px solid #10b981; }
380
- :global(.ube__risk-badge--mid) { background: rgba(245,158,11,0.1); color: #f59e0b; border: 2px solid #f59e0b; }
381
- :global(.ube__risk-badge--high) { background: rgba(239,68,68,0.1); color: #ef4444; border: 2px solid #ef4444; }
378
+ .ube__risk-badge--none { background: rgba(107,114,128,0.1); color: #6b7280; border: 2px solid #6b7280; }
379
+ .ube__risk-badge--low { background: rgba(16,185,129,0.1); color: #10b981; border: 2px solid #10b981; }
380
+ .ube__risk-badge--mid { background: rgba(245,158,11,0.1); color: #f59e0b; border: 2px solid #f59e0b; }
381
+ .ube__risk-badge--high { background: rgba(239,68,68,0.1); color: #ef4444; border: 2px solid #ef4444; }
382
382
 
383
383
 
384
- :global(.theme-dark) .ube {
384
+ .theme-dark .ube {
385
385
  --ube-bg: #1a1033;
386
386
  --ube-border: rgba(139, 92, 246, 0.28);
387
387
  --ube-divider: rgba(139, 92, 246, 0.12);
@@ -394,15 +394,15 @@
394
394
  --ube-results-bg: linear-gradient(135deg, rgba(139, 92, 246, 0.08) 0%, rgba(236, 72, 153, 0.08) 100%);
395
395
  }
396
396
 
397
- :global(.theme-dark) .ube__stat {
397
+ .theme-dark .ube__stat {
398
398
  background: rgba(255, 255, 255, 0.04);
399
399
  }
400
400
 
401
- :global(.theme-dark) .ube__risk-bar {
401
+ .theme-dark .ube__risk-bar {
402
402
  background: rgba(255, 255, 255, 0.06);
403
403
  }
404
404
 
405
- :global(.theme-dark) .ube__input {
405
+ .theme-dark .ube__input {
406
406
  color: var(--ube-text);
407
407
  }
408
408
 
@@ -16,7 +16,7 @@
16
16
  position: relative;
17
17
  }
18
18
 
19
- :global(.theme-dark) .wp {
19
+ .theme-dark .wp {
20
20
  --wp-card-bg: #1f2937;
21
21
  --wp-border: #374151;
22
22
  --wp-text: #f9fafb;