/* ============================================================
   FIND-JOBS.HTML PAGE-SPECIFIC STYLES
   Moved from inline <style> blocks in find-jobs.html for CSP compliance
   ============================================================ */

/* ── SR-ONLY (visually hidden, still accessible) ── */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--bg-deep);
  color: var(--ink);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ── SCROLL PROGRESS ── */
#scroll-progress {
  position: fixed; top: 0; left: 0;
  height: 2px; width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  z-index: 999;
  transition: width 0.1s linear;
}

/* ── NAV ── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(3,18,47,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-inner {
  max-width: 1280px; margin: 0 auto;
  padding: 0 clamp(16px,4vw,48px);
  height: 58px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.nav-badges { display: flex; gap: 8px; align-items: center; }
.nbadge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.85rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px;
  color: var(--accent);
  background: rgba(131,166,206,0.1);
  border: 1px solid rgba(131,166,206,0.25);
  animation: featuredPulse 10s ease-in-out infinite;
}
@keyframes featuredPulse {
  0%, 100% { box-shadow: 0 0 0 rgba(131,166,206,0); }
  50%      { box-shadow: 0 0 18px rgba(131,166,206,0.5); }
}
@media (prefers-reduced-motion: reduce) {
  .nbadge { animation: none; }
}

/* ── HERO ── */
.hero {
  background: linear-gradient(180deg, var(--bg-deep) 0%, #071830 100%);
  padding: clamp(40px,6vh,72px) 0 clamp(32px,5vh,56px);
  border-bottom: 1px solid rgba(131,166,206,0.08);
}
.hero-inner { max-width: 1280px; margin: 0 auto; padding: 0 clamp(16px,4vw,48px); }
.hero-tag {
  font-family: var(--font-mono);
  font-size: var(--fs-mono-2xs); letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent-2);
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 16px;
}
.hero-tag-dot {
  width: 5px; height: 5px; border-radius: 50%; background: var(--accent-2);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.25} }

.hero h1 {
  font-size: clamp(1.8rem,4vw,3rem);
  font-weight: 800; line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink-strong); margin-bottom: 10px;
}
.hero h1 span { color: var(--accent); }
.hero-desc {
  font-size: var(--fs-md); font-weight: 300;
  color: var(--ink-rose);
  max-width: 72ch; line-height: 1.7;
  margin-bottom: 28px;
}

/* Hero stat strip */
.hero-stats {
  display: flex; flex-wrap: wrap; gap: 0;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px; overflow: hidden;
  width: fit-content; max-width: 100%;
}
.hstat {
  padding: 12px 24px; text-align: center;
  border-right: 1px solid rgba(255,255,255,0.07);
}
.hstat:last-child { border-right: none; }
.hstat-n {
  display: block;
  font-size: clamp(1.1rem,2vw,1.5rem); font-weight: 800;
  color: var(--accent); line-height: 1;
}
.hstat-l {
  display: block; margin-top: 3px;
  font-family: var(--font-mono);
  font-size: var(--fs-mono-2xs); letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--ink-rose);
}

/* Official outside resource (E-Verify) */
.hero-resource {
  display: flex; align-items: center; gap: 12px;
  width: fit-content; max-width: 100%;
  margin-top: 16px; padding: 10px 16px;
  border: 1px solid rgba(251,191,36,0.28); border-radius: 12px;
  background: rgba(251,191,36,0.04);
  color: var(--ink-rose); font-size: var(--fs-sm); line-height: 1.5;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}
.hero-resource:hover, .hero-resource:focus-visible {
  border-color: rgba(251,191,36,0.55); background: rgba(251,191,36,0.08);
}
.hero-resource strong { color: var(--warn); font-weight: 600; }
.hero-resource-tag {
  flex: 0 0 auto;
  display: inline-flex; align-items: center; justify-content: center;
  height: 20px; padding: 1px 8px 0; box-sizing: border-box;
  font-family: var(--font-mono); font-size: var(--fs-mono-2xs); font-weight: 500;
  line-height: 1; letter-spacing: 0.14em; text-transform: uppercase;
  text-indent: 0.14em; /* balances the trailing letter-spacing so the word sits centered */
  color: var(--warn); border: 1px solid rgba(251,191,36,0.45);
  border-radius: 999px;
}
.hero-resource-arrow {
  flex: 0 0 auto; width: 16px; height: 16px;
  fill: none; stroke: var(--warn); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round;
}

