/* The Judges page and each judge's page in the homepage's look (homepage B, 2026-10-19; Silas: "make the
   judge-profile pages match the new template/formatting for the home page"). Loaded after
   judges-courthouse.css and judge-tracked.css: it resets their tokens (so both follow) and restyles the
   opening band, the cards, the decision-map card, the tracked list and the closing band. Light only, as
   the homepage. The markup is unchanged: the tracked list is still tools/build_judge_insights.py's, the
   decision map still its own page in a frame, and app-judges.html still copies the judges' cards. */
:root.jx-root, :root.jx-root[data-theme="dark"] {
  color-scheme: light;
  --jx-ground: #F5FAFD; --jx-surface: #FFFFFF; --jx-ink: #15181B; --jx-soft: #3A4250; --jx-muted: #5A6774;
  --jx-line: #CFE0EF; --jx-frame: #CFE0EF; --jx-band: #1B1D20; --jx-band-ink: #F3F6F9; --jx-band-soft: #D3DCE6; --jx-band-muted: #AFC4D8;
  --jx-inv: #BFDDF6; --jx-inv-ink: #15181B; --jx-inv-hover: #D4E8F9; --jx-dot: #46698D; --jx-focus: #2F5F8A; --jx-focus-band: #BFDDF6;
  --jx-shadow: none; --jx-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; --jx-serif: var(--jx-sans);
  --jx-max: 1180px; --jx-pad: 20px;
}
body.jx { font-family: var(--jx-sans); -webkit-font-smoothing: antialiased; }
.jx main { font-family: var(--jx-sans); }
/* ── the opening: light, as the homepage's hero ── */
.jx-hero { background: linear-gradient(180deg, #DEEDF9 0%, #F5FAFD 100%); color: var(--jx-ink);
  padding-block: clamp(56px, 8vw, 104px) clamp(40px, 5vw, 64px); }
.jx-hero::before { display: none; }
.jx-hero .jx-wrap { gap: 16px; }
.jx-hero .jx-eyebrow { font: 600 clamp(21px, 2.1vw, 26px)/1.2 var(--jx-sans); letter-spacing: -.015em; text-transform: none; color: #46698D; }
.jx .jx-hero h1 { font-weight: 600; font-size: clamp(44px, 6.6vw, 88px) !important; line-height: .98 !important; letter-spacing: -.05em; color: var(--jx-ink); }
.jx-hero .jx-lede, .jx-hero .jx-court { color: var(--jx-soft); max-width: 60ch; }
.jx-hero .jx-disclaimer { color: var(--jx-muted); }
.jx-crumb { color: #2F5F8A; font-weight: 500; }
.jx-crumb:hover { color: var(--jx-ink); }
.jx .jx-hero a:focus-visible { outline-color: var(--jx-focus); }
.jx-btn-inv { min-height: 46px; padding: 0 22px; border: 0; border-radius: 8px; background: #1B1D20; color: #fff; font: 500 15px/1 var(--jx-sans); }
.jx-btn-inv:hover { background: #34383E; color: #fff; }
/* ── the cards: white, a light rule, round corners ── */
.jx .jx-card { border: 1px solid var(--jx-line); border-radius: 16px; box-shadow: none; padding: 22px; gap: 14px; }
.jx .jx-card .judge-card-head { padding-bottom: 14px; border-bottom: 1px solid var(--jx-line); }
.jx .jx-card .judge-card-name { font-weight: 600; font-size: clamp(20px, 1.8vw, 23px) !important; line-height: 1.2 !important; letter-spacing: -.02em; }
.jx .jx-card .judge-card-court { font-size: 12.5px; letter-spacing: .02em; }
.jx .jx-card .judge-patterns li { font-size: 15px; }
.jx .jx-card .judge-patterns li::before { width: 7px; height: 7px; }
.jx .jx-card .judge-card-cta .btn-secondary { min-height: 0; padding: 0; border: 0; background: none; color: #2F5F8A; font: 500 14.5px/1.4 var(--jx-sans);
  text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.jx .jx-card .judge-card-cta .btn-secondary:hover { background: none; color: var(--jx-ink); }
/* "Need a different bench?": the homepage's graphite card */
.jx .jx-req { background: #1B1D20; border: 0; color: #F3F6F9; }
.jx .jx-req .judge-card-head { border-bottom-color: #34383E; }
.jx .jx-req .judge-card-name { color: #fff; }
.jx .jx-req > p { color: #AFC4D8; }
.jx .jx-req .judge-card-court { color: #AFC4D8; }   /* 9.4:1 on the graphite card */
.jx .jx-req .judge-card-cta .btn, .jx .jx-card .judge-card-cta .btn-demo { min-height: 44px; padding: 0 20px; border: 0; border-radius: 8px; background: #BFDDF6; color: #15181B;
  font: 500 15px/1 var(--jx-sans); text-decoration: none; }
.jx .jx-req .judge-card-cta .btn:hover { background: #D4E8F9; color: #15181B; }
.jx .jx-req a:focus-visible { outline-color: #BFDDF6; }
.jx .judges-grid.three { gap: 16px; }
/* the Request-a-demo row under the cards */
.jx .jx-list + .cta-band { border-top-color: var(--jx-line); background: transparent; }
.jx .cta-band .btn.btn-demo { min-height: 46px; padding: 0 22px; border: 0; border-radius: 8px; background: #1B1D20; color: #fff; font: 500 15px/1 var(--jx-sans); }
.jx .cta-band .btn.btn-demo:hover { background: #34383E; color: #fff; }
/* ── a judge's page: the decision-map card and the tracked list ── */
.jx-dcard { border: 1px solid var(--jx-line); border-radius: 16px; overflow: hidden; }
.jx .jx-dhead, .jt > h2 { padding: 18px 22px 14px; border-bottom: 1px solid var(--jx-line); font-family: var(--jx-sans); font-weight: 600;
  font-size: clamp(22px, 2.2vw, 26px) !important; letter-spacing: -.02em; }
.jx .jx-dbody > p, .jt > .jt-lede { color: var(--jx-soft); }
.jt::before { border: 1px solid var(--jx-line); border-radius: 16px; box-shadow: none; }
.jt-cat h3 { padding-bottom: 8px; border-bottom: 1px solid var(--jx-line); font: 600 16px/1.3 var(--jx-sans); letter-spacing: -.01em; text-transform: none; color: #46698D; }
.jt-cat li { border-bottom-color: #E2ECF6; font-size: 15px; }
.jt-lock { height: 24px; padding: 0 10px; border: 1px solid var(--jx-line); border-radius: 999px; background: #F5FAFD; color: #46698D;
  font: 500 11.5px/1 var(--jx-sans); letter-spacing: .02em; text-transform: none; }
/* ── the closing band: the homepage's graphite close ── */
.jt > .jt-cta { background: #1B1D20; color: #F3F6F9; }
.jt-cta p { font-family: var(--jx-sans); font-weight: 600; font-size: clamp(28px, 3.6vw, 46px); line-height: 1.08; letter-spacing: -.04em; }
.jt-cta .btn, .jx .cta-band.jx-close .btn.btn-demo { border: 0; border-radius: 8px; background: #BFDDF6; color: #15181B; font: 500 15px/1 var(--jx-sans); }
.jt-cta .btn:hover, .jx .cta-band.jx-close .btn.btn-demo:hover { background: #D4E8F9; color: #15181B; }
.jx .cta-band.jx-close { background: #1B1D20; }
@media (max-width: 680px) {
  .jx .jx-dhead, .jt > h2 { padding: 14px 16px 12px; font-size: 21px !important; }
  .jx .jx-hero h1 { font-size: clamp(38px, 11vw, 52px) !important; }
}
