:root {
  --pf-blue: #004cbe;
  --pf-ink: #17202a;
  --pf-muted: #607d8b;
  --pf-border: #dce4eb;
  --pf-warn: #fff7cc;
}

body { color: var(--pf-ink); }
.skip-menu:focus { position: fixed !important; top: .5rem; left: .5rem; z-index: 9999; width: auto; height: auto; padding: .75rem 1rem; background: #fff; color: #000; clip: auto; }
.wide { max-width: 1440px; }
.wrap-header { background: var(--pf-blue); color: #fff; }
.brand-subtitle { color: rgba(255,255,255,.8); }
.nav-toggle { display: none; color: #fff; background: transparent; border: 1px solid rgba(255,255,255,.45); border-radius: .25rem; }
#primary-nav a.nav-active { box-shadow: inset 0 -2px 0 currentColor; }
.hero { border-left: 5px solid var(--pf-blue); }
.entity-title { font-size: clamp(1.5rem, 3vw, 2.4rem); }
.eyebrow, .field-label { color: var(--pf-muted); font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.field-value { margin-bottom: .75rem; overflow-wrap: anywhere; }
.field-value.large { font-size: 1.6rem; font-weight: 700; }
.stat-badge { display: inline-flex; align-items: center; border-radius: 999px; padding: .2rem .65rem; font-size: .78rem; font-weight: 700; }
.stat-badge.success { color: #236b2f; background: #dff3e2; }
.stat-badge.indexing { color: #775c00; background: #fff1b8; }
.stat-badge.muted { color: #52616b; background: #edf1f4; }
.meta-strip { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; padding: .65rem .8rem; border: 1px solid var(--pf-border); background: #f8fafc; border-radius: .35rem; font-size: .84rem; }
.restriction { border-left: 5px solid #c69200; background: var(--pf-warn); padding: 1rem; }
.restriction strong { display: block; margin-bottom: .25rem; }
.result-card { border-top: 3px solid var(--pf-blue); }
.empty-state { padding: 2.5rem 1rem; text-align: center; color: #49545c; }
.error-state { border-left: 5px solid #b71c1c; background: #fff1f1; padding: 1rem; }
.money { font-variant-numeric: tabular-nums; white-space: nowrap; }
.loading { min-height: 8rem; display: grid; place-items: center; color: var(--pf-muted); }
.footer-head { color: #bac5cf; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links a { color: #d8e0e7; }
.footer-legal { border-top: 1px solid rgba(255,255,255,.15); }
.table { font-size: .9rem; }

@media (max-width: 767.98px) {
  .nav-toggle { display: inline-block; }
  #primary-nav { display: none; width: 100%; }
  #primary-nav.show { display: block; }
  #primary-nav ul { flex-direction: column; align-items: flex-start !important; }
}

@media (max-width: 575.98px) {
  .table-cards thead { display: none; }
  .table-cards, .table-cards tbody, .table-cards tr, .table-cards td { display: block; width: 100%; }
  .table-cards tr { margin-bottom: .65rem; padding: .6rem .75rem; border: 1px solid var(--pf-border); border-radius: .35rem; }
  .table-cards td { padding: .2rem 0 !important; border: 0 !important; }
  .table-cards td[data-label]::before { content: attr(data-label) ": "; color: var(--pf-muted); font-size: .78rem; font-weight: 700; }
}

@media print {
  #global-header, footer, .nav-toggle, .btn { display: none !important; }
}
