-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
2488 lines (2388 loc) · 148 KB
/
Copy pathstyles.css
File metadata and controls
2488 lines (2388 loc) · 148 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
/* ============================================================
PRIMARY EDITORIAL PALETTE
------------------------------------------------------------
--accent Primary cobalt-navy — for tab indicator,
link bottom-rules, card hover borders, and
other secondary chrome. Deeper than the
masthead/CTA blue.
--ambedkar-blue Primary blue — for the masthead
title and the Apply CTA. Single source of
truth for the primary editorial blue:
#0047AB light / #5b8ad6 dark.
--alarm Saturated vermillion — for the
masthead strapline, the "Article 16" pill,
critical-deadline numbers, and signaling.
NOT used as a top/bottom strip
on the masthead or footer (those alarm
strips were dropped — they read as
decoration without weight).
--ink Near-black, broadsheet print register.
--bg Clean off-white (light) / charcoal (dark).
Tinted color-mix(--alarm × --bg) is
deliberately avoided — it drifts into beige
in light mode against the off-white.
============================================================
PAGE LAYOUT RULES
------------------------------------------------------------
• Every public tab uses the same outer page shell width. Long prose
is constrained inside that shell with --page-reading-max instead
of giving each tab a different page width.
• Section headings on The Gap tab (H2 / Point N / The cost /
appendix / bibliography / verdict) all carry an id and a
hover-visible "#" anchor link (.heading-anchor). Deep-link
URLs like /#point-3 route via the click handler in app.js
(data-tab-link + data-scroll-target), and any closed
<details> ancestor on the way to the target is auto-opened.
• <details> blocks at the end of The Gap tab (appendix and
bibliography) share a single summary treatment — same font,
size, weight, padding, and ▸/▾ disclosure arrow.
• Job cards have no decorative left tier-bar and no
scope-private hover override; the urgency hierarchy lives in
the deadline column's tier-critical / tier-soon / tier-ok
coloring (alarm / alarm / muted).
• Masthead is centered, compact (~80 px), title in
--ambedkar-blue, strapline italic vermillion. No top
alarm strip; footer carries only a thin neutral border.
============================================================ */
:root {
/* Palette redesign: moved off the generic civic-tech (cobalt + alarm
red on white) palette into a warmer, broadsheet-publication
register. Ivory background instead of pure-white, oxblood instead
of generic alarm red (more specifically the Saturated Red
saturated red the page already cites in comments), warmer-ink
text instead of cool charcoal. The cobalt stays — it's the
Primary primary color of the project — but goes deeper
and less bureaucratic-bright. */
--bg: #f2f0e6; /* warm ivory, distinct from white panel */
--panel: #ffffff; /* record surfaces */
--ink: #171512; /* near-black, print register */
--muted: #5f5f5a; /* neutral secondary text */
--muted-soft: #888883; /* neutral non-urgent signal */
--accent: #123f73; /* Primary cobalt/navy for actions */
--accent-deep: #0b2d55; /* hover / pressed */
--ambedkar-blue: #0047AB; /* Primary blue — masthead title + Apply CTA */
--ambedkar-blue-deep: #003380; /* Primary blue hover/pressed */
--warn: #8a5a18; /* amber for disclosure absence */
--alarm: #7a1620; /* oxblood — Saturated Red saturated red */
--good: #1b5e20;
--border: #dad8ce; /* neutral rule */
--chip-bg: #efeee9; /* quiet neutral chip background */
--page-shell-max: 760px; /* shared visible measure for every page */
--page-reading-max: 760px; /* long-form prose uses the same measure */
--serif: "Newsreader", "Source Serif 4", Georgia, serif;
--mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
color-scheme: light;
}
html[data-theme="dark"] {
--bg: #0c0d0e; /* deep charcoal paper */
--panel: #1c1e20; /* elevated record surfaces */
--ink: #ede9df; /* soft paper text */
--muted: #aaa69d;
--muted-soft: #6f716f;
--accent: #7ea7df; /* luminous cobalt */
--accent-deep: #a4c3ee;
--ambedkar-blue: #5b8ad6; /* Primary blue, lifted for dark-mode contrast */
--ambedkar-blue-deep: #82a6e0; /* Primary blue hover/pressed in dark mode */
--warn: #d0a05e; /* amber */
--alarm: #e05b63; /* oxblood in dark mode */
--good: #63ad78;
--border: #32363b; /* slightly lighter for contrast */
--chip-bg: #262a2f;
color-scheme: dark;
}
/* Adjust signal-color tints for dark backgrounds */
html[data-theme="dark"] .listing.tier-critical .deadline-pill { background: rgba(236,106,106,0.12); color: #f08585; }
html[data-theme="dark"] .listing.tier-soon .deadline-pill { background: rgba(224,160,96,0.12); color: #e8b478; }
html[data-theme="dark"] .listing.tier-ok .deadline-pill { background: rgba(111,207,138,0.12); color: #88dd9d; }
/* Add a soft border in dark mode — at 0.15 alpha the chip otherwise reads
as flat against the panel on lower-contrast displays (WCAG 1.4.11 NTC). */
html[data-theme="dark"] .listing .inst-line .hss-flag { background: rgba(224,160,96,0.15); color: #e8b478; border: 1px solid rgba(224,160,96,0.4); }
html[data-theme="dark"] .banner { background: #2a2820; border-color: #3d3a25; color: #d6c79b; }
html[data-theme="dark"] .banner button { color: #d6c79b; }
* { box-sizing: border-box; }
html, body {
margin: 0;
max-width: 100%;
overflow-x: hidden;
font: 15px/1.55 "Inter", system-ui, -apple-system, sans-serif;
color: var(--ink);
background: var(--bg);
}
a { color: var(--accent); }
/* Custom focus ring (WCAG 2.4.7). Browser default is 1px and easy to miss. */
/* WCAG 2.4.7: every focusable element gets a visible indicator. We rely on
:focus-visible (keyboard-only) instead of :focus (also fires on mouse
click); the previous global `*:focus { outline: none }` was suppressing
the fallback for browsers without :focus-visible support. Removed. */
*:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
/* Form controls already have border-radius; keep the offset. */
input:focus-visible, select:focus-visible, textarea:focus-visible { outline-offset: 1px; }
/* Skip-to-content link (WCAG 2.4.1). Hidden until focused. */
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--accent); color: var(--panel); padding: 10px 14px; font-weight: 600; text-decoration: none; border-radius: 0 0 6px 0; z-index: 1000; }
.skip-link:focus { left: 0; }
.beta-banner {
background: var(--chip-bg);
color: var(--muted);
font-size: 11px;
font-weight: 500;
text-align: center;
padding: 6px 20px;
border-bottom: 1px solid var(--border);
letter-spacing: 0.03em;
text-transform: uppercase;
}
.beta-banner strong {
color: var(--alarm);
font-weight: 700;
}
/* Visually-hidden, screen-reader-accessible (WCAG 1.3.1). Used for section
H2s that name each tab panel without visually duplicating the tab label. */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
/* Smooth theme transitions (WCAG 3.2.1 — predictable on focus / no jarring flash). */
body, aside, header.masthead, nav.tabs, .listing, .banner, footer { transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease; }
/* Center-aligned masthead (Phase-2). Title sits on its own line, subtitle
beneath it, then the lede paragraph — all max-width 720 px and centred.
Portrait moved to a small centred figure below the lede so the page
still has a face but doesn't compete with the headline. */
/* The 6px red strip is the Editorial radical-tradition signature
(Saturated Reds / protest red). Politically explicit, not subtle. */
/* Masthead — broadsheet wordmark register. Was: 38px h1 + small italic
subtitle on white, no anchoring. Now: an issue/date eyebrow, a
larger Newsreader wordmark, a serif italic standfirst, with
vertical rules above and below to feel like a publication
nameplate. The 6px Saturated Red red strip stays. */
header.masthead {
background: var(--bg);
border-bottom: 1px solid var(--border);
padding: 28px 32px 32px;
text-align: center;
}
header.masthead .text-wrap { max-width: 820px; margin: 0 auto; }
header.masthead .nameplate-eyebrow {
font-family: var(--sans);
font-size: 11px; font-weight: 600; letter-spacing: 0.18em;
text-transform: uppercase; color: var(--muted);
margin: 0 0 18px;
display: inline-flex; align-items: center; gap: 12px;
}
header.masthead .nameplate-eyebrow::before,
header.masthead .nameplate-eyebrow::after {
content: ""; width: 32px; height: 1px; background: var(--border);
}
header.masthead h1 {
margin: 0;
font-family: var(--serif); font-size: 56px; font-weight: 700;
color: var(--accent); letter-spacing: -0.025em; line-height: 1;
font-feature-settings: "ss01" 1; /* Newsreader stylistic alt */
}
header.masthead .subtitle {
display: block; max-width: 580px; margin: 16px auto 0;
font-family: var(--serif); font-style: italic;
color: var(--ink); font-size: 16px; line-height: 1.55; font-weight: 400;
}
@media (max-width: 720px) {
header.masthead h1 { font-size: 36px; }
header.masthead .subtitle { font-size: 14px; }
header.masthead .nameplate-eyebrow { font-size: 10px; letter-spacing: 0.14em; }
}
/* Compact masthead variant — title + strapline laid out inline so the
header eats ~80 px of vertical space instead of ~165 px, leaving the
fold for the actual feed. The strapline still uses the serif italic
register; just smaller and beside the title rather than below it. */
header.masthead.masthead-compact {
padding: 22px 32px 24px;
text-align: center;
}
header.masthead.masthead-compact h1 {
font-size: 40px;
font-weight: 700;
/* Primary blue token — same colour the Apply CTA fills with, in
both modes. Light: #0047AB. Dark: #5b8ad6 (lifted for text
contrast against charcoal — Apply button shifts up too so they
still match exactly). */
color: var(--ambedkar-blue);
letter-spacing: -0.024em;
line-height: 1.2;
display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 22px;
max-width: 1180px; margin: 0 auto;
}
header.masthead.masthead-compact .masthead-title {
font-family: var(--serif);
/* Inherits color: var(--ambedkar-blue) from the parent h1 — same
blue the Apply CTA fills with, so the masthead title sits in the
same family as the site's primary action. Strapline below stays
vermillion. */
}
header.masthead.masthead-compact .masthead-home {
color: inherit;
text-decoration: none;
}
header.masthead.masthead-compact .masthead-home:hover {
color: var(--ambedkar-blue-deep);
}
header.masthead.masthead-compact .masthead-strapline {
font-family: var(--serif);
font-style: italic;
font-size: 18px;
font-weight: 400;
color: var(--alarm); /* Saturated Red vermillion */
line-height: 1.4;
}
/* No column-mode breakpoint here — the h1 keeps `flex-wrap: wrap` on,
so as long as title + strapline can fit on one line they will. When
they can't (very narrow viewports), flex naturally wraps the
strapline onto a second row, both still centered via the parent's
justify-content: center. The earlier @media (max-width: 720px)
forced flex-direction: column even at widths where the items would
have fit inline — that was the artificial constraint. */
@media (max-width: 540px) {
header.masthead.masthead-compact h1 {
font-size: 30px; gap: 6px;
}
header.masthead.masthead-compact .masthead-strapline { font-size: 15px; }
}
/* (Vacancies-tab strip removed; compact vacancy-gap line is now
defined alongside .vacancy-gap-banner-compact further below.) */
/* "Public-interest service" tag in the footer disclaimer. Cobalt
to align with the political register; everything else in the
footer keeps its muted-gray paragraph style. */
/* The "Public-interest service" tag uses Saturated Red red — the
framing is an editorial claim, not a constitutional reference, so
it earns the protest register rather than cobalt. */
/* Compact colophon — appears at the foot of every tab. The full project
description and disclaimer paragraphs live on the About page (#about);
this footer carries only:
- the verdict pull-quote (editorial signature, weighted)
- a one-line research-and-reference caveat with a link to About
- a metadata strip (last-updated, licence, repo)
The previous expanded footer drowned every page in 5 disclaimer
paragraphs; readers either skipped or felt sermonised. The compact
version reads cleanly and routes detail-seekers to a destination
designed to receive them. */
footer.colophon {
background: var(--bg);
border-top: 1px solid var(--border);
margin-top: 64px;
padding: 36px 32px 40px;
color: var(--ink);
text-align: center;
}
/* Single line on desktop. The verdict is the editorial signature; a
two-line wrap (which 56ch was forcing) breaks its rhythm. We let the
line run to the width of the colophon's centred container; on viewports
too narrow to fit it, font-size drops at the @media break below and
`text-wrap: balance` distributes the wrap evenly across the two
clauses (the natural break is at the period mid-sentence). */
footer.colophon .colophon-verdict {
font-family: var(--serif); font-size: 19px; font-style: italic;
color: var(--ink); margin: 0 auto 24px; line-height: 1.45;
letter-spacing: -0.005em;
text-wrap: balance;
white-space: nowrap;
}
footer.colophon .colophon-caveat {
font-family: var(--sans); font-size: 13px; color: var(--muted);
margin: 0 auto 18px; line-height: 1.55;
/* No max-width: lets the line span the full footer width and stay
on one line at desktop widths. On narrower viewports it wraps
naturally. */
}
footer.colophon .colophon-caveat .colophon-about-link {
color: var(--accent); text-decoration: none; font-weight: 600;
border-bottom: 1px solid var(--accent); margin-left: 6px; white-space: nowrap;
}
footer.colophon .colophon-caveat .colophon-about-link:hover {
background: var(--accent); color: var(--bg);
}
footer.colophon .colophon-meta-line {
font-family: var(--sans); font-size: 11.5px; color: var(--muted);
margin: 0 auto; letter-spacing: 0.02em; line-height: 1.7;
/* No max-width: lets the meta line span the full footer width and
stay on one line at desktop widths. */
}
footer.colophon .colophon-meta-line a {
color: var(--muted); text-decoration: none; border-bottom: 1px solid var(--border);
}
footer.colophon .colophon-meta-line a:hover { color: var(--accent); border-bottom-color: var(--accent); }
.github-link {
display: inline-flex;
align-items: center;
gap: 5px;
white-space: nowrap;
vertical-align: -0.12em;
}
.github-link .github-icon {
width: 1em;
height: 1em;
flex: 0 0 auto;
fill: currentColor;
}
@media (max-width: 720px) {
footer.colophon { padding: 28px 16px 32px; }
/* Mobile: drop the nowrap so the line wraps naturally rather than
overflowing the viewport. text-wrap: balance keeps the wrap even. */
footer.colophon .colophon-verdict { font-size: 16px; white-space: normal; }
}
/* About page — destination, not a tool. Substantive long-form on the
project's purpose, methodology, disclaimers, and citation. Linked to
from the colophon's "About & methodology →". Bahujan register: the
same Newsreader / oxblood / deep-navy voice the rest of the site uses,
but at reading-essay scale rather than dashboard density. */
#about-tab.about-page {
max-width: var(--page-shell-max);
margin: 32px auto 80px;
padding: 0;
font-family: var(--serif);
color: var(--ink);
line-height: 1.6;
}
#about-tab.about-page .about-h2 {
font-family: var(--serif); font-size: 38px; font-weight: 700;
color: var(--ink); margin: 0 auto 24px; letter-spacing: -0.015em;
max-width: var(--page-reading-max);
}
#about-tab.about-page .about-h3 {
font-family: var(--serif); font-size: 19px; font-weight: 700;
color: var(--alarm); margin: 36px auto 8px; letter-spacing: -0.005em;
max-width: var(--page-reading-max);
}
#about-tab.about-page p {
font-family: var(--serif); font-size: 16px; line-height: 1.65;
color: var(--ink); margin: 0 auto 14px;
max-width: var(--page-reading-max);
}
#about-tab.about-page p.about-lede {
font-size: 18.5px; line-height: 1.55; margin-bottom: 28px;
border-left: 3px solid var(--accent); padding-left: 16px;
font-weight: 500;
}
#about-tab.about-page code {
font-family: var(--mono); font-size: 13.5px; background: var(--chip-bg);
padding: 2px 6px; border-radius: 4px; color: var(--ink);
}
#about-tab.about-page a {
color: var(--accent); text-decoration: none;
border-bottom: 1px solid var(--accent);
}
#about-tab.about-page a.github-link {
font-family: var(--sans);
font-size: 14px;
font-weight: 700;
}
#about-tab.about-page a:hover { background: var(--accent); color: var(--bg); }
#about-tab.about-page .about-license {
max-width: var(--page-reading-max);
margin: 12px auto 20px;
padding: 18px 20px;
border: 1px solid var(--border);
border-left: 3px solid var(--accent);
background: var(--panel);
color: var(--ink);
}
#about-tab.about-page .about-license p {
max-width: none;
margin: 0 0 14px;
font-size: 15.5px;
}
#about-tab.about-page .about-license dl {
display: grid;
gap: 10px;
margin: 0;
font-family: var(--sans);
}
#about-tab.about-page .about-license div {
display: grid;
grid-template-columns: minmax(112px, 0.36fr) 1fr;
gap: 14px;
align-items: baseline;
}
#about-tab.about-page .about-license dt {
color: var(--muted);
font-size: 12px;
font-weight: 800;
letter-spacing: 0.08em;
text-transform: uppercase;
}
#about-tab.about-page .about-license dd {
margin: 0;
font-size: 14px;
line-height: 1.5;
}
#about-tab.about-page .about-license a {
font-weight: 700;
}
#about-tab.about-page p.about-verdict {
font-family: var(--serif); font-size: 22px; font-style: italic;
font-weight: 500; color: var(--ink); margin: 56px auto 0;
padding-top: 28px; border-top: 2px solid var(--alarm);
text-align: center; letter-spacing: -0.005em; line-height: 1.45;
max-width: var(--page-reading-max);
}
@media (max-width: 720px) {
#about-tab.about-page { margin: 16px auto 48px; }
#about-tab.about-page .about-h2 { font-size: 30px; }
#about-tab.about-page .about-h3 { font-size: 17px; }
#about-tab.about-page p { font-size: 15.5px; }
#about-tab.about-page p.about-lede { font-size: 17px; }
#about-tab.about-page .about-license { padding: 16px; }
#about-tab.about-page .about-license div {
grid-template-columns: 1fr;
gap: 2px;
}
#about-tab.about-page p.about-verdict { font-size: 19px; }
}
header.masthead p { margin: 10px auto 0; color: var(--muted); font-size: 13px; max-width: 720px; line-height: 1.55; }
/* ============================================================
HERO (Phase-2 redesign): a single search input + 4 quick-filter
chips, sitting directly under the masthead. Replaces the previous
sidebar-only search affordance. The motto is "minimum to scan,
maximum to act on" — one keystroke and a click should be enough
to narrow 300 ads to ~10.
============================================================ */
.hero-search { background: var(--panel); border-bottom: 1px solid var(--border); padding: 18px 32px 22px; }
.hero-search-inner { max-width: var(--page-shell-max); margin: 0 auto; }
.hero-search-box {
display: flex; align-items: stretch; gap: 0;
background: var(--panel); border: 1px solid var(--border);
border-radius: 12px; box-shadow: 0 1px 2px rgba(15,23,42,0.04);
overflow: hidden;
}
.hero-search-box:focus-within {
border-color: var(--accent);
box-shadow: 0 0 0 4px rgba(31, 78, 121, 0.15), 0 1px 2px rgba(15,23,42,0.04);
}
.hero-search-box .search-cell {
display: flex; align-items: center; gap: 10px;
flex: 1; padding: 0 16px; min-height: 48px;
}
.hero-search-box .search-cell .search-ico {
color: var(--muted); font-size: 16px; flex-shrink: 0;
}
.hero-search-box input {
flex: 1; min-width: 0;
border: none; outline: none; background: transparent;
font: inherit; font-size: 14px; color: var(--ink); padding: 0;
}
.hero-search-box input::placeholder { color: var(--muted-soft); }
.hero-search-box .clear-btn {
background: transparent; border: none; cursor: pointer;
color: var(--muted); font-size: 16px; padding: 4px 8px;
border-radius: 6px; flex-shrink: 0;
}
.hero-search-box .clear-btn:hover { background: var(--chip-bg); color: var(--ink); }
.hero-search-box .clear-btn[hidden] { display: none; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; align-items: center; }
.hero-chips .chips-label { font-size: 12px; color: var(--muted); margin-right: 4px; }
.hero-chips .quick-chip {
background: var(--panel); border: 1px solid var(--border);
color: var(--ink); padding: 6px 12px; border-radius: 16px;
font: inherit; font-size: 12px; font-weight: 500; cursor: pointer;
transition: border-color .15s, background .15s, color .15s;
}
.hero-chips .quick-chip:hover { border-color: var(--accent); color: var(--accent); }
/* "On" state: a quick-chip that's currently driving the filter set. */
.hero-chips .quick-chip.on {
background: var(--accent); border-color: var(--accent); color: var(--panel);
}
nav.tabs { background: var(--panel); border-bottom: 1px solid var(--border); padding: 0 32px; display: flex; gap: 4px; align-items: stretch; }
nav.tabs .tabs-spacer { flex: 1; }
nav.tabs .tabs-right { flex: 1; display: flex; gap: 4px; justify-content: flex-end; align-items: center; }
nav.tabs button { background: transparent; border: none; padding: 14px 18px; font: inherit; font-size: 15px; cursor: pointer; color: var(--muted); border-bottom: 3px solid transparent; margin-bottom: -1px; font-weight: 600; }
nav.tabs button.active,
nav.tabs button[aria-selected="true"] { color: var(--accent); border-bottom-color: var(--accent); font-weight: 700; }
nav.tabs .tab-count { color: var(--muted); font-weight: 400; margin-left: 6px; font-variant-numeric: tabular-nums; }
/* WCAG 2.5.5: 44x44 tap area. Visual button stays compact via inner pseudo-disc. */
nav.tabs .theme-toggle { background: transparent; border: none; cursor: pointer; color: var(--muted); padding: 0; align-self: center; transition: color .15s; font-size: 14px; line-height: 1; min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; position: relative; }
nav.tabs .theme-toggle::before { content: ""; position: absolute; left: 50%; top: 50%; width: 32px; height: 32px; transform: translate(-50%, -50%); border: 1px solid var(--border); border-radius: 18px; transition: border-color .15s, background .15s; pointer-events: none; }
nav.tabs .theme-toggle:hover { color: var(--accent); }
nav.tabs .theme-toggle:hover::before { border-color: var(--accent); }
/* Single-column layout. The filter strip + tab bar span full width above,
but `main` is centred at a comfortable reading width — long listing
rows stretching edge-to-edge on a wide monitor are unscannable. 1080 px
is the About page's visible reading width, used everywhere so tab
changes do not jump between unrelated measures. */
main { width: 100%; padding: 18px 24px 40px; max-width: var(--page-shell-max); margin: 0 auto; overflow-x: clip; }
#listings-tab,
#saved-tab,
#map-tab,
#vacancies-tab,
#resources-tab,
#coverage-tab,
#about-tab.about-page {
width: 100%;
max-width: var(--page-shell-max);
margin-left: auto;
margin-right: auto;
}
/* ============================================================
HORIZONTAL FILTER STRIP
A row of click-to-open dropdowns. Each trigger button shows the
filter name + the count of selections under it (when any). The
popover that drops down contains the same checkbox markup the
old sidebar used — IDs preserved so existing JS keeps working.
One dropdown open at a time; click-outside closes.
============================================================ */
.filter-strip {
background: color-mix(in srgb, var(--panel) 92%, var(--bg) 8%);
border-top: 1px solid var(--border);
border-bottom: 1px solid var(--border);
padding: 8px 32px; display: flex; flex-wrap: wrap; gap: 8px;
align-items: center; justify-content: center; position: sticky; top: 0; z-index: 1000;
}
.filter-strip .strip-label { font-size: 12px; color: var(--muted); margin-right: 4px; font-weight: 500; }
.filter-search {
display: inline-flex; align-items: center; gap: 7px;
min-height: 40px; min-width: 260px; max-width: 360px; flex: 1 1 280px;
padding: 0 10px; border: 1px solid var(--border); border-radius: 4px;
background: var(--panel); color: var(--muted);
}
.filter-search:focus-within {
border-color: var(--accent);
box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 16%, transparent);
}
.filter-search .search-ico { font-size: 14px; line-height: 1; flex-shrink: 0; }
.filter-search input {
width: 100%; min-width: 0; border: 0; outline: 0; background: transparent;
color: var(--ink); font: inherit; font-size: 13px; padding: 8px 0;
}
.filter-search input::placeholder { color: var(--muted-soft); }
/* WCAG 2.5.5: 44 px minimum tap area. The visual chip stays compact via
padding; the min-height pads the focusable rect to the AA target without
visibly inflating the pill. */
.filter-strip .quick-chip { background: transparent; border: 1px solid var(--border); border-radius: 4px; padding: 7px 12px; min-height: 40px; font: inherit; font-size: 13px; color: var(--ink); cursor: pointer; display: inline-flex; align-items: center; gap: 8px; transition: background .15s, border-color .15s, color .15s; font-weight: 650; }
.filter-strip .quick-chip:hover { background: var(--chip-bg); }
.filter-strip .quick-chip .quick-chip-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); transition: background .15s; }
/* Reserved-posts chip pressed state uses Primary cobalt — affirmative
action gets its actual political color, not a generic 'go' green. */
.filter-strip .quick-chip[aria-pressed="true"] { background: var(--accent); color: #fff; border-color: var(--accent); }
.filter-strip .quick-chip[aria-pressed="true"] .quick-chip-dot { background: #fff; }
.filter-strip .quick-chip[aria-pressed="true"] .sel-pill { background: rgba(255,255,255,0.25); color: #fff; }
.filter-dd { position: relative; }
.filter-dd > .filter-trigger {
background: transparent; border: 1px solid var(--border); border-radius: 4px;
padding: 7px 12px; min-height: 40px; font: inherit; font-size: 13px; color: var(--ink);
cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
transition: border-color .15s, background .15s;
}
.filter-dd > .filter-trigger:hover { border-color: var(--accent); }
.filter-dd.has-active > .filter-trigger { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 8%, transparent); }
.filter-dd > .filter-trigger .sel-pill {
font-size: 11px; font-weight: 600; padding: 1px 7px; border-radius: 10px;
background: var(--accent); color: var(--panel); margin-left: 2px;
}
.filter-dd > .filter-trigger .chev { color: var(--muted); font-size: 10px; }
.filter-dd > .popover {
position: absolute; top: calc(100% + 6px); left: 0;
background: var(--panel); border: 1px solid var(--border);
border-radius: 4px; box-shadow: 0 12px 32px rgba(15,23,42,0.14);
padding: 12px; min-width: 240px; max-width: 320px;
z-index: 1100; display: none;
}
/* Right-edge filters (Location, Institution type): open the popover
leftward so it doesn't extend off-screen on the right. */
.filter-dd:last-child > .popover,
.filter-dd:nth-last-child(2) > .popover {
left: auto; right: 0;
}
.filter-dd.open > .popover { display: block; }
.filter-dd > .popover .filter-group { display: flex; flex-direction: column; gap: 2px; }
.filter-dd > .popover .filter-group.scrollable { max-height: 280px; overflow-y: auto; }
/* Small helper: a "Clear" link inside each popover. */
.filter-dd > .popover .popover-foot { display: flex; justify-content: space-between; align-items: center; padding: 8px 4px 0; margin-top: 8px; border-top: 1px solid var(--border); font-size: 12px; }
.filter-dd > .popover .popover-foot button { background: transparent; border: none; color: var(--muted); font: inherit; font-size: 12px; cursor: pointer; padding: 4px 6px; border-radius: 4px; }
.filter-dd > .popover .popover-foot button:hover { color: var(--accent); background: var(--chip-bg); }
/* Reuse the existing label / cnt styling from the old sidebar. */
.filter-strip .filter-group label { display: flex; align-items: center; gap: 8px; padding: 6px 4px; cursor: pointer; font-size: 13px; border-radius: 4px; }
.filter-strip .filter-group label:hover { background: var(--chip-bg); }
.filter-strip .filter-group label .grow { flex: 1; }
.filter-strip .filter-group label .cnt { color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
@media (max-width: 720px) {
.filter-strip { padding: 8px 14px; gap: 6px; }
.filter-search { order: -1; flex-basis: 100%; max-width: none; min-width: 0; }
.filter-dd > .popover { left: -4px; right: auto; min-width: calc(100vw - 28px); }
}
aside { background: var(--panel); border: 1px solid var(--border); border-radius: 10px; position: sticky; top: 16px; max-height: calc(100vh - 32px); overflow-y: auto; overscroll-behavior: contain; }
aside .search-wrap { padding: 16px 16px 12px; border-bottom: 1px solid var(--border); }
aside label.upper { font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); font-weight: 600; display: block; margin-bottom: 6px; }
aside .search-box { position: relative; }
aside .search-box input { width: 100%; padding: 9px 12px 9px 32px; border: 1px solid var(--border); border-radius: 6px; background: var(--bg); color: var(--ink); font: inherit; font-size: 13px; outline: none; }
aside .search-box .search-ico { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 13px; }
.filter-section { border-bottom: 1px solid var(--border); }
.filter-section:last-of-type { border-bottom: none; }
.filter-section > button.filter-head { width: 100%; background: transparent; border: none; cursor: pointer; padding: 12px 16px; font: inherit; font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink); font-weight: 700; display: flex; justify-content: space-between; align-items: center; }
.filter-section .filter-head .sel-count { color: var(--accent); font-weight: 700; margin-left: 6px; }
.filter-section .filter-head .chev { font-size: 10px; transition: transform 0.15s; }
.filter-section.open .filter-head .chev { transform: rotate(90deg); }
.filter-section .filter-body { padding: 0 16px 12px; display: none; }
.filter-section.open .filter-body { display: block; }
.filter-group label { display: flex; align-items: center; gap: 8px; padding: 4px 0; cursor: pointer; font-size: 13px; }
.filter-group input[type="checkbox"] { accent-color: var(--accent); cursor: pointer; margin: 0; }
.filter-group label .grow { flex: 1; }
.filter-group label .cnt { color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.filter-group.scrollable, .filter-group .scrollable { max-height: 220px; overflow-y: auto; }
section#feed { width: 100%; min-width: 0; }
.chipbar { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; align-items: center; }
.chipbar .chip-active { background: var(--chip-bg); color: var(--ink); padding: 3px 9px; border-radius: 12px; font-size: 12px; display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--border); }
/* Active-filter chip × — keep visual glyph small, but expose a 24px tap area
via padding. Full 44x44 would visibly inflate the chip; 24x24 is the
minimum target size in WCAG 2.5.8 (AAA, but a reasonable compromise here). */
.chipbar .chip-active button { background: transparent; border: none; color: var(--muted); cursor: pointer; padding: 6px 8px; margin: -6px -6px -6px 0; font-size: 14px; line-height: 1; min-width: 24px; min-height: 24px; display: inline-flex; align-items: center; justify-content: center; border-radius: 4px; }
.chipbar .chip-active button:hover { color: var(--ink); background: var(--border); }
.chipbar .chip-summary { cursor: pointer; background: var(--accent); color: var(--panel); border-color: var(--accent); }
.chipbar .chip-summary button { color: var(--panel); opacity: 0.85; }
.chipbar .chip-summary:hover { opacity: 0.9; }
.chipbar .chip-clear { background: transparent; border: none; color: var(--accent); font: inherit; font-size: 12px; cursor: pointer; padding: 3px 6px; text-decoration: underline; }
.summary-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; flex-wrap: wrap; gap: 10px; color: var(--muted); font-size: 13px; }
.summary-row .emph { color: var(--ink); font-weight: 600; }
.summary-row .active-mark { margin-left: 8px; color: var(--accent); }
.summary-row .sort-wrap { display: flex; align-items: center; gap: 8px; }
.summary-row select { border: 1px solid var(--border); border-radius: 6px; padding: 6px 10px; font: inherit; font-size: 13px; background: var(--panel); color: var(--ink); cursor: pointer; }
/* Disclaimer banner — quieter, single line, dismissible */
.banner { background: color-mix(in srgb, var(--warn) 9%, var(--panel)); border: 1px solid color-mix(in srgb, var(--warn) 38%, var(--border)); color: color-mix(in srgb, var(--warn) 58%, var(--ink)); padding: 8px 12px; border-radius: 4px; margin-bottom: 12px; font-size: 12px; display: flex; gap: 8px; align-items: center; }
.banner .warn-ico { font-size: 14px; line-height: 1; }
/* WCAG 2.5.5: 44x44 tap target. Padding expands the hitbox; glyph stays small. */
.banner button { margin-left: auto; background: transparent; border: none; color: currentColor; cursor: pointer; font-size: 16px; line-height: 1; padding: 14px 14px; opacity: 0.6; min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
.banner button:hover { opacity: 1; }
/* ============================================================
COMPACT ROW LAYOUT (Phase-1 redesign, May 2026).
Replaces the previous 3-band card. Per ad:
[tier-bar 4px] [main content] [large deadline column] [actions]
Same `.listing` class kept so existing JS selectors work; the visual is
row-style. The motto is "minimalism with maximum impact" — every
pixel here was bargained for.
============================================================ */
/* Vacancy-gap headline banner — sits above filters on the Listings tab.
Cobalt + red split: cobalt for the "should be" number, red for the gap.
This is the page's central claim, not decoration. */
/* Compact vacancy-gap line. Replaces the previous full-bleed hero —
a single inline statement of the gap (10,637 vacancies vs N
currently advertised) with a thin alarm-coloured left rule.
Lives at the top of the Vacancies tab. Numerator is hardcoded
in the HTML; the denominator (#vgb-ads) is filled by app.js,
filtered to non-private institutions so the ratio is honest. */
.vacancy-gap-banner.vacancy-gap-banner-compact {
/* No background tint — color-mix(alarm × bg) drifts into beige in
light mode. The 3px alarm left rule + thin neutral top/bottom rules
carry the editorial register without warming the page background. */
background: transparent;
border-left: 3px solid var(--alarm);
border-top: 1px solid var(--border);
border-bottom: 1px solid var(--border);
padding: 12px 18px;
margin: 4px 0 14px;
border-radius: 0;
}
.vacancy-gap-banner.vacancy-gap-banner-compact .vgb-line {
margin: 0;
font-family: var(--serif);
font-style: italic;
font-size: 16.5px;
line-height: 1.55;
color: var(--ink);
text-align: center;
letter-spacing: 0.005em;
}
.vacancy-gap-banner.vacancy-gap-banner-compact .vgb-num {
/* Numbers stay editorial-bold but switch off italic so the digits read
cleanly. Tabular nums keep 10,637 and 249 from drifting on width. */
font-family: var(--sans);
font-style: normal;
color: var(--alarm);
font-weight: 800;
font-size: 19px;
font-variant-numeric: tabular-nums;
letter-spacing: -0.015em;
padding: 0 1px;
}
.vacancy-gap-banner.vacancy-gap-banner-compact .vgb-link {
font-family: var(--sans);
font-style: normal;
color: var(--accent);
text-decoration: none;
font-weight: 600;
margin-left: 10px;
border-bottom: 1px solid var(--accent);
white-space: nowrap;
}
.vacancy-gap-banner.vacancy-gap-banner-compact .vgb-link:hover {
background: var(--accent);
color: var(--bg);
}
html[data-theme="dark"] .vacancy-gap-banner.vacancy-gap-banner-compact {
background: color-mix(in srgb, var(--alarm) 12%, var(--bg));
}
.feed-list { display: flex; flex-direction: column; gap: 22px; }
/* Load-more button — large, satisfying tap target. Cobalt to align with
the political register; the chevron suggests progressive expansion. */
.load-more { display: block; width: 100%; margin: 14px 0 0; padding: 18px 24px; background: var(--panel); border: 2px solid var(--accent); border-radius: 10px; color: var(--accent); font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; transition: background .15s, color .15s; text-align: center; letter-spacing: 0.01em; }
.load-more:hover { background: var(--accent); color: #fff; }
.load-more:hover .lm-sub { color: rgba(255,255,255,0.85); }
.load-more .lm-sub { display: inline; color: var(--muted); font-weight: 500; margin-left: 6px; }
.load-more-done { text-align: center; padding: 14px; font-size: 13px; color: var(--muted); font-style: italic; margin-top: 14px; border-top: 1px dashed var(--border); }
/* === Listing card (discipline-first, May 2026 redesign) =============
*
* Three-line headline scanned in <2 seconds:
* DISCIPLINE — what field is this (h3, large serif)
* Rank · Contract — what kind of position (smaller serif)
* Institution, City — the where (sans body)
*
* Reservation row, deadline, and actions follow. The institution's own
* ad title is no longer rendered as the headline; it duplicates the
* discipline + rank + contract that now appear in their own lines.
*
* Layout grid (desktop):
* [4-px tier bar] [headline (1fr)] [deadline column] [star]
* The reservation row, traps, apply links, and details disclosure
* span the full row width below the headline grid.
*/
.listing {
background: var(--panel); border: 1px solid var(--border);
border-radius: 8px; padding: 38px 42px 36px;
transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
position: relative; display: block;
box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.listing:hover {
border-color: var(--accent);
background: color-mix(in srgb, var(--panel) 96%, var(--accent) 4%);
box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}
html[data-theme="dark"] .listing {
box-shadow: 0 1px 4px rgba(0,0,0,0.25);
}
html[data-theme="dark"] .listing:hover {
background: color-mix(in srgb, var(--panel) 92%, var(--accent) 8%);
box-shadow: 0 4px 16px rgba(0,0,0,0.4);
}
/* All listing cards (public + private) share the same neutral
surface and the same cobalt hover. The earlier scope-private
amber/brown hover override was the "ugly brown" tinge — dropped
so private-uni cards don't read as visually downranked. The
"Private university" tag in the card meta is sufficient as
scope signal; we don't need a colour difference too. */
.listing.scope-public,
.listing.scope-private {
background: var(--panel);
border-color: var(--border);
}
.listing.lifecycle-history {
border-style: dashed;
background: color-mix(in srgb, var(--panel) 96%, var(--chip-bg) 4%);
}
.listing .history-banner {
margin: -18px 0 18px;
padding: 8px 10px;
border: 1px solid var(--border);
border-radius: 6px;
background: var(--chip-bg);
color: var(--muted);
font-size: 12.5px;
line-height: 1.45;
}
.listing .chip.history-status {
color: #78350f;
background: rgba(120, 53, 15, 0.08);
border-color: rgba(120, 53, 15, 0.24);
font-weight: 650;
}
/* Tier bar removed entirely — the 4px strip on the left of every
listing read as a vestigial decorative accent. Urgency is now
conveyed by the deadline column's red intensity alone. */
.listing .tier-bar { display: none; }
/* Headline grid: discipline + rank + inst on the left, deadline column
on the right, star button in its own column. */
.listing .card-body {
display: grid;
grid-template-columns: 1fr auto auto;
gap: 18px;
align-items: start;
}
.listing .card-headline { min-width: 0; }
/* Headline = institution + parenthetical campus city. The institution
is the candidate's primary scan target (the filter strip already
handles discipline / position / contract / location-state). The
campus city is rendered in muted weight to read as parenthetical
disambiguator without competing with the institution name. */
.listing .card-institution {
margin: 0;
font-family: var(--serif); font-size: 28px; font-weight: 700;
line-height: 1.08; color: var(--ink); letter-spacing: -0.014em;
display: inline-flex; align-items: center; flex-wrap: wrap; gap: 8px;
}
.listing .card-institution .card-campus {
font-family: var(--serif); font-weight: 500;
color: var(--muted); letter-spacing: 0;
}
/* Subhead carries the discipline + rank + contract in one line. The
discipline is the secondary scan target — bolder weight inside the
subhead, with the separator and rank in lighter weight. Italic
register matches the publication aesthetic without competing with
the headline. */
.listing .card-subhead {
margin: 10px 0 0;
font-family: var(--sans); font-size: 15.5px; line-height: 1.45;
color: var(--muted); font-style: normal;
}
.listing .card-subhead .card-rank {
color: var(--ink); font-weight: 650; font-style: normal;
}
.listing .card-subhead .card-discipline {
color: var(--muted); font-weight: 500;
}
.listing .card-subhead .card-contract-inline {
color: var(--warn); font-weight: 650;
}
/* Flag row: posts count + provenance flags + dates. */
.listing .card-flags {
display: flex; flex-wrap: wrap; gap: 8px 14px;
margin: 14px 0 0;
font-family: var(--sans); font-size: 11.5px;
}
.listing .card-footer {
display: flex;
justify-content: space-between;
align-items: center;
margin-top: 24px;
padding-top: 16px;
gap: 20px;
border-top: 1px dashed var(--border);
}
.listing .card-flags.bottom-right {
margin: 0;
justify-content: flex-end;
align-items: center;
text-align: right;
}
.listing .card-flag {
color: var(--muted); font-weight: 500;
}
.listing .card-flag.scope {
border: 0;
border-radius: 0;
padding: 0;
font-size: 11.5px;
font-weight: 500;
text-transform: none;
letter-spacing: 0;
}
.listing .card-flag.scope.public { color: var(--muted); background: transparent; }
.listing .card-flag.scope.private { color: var(--muted); background: transparent; }
.listing .card-flag.warn { color: #8a3a1a; font-weight: 600; }
.listing .card-flag.manual { color: #78350f; font-weight: 600; }
.listing .card-flag.dim { color: var(--muted); opacity: 0.85; }
/* Deadline + actions retain their previous selectors so existing CSS
rules below — .row-deadline, .row-actions, .star, etc. — keep
applying. We rename the *containers* but keep the content classes. */
.listing .card-deadline { text-align: right; flex-shrink: 0; min-width: 106px; }
.listing .card-actions { display: flex; flex-direction: column; gap: 4px; align-items: center; }
/* Mobile: collapse the actions column (star moves under flags), drop
the dedicated padding for a denser scroll. */
@media (max-width: 720px) {
.listing { padding: 26px 22px; }
.listing .card-body { grid-template-columns: 1fr auto; gap: 12px; }
.listing .card-actions { display: none; }
.listing .card-institution { font-size: 21px; line-height: 1.15; }
.listing .card-subhead { font-size: 15px; }
.listing .card-deadline { min-width: 72px; }
.listing .card-footer { flex-direction: column; align-items: stretch; gap: 14px; }
.listing .card-flags.bottom-right { justify-content: flex-start; text-align: left; }
.listing .reserv-info-pop { right: auto; left: 0; }
}
/* Backwards-compat selectors so existing CSS for deadline / star /
reservation pills / traps / apply links / details — written against
.row-deadline, .row-actions etc. — keep applying. */
.listing .card-deadline { /* alias of old .row-deadline */ }
.listing .card-actions { /* alias of old .row-actions */ }
/* Meta-line: institution / department / job-type / reservation pills */
.listing .row-meta { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 12px; }
.listing .meta-pill { display: inline-flex; align-items: center; gap: 5px; padding: 2px 8px; border-radius: 14px; font-weight: 500; line-height: 1.4; }
/* Institution pill — soft accent, the strongest secondary identifier after the title. */
.listing .meta-pill.m-inst { background: var(--chip-bg); color: var(--accent); border: 1px solid var(--border); }
/* Department pill — outlined neutral. */
.listing .meta-pill.m-dept { background: transparent; color: var(--ink); border: 1px solid var(--border); }
/* Job-type / contract pills — muted chips. */
.listing .meta-pill.m-job { background: var(--chip-bg); color: var(--muted); border: 1px solid var(--border); font-weight: 400; }
.listing .chip.chip-contract { background: #fff7ed; color: #9a3412; border-color: #fed7aa; font-weight: 700; }
.listing .chip.chip-postdoc { background: #f1f5f9; color: #475569; border-color: #cbd5e1; font-weight: 600; }
.listing .meta-pill.m-job.lowconf { background: #fde2d6; color: #8a3a1a; border-color: #f5c5a8; font-weight: 500; }
/* Hand-transcribed entries (no primary-source URL on the institution's
own site). Yellow-on-tan to differentiate from rough-parse red, while
still flagging "verify before relying on this". */
.listing .meta-pill.m-job.manual-stub-pill { background: #fef3c7; color: #78350f; border-color: #fde68a; font-weight: 500; cursor: help; }
.listing .meta-tert { color: #545049; font-size: 11.5px; padding: 0 2px; }
html[data-theme="dark"] .listing .meta-tert { color: #b3aea3; }
/* Reservation pills — colour-coded per category so a quick glance shows
which seats are SC/ST/OBC/EWS/PwBD. Counts are appended where parsed. */
.listing .reserv-group { display: inline-flex; gap: 3px; align-items: center; flex-wrap: wrap; }
.listing .reserv-pill { font-size: 9.5px; font-weight: 700; letter-spacing: 0.04em; padding: 2px 5px; border-radius: 4px; line-height: 1.2; border: 1px solid; }
.listing .reserv-pill.r-UR { background: #fff7ed; color: #9a3412; border-color: #fed7aa; }
.listing .reserv-pill.r-SC { background: #eff6ff; color: #1e40af; border-color: #bfdbfe; }
.listing .reserv-pill.r-ST { background: #f0fdf4; color: #166534; border-color: #bbf7d0; }
.listing .reserv-pill.r-OBC { background: #f5f5f4; color: #1c1917; border-color: #a8a29e; }
.listing .reserv-pill.r-EWS { background: #fff7ed; color: #9a3412; border-color: #fed7aa; }
.listing .reserv-pill.r-PwBD { background: #faf5ff; color: #6b21a8; border-color: #e9d5ff; }
html[data-theme="dark"] .listing .reserv-pill { filter: brightness(0.9) saturate(0.85); }
/* Inline reservation strip — surfaces the per-institution policy
(SC/ST/OBC/EWS/PwBD percentages) directly under the meta line, not
buried in the details disclosure. Each category is colour-coded with
the same palette as the per-position pills. */
.listing .row-reserv { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; margin: 10px 0 0; grid-column: 2 / span 3; }
.listing .reserv-info { position: relative; }
.listing .art16-btn {
display: inline-flex; align-items: center; gap: 9px;
padding: 8px 16px 8px 12px;
border-radius: 999px;
font-size: 12px;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 0.06em;
cursor: pointer;
background: var(--chip-bg);
color: var(--ink);
border: 1px solid var(--border);
list-style: none;
user-select: none;
transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
line-height: 1;
}
.listing .art16-btn::before {
content: "";
width: 8px;
height: 8px;
border-radius: 50%;
flex-shrink: 0;
}
.listing .art16-btn:hover { background: var(--border); }
.listing .art16-btn::-webkit-details-marker { display: none; }
.listing .art16-btn.art16-saffron::before {
background: #FF9933;
}
.listing .art16-btn.art16-blue::before {
background: var(--ambedkar-blue);
}
.listing .art16-btn.art16-grey::before {
background: #9ca3af;
}
.listing .art16-btn.art16-strike {
position: relative;
overflow: hidden;
}
.listing .art16-btn.art16-strike::after {
content: "";