  :root {
    --bg-0: #06080d;
    --bg-1: #0a0e16;
    --bg-2: #0e1420;
    --surface: rgba(255, 255, 255, 0.04);
    --surface-hover: rgba(255, 255, 255, 0.07);
    --border: rgba(255, 255, 255, 0.07);
    --border-strong: rgba(255, 255, 255, 0.13);
    --text: #eef0f5;
    --text-dim: #8b95a8;
    --text-muted: #5a6473;
    --accent: #06b6d4;
    --accent-glow: rgba(6, 182, 212, 0.4);
    --violet: #3b82f6;
    --violet-glow: rgba(59, 130, 246, 0.35);
    --lime: #84cc16;
    --green: #10b981;
    --green-glow: rgba(16, 185, 129, 0.25);
    --red: #ef4444;
    --red-glow: rgba(239, 68, 68, 0.25);
    --amber: #f59e0b;
    --amber-glow: rgba(245, 158, 11, 0.4);
    --autism-glow: rgba(245, 158, 11, 0.55);
    --death: #fb7185;
  }
  * { box-sizing: border-box; }
  html, body {
    margin: 0; padding: 0;
    background: var(--bg-0);
    color: var(--text);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 13px; line-height: 1.5;
    font-feature-settings: 'cv11', 'ss01', 'ss03';
    letter-spacing: -0.005em;
    min-height: 100vh;
    overflow-x: hidden;
  }
  /* ambient glow orbs and dot-matrix background removed per request */
  body::before, body::after { display: none; }

  .app { position: relative; z-index: 1; }

  /* HEADER */
  header {
    padding: 28px 0 32px;
    background: transparent;
    backdrop-filter: none;
    position: sticky; top: 0; z-index: 100;
  }
  header > * { max-width: 1800px; margin-left: auto; margin-right: auto; padding-left: 32px; padding-right: 32px; }
  .brand { display: flex; align-items: baseline; gap: 14px; margin-bottom: 4px; }
  .brand h1 {
    margin: 0; font-size: 22px; font-weight: 700; letter-spacing: -0.025em;
    background: linear-gradient(135deg, #fff 30%, var(--accent));
    -webkit-background-clip: text; background-clip: text; color: transparent;
  }
  .brand .tag {
    font-family: 'JetBrains Mono', monospace; font-size: 10px; font-weight: 500;
    letter-spacing: 0.1em; text-transform: uppercase;
    padding: 3px 8px; border-radius: 4px;
    background: rgba(6, 182, 212, 0.12);
    border: 1px solid rgba(6, 182, 212, 0.3);
    color: var(--accent);
  }
  .brand .live {
    font-family: 'JetBrains Mono', monospace; font-size: 10px; font-weight: 500;
    margin-left: auto; color: var(--text-dim);
    display: flex; align-items: center; gap: 6px;
  }
  .live::before {
    content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--green);
    box-shadow: 0 0 8px var(--green-glow); animation: pulse 2s ease-in-out infinite;
  }
  @keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
  }
  .sub-row {
    display: flex; align-items: center; gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
  }
  .sub {
    text-decoration: none; cursor: pointer; transition: background 0.15s, border-color 0.15s;
    display: inline-flex; align-items: center;
    font-family: 'JetBrains Mono', monospace; font-size: 13px; font-weight: 500;
    letter-spacing: 0.04em;
    padding: 7px 16px; border-radius: 6px;
    background: rgba(6, 182, 212, 0.10);
    border: 1px solid rgba(6, 182, 212, 0.30);
    color: var(--accent);
    white-space: nowrap;
  }
  .sub-updated {
    font-family: 'JetBrains Mono', monospace; font-size: 12px;
    color: var(--text-dim);
    white-space: nowrap;
  }
  .stats {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
  }
  .stat {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 14px 16px;
    transition: all 0.2s ease;
    position: relative;
    /* overflow: hidden removed so long money values aren't clipped */
  }
  .stat::after {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-strong), transparent);
  }
  .stat:hover {
    background: var(--surface-hover);
    border-color: var(--border-strong);
    transform: translateY(-1px);
  }
  .stat.clickable { cursor: pointer; }
  .stat.clickable:hover { border-color: var(--accent); }
  .stat.clickable::after { content: ''; }
  .stat .hint {
    font-size: 9px; color: var(--text-muted); margin-top: 2px;
    text-transform: uppercase; letter-spacing: 0.08em;
  }
  .stat.clickable:hover .hint { color: var(--accent); }
  .stat .label {
    font-size: 10px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--text-muted); margin-bottom: 6px;
  }
  .stat .value {
    font-family: 'JetBrains Mono', monospace; font-weight: 600;
    /* responsive size — keeps the big "feel" on wide cards but shrinks gracefully
       for long money values like $2,452,414,683 so they fit without clipping */
    font-size: clamp(15px, 1.5vw, 22px);
    color: var(--text); letter-spacing: -0.02em;
    white-space: nowrap;
  }
  .stat.accent .value { color: var(--accent); text-shadow: 0 0 20px var(--accent-glow); }
  .stat.violet .value { color: var(--violet); text-shadow: 0 0 20px var(--violet-glow); }
  .stat.amber .value { color: var(--amber); text-shadow: 0 0 20px var(--amber-glow); }
  .stat.green .value { color: var(--green); text-shadow: 0 0 20px var(--green-glow); }

  /* MAIN */
  main { max-width: 1800px; margin: 0 auto; padding: 24px 32px 60px; }

  /* TOOLBAR */
  /* TOOLBAR — tight, content-sized controls. Visual rhythm: search > filters > toggles > actions > count.
     Each control sized to its content. Toggles are inline checkbox+text, not pills. */
  .toolbar {
    display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
    padding: 10px 12px; margin-bottom: 16px;
    background: var(--surface); border: 1px solid var(--border);
    border-radius: 10px; backdrop-filter: blur(20px);
    --ctl-h: 32px;
  }
  .toolbar input, .toolbar select, .toolbar button {
    height: var(--ctl-h); box-sizing: border-box;
    font-size: 12px; font-family: inherit; line-height: 1;
    border-radius: 7px; transition: all 0.12s ease;
  }
  .toolbar input, .toolbar select {
    padding: 0 10px;
    border: 1px solid var(--border);
    background: rgba(0,0,0,0.28); color: var(--text);
  }
  .toolbar select {
    width: auto; padding-right: 26px;
    appearance: none; -webkit-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'><path d='M1 1l4 4 4-4' stroke='%238b95a8' stroke-width='1.5' fill='none' stroke-linecap='round'/></svg>");
    background-repeat: no-repeat;
    background-position: right 9px center;
  }
  .toolbar select option { background: var(--bg-1); color: var(--text); }
  .toolbar input:focus, .toolbar select:focus {
    outline: none; border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(6, 182, 212, 0.18);
  }
  .toolbar input[type=text] {
    flex: 1; min-width: 220px;
  }
  /* Date-range pair: two date inputs joined by an arrow, sized to the calendar UI */
  .toolbar .date-range {
    display: inline-flex; align-items: center; gap: 4px;
    height: var(--ctl-h);
  }
  .toolbar input[type=date] {
    padding: 0 6px; min-width: 130px;
    color-scheme: dark;
  }
  .toolbar input[type=date]:invalid { color: var(--text-muted); }
  .toolbar .date-sep {
    color: var(--text-muted); font-size: 11px;
    user-select: none;
  }

  /* Toggle — bare checkbox + text, no pill background */
  .toolbar label {
    display: inline-flex; align-items: center; gap: 7px;
    height: var(--ctl-h); padding: 0 4px;
    color: var(--text-dim); font-size: 12px; cursor: pointer;
    user-select: none; line-height: 1;
  }
  .toolbar label:hover { color: var(--text); }
  .toolbar label input[type=checkbox] {
    appearance: none; -webkit-appearance: none;
    width: 14px; height: 14px; margin: 0;
    border: 1.5px solid var(--text-muted); border-radius: 3px;
    background: transparent; cursor: pointer; position: relative;
    transition: all 0.12s ease;
  }
  .toolbar label input[type=checkbox]:checked {
    background: var(--amber); border-color: var(--amber);
  }
  .toolbar label input[type=checkbox]:checked::after {
    content: ''; position: absolute;
    left: 4px; top: 1px; width: 3px; height: 7px;
    border: solid #000; border-width: 0 1.5px 1.5px 0;
    transform: rotate(45deg);
  }
  .toolbar label:has(input:checked) { color: var(--amber); }

  /* Visual separators inside the bar */
  .toolbar .sep {
    width: 1px; height: 18px; background: var(--border);
    margin: 0 4px; align-self: center;
  }

  /* Buttons — uniform, restrained */
  .toolbar button {
    padding: 0 12px;
    background: rgba(0,0,0,0.28);
    color: var(--text-dim);
    border: 1px solid var(--border);
    cursor: pointer;
  }
  .toolbar button:hover {
    background: var(--surface-hover);
    color: var(--text); border-color: var(--border-strong);
  }
  .toolbar button.primary {
    background: rgba(6,182,212,0.10);
    color: var(--accent);
    border-color: rgba(6,182,212,0.35);
  }
  .toolbar button.primary:hover {
    background: rgba(6,182,212,0.18); border-color: var(--accent);
  }
  .toolbar button.danger:hover {
    color: var(--red); border-color: rgba(239,68,68,0.4);
    background: rgba(239,68,68,0.05);
  }

  /* Result count — text only, far right */
  .result-count {
    margin-left: auto; padding: 0 6px;
    color: var(--text-muted); font-family: 'JetBrains Mono', monospace;
    font-size: 12px; line-height: var(--ctl-h);
  }
  .result-count .num { color: var(--accent); font-weight: 600; }

  /* TABLE */
  .table-wrap {
    background: var(--surface);
    border: 1px solid var(--border); border-radius: 12px;
    overflow: hidden; backdrop-filter: blur(20px);
  }
  table { width: 100%; border-collapse: collapse; font-size: 13px; }
  thead { background: rgba(0,0,0,0.3); }
  th {
    text-align: left; padding: 12px 16px; font-weight: 500;
    color: var(--text-muted); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase;
 position: sticky; top: 0;
    backdrop-filter: blur(20px); background: rgba(14, 20, 32, 0.85);
  }
  td { padding: 14px 16px; border-bottom: 1px solid var(--border); vertical-align: top; }
  tbody tr.case-row { cursor: pointer; transition: background 0.12s ease; }
  tbody tr.case-row:hover { background: var(--surface-hover); }
  tbody tr.case-row.autism {
    background: linear-gradient(90deg, rgba(245,158,11,0.08) 0%, rgba(245,158,11,0.02) 100%);
    box-shadow: inset 3px 0 0 var(--amber);
  }
  tbody tr.case-row.autism:hover {
    background: linear-gradient(90deg, rgba(245,158,11,0.13) 0%, rgba(245,158,11,0.04) 100%);
  }
  tbody tr:last-child td { border-bottom: none; }
  a.row-link {
    color: inherit; text-decoration: none; font: inherit;
    border-bottom: 1px dashed transparent; transition: border-color 0.12s ease;
  }
  a.row-link:hover { border-bottom-color: var(--accent); color: var(--accent); }

  /* PILLS */
  .pill {
    display: inline-block; padding: 3px 10px; border-radius: 999px;
    font-size: 10px; font-weight: 500; letter-spacing: 0.04em;
    border: 1px solid; backdrop-filter: blur(8px);
  }
  .pill.compensated { background: rgba(16,185,129,0.1); color: var(--green); border-color: rgba(16,185,129,0.3); }
  .pill.denied { background: rgba(239,68,68,0.1); color: var(--red); border-color: rgba(239,68,68,0.3); }
  .pill.dismissed { background: rgba(107,114,128,0.15); color: var(--text-dim); border-color: rgba(107,114,128,0.3); }
  .pill.entitlement_granted_pending_damages,
  .pill.entitlement { background: rgba(245,158,11,0.12); color: var(--amber); border-color: rgba(245,158,11,0.3); }
  .pill.unclear, .pill.NULL { background: rgba(107,114,128,0.1); color: var(--text-muted); border-color: rgba(107,114,128,0.2); }
  .pill.death {
    background: rgba(251, 113, 133, 0.15); color: var(--death);
    border-color: rgba(251, 113, 133, 0.4); margin-left: 6px;
    box-shadow: 0 0 8px rgba(251, 113, 133, 0.3);
  }

  .mono { font-family: 'JetBrains Mono', monospace; font-size: 11px;
    color: var(--text-muted); letter-spacing: -0.01em; }
  .award {
    font-family: 'JetBrains Mono', monospace; font-weight: 600;
    color: var(--text); font-size: 12px; letter-spacing: -0.01em;
  }
  .award.zero { color: var(--text-muted); font-weight: 400; }
  .age { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--text-dim); }
  .unknown-val { font-size: 10px; font-style: italic; color: #888;
    background: rgba(120,120,120,0.08); border: 1px solid rgba(120,120,120,0.2);
    border-radius: 4px; padding: 1px 6px; }
  .check { color: var(--amber); font-weight: 700; font-size: 14px; text-shadow: 0 0 8px var(--amber-glow); }

  /* DETAIL */
  .detail-row td { padding: 0 !important; background: rgba(0,0,0,0.4); }
  .detail {
    padding: 28px 32px; border-top: 1px solid var(--border);

  }
  .detail h3 {
    margin: 0 0 12px;
    font-size: 24px;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0;
    color: var(--accent);
    display: flex;
    align-items: baseline;
    gap: 10px;
    flex-wrap: wrap;
  }
  .detail h3 .summary-disclaimer {
    color: #b8c2d6;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
    margin-left: 0;
    font-size: 13px;
    line-height: 1.4;
  }

  /* Top split — summary on left, fact list on right */
  .detail-top {
    display: grid;
    grid-template-columns: minmax(400px, 1.6fr) minmax(280px, 1fr);
    gap: 28px;
    margin-bottom: 24px;
  }
  @media (max-width: 1000px) {
    .detail-top { grid-template-columns: 1fr; }
  }
  .detail-left { min-width: 0; }
  .detail-right { min-width: 0; }

  .detail .summary {
    background: linear-gradient(180deg, rgba(6,182,212,0.04), rgba(168,85,247,0.03));
    padding: 28px 32px;
    border-radius: 14px;
    border: 1px solid var(--border);
    font-size: 15px;
    line-height: 1.78;
    color: #d8d8e2;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    letter-spacing: -0.005em;
    position: relative;
  }
  .detail .summary::before {
    content: '"';
    position: absolute;
    top: 4px; left: 14px;
    font-size: 56px; line-height: 1;
    color: var(--accent); opacity: 0.22;
    font-family: 'Georgia', serif; font-weight: 700;
    pointer-events: none;
  }
  .detail .summary p { margin: 0 0 1.1em; }
  .detail .summary p:last-child { margin-bottom: 0; }
  .detail .summary p:first-of-type::first-letter {
    font-weight: 600; color: var(--text);
  }
  /* In-prose highlights */
  .detail .summary mark { background: transparent; padding: 0; }
  .detail .summary mark.money {
    color: var(--green); font-weight: 600;
    font-family: 'JetBrains Mono', monospace; font-size: 0.95em;
  }
  .detail .summary mark.date  { color: var(--accent); font-weight: 500; }
  .detail .summary mark.age   { color: var(--violet); font-weight: 500; }
  .detail .summary mark.verdict { color: var(--amber); font-weight: 600; }

  /* Right column — compact fact list */
  .fact-list {
    background: rgba(0,0,0,0.25); border: 1px solid var(--border);
    border-radius: 12px; overflow: hidden;
  }
  .fact-section-title {
    padding: 10px 14px; font-size: 9px; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.14em;
    color: var(--text-muted); background: rgba(0,0,0,0.3);

  }
  .fact {
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px; padding: 9px 14px;

  }
  .fact:last-child { border-bottom: none; }
  .fact .k {
    color: var(--text-muted); font-size: 10px;
    text-transform: uppercase; letter-spacing: 0.08em; font-weight: 500;
    flex-shrink: 0;
  }
  .fact .v {
    color: var(--text); font-family: 'JetBrains Mono', monospace;
    font-size: 12px; font-weight: 500; text-align: right;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  }
  .fact .v.dim { color: var(--text-muted); font-weight: 400; }

  /* Full-width sections below */
  .detail-section { margin-bottom: 18px; }
  .detail-section:last-of-type { margin-bottom: 0; }
  .detail .condition-raw {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: 10px; padding: 14px 18px;
    font-family: 'JetBrains Mono', monospace; font-size: 12px;
    color: var(--text); line-height: 1.65; letter-spacing: -0.005em;
  }
  .detail .reasoning {
    font-style: italic; color: var(--text-dim); padding: 14px 18px;
    background: rgba(245,158,11,0.04); border: 1px solid rgba(245,158,11,0.15);
    border-left: 3px solid var(--amber); border-radius: 8px;
    font-size: 13px; line-height: 1.7;
  }
  .detail .pdfs { display: flex; flex-wrap: wrap; gap: 8px; }
  .detail .pdfs a {
    padding: 8px 14px; border: 1px solid var(--border); border-radius: 8px;
    background: var(--surface); text-decoration: none; color: var(--accent);
    font-size: 11px; font-family: 'JetBrains Mono', monospace;
    transition: all 0.15s ease; display: inline-flex; align-items: center; gap: 6px;
    max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  }
  .detail .pdfs a::before { content: '⬇'; font-size: 10px; opacity: 0.6; }
  .detail .pdfs a:hover {
    background: rgba(6,182,212,0.1); border-color: var(--accent);
    box-shadow: 0 0 12px var(--accent-glow); transform: translateY(-1px);
  }
  .detail .pdfs a.skip {
    color: var(--text-muted); border-style: dashed; background: transparent;
    cursor: not-allowed;
  }
  .detail .pdfs a.skip::before { content: '✕'; color: var(--text-muted); }
  .detail-meta {
    margin-top: 22px; padding-top: 14px;
    border-top: 1px dashed var(--border);
    color: var(--text-muted); font-size: 10px;
    font-family: 'JetBrains Mono', monospace; letter-spacing: 0.06em;
    display: flex; gap: 18px; flex-wrap: wrap;
  }
  .detail-meta span { display: inline-flex; gap: 6px; align-items: center; }
  .detail-meta .label { color: var(--text-muted); opacity: 0.7; }

  /* URL-backed case drawer */
  .case-overlay {
    position: fixed; inset: 0; z-index: 500;
    display: none; background: rgba(3, 6, 12, 0.72);
    backdrop-filter: blur(12px);
  }
  .case-overlay.open {
    display: flex;
    justify-content: center;
    align-items: flex-start;
  }
  .case-panel {
    width: min(980px, calc(100vw - 42px));
    height: calc(100vh - 32px);
    margin: 16px;
    background: #0b1018;
    border: 1px solid var(--border-strong);
    border-radius: 12px;
    box-shadow: 0 24px 80px rgba(0,0,0,0.55);
    overflow: auto;
  }
  .case-panel-head {
    position: sticky; top: 0; z-index: 2;
    display: flex; align-items: flex-start; gap: 18px;
    padding: 20px 24px 18px;
    background: rgba(11,16,24,0.94);

    backdrop-filter: blur(18px);
  }
  .case-panel-title { min-width: 0; flex: 1; }
  .case-panel-title h2 {
    margin: 0 0 6px; font-size: 22px; line-height: 1.2;
    letter-spacing: -0.025em;
  }
  .case-panel-title .meta {
    color: var(--text-dim); font-family: 'JetBrains Mono', monospace;
    font-size: 11px; letter-spacing: 0.04em;
  }
  .case-panel-actions { display: flex; gap: 8px; align-items: center; }
  .case-panel-actions button,
  .case-panel-actions a {
    height: 32px; padding: 0 12px;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(0,0,0,0.24); color: var(--text-dim);
    border: 1px solid var(--border); border-radius: 8px;
    text-decoration: none; font: inherit; font-size: 12px; cursor: pointer;
  }
  .case-panel-actions button:hover,
  .case-panel-actions a:hover {
    color: var(--accent); border-color: rgba(6,182,212,0.45);
    background: rgba(6,182,212,0.08);
  }
  .case-panel .detail {
    border: none; padding: 24px;
  }
  .case-panel .detail-top {
    grid-template-columns: minmax(0, 1.55fr) minmax(300px, 0.85fr);
    gap: 24px;
  }
  .case-panel .summary {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    font-size: 15px;
    line-height: 1.75;
    color: #dce1eb;
  }
  .case-panel .summary::before { display: none; }
  .case-panel .summary p { margin: 0 0 1.15em; }
  .case-panel .fact-list {
    position: sticky; top: 92px;
    background: rgba(0,0,0,0.22);
  }
  .case-panel .fact .v {
    white-space: normal;
    overflow-wrap: anywhere;
  }
  body.case-open { overflow: hidden; }

  /* PAGINATION */
  .pagination {
    display: flex; gap: 10px; align-items: center; padding: 14px 18px;
    background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
    margin-top: 16px; backdrop-filter: blur(20px);
  }
  .pagination button {
    padding: 7px 14px; background: var(--surface); border: 1px solid var(--border);
    border-radius: 8px; cursor: pointer; font-size: 11px; color: var(--text);
    font-family: inherit; transition: all 0.15s ease;
  }
  .pagination button:hover:not(:disabled) {
    background: var(--surface-hover); border-color: var(--accent); color: var(--accent);
  }
  .pagination button:disabled { opacity: 0.3; cursor: not-allowed; }
  .pagination .info {
    margin-left: auto; color: var(--text-muted); font-size: 11px;
    font-family: 'JetBrains Mono', monospace;
  }
  .empty {
    text-align: center; padding: 60px 20px; color: var(--text-muted);
    font-style: italic;
  }

  /* SCROLLBAR */
  ::-webkit-scrollbar { width: 10px; height: 10px; }
  ::-webkit-scrollbar-track { background: var(--bg-0); }
  ::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 5px; }
  ::-webkit-scrollbar-thumb:hover { background: var(--accent); }

  /* loading shimmer */
  .skeleton {
    background: linear-gradient(90deg, var(--surface) 0%, var(--surface-hover) 50%, var(--surface) 100%);
    background-size: 200% 100%; animation: shimmer 1.5s infinite;
    color: transparent; border-radius: 4px;
  }
  @keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
  }

  /* Smooth row entry */
  tbody tr.case-row { animation: rowfadein 0.4s ease backwards; }
  tbody tr.case-row:nth-child(1) { animation-delay: 0.02s; }
  tbody tr.case-row:nth-child(2) { animation-delay: 0.04s; }
  tbody tr.case-row:nth-child(3) { animation-delay: 0.06s; }
  tbody tr.case-row:nth-child(4) { animation-delay: 0.08s; }
  tbody tr.case-row:nth-child(5) { animation-delay: 0.10s; }
  @keyframes rowfadein {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
  }

  /* =============================================================
     MOBILE  (≤768px)
     Desktop layout above is left untouched. Below this breakpoint
     the page reflows: header tightens, stats become 2-up, toolbar
     stacks, the data table converts to a card list per row.
     ============================================================= */
  @media (max-width: 768px) {
    body { font-size: 13px; }
    /* hide expensive ambient orbs on phones (battery + perf) */
    body::before, body::after { display: none; }

    main { padding: 14px 12px 60px; }
    header { padding: 14px 0 16px; }
    header > * { padding-left: 14px; padding-right: 14px; }

    .brand { flex-wrap: wrap; gap: 8px 10px; }
    .brand h1 { font-size: 18px; }
    .tag { font-size: 9px; padding: 3px 6px; }
    .live { font-size: 9px; }
    .sub-row {
      display: grid;
      grid-template-columns: 1fr;
      gap: 6px;
      margin-bottom: 12px;
    }
    .sub {
      display: block;
      width: 100%;
      white-space: normal;
      overflow-wrap: anywhere;
      font-size: clamp(9px, 2.6vw, 11px);
      line-height: 1.35;
      padding: 6px 9px;
      letter-spacing: 0.025em;
    }
    .sub-updated {
      display: none;
    }
    .about-link { margin-left: 0; }

    /* Stats: 2 per row, tighter padding */
    .stats { grid-template-columns: repeat(2, 1fr); gap: 8px; margin-top: 12px; }
    .stat { padding: 9px 10px; border-radius: 9px; }
    .stat .label { font-size: 8px; margin-bottom: 4px; }
    .stat .value { font-size: 18px; }
    .stat .hint { display: none; }

    /* Toolbar: compact mobile filter grid */
    .toolbar {
      display: grid;
      grid-template-columns: repeat(6, minmax(0, 1fr));
      gap: 6px;
      align-items: stretch;
      padding: 8px;
      border-radius: 12px;
      margin-bottom: 12px;
    }
    .toolbar input,
    .toolbar select,
    .toolbar button {
      width: 100%;
      min-width: 0;
      height: 32px;
      font-size: 12px;
      border-radius: 8px;
    }
    .toolbar input[type="text"] {
      grid-column: 1 / -1;
      min-width: 0;
      height: 32px;
      font-size: 12px;
    }
    .toolbar select#condition,
    .toolbar select#outcome,
    .toolbar select#vaccine,
    .toolbar select#age_group {
      grid-column: span 3;
    }
    .toolbar select#sort {
      grid-column: 1 / span 4;
    }
    .toolbar .date-range {
      grid-column: 1 / -1;
      display: grid;
      grid-template-columns: minmax(74px, 0.8fr) minmax(78px, 1fr) 14px minmax(78px, 1fr);
      gap: 5px;
      height: auto;
      align-items: center;
    }
    .toolbar .date-range select {
      grid-column: auto;
    }
    .toolbar input[type=date] {
      min-width: 0;
      padding: 0 5px;
      font-size: 11px;
    }
    .toolbar .date-sep {
      display: flex;
      align-items: center;
      justify-content: center;
      height: 32px;
      font-size: 13px;
      color: var(--text-muted);
    }
    .toolbar .sep { display: none; }
    .toolbar > label {
      grid-column: span 3;
      height: 26px;
      padding: 0 3px;
      font-size: 10px;
      line-height: 1.1;
      justify-content: flex-start;
      white-space: nowrap;
      overflow: hidden;
    }
    .toolbar label:has(#autism_only),
    .toolbar label:has(#death_only) {
      grid-column: 5 / -1;
      height: 21px;
      font-size: 9px;
      gap: 4px;
    }
    .toolbar label input[type=checkbox] {
      width: 14px;
      height: 14px;
      border-radius: 4px;
      flex: 0 0 auto;
    }
    .toolbar label input[type=checkbox]:checked::after {
      left: 5px;
      top: 2px;
      width: 4px;
      height: 8px;
    }
    .toolbar button {
      grid-column: span 2;
      min-height: 28px;
      height: 28px;
      padding: 0 7px;
      font-size: 11px;
      background: rgba(6,182,212,0.10);
      color: var(--accent);
      border-color: rgba(6,182,212,0.35);
      text-align: center;
    }
    .toolbar button.primary { margin-top: 0; }
    .toolbar button.danger { color: var(--accent); border-color: rgba(6,182,212,0.35); background: rgba(6,182,212,0.10); }
    .result-count {
      grid-column: 1 / -1;
      width: 100%;
      justify-content: flex-end;
      padding: 2px 2px 0;
      text-align: right;
      font-size: 11px;
    }

    /* Case drawer: stack summary and key facts instead of preserving desktop columns */
    .case-overlay.open {
      align-items: stretch;
      justify-content: stretch;
    }
    .case-panel {
      width: 100vw;
      max-width: 100vw;
      height: 100dvh;
      margin: 0;
      border-left: none;
      border-right: none;
      border-radius: 0;
    }
    .case-panel-head {
      padding: 18px 16px 16px;
      gap: 12px;
    }
    .case-panel-title h2 { font-size: 25px; }
    .case-panel-actions {
      flex-shrink: 0;
      gap: 8px;
    }
    .case-panel-actions button,
    .case-panel-actions a {
      height: 38px;
      padding: 0 12px;
      font-size: 13px;
    }
    .case-panel .detail {
      padding: 20px 16px 32px;
    }
    .case-panel .detail-top {
      display: flex;
      flex-direction: column;
      gap: 22px;
      grid-template-columns: 1fr;
    }
    .detail-left,
    .detail-right {
      width: 100%;
      min-width: 0;
    }
    .case-panel .fact-list {
      position: static;
      top: auto;
      width: 100%;
    }
    .detail h3 {
      font-size: 20px;
      line-height: 1.2;
      margin: 0 0 12px;
      letter-spacing: 0.03em;
    }
    .detail h3 .summary-disclaimer {
      display: block;
      margin-top: 5px;
      font-size: 12px;
      line-height: 1.35;
    }
    .case-panel .summary {
      font-size: 15px;
      line-height: 1.7;
    }
    .fact {
      align-items: flex-start;
      gap: 12px;
      padding: 11px 14px;
    }
    .fact .k {
      max-width: 42%;
      line-height: 1.35;
    }
    .fact .v {
      white-space: normal;
      overflow: visible;
      text-overflow: clip;
      overflow-wrap: anywhere;
      line-height: 1.4;
      max-width: 58%;
    }

    /* TABLE → CARD LIST
       Each <tr> becomes a stacked card. Hide the column headers and
       reposition cells with grid-template-areas.                     */
    .table-wrap { background: transparent; border: none; box-shadow: none; }
    table { display: block; }
    thead { display: none; }
    tbody { display: block; }
    tr.case-row {
      display: grid;
      grid-template-columns: 1fr auto;
      grid-template-areas:
        "petitioner outcome"
        "meta       award"
        "condition  condition";
      column-gap: 10px; row-gap: 4px;
      padding: 12px 14px;
      margin-bottom: 8px;
      border: 1px solid var(--border);
      border-radius: 10px;
      background: var(--surface);
    }
    tr.case-row:hover { background: var(--surface-hover); }
    tr.case-row.autism {
      background: linear-gradient(135deg, rgba(245,158,11,0.10), rgba(245,158,11,0.02));
      border-color: rgba(245,158,11,0.25);
    }
    tr.case-row td {
      display: block; border: none !important;
      padding: 0 !important;
    }
    /* td:nth-child(1)=filed, 2=decided, 3=petitioner, 4=age, 5=vaccine, 6=condition, 7=outcome, 8=award */
    tr.case-row td:nth-child(3) {
      grid-area: petitioner;
      font-size: 14px; font-weight: 600; color: var(--text);
      overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
    }
    tr.case-row td:nth-child(7) {
      grid-area: outcome; text-align: right;
    }
    tr.case-row td:nth-child(2),    /* decided date — show as the meta */
    tr.case-row td:nth-child(4),    /* age */
    tr.case-row td:nth-child(5) {   /* vaccine */
      display: inline; font-size: 11px; color: var(--text-muted);
      font-family: 'JetBrains Mono', monospace;
    }
    tr.case-row td:nth-child(2) { grid-area: meta; white-space: nowrap; }
    /* hide filed-date and age and vaccine on smallest screens to keep card readable */
    tr.case-row td:nth-child(1),
    tr.case-row td:nth-child(4),
    tr.case-row td:nth-child(5) { display: none; }

    tr.case-row td:nth-child(6) {
      grid-area: condition;
      font-size: 12px; color: var(--text-dim); line-height: 1.4;
      display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
      overflow: hidden;
    }
    tr.case-row td:nth-child(8) {
      grid-area: award; text-align: right !important;
      font-size: 13px; font-weight: 600;
    }

    /* Larger viewport on landscape phones / small tablets — show vaccine inline */
    @media (min-width: 480px) {
      tr.case-row td:nth-child(5) { display: inline; margin-left: 6px; }
      tr.case-row td:nth-child(5)::before { content: "· "; }
    }

    /* Detail / expanded view: tighter padding */
    tr.detail-row td { padding: 14px 4px !important; }
    .detail .summary { font-size: 13px; }
    .fact { font-size: 12px; }

    /* Pagination */
    .pager { flex-wrap: wrap; justify-content: center; gap: 8px; }
  }
  .site-footer {
    text-align: center; padding: 28px 16px 24px;
    color: var(--text-muted); font-size: 13px; opacity: 0.75;
  }
  .site-footer a.kofi-btn {
    display: block; margin: 10px auto 0;
    padding: 7px 20px; border-radius: 20px;
    background: #FF5E5B; color: #fff; font-weight: 600; font-size: 12px;
    text-decoration: none; transition: opacity 0.15s; width: fit-content;
  }
  .site-footer a.kofi-btn:hover { opacity: 0.85; }
  .kofi-header-btn {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 7px 16px; border-radius: 20px;
    background: rgba(6, 182, 212, 0.10);
    border: 1px solid rgba(6, 182, 212, 0.35);
    color: #9ee9f3; font-size: 12px; font-weight: 600;
    text-decoration: none; white-space: nowrap; letter-spacing: 0.02em;
    box-shadow: 0 0 0 rgba(6,182,212,0);
    transition: background 0.18s ease, box-shadow 0.18s ease, color 0.18s ease;
  }
  .kofi-header-btn:hover {
    background: rgba(6, 182, 212, 0.18);
    box-shadow: 0 0 14px rgba(6, 182, 212, 0.30);
    color: #cdf3f9;
  }
  @media (max-width: 768px) { .kofi-header-btn { display: none; } }
  .about-link {
    margin-left: auto;
    font-family: 'JetBrains Mono', monospace; font-size: 11px; font-weight: 500;
    color: var(--text-muted); text-decoration: none; letter-spacing: 0.06em;
    text-transform: uppercase; padding: 4px 2px;
    border-bottom: 1px solid transparent;
    transition: color 0.15s, border-color 0.15s;
  }
  .about-link:hover { color: var(--accent); border-color: var(--accent); }
  .site-intro {
    max-width: 1800px; margin: 0 auto; padding: 0 32px 18px;

  }
  .site-intro h1 {
    font-size: 15px; font-weight: 600; color: var(--text);
    letter-spacing: -0.01em; margin: 0 0 5px;
  }
  .site-intro p {
    font-size: 12px; color: var(--text-dim); line-height: 1.6;
    margin: 0 0 3px; max-width: 1100px;
  }
  /* Mobile compaction: keep the SEO-critical homepage h1 + paragraph
     visible but as compact as readability allows. */
  @media (max-width: 768px) {
    .site-intro h1 {
      font-size: 14px !important;
      line-height: 1.25 !important;
      margin: 0 0 3px !important;
    }
    .site-intro p {
      font-size: 11.5px !important;
      line-height: 1.45 !important;
      margin: 0 0 2px !important;
    }
    .site-intro {
      padding: 0 14px 10px !important;
      margin: 4px 0 0 !important;
    }
  }
  /* (removed 2026-05-06) Mobile-only hide of .site-intro broke the
     entire master/hub detail experience: those pages render their full
     hero, analytics, decision-pattern, comp-rate tables, and chip cards
     inside .site-intro via _hub_render. Hiding it blanked everything
     except the cases table. The homepage's small intro paragraph is
     totally fine to show on mobile, so the rule is just deleted. */

