:root {
  font-family:
    Inter,
    Segoe UI,
    Arial,
    sans-serif;
  color: #20282b;
  background: #f5f7f7;
  font-synthesis: none;
  letter-spacing: 0;
  --green: #146654;
  --red: #a52c38;
  --line: #d7dede;
  --muted: #576568;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  touch-action: manipulation;
}
button {
  cursor: pointer;
  border: 1px solid #b8c6c5;
  background: white;
  color: #263632;
  border-radius: 5px;
  min-height: 42px;
  padding: 9px 15px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
button.primary {
  background: var(--green);
  color: white;
  border-color: var(--green);
}
button.danger {
  color: var(--red);
  border-color: #dbacb2;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}
button:hover:not(:disabled) {
  filter: brightness(0.96);
}
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid #dcab2a;
  outline-offset: 3px;
}
button svg {
  width: 18px;
  height: 18px;
}
a {
  color: var(--green);
}
header {
  background: white;
  border-bottom: 1px solid var(--line);
}
.topbar {
  max-width: 1260px;
  margin: auto;
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.brand {
  font-size: 26px;
  font-weight: 750;
}
.edition {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--green);
  margin-top: 4px;
}
.identity {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.shell {
  max-width: 1260px;
  padding: 0 28px 55px;
  margin: auto;
}
nav {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
nav button {
  background: none;
  border-color: transparent;
  font-size: 14px;
}
nav button[aria-current="page"] {
  background: #e4efea;
  color: #125846;
}
.statusbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin: 18px 0;
  color: var(--muted);
  font-size: 13px;
}
.statusbar span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.dot {
  height: 8px;
  width: 8px;
  background: #258561;
  border-radius: 50%;
}
.icon {
  padding: 9px;
  min-width: 42px;
}
.page-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  margin: 26px 0 24px;
}
h1 {
  font-size: 28px;
  line-height: 1.22;
  margin: 0 0 10px;
}
h2 {
  font-size: 20px;
  margin: 0 0 15px;
}
h3 {
  font-size: 16px;
  margin: 0 0 10px;
}
p {
  line-height: 1.6;
  margin: 8px 0 16px;
}
.muted {
  color: var(--muted);
  font-size: 14px;
}
.tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  background: #e6eee9;
  border: 1px solid #c8dbcf;
  border-radius: 4px;
  padding: 4px 7px;
}
.notice {
  background: #edf4f0;
  border-left: 4px solid var(--green);
  padding: 14px 18px;
  margin: 18px 0;
  line-height: 1.5;
}
.notice.warning {
  background: #fff8e8;
  border-color: #bf8a11;
}
.notice.error {
  background: #fff0f0;
  border-color: var(--red);
  color: #8a2430;
  overflow-wrap: anywhere;
}
.notice[hidden] {
  display: none;
}
.band {
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}
.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 20px 0 28px;
}
.metric {
  padding: 8px 18px 8px 0;
  border-right: 1px solid var(--line);
}
.metric:last-child {
  border: 0;
}
.metric strong {
  display: block;
  font-size: 26px;
  margin-top: 7px;
}
.metric span {
  font-size: 13px;
  color: var(--muted);
}
.fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 14px;
  min-width: 0;
}
.field input,
.field select,
.field textarea,
select {
  width: 100%;
  min-height: 42px;
  padding: 9px 10px;
  color: #20282b;
  border: 1px solid #acbdb8;
  border-radius: 4px;
  background: white;
}
.field small {
  font-size: 12px;
  color: var(--muted);
}
input[type="checkbox"],
input[type="radio"] {
  accent-color: var(--green);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
fieldset {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}
legend {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 14px;
}
.choices {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.choice {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  min-height: 42px;
}
.asset-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.asset {
  padding: 20px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 6px;
}
.asset h3 {
  font-size: 16px;
}
.asset .fields {
  gap: 12px;
}
.asset label {
  font-size: 13px;
}
.asset .choice {
  font-weight: 650;
  margin-bottom: 12px;
}
.actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin: 22px 0;
}
.sticky-actions {
  position: sticky;
  bottom: 0;
  border-top: 1px solid var(--line);
  padding: 14px 0;
  background: #f5f7f7;
  z-index: 2;
}
.sticky-actions .muted {
  margin-left: auto;
}
dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px 20px;
  font-size: 14px;
  margin: 0;
}
dt {
  color: var(--muted);
}
dd {
  margin: 0;
  text-align: right;
  overflow-wrap: anywhere;
}
details {
  margin: 18px 0;
}
summary {
  cursor: pointer;
  font-weight: 650;
  padding: 10px 0;
}
pre {
  font-size: 12px;
  background: #ecf0ef;
  padding: 16px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  max-height: 450px;
  overflow: auto;
}
.table-wrap {
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
th,
td {
  padding: 13px 10px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
th {
  font-size: 12px;
  text-transform: uppercase;
  color: var(--muted);
  background: #edf1ef;
}
td.number {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.login {
  max-width: 520px;
  margin: 48px auto;
}
.login h1 {
  font-size: 30px;
}
.login .fields {
  grid-template-columns: 1fr;
}
canvas {
  display: block;
  width: 100%;
  height: 245px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 4px;
}
.asset-fact {
  margin: 14px 0;
}
.asset-fact .labels {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  margin-bottom: 5px;
}
.asset-fact meter {
  width: 100%;
  height: 13px;
  accent-color: var(--green);
}
.history-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.step {
  font-size: 12px;
  color: var(--green);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 9px;
}
.error-list {
  margin: 8px 0;
  padding-left: 20px;
}
footer {
  padding: 24px 0;
  font-size: 12px;
  color: var(--muted);
}
.form-message {
  font-size: 13px;
  color: var(--green);
}
.empty {
  padding: 35px 0;
}
.full {
  grid-column: 1/-1;
}
textarea {
  resize: vertical;
  min-height: 100px;
}
.progress {
  width: 100%;
  height: 10px;
  accent-color: var(--green);
}
@media (max-width: 700px) {
  .shell {
    padding: 0 16px 30px;
  }
  .topbar {
    padding: 18px 16px;
  }
  .brand {
    font-size: 23px;
  }
  .identity {
    font-size: 13px;
  }
  .grid,
  .asset-grid {
    grid-template-columns: 1fr;
  }
  .metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
  .metric strong {
    font-size: 23px;
  }
  .metric:nth-child(2) {
    border: 0;
  }
  h1 {
    font-size: 24px;
  }
  .page-heading {
    display: block;
  }
  nav {
    gap: 0;
  }
  nav button {
    padding: 8px 10px;
  }
  .sticky-actions .muted {
    width: 100%;
    margin: 0;
  }
  .history-item {
    align-items: start;
    flex-wrap: wrap;
  }
  .login {
    margin: 30px auto;
  }
  .fields {
    gap: 14px;
  }
  .asset {
    padding: 15px;
  }
  dl {
    gap: 10px;
    font-size: 13px;
  }
  .statusbar {
    font-size: 12px;
  }
  .page-heading .tag {
    margin-top: 8px;
  }
  .table-wrap {
    max-width: 100%;
  }
  .choices {
    gap: 8px;
  }
  .metric {
    min-width: 0;
  }
  .metric strong {
    overflow-wrap: anywhere;
  }
}
.sticky-actions {
  position: static;
}
.field-error {
  color: var(--red);
  display: block;
}
[aria-invalid="true"] {
  border-color: var(--red);
}
@media (max-width: 360px) {
  .fields {
    grid-template-columns: 1fr;
  }
  .brand {
    font-size: 21px;
  }
}
