/* Passim immigration judge pages. Header, footer and type follow the litigation pages
   (litigation_site/static/litigation.css): serif heads, hairline rules, tables without boxes.
   Figures are set as plain numbers with the counts under each percentage; no bars, no colour scale. */
:root { --ink: #13264F; --ink-2: #24407A; --text: #4B4742; --muted: #756C62; --rule: #E4DED4; --rule-strong: #CDC5B8; --tint: #F5F2EC; --lit: #D9812F; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #FFFFFF; }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--ink-2); text-decoration: underline; text-decoration-color: var(--rule-strong); text-underline-offset: 3px; }
.u, .prose a, .method a { text-decoration: underline; text-decoration-color: var(--rule-strong); text-underline-offset: 3px; }
.u:hover { text-decoration-color: var(--ink-2); }
.site { font-family: "Public Sans", "Helvetica Neue", Helvetica, Arial, sans-serif; color: var(--ink); background: #FFFFFF; font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; min-height: 100vh; display: flex; flex-direction: column; }
h1, h2, h3 { font-family: "Newsreader", Georgia, "Times New Roman", serif; font-weight: 500; color: var(--ink); }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 48px; }
.btn { display: inline-flex; align-items: center; justify-content: center; height: 44px; padding: 0 20px; background: var(--ink); color: #FFFFFF; border: 0; border-radius: 6px; font: inherit; font-weight: 500; font-size: 15px; white-space: nowrap; }
.btn:hover { background: var(--ink-2); color: #FFFFFF; text-decoration: none; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; background: #FFFFFF; padding: 8px 12px; border: 1px solid var(--ink); z-index: 10; }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--ink-2); outline-offset: 2px; }
.nowrap { white-space: nowrap; }

/* Header, section bar, footer */
.preview { background: var(--tint); border-bottom: 1px solid var(--rule); font-size: 14px; color: var(--text); }
.preview .wrap { padding-top: 8px; padding-bottom: 8px; }
.nav { height: 84px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; }
.navr { display: flex; align-items: center; gap: 30px; font-size: 15px; font-weight: 500; }
.subnav { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.subnav nav { display: flex; gap: 6px 28px; flex-wrap: wrap; align-items: center; min-height: 50px; font-size: 15px; font-weight: 500; }
.subnav .home { font-family: "Newsreader", Georgia, serif; font-size: 19px; font-weight: 500; margin-right: 8px; }
.subnav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 6px; }
.footer { margin-top: auto; border-top: 1px solid var(--rule); padding: 34px 0 40px; }
.footrow { display: flex; align-items: center; justify-content: space-between; gap: 24px; font-size: 13px; color: var(--muted); flex-wrap: wrap; }
.footrow .links { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.footrow .links a { color: var(--muted); }
.navmenu { position: relative; }
.navmenu > summary { display: inline-flex; align-items: center; gap: 7px; list-style: none; cursor: pointer; white-space: nowrap; }
.navmenu > summary::-webkit-details-marker { display: none; }
.navmenu > summary::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.navmenu[open] > summary::after { transform: translateY(1px) rotate(225deg); }
.navmenu > summary:focus-visible { outline: 2px solid var(--ink-2); outline-offset: 3px; border-radius: 2px; }
.navmenu > summary.on { border-bottom: 1.5px solid var(--ink); padding-bottom: 2px; }
.navmenu .navpanel { position: absolute; top: calc(100% + 14px); left: -18px; z-index: 30; min-width: 190px; padding: 6px 0; background: #FFFFFF; border: 1px solid var(--rule); border-radius: 6px; box-shadow: 0 12px 28px rgba(19, 38, 79, 0.10); }
.navmenu .navpanel a { display: block; padding: 9px 18px; color: var(--ink); font-weight: 500; white-space: nowrap; text-decoration: none; }
.navmenu .navpanel a:hover, .navmenu .navpanel a:focus-visible { background: var(--tint); color: var(--ink); outline: none; }

/* Page head */
.page { padding-block: 40px 88px; flex: 1; }
.kicker { margin: 0 0 12px; font-size: 15px; color: var(--muted); }
.kicker a { color: var(--muted); text-decoration: underline; text-decoration-color: var(--rule-strong); text-underline-offset: 3px; }
h1 { margin: 0; font-size: 46px; line-height: 1.08; letter-spacing: -0.02em; text-wrap: balance; max-width: 20em; }
.lede { margin: 16px 0 0; font-size: 19px; line-height: 1.5; color: var(--text); max-width: 40em; }
.meta-line { margin: 12px 0 0; font-size: 15.5px; color: var(--text); max-width: 46em; }
.notice { margin: 22px 0 0; padding: 14px 18px; background: var(--tint); border-radius: 6px; font-size: 15.5px; line-height: 1.55; color: var(--text); max-width: 46em; }

/* Sections: a navy hairline over each heading, as in a printed report */
.page h2 { font-size: 27px; line-height: 1.2; letter-spacing: -0.01em; margin: 56px 0 12px; padding-top: 14px; border-top: 1px solid var(--ink); }
.page h3 { font-size: 20px; line-height: 1.3; margin: 32px 0 8px; }
.gsub { margin: 0 0 16px; font-size: 15.5px; line-height: 1.55; color: var(--text); max-width: 46em; }
.gsub.after { margin-top: 16px; }
.prose p, .prose li { color: var(--text); max-width: 44em; }
.empty { margin: 12px 0 0; font-size: 15.5px; color: var(--muted); }
.method { margin: 56px 0 0; font-size: 14.5px; color: var(--muted); max-width: 52em; }
.method a { color: var(--muted); }

/* Figures: row labels at the left, numbers at the right, the counts under each percentage */
.scroll { overflow-x: auto; }
table.stats { width: 100%; max-width: 1040px; border-collapse: collapse; font-size: 15.5px; font-variant-numeric: tabular-nums; }
table.stats thead th, table.stats thead td { padding: 0 0 8px 20px; border-bottom: 1px solid var(--rule-strong); font-size: 13px; font-weight: 600; line-height: 1.35; color: var(--muted); text-align: right; vertical-align: bottom; }
table.stats thead th.l { text-align: left; padding-left: 0; }
table.stats tbody th { padding: 11px 16px 12px 0; border-bottom: 1px solid var(--rule); font-weight: 500; text-align: left; vertical-align: top; color: var(--ink); line-height: 1.4; max-width: 24em; }
table.stats tbody td { padding: 11px 0 12px 20px; border-bottom: 1px solid var(--rule); text-align: right; vertical-align: top; color: var(--ink); font-size: 16.5px; line-height: 1.35; white-space: nowrap; }
table.stats small { display: block; margin-top: 2px; font-size: 13px; font-weight: 400; color: var(--muted); }
table.stats tr.aside-row th, table.stats tr.aside-row td { color: var(--muted); font-weight: 400; font-size: 15px; }
table.stats.roster tbody th { font-weight: 400; white-space: nowrap; }
.nm { font-family: "Newsreader", Georgia, serif; font-size: 17.5px; line-height: 1.3; color: var(--ink); }

/* Judges by name */
.letters { margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 16px; }
ul.names { list-style: none; margin: 0; padding: 0; columns: 3 300px; column-gap: 48px; }
ul.names li { padding: 6px 0 7px; border-bottom: 1px solid var(--rule); break-inside: avoid; }
ul.names span { display: block; font-size: 13px; color: var(--muted); }

@media (max-width: 960px) {
  .navmenu .navpanel { left: 50%; transform: translateX(-50%); }
  .nav { height: auto; flex-wrap: wrap; row-gap: 12px; }
  .wrap.nav { padding-top: 16px; padding-bottom: 12px; }
  .navr { flex: 1 1 100%; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
}
@media (max-width: 720px) {
  .wrap { padding: 0 16px; }
  .navr { gap: 12px; font-size: 14px; }
  .navr .btn { height: 38px; padding: 0 12px; font-size: 14px; }
  .brand img { height: 28px; width: auto; }
  .page { padding-block: 28px 64px; }
  h1 { font-size: 34px; }
  .lede { font-size: 17px; }
  .page h2 { font-size: 24px; margin-top: 44px; }
  table.stats { font-size: 14px; }
  table.stats thead th, table.stats thead td { padding-left: 10px; font-size: 12px; }
  table.stats tbody td { font-size: 15px; padding-left: 8px; white-space: normal; min-width: 4.2em; }
  table.stats tbody th { min-width: 7em; padding-right: 4px; }
  table.stats small { font-size: 12px; }
}
@media (max-width: 480px) { .navr .navabout { display: none; } }
@media print { .subnav, .navr, .preview { display: none; } }

/* A judge's background, quoted from EOIR's notice */
blockquote.q { margin: 14px 0 8px; padding: 0 2em 0 1.25em; border-left: 2px solid var(--rule-strong); font-family: "Newsreader", Georgia, serif; font-size: 17px; line-height: 1.55; color: var(--text); max-width: 46em; }

/* The judge finder, a page's contents line, and the pointer to the connector */
.finder { margin: 26px 0 0; max-width: 46em; }
.finder label { display: block; font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.finder input { width: 100%; height: 48px; padding: 0 14px; font: inherit; font-size: 17px; color: var(--ink); background: #FFFFFF; border: 1px solid var(--rule-strong); border-radius: 6px; }
.finder input:focus { outline: 2px solid var(--ink-2); outline-offset: 1px; border-color: var(--ink-2); }
.finder ul { list-style: none; margin: 6px 0 0; padding: 0; }
.finder li { padding: 8px 0 9px; border-bottom: 1px solid var(--rule); font-size: 15px; color: var(--muted); }
.finder li span { display: block; font-size: 13px; color: var(--muted); }
.toc { margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 4px 22px; font-size: 15px; }
.pitch { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px 36px; align-items: center; margin: 56px 0 0; padding: 18px 22px; background: var(--tint); border-radius: 8px; max-width: 1040px; }
.pitch p { margin: 0; }
.pitch .pitch-q { font-size: 17px; line-height: 1.45; color: var(--ink); font-weight: 500; }
.pitch .pitch-n { margin-top: 6px; font-size: 14.5px; line-height: 1.55; color: var(--text); max-width: 44em; }
.pitch-go { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; font-size: 15px; }
.pitch-terms { max-width: 14em; font-size: 13.5px; line-height: 1.4; color: var(--muted); }
.pitch + .method { margin-top: 28px; }
/* The one box in the middle of a judge's or a court's page: the same box, closer to the table above it */
.pitch.ask { margin-top: 36px; }
@media (max-width: 720px) {
  .pitch { grid-template-columns: minmax(0, 1fr); padding: 16px; }
  .pitch-go { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
  .pitch-terms { max-width: none; }
}
@media print { .finder, .pitch, .toc { display: none; } }