/* Background load status for the full employer list */
.load-status {
  display: block;
  margin: 0 0 12px; padding: 9px 14px;
  border: 1px solid rgba(131,166,206,0.18); border-radius: 10px;
  background: rgba(131,166,206,0.05);
  font-size: var(--fs-sm); color: var(--ink-rose); line-height: 1.5;
}
.load-status[hidden] { display: none; }
.load-status.error { border-color: rgba(251,113,133,0.4); background: rgba(251,113,133,0.06); color: var(--ink); }
.load-dot {
  display: inline-block; vertical-align: middle; margin: -2px 9px 0 0;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent); animation: pulse 1.2s ease-in-out infinite;
}
.load-retry {
  font: inherit; color: var(--accent); background: none; border: 0; padding: 0;
  text-decoration: underline; cursor: pointer;
}

/* ── FILTER PANEL ── */
.filter-panel {
  background: rgba(6,20,50,0.9);
  border-bottom: 1px solid rgba(131,166,206,0.1);
  padding: 18px 0;
  position: sticky; top: 58px; z-index: 90;
}
.filter-inner { max-width: 1280px; margin: 0 auto; padding: 0 clamp(16px,4vw,48px); }
.filter-row {
  display: flex; flex-wrap: wrap;
  align-items: flex-end; gap: 12px;
}
.fgroup { display: flex; flex-direction: column; gap: 5px; }
.fgroup label {
  font-family: var(--font-mono);
  font-size: var(--fs-mono-2xs); font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(131,166,206,0.92);
}
.fgroup-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.cat-mode { display: inline-flex; border: 1px solid rgba(131,166,206,0.25); border-radius: 999px; overflow: hidden; }
.cat-mode button {
  border: none; background: transparent; cursor: pointer;
  padding: 1px 8px; line-height: 1.4;
  font-family: var(--font-mono); font-size: var(--fs-mono-2xs); font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-muted);
}
.cat-mode button[aria-pressed="true"] { background: rgba(131,166,206,0.18); color: var(--info); }
.cat-mode button[data-mode="ex"][aria-pressed="true"] { background: rgba(239,120,120,0.16); color: rgb(239,140,140); }
.fgroup select,
.fgroup input[type="text"] {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 8px 12px;
  font-family: var(--font-sans);
  font-size: var(--fs-sm); color: var(--ink);
  transition: border-color .15s, background .15s;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  min-width: 160px;
}
.fgroup select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2383A6CE' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 30px;
}
.fgroup select option { background: #071830; color: var(--ink); }
.fgroup input[type="text"] { min-width: 220px; }
.fgroup input[type="text"]::placeholder { color: var(--ink-muted); }
.fgroup select:focus,
.fgroup input[type="text"]:focus {
  outline: none;
  border-color: rgba(131,166,206,0.5);
  background: rgba(131,166,206,0.06);
}

/* Exempt toggle */
.exempt-label {
  display: flex; align-items: center; gap: 8px;
  cursor: pointer; user-select: none;
  padding: 8px 14px;
  border: 1px solid rgba(196,140,179,0.2);
  border-radius: 8px;
  background: rgba(196,140,179,0.04);
  transition: border-color .15s, background .15s;
  align-self: flex-end;
}
.exempt-label:hover { border-color: rgba(196,140,179,0.4); background: rgba(196,140,179,0.08); }
.exempt-label input { position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0; }
.exempt-label input:checked ~ .exempt-label-text { color: var(--accent-2); }
.exempt-label-toggle {
  width: 32px; height: 18px; border-radius: 9px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  position: relative; flex-shrink: 0;
  transition: background .2s;
}
.exempt-label-toggle::after {
  content: ''; position: absolute;
  width: 12px; height: 12px; border-radius: 50%;
  background: rgba(255,255,255,0.4);
  top: 2px; left: 2px;
  transition: transform .2s, background .2s;
}
.exempt-label input:checked + .exempt-label-toggle {
  background: rgba(196,140,179,0.5);
  border-color: rgba(196,140,179,0.6);
}
.exempt-label input:checked + .exempt-label-toggle::after {
  transform: translateX(14px);
  background: var(--accent-2);
}
.exempt-label-text {
  font-size: 0.78rem; font-weight: 600;
  color: var(--ink-soft);
  transition: color .15s; white-space: nowrap;
}

/* Sort select */
.fgroup.sort-group select { min-width: 200px; }

/* Buttons */
.btn-row { display: flex; gap: 8px; align-self: flex-end; }
.btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 20px; border-radius: 8px;
  font-family: var(--font-sans);
  font-size: var(--fs-sm); font-weight: 700;
  cursor: pointer; border: none;
  transition: all .15s; white-space: nowrap;
  text-decoration: none;
}
.btn-primary { background: var(--accent); color: #071830; }
.btn-primary:hover { background: #a0bedd; transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--ink-muted);
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.25); color: var(--ink); }
.btn svg { width:14px; height:14px; stroke:currentColor; fill:none; stroke-width:2; flex-shrink:0; }

