/* Shared navigation, controls, records and source panels. */
.v1-frame {
  position: relative;
  width: min(calc(var(--h2-max-width) + 2 * var(--h2-gutter)), 100%);
  margin-inline: auto;
  padding-inline: var(--h2-gutter);
}
.v1-header {
  position: relative; display: flex; align-items: center; gap: 20px;
  min-height: var(--h2-header-height); padding: 18px 0;
  color: var(--h2-ink); background: var(--h2-paper);
  border-bottom: 1px solid var(--h2-line);
}
/* Image wordmark with an accessible text fallback. */
.v1-header .brand, .v1-footer .brand {
  display: inline-block; flex: 0 0 170px; width: 170px; height: 44px;
  background: url("assets/h2prism-logo-64.webp") left center / 170px auto no-repeat;
  color: transparent; font-size: 0; text-decoration: none; overflow: hidden;
}
.v1-header .brand b, .v1-footer .brand b { font-size: 0; }
.v1-header .brand:has(img), .v1-footer .brand:has(img) { background: none; }
.v1-header .brand img, .v1-footer .brand img { display: block; width: 170px; height: auto; aspect-ratio: 170 / 44; }
.v1-header .tagline { display: none; }
.v1-header .spacer { flex: 1; }
.v1-header .navtoggle {
  display: none; align-items: center; justify-content: center;
  width: 44px; height: 44px; border: 1px solid var(--h2-line);
  border-radius: var(--h2-radius-control); background: var(--h2-surface); color: var(--h2-ink);
}
.v1-subscribe, .v1-primary {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 12px; min-height: 46px; padding: 10px 18px;
  background: var(--h2-action); border: 1px solid var(--h2-action);
  color: var(--h2-action-ink) !important; border-radius: var(--h2-radius-control);
  font: 700 14px/1.4 var(--h2-font-ui); text-decoration: none;
  transition: background var(--h2-dur-fast);
}
.v1-subscribe:hover, .v1-primary:hover { background: var(--h2-action-hover); }
.v1-header .v1-subscribe {
  background: var(--h2-surface); border-color: var(--h2-line);
  color: var(--h2-ink) !important;
}
.v1-header .v1-subscribe:hover { background: var(--h2-surface-sunk); }
.v1-search { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 44px; min-width: 44px; min-height: 44px; color: var(--h2-ink) !important; border-radius: var(--h2-radius-control); }
.v1-search:hover { background: var(--h2-surface-sunk); }
.v1-nav {
  position: absolute; z-index: 5;
  left: calc(var(--h2-gutter) + 204px); right: calc(var(--h2-gutter) + 136px); top: 0;
  min-height: var(--h2-header-height); display: flex; align-items: stretch;
  justify-content: flex-start; gap: 22px; border: 0; padding: 0; background: transparent;
}
.v1-nav a {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0; font-size: 13px; line-height: 1.3;
  color: var(--h2-ink); white-space: nowrap; text-decoration: none;
}
.v1-nav a:hover { color: var(--h2-action); }
.v1-nav a[aria-current] { font-weight: 700; }
.v1-nav a[aria-current]::after {
  content: ""; position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px; background: var(--h2-action);
}
.v1-header > .v1-nav { position: static; flex: 1; align-self: stretch; min-height: calc(var(--h2-header-height) - 36px); }
.v1-header:has(> .v1-nav) > .spacer { display: none; }
.v1-header > .v1-nav a[aria-current]::after { bottom: -18px; }
.v1-footer {
  margin-top: 12px; border-top: 1px solid var(--h2-line);
  padding: 32px 0 40px; color: var(--h2-ink-2); font-size: 13px;
}
.v1-footer .brand { width: 130px; height: 38px; background-size: 130px auto; }
.v1-footer .brand img { width: 130px; aspect-ratio: 130 / 38; }
.v1-footer > p { margin: 12px 0; font-size: 13px; }
.v1-footer nav { display: flex; flex-wrap: wrap; gap: 4px 28px; }
.v1-footer nav a { display: inline-flex; align-items: center; min-height: 44px; color: inherit; text-decoration: none; }
.v1-footer .v1-muted { margin-top: 20px; margin-bottom: 0; font-size: 12px; }
.v1-lead { color: var(--h2-ink-2); font-size: 17px; line-height: 1.65; max-width: 65ch; }
.v1-muted { color: var(--h2-ink-2); }
.v1-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-block: 28px; }
.v1-actions a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; font-weight: 700; }
.v1-actions a:not(.v1-primary) { color: var(--h2-action); text-decoration: none; }
.v1-actions a:not(.v1-primary):hover { text-decoration: underline; }
.v1-section { margin-top: 40px; }
.v1-stats {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px;
  margin: 40px 0 52px; padding: 28px 0; border-block: 1px solid var(--h2-line);
}
.v1-stats a { display: block; min-height: 70px; text-decoration: none; color: inherit; }
.v1-stats strong { display: block; font: 400 42px/1.1 var(--h2-font-display); letter-spacing: -.02em; }
.v1-stats span { display: block; margin-top: 8px; color: var(--h2-ink-2); font-size: 12px; }
.v1-filter {
  display: flex; align-items: flex-end; flex-wrap: wrap; gap: 16px;
  margin: 28px 0 16px; padding: 20px 24px; background: var(--h2-surface);
  border: 1px solid var(--h2-line); border-radius: var(--h2-radius-card);
}
.v1-filter label { display: grid; gap: 8px; min-width: 180px; font-size: 12px; color: var(--h2-ink-2); font-weight: 700; }
.v1-filter label:first-child { flex: 1; min-width: 260px; }
.v1-filter input, .v1-filter select {
  width: 100%; min-height: 44px; max-width: 100%; padding: 10px 12px;
  background: #fafbf9; border: 1px solid var(--h2-line-strong); border-radius: var(--h2-radius-control);
  color: var(--h2-ink); font-size: 14px; font-weight: 400;
}
.v1-filter input::placeholder { color: var(--h2-ink-3); }
.v1-filter button[type="reset"] { justify-self: start; min-height: 44px; padding: 10px 16px; border: 1px solid var(--h2-line); border-radius: var(--h2-radius-control); background: var(--h2-surface); color: var(--h2-ink-2); font: 700 13px/1.4 var(--h2-font-ui); }
.v1-filter button[type="reset"]:hover { background: var(--h2-surface-sunk); color: var(--h2-ink); }
.v1 [data-filter-status] { font-size: 13px; color: var(--h2-ink-2); margin: 16px 0; }
.v1-results, .v1-links { list-style: none; margin: 0; padding: 0; }
.v1-results li, .v1-links li { border-top: 1px solid var(--h2-line); padding: 14px 0; overflow-wrap: anywhere; }
.v1-results a, .v1-links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--h2-ink); text-decoration: none; font-size: 14px; font-weight: 700; }
.v1-results a:hover, .v1-links a:hover { color: var(--h2-action); text-decoration: underline; }
.v1-results span { display: block; color: var(--h2-ink-2); font-size: 13px; }
.v1-links .v1-muted { display: inline; font-size: 13px; font-weight: 400; }
.v1-links li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.v1-table-wrap { overflow-x: auto; max-width: 100%; background: var(--h2-surface); border: 1px solid var(--h2-line); border-radius: var(--h2-radius-card); }
.v1 table { width: 100%; border-collapse: collapse; font-size: 13px; text-align: left; }
.v1 th { padding: 16px 18px; background: var(--h2-surface-sunk); color: var(--h2-ink-2); font-size: 11px; font-weight: 700; }
.v1 td { padding: 14px 18px; border-top: 1px solid var(--h2-line); vertical-align: middle; line-height: 1.5; }
.v1 td:first-child { width: 37%; min-width: 240px; }
.v1 td a { display: inline-flex; align-items: center; min-height: 44px; color: var(--h2-ink); text-decoration: none; font-weight: 700; }
.v1 td a:hover { color: var(--h2-action); text-decoration: underline; }
.v1 tbody tr:hover { background: #f7faf7; }
.v1 table :is(.num, [data-label*="MW"], [data-label*="Capacity"]) { text-align: right; font-variant-numeric: tabular-nums; }
.v1 th[data-sort] button { border: 0; background: none; font: inherit; min-height: 44px; color: inherit; }
.v1-pagination { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 24px 0 0; }
.v1-pagination a, .v1-pagination span {
  display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px;
  padding: 8px 12px; border: 1px solid var(--h2-line); border-radius: 4px;
  background: var(--h2-surface); color: var(--h2-ink); text-decoration: none; font-size: 13px;
}
.v1-pagination [aria-current] { background: var(--h2-ink); border-color: var(--h2-ink); color: var(--h2-surface); }
.v1-pagination a:hover { background: var(--h2-surface-sunk); }
.v1-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 22px; font-size: 12px; color: var(--h2-ink-2); }
.v1-breadcrumb a { display: inline-flex; min-height: 44px; align-items: center; color: inherit; text-decoration: none; }
.v1-data-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; background: var(--h2-surface); border: 1px solid var(--h2-line); border-radius: var(--h2-radius-card); overflow: hidden; }
.v1-data-cell { padding: 20px 24px; border-bottom: 1px solid var(--h2-line); min-width: 0; overflow-wrap: anywhere; }
.v1-data-cell dt { color: var(--h2-ink-2); font-size: 12px; margin-bottom: 8px; }
.v1-data-cell dd { margin: 0; font-size: 15px; line-height: 1.5; font-variant-numeric: tabular-nums; }
.v1-context { display: block; margin-top: 8px; color: var(--h2-ink-2); font-size: 12px; }
.v1-sources { margin: 16px 0 0; border-top: 1px solid var(--h2-line); color: var(--h2-ink-2); font-size: 13px; }
.v1-sources summary { cursor: pointer; min-height: 44px; padding: 12px 4px; overflow-wrap: anywhere; }
.v1-sources ul { list-style: none; padding-left: 0; }
.v1-sources li { padding: 16px 0; border-top: 1px solid var(--h2-line); overflow-wrap: anywhere; }
.v1-sources p { font-size: 13px; margin: 6px 0; }
.v1-sources strong { color: var(--h2-ink); }
/* Named participants and their roles remain readable without color cues. */
.v1-relations { max-width: 950px; }
.v1-relations table { table-layout: fixed; }
.v1-relations th:first-child, .v1-relations td:first-child { width: 50%; min-width: 0; }
.v1-relations :is(th, td) { overflow-wrap: anywhere; }
.v1-relations td[data-label="Role in project"] { font-weight: 600; }
.v1-relations .v1-sources { margin-top: 12px; }
.v1 [data-stage] { color: var(--h2-ink-2); }
.v1 [data-stage]::before {
  content: ""; display: inline-block; width: 10px; height: 10px;
  margin-right: 8px; border: 1.5px solid currentColor; border-radius: 50%; vertical-align: 1px;
}
.v1 [data-stage="operating"] { color: var(--h2-blue); }
.v1 [data-stage="operating"]::before { background: currentColor; }
.v1 [data-stage="fid"]::before { border-radius: 0; background: currentColor; }
.v1 [data-stage="feasibility"]::before { border-radius: 0; background: transparent; transform: rotate(45deg) scale(.82); }
.v1 [data-stage="demo"]::before { border: 0; border-radius: 0; background: currentColor; clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.v1 [data-stage="paused"]::before { border-radius: 0; border-block: 0; border-inline-width: 2px; }
.v1 [data-stage="cancelled"]::before { border: 0; border-radius: 0; background: currentColor; clip-path: polygon(15% 0, 50% 35%, 85% 0, 100% 15%, 65% 50%, 100% 85%, 85% 100%, 50% 65%, 15% 100%, 0 85%, 35% 50%, 0 15%); }
.v1 [data-stage="decommissioned"]::before { border-style: dashed; border-radius: 50%; background: transparent; }
.v1 [data-stage="unknown"]::before { display: none; }

/* A numerical summary of the current view. */
.v1-result-sentence {
  margin: 24px 0; max-width: 72ch; color: var(--h2-ink);
  font: 400 19px/1.7 var(--h2-font-ui); text-wrap: pretty;
}
.v1-result-sentence .v1-result-number {
  display: inline; margin-right: .1em; font: 400 42px/1.15 var(--h2-font-display);
  letter-spacing: -.02em; font-variant-numeric: tabular-nums;
}
.v1-result-sentence > strong:not(.v1-result-number) { font-weight: 700; }
.v1-summary-band { position: relative; margin-block: 36px 48px; padding-block: 26px; border-bottom: 1px solid var(--h2-line); }
.v1-summary-band::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--h2-spectrum); }
.v1-summary-band .v1-result-sentence { margin: 0; }

