@font-face {
  font-family: 'GT America';
  src: url('/fonts/gt-america-regular.woff2') format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'GT America';
  src: url('/fonts/gt-america-bold.woff2') format('woff2');
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
:root {
  --bg: #f8fbf5;
  --paper: #fff;
  --ink: #1f4723;
  --muted: #708568;
  --line: #e0ebdb;
  --green: #427a3a;
  --mint: #cdeccd;
  --pale: #e4f7e6;
  --lemon: #f0fe9b;
  --amber: #92762e;
  --red: #ae514b;
  font-family:
    'GT America',
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  color: var(--ink);
  font-synthesis: none;
  background: var(--bg);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select {
  font: inherit;
}
button,
a,
select {
  touch-action: manipulation;
}
button {
  border: 0;
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button:focus-visible,
a:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid #568947;
  outline-offset: 4px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: clamp(35px, 4vw, 54px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -2px;
}
h2 {
  font-size: 29px;
  letter-spacing: -1px;
  line-height: 1.2;
}
h3 {
  font-size: 16px;
}
small {
  display: block;
}
[hidden] {
  display: none !important;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip-link {
  position: fixed;
  left: 20px;
  top: -60px;
  background: var(--ink);
  color: white;
  padding: 12px 18px;
  border-radius: 12px;
  z-index: 10;
}
.skip-link:focus {
  top: 12px;
}
.workspace {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 48px 35px;
}
.topbar {
  min-height: 105px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -1.5px;
}
.brand img {
  width: 35px;
  height: 20px;
  filter: invert(22%) sepia(18%) saturate(1380%) hue-rotate(75deg) brightness(90%);
}
.breadcrumbs {
  font-size: 12px;
  color: var(--muted);
}
.breadcrumbs span {
  margin: 0 15px;
  color: #b7c4ac;
}
.live-status {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: 25px;
  color: #607c55;
  font-size: 11px;
  white-space: nowrap;
}
.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #b5c4a9;
  box-shadow: 0 0 0 4px #7295640a;
}
.live-status.good .status-dot {
  background: #588d43;
}
.live-status.stale .status-dot {
  background: #bf9e41;
}
.live-status.error .status-dot {
  background: #b9635c;
}
section {
  scroll-margin-top: 25px;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 20px 0 30px;
}
.eyebrow {
  font-size: 9px;
  letter-spacing: 1.7px;
  color: var(--muted);
  margin-bottom: 11px;
}
.intro {
  margin-top: 14px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}
.segmented {
  display: flex;
  background: #edf3e5;
  border: 1px solid #e2ead7;
  border-radius: 24px;
  padding: 4px;
  gap: 3px;
}
.segmented button {
  border-radius: 20px;
  background: transparent;
  padding: 10px 17px;
  font-size: 11px;
  color: #677d54;
  white-space: nowrap;
}
.segmented button.selected {
  background: var(--lemon);
  color: #435b18;
}
.segmented button:hover:not(.selected) {
  background: #e3eddb;
}
.notice {
  border: 1px solid #eadfae;
  background: #fff8df;
  color: #7b652d;
  padding: 16px 22px;
  border-radius: 16px;
  font-size: 12px;
  line-height: 1.7;
  margin-bottom: 20px;
}
.overview-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 24px;
}
.card {
  min-width: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 28px;
  overflow: hidden;
}
.card-label {
  font-size: 10px;
  letter-spacing: 1.1px;
  color: #648057;
  display: flex;
  align-items: center;
  gap: 7px;
}
.window-label {
  margin-left: auto;
  font-size: 9px;
  letter-spacing: 0.4px;
}
.hero-card {
  padding: 32px 35px 0;
  background: var(--mint);
  border-color: transparent;
  border-radius: 32px;
}
.hero-value {
  font-size: clamp(38px, 5vw, 70px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -3px;
  margin-top: 24px;
  overflow-wrap: anywhere;
  font-variant-numeric: tabular-nums;
}
.hero-caption {
  color: #557c4c;
  font-size: 11px;
  line-height: 1.7;
  margin-top: 13px;
}
.hero-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 26px 0 21px;
}
.hero-bottom strong {
  display: block;
  font-size: 25px;
  font-weight: 700;
  letter-spacing: -1px;
  margin-top: 9px;
}
.hero-symbol {
  background: var(--lemon);
  border-radius: 50%;
  font-size: 30px;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
}
.hero-footer {
  border-top: 1px solid #b5d5aa;
  padding: 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 10px;
  color: #537649;
}
.micro-label {
  display: flex;
  align-items: center;
  gap: 7px;
}
.micro-label:before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #63994b;
}
.health-card {
  padding: 31px 32px 0;
  display: flex;
  flex-direction: column;
}
.health-card > .card-label {
  justify-content: space-between;
}
.status-pill {
  font-size: 10px;
  letter-spacing: 0;
  border-radius: 20px;
  padding: 6px 10px;
  white-space: nowrap;
  background: #e4f7dc;
  color: #477138;
}
.status-pill.neutral {
  background: #edf2e7;
  color: #687a58;
}
.status-pill.warning {
  background: #fff5d1;
  color: #866c26;
}
.status-pill.error {
  background: #faeee8;
  color: #a14c40;
}
.health-card h2 {
  margin-top: 26px;
  font-size: 29px;
}
.health-card > p {
  margin-top: 13px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
  max-width: 390px;
}
.health-stats {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 16px;
  margin: 27px 0;
}
.health-stats strong {
  display: block;
  font-size: 27px;
  letter-spacing: -1px;
  font-variant-numeric: tabular-nums;
}
.health-stats span {
  display: block;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
  margin-top: 8px;
}
.health-footer {
  margin-top: auto;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 10px;
}
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 24px;
}
.metric-card {
  padding: 25px 28px;
}
.metric-card > strong {
  display: block;
  font-size: 34px;
  letter-spacing: -1.5px;
  margin-top: 17px;
  overflow-wrap: anywhere;
  font-variant-numeric: tabular-nums;
}
.metric-card p {
  font-size: 11px;
  line-height: 1.7;
  color: var(--muted);
  margin-top: 11px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin: 45px 0 24px;
}
.section-heading .eyebrow {
  margin-bottom: 9px;
}
.subtle-note {
  font-size: 10px;
  color: var(--muted);
  line-height: 1.6;
}
.workflow-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.workflow-card {
  padding: 25px;
}
.workflow-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.function-icon {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 18px;
  background: #edf4e8;
}
.workflow-card h3 {
  margin-top: 19px;
  line-height: 1.5;
}
.workflow-description {
  font-size: 11px;
  line-height: 1.7;
  color: var(--muted);
  margin-top: 8px;
  min-height: 37px;
}
.workflow-numbers {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 23px 0 16px;
}
.workflow-numbers strong {
  display: block;
  font-size: 22px;
  letter-spacing: -0.6px;
}
.workflow-numbers small {
  font-size: 9px;
  color: var(--muted);
  margin-top: 6px;
}
.outcome-track {
  width: 100%;
  height: 5px;
  border-radius: 5px;
  background: #edf2e7;
  display: flex;
  overflow: hidden;
}
.outcome-track .success {
  background: #81b574;
}
.outcome-track .failure {
  background: #c47768;
}
.workflow-footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 17px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.6;
}
.workflow-error {
  font-size: 10px;
  line-height: 1.6;
  color: #a14c40;
  background: #faeee8;
  padding: 10px 12px;
  border-radius: 10px;
  margin-top: 15px;
  overflow-wrap: anywhere;
}
.chart-legend {
  display: flex;
  gap: 18px;
  align-items: center;
  font-size: 10px;
  color: var(--muted);
}
.chart-legend span {
  display: flex;
  gap: 7px;
  align-items: center;
}
.chart-legend i {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 2px;
}
.success-key {
  background: #81b574;
}
.failure-key {
  background: #c47768;
}
.chart-card {
  padding: 24px 28px 0;
}
.history-chart {
  min-height: 210px;
}
.history-chart svg {
  display: block;
  width: 100%;
  height: 220px;
  overflow: visible;
}
.chart-grid {
  stroke: #e7ecdf;
  stroke-dasharray: 3 5;
}
.chart-label {
  fill: #718668;
  font-family: inherit;
  font-size: 10px;
}
.chart-footer {
  border-top: 1px solid var(--line);
  padding: 17px 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 10px;
  color: var(--muted);
  line-height: 1.5;
}
.activity-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}
select {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 20px;
  color: #607a52;
  padding: 10px 28px 10px 14px;
  font-size: 11px;
  max-width: 190px;
}
.activity-card {
  padding: 0 28px;
}
.activity-header,
.activity-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 115px 125px;
  gap: 24px;
}
.activity-header {
  font-size: 9px;
  letter-spacing: 1px;
  color: var(--muted);
  padding: 23px 0;
  border-bottom: 1px solid var(--line);
}
.activity-header span:not(:first-child) {
  text-align: right;
}
.activity-row {
  align-items: start;
  padding: 21px 0;
  border-bottom: 1px solid #edf2e7;
}
.activity-event {
  display: flex;
  gap: 13px;
  min-width: 0;
}
.event-icon {
  font-size: 12px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  background: #e7f5de;
  color: #537f3e;
  flex-shrink: 0;
}
.event-icon.failure {
  background: #f7e8e2;
  color: #a34d40;
}
.event-icon.running,
.event-icon.warning {
  background: #f5f1c9;
  color: #917622;
}
.event-icon.skipped {
  background: #edf2e7;
  color: #718668;
}
.activity-content {
  min-width: 0;
}
.activity-event h3 {
  font-size: 12px;
  line-height: 1.5;
  font-weight: 400;
}
.activity-event p {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.7;
  margin-top: 5px;
  overflow-wrap: anywhere;
}
.event-amount,
.event-time {
  text-align: right;
  font-size: 11px;
  line-height: 1.8;
}
.event-time {
  color: var(--muted);
  font-size: 10px;
}
.tx-link {
  display: block;
  color: #547d3f;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: 10px;
}
.activity-footer {
  padding: 17px 0;
  font-size: 10px;
  color: var(--muted);
}
.empty-state {
  min-height: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 30px;
  color: var(--muted);
  gap: 11px;
}
.empty-state strong {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: #69865b;
}
.empty-state p {
  font-size: 12px;
  max-width: 380px;
  line-height: 1.7;
}
.workflow-grid > .empty-state {
  grid-column: 1/-1;
}
.page-footer {
  margin-top: 43px;
  border-top: 1px solid var(--line);
  padding-top: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  color: var(--muted);
  gap: 24px;
  line-height: 1.6;
}
.page-footer > div {
  display: flex;
  gap: 20px;
  align-items: center;
}
.footer-brand {
  font-size: 19px;
  font-weight: 700;
  color: #6f9352;
  letter-spacing: -0.8px;
}
@media (max-width: 1100px) {
  .metrics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .workspace {
    padding: 0 32px 30px;
  }
  .workflow-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero-card {
    padding: 28px 28px 0;
  }
  .health-card {
    padding: 28px 27px 0;
  }
  .health-stats {
    gap: 12px;
  }
  .health-stats strong {
    font-size: 24px;
  }
  .activity-controls {
    gap: 8px;
  }
  .segmented button {
    padding: 9px 13px;
  }
}
@media (max-width: 750px) {
  .workspace {
    padding: 0 22px 28px;
  }
  .topbar {
    min-height: 84px;
  }
  .breadcrumbs {
    display: none;
  }
  .page-heading {
    align-items: flex-start;
    flex-direction: column;
    margin-top: 15px;
  }
  .overview-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .hero-value {
    font-size: 59px;
  }
  .hero-card {
    padding: 28px 28px 0;
  }
  .health-card {
    padding: 26px 28px 0;
  }
  .health-card h2 {
    margin-top: 20px;
  }
  .health-stats {
    margin: 24px 0;
  }
  .metrics-grid {
    gap: 12px;
    grid-template-columns: 1fr;
  }
  .metric-card {
    padding: 24px 27px;
  }
  .metric-card > strong {
    font-size: 32px;
    margin-top: 12px;
  }
  .metric-card p {
    margin-top: 8px;
  }
  .section-heading {
    align-items: flex-start;
    flex-wrap: wrap;
    margin-top: 34px;
    gap: 15px;
  }
  .section-heading h2 {
    font-size: 27px;
  }
  .workflow-grid {
    gap: 13px;
  }
  .workflow-card {
    padding: 22px;
  }
  .workflow-numbers {
    flex-wrap: wrap;
  }
  .workflow-footer {
    flex-direction: column;
    gap: 3px;
  }
  .activity-controls {
    flex-wrap: wrap;
    width: 100%;
  }
  .activity-header,
  .activity-row {
    grid-template-columns: minmax(0, 1fr) 80px;
    gap: 14px;
  }
  .activity-header span:nth-child(2),
  .event-amount {
    display: none;
  }
  .activity-card {
    padding: 0 22px;
  }
  .chart-card {
    padding: 20px 20px 0;
  }
  .chart-footer {
    flex-direction: column;
    gap: 5px;
  }
  .page-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
  .subtle-note {
    font-size: 10px;
  }
}
@media (max-width: 430px) {
  .workspace {
    padding: 0 17px 25px;
  }
  .brand {
    font-size: 26px;
    gap: 9px;
  }
  .live-status {
    font-size: 10px;
    padding: 9px 11px;
  }
  .workflow-grid {
    grid-template-columns: 1fr;
  }
  .workflow-numbers {
    flex-wrap: nowrap;
  }
  .workflow-footer {
    flex-direction: row;
  }
  .hero-value {
    font-size: 47px;
    letter-spacing: -2px;
  }
  .hero-card,
  .health-card {
    padding-left: 24px;
    padding-right: 24px;
  }
  .health-stats strong {
    font-size: 23px;
  }
  .health-stats span {
    font-size: 9px;
  }
  .hero-footer {
    font-size: 9px;
  }
  .page-footer > div {
    gap: 12px;
  }
  .activity-event {
    gap: 9px;
  }
  .event-icon {
    width: 23px;
    height: 23px;
  }
  .activity-event h3 {
    font-size: 11px;
  }
  .activity-event p {
    font-size: 10px;
  }
  .event-time {
    font-size: 9px;
  }
  .activity-controls .segmented button {
    padding: 9px 11px;
  }
  .activity-controls select {
    max-width: 155px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}

.metric-card .compound-valuation {
  color: var(--ink);
  font-weight: 700;
}

.workflow-mode {
  margin-top: 8px;
  font-size: 11px;
  font-weight: 700;
  color: var(--green);
}

.value-chart-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.value-chart svg {
  width: 100%;
  display: block;
  min-height: 190px;
}
.value-legend {
  margin: 17px 0 7px;
  flex-wrap: wrap;
}
.claimed-key {
  background: #427a3a;
}
.converted-key {
  background: #94ad45;
}
.compound-key {
  background: #7199a0;
}
.chart-description {
  color: var(--muted);
  font-size: 11px;
  margin: 17px 0 7px;
}
.stock-card {
  padding: 25px 28px 0;
}
.stock-chart-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 23px;
}
.flows-chart {
  max-width: 800px;
  margin: 0 auto 26px;
}
.flows-chart svg {
  display: block;
  width: 100%;
}
.flow-chart-label {
  fill: var(--ink);
  font:
    12px 'GT America',
    sans-serif;
}
.table-scroll {
  overflow-x: auto;
}
.table-scroll:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: -2px;
}
.table-scroll table {
  border-collapse: collapse;
  width: 100%;
  min-width: 620px;
  text-align: right;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
.table-scroll th,
.table-scroll td {
  padding: 18px 12px;
  border-bottom: 1px solid var(--line);
}
.table-scroll th:first-child {
  text-align: left;
}
.table-scroll thead th {
  font-size: 10px;
  font-weight: 400;
  color: var(--muted);
}
.flow-table small {
  font-size: 10px;
  font-weight: 400;
  line-height: 1.6;
  margin-top: 6px;
  color: var(--muted);
}
.flow-table td > span {
  font-weight: 700;
}
.cash-row {
  background: #f5f9ed;
}
.flow-positive {
  color: #427a3a;
}
.flow-negative {
  color: #ae514b;
}
.chart-data {
  font-size: 10px;
  color: var(--muted);
  margin-bottom: 14px;
}
.chart-data summary {
  cursor: pointer;
  width: fit-content;
}
.chart-data table {
  min-width: 470px;
  font-size: 10px;
}
@media (max-width: 750px) {
  .value-chart-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .stock-card {
    padding: 22px 20px 0;
  }
  .stock-chart-heading {
    align-items: flex-start;
    flex-direction: column;
  }
  .flows-chart {
    overflow-x: auto;
  }
  .flows-chart svg {
    min-width: 500px;
  }
}

@media (min-width: 1200px) {
  .value-chart-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
