:root {
  --ink: #15352d;
  --muted: #4b6255;
  --line: #dce8df;
  --green: #107748;
  background: #f4f8f4;
  font-family: "Instrument Sans", "Segoe UI", Arial, sans-serif;
}
.topbar { border-top: 0; }
.bar-content { min-height: 76px; }
.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: stretch;
  min-height: 321px;
  padding: 0;
  background: #eaf4eb;
  border: 1px solid #d7e9db;
  border-radius: 21px;
  color: #123c2e;
}
.hero-copy { padding: clamp(25px, 4vw, 53px); align-self: center; }
.hero h1 { font-size: clamp(2.55rem, 5vw, 4.25rem); font-weight: 720; }
.hero-description { color: #33584a; line-height: 1.5; max-width: 46ch; margin-bottom: 12px; }
.hero-meta { color: #2c5d48; margin-top: 22px; }
.hero-meta span { color: #2c5d48; border-color: #b7d0be; }
.eyebrow { color: #157149; margin-bottom: 12px; }
.signal-dot { background: #43843a; }
.hero-image { width: 100%; height: 100%; min-height: 270px; display: block; object-fit: cover; }
.workflow {
  list-style: none;
  margin: 15px 0 24px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
}
.workflow li { display: flex; align-items: center; min-width: 0; padding: 15px; gap: 12px; }
.workflow li + li { border-left: 1px solid var(--line); }
.workflow li div { display: grid; gap: 3px; min-width: 0; }
.workflow small { color: var(--muted); font-size: .8rem; }
.workflow-icon {
  display: inline-block;
  height: 35px;
  width: 35px;
  flex: 0 0 35px;
  border-radius: 9px;
  position: relative;
  background: #e4f3e7;
  color: #13663e;
}
.workflow-icon::before, .workflow-icon::after { content: ""; position: absolute; }
.icon-links::before, .icon-links::after { width: 5px; height: 12px; border: 2px solid currentColor; border-radius: 6px; transform: rotate(40deg); }
.icon-links::before { left: 11px; top: 13px; }
.icon-links::after { left: 17px; top: 6px; }
.icon-measure::before { inset: 8px; border: 2px solid currentColor; border-radius: 50%; }
.icon-measure::after { width: 6px; height: 6px; top: 10px; left: 17px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; }
.icon-report::before { bottom: 9px; left: 10px; width: 3px; height: 8px; background: currentColor; box-shadow: 6px -3px currentColor, 12px -7px currentColor; }
.workflow[data-monitored="true"] .icon-measure { box-shadow: inset 0 0 0 1px #75ac82; }
.chart-panel { padding-bottom: 16px; }
.chart-controls { max-width: min(420px, 100%); min-width: 0; }
.chart-controls select { display: block; width: 100%; margin-top: 5px; }
.chart { margin: 0 22px; }
.chart canvas { display: block; width: 100%; height: 215px; }
.chart figcaption { color: var(--muted); font-size: .86rem; margin-top: .4rem; }
.chart-details { margin: 12px 22px 0; border-top: 1px solid var(--line); padding-top: 12px; }
.chart-details table { width: 100%; font-size: .82rem; border-collapse: collapse; margin: 10px 0; }
.chart-details td, .chart-details th { text-align: left; padding: 6px 4px; border-bottom: 1px solid var(--line); }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media (max-width: 750px) {
  .hero { grid-template-columns: 1fr; }
  .hero-image { height: 178px; min-height: 0; object-position: center 54%; }
  .workflow li { padding: 10px; gap: 7px; }
  .workflow li small { display: none; }
}
@media (max-width: 420px) {
  .workflow { grid-template-columns: 1fr; }
  .workflow li + li { border-left: 0; border-top: 1px solid var(--line); }
  .workflow li small { display: block; }
  .chart, .chart-details { margin-inline: 12px; }
}
.chart-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin: 0 22px; }
.chart-grid .chart { margin: 0; min-width: 0; }
.chart h3 { margin: 0 0 8px; font-size: .94rem; }
.chart-legend { display: flex; flex-wrap: wrap; gap: .4rem 1rem; }
.chart-legend span::before { content: ""; display: inline-block; width: .64em; height: .64em; margin-right: .4em; background: #147a4e; border-radius: 2px; }
.chart-legend span:nth-child(2)::before { background: #b14236; }
.chart-legend span:nth-child(3)::before { background: #a2adab; }
@media (max-width: 750px) { .chart-grid { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .chart-grid { margin-inline: 12px; } }