/* utility */
.th-right { text-align: right; }
.stat-death { border-color: rgba(251,113,133,0.25) !important; }
.stat-death .value { color: var(--death); text-shadow: 0 0 16px rgba(251,113,133,0.3); }

  /* sub-anchor-style */
  a.sub { color: inherit; text-decoration: none; cursor: pointer; }
  a.sub:hover { color: var(--accent); text-decoration: none; }

  /* anchor-stat-style */
  a.stat { color: inherit; text-decoration: none; cursor: pointer; transition: transform 0.12s ease, background 0.18s ease; }
  a.stat:hover { background: var(--surface-hover); transform: translateY(-1px); color: inherit; text-decoration: none; }
  .sub:hover { background: rgba(6,182,212,0.16); border-color: rgba(6,182,212,0.50); }

/* footer link row added during Tier 1 SEO fixes */
.site-footer-links { margin-top: 8px; font-size: 12px; color: var(--text-muted); }
.site-footer-links a { color: var(--text-dim); text-decoration: none; padding: 0 4px; }
.site-footer-links a:hover { color: var(--accent); }

/* Multiple .about-link items in the header sub-row should sit adjacent.
   Only the first one consumes the auto-margin push; subsequent ones reset. */
.sub-row .about-link + .about-link { margin-left: 0 !important; }

