/* Nov 20, 2026 (Richard, Mock-ups A–E): text you can read. GBC Design Guide, section 2 ("Colours" and "Text you can
   read"): every text passes WCAG AA against what is really behind it (4.5:1; 3:1 for large text), in Vivid and
   Serene, Day and Night. Loaded last by the ERP, Equipment, HR & Payroll and the shared frame, so a new page, window,
   card or button gets readable colours by itself. A text colour changes here, never on one page; check every change
   with the text check (ERP Checks\Tools\text-check). Process Flow, its own app, has the same rules in pfm-look.css. */

/* 1. The greys by Day: darker (they were too faint on the light glass), the same in Vivid and Serene. --muted and
      --faint follow them. */
html:not(.dark) { --ink2: #26364b; --ink3: #36485d; }
html:not(.dark) body { --muted: var(--ink2); --faint: var(--ink3); }
html:not(.dark) ::placeholder { color: var(--ink3) !important; }
html body .plist .row .chev { color: var(--ink3) !important; }
html body .st-t { color: var(--ink2) !important; }
html:not(.dark) body .eq-note2 { color: var(--ink2) !important; }

/* 2. The greys at Night: the faintest grey and empty-field hints a little lighter */
html.dark { --ink3: #b8c6d6 !important; --faint: #b8c6d6 !important; }
html.dark body .st-t { color: #b8c6d6 !important; }
/* rows shown as "not yet" (the Year pages) are greyed by colour, not made see-through */
html body .ypt tr.muted td, html body table.year tr.muted td { opacity: 1 !important; }
html body .top .sec .sep { opacity: .75 !important; }

/* 3. The frame, on every page */
html:not(.dark) body .conn-line.on .conn-w { color: #035234 !important; }                       /* status box "Online" */
html body .top .avatar, html body .menu-pop .avatar, html body .top .avatar-btn .avatar {      /* the account initials */
  background: linear-gradient(135deg, #1a56c4, #0b6f80) !important; color: #fff !important; }
html body .iconbtn .cnt { background: #c4153f !important; color: #fff !important; font-size: 11px !important; }  /* the bell's count */
/* a count in the side menu: white on navy by Day, navy on a light chip at Night (as on the gold current page) */
html body .nav-badge.nav-badge:not(.exec):not(.zy), html body .tab-badge.tab-badge:not(.exec),
html body .side .admin-btn .nav-badge.nav-badge:not(.exec) { background: #0d1f36 !important; color: #fff !important; }
html.dark body .nav-badge.nav-badge:not(.exec):not(.zy), html.dark body .tab-badge.tab-badge:not(.exec),
html.dark body .side .admin-btn .nav-badge.nav-badge:not(.exec) { background: #e9f2fc !important; color: #0d1f36 !important; }

/* 4. Named items */
/* Compute is a main button: the one gold (GBC Design Guide, section 2, Colours), dark text */
html body .pay-status .btn.compute, html body .btn.compute { background: linear-gradient(180deg, var(--hl-a), var(--hl-b)) !important;
  color: var(--hl-ink) !important; border-color: transparent !important; }
html body .btn.compute svg { color: inherit !important; }
html:not(.dark) body .main :is(.warn-text, .notice.warn) strong, html:not(.dark) body .main .warn-text { color: #6b3f00 !important; }
html:not(.dark) body .danger-title { color: #8f1030 !important; }
html:not(.dark) body .eq-wait { color: #8a3f00 !important; }
html.dark body .eq-wait { color: #fbbf24 !important; }
html body .btn.attn-go, html.dark body .btn.attn-go { background: #c2410c !important; }
html body .rp-ic.y { background: #047857 !important; }
html body .node .av, html body .node .more { background: color-mix(in srgb, var(--c) 68%, #000) !important; }   /* Org Chart */
html:not(.dark) body .stair.h5 { background: #3d6fb0 !important; color: #fff !important; }
html:not(.dark) body .stair.h2 { color: #0b5560 !important; }
html:not(.dark) body :is(.signin-card, .gbc-pw-win, .pw-card, .pw-out) a:not(.btn) { color: #082e5c !important; }
html.dark body .tag-inactive { color: #e2e8f0 !important; }
html.dark body .modtag.payroll { color: #a7f3d0 !important; }
html.dark body .adm-role { color: #bfdbfe !important; }

/* 5. Nothing under 11 px */
html body span.lbl { font-size: 11px !important; }
html body .sec-card .cap, html body .sec-row1 .cap { font-size: 11px !important; }

/* 6. After the first check of the build (Nov 20): what was still just under the bar */
/* windows' glass is greyer by Day: their greys one step darker again */
html:not(.dark) body .gbc-win { --ink2: #1f2d3f; --ink3: #2f4055; --muted: #1f2d3f; --faint: #2f4055; }
html:not(.dark) body :is(th, dt, .rp-li.n, .rp-ic.n, .rp-sec, span.muted, table.att-grid button.pop.g-none, td.r.g-pay, .node small,
  .scroll-arrow) { color: #1f2d3f !important; }
html:not(.dark) body :is(.danger-title, .del-card.del-card .adm-head strong) { color: #7a0d28 !important; }   /* Nov 21 (Richard, R11): also the Delete login card title (erp.css #b42318: 4.7:1 on Serene Day) */
html body .sw.on { background: #17733f !important; }
html:not(.dark) body .pw-out a { color: #1a4f9c !important; }
/* Night: the second grey and hints a little lighter */
html.dark { --ink2: #d0dbe7 !important; --muted: #d0dbe7 !important; }
html.dark ::placeholder { color: #e2e9f1 !important; }
html.dark body .modtag.erp { color: #c7d2fe !important; }
/* small notes inside windows and forms (window.css set them to one fixed grey, too faint on the greyer window glass) */
html:not(.dark) body .gbc-win-card :is(.muted, p.small, small, .sub, .adm-foot, .pw-sub):not(.zz):not(.zy),
html:not(.dark) body .main form :is(.muted, p.small, small):not(.zz):not(.zy),
html:not(.dark) body :is(.fc-group, .up-step, dl.kv dt, td.r.g-pay, .rp-sec) { color: #1f2d3f !important; }
html.dark body .gbc-win-card :is(.muted, p.small, small, .sub, .adm-foot, .pw-sub):not(.zz):not(.zy),
html.dark body .main form :is(.muted, p.small, small):not(.zz):not(.zy),
html.dark body :is(.muted, .small.muted, .stat .sub, dl.kv dt, th, .rp-ic.n, .chev, .scroll-arrow,
  span.pill:not(.ok):not(.warn):not(.bad):not(.danger):not(.info):not(.on)) { color: var(--ink2) !important; }
html:not(.dark) body .main small:not([class]) { color: var(--ink2) !important; }
html:not(.dark) body .gbc-win-card p.small a, html:not(.dark) body .main p.small a, html:not(.dark) body .pw-out a,
html:not(.dark) body details > summary:not(.btn) { color: #0d3f7a !important; }
html:not(.dark) body .adm-pill.warn { color: #5c0a1e !important; }
html.dark body .pill.ok { color: #a7f3d0 !important; }
html.dark body .pill.warn { color: #fde68a !important; }
html.dark body .warn-text { color: #fde68a !important; }
/* fields at Night: a slightly deeper fill, so light words stand out */
html.dark body :is(input:not([type=checkbox]):not([type=radio]):not([type=file]), select, textarea) { background-color: rgba(4, 12, 26, .38) !important; }
/* the last ones the check found (Nov 20) */
html.dark body :is(.gbc-win-card, .main) :is(input, textarea)::placeholder { color: #e2e9f1 !important; }
html body :is(.lk-name, .lk-modes, .lk-p) small { opacity: 1 !important; color: var(--ink2) !important; }
html:not(.dark) body .up-site:not(.up-done) .up-head .small { color: #6b3f00 !important; }
html:not(.dark) body :is(.gbc-win-card, .main) .up-drop span:not(.zz) { color: var(--ink) !important; }
html:not(.dark) body :is(.period-older, .period-older a) { color: #6b3a00 !important; }
html:not(.dark) body :is(.gbc-win-card p.small a, .main p.small a) { color: #082e5c !important; }
html:not(.dark) body :is(.login-foot, .pw-out, .signin-card li, .pw-card li) { color: #10233f !important; }
html:not(.dark) body :is(dt, .rp-ic.n, .sec-card .cap) { color: #1f2d3f !important; }
html.dark body .adm-pill.warn { color: #fecdd3 !important; }
html:not(.dark) body table.summary-table td strong { color: #4a0b57 !important; }
html body .yrow.empty, html body tr.muted td { opacity: 1 !important; }
html:not(.dark) body .yrow.empty :is(span, b, small) { color: #1f2d3f !important; }
html.dark body span.pill:not(.ok):not(.warn):not(.bad):not(.danger):not(.info):not(.on) { color: #eef3f8 !important; }
html:not(.dark) body :is(dl dt, #gbc-none):not(.zz) { color: #17243a !important; }   /* #gbc-none only lifts its weight above section 6 */
html.dark body :is(th, th *, td.r.g-pay, tr.muted td):not(.zz) { color: #e2e9f1 !important; }
html.dark body :is(.stairs-l, .stairs-l *) { color: var(--ink2) !important; }
/* the final check (more practice data in Users, Logs and Year) */
html:not(.dark) body :is(.acc-no, .tag-inactive) { color: #1f2d3f !important; }
html:not(.dark) body .adm-pill.ok { color: #023f28 !important; }
/* Delete: white on a red deep enough to read, by Day too (it was #ef4444 -> #dc2626) */
html:not(.dark) body .btn.btn-delete, html:not(.dark) body .btn.btn-delete:hover { background: linear-gradient(180deg, #dc2626, #b91c1c) !important; }
html.dark body .pill.bad { color: #ffe4e6 !important; }   /* Nov 23 (the tablet check): Serene Night 4.42:1 with #fecaca */
html.dark body .ylist span:not(.pill) { color: #e2e9f1 !important; }
/* the final check of Nov 20 (texts that were already faint before the build) */
html:not(.dark) body .main :is(div.sub, summary.linklike):not(.zz) { color: #1f2d3f !important; }
html:not(.dark) body .main .up-site .small:not(.zz) { color: #5a3500 !important; }
html:not(.dark) body .main table.year td.r.g-pay:not(.zz), html:not(.dark) body .main .ypt td.r.g-pay:not(.zz) { color: #0f1b2b !important; }

/* 7. Nov 21 (Richard): the 16 faint texts the full check still found (worst cases, measured on the screen) */
/* R4 Summary by Day: numbers, names, IDs and hours a deeper plum (look.css set #6d1180, 6.2:1 at best, under 4.5 over bright glass) */
html:not(.dark) body .main.tc-sum:has(.summary-table) :is(td, td :not(.pill, .pill *), p, .muted, small, a:not(.btn), button.pop):not(.pill) { color: #3b0846 !important; }
/* R5 a Year table's "Incomplete: ..." by Day (#6b3f00 above): the darker amber of the window notes */
html:not(.dark) body .main td .warn-text { color: #4a2c00 !important; }
/* R6-R9 Night: the Guards key ("From scans", "Saved", "Rest", "Night") and Payroll's "Next:" took dark.css's #9fb3c9 (3.6:1);
   by Day too: on the shared inner box (sizes.css 6) the key's grey #6b7280 fell to 4.1:1 */
html body :is(.legend .lg-t, .rp-read, .ba-k) { color: var(--ink2) !important; }
/* R10 Users "Yes" at Night: the pale green on its see-through green chip (erp.css #6ee7b7 fell under 4.5:1 on Serene Night) */
html.dark body .adm-pill.ok { color: #d1fae5 !important; }
/* Nov 21 (Richard, after the check): an Admin card's foot note is now plain on the card (sizes.css 6, erp.css), and
   the faint grey #36485d fell to 4.49:1 by Day there: the window grey */
html:not(.dark) body .main :is(.card, section, form) p.adm-foot:not(.zz) { color: #1f2d3f !important; }
/* Nov 21 (the training-copy check): "Or remove this holiday" straight on a window's glass read 4.2:1 by Day, and the
   red "Open" pill on the Before go-live checklist 4.4:1: one step deeper red */
html:not(.dark) body .gbc-win-card.gbc-win-card.gbc-win-card .danger-title { color: #5c0a1e !important; }
html:not(.dark) body .adm-pill.adm-pill.warn { color: #4a0818 !important; }
/* Nov 21 (the simplify build's check): HR & Payroll's checklist, a done step's green note read 4.48:1 by Day on the
   card's glass: one step deeper green */
html:not(.dark) body .main .plist.pp li.done .pp-note:not(.zz) { color: #023f28 !important; }
/* Nov 21 (the one-window build's check): a field's name in a window's form row read 4.46:1 by Day where the window's
   glass sits over a darker part of the photo (Add employee, "Rate"): every form row's field names one step darker */
html:not(.dark) body .gbc-win-card .form-grid > label > span:first-child:not(.zz),
html.embed:not(.dark) body .main .form-grid > label > span:first-child:not(.zz) { color: #17243a !important; }

/* 8. Phones and tablets (Nov 22, 2026, Richard, phone Build 3; GBC Design Guide 8.3): the photo behind the glass is
   cropped brighter (Day) or darker (Night) on a narrow screen, so the near misses the phone check found (4.1-4.49 to 1)
   take the next step of the same colour families. The PC keeps sections 1-7 unchanged. */
@media (max-width: 760px), (pointer: coarse) {
  /* the greys: one step darker by Day (the windows' greys), one step lighter at Night */
  html:not(.dark) { --ink2: #17212e; --ink3: #1f2d3f; }   /* Nov 23 (phone-size test): one more step */
  html.dark { --ink2: #e2e9f1 !important; --ink3: #d0dbe7 !important; --faint: #d0dbe7 !important; }
  html:not(.dark) body :is(.muted, .small, .sub, .chev, .adm-foot, .eq-empty, .eq-note2, .sec-range, .sec-lg, td.muted, .empty, .up-cut):not(.btn):not(button):not(.on):not(.pill):not([class*=warn]):not([class*=err]):not([class*=ok]) { color: var(--ink2) !important; }
  html.dark body :is(.muted, .small, .sub, .chev, .adm-foot, .eq-empty, .eq-note2, .sec-range, .sec-lg, td.muted, .empty, .up-cut, .acc-no, .pop.g-none, summary.small):not(.btn):not(.primary):not(.on):not(.pill):not([class*=warn]):not([class*=err]):not([class*=ok]) { color: #e2e9f1 !important; }
  /* status words: the pill families, darker by Day (section 2, Colours: green #035234, red #7f0d2a, amber #4a2c00) */
  html:not(.dark) body :is(.n.bk-on, .n.bn-st.ok, .adm-pill.ok) { color: #035234 !important; }
  html:not(.dark) body .adm-pill.ok { color: #01331f !important; }   /* Users' "Yes" on its green chip read 3.91:1 at #035234 */
  html:not(.dark) body :is(.n.bk-none, .pop.g-none) { color: var(--ink2) !important; }
  html:not(.dark) body .adm-pill:not(.ok) { color: #7f0d2a !important; }
  html:not(.dark) body .warn-text { color: #4a2c00 !important; }
  /* Night: the window's ✕, the Settings tab names and a notice's heading */
  html.dark body .gbc-win-x { color: #eef4fc !important; }
  html.dark body .st-box nav.tabs a:not(.on) { color: #e2e9f1 !important; }
  html.dark body .notice strong, html.dark body .note-box strong { color: #fde68a !important; }
}

/* 9. Counts (Nov 23, 2026, Richard, Mock-up D; replaces the navy / light-chip counts of section 3): every count in the
   side menu, on the Admin button and in the phone bar, and the red "!" (something needs you), is one pill in the
   bell's red #c4153f with a white number (5.96:1) and a 2 px white ring; a circle for one digit, wider for two or three;
   the same in all four looks and on the gold current page. Unchanged: the bell, the amber Security count, the
   executive's "!" (.exec), counts inside gold tabs. */
html body :is(.nav-badge.nav-badge, .tab-badge.tab-badge):not(.exec):not(.zy):not(.sec-link *),
html.dark body :is(.nav-badge.nav-badge, .tab-badge.tab-badge):not(.exec):not(.zy):not(.sec-link *),
html body .side a.on:not(.zz) .nav-badge.nav-badge:not(.exec):not(.zy),
html body .side .admin-btn .nav-badge.nav-badge:not(.exec):not(.zy),
html body :is(.nav-badge.alert, .side nav a .nav-badge.alert):not(.zy) {
  background: #c4153f !important; color: #fff !important; border-radius: 999px !important;
  box-shadow: 0 0 0 2px #fff, 0 2px 6px rgba(0, 0, 0, .25) !important; display: inline-flex !important; align-items: center;
  justify-content: center; min-width: 22px !important; height: 22px !important; padding: 0 7px !important; font-size: 12px !important;
  font-weight: 800 !important; line-height: 1 !important; box-sizing: border-box !important; }

/* 10. Nov 23 build's check: the role names in the Add a login window by Day (4.44:1), the folded notes' link in Serene
   Night (4.36:1), the "Now" row's amber note at Night on a tablet (4.47:1) */
html:not(.dark) body .gbc-win-card label.check { color: #0f1a28 !important; }   /* #1f2d3f read 4.42:1 on a tablet (Nov 23) */
html.dark body details.note-fold > summary.linklike { color: #c7defc !important; }
html.dark body .main .plist.pp li.now .pp-note:not(.zz) { color: #fef3c7 !important; }

/* 11. The phone-size test (Nov 23, Richard): the last near misses on phones and tablets (4.0-4.49 to 1), one step more
   in their own colour family; each rule carries enough weight to beat the older one that kept the previous colour. */
@media (max-width: 760px), (pointer: coarse) {
  html:not(.dark) body .main span.adm-pill.ok:not(.zz) { color: #001a10 !important; }
  html:not(.dark) body .main span.adm-pill:not(.ok):not(.zz) { color: #3d0612 !important; }   /* No, Open: on the red tint */
  html:not(.dark) body .main .stat .sub:not(.zz) { color: #1a2636 !important; }
  html:not(.dark) body .main .att-grid button.pop.g-none:not(.zz) { color: #17212e !important; }
  html:not(.dark) body .main tr.muted td:not(.zz) { color: #17212e !important; }
  html:not(.dark) body :is(.gbc-win-card, .main) .warn-text.small:not(.zz) { color: #3a2200 !important; }
  html:not(.dark) body .main details.fold > summary:not(.btn):not(.zz) { color: #0a3566 !important; }
  html.dark body .main details.fold > summary:not(.btn):not(.zz) { color: #d6e8ff !important; }
  html.dark body .org-tree .node small:not(.zz) { color: #e2e9f1 !important; }
  html.dark body .form-choices a span:not(.zz) { color: #e2e9f1 !important; }
  html.dark body .main :is(span.muted, .n.bk-none, .t13-tag):not(.zz) { color: #e8eef5 !important; }
  html.dark body .gbc-win-x.gbc-win-x { color: #ffffff !important; }
  /* the bell's list by Day: its glass a little denser, as on cards (sizes.css section 9) */
  html:not(.dark) body header.top details > .card.pop.menu-pop:not(.zz) { background-color: rgba(255, 255, 255, .72) !important; }
}

/* 12. Nov 23 (Richard, "a. take"): four colours the text check first saw when the practice copy had waiting forms.
   The Approve button's green one step darker under its white words (3.3:1 -> 5.0:1, every look); the ✕ in Reject by
   Day the Reject words' own red (3.95:1); To settle's rows for a form waiting on someone else stay quieter but
   readable by Day (2.8:1 -> 5.4:1); a window's tab title at Night pure white with a faint shadow (4.16:1 where a
   bright part of the page showed through the tab's glass). */
html body .btn.approve:not(.zz), html body summary.btn.approve:not(.zz), html body button.btn.approve:not(.zz) { background: #15803d !important; border-color: #15803d !important; color: #fff !important; }
html body .btn.approve:not(.zz):hover { background: #166534 !important; border-color: #166534 !important; }
html:not(.dark) body .btn.reject .rx, html:not(.dark) body summary.reject .rx { color: #b91c1c !important; }
html.dark body .btn.reject .rx, html.dark body summary.reject .rx { color: #fecaca !important; }   /* at Night too (4.19:1 on a tablet) */
html:not(.dark) body tr.waiting-row td, html:not(.dark) body tr.waiting-row td.when { color: #5c6370 !important; }
html.dark body .gbc-win-tab { color: #fff !important; text-shadow: 0 1px 2px rgba(0, 0, 0, .55); }
/* 13. Nov 24 (Richard, Overview Mock-up D): the pay period card's "Now" tag at Night now sits over a brighter part of the photo (Serene Night 3.68:1); white words on its pill (about 5:1). */
html.dark body .plist.pp .pp-now:not(.zz) { color: #fff !important; }
/* 14. Nov 24 (Richard, Payroll tab card, Mock-up D): the underlined current tab's words and icon take the card's own
   text colour (the gold tab's dark ink was left on the icon, near invisible at Night). */
html body .main .pay-bar.pay-tabs2.has-sub > nav.sub-tabs a.on:not(.zz):not(.zy) :is(svg, .i) { color: inherit !important; }

/* 15. Nov 24 (Richard; Mock-ups C2, E4b): pop-up notices: who has received it (its title and words: section 17). */
html:not(.dark) body .rc details.rc-fold > summary:not(.btn):not(.zz) { color: #082554 !important; }   /* the window's lower glass is darker: #0d3f7a was 4.27:1 there */
html.dark body .rc details.rc-fold > summary { color: #d6e8ff !important; }
/* 16. Nov 24 (Richard; Mock-up F4): the Privacy notice page's Show drop-down: its choices and counts. */
html body .pnf-menu .pnf-opt { color: #0b2f63 !important; }
html.dark body .pnf-menu .pnf-opt { color: #e9f2fc !important; }
/* 17. One fixed format (Nov 24, 2026, Richard, Mock-ups A, P2 and M; sizes.css 22): announcements, pop-up notices and
   HR & Payroll's memos. Tags: New blue, Important red, Pop-up notice gold, Ended grey; a memo's kind blue, its reason
   grey, its status by state; the line under them and the message in the window's own ink. */
html body .fx-tag.new, html body .fx-tag.kind { background: #0262a3; color: #fff !important; }
html body .fx-tag.imp, html body .fx-tag.st-bad { background: #c4153f; color: #fff !important; }
html body .fx-tag.pop { background: #f9c440; color: #2a1d05 !important; }
html body .fx-tag.st-warn { background: #ffe7a3; color: #4a2c00 !important; }
html body .fx-tag.st-ok { background: #15803d; color: #fff !important; }
html body .fx-tag.end, html body .fx-tag.why, html body .fx-tag.st { background: #e3e8ef; color: #26364b !important; }   /* solid: see-through grey was 3.34:1 over the photo */
html.dark body .fx-tag.end, html.dark body .fx-tag.why, html.dark body .fx-tag.st { background: #3a4a62; color: #eef3fa !important; }
html body .fx-meta, html body .fx-note { color: #26364b !important; }
html.dark body .fx-meta, html.dark body .fx-note { color: #c5d4e6 !important; }
html body .msg, html body .an-row .tt, html body .an-gh { color: #0f1f33 !important; }
html.dark body .msg, html.dark body .an-row .tt, html.dark body .an-gh { color: #e9f2fc !important; }
html body .msg li::marker { color: #26364b; font-weight: 700; }
html.dark body .msg li::marker { color: #c5d4e6; }
html body .an-gh .n, html body .an-row .chev, html body .an-none { color: #26364b !important; }
html.dark body .an-gh .n, html.dark body .an-row .chev, html.dark body .an-none { color: #c5d4e6 !important; }
/* 18. The preview's note (Nov 24, 2026, Richard, Mock-ups V1-V4; sizes.css 23). */
html body .pv-note { background: #fff4d6; color: #4a2c00 !important; }
html.dark body .pv-note { background: #4a3a12; color: #ffe7a3 !important; }
/* 19. The full title inside (Nov 24, 2026, Richard, Mock-up T3; sizes.css 24). */
html body .fx-title { color: #0f1f33 !important; }
html.dark body .fx-title { color: #f1f6ff !important; }
/* 20. Payroll's More ▾ and the Changes page (Nov 25, 2026, Richard, Mock-ups A-D, M1-M4; sizes.css 25). */
html body .pay-tabs2 .pay-more > summary:not(.on) { color: #26364b !important; }   /* as the tabs beside it */
@media (max-width: 760px), (pointer: coarse) { html:not(.dark) body .pay-tabs2 .pay-more > summary:not(.on) { color: #17212e !important; } }
html.dark body .pay-tabs2 .pay-more > summary:not(.on) { color: #d0dbe7 !important; }
@media (max-width: 760px), (pointer: coarse) { html.dark body .pay-tabs2 .pay-more > summary:not(.on) { color: #e2e9f1 !important; } }
html body .pay-tabs2 .pay-more > summary.on { background: linear-gradient(180deg, #ffe7a3, #f9c440); color: #2a1d05 !important; font-weight: 700; }
html body .main .pay-tabs2 .pay-more-pop.card { background: #fff !important; backdrop-filter: none !important; border: 1px solid rgba(10, 40, 70, .1) !important;
  box-shadow: 0 14px 30px -10px rgba(2, 12, 30, .45) !important; }
html.dark body .main .pay-tabs2 .pay-more-pop.card { background: #14223c !important; border-color: rgba(160, 195, 255, .14) !important; }
html body .pay-tabs2 .pay-more-pop > a { color: #0f1f33 !important; background: none !important; }
html.dark body .pay-tabs2 .pay-more-pop > a { color: #e9f2fc !important; }
html body .pay-tabs2 .pay-more-pop > a:hover, html body .pay-tabs2 .pay-more-pop > a.on { background: rgba(10, 40, 70, .07) !important; }
html.dark body .pay-tabs2 .pay-more-pop > a:hover, html.dark body .pay-tabs2 .pay-more-pop > a.on { background: rgba(255, 255, 255, .08) !important; }
html body .pay-tabs2 .pay-more-pop .pm-note { color: #26364b !important; }
html.dark body .pay-tabs2 .pay-more-pop .pm-note { color: #c5d4e6 !important; }
html body .ch-gh, html body .ch-row .d, html body .ch-row .w, html body .ch-since li { color: #0f1f33 !important; }
html.dark body .ch-gh, html.dark body .ch-row .d, html.dark body .ch-row .w, html.dark body .ch-since li { color: #e9f2fc !important; }
html body .ch-row .by, html body .ch-bar .ch-count, html body .ch-gh .n, html body .ch-note, html body .ch-since-note, html body .ch-bar label { color: #1a2636 !important; }   /* 4.43:1 on a phone's glass at #26364b */
html.dark body .ch-row .by, html.dark body .ch-bar .ch-count, html.dark body .ch-gh .n, html.dark body .ch-note, html.dark body .ch-since-note, html.dark body .ch-bar label { color: #c5d4e6 !important; }
html body .ch-row + .ch-row, html body .ch-gh + .ch-row { border-top: 1px solid rgba(10, 40, 70, .1); }
html.dark body .ch-row + .ch-row, html.dark body .ch-gh + .ch-row { border-top-color: rgba(255, 255, 255, .1); }
/* 21. HR & Payroll's pop-up windows by Day (Nov 25, 2026; the text check opens them now and found these under 4.5:1):
   the ⓘ in View Attendance (3.9), a form card's name link (4.2) and the purple "VL" of Before / After (3.6) in Decide. */
html:not(.dark) body .modal[role="dialog"] .info-i, html.embed:not(.dark) body .info-i { color: #0a1a2b !important; }   /* a window's own content, or a page shown inside one (by colour: it keeps its .8 see-through) */
html:not(.dark) body .modal.form-modal .forms-rows td:nth-child(1) a { color: #0a4a85 !important; }
html:not(.dark) body .modal.form-modal .ba-chg, html:not(.dark) body .modal.form-modal .ba-chg i { color: #4c1d95 !important; }

/* 22. The ERP Home's right column by Day (Nov 25, 2026, Richard, Mock-up C; sizes.css 26): the smaller tiles' dash (a
   login with no pay record) and For you's › (narrower now, over a lighter part of the photo) were under 4.5:1. */
html:not(.dark) body .home-cards .stat .n { color: var(--ink) !important; }
html:not(.dark) body .plist.foryou a .chev.push { color: #1f2d3f !important; }   /* above the shared .plist .row .chev */

/* 23. Notes, 10 in total (Nov 25, 2026, Richard, Mock-up D; sizes.css 27): the message at 10 notes, red on pale red. */
html body .notes-tab .notes-pop p.notes-full:not(.zz), html.dark body .notes-tab .notes-pop p.notes-full:not(.zz) { background: #fde8e8 !important; color: #8a1020 !important; }

/* 24. Users' "Can sign in" chips by Day (Nov 25, 2026; the text check after the wider "Give first password" button moved
   the column over a darker part of the photo): the chip itself solid, so its word reads the same over any photo. */
html:not(.dark) body .main table.adm span.adm-pill.ok:not(.zz) { background: #d1fae5 !important; }
html:not(.dark) body .main table.adm span.adm-pill:not(.ok):not(.warn):not(.gone):not(.zz) { background: #eef2f7 !important; color: #1f2d3f !important; }

/* 25. Review's suggestion (Nov 25, 2026, Richard, Mock-up B; sizes.css 28): warm gold, Day and Night. */
html:not(.dark) body .main .suggest:not(.zz) { background: #fff4d6 !important; border-color: #f0cf7a !important; color: #5a3d00 !important; }
html.dark body .main .suggest:not(.zz) { background: rgba(240, 196, 110, .16) !important; border-color: rgba(240, 196, 110, .5) !important; color: #fde7b0 !important; }