/* Active filter tags */
.filter-tags-row {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-top: 10px; min-height: 0;
}
.ftag {
  font-family: var(--font-mono);
  font-size: var(--fs-mono-xs); letter-spacing: 0.08em; text-transform: uppercase;
  padding: 3px 10px; border-radius: 20px;
  background: rgba(131,166,206,0.1);
  border: 1px solid rgba(131,166,206,0.2);
  color: rgba(131,166,206,0.8);
  display: flex; align-items: center; gap: 6px;
}
.ftag.pink {
  background: rgba(196,140,179,0.1);
  border-color: rgba(196,140,179,0.2);
  color: rgba(196,140,179,0.8);
}

/* ── RESULTS AREA ── */
.results-area {
  max-width: 1280px; margin: 0 auto;
  padding: 24px clamp(16px,4vw,48px) 48px;
}

/* Results bar */
.results-bar {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
  margin-bottom: 16px;
}
.results-count {
  font-size: var(--fs-sm); color: var(--ink-soft);
}
.results-count strong { color: var(--accent); font-weight: 700; }

/* Live stats mini-bar */
.live-stats {
  display: flex; gap: 24px; flex-wrap: wrap;
}
.ls-item {
  display: flex; flex-direction: column; gap: 1px;
}
.ls-val {
  font-size: 1rem; font-weight: 800; color: var(--accent); line-height: 1;
}
.ls-lbl {
  font-family: var(--font-mono);
  font-size: var(--fs-mono-2xs); letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--ink-rose);
}

/* ── TABLE ── */
.table-wrap {
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px; overflow: hidden;
  background: rgba(6,20,50,0.5);
  scrollbar-width: thin;
  scrollbar-color: rgba(131,166,206,0.35) rgba(255,255,255,0.04);
}
.table-wrap::-webkit-scrollbar { height: 8px; }
.table-wrap::-webkit-scrollbar-track { background: rgba(255,255,255,0.04); border-radius: 4px; }
.table-wrap::-webkit-scrollbar-thumb { background: rgba(131,166,206,0.35); border-radius: 4px; }
.table-wrap::-webkit-scrollbar-thumb:hover { background: rgba(131,166,206,0.6); }
table {
  width: 100%; border-collapse: collapse;
  font-size: var(--fs-sm); min-width: 860px;
}
thead tr {
  background: rgba(2,15,40,0.9);
  border-bottom: 1px solid rgba(131,166,206,0.12);
}
thead th {
  padding: 11px 14px;
  text-align: left;
  font-family: var(--font-mono);
  font-size: var(--fs-mono-xs); font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(131,166,206,0.9);
  cursor: pointer; user-select: none; white-space: nowrap;
  transition: color .15s;
}
thead th:hover { color: var(--accent); }
thead th.sort-active { color: var(--accent); }
thead th.sort-asc::after  { content: " \2191"; }
thead th.sort-desc::after { content: " \2193"; }
thead th:first-child { width: 52px; text-align: center; }