/* Mobile nav grid — 4 about-link buttons below the .sub link */
@media (max-width: 768px) {
  .sub-row, .header-inner {
    display: flex !important;
    flex-wrap: wrap !important;
    flex-direction: row !important;
    gap: 6px !important;
    margin-bottom: 12px !important;
    align-items: stretch !important;
  }
  .sub {
    flex: 1 1 100% !important;
    order: 0 !important;
    display: block !important;
    width: 100% !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    line-height: 1.35 !important;
    text-align: center !important;
  }
  .back-link {
    flex: 1 1 100% !important;
    order: 1 !important;
    text-align: center !important;
    margin-left: 0 !important;
  }
  .about-link {
    flex: 1 1 0 !important;
    order: 2 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 10px 4px !important;
    border: 1px solid var(--border) !important;
    border-radius: 8px !important;
    background: rgba(6,182,212,0.04) !important;
    color: var(--text-dim) !important;
    font-family: 'JetBrains Mono', monospace !important;
    font-size: 9.5px !important;
    font-weight: 600 !important;
    letter-spacing: 0.04em !important;
    text-transform: uppercase !important;
    text-align: center !important;
    text-decoration: none !important;
    line-height: 1.15 !important;
    margin: 0 !important;
    border-bottom: 1px solid var(--border) !important;
    min-height: 38px;
    min-width: 0;
  }
  .about-link:active,
  .about-link:hover {
    background: rgba(6,182,212,0.14) !important;
    border-color: var(--accent) !important;
    color: var(--accent) !important;
  }
  .kofi-header-btn { display: none !important; }
}

