/* One gold for every theme (Richard, Nov 17, 2026: Mock-up O, after Serene's L and its gold buttons of Nov 16): the side
   menu's current page, every "currently on" mark (tab rows, choices, filter pills, on/off switches, ticked boxes, the
   phone bar's page) and every main button use the same champagne gold, a brighter gold by day, with dark text.
   Loaded by the ERP's pages and sign-in, PAS (from the ERP's address) and the shared frame; Process Flow has the same
   rules in pfm-look.css. */
html { --hl-a: #fbe7b4; --hl-b: #eec463; --hl-ink: #2a1d05; }
html:not(.dark) { --hl-a: #ffe7a3; --hl-b: #f9c440; }

/* the side menu's current page */
html body .side a.on:not(.zz):not(.zy), html body .side a.on:not(.zz):not(.zy):hover {
  background: linear-gradient(180deg, var(--hl-a), var(--hl-b)) !important; color: var(--hl-ink) !important; border-color: transparent !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), 0 8px 20px -10px rgba(0, 0, 0, .6) !important; }
html:not(.dark) body .side a.on:not(.zz):not(.zy), html:not(.dark) body .side a.on:not(.zz):not(.zy):hover {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), 0 0 0 1px rgba(232, 170, 40, .55), 0 8px 22px -8px rgba(240, 170, 30, .65) !important; }
html body .side a.on:not(.zz) :is(span, small, b, strong):not(.nav-badge) { color: var(--hl-ink) !important; }
html body .side a.on:not(.zz) .nav-badge.nav-badge:not(.zy) { background: #0d1f36 !important; color: #fff !important; }   /* readable on the gold (Nov 17, Mock-up AB: the number was dark on navy) */

/* every "currently on" mark */
html body :is(.tabs a.on, .tk-tabs a.on, .show-chips a.on, .wf-count button.on, .seg13 > span.on, .tabbar a.on,
  .chip input:checked + span, .chips input:checked + span, .theme-pick button[aria-pressed="true"]):not(.zz):not(.zy) {
  background: linear-gradient(180deg, var(--hl-a), var(--hl-b)) !important; color: var(--hl-ink) !important; outline-color: transparent !important;
  border-color: transparent !important; box-shadow: 0 2px 10px -2px rgba(238, 196, 99, .55) !important; }
html body :is(.tabs a.on, .tk-tabs a.on, .show-chips a.on, .tabbar a.on) :is(span, svg, b, small, strong) { color: var(--hl-ink) !important; }
html body :is(input[type=checkbox], input[type=radio]) { accent-color: var(--hl-b); }

/* every main button */
html body :is(.btn.primary, .signin-card .btn.primary):not(.zz):not(.zy) {
  background: linear-gradient(180deg, var(--hl-a), var(--hl-b)) !important; color: var(--hl-ink) !important; border-color: transparent !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), 0 8px 20px -10px rgba(0, 0, 0, .6) !important; }
html:not(.dark) body :is(.btn.primary, .signin-card .btn.primary):not(.zz):not(.zy) {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), 0 0 0 1px rgba(232, 170, 40, .55), 0 8px 22px -8px rgba(240, 170, 30, .65) !important; }
html body .btn.primary:not(.zz):hover { filter: brightness(1.05); }
html body .btn.primary svg { color: inherit !important; }
/* the count inside a gold tab (Mock-up Y): a soft darker-gold chip, never the old blue fill */
html body :is(.tabs a.on, .tk-tabs a.on, .show-chips a.on) .n:not(.zz) { background: rgba(42, 29, 5, .14) !important; color: var(--hl-ink) !important;
  border-radius: 999px; padding: 0 7px; opacity: 1 !important; }
/* AA (Nov 17, Richard): a two-way switch (One day / Several days, + Add / - Deduct) is one rounded track with the chosen
   side as a gold pill: no box round it, no square block. */
html body .seg2.seg2.seg2.seg2:not(.zz):not(.zy):not(.zx) { display: inline-flex !important; align-items: center !important; gap: 4px; padding: 4px !important;
  border: 0 !important; border-radius: 999px !important; background: rgba(10, 40, 70, .08) !important; box-shadow: inset 0 1px 3px rgba(10, 40, 70, .14) !important;
  backdrop-filter: none !important; -webkit-backdrop-filter: none !important; width: fit-content; height: auto !important; min-height: 0 !important;
  overflow: visible; flex: none; align-self: center !important; }
html.dark body .seg2.seg2.seg2.seg2:not(.zz):not(.zy):not(.zx) { background: rgba(255, 255, 255, .08) !important; box-shadow: inset 0 1px 3px rgba(0, 0, 0, .35) !important; }
html body .seg2.seg2 > label { display: flex !important; margin: 0 !important; padding: 0 !important; min-height: 0 !important; height: auto !important; gap: 0 !important; }
html body .seg2.seg2 > label > span { margin: 0 !important; line-height: 1.2 !important; border-radius: 999px; padding: 7px 18px !important; color: #1c2b44;
  transition: background .15s; }
html.dark body .seg2.seg2 > label > span { color: #e3ecf7; }
html body .seg2 label:hover input:not(:checked) + span { background: rgba(255, 255, 255, .55); }
html.dark body .seg2 label:hover input:not(:checked) + span { background: rgba(255, 255, 255, .1); }
html body .seg2.seg2 input:checked + span { background: linear-gradient(180deg, var(--hl-a), var(--hl-b)) !important; color: var(--hl-ink) !important;
  box-shadow: 0 2px 10px -2px rgba(238, 196, 99, .55); }
html body div:has(> .seg2) { margin-bottom: 4px; }
/* AA: a chosen choice card (Compensation / Not compensation) turns the same gold, with dark text by day and at night */
html body .rb.rb input:checked + span { border-color: var(--hl-b) !important; background: linear-gradient(180deg, var(--hl-a), var(--hl-b)) !important;
  color: var(--hl-ink) !important; }
html body .rb.rb.rb input:checked + span :is(strong, b):not(.zz):not(.zy) { color: var(--hl-ink) !important; }
html body .rb.rb.rb input:checked + span small:not(.zz):not(.zy):not(.zx) { color: #4a3a12 !important; }