tbody tr {
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: background .1s;
}
tbody tr:last-child { border-bottom: none; }
tbody tr:hover { background: rgba(131,166,206,0.05); }
tbody tr.top-row { background: rgba(131,166,206,0.04); }

tbody td {
  padding: 11px 14px; vertical-align: middle;
  color: var(--ink-soft);
}
tbody td:first-child {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.7rem; font-weight: 500;
  color: rgba(131,166,206,0.75);
}
.top-row td:first-child { color: var(--accent); font-weight: 700; }

.td-company { font-weight: 600; color: var(--ink); max-width: 280px; }
.td-city    { color: var(--ink-soft); font-size: 0.78rem; }
.td-state   { font-family: var(--font-mono); font-weight: 600; font-size: 0.78rem; color: var(--accent); }
.td-approvals { font-weight: 700; color: var(--ink); text-align: right; }
.td-denials   { color: var(--ink-soft); font-size: 0.78rem; text-align: right; }
.td-rate    { white-space: nowrap; }
.td-period  { font-family: var(--font-mono); font-size: 0.7rem; color: var(--ink-soft); white-space: nowrap; }
.td-years   { font-family: var(--font-mono); font-size: 0.7rem; color: var(--ink-soft); text-align: center; }
.td-career  { white-space: nowrap; }
.career-link {
  display: inline-flex; align-items: center; gap: 4px;
  font-family: var(--font-mono);
  font-size: 0.7rem; font-weight: 500; letter-spacing: 0.04em;
  padding: 4px 10px; border-radius: 5px;
  color: var(--accent); text-decoration: none;
  background: rgba(131,166,206,0.08);
  border: 1px solid rgba(131,166,206,0.28);
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.career-link:hover, .career-link:focus-visible {
  background: rgba(131,166,206,0.18);
  border-color: rgba(131,166,206,0.55);
  color: var(--ink);
}

/* Rate bar */
.rate-cell { display: flex; align-items: center; gap: 7px; }
.rate-track {
  width: 52px; height: 4px; border-radius: 2px;
  background: rgba(255,255,255,0.08); flex-shrink: 0; overflow: hidden;
}
.rate-fill { height: 100%; border-radius: 2px; background: var(--accent); }
.rate-fill.hi { background: var(--accent); }
.rate-fill.lo { background: rgba(196,140,179,0.7); }
.rate-text {
  font-family: var(--font-mono);
  font-size: 0.7rem; color: var(--ink-soft);
}

/* Category chip */
.cat-chip {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: var(--fs-mono-2xs); font-weight: 500;
  letter-spacing: 0.06em;
  padding: 3px 8px; border-radius: 4px;
  white-space: nowrap;
  border: 1px solid transparent;
}

/* Exempt badge */
.exempt-mark {
  display: inline-flex; align-items: center; gap: 4px;
  font-family: var(--font-mono);
  font-size: var(--fs-mono-2xs); font-weight: 500;
  letter-spacing: 0.08em;
  padding: 2px 7px; border-radius: 4px;
  background: rgba(196,140,179,0.1);
  border: 1px solid rgba(196,140,179,0.25);
  color: rgba(196,140,179,0.8);
}
.exempt-dot {
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--accent-2); flex-shrink: 0;
}

/* ── EMPTY STATE ── */
.empty-state {
  padding: 72px 24px; text-align: center;
  display: none;
}
.empty-state h3 { font-size: 1rem; font-weight: 600; color: var(--ink-soft); margin-bottom: 6px; }
.empty-state p  { font-size: var(--fs-sm); color: var(--ink-soft); }

/* ── PAGINATION ── */
.pagination {
  display: flex; justify-content: center; align-items: center;
  gap: 6px; padding: 18px 16px;
  border-top: 1px solid rgba(255,255,255,0.04);
  flex-wrap: wrap;
}
.pg-btn {
  font-family: var(--font-mono);
  font-size: 0.7rem; font-weight: 500;
  padding: 5px 11px; border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.1);
  background: transparent; color: var(--ink-soft);
  cursor: pointer; min-width: 34px; text-align: center;
  transition: all .15s;
}
.pg-btn:hover { border-color: rgba(131,166,206,0.4); color: var(--accent); }
.pg-btn.active { background: rgba(131,166,206,0.15); border-color: rgba(131,166,206,0.4); color: var(--accent); font-weight: 700; }
.pg-btn:disabled { opacity: .3; cursor: default; pointer-events: none; }
.pg-info { font-family: var(--font-mono); font-size: var(--fs-mono-xs); color: var(--ink-soft); padding: 0 8px; }