/* Home hero card (Option A+B, applied 2026-05-06): wraps the H1 + intro
   paragraph in a tinted card with a cyan accent edge, positioned above
   the KPI strip in the header. Replaces the previous unstyled .site-intro
   on the homepage. */
.site-intro.home-hero {
  background: linear-gradient(180deg, rgba(6,182,212,0.05), rgba(255,255,255,0.012));
  border: 1px solid var(--border);
  border-left: 3px solid rgba(6,182,212,0.55);
  border-radius: 12px;
  padding: 22px 28px 20px;
  margin: 0 auto 18px;
  max-width: 1740px;
  display: block;
}
.home-hero-h1 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.015em;
  line-height: 1.25;
  margin: 0 0 10px;
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  -webkit-text-fill-color: var(--text);
}
.home-hero-p {
  font-size: 14.5px;
  color: var(--text-dim);
  line-height: 1.65;
  margin: 0;
  max-width: none;
}
@media (max-width: 768px) {
  .site-intro.home-hero {
    padding: 16px 18px !important;
    margin: 0 14px 14px !important;
    border-radius: 10px;
  }
  .home-hero-h1 {
    font-size: 18px !important;
    line-height: 1.3 !important;
    margin: 0 0 8px !important;
  }
  .home-hero-p {
    font-size: 12.5px !important;
    line-height: 1.55 !important;
  }
}


