:root {
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: #243d38;
  background: #f3f3ed;
  font-synthesis: none;
  --green: #174e44;
  --muted: #6d7b73;
  --line: #dbe1d8;
  --paper: #fffefa;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid #bd883a;
  outline-offset: 3px;
}
aside {
  width: 235px;
  position: fixed;
  inset: 0 auto 0 0;
  background: #163d36;
  color: #fffbea;
  padding: 33px 22px;
  display: flex;
  flex-direction: column;
  z-index: 5;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 28px;
  font-weight: 650;
  letter-spacing: 2px;
}
.brandmark {
  font-size: 44px;
  color: #d5ba88;
}
small {
  display: block;
  font-size: 8px;
  letter-spacing: 2px;
  font-weight: 500;
  margin-top: 4px;
}
.nav-label,
.eyebrow {
  font-size: 10px;
  letter-spacing: 1.8px;
  font-weight: 650;
}
.nav-label {
  color: #9caf9e;
  margin: 45px 10px 16px;
}
nav a {
  display: flex;
  gap: 13px;
  align-items: center;
  padding: 13px 12px;
  margin: 5px 0;
  border-radius: 7px;
  font-size: 13px;
  color: #c9d7ca;
}
nav a.active {
  background: #2b5347;
  color: #fff;
}
nav a:hover {
  background: #244d43;
}
nav a span {
  font-size: 17px;
  color: #c5b893;
  width: 20px;
}
.aside-bottom {
  margin-top: auto;
  font-size: 11px;
  line-height: 1.8;
  color: #c2d0c2;
}
.aside-bottom p {
  margin: 22px 0 12px;
  color: #fff;
}
.aside-bottom p span {
  color: #9eafa3;
}
.aside-bottom a {
  display: block;
}
.status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: #adc098;
  border-radius: 50%;
  margin-right: 7px;
}
main {
  margin-left: 235px;
  padding: 30px 36px 16px;
  max-width: 1900px;
}
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
  gap: 15px;
}
.eyebrow {
  color: #778779;
}
h1 {
  font-size: 30px;
  font-weight: 550;
  letter-spacing: -1px;
  margin: 9px 0 0;
}
h2 {
  font-size: 21px;
  font-weight: 550;
  letter-spacing: -0.5px;
  margin: 0 0 14px;
}
h3 {
  font-size: 15px;
  margin: 0 0 10px;
}
p {
  line-height: 1.65;
}
.header-right {
  text-align: right;
}
.badge {
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.7px;
  background: #e7eadb;
  color: #48633f;
  border: 1px solid #d4dcc7;
  border-radius: 20px;
  padding: 7px 11px;
  display: inline-block;
}
.site-label {
  display: block;
  font-size: 9px;
  letter-spacing: 1.4px;
  color: #839183;
  margin-top: 10px;
}
.intro {
  color: var(--muted);
  font-size: 13px;
  max-width: 850px;
  margin: 0 0 22px;
}
.grid {
  display: grid;
  grid-template-columns: 1fr 310px;
  gap: 20px;
}
.panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px;
  min-width: 0;
}
.scene-card {
  padding: 0;
  overflow: hidden;
  background: #e6e8df;
  position: relative;
}
.scene {
  height: 425px;
  width: 100%;
  position: relative;
}
.scene canvas {
  display: block;
}
.scene-top {
  position: absolute;
  top: 20px;
  left: 22px;
  z-index: 2;
  pointer-events: none;
}
.scene-top strong {
  display: block;
  font-size: 14px;
  margin-bottom: 7px;
}
.scene-top span {
  font-size: 10px;
  letter-spacing: 0.5px;
  color: #607465;
}
.scene-bottom {
  position: absolute;
  bottom: 18px;
  left: 22px;
  right: 22px;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  font-size: 10px;
  color: #4d6358;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 20px 0;
}
.metric {
  padding: 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
}
.metric label {
  font-size: 10px;
  color: var(--muted);
  display: block;
  margin-bottom: 12px;
}
.metric strong {
  font-size: 27px;
  letter-spacing: -1px;
  font-weight: 550;
}
.metric small {
  font-size: 10px;
  letter-spacing: 0;
  color: var(--muted);
  margin-top: 8px;
}
.metric em {
  font-style: normal;
  font-size: 12px;
  color: #7e897e;
  margin-left: 4px;
}
.controls label {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  margin-top: 17px;
}
.controls output {
  color: var(--green);
  font-weight: 600;
}
input[type="range"] {
  width: 100%;
  accent-color: var(--green);
  margin: 8px 0 0;
}
input[type="number"],
select,
input[type="text"] {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: white;
  color: #244138;
  min-width: 0;
}
.button,
.primary {
  padding: 10px 15px;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: #fffef8;
  color: #23483f;
  font-size: 12px;
}
.primary {
  background: var(--green);
  border-color: var(--green);
  color: white;
}
.button:hover {
  background: #edf0e5;
}
.primary:hover {
  background: #286759;
}
.buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.controls .primary {
  width: 100%;
  margin-top: 20px;
}
.muted {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
}
.timeline {
  padding: 17px 21px;
  display: flex;
  gap: 16px;
  align-items: center;
  border-top: 1px solid var(--line);
  background: #fafaf3;
}
.timeline input {
  flex: 1;
}
.time-label {
  font-size: 11px;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 20px 0;
}
.three {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.chart {
  width: 100%;
  height: 155px;
  overflow: visible;
}
.chart text {
  font-size: 11px;
  fill: #7b867e;
}
.chart .line {
  fill: none;
  stroke: #346d5d;
  stroke-width: 2;
}
.chart .gridline {
  stroke: #e8ebe4;
  stroke-width: 1;
}
.legend {
  display: flex;
  gap: 16px;
  font-size: 10px;
  color: var(--muted);
  margin: 10px 0;
}
.legend i {
  width: 16px;
  height: 3px;
  display: inline-block;
  margin-right: 5px;
  vertical-align: middle;
}
.table-wrap {
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}
th {
  text-align: left;
  font-size: 10px;
  color: var(--muted);
  font-weight: 500;
  padding: 12px 10px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
td {
  padding: 12px 10px;
  border-bottom: 1px solid #eef0e9;
}
td code {
  font-size: 10px;
}
.tag {
  font-size: 10px;
  background: #eef0e9;
  padding: 4px 7px;
  border-radius: 5px;
  white-space: nowrap;
}
.warn {
  color: #99601d;
  background: #fcf2dc;
}
.event {
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  line-height: 1.6;
}
.event time {
  font-size: 10px;
  color: var(--muted);
  margin-right: 10px;
}
footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #7b877d;
  font-size: 10px;
  padding: 26px 0 0;
  line-height: 1.6;
}
#notice {
  background: #fff0d5;
  color: #785322;
  padding: 15px;
  margin-bottom: 18px;
  border-radius: 8px;
  overflow-wrap: anywhere;
}
pre {
  font-size: 11px;
  line-height: 1.7;
  background: #edf0e8;
  padding: 18px;
  border-radius: 8px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  max-height: 460px;
  overflow: auto;
}
details {
  margin: 15px 0;
  font-size: 12px;
}
summary {
  cursor: pointer;
  padding: 10px 0;
  color: var(--green);
}
.large-number {
  font-size: 40px;
  letter-spacing: -2px;
}
.network {
  width: 100%;
  height: 320px;
}
.network text {
  font-family: inherit;
  font-size: 12px;
  fill: #38584b;
}
.network circle {
  fill: #24574b;
  stroke: #fff;
  stroke-width: 4;
}
.network path,
.network line {
  stroke: #91a893;
  stroke-width: 3;
  fill: none;
}
.empty {
  padding: 30px;
  border: 1px dashed #c9d2c5;
  border-radius: 8px;
  color: var(--muted);
  font-size: 13px;
}
.links {
  display: grid;
  gap: 10px;
}
.links a {
  display: block;
  border: 1px solid var(--line);
  padding: 16px;
  border-radius: 8px;
  background: white;
}
.links a:hover {
  border-color: #789a82;
}
.formgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.formgrid label {
  font-size: 11px;
  line-height: 2;
}
.asset-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
progress {
  accent-color: #426c56;
  width: 100%;
  height: 7px;
}
.photo-preview {
  max-height: 240px;
  max-width: 100%;
  border-radius: 8px;
}
.equation {
  font-family: Georgia, serif;
  font-size: 19px;
  background: #edf0e6;
  padding: 20px;
  border-left: 3px solid #779575;
  line-height: 1.8;
}
.pill-link {
  display: inline-block;
  font-size: 11px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 5px;
  margin-right: 5px;
}
.asset-info {
  position: absolute;
  right: 18px;
  top: 18px;
  max-width: 185px;
  background: #fffdf5ed;
  border: 1px solid #d4dbc9;
  border-radius: 8px;
  padding: 12px;
  font-size: 11px;
  z-index: 3;
  line-height: 1.7;
}
@media (min-width: 1600px) {
  .scene {
    height: 520px;
  }
}
@media (max-width: 1100px) {
  aside {
    width: 190px;
    padding: 25px 13px;
  }
  main {
    margin-left: 190px;
    padding: 25px 22px;
  }
  .grid {
    grid-template-columns: 1fr 260px;
  }
  .metrics {
    grid-template-columns: repeat(2, 1fr);
  }
  .three {
    grid-template-columns: 1fr;
  }
  .scene {
    height: 380px;
  }
}
@media (max-width: 760px) {
  aside {
    position: relative;
    width: 100%;
    padding: 16px 18px;
    display: block;
  }
  .brand {
    font-size: 22px;
  }
  .brandmark {
    font-size: 32px;
  }
  .nav-label,
  .aside-bottom {
    display: none;
  }
  nav {
    display: flex;
    overflow-x: auto;
    gap: 6px;
    margin-top: 15px;
  }
  nav a {
    white-space: nowrap;
    font-size: 11px;
    padding: 10px 12px;
    margin: 0;
  }
  nav a span {
    display: none;
  }
  main {
    margin: 0;
    padding: 22px 15px;
  }
  .grid,
  .two {
    grid-template-columns: 1fr;
  }
  .scene {
    height: 340px;
  }
  h1 {
    font-size: 25px;
  }
  .site-label {
    display: none;
  }
  .badge {
    font-size: 8px;
  }
  .header-right {
    max-width: 120px;
  }
  .metrics {
    gap: 8px;
  }
  .metric {
    padding: 15px;
  }
  .metric strong {
    font-size: 24px;
  }
  .timeline {
    padding: 13px;
    gap: 9px;
  }
  .timeline .button {
    padding: 8px;
  }
  .scene-bottom {
    font-size: 8px;
    gap: 12px;
  }
  .asset-info {
    top: 65px;
    max-width: 130px;
    font-size: 10px;
  }
  footer {
    flex-direction: column;
  }
  .formgrid {
    grid-template-columns: 1fr;
  }
  .panel {
    padding: 18px;
  }
}
aside {
  overflow-y: auto;
}
.aside-bottom {
  padding-top: 20px;
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
.legend {
  flex-wrap: wrap;
}
@media print {
  aside,
  header,
  .buttons,
  .controls,
  footer {
    display: none;
  }
  main {
    margin: 0;
    padding: 0;
  }
  .panel {
    break-inside: avoid;
  }
  .grid,
  .two {
    display: block;
  }
  .scene {
    height: 300px;
  }
  body {
    background: white;
  }
}