/* Key facts and newsletter. */
.v1-facts-strip { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; margin: 28px 0; padding: 24px 0; border-block: 1px solid var(--h2-line); }
.v1-facts-strip dt { color: var(--h2-ink-2); font-size: 12px; margin-bottom: 8px; }
.v1-facts-strip dd { margin: 0; font-size: 17px; }
.v1-newsletter:not(body) { margin-top: 48px; padding: 32px 40px; background: var(--h2-surface-sunk); border-radius: var(--h2-radius-card); }
.v1-newsletter:not(body) form { display: flex; align-items: flex-end; gap: 12px; flex-wrap: wrap; }
.v1-newsletter:not(body) label { display: grid; gap: 8px; font-size: 12px; }
.v1-newsletter:not(body) input { padding: 10px 12px; border: 1px solid var(--h2-line-strong); border-radius: var(--h2-radius-control); }
.v1-newsletter:not(body) button { padding: 10px 18px; border: 1px solid var(--h2-action); background: var(--h2-action); color: var(--h2-action-ink); border-radius: var(--h2-radius-control); }
.v1 .newsletter { width: 100%; max-width: 68ch; margin: 0; }
.v1 .newsletter > p { font-size: 14px; color: var(--h2-ink-2); }
.v1 .newsletter form { display: grid; gap: 14px; margin-top: 24px; }
.v1 .newsletter form > label { font-size: 12px; color: var(--h2-ink-2); }
.v1 .newsletter input[type="email"] { min-height: 44px; width: 100%; max-width: 100%; padding: 10px 12px; font: inherit; background: var(--h2-surface); border: 1px solid var(--h2-line-strong); border-radius: var(--h2-radius-control); }
.v1 .newsletter label:has(input[type="checkbox"]) { display: flex; align-items: flex-start; gap: 12px; min-height: 44px; padding-block: 8px; line-height: 1.6; }
.v1 .newsletter input[type="checkbox"] { flex: 0 0 20px; min-height: 20px; width: 20px; height: 20px; margin: 0; accent-color: var(--h2-action); }
.v1 .newsletter button { justify-self: start; min-height: 44px; padding: 10px 18px; border: 1px solid var(--h2-action); border-radius: var(--h2-radius-control); background: var(--h2-action); color: var(--h2-action-ink); font: 700 14px/1.4 var(--h2-font-ui); }
.v1 .newsletter form > p { margin: 0; font-size: 12px; color: var(--h2-ink-2); }
body.consent-open { padding-bottom: var(--consent-space, 0px); }
.analytics-consent { position: fixed; z-index: 100; inset: auto 20px 20px auto; width: min(300px, calc(100vw - 40px)); max-height: calc(100dvh - 40px); margin: 0; padding: 14px 16px; overflow: auto; box-sizing: border-box; border-radius: var(--h2-radius-floating); background: var(--h2-surface); color: var(--h2-ink); box-shadow: var(--h2-shadow-2); font: 400 13px/1.45 var(--h2-font-ui); }

