/* Components shared across tabs */
  .block { background: var(--surface); border-radius: 4px; padding: 28px 32px; margin-bottom: 20px; border-left: 4px solid #00ffff; }
  .block h2 { font-family: 'DM Serif Display', serif; font-size: 22px; color: #0d1108; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--rule); }
  .block h3 { font-family: 'DM Sans', sans-serif; font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: #007a7a; margin: 18px 0 8px; }
  .block p { color: var(--ink-muted); margin-bottom: 10px; }
  .block p:last-child { margin-bottom: 0; }
  .product-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 8px; }
  .product-card { background: var(--accent-light); border-radius: 4px; padding: 18px 20px; border-top: 3px solid #00ffff; }
  .product-card.Alpha { grid-column: 1 / -1; background: #0d1108; color: #fff; border-top-color: #00ffff; }
  .product-card .pname { font-family: 'DM Serif Display', serif; font-size: 18px; color: #0d1108; margin-bottom: 4px; }
  .product-card.Alpha .pname { color: #00ffff; }
  .product-card .pmw { font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: #007a7a; margin-bottom: 8px; }
  .product-card.Alpha .pmw { color: rgba(0,255,255,0.75); }
  .product-card .pdesc { font-size: 13px; color: var(--ink-muted); line-height: 1.6; margin: 0; }
  .product-card.Alpha .pdesc { color: rgba(255,255,255,0.85); }
  .timeline { position: relative; padding-left: 28px; }
  .timeline::before { content: ''; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 2px; background: var(--rule); }
  .tl-item { position: relative; margin-bottom: 22px; padding-bottom: 22px; border-bottom: 1px dashed var(--rule); }
  .tl-item:last-child { border-bottom: none; margin-bottom: 0; }
  .tl-dot { position: absolute; left: -24px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: #00ffff; border: 2px solid var(--surface); box-shadow: 0 0 0 2px #00ffff; }
  .tl-year { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #007a7a; margin-bottom: 3px; }
  .tl-title { font-weight: 600; font-size: 14px; color: var(--ink); margin-bottom: 3px; }
  .tl-desc { font-size: 13px; color: var(--ink-muted); }
  .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
  .tag { background: var(--tag-bg); color: var(--tag-text); font-size: 12px; font-weight: 600; padding: 5px 12px; border-radius: 2px; letter-spacing: 0.05em; }
  .tag.sector { background: var(--warning-bg); color: var(--warning); }
  .fact-row { display: flex; justify-content: space-between; align-items: baseline; padding: 10px 0; border-bottom: 1px solid var(--rule); font-size: 13px; }
  .fact-row:last-child { border-bottom: none; }
  .fact-label { color: var(--ink-muted); }
  .fact-value { font-weight: 600; color: var(--ink); text-align: right; max-width: 60%; }
  .sidebar-card { background: var(--surface); border-radius: 4px; padding: 20px 22px; margin-bottom: 16px; border-top: 3px solid #00ffff; }
  .sidebar-card h4 { font-family: 'DM Serif Display', serif; font-size: 16px; color: #0d1108; margin-bottom: 12px; }
  .stat-item { padding: 10px 0; border-bottom: 1px solid var(--rule); }
  .stat-item:last-child { border-bottom: none; }
  .stat-num { font-family: 'DM Serif Display', serif; font-size: 26px; color: #0d1108; line-height: 1; }
  .stat-label { font-size: 11px; color: var(--ink-faint); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 2px; }
  .alert-box { background: var(--warning-bg); border-left: 3px solid var(--warning); border-radius: 4px; padding: 14px 16px; font-size: 12px; color: var(--warning); font-weight: 500; margin-bottom: 16px; }
  .alert-box span { font-size: 14px; margin-right: 4px; }
  .gloss-item { padding: 12px 0; border-bottom: 1px solid var(--rule); }
  .gloss-item:last-child { border-bottom: none; }
  .gloss-term { font-weight: 600; color: #0d1108; font-size: 14px; margin-bottom: 3px; }
  .gloss-def { font-size: 13px; color: var(--ink-muted); }
  .project-card { padding: 16px 0; border-bottom: 1px solid var(--rule); display: flex; gap: 14px; align-items: flex-start; }
  .project-card:last-child { border-bottom: none; }
  .project-badge { flex-shrink: 0; width: 44px; height: 44px; background: #0d1108; color: #00ffff; border-radius: 4px; display: flex; align-items: center; justify-content: center; font-family: 'DM Serif Display', serif; font-size: 11px; font-style: italic; text-align: center; line-height: 1.2; padding: 4px; }
  .project-title { font-weight: 600; font-size: 14px; margin-bottom: 3px; }
  .project-meta { font-size: 12px; color: #007a7a; font-weight: 500; margin-bottom: 4px; letter-spacing: 0.06em; text-transform: uppercase; }
  .project-desc { font-size: 13px; color: var(--ink-muted); }
  .staff-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 4px; }
  .staff-card { background: var(--bg); border-radius: 4px; padding: 18px 20px; border-left: 3px solid #00ffff; }
  .staff-card.board { border-left-color: #c8dde0; }
  .staff-name { font-family: 'DM Serif Display', serif; font-size: 17px; color: #0d1108; margin-bottom: 2px; }
  .staff-role { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #007a7a; margin-bottom: 10px; }
  .staff-bio { font-size: 13px; color: var(--ink-muted); line-height: 1.6; margin-bottom: 10px; }
  .staff-tags { display: flex; flex-wrap: wrap; gap: 5px; }
  .staff-tag { background: var(--tag-bg); color: var(--tag-text); font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: 2px; }
  .contact-card { background: var(--bg); border-radius: 4px; padding: 24px 28px; margin-top: 20px; border-left: 3px solid #00ffff; }
  .contact-name { font-family: 'DM Serif Display', serif; font-size: 26px; color: #0d1108; margin-bottom: 4px; }
  .contact-role { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #007a7a; margin-bottom: 18px; }
  .contact-bio { font-size: 13px; color: var(--ink-muted); line-height: 1.7; margin: 18px 0 14px; }
  .diagram-svg { width: 100%; height: auto; display: block; margin-top: 16px; }
  .formula { font-family: monospace; background: #f4f4f0; padding: 2px 6px; border-radius: 4px; font-size: 13px; }
  .page-meta { font-size: 12px; color: var(--ink-muted); margin: 4px 0 0; }
  .nf-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
  .project-desc + .project-desc { margin-top: 8px; }
  .project-updates { margin-top: 12px; padding-top: 4px; border-top: 1px dashed var(--rule); }
  .project-update { margin-top: 10px; }
  .update-date { font-size: 12px; font-weight: 600; color: #007a7a; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 2px; }

  /* Results tab */
  .table-wrap { overflow-x: auto; margin: 8px 0 4px; }
  .results-table { width: 100%; border-collapse: collapse; font-size: 14px; }
  .results-table th, .results-table td { padding: 8px 12px; border-bottom: 1px solid var(--rule); text-align: right; vertical-align: top; }
  .results-table thead th { font-weight: 600; color: var(--ink); border-bottom: 2px solid var(--rule); white-space: nowrap; }
  .results-table th:first-child, .results-table tbody th { text-align: left; font-weight: 400; color: var(--ink-muted); }
  .results-table tbody td { color: var(--ink); font-variant-numeric: tabular-nums; }
  .results-table.has-total tbody tr:last-child th, .results-table.has-total tbody tr:last-child td { font-weight: 600; color: var(--ink); border-top: 2px solid var(--rule); }
  .table-note { font-size: 12.5px; color: var(--ink-muted); margin-top: 8px; }
  .results-meta { font-size: 13px; color: var(--ink-muted); margin-bottom: 4px; }
  .jump-links { font-size: 14px; }
  .results-list { margin: 0 0 10px 20px; color: var(--ink-muted); }
  .results-list li { margin-bottom: 6px; }
  .main-content, .section, .block { min-width: 0; }
  .table-wrap { max-width: 100%; }
  .jump-links a, .results-meta a { color: #007a7a; }
  .results-section { border-top: 1px solid var(--rule); }
  .results-section:last-child { border-bottom: 1px solid var(--rule); }
  .results-section summary { cursor: pointer; list-style: none; padding: 12px 0; font-family: 'DM Sans', sans-serif; font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: #007a7a; display: flex; align-items: center; gap: 10px; }
  .results-section summary::-webkit-details-marker { display: none; }
  .results-section summary::before { content: '▸'; font-size: 13px; transition: transform .15s; }
  .results-section[open] > summary::before { transform: rotate(90deg); }
  .results-section summary:hover { color: #0d1108; }
  .results-section summary:focus-visible { outline: 2px solid #00b3b3; outline-offset: 2px; }
  .results-body { padding: 0 0 14px 23px; }
  .results-body > :last-child { margin-bottom: 0; }
  .results-tools { margin: 14px 0 6px; display: flex; gap: 8px; }
  .results-tools button { font: inherit; font-size: 13px; padding: 5px 12px; border: 1px solid var(--rule); background: var(--surface); color: var(--ink-muted); border-radius: 3px; cursor: pointer; }
  .results-tools button:hover { border-color: #00b3b3; color: var(--ink); }
  .results-section summary::after { content: 'Click to expand'; margin-left: auto; padding-left: 12px; font-size: 12px; font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--ink-muted); white-space: nowrap; }
  .results-section[open] > summary::after { content: 'Click to collapse'; }
  @media (max-width: 480px) { .results-section summary::after { content: 'Tap'; } .results-section[open] > summary::after { content: 'Tap to close'; } }
  .project-sources, .tl-sources { font-size: 12.5px; color: var(--ink-muted); margin-top: 10px; line-height: 1.6; }
  .tl-sources { margin-top: 4px; }
  .sources-label { font-weight: 600; }
  .project-sources a, .tl-sources a { color: #007a7a; }

  /* Site search */
  .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
  .header-inner { position: relative; }
  .site-search { position: absolute; top: 4px; right: 0; width: 300px; z-index: 30; }
  .site-search input { width: 100%; box-sizing: border-box; font: inherit; font-size: 14px; padding: 9px 12px; border: 2px solid #0d1108; border-radius: 4px; background: #fff; color: var(--ink); }
  .site-search input:hover { border-color: #0d1108; }
  .site-search input:focus { outline: 2px solid #00b3b3; outline-offset: 1px; border-color: #007a7a; }
  .search-results { list-style: none; margin: 4px 0 0; padding: 4px; position: absolute; left: 0; right: 0; background: #fff; border: 1px solid #c8dde0; border-radius: 4px; box-shadow: 0 8px 24px rgba(13, 17, 8, 0.15); max-height: 70vh; overflow-y: auto; }
  .search-results[hidden] { display: none; }
  .search-results li a { display: block; padding: 9px 10px; border-radius: 3px; text-decoration: none; color: var(--ink); }
  .search-results li.active a, .search-results li a:hover { background: #eef6f7; }
  .search-title { display: block; font-weight: 600; font-size: 14px; }
  .search-where { display: block; font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.06em; color: #007a7a; margin: 1px 0 3px; }
  .search-snippet { display: block; font-size: 12.5px; color: var(--ink-muted); line-height: 1.45; }
  .search-results mark { background: #c9fbfb; color: inherit; padding: 0 1px; border-radius: 2px; }
  .search-none { padding: 10px; font-size: 13px; color: var(--ink-muted); }
  .search-hit { animation: searchFlash 2.5s ease-out; }
  @keyframes searchFlash { 0%, 40% { background-color: #c9fbfb; } 100% { background-color: transparent; } }
  @media (max-width: 900px) { .header-inner .header-subtitle { margin-bottom: 12px; } .site-search { position: static; width: 100%; margin: 0 0 12px; } .search-results { position: absolute; } .site-search { position: relative; } }

  /* Hydropulse tab */
  .hp-steps, .hp-offer { margin: 8px 0 8px 20px; padding: 0; font-size: 14px; line-height: 1.6; }
  .hp-steps li, .hp-offer li { margin-bottom: 6px; }
  .hp-steps { list-style: decimal; }
  .hp-offer { list-style: disc; }
  .hp-offer a { color: #007a7a; }

  /* Key Projects: coming-up-next table and "Next" line on cards */
  .next-table td, .next-table th { text-align: left; }
  .next-table tbody th { font-weight: 500; color: var(--ink); }
  .next-table td:first-child { white-space: nowrap; width: 1%; font-weight: 600; }
  .next-table a { color: #007a7a; text-decoration: none; }
  .next-table a:hover { text-decoration: underline; }
  .project-next { font-size: 13px; color: var(--ink); margin-top: 10px; padding: 6px 10px; background: #e4eef0; border-left: 3px solid #00ffff; border-radius: 3px; }

  /* Key Projects: view toggle, stage label and "moved" badge */
  .view-toggle { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
  .view-toggle-label { font-size: 13px; font-weight: 600; color: var(--ink-muted); margin-right: 2px; }
  .view-btn { font-family: 'DM Sans', sans-serif; font-size: 13px; font-weight: 600; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--rule); background: #e4eef0; color: var(--ink-muted); cursor: pointer; }
  .view-btn.active { background: #0d1108; color: #00ffff; border-color: #0d1108; }
  .view-btn:focus-visible { outline: 2px solid #0d1108; outline-offset: 2px; }
  .view-toggle-block { padding-top: 14px; padding-bottom: 14px; }
  .project-stage { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #007a7a; margin-bottom: 3px; }
  .project-moved { display: inline-block; font-size: 11.5px; font-weight: 600; color: #0d1108; background: #00ffff; border-radius: 999px; padding: 2px 10px; margin-bottom: 6px; }
  [hidden] { display: none !important; }
  @media (max-width: 600px) {
    .next-table thead { display: none; }
    .next-table, .next-table tbody, .next-table tr, .next-table th, .next-table td { display: block; width: auto; }
    .next-table tr { padding: 10px 0; border-bottom: 1px solid var(--rule); }
    .next-table th, .next-table td { border: 0; padding: 1px 0; }
    .next-table td:first-child { width: auto; font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: #007a7a; }
  }
