-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
4126 lines (4005 loc) · 286 KB
/
styles.css
File metadata and controls
4126 lines (4005 loc) · 286 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
/* ── Design system tokens ── */
:root {
/* Surface + text — warm paper palette, gentler than pure white.
NAMING (2026-05-22 cleanup): the canonical names are now
--color-surface → the lighter cream (#f6f2ea) used on cards,
popovers, hovers, search inputs, any element
that should sit "above" the page.
--color-page → the darker cream (#ebe5d9) used on <body> as
the actual page background.
The old `--color-background-primary` / `--color-background-secondary`
names are misleading: "primary" is actually the elevated surface, and
the page bg comes from "secondary". They're kept as aliases below so
existing rules keep working unchanged; new code should use the new
names. Bulk migration of existing references is intentionally
deferred — risk-free incremental adoption. */
--color-surface: #f6f2ea;
--color-page: #ebe5d9;
/* 2026-05-23 — Dedicated card-surface token. Sits between --color-surface
(near-white #f6f2ea) and --color-page (cream #ebe5d9) — leaning closer
to surface for a brighter, more luminous tint while still reading as a
defined surface against the page. Used by .sc / .sr-card / .article-card.
History: started at #f1ecdf (true 50% midpoint); brightened one notch
to #f4efe6 per user feedback. */
--color-card: #f4efe6;
/* Deprecated aliases — keep until references are migrated. */
--color-background-primary: var(--color-surface);
--color-background-secondary: var(--color-page);
--color-text-primary: #0c0a09;
--color-text-secondary: #57534e;
--color-text-tertiary: #a8a29e;
--color-border-primary: #78716c;
--color-border-secondary: #d6d3d1;
--color-border-tertiary: #dcdad7;
/* Brand (single source of truth) — Direction C: warm green-teal */
--color-brand: #1F7A6B;
--color-brand-hover: #176258;
--color-brand-soft: #7CC4B6;
/* Accent — soft coral, used sparingly for warmth */
--color-accent-coral: #E8967A;
--color-accent-coral-soft: #F5C9B8;
/* Tier palette — gently desaturated for the Approachable Health Reference voice */
--t1c:#1F8A7A;--t1bg:#E6F4F1;--t1tx:#0F4A41;
--t2c:#5A7BC4;--t2bg:#ECF0F7;--t2tx:#2D3F6E;
--t3c:#C2872B;--t3bg:#FBF1DE;--t3tx:#6B4716;
--t4c:#B85046;--t4bg:#FAE8E5;--t4tx:#6B231D;
/* Quick Reads — warm slate-taupe; neutral against the cream BG and
distinct from the four evidence-tier chromatic colors above. */
--t5c:#6B6256;--t5bg:#EFE9DD;--t5tx:#3F3A33;
--slp:#5E59B2;--slpbg:#EDECF7;--slptx:#26215C;
/* Warning / medical-alert */
--color-warn-bg: #FBF1DE;
--color-warn-border: #E5C66B;
--color-warn-text: #6B4716;
--color-warn-text-strong: #4A3010;
/* Focus ring */
--focus-ring: 0 0 0 2px rgba(31,122,107,.45);
/* Z-index scale */
--z-sticky: 40;
--z-dropdown: 100;
--z-modal: 1000;
--z-toast: 2000;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;scrollbar-gutter:stable}
/* scrollbar-gutter:stable reserves space for the vertical scrollbar even on
pages whose content fits in the viewport. Without this, navigating between
a tall page (Articles, Index) and a shorter page (Discover) makes the
scrollbar appear/disappear, shifting content horizontally by ~15px and
producing a "slight shift" on cross-page navigation. */
body{
font-family:'Mona Sans','Plus Jakarta Sans',system-ui,-apple-system,sans-serif;
font-size:14px;
line-height:1.5;
background:var(--color-background-secondary);
color:var(--color-text-primary);
min-height:100vh;
padding:0 1rem 4rem;
-webkit-font-smoothing:antialiased;
}
input,button{font-family:inherit}
.container{max-width:1200px;margin:0 auto;position:relative;overflow-x:clip}
/* 2026-05-23 — Site-wide width cap (800px).
Single override that caps every top-level layout container to an 800px
ceiling regardless of any per-section max-widths declared further down
in this file or in index.css. Narrower constraints (e.g. .hero at 760px
for the rotating article card) still apply because they're smaller than
the cap. To raise the cap globally, change only this value. */
.container,
.site-nav-inner,
.site-footer-inner,
.articles-section,
.ix-hero,
#supplements-view,
.abt-hero,
.abt-sec,
.abt-mission,
.disc-c-wrap{
max-width: 800px !important;
}
.page-header{padding:2.25rem 0 1.25rem;border-bottom:0.5px solid var(--color-border-tertiary);margin-bottom:1.5rem}
.page-title{font-size:48px;font-weight:600;letter-spacing:-1.4px;color:var(--color-text-primary);margin:0;line-height:1.1}
@media(max-width:900px){.page-title{font-size:40px;letter-spacing:-1.2px}}
@media(max-width:600px){.page-title{font-size:32px;letter-spacing:-1px}}
.page-sub{font-size:13px;color:var(--color-text-secondary);margin-top:5px}
.page-sub span{display:inline-block;margin-right:14px}
.page-sub span::before{content:'·';margin-right:6px;opacity:.5}
.page-sub span:first-child::before{display:none}
/* ── Supplement dashboard CSS (from v12) ── */
/* 2026-05-24 — Defensive horizontal-overflow clip on .pg.
Several descendant elements (.beta-bar, .sticky-bar) use the
width:calc(100% + 2rem) + margin:0 -1rem "edge-to-edge bleed" pattern.
The bleed is intentional on desktop (the bar fills past the 800px
.container into the cream gutter), but on narrower viewports the bleed
sometimes leaks past .container's right edge and renders pill/input
artifacts in the gutter strip. body{overflow-x:clip} should catch this
but a containing .pg clip is a belt-and-braces fix and doesn't break
the sticky positioning that overflow:hidden would. */
.pg{padding:1.25rem 0;overflow-x:clip}
.ev-card{border:0.5px solid var(--color-border-tertiary);border-radius:12px;padding:1.5rem 1.25rem 1.1rem;margin-bottom:1rem;background:var(--color-background-primary);text-align:center}
.ev-number{font-size:42px;font-weight:600;color:var(--color-brand);line-height:1;letter-spacing:-2px;font-variant-numeric:tabular-nums}
.ev-plus{font-size:28px;font-weight:500;color:var(--t2c)}
.ev-label{font-size:13px;color:var(--color-text-secondary);margin-top:.45rem}
.ev-divider{width:40px;height:1px;background:var(--color-border-tertiary);margin:.85rem auto}
.ev-sub{font-size:11px;color:var(--color-text-tertiary);display:flex;align-items:center;justify-content:center;gap:6px;margin-bottom:.85rem}
.ev-pulse{width:6px;height:6px;border-radius:50%;background:var(--color-brand);animation:pulse 2s infinite;flex-shrink:0}
@keyframes pulse{0%,100%{opacity:1;transform:scale(1)}50%{opacity:.4;transform:scale(.8)}}
.logo-strip{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;column-gap:20px;row-gap:16px;max-width:900px;margin:8px auto .4rem;padding:6px 0;width:100%}
.logo-strip .logo-icon.logo-hidden{display:none}
.logo-icon{width:32px;height:32px;flex-shrink:0;opacity:.4;transition:opacity .15s;filter:invert(1)}.logo-icon:hover{opacity:.7}
/* Fixed-size cell — every logo sits in an identical bounding box so visual size and spacing are uniform. */
.lk{display:flex;align-items:center;justify-content:center;text-decoration:none;transition:opacity .2s;width:120px;height:30px;line-height:0;flex:0 0 120px;padding:0}
.lk .mk{max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;display:block;filter:brightness(0) saturate(0);opacity:.38;transition:opacity .2s}
.lk:hover .mk{opacity:.7}
@media(max-width:900px){.logo-strip{column-gap:14px;row-gap:14px;max-width:620px}.lk{width:110px;height:28px;flex:0 0 110px}}
@media(max-width:540px){.logo-strip{column-gap:10px;row-gap:12px;max-width:360px}.lk{width:94px;height:24px;flex:0 0 94px}}
.smb{display:flex;align-items:center;justify-content:center;gap:5px;width:100%;padding:6px;border:none;background:none;font-size:12px;color:var(--color-text-secondary);cursor:pointer;border-top:0.5px solid var(--color-border-tertiary);padding-top:.6rem;transition:color .15s}.smb:hover{color:var(--color-text-primary)}
.chv{transition:transform .25s}.chv.open{transform:rotate(180deg)}
.src-detail{display:none;padding-top:.85rem;border-top:0.5px solid var(--color-border-tertiary);margin-top:.6rem;text-align:left}.src-detail.open{display:block}
.src-desc-text{font-size:12px;color:var(--color-text-secondary);line-height:1.6;margin-bottom:.85rem}
.src-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}
@media(max-width:460px){.src-grid{grid-template-columns:repeat(2,1fr)}}
.src-item{background:var(--color-background-secondary);border:0.5px solid var(--color-border-tertiary);border-radius:8px;padding:.55rem .65rem;display:flex;align-items:center;gap:7px;text-decoration:none;transition:all .15s;cursor:pointer}.src-item:hover{background:var(--color-background-primary);border-color:var(--color-border-primary)}
.src-il{width:28px;height:28px;flex-shrink:0;filter:invert(1);opacity:.5}.src-in{font-size:11px;font-weight:500;color:var(--color-text-primary);line-height:1.2}
.src-is{font-size:10px;color:var(--color-text-tertiary);line-height:1.3;margin-top:1px}
/* Sources — Option C card grid */
.src-cards-c{display:grid;grid-template-columns:1fr 1fr 1fr;gap:10px}
@media(max-width:640px){.src-cards-c{grid-template-columns:1fr 1fr}}
@media(max-width:400px){.src-cards-c{grid-template-columns:1fr}}
.src-card-c{background:var(--color-background-primary);border:1px solid var(--color-border-tertiary);border-radius:12px;padding:16px}
.src-card-c-top{margin-bottom:8px}
.src-card-c-badge{font-size:8.5px;font-weight:700;letter-spacing:.07em;text-transform:uppercase;padding:3px 9px;border-radius:999px;display:inline-block}
.src-card-c.cat1 .src-card-c-badge{background:var(--t1bg);color:var(--t1tx)}
.src-card-c.cat2 .src-card-c-badge{background:var(--t2bg);color:var(--t2tx)}
.src-card-c.cat3 .src-card-c-badge{background:var(--t4bg);color:var(--t4tx)}
.src-card-c.cat4 .src-card-c-badge{background:rgba(31,122,107,.08);color:var(--color-brand)}
.src-card-c.cat5 .src-card-c-badge{background:var(--t2bg);color:var(--t2tx)}
.src-card-c-num{font-size:28px;font-weight:800;line-height:1;letter-spacing:-1.5px;margin-bottom:3px}
.src-card-c-num small{font-size:11px;font-weight:500;letter-spacing:0;opacity:.55}
.src-card-c.cat1 .src-card-c-num{color:var(--t1c)}
.src-card-c.cat2 .src-card-c-num{color:var(--t2c)}
.src-card-c.cat3 .src-card-c-num{color:var(--t4c)}
.src-card-c.cat4 .src-card-c-num{color:var(--color-brand)}
.src-card-c.cat5 .src-card-c-num{color:var(--t2c)}
.src-card-c-title{font-size:11.5px;font-weight:700;color:var(--color-text-primary);margin-bottom:10px;line-height:1.35}
.src-card-c-divider{height:1px;background:var(--color-border-tertiary);margin-bottom:10px}
.src-card-c-names{display:flex;flex-direction:column;gap:5px}
.src-card-c-name{display:flex;align-items:center;gap:6px;font-size:10.5px;color:var(--color-text-secondary);line-height:1.3}
.src-card-c-name::before{content:'';width:4px;height:4px;border-radius:50%;flex-shrink:0;opacity:.55}
.src-card-c.cat1 .src-card-c-name::before{background:var(--t1c)}
.src-card-c.cat2 .src-card-c-name::before{background:var(--t2c)}
.src-card-c.cat3 .src-card-c-name::before{background:var(--t4c)}
.src-card-c.cat4 .src-card-c-name::before{background:var(--color-brand)}
.src-card-c.cat5 .src-card-c-name::before{background:var(--t2c)}
.src-card-c-more{font-size:10px;color:var(--color-text-tertiary);margin-top:3px;padding-left:10px}
a.src-card-c-name{text-decoration:none;color:var(--color-text-secondary)}
a.src-card-c-name:hover{color:var(--color-text-primary)}
.new-src{font-size:9px;padding:1px 5px;border-radius:10px;background:var(--t2bg);color:var(--t2tx);font-weight:500;margin-left:4px;vertical-align:middle}
.gs-wrap{position:relative;margin-bottom:1rem}
.gs-ico{position:absolute;left:13px;top:50%;transform:translateY(-50%);pointer-events:none;color:var(--color-text-tertiary)}
.gs-inp{width:100%;padding:11px 40px;border-radius:10px;border:0.5px solid var(--color-border-secondary);background:var(--color-background-primary);color:var(--color-text-primary);font-size:14px;outline:none;transition:border-color .15s}.gs-inp:focus{border-color:var(--color-border-primary)}.gs-inp::placeholder{color:var(--color-text-tertiary)}
.gs-clr{position:absolute;right:11px;top:50%;transform:translateY(-50%);width:20px;height:20px;border:none;background:var(--color-background-secondary);border-radius:50%;cursor:pointer;display:none;align-items:center;justify-content:center;color:var(--color-text-secondary);font-size:14px}.gs-clr.vis{display:flex}
.gs-res{display:none}.gs-res.vis{display:block}
.gs-ac{position:absolute;top:100%;left:0;right:0;background:var(--color-background-primary);border:0.5px solid var(--color-border-secondary);border-top:none;border-radius:0 0 10px 10px;max-height:min(70vh, 640px);overflow-y:auto;z-index:20;display:none}
.gs-ac.vis{display:block}
.gs-ac-item{padding:8px 14px;font-size:13px;color:var(--color-text-primary);cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:8px;border-bottom:0.5px solid var(--color-border-tertiary)}
.gs-ac-item:last-child{border-bottom:none}
.gs-ac-item:hover,.gs-ac-item.active{background:var(--color-background-secondary)}
.gs-ac-item b{font-weight:700;color:var(--color-text-primary);background:rgba(31,122,107,.08);border-radius:2px;padding:0 1px}
.gs-ac-tag{font-size:10px;color:var(--color-text-tertiary);white-space:nowrap}
/* 2026-05-25 — empty-state row for "No matches" feedback. Distinct from
.gs-ac-item: not clickable, lighter colour, no border, centered. */
.gs-ac-empty{padding:14px 16px;font-size:13px;line-height:1.4;color:var(--color-text-tertiary);text-align:center;cursor:default}
.gs-ac-empty b{color:var(--color-text-primary);font-weight:600}
/* 2026-05-24 — Research rows in the hero search dropdown. Each row stacks
a small category eyebrow (GUIDE / QUICK READS / SAFETY) above the
article title. Eyebrow colour matches the homepage Research cards. */
.gs-ac-item-art{align-items:flex-start;padding:9px 14px}
.gs-ac-art-body{display:flex;flex-direction:column;gap:3px;min-width:0;flex:1}
.gs-ac-art-cat{
font-size:9.5px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;
color:var(--color-brand,#1F7A6B);
line-height:1;
}
.gs-ac-art-cat.gs-ac-art-cat-safety{color:#A32D2D}
.gs-ac-art-cat.gs-ac-art-cat-reality{color:#A32D2D}
.gs-ac-art-title{
font-size:13px;font-weight:500;line-height:1.35;
color:var(--color-text-primary);
white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.gs-meta{font-size:12px;color:var(--color-text-secondary);margin-bottom:.75rem}.gs-meta b{color:var(--color-text-primary)}
.sr-grid{display:grid;grid-template-columns:1fr;gap:9px}
/* 2026-05-22 — Supplement-row pills (.sc) sit transparent on the cream page
background. Was `background:var(--color-background-primary)` which read as
a white card; removed to match the lighter, list-style treatment used by
the article cards. The tier-tinted score block on the left and the soft
border keep the row identifiable without a filled panel.
`!important` defends against any earlier or more-specific rule that re-
introduces a card background (some pages still cache older builds). */
/* 2026-05-23 — Supplement row cards now use the dedicated --color-card
token (tinted cream between near-white and the page) so the rows read
as a clearly defined surface against the page background. Was `transparent`
per the 2026-05-22 "sit transparent on the cream page" decision; user
feedback wanted a more visible card surface. */
.sc,.sr-card{background:var(--color-card) !important;border:1px solid var(--color-border-tertiary);border-radius:12px;padding:0;overflow:hidden;transition:all .15s;display:flex;cursor:pointer;text-decoration:none;color:inherit}.sc:hover{border-color:var(--color-border-secondary);box-shadow:0 2px 12px rgba(0,0,0,.04);transform:translateY(-1px)}
.sc .lc-mid,.sc .lc-arr,.sr-card .lc-mid,.sr-card .lc-arr{background:transparent !important}
.sc-score-side{width:64px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:10px 6px;flex-shrink:0}
.sc-score-side.score-high{background:linear-gradient(180deg,var(--t1c),#0F766E)}.sc-score-side.score-mid{background:linear-gradient(180deg,var(--t2c),#3B5FC0)}.sc-score-side.score-low{background:linear-gradient(180deg,var(--t3c),#A16207)}.sc-score-side.score-bad{background:linear-gradient(180deg,var(--t4c),#991B1B)}
.sc-score-num{font-size:20px;font-weight:700;color:#fff;line-height:1}
.sc-score-label{font-size:7px;color:rgba(255,255,255,.7);margin-top:2px;text-transform:uppercase;letter-spacing:.06em}
.sc-inner{padding:.85rem 1rem;flex:1;min-width:0}
.sc-bar-row{display:flex;gap:6px;margin-top:10px}
.sc-bar-item{flex:1}
.sc-bar-label{font-size:9px;color:var(--color-text-tertiary);margin-bottom:3px}
.sc-bar-track{height:6px;background:var(--color-background-secondary);border-radius:3px;overflow:hidden}
.sc-bar-fill{height:100%;border-radius:3px;transition:width .4s ease}
.sc-expand{display:none;padding-top:6px}.sc-expand.open{display:block}
.sc-toggle{display:flex;align-items:center;justify-content:center;width:100%;padding:6px 4px 2px;border:none;border-top:1px solid var(--color-border-tertiary);background:none;font-size:11px;color:var(--color-text-tertiary);cursor:pointer;margin-top:6px;gap:4px;transition:color .15s}.sc-toggle:hover{color:var(--color-text-secondary)}
.sc-toggle-chv{transition:transform .2s;display:inline-block}.sc-toggle-chv.open{transform:rotate(180deg)}
.sc-score{width:40px;height:40px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:600;color:var(--color-text-primary);flex-shrink:0;position:relative}
.sc-score svg{position:absolute;top:0;left:0;width:40px;height:40px;transform:rotate(-90deg)}
.sc-score circle{fill:none;stroke-width:3;stroke-linecap:round}
.sc-score .bg{stroke:var(--color-border-tertiary)}
.sc-score .fg{transition:stroke-dashoffset .6s ease}
.score-high{color:var(--t1c)}.score-mid{color:var(--t2c)}.score-low{color:var(--t3c)}.score-bad{color:var(--t4c)}
.sc-top,.sr-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:4px;gap:8px}
.sc-name,.sr-name{font-size:13px;font-weight:500;color:var(--color-text-primary)}
.sc-tag,.sr-tag{display:flex;flex-wrap:wrap;gap:4px;margin-bottom:5px}
.sc-tag-pill{font-size:10px;padding:2px 7px;border-radius:10px;background:var(--color-background-secondary);border:0.5px solid var(--color-border-tertiary);color:var(--color-text-secondary)}
.sc-desc,.sr-desc{font-size:12px;color:var(--color-text-secondary);line-height:1.6;margin-bottom:10px}
.sc-desc.sc-desc-top{margin:2px 0 12px;padding:0;background:transparent;border-radius:0;border-left:0;font-size:12px;line-height:1.6;color:var(--color-text-secondary)}
.sc-interact{font-size:12px;color:var(--color-text-secondary);background:var(--color-background-secondary);border:0.5px solid var(--color-border-tertiary);border-radius:8px;padding:8px 10px;margin-bottom:8px;line-height:1.55}
.sc-interact-title{font-size:11px;font-weight:600;color:var(--color-text-secondary);text-transform:uppercase;letter-spacing:.04em;margin-bottom:4px}
.sc-interact-list{display:flex;flex-wrap:wrap;gap:4px}
.sc-interact-pill{font-size:11px;padding:2px 7px;border-radius:10px;background:var(--t3bg);color:var(--t3tx);font-weight:500}
.sc-interact-pill.danger{background:var(--t4bg);color:var(--t4tx)}
.sc-interact-safe{font-size:11px;color:var(--t1c);font-style:italic}
.sc-onset-info{font-size:12px;color:var(--color-text-secondary);background:var(--color-background-secondary);border:0.5px solid var(--color-border-tertiary);border-radius:8px;padding:6px 10px;margin-bottom:8px;display:flex;align-items:center;gap:6px}
.sc-onset-label{font-size:11px;font-weight:600;color:var(--color-text-secondary);text-transform:uppercase;letter-spacing:.04em}
.sc-food-info{background:var(--t1bg);border-color:rgba(13,148,136,.15)}
/* Info table (key/value rows) */
.sc-info-table{border-top:1px dashed var(--color-border-tertiary);margin-bottom:10px}
.sc-info-row{display:flex;align-items:baseline;padding:11px 2px;border-bottom:1px dashed var(--color-border-tertiary);font-size:12px;color:var(--color-text-secondary);line-height:1.6;gap:16px}
.sc-info-row:last-child{border-bottom:1px dashed var(--color-border-tertiary)}
.sc-info-tinted{background:transparent}
.sc-info-lbl{width:88px;font-size:9px;font-weight:700;color:var(--color-text-tertiary);text-transform:uppercase;letter-spacing:.06em;flex-shrink:0;padding-top:2px}
.sc-info-val{flex:1;min-width:0;color:var(--color-text-secondary)}
.sc-info-badge{display:inline-block;padding:2px 8px;border-radius:5px;font-size:10px;font-weight:600;background:var(--t1bg);color:var(--t1tx);margin-right:6px}
.sc-excess-info{background:var(--t4bg);border-color:rgba(185,28,28,.12)}
/* Dose-warning numbered-steps block (variant D) */
.sc-dose-warn-h{font-size:10px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--color-text-tertiary);margin:14px 0 4px;display:flex;align-items:center;gap:6px}
.sc-dose-warn-h svg{color:var(--t4c);flex-shrink:0}
.sc-dose-steps{position:relative;padding-left:2px;margin-bottom:10px}
.sc-dose-steps::before{content:'';position:absolute;left:13px;top:18px;bottom:18px;width:2px;background:linear-gradient(180deg,var(--t4c) 0%,var(--t3c) 50%,var(--t2c) 100%);opacity:.25}
.sc-ds-row{display:flex;align-items:flex-start;gap:10px;padding:6px 0;font-size:12.5px;position:relative}
.sc-ds-num{width:26px;height:26px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;color:#fff;font-size:11px;font-weight:700;flex-shrink:0;z-index:1;border:3px solid var(--color-background-primary,#fff)}
.sc-ds-row.sc-ds-risk .sc-ds-num{background:var(--t4c);box-shadow:0 0 0 1px var(--t4c)}
.sc-ds-row.sc-ds-upper .sc-ds-num{background:var(--t3c);box-shadow:0 0 0 1px var(--t3c)}
.sc-ds-row.sc-ds-long .sc-ds-num{background:var(--t2c);box-shadow:0 0 0 1px var(--t2c)}
.sc-ds-body{flex:1;padding-top:2px;min-width:0}
.sc-ds-k{font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.06em;margin-bottom:2px}
.sc-ds-row.sc-ds-risk .sc-ds-k{color:var(--t4c)}
.sc-ds-row.sc-ds-upper .sc-ds-k{color:var(--t3c)}
.sc-ds-row.sc-ds-long .sc-ds-k{color:var(--t2c)}
.sc-ds-v{color:var(--color-text-secondary);line-height:1.5;font-size:12px}
/* Medication interactions — numbered-steps layout (variant D) */
.sc-mi-h{font-size:10px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--color-text-tertiary);margin:14px 0 4px;display:flex;align-items:center;gap:6px}
.sc-mi-h svg{color:var(--color-text-tertiary);flex-shrink:0}
.sc-mi-wrap{position:relative;padding-left:2px;margin-bottom:10px}
.sc-mi-wrap.sc-mi-rail::before{content:'';position:absolute;left:13px;top:18px;bottom:18px;width:2px;background:linear-gradient(180deg,var(--t4c) 0%,var(--t3c) 100%);opacity:.25}
.sc-mi-row{display:flex;align-items:flex-start;gap:10px;padding:6px 0;font-size:12.5px;position:relative}
.sc-mi-num{width:26px;height:26px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;color:#fff;font-size:11px;font-weight:700;flex-shrink:0;z-index:1;border:3px solid var(--color-background-primary,#fff)}
.sc-mi-row.sc-mi-avoid .sc-mi-num{background:var(--t4c);box-shadow:0 0 0 1px var(--t4c)}
.sc-mi-row.sc-mi-caution .sc-mi-num{background:var(--t3c);box-shadow:0 0 0 1px var(--t3c)}
.sc-mi-body{flex:1;padding-top:2px;min-width:0}
.sc-mi-k{font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.06em;margin-bottom:2px;display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.sc-mi-row.sc-mi-avoid .sc-mi-k{color:var(--t4c)}
.sc-mi-row.sc-mi-caution .sc-mi-k{color:var(--t3c)}
.sc-mi-dot{color:var(--color-border-secondary);opacity:.6}
.sc-mi-med{color:var(--color-text-primary);text-transform:none;letter-spacing:0;font-size:12.5px;font-weight:600}
.sc-mi-v{color:var(--color-text-secondary);line-height:1.5;font-size:12px}
.sc-dose,.sr-dose{font-size:11px;padding:3px 7px;background:var(--color-background-secondary);border:0.5px solid var(--color-border-tertiary);border-radius:5px;color:var(--color-text-secondary);display:inline-block}
.sc-dose b,.sr-dose b{color:var(--color-text-primary);font-weight:500}
.rt-section{margin-top:8px;padding-top:7px;border-top:0.5px solid var(--color-border-tertiary)}
.rt-row{display:flex;align-items:center;gap:7px;margin-bottom:3px}
.rt-lbl{font-size:10px;color:var(--color-text-tertiary);width:55px;flex-shrink:0}
.rt-dots{display:flex;gap:2.5px}
.rt-dot{width:8px;height:8px;border-radius:50%;background:var(--color-background-secondary);border:0.5px solid var(--color-border-tertiary)}
.rt-dot.on-e{background:var(--t1c);border-color:transparent}.rt-dot.on-s{background:var(--t2c);border-color:transparent}.rt-dot.on-d{background:var(--t4c);border-color:transparent}
.rt-text{font-size:10px;color:var(--color-text-tertiary)}
.nbadge{font-size:10px;padding:2px 6px;border-radius:4px;background:var(--t3bg);color:var(--t3tx);font-weight:500;flex-shrink:0}
.tbadge{font-size:10px;font-weight:500;padding:2px 6px;border-radius:20px}
.tfirst{font-size:10px;font-weight:500;padding:2px 6px;border-radius:20px;background:var(--t3bg);color:var(--t3tx)}
.sc-bgs,.sr-bgs{display:flex;gap:4px;align-items:center;flex-shrink:0;flex-wrap:wrap}
.sr-card{flex-direction:column;padding:1rem}
.sr-card:focus-within{outline:2px solid var(--color-border-primary);outline-offset:2px}
.warn-badge{font-size:10px;padding:2px 6px;border-radius:20px;background:var(--color-warn-bg);color:var(--color-warn-text);border:0.5px solid var(--color-warn-border);font-weight:500}
mark{background:rgba(186,117,23,.2);color:inherit;border-radius:2px;padding:0 1px}
.tab-bar{display:flex;border-bottom:0.5px solid var(--color-border-tertiary);margin-bottom:1.25rem}
.tab-btn{padding:9px 16px;font-size:13px;font-weight:500;background:none;border:none;cursor:pointer;color:var(--color-text-secondary);border-bottom:2px solid transparent;margin-bottom:-1px;transition:all .15s}.tab-btn.active{color:var(--color-text-primary);border-bottom-color:var(--color-text-primary)}
.card-box{background:var(--color-background-primary);border:0.5px solid var(--color-border-tertiary);border-radius:12px;padding:1.25rem}
.sec-lbl{font-size:11px;font-weight:500;color:var(--color-text-tertiary);text-transform:uppercase;letter-spacing:.06em;margin-bottom:.5rem}
.age-wrap{display:flex;align-items:center;gap:12px;margin-bottom:1.1rem}
.age-stepper{display:flex;align-items:center;gap:0}
.age-stepper-btn{width:36px;height:36px;border-radius:50%;border:0.5px solid var(--color-border-secondary);background:var(--color-background-secondary);color:var(--color-text-primary);font-size:18px;font-weight:500;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .15s;line-height:1;padding:0}.age-stepper-btn:hover{background:var(--color-background-primary);border-color:var(--color-border-primary)}.age-stepper-btn:active{transform:scale(.92)}
.age-input{width:56px;text-align:center;font-size:28px;font-weight:600;color:var(--color-text-primary);background:none;border:none;outline:none;font-family:inherit;-moz-appearance:textfield;padding:0}.age-input::-webkit-outer-spin-button,.age-input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.age-sub{font-size:12px;color:var(--color-text-secondary)}
.sex-row{display:flex;gap:8px}
.sx-btn{flex:1;padding:9px;border-radius:8px;border:0.5px solid var(--color-border-secondary);background:var(--color-background-secondary);color:var(--color-text-secondary);font-size:13px;font-weight:500;cursor:pointer;transition:all .2s}
.sx-btn.on-m{background:#1565C0;color:#fff;border-color:transparent}
.sx-btn.on-f{background:#B5256E;color:#fff;border-color:transparent}
.sx-btn.on-p{background:#8E24AA;color:#fff;border-color:transparent}
.cond-chip.on{background:#0D7377;color:#fff;border-color:transparent}
.beta-banner{background:var(--color-background-secondary);border:0.5px solid var(--color-border-tertiary);border-radius:10px;padding:.85rem 1rem;margin-bottom:1rem}
.beta-badge{font-size:10px;font-weight:600;padding:2px 8px;border-radius:10px;background:var(--color-brand);color:#fff;text-transform:uppercase;letter-spacing:.06em;vertical-align:middle}
.beta-title{font-size:13px;font-weight:500;color:var(--color-text-primary);display:flex;align-items:center;gap:7px;margin-bottom:6px}
.beta-text{font-size:11px;color:var(--color-text-tertiary);line-height:1.6}
.beta-dna{font-size:11px;color:var(--color-text-secondary);margin-top:6px;padding:6px 9px;background:rgba(31,122,107,.08);border-radius:6px;border-left:2px solid var(--color-brand);line-height:1.5}
.med-section{margin-top:1rem}
.med-label{font-size:11px;font-weight:500;color:var(--color-text-tertiary);text-transform:uppercase;letter-spacing:.06em;margin-bottom:.5rem;display:flex;align-items:center;gap:6px}
.med-label-opt{font-size:10px;font-weight:400;text-transform:none;letter-spacing:0;color:var(--color-text-tertiary)}
.med-chips{display:flex;flex-wrap:wrap;gap:5px;margin-bottom:.5rem}
.med-chip{padding:9px 14px;min-height:36px;font-size:13px;border-radius:20px;cursor:pointer;border:0.5px solid var(--color-border-secondary);background:var(--color-background-secondary);color:var(--color-text-secondary);transition:all .15s;user-select:none;white-space:nowrap}
.med-chip.on{background:var(--color-brand);color:#fff;border-color:transparent}
.med-chip:hover:not(.on){background:var(--color-background-primary);border-color:var(--color-border-primary)}
/* Tighter chips inside the Medications section so the 4 default chips fit on one line at 540px container width. */
#pf-sec-meds .med-chips{gap:4px}
#pf-sec-meds .med-chip{padding:4px 8px;font-size:10.5px}
.med-note{font-size:11px;color:var(--color-text-tertiary);line-height:1.5;font-style:italic}
/* Round-4 add: jump-rail — horizontal scrollable strip of 7 step pills above
the progress bar. Visible only after the user has advanced past step 1; the
_wizPaintJumpRail() renderer handles which steps are reachable. */
.wiz-jump-rail{display:flex;gap:6px;overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none;padding:6px 2px 12px;margin-bottom:4px}
.wiz-jump-rail::-webkit-scrollbar{display:none}
.wiz-jump-rail:empty{display:none}
.wiz-jump-step{flex:0 0 auto;display:flex;flex-direction:column;align-items:center;gap:1px;padding:8px 12px;border-radius:10px;background:var(--color-background-primary);border:0.5px solid var(--color-border-tertiary);color:var(--color-text-tertiary);font-size:11.5px;line-height:1.2;cursor:default;min-width:64px;user-select:none;transition:background .12s,color .12s,border-color .12s}
.wiz-jump-step .step-n{font-size:10px;color:var(--color-text-tertiary);font-weight:600}
.wiz-jump-step.done{cursor:pointer;color:var(--color-text-secondary);border-color:var(--color-border-secondary)}
.wiz-jump-step.done:hover{background:var(--color-background-secondary);color:var(--color-text-primary)}
.wiz-jump-step.act{background:var(--color-brand);color:#fff;border-color:var(--color-brand);font-weight:600;cursor:default}
.wiz-jump-step.act .step-n{color:rgba(255,255,255,.78)}
/* Round-4 add: welcome-back banner — was 11px legalese; now legible with a teal
left-border. Same data, twice the perceived importance. */
.wb-banner{display:flex;align-items:center;gap:10px;padding:12px 14px;font-size:13px;color:var(--color-text-secondary);background:var(--color-background-primary);border-left:3px solid var(--color-brand);border-top:0.5px solid var(--color-border-tertiary);border-right:0.5px solid var(--color-border-tertiary);border-bottom:0.5px solid var(--color-border-tertiary);border-radius:0 10px 10px 0;margin-bottom:14px}
.wb-banner .wb-icon{flex-shrink:0;color:var(--color-brand)}
.wb-banner .wb-text{flex:1;min-width:0}
.wb-banner .wb-title{font-size:13px;font-weight:600;color:var(--color-text-primary)}
.wb-banner .wb-sub{font-size:12px;color:var(--color-text-tertiary);margin-top:1px}
.wb-banner .wb-action{margin-left:auto;font-size:12px;color:var(--color-brand);font-weight:600;padding:8px 12px;border-radius:8px;background:rgba(31,122,107,.08);border:0.5px solid rgba(31,122,107,.18);cursor:pointer;font-family:inherit;min-height:36px}
.wb-banner .wb-action:hover{background:rgba(31,122,107,.14)}
/* Round-4 add: condition-step grouping. Step 4 was a wall of 50 chips; now grouped
by category with collapsible "show more" per group. */
.cond-group{border:0.5px solid var(--color-border-tertiary);border-radius:12px;padding:12px 14px;margin-bottom:10px;background:var(--color-background-primary)}
.cond-group-h{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}
.cond-group-name{font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--color-text-primary)}
.cond-group-count{font-size:11px;color:var(--color-text-tertiary)}
.cond-group-body{display:flex;flex-wrap:wrap;gap:5px;align-items:center}
.cond-group-more{margin-top:8px;font-size:12px;color:var(--color-brand);font-weight:600;cursor:pointer;padding:6px 0;display:inline-block;user-select:none}
.cond-group-more:hover{color:var(--color-brand-hover)}
/* Round-7: prominent +N more button rendered inline with the chip set. */
.cond-group-more-btn{
display:inline-flex;align-items:center;gap:4px;
padding:7px 12px;min-height:32px;
font-size:12px;font-weight:700;letter-spacing:.01em;
color:var(--color-brand);background:rgba(31,122,107,.08);
border:1px solid var(--color-brand);border-radius:999px;
font-family:inherit;cursor:pointer;
transition:background .12s,color .12s;
white-space:nowrap;
}
.cond-group-more-btn:hover{background:var(--color-brand);color:#fff}
/* Round-10: condition pills tightened further to match other secondary pills
on the site (allergy/diet chip set, drug chips). */
.cond-chip{padding:5px 11px;font-size:11.5px;min-height:28px;line-height:1.35}
.cond-group-more-btn{padding:5px 11px;min-height:28px;font-size:11.5px}
/* Round-8: hide the recently-viewed strip whenever the user is in the
Custom Profile view. The strip is a great affordance on the Index page
but it's noise here. */
body.on-profile .ssux-recent{display:none !important}
/* Round-8: meds-step explainer panel — gives the page presence comparable to
the chip-heavy steps without bringing back the combo cards. Pure info. */
.wiz-meds-explainer{margin-top:18px;padding:16px 18px;border:0.5px solid var(--color-border-tertiary);border-radius:12px;background:var(--color-background-primary)}
.wiz-meds-explainer-h{font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--color-text-tertiary);margin-bottom:10px}
.wiz-meds-explainer-list{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:9px}
.wiz-meds-explainer-list li{font-size:12.5px;line-height:1.5;color:var(--color-text-secondary);padding-left:14px;position:relative}
.wiz-meds-explainer-list li::before{content:'';position:absolute;left:0;top:8px;width:5px;height:5px;border-radius:50%;background:var(--color-brand);opacity:.55}
.wiz-meds-explainer-list b{color:var(--color-text-primary);font-weight:600}
.wiz-meds-explainer-foot{font-size:11.5px;color:var(--color-text-tertiary);margin:14px 0 0;line-height:1.4}
/* Phase 2 / Item #2 — drug typeahead (specific medications) */
.drug-typeahead-wrap{display:flex;flex-direction:column;gap:6px}
.drug-typeahead-label{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:var(--color-text-secondary)}
.drug-typeahead-hint{font-size:11px;color:var(--color-text-tertiary);line-height:1.5}
.drug-typeahead-input-wrap{position:relative}
.drug-typeahead-input{width:100%;padding:8px 11px;border:1px solid var(--color-border-secondary);border-radius:7px;font-family:inherit;font-size:13px;background:#fff;color:var(--color-text-primary);box-sizing:border-box}
.drug-typeahead-input:focus{outline:none;border-color:var(--color-brand);box-shadow:0 0 0 3px rgba(31,122,107,.12)}
.drug-typeahead-list{display:none;position:absolute;left:0;right:0;top:calc(100% + 4px);background:#fff;border:1px solid var(--color-border-secondary);border-radius:8px;box-shadow:0 4px 14px rgba(0,0,0,.08);z-index:50;max-height:280px;overflow-y:auto}
.drug-typeahead-item{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 12px;cursor:pointer;font-size:13px;border-bottom:0.5px solid var(--color-border-tertiary)}
.drug-typeahead-item:last-child{border-bottom:none}
.drug-typeahead-item:hover,.drug-typeahead-item.drug-ta-active{background:rgba(31,122,107,.06)}
.drug-typeahead-empty{padding:10px 12px;font-size:12px;color:var(--color-text-secondary);font-style:italic;line-height:1.4}
/* "Popular X" / "More X" header that prefixes self-populated dropdowns when the input is empty. */
.drug-typeahead-hdr,.drug-typeahead-popular-hdr,.ac-hdr,.gs-ac-hdr{
font-size:9px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;
color:var(--color-text-tertiary);
padding:8px 12px 6px;
border-bottom:0.5px solid var(--color-border-tertiary);
background:var(--color-background-secondary);
position:sticky;top:0;
}
.drug-ta-name{color:var(--color-text-primary);font-weight:500}
.drug-ta-class{font-size:10.5px;color:var(--color-text-tertiary);font-style:italic}
.drug-chips{display:none;flex-wrap:wrap;gap:6px;margin-top:6px}
.drug-chip{display:inline-flex;align-items:center;gap:4px;background:rgba(31,122,107,.08);color:var(--color-brand);border:0.5px solid rgba(31,122,107,.25);padding:3px 4px 3px 10px;border-radius:14px;font-size:11.5px;font-weight:500}
.drug-chip-name{padding-right:2px}
.drug-chip-remove{background:transparent;border:none;color:var(--color-brand);font-size:14px;line-height:1;cursor:pointer;padding:7px 10px;min-width:28px;min-height:28px;border-radius:50%;font-weight:600;font-family:inherit;display:inline-flex;align-items:center;justify-content:center}
.drug-chip-remove:hover{background:rgba(31,122,107,.15)}
/* Phase 3 / Item #6 — form-specific evidence callout in supplement modal */
.supp-form-note{background:rgba(202,138,4,.06);border-left:3px solid #CA8A04;padding:10px 14px;border-radius:6px;margin:14px 0}
.supp-form-note-label{color:#7A5300!important}
.supp-form-note .supp-modal-val{font-size:13px;line-height:1.55;color:var(--color-text-primary)}
.go-btn{width:100%;padding:11px;border-radius:8px;border:none;background:var(--color-text-primary);color:var(--color-background-primary);font-size:14px;font-weight:500;cursor:pointer;margin-top:1rem;transition:opacity .15s}.go-btn:active{opacity:.85}.go-btn:disabled{opacity:.5;cursor:not-allowed}
.loading-overlay{display:none;text-align:center;padding:3rem 1rem}
.loading-overlay.vis{display:block}
.loading-ring{width:48px;height:48px;border:3px solid var(--color-border-tertiary);border-top-color:var(--color-text-primary);border-radius:50%;animation:spin .8s linear infinite;margin:0 auto 1.25rem}
@keyframes spin{to{transform:rotate(360deg)}}
.loading-text{font-size:14px;font-weight:500;color:var(--color-text-primary);margin-bottom:6px}
.loading-sub{font-size:12px;color:var(--color-text-secondary)}
.loading-bar-wrap{width:200px;height:4px;background:var(--color-border-tertiary);border-radius:2px;margin:1rem auto 0;overflow:hidden}
.loading-bar{height:100%;width:0;background:var(--color-text-primary);border-radius:2px;transition:width .15s linear}
.errmsg{font-size:12px;color:var(--t4tx);background:var(--t4bg);padding:7px 11px;border-radius:8px;margin-top:8px;display:none}
.profile-bar{background:var(--color-background-secondary);border-radius:12px;padding:.85rem 1rem;display:flex;align-items:center;justify-content:space-between;margin-bottom:1rem;flex-wrap:wrap;gap:8px;border:0.5px solid var(--color-border-tertiary)}
.profile-bar-text{font-size:14px;font-weight:600;color:var(--color-text-primary)}.profile-bar-sub{font-size:12px;color:var(--color-text-secondary);margin-top:1px}
.edit-btn{font-size:12px;font-weight:600;padding:5px 14px;border-radius:999px;border:1px solid var(--color-brand);background:var(--color-background-primary);color:var(--color-brand);cursor:pointer;transition:all .15s}
.edit-btn:hover{background:var(--color-brand);color:#fff}
.med-alert{background:#FFF8E1;border:0.5px solid #F9A825;border-radius:10px;padding:.85rem 1rem;margin-bottom:1rem}
.med-alert-hdr{font-size:12px;font-weight:500;color:var(--color-warn-text-strong);margin-bottom:.5rem;display:flex;align-items:center;gap:5px}
.med-alert-item{font-size:11px;color:var(--color-warn-text);margin-bottom:4px;padding:5px 8px;background:rgba(255,255,255,.6);border-radius:6px}
.med-alert-item b{color:var(--color-warn-text-strong)}
/* ── Supplement-supplement interaction UI ── */
#supp-alert-box{margin-bottom:1rem}
.supp-alert{background:#FEF2F2;border:0.5px solid rgba(220,38,38,.25);border-left:3px solid #DC2626;border-radius:10px;padding:.85rem 1rem}
.supp-alert-clean{background:#F0FDF4;border-color:var(--color-brand)} /* round-4: token */
.supp-alert-clean .supp-alert-hdr{color:#166534}
.supp-alert-clean .supp-alert-sub{font-size:11px;color:#166534;margin-top:4px}
/* Positive pairings block — warm cream with gold accent (legacy — no longer rendered, kept for back-compat) */
.supp-alert-pair{background:#FFFBEB;border:0.5px solid rgba(217,119,6,.25);border-left:3px solid #D97706;border-radius:10px;padding:.85rem 1rem;margin-bottom:.75rem}
.supp-alert-pair .supp-alert-hdr{color:#854D0E}
.supp-alert-pair-item{color:#713F12;border-left:3px solid #D97706;background:rgba(255,255,255,.75)}
.supp-alert-pair-item b{color:#713F12;font-weight:600}
.supp-alert-sev-pair{background:#D97706;color:#fff}
.supp-alert-pair .supp-alert-foot{color:#713F12;border-top:0.5px solid rgba(217,119,6,.25);opacity:.8}
.supp-alert-hdr{font-size:12px;font-weight:600;color:#991B1B;margin-bottom:.5rem;display:flex;align-items:center;gap:5px}
.supp-alert-item{font-size:11px;color:#7F1D1D;margin-bottom:4px;padding:6px 8px;background:rgba(255,255,255,.7);border-radius:6px;display:flex;gap:6px;flex-wrap:wrap;align-items:baseline}
.supp-alert-item b{color:#991B1B;font-weight:600}
.supp-alert-avoid{border-left:3px solid #DC2626}
.supp-alert-caution{border-left:3px solid #F59E0B;color:#78350F}
.supp-alert-caution b{color:#78350F}
.supp-alert-sev{display:inline-block;font-size:9px;font-weight:700;padding:1px 6px;border-radius:4px;background:#DC2626;color:#fff;letter-spacing:.04em;text-transform:uppercase}
.supp-alert-caution .supp-alert-sev{background:#F59E0B}
.supp-alert-reason{opacity:.8}
.supp-alert-more{font-size:11px;color:#991B1B;padding:6px 8px;font-style:italic}
.supp-alert-foot{font-size:10px;color:#7F1D1D;margin-top:8px;padding-top:6px;border-top:0.5px solid rgba(220,38,38,.2);opacity:.8}
/* Expanded supplement-interaction section inside renderCard */
.sc-si-h{color:#991B1B !important}
.sc-si-h svg{color:#991B1B !important}
.sc-si-count{font-size:9px;padding:1px 6px;border-radius:10px;background:#DC2626;color:#fff;letter-spacing:.03em}
.sc-si-partners{display:flex;flex-wrap:wrap;gap:3px;margin-top:4px}
.sc-si-pill{font-size:10px;padding:2px 7px;border-radius:10px;background:var(--t4bg,#FEE2E2);color:var(--t4tx,#991B1B);font-weight:500;display:inline-flex;align-items:center;gap:3px}
.sc-si-pill-count{font-weight:600;opacity:.7;font-size:9px}
.sc-si-pill-more{background:var(--color-background-secondary,#F3F4F6);color:var(--color-text-tertiary,#6B7280);border:1px solid var(--color-border-secondary,#d6d3d1);cursor:pointer;font-family:inherit;font-weight:600;letter-spacing:.01em;transition:all .15s}
.sc-si-pill-more:hover{background:var(--color-border-secondary,#d6d3d1);color:var(--color-text-secondary)}
.sc-si-pill-more:focus-visible{outline:none;box-shadow:var(--focus-ring)}
.sc-si-pill-more[aria-expanded="true"]{background:rgba(31,122,107,.08);border-color:var(--color-brand-soft);color:var(--color-brand)}
.sc-si-chip{display:inline-flex;align-items:center;gap:3px;font-size:10px;padding:2px 6px;border-radius:8px;background:var(--t3bg,#FEF3C7);color:var(--t3tx,#92400E);font-weight:600;cursor:help}
.sc-si-chip.danger{background:var(--t4bg,#FEE2E2);color:var(--t4tx,#991B1B)}
/* Per-card conflict rows in the profile plan view */
/* Note: the red inset bar on cards with conflicts was removed at request — the inline
"Interacts with other supplements in your plan" block already communicates the caution,
so the outer accent is redundant and reads as visual noise. */
.supp-card-has-conflict{box-shadow:none}
.supp-card-tag.sct-warn{background:#FEF3C7;color:#92400E}
.supp-card-tag.sct-danger{background:#FEE2E2;color:#991B1B;font-weight:600}
.supp-card-conflicts{margin:10px 0 4px;display:flex;flex-direction:column;gap:4px;padding:8px 10px;border:1px solid #FECACA;border-radius:8px;background:#FEF9F9}
.supp-card-conflicts-hdr{font-size:11px;font-weight:600;color:#991B1B;margin-bottom:3px;letter-spacing:.01em;display:flex;align-items:center;gap:6px;text-transform:uppercase}
.supp-card-conflicts-hdr::before{content:"\26A0";font-size:13px;color:#DC2626;line-height:1}
.supp-card-conflict-row{font-size:11px;padding:5px 8px;border-radius:6px;display:flex;flex-wrap:wrap;gap:4px;align-items:baseline;line-height:1.45}
.supp-card-conflict-avoid{background:#FEF2F2;border-left:3px solid #DC2626;color:#7F1D1D}
.supp-card-conflict-caution{background:#FFFBEB;border-left:3px solid #F59E0B;color:#78350F}
.supp-card-conflict-sev{font-size:9px;font-weight:700;padding:1px 6px;border-radius:4px;background:#DC2626;color:#fff;letter-spacing:.04em;text-transform:uppercase}
.supp-card-conflict-caution .supp-card-conflict-sev{background:#F59E0B}
.supp-card-conflict-reason{font-weight:500}
.supp-card-conflict-with{opacity:.85}
/* Phase 2 / Item #2 — drug-supplement conflict block (parallel to supplement-supplement) */
.supp-card-drug-conflicts{border-color:#DDD6FE;background:#F5F3FF}
.supp-card-drug-conflicts .supp-card-conflicts-hdr{color:#5B21B6}
.supp-card-drug-conflicts .supp-card-conflicts-hdr::before{color:#7C3AED}
.supp-card-drug-avoid{background:#FEF2F2;border-left:3px solid #DC2626;color:#7F1D1D}
.supp-card-drug-caution{background:#FFFBEB;border-left:3px solid #F59E0B;color:#78350F}
.supp-card-drug-extra{background:#ECFDF5;border-left:3px solid #10B981;color:#065F46}
.supp-card-drug-avoid .supp-card-conflict-sev{background:#DC2626}
.supp-card-drug-caution .supp-card-conflict-sev{background:#F59E0B}
.supp-card-drug-extra .supp-card-conflict-sev{background:#10B981}
.supp-card-drug-disclaimer{margin-top:6px;font-size:9.5px;color:var(--color-text-tertiary);font-style:italic;letter-spacing:.01em;line-height:1.45}
/* Inline-chip layout for in-card stack conflicts. Replaces the old nested .supp-card-conflicts box. */
.sc-conflicts{margin:10px 0 6px;display:flex;flex-direction:column;gap:5px;padding:8px 0;border-top:0.5px solid var(--color-border-tertiary);border-bottom:0.5px solid var(--color-border-tertiary)}
.sc-conflict-line{display:flex;flex-wrap:wrap;align-items:center;gap:6px;font-size:11px;line-height:1.55}
.sc-conflict-lead{font-weight:600;font-size:11px;letter-spacing:.005em}
.sc-conflict-lead-caution{color:#B91C1C}
.sc-conflict-lead-avoid{color:#7F1D1D}
.sc-conflict-chip{display:inline-flex;align-items:center;font-size:11px;padding:2px 8px;border-radius:11px;font-weight:500;border:0.5px solid;line-height:1.4}
.sc-conflict-chip-caution{background:#FEF2F2;border-color:#FCA5A5;color:#991B1B}
.sc-conflict-chip-avoid{background:#DC2626;border-color:#DC2626;color:#FFFFFF}
.sc-conflict-why{color:var(--color-text-secondary);font-size:11px;font-style:italic;margin-left:2px}
/* Phase 3 / FU-B — drug-supp section in the top-of-plan stack alert */
.supp-alert-section-divider{margin:12px -12px 6px;padding:6px 12px;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:#5B21B6;background:rgba(31,122,107,.05);border-top:1px solid rgba(31,122,107,.15);border-bottom:1px solid rgba(31,122,107,.15)}
.supp-alert-drug-avoid{background:#FEF2F2;border-left:3px solid #DC2626}
.supp-alert-drug-caution{background:#FFFBEB;border-left:3px solid #F59E0B}
.supp-alert-drug-extra{background:#ECFDF5;border-left:3px solid #10B981}
.supp-card-tag.sct-pair{background:#D1FAE5;color:#065F46;font-weight:600}
.pri-sec{margin-bottom:1.5rem}
.pri-hdr{display:flex;align-items:center;gap:8px;margin-bottom:.7rem;padding-bottom:6px;border-bottom:0.5px solid var(--color-border-tertiary)}
.pri-dot{width:9px;height:9px;border-radius:50%;flex-shrink:0}
.pri-ttl{font-size:13px;font-weight:500;color:var(--color-text-primary)}.pri-cnt{font-size:12px;color:var(--color-text-secondary);margin-left:auto}
.rc{background:var(--color-background-primary);border:0.5px solid var(--color-border-tertiary);border-radius:10px;padding:.8rem .95rem;margin-bottom:7px}
.rc.has-warn{border-color:#F9A825}
.rc-top{display:flex;align-items:center;gap:6px;margin-bottom:5px;flex-wrap:wrap}
.rc-name{font-size:17px;font-weight:500;color:var(--color-text-primary)} /* round-4: type scale */
.rc-why{font-size:13px;color:var(--color-text-secondary);line-height:1.5;margin-bottom:7px} /* round-4: type scale */
.rc-warn{font-size:11px;color:var(--color-warn-text);background:var(--color-warn-bg);border:0.5px solid var(--color-warn-border);border-radius:6px;padding:5px 8px;margin-bottom:7px;line-height:1.5}
.rc-dose{font-size:13px;padding:3px 8px;border-radius:5px;background:var(--color-background-secondary);color:var(--color-text-secondary);border:0.5px solid var(--color-border-tertiary);display:inline-block} /* round-4: type scale */
.rc-dose b{color:var(--color-text-primary);font-weight:500}
.disc{font-size:11px;color:var(--color-text-tertiary);line-height:1.6;padding:9px 12px;border:0.5px solid var(--color-border-tertiary);border-radius:8px;margin-bottom:1rem}
.sleep-sec{margin-bottom:1.5rem}
.sleep-hdr{display:flex;align-items:center;gap:8px;margin-bottom:.85rem;padding-bottom:6px;border-bottom:0.5px solid var(--color-border-tertiary)}
.sleep-ttl{font-size:13px;font-weight:500;color:var(--color-text-primary)}.sleep-sub{font-size:12px;color:var(--color-text-secondary);margin-left:auto}
.sleep-timeline{position:relative;padding-left:28px}
.sleep-timeline::before{content:'';position:absolute;left:8px;top:8px;bottom:8px;width:1px;background:var(--color-border-tertiary)}
.sleep-item{position:relative;margin-bottom:10px}.sleep-item:last-child{margin-bottom:0}
.sleep-dot{position:absolute;left:-22px;top:10px;width:8px;height:8px;border-radius:50%;border:1.5px solid var(--slp);background:var(--slpbg)}
.sleep-card{background:var(--color-background-primary);border:0.5px solid var(--color-border-tertiary);border-radius:10px;padding:.75rem .9rem}
.sleep-card-top{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:5px;flex-wrap:wrap}
.sleep-nw{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.sleep-name{font-size:13px;font-weight:500;color:var(--color-text-primary)}
.sleep-timing{font-size:11px;font-weight:500;padding:3px 8px;border-radius:20px;background:var(--slpbg);color:var(--slptx);white-space:nowrap}
.sleep-note{font-size:12px;color:var(--color-text-secondary);line-height:1.45;margin-bottom:6px}
.sleep-pills{display:flex;gap:5px;flex-wrap:wrap}
.sleep-pill{font-size:11px;padding:3px 7px;border-radius:5px;background:var(--color-background-secondary);border:0.5px solid var(--color-border-tertiary);color:var(--color-text-secondary)}
.sleep-pill b{color:var(--color-text-primary);font-weight:500}
.sleep-opt{font-size:11px;padding:3px 7px;border-radius:5px;background:var(--t3bg);color:var(--t3tx)}
/* DESKTOP filter chips — top:90px must match #main-sticky in index.css.
Earlier this said top:68px but #main-sticky won via id-specificity, so
the actual sticky position was 90px. Aligning them here removes the
confusion. The 90px value sits below the .beta-bar (32px) + .site-nav
(~58px content + border). If you change either height, update this. */
.sticky-bar{position:static;padding:.5rem 0;margin:0 -1rem;padding-left:1rem;padding-right:1rem;background:var(--color-background-secondary);border-bottom:.5px solid var(--color-border-tertiary)}
/* .sfbar layout consolidated to the canonical Grid block further down
(search "Sfbar layout: all 4 buttons"). Only .sfbtn styling lives here. */
.sfbtn{padding:6px 14px;border-radius:8px;border:0.5px solid var(--color-border-secondary);font-size:12px;font-weight:500;cursor:pointer;background:var(--color-background-secondary);color:var(--color-text-secondary);transition:all .15s}.sfbtn:hover:not([class*=on-]){background:var(--color-background-primary);border-color:var(--color-border-primary)}
.sfbtn.on-all{background:var(--color-text-primary);color:var(--color-background-primary);border-color:transparent}
.sfbtn.on-az{background:#2d2d2d;color:#fff;border-color:transparent}.sfbtn.on-t1{background:linear-gradient(135deg,var(--t1c),#0F766E);color:#fff;border-color:transparent}
.sfbtn.on-t2{background:linear-gradient(135deg,var(--t2c),#3B5FC0);color:#fff;border-color:transparent}
.sfbtn.on-t3{background:linear-gradient(135deg,var(--color-brand),var(--color-brand-hover));color:#fff;border-color:transparent}
.sfbtn.on-t4{background:linear-gradient(135deg,var(--t4c),#991B1B);color:#fff;border-color:transparent}
.sbox{padding:7px 12px;border-radius:20px;border:0.5px solid var(--color-border-secondary);font-size:13px;background:var(--color-background-secondary);color:var(--color-text-primary);outline:none;width:100%;margin-bottom:.85rem;font-family:inherit}.sbox::placeholder{color:var(--color-text-tertiary)}
.tier-sec{margin-bottom:1.25rem}
/* Load-more — V4 progress-aware row (2026-04-29) */
.tier-more{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:13px 18px;border:1px solid var(--color-border-tertiary);border-radius:10px;background:var(--color-background-primary);cursor:pointer;width:100%;margin-top:9px;transition:all .15s;font-family:inherit;text-align:left;color:inherit}
.tier-more:hover{border-color:var(--color-brand)}
.tier-more:disabled{opacity:.6;cursor:default}
.tier-more-l{display:flex;flex-direction:column;gap:4px;flex:1;min-width:0}
.tier-more-cta{display:inline-flex;align-items:center;gap:8px;font-size:13px;font-weight:600;color:var(--color-text-primary);transition:color .15s}
.tier-more:hover .tier-more-cta{color:var(--color-brand)}
.tier-more-progress{display:flex;align-items:center;gap:8px;font-size:11px;color:var(--color-text-tertiary)}
.tier-more-progress b{font-weight:600;color:var(--color-text-secondary);font-variant-numeric:tabular-nums}
.tier-more-bar{display:inline-block;flex:1;max-width:140px;height:3px;background:var(--color-border-tertiary);border-radius:2px;overflow:hidden}
.tier-more-fill{display:block;height:100%;background:var(--color-brand);border-radius:2px;transition:width .35s ease}
.tier-more-arr{font-size:18px;color:var(--color-text-tertiary);transition:all .15s;flex-shrink:0;line-height:1}
.tier-more:hover .tier-more-arr{color:var(--color-brand);transform:translateX(2px)}
.tier-more-spin{width:13px;height:13px;border:2px solid var(--color-border-tertiary);border-top-color:var(--color-brand);border-radius:50%;animation:spin .6s linear infinite;display:none;flex-shrink:0}
.tier-more.loading .tier-more-spin{display:inline-block}
.tier-more.loading .tier-more-text{opacity:.55}
.sc.tier-hidden{display:none}.sc.tier-visible{display:flex}
.tier-hdr{display:flex;align-items:stretch;margin-bottom:.75rem;border-radius:12px;border:1px solid var(--color-border-tertiary);overflow:hidden;background:var(--color-background-primary)}
.tier-hdr-side{width:70px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:10px;flex-shrink:0;color:#fff}
.tier-hdr-t1 .tier-hdr-side{background:linear-gradient(180deg,var(--t1c),#0F766E)}
.tier-hdr-t2 .tier-hdr-side{background:linear-gradient(180deg,var(--t2c),#3B5FC0)}
.tier-hdr-az .tier-hdr-side{background:linear-gradient(180deg,#2d2d2d,#1a1a1a)}
.tier-hdr-top25 .tier-hdr-side{background:linear-gradient(180deg,var(--t1c),var(--t2c))}
.tier-hdr-t3 .tier-hdr-side{background:linear-gradient(180deg,var(--t3c),#A16207)}
.tier-hdr-t4 .tier-hdr-side{background:linear-gradient(180deg,var(--t4c),#991B1B)}
.tier-hdr-num{font-size:22px;font-weight:700;line-height:1}
.tier-hdr-sublabel{font-size:7px;text-transform:uppercase;letter-spacing:.06em;opacity:.7;margin-top:2px}
.tier-hdr-content{padding:10px 16px;flex:1;display:flex;align-items:center}
.tier-ttl{font-size:14px;font-weight:600;color:var(--color-text-primary)}.tier-cnt{font-size:11px;color:var(--color-text-tertiary);font-weight:500}
.tier-desc{font-size:11px;color:var(--color-text-tertiary);line-height:1.5;margin-top:1px}
.scards{display:grid;grid-template-columns:1fr;gap:8px}
/* ── List card v2 (2026-04-29) — minimal click-through to detail modal ── */
.sc.t1{--lc-accent:#0D9488;--lc-tint:rgba(13,148,136,.10);--lc-tint-bd:rgba(13,148,136,.22)}
.sc.t2{--lc-accent:#4B7BE5;--lc-tint:rgba(75,123,229,.10);--lc-tint-bd:rgba(75,123,229,.22)}
.sc.t3{--lc-accent:#CA8A04;--lc-tint:rgba(202,138,4,.10);--lc-tint-bd:rgba(202,138,4,.22)}
.sc.t4{--lc-accent:#B91C1C;--lc-tint:rgba(185,28,28,.08);--lc-tint-bd:rgba(185,28,28,.22)}
.sc:hover{border-color:var(--lc-accent,var(--color-brand))}
/* 2026-05-22 — `.sc{text-decoration:none;color:inherit}` merged into the
canonical `.sc,.sr-card{...}` rule above (search for it earlier in this
file) since it ships as an <a> element. */
.lc-score{flex:0 0 64px;display:flex;align-items:center;justify-content:center;background:var(--lc-tint);color:var(--lc-accent);padding:10px 6px;line-height:1;border-right:1px solid var(--lc-tint-bd)}
.lc-score-num{font-size:20px;font-weight:700;font-variant-numeric:tabular-nums;letter-spacing:-.5px}
.lc-mid{flex:1;padding:11px 16px;display:flex;flex-direction:column;gap:5px;min-width:0}
.lc-row1{display:flex;align-items:baseline;justify-content:space-between;gap:10px}
.lc-name{font-size:14px;font-weight:600;color:var(--lc-accent);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.lc-cats{font-size:11px;color:var(--color-text-tertiary);flex-shrink:0;font-weight:500}
.lc-row2{display:flex;align-items:flex-start;gap:14px;font-size:11.5px;color:var(--color-text-secondary);min-width:0}
.lc-desc{flex:1;min-width:0;font-size:12px;color:var(--color-text-secondary);line-height:1.5;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.lc-cau{display:inline-flex;align-items:center;gap:4px;font-size:11px;color:#B91C1C;font-weight:600;flex-shrink:0;white-space:nowrap;line-height:1.5}
.lc-arr{flex:0 0 24px;display:flex;align-items:center;justify-content:center;color:var(--color-text-tertiary);transition:color .15s,transform .15s;font-size:18px;align-self:center}
.sc:hover .lc-arr{color:var(--lc-accent);transform:translateX(2px)}
@media(max-width:540px){
.lc-row1{flex-direction:column;align-items:flex-start;gap:2px}
.lc-cats{font-size:10.5px}
.lc-row2{flex-direction:column;gap:4px;align-items:flex-start}
.lc-cau{order:-1;line-height:1.4}
.lc-mid{padding:10px 12px}
.lc-score{flex:0 0 56px}
}
.empty{text-align:center;padding:2rem;color:var(--color-text-tertiary);font-size:13px}
/* 2026-05-22 — Removed the original .pop-head + .pop-head-* block (was here)
as dead code. The earlier definition (gradient bg, filled border, padding
14px) was completely shadowed by the canonical rule lower in the file
(search ".pop-head{" — currently around line 2425, the "Context title"
block). Future edits go there, not here. */
.sum-bar{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:1rem}
.sum-chip{font-size:12px;padding:3px 10px;border-radius:20px;font-weight:500}
.cp{font-size:11px;background:rgba(0,0,0,.08);padding:1px 7px;border-radius:10px;margin-left:4px}
.footer{text-align:center;padding:1.5rem 0 1rem;font-size:11px;color:var(--color-text-tertiary);border-top:1px solid var(--color-border-tertiary);margin-top:1.5rem;line-height:1.8}
.link-btn{background:none;border:0;padding:0;font:inherit;color:var(--color-text-secondary);text-decoration:underline;cursor:pointer;letter-spacing:inherit}
.link-btn:hover{color:var(--color-brand)}
.link-btn:focus-visible{outline:2px solid var(--color-brand);outline-offset:2px;border-radius:2px}
.early-access{border:0.5px solid var(--color-border-tertiary);border-radius:12px;background:var(--color-background-primary);padding:2rem 1.5rem;margin-top:2rem;text-align:center;position:relative;overflow:hidden}
.early-access::before{content:'';position:absolute;top:0;left:0;right:0;height:3px;background:linear-gradient(90deg,var(--t1c),var(--t2c),var(--color-brand))}
.ea-badge{font-size:10px;font-weight:600;padding:3px 10px;border-radius:10px;background:var(--color-brand);color:#fff;text-transform:uppercase;letter-spacing:.06em;display:inline-block;margin-bottom:10px}
.ea-title{font-size:20px;font-weight:600;color:var(--color-text-primary);letter-spacing:-.3px;margin-bottom:6px}
.ea-sub{font-size:13px;color:var(--color-text-secondary);line-height:1.6;max-width:600px;margin:0 auto 1.25rem}
.ea-features{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin-bottom:1.5rem}
.ea-feat{font-size:11px;padding:5px 12px;border-radius:20px;background:var(--color-background-secondary);border:0.5px solid var(--color-border-tertiary);color:var(--color-text-secondary);display:flex;align-items:center;gap:5px}
.ea-feat-dot{width:5px;height:5px;border-radius:50%;flex-shrink:0}
.ea-form{display:flex;gap:8px;max-width:420px;margin:0 auto}
@media(max-width:500px){.ea-form{flex-direction:column}}
.ea-input{flex:1;padding:10px 14px;border-radius:8px;border:0.5px solid var(--color-border-secondary);background:var(--color-background-secondary);color:var(--color-text-primary);font-size:13px;font-family:inherit;outline:none;transition:border-color .15s}.ea-input:focus{border-color:var(--color-border-primary)}.ea-input::placeholder{color:var(--color-text-tertiary)}
.ea-btn{padding:10px 20px;border-radius:8px;border:none;background:var(--color-brand);color:#fff;font-size:13px;font-weight:500;cursor:pointer;font-family:inherit;transition:opacity .15s;white-space:nowrap}.ea-btn:hover{opacity:.9}.ea-btn:active{opacity:.8}
.ea-note{font-size:10px;color:var(--color-text-tertiary);margin-top:10px}
.ea-success{display:none;font-size:14px;font-weight:500;color:var(--t1c);margin-top:10px}
.ea-coming{display:flex;flex-wrap:wrap;justify-content:center;gap:6px;margin-top:1.25rem;padding-top:1rem;border-top:0.5px solid var(--color-border-tertiary)}
.ea-coming-item{font-size:10px;padding:4px 10px;border-radius:20px;border:0.5px dashed var(--color-border-secondary);color:var(--color-text-tertiary)}
.meth-section{border:0.5px solid var(--color-border-tertiary);border-radius:12px;background:var(--color-background-primary);margin-top:2rem;overflow:hidden}
.meth-header{padding:1.25rem;cursor:pointer;display:flex;align-items:center;justify-content:space-between}
.meth-header:hover{background:var(--color-background-secondary)}
.meth-title{font-size:16px;font-weight:600;color:var(--color-text-primary);display:flex;align-items:center;gap:8px}
.meth-subtitle{font-size:12px;color:var(--color-text-secondary);margin-top:3px}
.meth-body{display:none;padding:0 1.25rem 1.25rem;border-top:0.5px solid var(--color-border-tertiary)}.meth-body.open{display:block}
.meth-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:1rem;margin-top:1rem}
@media(max-width:700px){.meth-grid{grid-template-columns:1fr}}
.meth-card{background:var(--color-background-secondary);border:0.5px solid var(--color-border-tertiary);border-radius:10px;padding:1rem}
.meth-card-icon{margin-bottom:8px;opacity:.5}
.meth-card-icon svg{width:22px;height:22px}
.meth-card-title{font-size:13px;font-weight:600;color:var(--color-text-primary);margin-bottom:4px}
.meth-card-status{font-size:10px;font-weight:500;padding:2px 7px;border-radius:10px;display:inline-block;margin-bottom:6px}
.meth-status-done{background:var(--t1bg);color:var(--t1tx)}
.meth-status-progress{background:var(--t2bg);color:var(--t2tx)}
.meth-status-planned{background:var(--t3bg);color:var(--t3tx)}
.meth-card-text{font-size:12px;color:var(--color-text-secondary);line-height:1.6}
.meth-card-text ul{margin:.4rem 0 0 1rem;padding:0}
.meth-card-text li{margin-bottom:3px}
.meth-changelog{margin-top:1rem;padding:1rem;background:var(--color-background-secondary);border:0.5px solid var(--color-border-tertiary);border-radius:10px}
.meth-changelog-title{font-size:12px;font-weight:600;color:var(--color-text-primary);margin-bottom:.5rem}
.meth-log-item{font-size:11px;color:var(--color-text-secondary);line-height:1.6;padding:3px 0;border-bottom:0.5px solid var(--color-border-tertiary)}
.meth-log-item:last-child{border-bottom:none}
.meth-log-date{font-weight:500;color:var(--color-text-tertiary);margin-right:6px}
.hero-grid{display:grid;grid-template-columns:1fr 300px;gap:1rem;margin-bottom:1.25rem}
@media(max-width:768px){.hero-grid{grid-template-columns:1fr}}
.intro-card{border:0.5px solid var(--color-border-tertiary);border-radius:12px;padding:1.25rem 1.25rem 1.1rem;background:var(--color-background-primary)}
.intro-title{font-size:15px;font-weight:600;color:var(--color-text-primary);margin-bottom:.6rem;display:flex;align-items:center;gap:8px}
.intro-np{font-size:10px;font-weight:600;padding:2px 8px;border-radius:10px;background:var(--t1bg);color:var(--t1tx);text-transform:uppercase;letter-spacing:.06em}
.intro-text{font-size:12.5px;color:var(--color-text-secondary);line-height:1.7}
.intro-text p{margin-bottom:.6rem}
.intro-text p:last-child{margin-bottom:0}
.intro-points{list-style:none;padding:0;margin:.6rem 0 0}
.intro-points li{font-size:12px;color:var(--color-text-secondary);line-height:1.6;padding:4px 0 4px 20px;position:relative}
.intro-points li::before{content:'';position:absolute;left:2px;top:11px;width:6px;height:6px;border-radius:50%;background:var(--t1c);opacity:.7}
.ev-sidebar{border:0.5px solid var(--color-border-tertiary);border-radius:12px;padding:1.25rem;background:var(--color-background-primary);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}
/* ── Utility classes extracted from inline styles ── */
/* 2026-05-21 — Beta-bar de-greened (Option 1 / "Bare" from the mockup
round): the teal fill + white text is replaced with the same cream as
the page surface (--color-background-secondary) and brand-teal text.
Background stays solid (not transparent) so when content scrolls under
the sticky bar it can't bleed through. Text and pulse use the brand
teal so the row still reads as a deliberate masthead band. */
/* 2026-05-22 — Beta-bar de-stickied on desktop.
Previously position:sticky;top:0;z-index:20 — pinned to viewport top so the
trust-stats row stayed visible on scroll. Per design pass: row felt glued to
the very top edge and competed with the nav for sticky real-estate, so it's
now in normal flow with a 20px top margin to "drop" it down a bit and give
the page some breathing room above the masthead band. The site-nav rule
below is updated to stick at top:0 (was top:32px) so it still pins cleanly
once the beta-bar scrolls off-screen. Mobile rule at @media(max-width:600px)
still uses position:fixed (notch / safe-area handling) and is unaffected. */
.beta-bar{background:var(--color-background-secondary);color:var(--color-brand);text-align:center;padding:0 1rem;font-size:9px;font-weight:500;letter-spacing:.02em;margin:20px -1rem 0;width:calc(100% + 2rem);height:32px;display:flex;align-items:center;justify-content:center;gap:8px;line-height:1}
.beta-bar-badge{background:rgba(31,122,107,.10);padding:1px 7px;border-radius:8px;font-size:9px;font-weight:600;text-transform:uppercase;letter-spacing:.06em;margin-right:6px;color:var(--color-brand)}
/* 2026-05-27 — Pulse animation removed per user feedback ("flashing dot" was
visually distracting). The dot is kept as a small static brand-coloured
indicator. The @keyframes ss-beta-pulse rule below is now orphaned but
harmless; left in place so a future toggle is one-line. */
.beta-bar-pulse{width:7px;height:7px;border-radius:50%;background:var(--color-brand);flex:0 0 auto;box-shadow:0 0 6px rgba(31,122,107,.5)}
.beta-bar-num{font-variant-numeric:tabular-nums;font-weight:600;letter-spacing:.01em}
.beta-bar-sep{padding:0 2px}
/* 2026-05-21 — Beta-bar trust-stats row.
.beta-bar-stat / .beta-bar-stat-sep are the spans introduced when the
banner's "X studies in last 72h · Actively refining · Updated …" content
was replaced with the trust-stats triplet. New classes (not the legacy
.beta-bar-tag / .beta-bar-sep) so the mobile hide-rule below leaves them
visible. Colours match the de-greened bar above — brand teal on cream. */
.beta-bar-stat{font-size:10px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--color-brand);white-space:nowrap}
.beta-bar-stat-sep{font-size:10px;font-weight:400;opacity:.35;color:var(--color-brand)}
/* 2026-05-21 — Banner search state.
Pre-scroll: .beta-bar-search is hidden, .beta-bar-stats sit centred via
the parent's existing justify-content:center.
Post-scroll (body.hero-search-gone): banner switches to space-between,
stats shift LEFT, and a compact search field appears on the RIGHT. The
stats group keeps its inline flex layout so the slashes / labels stay
together as one unit. */
.beta-bar-stats{display:inline-flex;align-items:center;gap:8px;}
.beta-bar-search{display:none;align-items:center;gap:6px;background:rgba(255,255,255,.55);border:1px solid rgba(31,122,107,.18);border-radius:999px;padding:3px 12px 3px 10px;margin:0;height:22px;box-sizing:border-box;transition:background .15s,border-color .15s;}
.beta-bar-search:hover,.beta-bar-search:focus-within{background:#fff;border-color:rgba(31,122,107,.35);}
.beta-bar-search-ico{width:11px;height:11px;color:var(--color-brand);flex:0 0 auto;opacity:.75;}
.beta-bar-search input{
border:0;background:transparent;outline:0;
font-family:inherit;font-size:11px;color:var(--color-brand);
width:180px;padding:0;line-height:1;
}
.beta-bar-search input::placeholder{color:rgba(31,122,107,.55);}
body.hero-search-gone .beta-bar{justify-content:space-between;padding:0 1.25rem;gap:16px;}
body.hero-search-gone .beta-bar .beta-bar-pulse{order:-1;}
body.hero-search-gone .beta-bar-search{display:inline-flex;}
body.hero-search-gone .beta-bar-search input{tab-index:0;}
/* 2026-05-27 — Hide the .beta-bar-search input on the Research tab.
The Research view already has its own dedicated "Search N articles…" input
directly above the article list, so the top-right banner search is redundant
and was duplicating user intent. We keep it on the Index (supplements) tab
where it's the only search affordance after the hero scrolls away. */
body.tab-research .beta-bar-search,
body.tab-research.hero-search-gone .beta-bar-search{display:none !important;}
body.tab-research.hero-search-gone .beta-bar{justify-content:center;}
/* Mobile (≤600px) keeps the existing UX: banner is 22px tall and
already shows just the stats; the sticky search lives inside
#main-sticky and toggles via the same .hero-search-gone class.
Hiding .beta-bar-search at narrow widths prevents both searches
from competing for the same space. */
@media(max-width:600px){
body.hero-search-gone .beta-bar-search{display:none !important;}
body.hero-search-gone .beta-bar{justify-content:center !important;padding:0 1rem !important;}
}
/* Keyframe glow retinted from mint (110,231,183) to brand teal (31,122,107)
to stay coherent with the new colourway. */
@keyframes ss-beta-pulse{0%{box-shadow:0 0 6px rgba(31,122,107,.55),0 0 0 0 rgba(31,122,107,.45)}70%{box-shadow:0 0 6px rgba(31,122,107,.55),0 0 0 7px rgba(31,122,107,0)}100%{box-shadow:0 0 6px rgba(31,122,107,.55),0 0 0 0 rgba(31,122,107,0)}}
@media(prefers-reduced-motion:reduce){.beta-bar-pulse{animation:none;box-shadow:0 0 6px rgba(31,122,107,.6)}}
@media(max-width:560px){.beta-bar{font-size:10.5px;gap:6px}.beta-bar-tag{display:none}.beta-bar-sep{display:none}}
.page-header--center{text-align:center;border-bottom:none}
.page-logo-label{font-size:13.5px;font-weight:800;color:var(--color-brand);letter-spacing:.07em;text-transform:uppercase;margin-bottom:16px}
.page-logo-label span{font-weight:500;opacity:.4;letter-spacing:.04em}
.page-subtitle{margin-top:14px;font-size:17px;color:var(--color-text-tertiary);line-height:1.55;max-width:620px;margin-left:auto;margin-right:auto;font-weight:400}
@media(max-width:600px){.page-subtitle{font-size:15px;max-width:100%}}
.stat-row{display:flex;justify-content:center;gap:0;flex-wrap:wrap;margin-bottom:.85rem;text-align:center}
.stat-col{flex:1;min-width:160px;padding:.5rem 1rem}
.stat-col--bordered{border-right:0.5px solid var(--color-border-tertiary)}
.stat-number{font-size:36px}
.stat-sub{font-size:10px;color:var(--color-text-tertiary);margin-top:2px}
.stat-pulse{justify-content:center;margin-top:4px}
.mission-section{border:0.5px solid var(--color-border-tertiary);border-radius:12px;background:var(--color-background-primary);padding:1.5rem;margin-top:2rem}
.mission-title{font-size:16px;font-weight:600;color:var(--color-text-primary);margin-bottom:.6rem;display:flex;align-items:center;gap:8px}
.mission-text{font-size:13px;color:var(--color-text-secondary);line-height:1.8}
.mission-text p{margin-bottom:.75rem}
.mission-text p:last-child{margin-bottom:0}
.mission-more{display:none;font-size:13px;color:var(--color-text-secondary);line-height:1.8;margin-top:.75rem}
.mission-more p{margin-bottom:.75rem}
.mission-more p:last-child{margin-bottom:0}
.mission-toggle{border:none;background:none;color:var(--color-text-tertiary);font-size:11px;cursor:pointer;padding:8px 0 0;font-family:inherit}
.tier-explain{display:flex;gap:12px;align-items:flex-start}
.tier-explain-icon{width:48px;height:48px;border-radius:10px;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.tier-explain-icon span{font-size:11px;font-weight:700;color:#fff}
.tier-explain-title{font-size:12px;font-weight:600;color:var(--color-text-primary)}
.tier-explain-desc{font-size:11px;color:var(--color-text-secondary);line-height:1.5;margin-top:2px}
.tier-explain-grid{display:flex;flex-direction:column;gap:10px}
.tier-explain-wrap{margin-top:1rem;padding:1rem;background:var(--color-background-secondary);border:1px solid var(--color-border-tertiary);border-radius:10px}
.tier-explain-heading{font-size:13px;font-weight:600;color:var(--color-text-primary);margin-bottom:.75rem}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
.noscript-msg{text-align:center;padding:3rem 1rem;font-size:16px;color:var(--color-text-secondary);line-height:1.6}
.profile-grid{display:grid;grid-template-columns:1fr 1fr;gap:1rem}
@media(max-width:500px){.profile-grid{grid-template-columns:1fr}}
@media(max-width:600px){
#v-input [style*="grid-template-columns:1fr 1fr 1fr"]{grid-template-columns:1fr!important}
#v-input [style*="grid-template-columns:1fr 1fr"]{grid-template-columns:1fr!important}
}
.sched-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
@media(max-width:600px){.sched-grid{grid-template-columns:1fr}}
/* ── Letter anchors for A-Z view ── */
.az-letter-bar{display:flex;flex-wrap:wrap;gap:4px;margin-bottom:1rem;position:sticky;top:90px;z-index:9;background:var(--color-background-secondary);padding:8px 0}
.az-letter-btn{width:32px;height:32px;border-radius:8px;border:0.5px solid var(--color-border-secondary);background:var(--color-background-primary);color:var(--color-text-secondary);font-size:12px;font-weight:600;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .15s}
.az-letter-btn:hover{background:var(--color-text-primary);color:var(--color-background-primary);border-color:transparent}
.az-letter-btn.active{background:var(--color-text-primary);color:var(--color-background-primary);border-color:transparent}
.az-letter-btn.disabled{opacity:.3;cursor:default;pointer-events:none}
.az-letter-heading{font-size:20px;font-weight:700;color:var(--color-text-primary);padding:1rem 0 .5rem;border-bottom:1px solid var(--color-border-tertiary);margin-bottom:.5rem;scroll-margin-top:140px}
/* ── Site navigation ── */
/* 2026-05-22 — top changed from 32px to 0. The beta-bar above is no longer
sticky on desktop, so the nav no longer needs to offset around it; it pins
to the very top of the viewport once the beta-bar scrolls past. */
.site-nav{background:var(--color-background-secondary);border-bottom:none;position:sticky;top:0;z-index:15;margin:0 -1rem;padding:18px 1rem 12px;width:calc(100% + 2rem);box-shadow:none}
/* Grid: brand-left | tabs-centered | empty-right.
Two equal `1fr` columns on either side keep the centered tabs perfectly
centered relative to the viewport. No search bar in this layout.
The empty third column mirrors the brand column's width so tabs stay
visually centered regardless of how long the wordmark gets. */
/* min-height pinned to the brand-svg height (22px) so the nav is the same
height whether or not the page renders the .site-nav-brand element.
Without this, brand-less pages (index, discover, landing) render the nav
2px shorter than detail pages, producing a tiny vertical shift on each
navigation. */
.site-nav-inner{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;position:relative;min-height:22px;max-width:1200px;margin:0 auto;padding:0 20px;gap:16px}
/* Brand on the left — SS shield + wordmark, links to home */
.site-nav-brand{grid-column:1;justify-self:start;display:inline-flex;align-items:center;gap:8px;text-decoration:none;color:var(--color-text-primary);transition:opacity .15s ease}
.site-nav-brand:hover{opacity:.78}
.site-nav-brand svg{width:22px;height:22px;color:var(--color-brand);flex-shrink:0}
.site-nav-brand-name{font-size:14.5px;font-weight:700;letter-spacing:-.3px;line-height:1;color:var(--color-text-primary)}
.site-nav-brand-name span{color:var(--color-text-tertiary);font-weight:500}
/* Tabs — sit inside one rounded pill; active tab is a filled pill */
.site-nav-tabs{grid-column:2;justify-self:center;display:inline-flex;gap:0;background:#fff;border:1px solid var(--color-border-tertiary);border-radius:999px;padding:5px}
/* Nav search pill — lives in the right column of the nav grid.
Mobile-only on this site (≥601px hides it entirely per user request).
The hero already has its own large search field on desktop, so the nav
pill is redundant up there; on mobile it's the primary search entry. */
.site-nav-search-pill{
grid-column:3;justify-self:end;display:flex;align-items:center;
opacity:0;transform:translateX(8px);
transition:opacity .2s ease,transform .2s ease;
pointer-events:none;
}
.site-nav--search-visible .site-nav-search-pill{
opacity:1;transform:translateX(0);pointer-events:auto;
}
/* 2026-05-22 — Desktop hide rule REMOVED.
Previously the nav pill was hidden outright on ≥601px because the hero's
own large search field covered desktop search, AND the beta-bar revealed a
search field on scroll. Now that the beta-bar is non-sticky and scrolls
away, desktop loses its post-scroll search affordance — so the nav pill
takes over that role here. It still inherits the default
opacity:0;pointer-events:none from the base rule above, and only fades in
when index.js adds .site-nav--search-visible (same toggle that flips
body.hero-search-gone when the hero search scrolls out of view).
Net effect on desktop: pill is invisible at the top of the page (hero
search is the primary entry), then fades in once the hero scrolls off.
The right-column grid slot was already reserved by .site-nav-inner's
1fr auto 1fr template, so layout doesn't shift when the pill appears. */
.site-nav-search-pill form{
position:relative;display:flex;align-items:center;gap:5px;
background:rgba(31,122,107,.07);
border:1px solid rgba(31,122,107,.2);
border-radius:999px;height:28px;padding:0 10px 0 8px;
width:190px;
}
.site-nav-search-pill .ico{
width:13px;height:13px;color:var(--color-brand);flex-shrink:0;
}
.site-nav-search-pill input{
border:none;outline:none;background:transparent;
font-size:12px;color:var(--color-text-primary);width:100%;
}
.site-nav-search-pill input::placeholder{color:var(--color-text-tertiary)}
/* Mobile: pill lives inside the nav bar, always visible — 50% column, fills full width */
@media(max-width:600px){
.site-nav-search-pill{
opacity:1;transform:none;pointer-events:auto;transition:none;
grid-column:2;justify-self:stretch;width:100%;
}
.site-nav-search-pill form{
width:100%;min-width:0;max-width:none;box-sizing:border-box;
height:32px;
/* White fill (matches the tabs pill) — must NOT be the page background
color or the pill becomes invisible against the cream nav strip on
mobile. The teal-tinted border ties it back to the tabs pill visually. */
background:#fff;
border:1px solid var(--color-border-tertiary);
padding:0 12px 0 10px;
}
.site-nav-search-pill .ico{width:14px;height:14px;}
/* font-size MUST be ≥16px on mobile or iOS Safari auto-zooms the page on
focus and visually crops the page to the right. The pill is 32px tall,
so 16px sits comfortably with room to spare. The PLACEHOLDER is styled
separately below to match the nav-tab labels (11px, uppercase, etc.) —
pseudo-elements don't trigger the zoom check, so the placeholder can
be small while the input stays at 16px. */
.site-nav-search-pill input{font-size:16px;}
/* Placeholder styled to match the nav tab labels: same Plus Jakarta Sans
uppercase look, slightly lighter grey. When the user starts typing,
the input renders at 16px (normal typing experience). */
.site-nav-search-pill input::placeholder{
font: 600 11px/1 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
letter-spacing:.04em;
text-transform:uppercase;
color:var(--color-text-quaternary, rgba(15,23,42,.32));
opacity:1;
}
.site-nav-search-pill input::-webkit-input-placeholder{
font: 600 11px/1 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
letter-spacing:.04em;text-transform:uppercase;
color:var(--color-text-quaternary, rgba(15,23,42,.32));
}
}
/* ============================================================
iOS Safari auto-zoom prevention — site-wide safeguard
============================================================
iOS Safari zooms in on the page whenever a focused input has
font-size < 16px. The zoom doesn't reverse on blur, so the
page is left visually clipped to the right and the user has to
pinch-zoom out manually. We had this bite the nav search pill
on iPhone; the same bug latently affected dozens of other
inputs across the site (.gate-input, .plan-email-input,
.ea-input, .add-supp-input, etc — all 11–15px on mobile).
Forcing a 16px minimum on every focusable text control at
≤600px is the canonical fix. Visually the difference is
marginal (≈1–3px); functionally it eliminates the zoom.
Selects/checkboxes/radios are excluded — they don't trigger
zoom and have legitimate small sizes in some contexts. */
@media(max-width:600px){
input[type="text"],
input[type="search"],
input[type="email"],
input[type="url"],
input[type="tel"],
input[type="number"],
input[type="password"],
input:not([type]),
textarea{
font-size:16px !important;
}
}
/* Mobile: brand hidden. Use flexbox (not grid) for the nav row — iOS Safari
sometimes mis-sizes fr-based grid templates when one of the items has its
own width set, which was leaving the search pill collapsed off-screen. */
@media(max-width:600px){
.site-nav{height:auto}
.site-nav-brand{display:none}
.site-nav-inner{
display:flex !important;
grid-template-columns:none !important;
flex-direction:row;align-items:center;justify-content:flex-start;
/* Modest horizontal padding so the pills don't actually touch the
viewport edge (user feedback: edge-to-edge felt too tight). */
padding:6px 8px;height:auto;gap:8px;
width:100%;max-width:none;box-sizing:border-box;
}
/* Tabs pill 65% / search pill 35% of the available row (per user request). */
.site-nav-tabs{
grid-column:auto !important;justify-self:auto !important;
flex:65 1 0;min-width:0;width:auto;
display:flex;justify-content:space-evenly;overflow:visible;
height:32px;box-sizing:border-box;padding:3px;align-items:center;
}
.site-nav-tabs::-webkit-scrollbar{display:none}
/* Each tab fills an equal share of the pill width; tighter padding to fit 4 tabs */