/* Ported from v2.6 Test Candidate 20 (styles.css) for /fellowships/, /references/ and /cv/.
   Loaded only by those pages so the live v2.5 stylesheet is unchanged. */
.card-topline{display:flex;align-items:center;justify-content:space-between;gap:.5rem}.status-badge{display:inline-block;padding:.22rem .48rem;border-radius:999px;font:800 .62rem var(--sans);text-transform:uppercase;letter-spacing:.04em;background:#eef2f7;color:#475569}.status-configuration-required{background:#fff4cc;color:#72570a}.status-current{background:#e8f5ec;color:#225b34}.status-stale,.status-unknown{background:#fbe9e7;color:#8a2b24}
.governance-callout{margin-top:1rem;padding:1rem;border-left:4px solid var(--navy);background:#f1f5f9;border-radius:8px;line-height:1.55}.empty-state{grid-column:1/-1;padding:1.1rem;border:1px dashed #aeb9c6;border-radius:10px;background:#fff;color:#5b6875;line-height:1.6}.error-state{border-color:#c97c74;background:#fff7f6}
.source-note{font-size:.9rem;color:var(--muted);margin-top:1rem}.btn-evidence-outline{border:1px solid var(--navy);color:var(--navy);background:#fff}
/* v2.6 Test Candidate 20 — governed print refinement + fellowship award readiness */
.funding-page{background:#fff}.funding-principle{padding:2.4rem 1.4rem;background:var(--cream);border-bottom:1px solid var(--line)}.funding-principle .container{max-width:960px}.funding-principle h2{margin:.2rem 0 .7rem;font-size:clamp(1.8rem,3vw,2.6rem)}
.fellowship-toolbar{display:flex;gap:.55rem;flex-wrap:wrap;margin:1.2rem 0 1.5rem}.fellowship-toolbar button{border:1px solid var(--line);background:#fff;border-radius:999px;padding:.55rem .85rem;font:800 .72rem var(--sans);color:var(--navy);cursor:pointer}.fellowship-toolbar button.active,.fellowship-toolbar button:hover{background:var(--navy);color:#fff;border-color:var(--navy)}
.fellowship-list{display:grid;gap:1.15rem}.fellowship-record{display:grid;grid-template-columns:110px 1fr;border:1px solid #e2e8f0;border-radius:14px;background:#fff;overflow:hidden;box-shadow:0 10px 26px rgba(16,42,67,.05)}.fellowship-year{display:flex;align-items:flex-start;justify-content:center;padding:1.35rem .7rem;background:var(--navy);color:#fff;font:700 1.55rem var(--serif)}.fellowship-body{padding:1.35rem}.fellowship-body h3{font-size:1.55rem;margin:.2rem 0}.funding-sponsor{color:var(--muted);margin:.2rem 0 1rem}.fellowship-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem 1rem;margin:1rem 0}.fellowship-facts div{border-left:3px solid var(--gold);padding-left:.7rem}.fellowship-facts dt{text-transform:uppercase;letter-spacing:.08em;font-size:.65rem;font-weight:800;color:var(--muted)}.fellowship-facts dd{margin:.15rem 0 0;font-weight:650}.decision-block{margin-top:1rem;padding:1rem;background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px}.decision-block h4{margin:0 0 .45rem;font:700 1.02rem var(--serif);color:var(--navy)}.learning-block{background:#fbf8ef;border-color:#e6d7aa}.context-note{border-left:3px solid var(--gold);padding-left:.75rem}.review-score{display:grid;grid-template-columns:1fr auto;gap:1rem;align-items:center;padding:.75rem 0;border-bottom:1px solid #dde3ea}.review-score:last-of-type{border-bottom:0}.review-score span{display:block;color:var(--muted);font-size:.9rem;margin-top:.15rem}.review-score b{font:700 1.35rem var(--serif);color:var(--navy)}.evidence-posture{font-size:.88rem;color:#475569;margin-top:1rem}
.reference-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin-top:1.5rem}.reference-card{border:1px solid var(--line);border-top:4px solid var(--gold);border-radius:12px;padding:1.25rem;background:#fff}.reference-card h2{font-size:1.45rem;margin:.25rem 0 .75rem}
.dynamic-cv-shell{background:#eef2f6}.dynamic-cv-toolbar{position:sticky;top:0;z-index:20;display:flex;justify-content:space-between;gap:1rem;align-items:center;padding:1rem 1.25rem;background:#fff;border-bottom:1px solid #d9e0e7;box-shadow:0 4px 16px rgba(15,23,42,.05)}.dynamic-cv-toolbar>div:first-child{display:flex;flex-direction:column}.dynamic-cv-toolbar .mini-kicker{margin:0}.dynamic-cv-toolbar [data-sync-label]{font-size:.78rem;color:var(--muted)}.toolbar-actions{display:flex;gap:.6rem;flex-wrap:wrap}.toolbar-actions button{font-family:var(--sans);cursor:pointer}
/* ── CV print layer (revised) ───────────────────────────────────────────────
   Screen keeps the navy/gold identity. Print drops to a single serif family,
   black on white, with right-aligned dates, hairline section rules, and a
   running footer carrying the governed edition id and page numbers.
   Content strings are unchanged; only structure and typography move.        */

.print-cv{max-width:8.5in;margin:1.25rem auto 3rem}
.cv-paper{
  background:#fff;
  box-shadow:0 14px 34px rgba(15,23,42,.12);
  padding:.7in .78in;
  color:#141a22;
  font-family:Georgia,'Times New Roman',Times,serif;
  font-size:10.2pt;
  line-height:1.4;
}

/* Masthead */
.cv-print-header{border-bottom:1.6pt solid #0a213b;padding-bottom:.11in;margin-bottom:.16in}
.cv-print-header h1{
  font:700 21pt Georgia,'Times New Roman',Times,serif;
  letter-spacing:.005em;margin:0;color:#0a213b;
}
.cv-print-title{
  font:700 7.9pt Georgia,'Times New Roman',Times,serif;
  text-transform:uppercase;letter-spacing:.17em;color:#6b7280;margin:.05in 0 .04in;
}
.cv-print-header p{margin:.03in 0}
.cv-print-role{font-size:10pt;color:#2a3442}
.cv-print-contact{font-size:8.9pt;color:#3d4753}
.cv-version-line{font-size:7.9pt;color:#6b7280;margin-top:.07in;letter-spacing:.01em}

/* Section heads */
.cv-print-section{margin:.17in 0 0}
.cv-print-section>h2{
  font:700 8.6pt Georgia,'Times New Roman',Times,serif;
  text-transform:uppercase;letter-spacing:.155em;color:#0a213b;
  border-bottom:.6pt solid #9aa4b1;padding-bottom:.035in;margin:0 0 .07in;
}
.cv-print-section h3{
  font:700 10pt Georgia,'Times New Roman',Times,serif;margin:0;color:#141a22;
}
.cv-print-section p{margin:.022in 0;font-size:9.5pt}

/* Entry rows: title left, date right */
.cv-print-list{display:block}
.cv-entry{margin:0 0 .065in}
.cv-print-list.compact .cv-entry{margin:0 0 .04in}
.cv-entry-line{
  display:flex;align-items:baseline;justify-content:space-between;gap:.18in;
}
.cv-entry-line h3{flex:1 1 auto;min-width:0;overflow-wrap:anywhere}
.cv-entry-date{
  flex:0 0 auto;font-size:8.9pt;color:#4a5462;white-space:nowrap;
  font-variant-numeric:tabular-nums;letter-spacing:.01em;
}
.cv-entry-org{font-style:italic;color:#2a3442}
.cv-entry-org strong{font-style:normal}
.cv-entry.plain .cv-entry-org{font-style:normal}
.cv-entry-note{color:#3d4753}

/* Research programs as run-in definitions */
.cv-print-grid{columns:2;column-gap:.3in}
.cv-print-grid p{break-inside:avoid;margin:0 0 .045in}
.cv-print-grid strong{color:#0a213b}

/* Publications */
.cv-publications{padding-left:.26in;margin:.03in 0 0;font-size:9.5pt}
.cv-publications li{margin:.028in 0;overflow-wrap:anywhere;hyphens:none}
.cv-pub-link{font-size:8.2pt;color:#1756a9;text-decoration:none;letter-spacing:.04em}
.cv-profiles-line{font-size:9.5pt}

.cv-print-note{font-size:8.4pt!important;color:#5a6472;font-style:italic;margin-top:.06in!important}
.cv-print-footer{border-top:.6pt solid #9aa4b1;margin-top:.16in;padding-top:.07in;font-size:7.8pt;color:#5a6472}
.cv-print-footer p{margin:.03in 0}
.cv-print-url{font-weight:700}

@media(max-width:760px){
  .fellowship-record{grid-template-columns:1fr}
  .fellowship-year{justify-content:flex-start;padding:.8rem 1.1rem}
  .fellowship-facts,.reference-grid{grid-template-columns:1fr}
  .cv-print-grid{columns:1}
  .dynamic-cv-toolbar{position:static;align-items:flex-start;flex-direction:column}
  .print-cv{margin:0}
  .cv-paper{padding:1.15rem 1.05rem;box-shadow:none;font-size:11pt}
  .cv-entry-line{flex-wrap:wrap;gap:.1rem .5rem}
  .cv-entry-date{font-size:9.5pt}
  .cv-print-header h1{font-size:1.65rem}
}

/* Screen-only navy/gold identity; print overrides these to gray below. */
@media screen{
  .cv-paper{border-top:4px solid var(--gold)}
  .cv-print-section>h2{border-bottom-color:rgba(199,157,59,.8)}
  .cv-entry-date{color:#7b5a13}
  .cv-print-header{border-bottom-color:var(--navy)}
}

/* ── Paged media ─────────────────────────────────────────────────────────── */
@page{
  size:Letter;
  margin:.62in .8in .58in;
  /* Declaring every box suppresses the browser's own URL/date/page chrome. */
  @top-left{content:""}@top-center{content:""}@top-right{content:""}
  @bottom-left{
    content:"Jermaine E. Whiteside — Curriculum Vitae";
    font:8pt Georgia,'Times New Roman',Times,serif;color:#555;vertical-align:top;
  }
  @bottom-center{content:""}
  @bottom-right{
    content:"Page " counter(page) " of " counter(pages);
    font:8pt Georgia,'Times New Roman',Times,serif;color:#555;vertical-align:top;
  }
}
@page:first{@bottom-left{content:""}@bottom-right{content:""}}

@media print{
  html,body,.dynamic-cv-shell{background:#fff!important;color:#000!important}
  .no-print,.topnav,.simple-footer,.menu-toggle,.fellowship-toolbar{display:none!important}
  .print-cv{max-width:none;margin:0!important}
  .cv-paper{
    box-shadow:none!important;padding:0!important;width:auto!important;
    color:#000!important;font-size:9.8pt;line-height:1.36;
  }

  /* Everything black/gray on white */
  .cv-print-header h1,.cv-print-section>h2,.cv-print-section h3,
  .cv-print-grid strong,.cv-entry-org{color:#000!important}
  .cv-print-header{border-bottom-color:#000!important}
  .cv-print-section>h2{border-bottom-color:#777!important}
  .cv-print-title,.cv-version-line,.cv-entry-date,.cv-print-note,
  .cv-print-footer{color:#4a4a4a!important}
  .cv-entry-note,.cv-print-contact,.cv-print-role{color:#1a1a1a!important}
  .cv-paper a{color:#000!important;text-decoration:none}
  .cv-paper a[href^="http"]::after{content:""}
  /* Bare "SSRN" labels carry no information on paper — screen only. */
  .cv-pub-link{display:none!important}

  /* Rhythm */
  .cv-print-section{margin:.115in 0 0}
  .cv-print-section:first-of-type{margin-top:.1in}
  .cv-print-section>h2{margin-bottom:.06in}
  .cv-publications li{margin:.014in 0}

  /* Fragmentation */
  p,li{orphans:2;widows:2}
  .cv-print-section{break-inside:auto}
  .cv-print-section>h2{break-after:avoid-page;break-inside:avoid}
  .cv-print-section.cv-keep{break-inside:avoid}
  .cv-entry,.cv-print-grid p,.cv-publications li,
  .fellowship-record,.reference-card{break-inside:avoid}
  .cv-entry-line{break-after:avoid}
  .cv-print-footer{break-inside:avoid;break-before:avoid}

  *{-webkit-print-color-adjust:economy;print-color-adjust:economy}
}

.cv-sync-panel{max-width:1180px;margin:1rem auto 0;padding:0 1rem}.cv-sync-inner{border:1px solid #d7dee7;border-radius:12px;background:#fff;padding:1rem 1.1rem}.cv-sync-inner>div:first-child{margin-bottom:.85rem}.cv-source-status-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.55rem}.cv-source-status-grid>div{border:1px solid #e2e8f0;border-radius:8px;padding:.65rem;background:#f8fafc;display:flex;flex-direction:column}.cv-source-status-grid b{font-size:.82rem;color:var(--navy)}.cv-source-status-grid span{font-size:.72rem;font-weight:800;text-transform:uppercase;letter-spacing:.04em;margin-top:.2rem}.cv-source-status-grid small{color:var(--muted);margin-top:.1rem}
@media(max-width:900px){.cv-source-status-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.cv-source-status-grid{grid-template-columns:1fr}}