/* .atty-link styles for clickable attorney names (added 2026-05-06) */
.atty-link {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(6,182,212,0.20);
  transition: border-color 0.12s, background 0.12s;
}
.atty-link:hover {
  border-bottom-color: var(--accent);
  background: rgba(6,182,212,0.06);
}

/* ============================================================
   Shared FAQ accordion (used on /stats, /firm, /attorney, etc.)
   The same Q&A content is also emitted as FAQPage JSON-LD; per
   Google policy the visible content must match the schema.
   Uses native <details>/<summary> for accessibility & no-JS.
   ============================================================ */
.faq-section {
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  border-radius: 14px;
  padding: 22px 26px 20px;
  margin: 22px 0 18px;
}
.faq-section h2 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 4px;
  color: var(--text);
  letter-spacing: -0.01em;
}
.faq-section .faq-sub {
  font-size: 12.5px;
  color: var(--text-dim);
  margin: 0 0 16px;
  line-height: 1.55;
}
.faq-list { display: flex; flex-direction: column; gap: 8px; }
.faq-item {
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0;
  transition: border-color 0.12s, background 0.12s;
}
.faq-item[open] {
  border-color: rgba(6,182,212,0.45);
  background: rgba(6,182,212,0.04);
}
.faq-q {
  cursor: pointer;
  list-style: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  padding: 14px 18px;
  position: relative;
  padding-right: 42px;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q::after {
  content: '+';
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-family: 'JetBrains Mono', monospace;
  font-size: 18px;
  font-weight: 400;
  color: var(--accent);
}
.faq-item[open] .faq-q::after { content: '\2212'; }
.faq-a {
  padding: 0 18px 16px;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--text-dim);
}
.faq-a a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(6,182,212,0.35);
}
.faq-a a:hover { border-bottom-color: var(--accent); }
.faq-a strong { color: var(--text); font-weight: 600; }
.faq-a p { margin: 0 0 8px; }
.faq-a p:last-child { margin-bottom: 0; }
@media (max-width: 768px) {
  .faq-section { padding: 16px 16px 14px; }
  .faq-q { font-size: 13px; padding: 12px 38px 12px 14px; }
  .faq-a { font-size: 13px; padding: 0 14px 12px; }
}