/* ── OVERFLOW SCROLL HINT ── */
.scroll-hint-x {
  font-family: var(--font-mono);
  font-size: var(--fs-mono-xs); letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-soft);
  text-align: right; margin-bottom: 6px;
  display: none;
}
@media (max-width: 900px) { .scroll-hint-x { display: block; } }

/* ── FOOTER ── */
.site-footer {
  background: rgba(3,18,47,0.8);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 18px clamp(16px,4vw,48px);
  text-align: center;
  font-family: var(--font-mono);
  font-size: var(--fs-mono-xs); letter-spacing: 0.08em;
  color: var(--ink-soft);
  display: flex; align-items: center; justify-content: center;
  gap: 8px; flex-wrap: wrap;
}
.site-footer a { color: rgba(131,166,206,0.8); text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
.sep { opacity: .3; }

/* ── RESPONSIVE ── */
@media (max-width: 860px) {
  .nav-badges { display: none; }
  .hero h1 { font-size: clamp(1.4rem,5vw,2rem); }
  .filter-row { gap: 10px; }
  .fgroup select,
  .fgroup input[type="text"] { min-width: 0; width: 100%; }
  .fgroup { width: calc(50% - 5px); }
  .fgroup.search { width: 100%; }
  .btn-row { width: 100%; }
  .btn-row .btn { flex: 1; justify-content: center; }
  .live-stats { gap: 16px; }
}
@media (max-width: 540px) {
  .hstat { padding: 10px 14px; }
  .hstat-n { font-size: 1rem; }
  .fgroup { width: 100%; }
}
/* Very narrow phone safety + overflow guard */
@media (max-width: 360px) {
  .hero h1 { font-size: 1.3rem; }
  .hstat-n { font-size: 0.95rem; }
  .hstat-l { font-size: var(--fs-mono-xs); }
}

/* Multi-state selection: chips sit in a dedicated row below the filter row.
   Doesn't break the State column alignment with other filters. */
.state-chips {
  display: flex; flex-wrap: wrap; gap: 8px;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  margin-top: 14px;
  padding: 8px 12px;
  background: rgba(131,166,206,0.05);
  border: 1px solid rgba(131,166,206,0.18);
  border-radius: 10px;
}
.state-chips:empty { display: none; }
.chip-row { display: flex; flex-wrap: wrap; column-gap: 10px; }
.state-chips::before {
  content: attr(data-label);
  font-family: var(--font-mono); font-size: var(--fs-mono-xs);
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-muted); font-weight: 700;
  margin-right: 4px;
}
.state-chip {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 4px 4px 10px;
  background: rgba(131,166,206,0.16);
  border: 1px solid rgba(131,166,206,0.38);
  border-radius: 999px;
  font-family: var(--font-mono); font-size: 0.7rem;
  font-weight: 700; color: var(--info); letter-spacing: 0.06em;
  transition: background 0.15s, border-color 0.15s;
}
.state-chip:hover { background: rgba(131,166,206,0.24); border-color: rgba(131,166,206,0.6); }
.state-chip button {
  border: none; background: transparent; color: inherit;
  cursor: pointer; font-size: 1rem; line-height: 1;
  padding: 0 6px; opacity: 0.65;
  font-family: inherit;
}
.state-chip button:hover { opacity: 1; color: var(--ink-strong); }
.state-chip.ex { background: rgba(239,120,120,0.12); border-color: rgba(239,120,120,0.4); color: rgb(239,140,140); }
.state-chip.ex:hover { background: rgba(239,120,120,0.2); border-color: rgba(239,120,120,0.6); }
@media (max-width: 860px) {
  body, html { overflow-x: hidden; }
  table { max-width: 100%; }
}