.analytics-consent > p { margin: 0 0 10px; max-width: none; font: inherit; }
.analytics-consent a { color: var(--h2-link); text-underline-offset: .2em; padding: 12px 4px; margin: -12px -4px; }
.analytics-consent-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.analytics-consent button { min-height: 44px; min-width: 44px; padding: 8px 12px; border: 1px solid var(--h2-line); border-radius: var(--h2-radius-control); background: var(--h2-surface); color: var(--h2-ink); font: inherit; cursor: pointer; }
.analytics-consent :is(a, button):focus-visible { outline: 3px solid var(--h2-focus); outline-offset: 3px; }
.analytics-consent .consent-full { display: inline; }
.analytics-consent .consent-short { display: none; }

@media (max-width: 1200px) and (min-width: 1001px) {
  .v1-nav { gap: 14px; left: calc(var(--h2-gutter) + 188px); right: calc(var(--h2-gutter) + 114px); }
  .v1-nav a { font-size: 12px; }
  .v1-header .brand { width: 154px; flex-basis: 154px; background-size: 154px auto; }
  .v1-subscribe { padding-inline: 12px; }
}
@media (max-width: 1000px) {
  .v1-header .navtoggle { display: inline-flex; }
  .v1-nav { display: none; position: static; min-height: 0; padding: 16px 0; gap: 8px 20px; border-bottom: 1px solid var(--h2-line); }
  .v1-nav.open { display: flex; flex-wrap: wrap; }
  .v1-nav a { flex: 1 1 23%; justify-content: flex-start; min-height: 44px; font-size: 14px; padding: 8px 4px; }
  .v1-nav a[aria-current]::after { height: 2px; }
  .v1-header:has(> .v1-nav) { display: grid; grid-template-columns: minmax(0, 1fr) 44px auto 44px; column-gap: 10px; }
  .v1-header > .brand { grid-column: 1; grid-row: 1; }
  .v1-header > .v1-search { grid-column: 2; grid-row: 1; }
  .v1-header > .v1-subscribe { grid-column: 3; grid-row: 1; }
  .v1-header > .navtoggle { grid-column: 4; grid-row: 1; }
  .v1-header > .v1-nav { grid-column: 1 / -1; grid-row: 2; min-height: 0; width: 100%; }
  .v1-header > .v1-nav.open { display: flex; }
  .v1-header > .v1-nav a[aria-current]::after { bottom: 0; }
}
@media (max-width: 760px) {
  .v1-header { min-height: 76px; gap: 10px; padding: 12px 0; }
  .v1-header .brand { width: min(142px, 100%); min-width: 0; flex-basis: 142px; background-size: contain; }
  .v1-header .brand img { width: 142px; max-width: 100%; }
  .v1-header .v1-subscribe { min-height: 44px; font-size: 12px; padding-inline: 10px; }
  .v1-nav.open { gap: 4px 16px; }
  .v1-nav a { flex-basis: 42%; }
  .v1-footer { padding-top: 24px; font-size: 12px; }
  .v1-footer > p { font-size: 12px; }
  .v1-footer nav { gap: 2px 20px; }
  .v1-lead { font-size: 15px; }
  .v1-actions { gap: 8px 20px; margin-block: 22px; }
  .v1-actions a { font-size: 13px; }
  .v1-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 24px; margin-block: 28px 36px; padding-block: 24px; }
  .v1-stats strong { font-size: 36px; }
  .v1-stats span { font-size: 11px; }
  .v1-filter { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 18px; margin-top: 24px; }
  .v1-filter label, .v1-filter label:first-child { min-width: 0; }
  .v1-filter input, .v1-filter select { width: 100%; font-size: 13px; }
  .v1 table { font-size: 12px; }
  .v1 th, .v1 td { padding: 12px 14px; }
  .v1 td:first-child { min-width: 220px; }
  .v1-data-grid { grid-template-columns: minmax(0, 1fr); }
  .v1-data-cell { padding: 18px 20px; }
  .v1-data-cell dd { font-size: 14px; }
  .v1-breadcrumb { margin-bottom: 16px; }
  .v1-facts-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .v1-newsletter:not(body) { padding: 24px 20px; }
  .v1-newsletter:not(body) form, .v1-newsletter:not(body) label { width: 100%; }
  .v1-newsletter:not(body) form button { width: 100%; }
  .v1 .newsletter button { width: 100%; }
  body.consent-open { padding-bottom: var(--consent-space, 80px); }
  .analytics-consent { position: fixed; inset: auto 0 0 0; width: 100%; max-width: none; max-height: none; margin: 0; padding: 8px 12px; overflow: hidden; border: 0; border-top: 1px solid var(--h2-line); border-radius: 0; box-shadow: none; display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 8px; font-size: 12px; line-height: 1.3; }
  .analytics-consent > p { grid-column: 1; min-width: 0; margin: 0; white-space: normal; }
  .analytics-consent-actions { display: contents; }
  .analytics-consent button { min-height: 44px; padding: 6px 10px; white-space: nowrap; }
  .analytics-consent .consent-full { display: none; }
  .analytics-consent .consent-short { display: inline; }
  .v1-result-sentence { font-size: 17px; line-height: 1.65; }
  .v1-result-sentence .v1-result-number { font-size: 34px; }
  /* Labelled cards preserve the original column names. */
  .v1-table-wrap:has(td[data-label]) table, .v1-table-wrap:has(td[data-label]) tbody { display: block; }
  .v1-table-wrap:has(td[data-label]) thead { display: none; }
  .v1-table-wrap:has(td[data-label]) tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 18px; padding: 18px; border-top: 1px solid var(--h2-line); }
  .v1-table-wrap:has(td[data-label]) td { display: block; width: auto; min-width: 0; padding: 0; border: 0; }
  .v1-table-wrap:has(td[data-label]) td::before { content: attr(data-label); display: block; margin-bottom: 6px; color: var(--h2-ink-2); font-size: 10px; }
  .v1-table-wrap:has(td[data-label]) td:first-child { grid-column: 1 / -1; font-size: 15px; }
  .v1-table-wrap:has(td[data-label]) td:first-child::before { display: none; }
  .v1-relations .v1-table-wrap:has(td[data-label]) tr { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .v1-relations .v1-table-wrap td:first-child { width: auto; }
  .v1-table-wrap:has(td[data-label]) td[data-stage] { grid-column: 1 / -1; }
  .v1-table-wrap:has(td[data-label]) td[data-stage]::before { display: inline-block; margin-bottom: 0; }
  .v1-table-wrap:has(td[data-label]) td[data-stage]::before { content: ""; }
  .v1-table-wrap:has(td[data-label]) [data-label*="MW"] { text-align: left; }
}
@media (min-width: 761px) {
  .v1-dashboard .analytics-consent { inset: auto 20px 0 20px; width: auto; max-height: 64px; padding: 8px 16px; overflow: hidden; display: flex; align-items: center; gap: 12px; }
  .v1-dashboard .analytics-consent > p { flex: 1 1 auto; min-width: 0; margin: 0; overflow: hidden; }
  .v1-dashboard .analytics-consent-actions { flex: none; }
}