/* 'Last verified' freshness chip — appears in firm/attorney/master heroes
   right of the role pill / court line. Signals to readers (and Google's
   freshness scorer) that the page numbers are recomputed live. */
.ms-hero-verified {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  color: var(--text-muted);
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 99px;
  padding: 3px 10px;
  white-space: nowrap;
  letter-spacing: 0.02em;
}
.ms-hero-verified time { color: var(--text-dim); font-weight: 600; }
@media (max-width: 700px) {
  .ms-hero-verified { font-size: 10px; padding: 2px 8px; }
}

/* .firm-link — wraps firm name in case-page meta to link to /firm/{slug}.
   Same visual treatment as .atty-link so users perceive both as clickable
   entity references. */
.firm-link {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(6,182,212,0.35);
  transition: border-bottom-color 0.12s, background 0.12s;
}
.firm-link:hover {
  border-bottom-color: var(--accent);
  background: rgba(6,182,212,0.06);
}

/* Lead-capture callout — shown on /firm/{slug} and /attorney/{slug}
   (and the /firm and /attorney indexes) to drive readers researching
   firms/attorneys to the /find-a-vicp-lawyer inquiry form. */
.firm-lead-callout {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  flex-wrap: wrap;
  background: linear-gradient(180deg, rgba(6,182,212,0.10), rgba(6,182,212,0.02));
  border: 1px solid rgba(6,182,212,0.40);
  border-left: 3px solid var(--accent);
  border-radius: 10px;
  padding: 14px 18px;
  margin: 0 0 16px;
}
.firm-lead-callout-text {
  flex: 1; min-width: 240px;
  font-size: 13.5px; color: var(--text-dim); line-height: 1.5;
}
.firm-lead-callout-text strong { color: var(--text); font-weight: 600; }
.firm-lead-callout-btn {
  flex-shrink: 0;
  background: var(--accent); color: #001018;
  font-size: 12px; font-weight: 700; letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 9px 16px; border-radius: 6px;
  text-decoration: none;
  transition: filter 0.15s, transform 0.1s;
  white-space: nowrap;
}
.firm-lead-callout-btn:hover { filter: brightness(1.1); transform: translateY(-1px); }