/* ── CATEGORY CHIP COLORS (dark-theme-tuned) ── */
.cc-0  { background: rgba(131,166,206,0.1); border-color: rgba(131,166,206,0.2); color: rgba(131,166,206,0.85); }
.cc-1  { background: rgba(99,128,179,0.1);  border-color: rgba(99,128,179,0.2);  color: rgba(140,165,220,0.85); }
.cc-2  { background: rgba(196,140,179,0.1); border-color: rgba(196,140,179,0.2); color: rgba(196,140,179,0.85); }
.cc-3  { background: rgba(96,165,122,0.1);  border-color: rgba(96,165,122,0.2);  color: rgba(96,165,122,0.85); }
.cc-4  { background: rgba(200,170,100,0.1); border-color: rgba(200,170,100,0.2); color: rgba(200,170,100,0.85); }
.cc-5  { background: rgba(170,120,100,0.1); border-color: rgba(170,120,100,0.2); color: rgba(200,150,130,0.85); }
.cc-6  { background: rgba(150,130,200,0.1); border-color: rgba(150,130,200,0.2); color: rgba(170,155,215,0.85); }
.cc-7  { background: rgba(90,160,155,0.1);  border-color: rgba(90,160,155,0.2);  color: rgba(90,185,180,0.85); }
.cc-8  { background: rgba(160,120,196,0.1); border-color: rgba(160,120,196,0.2); color: rgba(180,145,210,0.85); }
.cc-9  { background: rgba(130,170,100,0.1); border-color: rgba(130,170,100,0.2); color: rgba(145,190,115,0.85); }
.cc-10 { background: rgba(80,170,190,0.1);  border-color: rgba(80,170,190,0.2);  color: rgba(95,195,210,0.85); }
.cc-11 { background: rgba(200,150,90,0.1);  border-color: rgba(200,150,90,0.2);  color: rgba(215,170,110,0.85); }
.cc-12 { background: rgba(150,130,110,0.1); border-color: rgba(150,130,110,0.2); color: rgba(170,155,135,0.85); }
.cc-13 { background: rgba(210,190,80,0.1);  border-color: rgba(210,190,80,0.2);  color: rgba(220,205,105,0.85); }
.cc-14 { background: rgba(196,140,160,0.1); border-color: rgba(196,140,160,0.2); color: rgba(210,160,180,0.85); }
.cc-15 { background: rgba(155,170,90,0.1);  border-color: rgba(155,170,90,0.2);  color: rgba(170,185,105,0.85); }
.cc-16 { background: rgba(100,175,110,0.1); border-color: rgba(100,175,110,0.2); color: rgba(115,195,125,0.85); }
.cc-17 { background: rgba(190,130,210,0.1); border-color: rgba(190,130,210,0.2); color: rgba(200,150,225,0.85); }
.cc-18 { background: rgba(210,175,100,0.1); border-color: rgba(210,175,100,0.2); color: rgba(220,190,120,0.85); }
.cc-19 { background: rgba(140,140,145,0.1); border-color: rgba(140,140,145,0.2); color: rgba(160,160,165,0.85); }
.cc-20 { background: rgba(120,125,130,0.1); border-color: rgba(120,125,130,0.2); color: rgba(145,150,155,0.85); }

/* loading skeleton shown until the data file arrives */
.skel-row td { padding: 14px 16px; }
.skel-bar {
  height: 14px; border-radius: 4px;
  background: linear-gradient(90deg, rgba(131,166,206,0.08) 25%, rgba(131,166,206,0.18) 50%, rgba(131,166,206,0.08) 75%);
  background-size: 200% 100%;
  animation: skel-shimmer 1.4s ease-in-out infinite;
}
@keyframes skel-shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .skel-bar { animation: none; } }

/* converted from inline style attributes for CSP */
[data-s="s1"] { overflow-x:auto !important; }
[data-s="s2"] { text-align:center !important; padding:48px !important; color:rgba(131,166,206,0.6) !important; }
[data-s="s3"] { text-align:center !important; padding:48px !important; color:rgba(196,140,179,0.7) !important; }

/* Skip link */
.skip-link{position:absolute;top:-100%;left:50%;transform:translateX(-50%);background:#0a1628;color:var(--ink);padding:12px 24px;z-index:10000;border-radius:0 0 8px 8px;transition:top .2s}
.skip-link:focus{top:0}