/* Persistent header CTA — sits directly under the nav.
   Wrapper takes the full nav row width (flex-basis:100%) which forces
   the break onto its own line; the inner anchor is content-width so
   the bordered pill only wraps the actual text, not the whole row. */
.sub-row .header-cta-wrap {
  flex-basis: 100% !important;
  display: flex !important;
  justify-content: flex-end !important;
  margin-top: 6px !important;
}
.sub-row a.header-cta {
  display: inline-block !important;
  background: linear-gradient(180deg, rgba(6,182,212,0.10), rgba(6,182,212,0.02)) !important;
  border: 1px solid rgba(6,182,212,0.40) !important;
  border-radius: 8px !important;
  padding: 6px 14px !important;
  font-family: 'JetBrains Mono', monospace !important;
  font-size: 11.5px !important;
  font-weight: 600 !important;
  letter-spacing: 0.06em !important;
  text-transform: none !important;
  color: var(--accent) !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  line-height: 1.4 !important;
  box-sizing: border-box !important;
  transition: background 0.12s, border-color 0.12s, transform 0.1s !important;
  max-width: 100% !important;
}
.sub-row a.header-cta:hover {
  background: linear-gradient(180deg, rgba(6,182,212,0.20), rgba(6,182,212,0.06)) !important;
  border-color: rgba(6,182,212,0.7) !important;
  transform: translateY(-1px) !important;
  color: var(--accent) !important;
}
/* Mobile: leave as-is (user verified it looks good). Wrapper still
   takes full row, inner anchor allowed to wrap if too long. */
@media (max-width: 768px) {
  .sub-row .header-cta-wrap {
    justify-content: stretch !important;
    margin-top: 8px !important;
  }
  .sub-row a.header-cta {
    width: 100% !important;
    text-align: center !important;
    white-space: normal !important;
    font-size: 11px !important;
    padding: 8px 12px !important;
  }
}

/* Inline CTA link inside FAQ answers — makes 'submit a free inquiry'
   visually pop without changing anchor semantics (still <a> tag, so
   Google indexes it the same way; no SEO impact). Pill-shaped with
   accent background, slight contrast against the dimmer answer body. */
.faq-a a.faq-cta-link {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(6,182,212,0.45);
  padding-bottom: 1px;
  white-space: nowrap;
  transition: color 0.12s, border-color 0.12s;
}
.faq-a a.faq-cta-link:hover {
  color: #67e8f9;
  border-bottom-color: var(--accent);
}

/* Lead CTA on condition / vaccine hub intros — positioned between the
   intro paragraph and the case table to capture high-intent visitors
   researching whether their condition might qualify for a VICP claim. */
.hub-lead-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 14px 0 18px;
  padding: 12px 16px;
  background: linear-gradient(180deg, rgba(6,182,212,0.08), rgba(6,182,212,0.02));
  border: 1px solid rgba(6,182,212,0.35);
  border-left: 3px solid var(--accent);
  border-radius: 8px;
}
.hub-lead-cta-text {
  flex: 1 1 auto;
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-dim);
}
.hub-lead-cta-text strong {
  color: var(--text);
  font-weight: 600;
  letter-spacing: -0.005em;
}
.hub-lead-cta-text a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(6,182,212,0.30);
}
.hub-lead-cta-foot {
  display: inline;
  margin-left: 6px;
  font-size: 11px;
  font-style: italic;
  color: var(--text-muted);
}
.hub-lead-cta-btn {
  flex: 0 0 auto;
  display: inline-block;
  background: var(--accent);
  color: #001018;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 6px;
  text-decoration: none;
  white-space: nowrap;
  transition: filter 0.15s;
}
.hub-lead-cta-btn:hover { filter: brightness(1.1); }
@media (max-width: 720px) {
  .hub-lead-cta { flex-direction: column; align-items: stretch; gap: 10px; }
  .hub-lead-cta-btn { text-align: center; }
}

/* Prominent AI-data warning banner — appears near the top of firm /
   attorney listing and slug pages so users notice that displayed
   figures (case counts, awards, rankings) come from AI extraction
   and may contain errors. Visual style: amber-bordered alert box
   with a warning glyph, more visible than the inline bio disclaimer. */
.ai-warning-banner {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 16px 0 22px;
  padding: 12px 16px;
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.45);
  border-left: 3px solid #f59e0b;
  border-radius: 8px;
  color: var(--text-dim);
  font-size: 13px;
  line-height: 1.55;
}
.ai-warning-icon {
  flex: 0 0 auto;
  font-size: 16px;
  color: #f59e0b;
  line-height: 1.4;
}
.ai-warning-text {
  flex: 1 1 auto;
}
.ai-warning-text strong {
  color: #fbbf24;
  font-weight: 600;
}
@media (max-width: 600px) {
  .ai-warning-banner { font-size: 12px; padding: 10px 12px; }
}
