@import url("/fonts.css");
:root {
  --ink: #203d34;
  --muted: #7d8c82;
  --green: #146d57;
  --lime: #d5edbf;
  --line: #e3e7de;
  --paper: #f7f8f2;
  --white: #fffef9;
  --amber: #b46c2d;
  --radius: 16px;
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-size: calc(13px * var(--text-scale, 1));
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
  color: inherit;
  transition:
    background 0.18s,
    transform 0.18s;
}
button:hover {
  filter: brightness(0.97);
}
button:active {
  transform: translateY(1px);
}
button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid #74ac7e;
  outline-offset: 3px;
}
button {
  border: 0;
  background: none;
}
a {
  color: var(--green);
}
.hidden {
  display: none !important;
}
.header {
  height: 86px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  padding: 0 30px;
  gap: 64px;
  background: #fcfcf7;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--ink);
  font-size: calc(23px * var(--text-scale, 1));
  font-weight: 800;
  letter-spacing: 3px;
  min-width: 215px;
}
.brand img {
  width: 42px;
  height: 42px;
}
.brand small {
  display: block;
  font-size: calc(9px * var(--text-scale, 1));
  letter-spacing: 2px;
  font-weight: 500;
  margin-top: 1px;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 16px;
  color: #90968d;
  font-size: calc(12px * var(--text-scale, 1));
}
.breadcrumb strong {
  font-weight: 600;
  color: #51665b;
}
.breadcrumb > span {
  color: #c5cbbf;
}
.header-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 28px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius: 20px;
  padding: 6px 10px;
  font-size: calc(10px * var(--text-scale, 1));
  font-weight: 600;
  white-space: nowrap;
  background: #edf5e5;
  color: #4b7455;
}
.badge i,
.live-button i,
.workspace-footer i {
  width: 6px;
  height: 6px;
  background: #48976c;
  border-radius: 50%;
  display: inline-block;
}
.badge.muted {
  background: #ecefe8;
  color: #7b897e;
}
.badge.muted i {
  background: #a5afa2;
}
.badge.alert {
  background: #faedda;
  color: #a16a32;
}
.badge.alert i {
  background: #ce8a42;
}
.account {
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  font-size: calc(12px * var(--text-scale, 1));
}
.account small {
  display: block;
  font-size: calc(10px * var(--text-scale, 1));
  color: var(--muted);
  margin-top: 3px;
}
.avatar {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  background: #e4ecd9;
  border-radius: 50%;
  font-size: calc(10px * var(--text-scale, 1));
  font-weight: 700;
}
.workspace {
  display: grid;
  grid-template-columns: 80px 240px minmax(0, 1fr);
  min-height: calc(100vh - 86px);
}
.rail {
  border-right: 1px solid var(--line);
  padding: 23px 10px 15px;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 10px;
  background: #fcfcf7;
}
.rail-button {
  width: 58px;
  min-height: 61px;
  position: relative;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  color: #899389;
}
.rail-button > span {
  font-size: calc(25px * var(--text-scale, 1));
  line-height: 25px;
}
.rail-button small {
  font-size: calc(9px * var(--text-scale, 1));
  font-weight: 600;
}
.rail-button.active {
  background: #e6efdd;
  color: var(--green);
}
.rail-button b {
  position: absolute;
  right: 8px;
  top: 5px;
  background: #d3944e;
  border-radius: 20px;
  color: white;
  padding: 1px 4px;
  font-size: calc(9px * var(--text-scale, 1));
}
.rail-bottom {
  margin-top: auto;
  display: grid;
  gap: 12px;
  justify-items: center;
  padding-top: 50px;
}
.local-dot {
  width: 7px;
  height: 7px;
  background: #90b180;
  border: 3px solid #e5eeda;
  box-sizing: content-box;
  border-radius: 50%;
  margin: 8px;
}
.explorer {
  border-right: 1px solid var(--line);
  padding: 28px 17px 18px;
  display: flex;
  flex-direction: column;
  background: #f9faf4;
}
.eyebrow {
  font-size: calc(9px * var(--text-scale, 1));
  letter-spacing: 1.5px;
  font-weight: 700;
  color: #8e9a8b;
}
.explorer-heading {
  padding: 0 6px;
}
h2 {
  font-size: calc(17px * var(--text-scale, 1));
  font-weight: 600;
  letter-spacing: -0.5px;
}
.explorer h2 {
  margin: 10px 0 22px;
  display: flex;
  align-items: center;
  gap: 9px;
}
.explorer h2 span {
  background: #e8ede1;
  border-radius: 5px;
  font-size: calc(10px * var(--text-scale, 1));
  padding: 3px 6px;
  color: #809376;
}
.search {
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #e1e6da;
  border-radius: 8px;
  padding: 8px 10px;
  background: #fefef9;
}
.search span {
  font-size: calc(22px * var(--text-scale, 1));
  line-height: 15px;
  color: #929d8e;
}
.search input {
  border: 0;
  outline: 0;
  width: 100%;
  font-size: calc(11px * var(--text-scale, 1));
  background: none;
  color: var(--ink);
  min-width: 0;
}
.search kbd {
  color: #b5bcae;
  border: 1px solid #e6eadf;
  padding: 0 4px;
  border-radius: 3px;
  font-size: calc(10px * var(--text-scale, 1));
}
.explorer-tabs {
  display: flex;
  border-bottom: 1px solid var(--line);
  margin-top: 20px;
}
.explorer-tabs button {
  width: 50%;
  padding: 11px 0;
  font-size: calc(11px * var(--text-scale, 1));
  color: #98a08f;
  border-bottom: 2px solid transparent;
}
.explorer-tabs button.active {
  color: var(--green);
  border-color: var(--green);
  font-weight: 600;
}
.asset-tree {
  padding: 14px 0;
  overflow: auto;
  max-height: 58vh;
  scrollbar-width: thin;
}
.tree-group {
  font-size: calc(9px * var(--text-scale, 1));
  letter-spacing: 0.8px;
  font-weight: 700;
  color: #99a08e;
  margin: 17px 9px 9px;
  display: flex;
  gap: 8px;
  align-items: center;
}
.tree-group span {
  margin-left: auto;
  font-size: calc(9px * var(--text-scale, 1));
  font-weight: 400;
}
.asset-row {
  display: flex;
  width: 100%;
  text-align: left;
  padding: 11px 9px;
  gap: 9px;
  border-radius: 8px;
  align-items: center;
  color: #71806e;
  font-size: calc(10px * var(--text-scale, 1));
  margin-bottom: 2px;
}
.asset-row.active {
  background: #e7efdf;
  color: #27664b;
}
.asset-row .row-icon {
  font-size: calc(17px * var(--text-scale, 1));
  color: #7e9a75;
}
.asset-row .asset-dot {
  margin-left: auto;
  border-radius: 50%;
  background: #98b58a;
  width: 5px;
  height: 5px;
  flex-shrink: 0;
}
.asset-row .asset-dot.alert {
  background: #cd934f;
}
.asset-row.active .row-icon {
  color: #367b55;
}
.add-asset {
  font-size: calc(10px * var(--text-scale, 1));
  text-align: left;
  padding: 12px 10px;
  color: #829174;
  border: 1px dashed #d8e1cd;
  border-radius: 7px;
  margin-bottom: 12px;
}
.explorer-footer {
  margin-top: auto;
  border-top: 1px solid var(--line);
  padding: 22px 4px 4px;
  display: flex;
  gap: 10px;
  align-items: center;
}
.explorer-footer strong {
  font-size: calc(10px * var(--text-scale, 1));
  font-weight: 500;
}
.explorer-footer small {
  font-size: calc(9px * var(--text-scale, 1));
  display: block;
  color: #a1a996;
  margin-top: 4px;
}
.cube {
  font-size: calc(27px * var(--text-scale, 1));
  color: #a5b995;
}
.main-content {
  padding: 28px 28px 0;
  min-width: 0;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 25px;
}
.page-heading h1 {
  font-size: calc(27px * var(--text-scale, 1));
  letter-spacing: -1.1px;
  font-weight: 600;
  margin: 9px 0 10px;
}
.page-heading h1 span {
  font-size: calc(23px * var(--text-scale, 1));
  color: #b3bdab;
  margin-left: 8px;
}
.subtitle {
  display: flex;
  gap: 8px;
  color: #949e8e;
  font-size: calc(11px * var(--text-scale, 1));
  align-items: center;
}
.location-pin {
  color: #a3af97;
  font-size: calc(15px * var(--text-scale, 1));
}
.dot-sep {
  color: #bdc5b6;
}
.primary {
  background: var(--green);
  color: #f9fff4;
  padding: 12px 17px;
  border-radius: 8px;
  display: inline-flex;
  gap: 9px;
  align-items: center;
  font-size: calc(11px * var(--text-scale, 1));
  font-weight: 600;
  white-space: nowrap;
}
.primary span {
  font-size: calc(17px * var(--text-scale, 1));
  font-weight: 400;
}
.secondary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  border: 1px solid #dfe6d5;
  border-radius: 7px;
  padding: 11px 12px;
  font-size: calc(10px * var(--text-scale, 1));
  background: #fcfdf5;
}
.secondary.warning {
  margin-top: 8px;
  background: #fcf0da;
  color: #966129;
}
.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 258px;
  gap: 18px;
}
.viewport-panel {
  position: relative;
  min-height: 565px;
  height: calc(100vh - 394px);
  background: #edf1e6;
  border: 1px solid #dfe5d8;
  border-radius: var(--radius);
  overflow: hidden;
}
.viewport-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 16px 18px;
  position: relative;
  z-index: 2;
  pointer-events: none;
}
.segmented {
  display: flex;
  border: 1px solid #dce2d3;
  background: #e6ecdf;
  border-radius: 8px;
  padding: 3px;
  pointer-events: auto;
}
.segmented button {
  font-size: calc(10px * var(--text-scale, 1));
  padding: 7px 12px;
  border-radius: 5px;
  color: #8a9680;
  white-space: nowrap;
}
.segmented button.active {
  background: #fcfdf7;
  color: #416951;
  box-shadow: 0 1px 4px #33442208;
}
.viewport-id {
  font-size: calc(8px * var(--text-scale, 1));
  letter-spacing: 1px;
  color: #8c9a7e;
}
.viewport-id > span {
  color: #b6c0ab;
  margin: 0 5px;
}
.kpis {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  margin: 0 18px;
  pointer-events: none;
}
.kpis article {
  background: #fcfdf2e0;
  border: 1px solid #e0e7d7;
  border-radius: 10px;
  padding: 13px 15px;
  backdrop-filter: blur(10px);
}
.kpis article > span {
  display: flex;
  justify-content: space-between;
  font-size: calc(10px * var(--text-scale, 1));
  color: #829074;
}
.kpis b {
  font-weight: 400;
  font-size: calc(14px * var(--text-scale, 1));
  color: #a6b698;
}
.kpis article > div {
  font-size: calc(26px * var(--text-scale, 1));
  font-weight: 600;
  letter-spacing: -1px;
  margin: 9px 0 6px;
  font-variant-numeric: tabular-nums;
}
.kpis small {
  font-size: calc(11px * var(--text-scale, 1));
  color: #94a185;
  font-weight: 400;
  letter-spacing: 0;
  margin-left: 3px;
}
.kpis footer {
  font-size: calc(8px * var(--text-scale, 1));
  color: #99a68b;
}
#viewport {
  position: absolute;
  inset: 68px 0 0;
}
#viewport canvas {
  display: block;
}
#viewport-labels {
  position: absolute;
  inset: 68px 0 0;
  pointer-events: none;
  z-index: 1;
}
.model-label {
  position: absolute;
  transform: translate(-50%, -100%);
  padding: 6px 9px;
  background: #fbfdf4f0;
  border: 1px solid #dbe4d2;
  border-radius: 5px;
  font-size: calc(8px * var(--text-scale, 1));
  white-space: nowrap;
  color: #617951;
  box-shadow: 0 3px 12px #3951360c;
}
.model-label.active {
  color: var(--green);
  border-color: #87b285;
  font-weight: 600;
}
.model-label:after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  height: 7px;
  border-left: 1px solid #9bab8f;
}
.viewport-guide {
  position: absolute;
  left: 18px;
  bottom: 19px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
}
.viewport-guide > .badge {
  font-size: calc(8px * var(--text-scale, 1));
  background: #f9fbf1d9;
  letter-spacing: 1px;
}
.viewport-guide > span:last-child {
  font-size: calc(8px * var(--text-scale, 1));
  color: #859675;
  display: flex;
  gap: 7px;
}
.viewport-tools {
  position: absolute;
  left: 18px;
  top: 195px;
  z-index: 2;
  background: #f9fcf2e8;
  box-shadow: 0 3px 15px #284b2208;
  border: 1px solid #dce5d2;
  border-radius: 9px;
  display: grid;
  padding: 4px;
}
.viewport-tools button {
  font-size: calc(20px * var(--text-scale, 1));
  width: 33px;
  height: 34px;
  color: #68835a;
  border-radius: 5px;
}
.viewport-tools button.active {
  background: #dfeccf;
}
.viewport-tools span {
  border-top: 1px solid var(--line);
  margin: 4px;
}
.compass {
  position: absolute;
  bottom: 75px;
  right: 24px;
  display: grid;
  justify-items: center;
  color: #6a895b;
  font-size: calc(9px * var(--text-scale, 1));
}
.compass svg {
  width: 40px;
  height: 40px;
}
.exploration {
  position: absolute;
  bottom: 66px;
  left: 18px;
  display: flex;
  gap: 10px;
  align-items: center;
  border: 1px solid #d8e3cc;
  background: #f8fcf0e6;
  border-radius: 10px;
  padding: 11px 12px;
  z-index: 2;
}
.exploration > span {
  font-size: calc(21px * var(--text-scale, 1));
  color: #80a45f;
}
.exploration strong {
  font-size: calc(9px * var(--text-scale, 1));
  font-weight: 600;
}
.exploration small {
  display: block;
  font-size: calc(8px * var(--text-scale, 1));
  color: #99aa89;
  margin-top: 3px;
}
.progress-circle {
  border: 2px solid #c4d8b3;
  border-top-color: #74a65d;
  border-radius: 50%;
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  font-size: calc(10px * var(--text-scale, 1));
  margin-left: 12px;
  color: #6e9655;
}
.viewport-status {
  position: absolute;
  inset: 190px 70px auto;
  background: #f9fcefef;
  border: 1px solid #d2dfc5;
  border-radius: 9px;
  padding: 20px;
  z-index: 5;
  text-align: center;
  font-size: calc(12px * var(--text-scale, 1));
}
.viewport-status:empty {
  display: none;
}
.inspector {
  background: #fffef8;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 19px;
  min-width: 0;
}
.inspector-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.inspector-top .eyebrow {
  font-size: calc(8px * var(--text-scale, 1));
}
.icon-button {
  font-size: calc(22px * var(--text-scale, 1));
  line-height: 20px;
  padding: 2px 6px;
  color: #98a48e;
}
.asset-symbol {
  width: 43px;
  height: 43px;
  border-radius: 12px;
  background: #edf3e4;
  display: grid;
  place-items: center;
  color: #648e52;
  font-size: calc(25px * var(--text-scale, 1));
  margin: 16px 0 13px;
}
.inspector > .eyebrow {
  font-size: calc(8px * var(--text-scale, 1));
}
.inspector h2 {
  font-size: calc(19px * var(--text-scale, 1));
  line-height: 1.3;
  margin: 7px 0;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.mono {
  font-family: Consolas, monospace;
}
.asset-id {
  font-size: calc(9px * var(--text-scale, 1));
  color: #9ba38f;
}
.inspector-badges {
  display: flex;
  gap: 6px;
  align-items: center;
  margin: 14px 0 22px;
}
.inspector-badges .badge {
  font-size: calc(8px * var(--text-scale, 1));
  padding: 5px 8px;
}
.plain-badge {
  font-size: calc(8px * var(--text-scale, 1));
  padding: 5px 7px;
  border-radius: 4px;
  background: #f1f3ea;
  color: #8b987d;
}
.measurement {
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
.measurement > span {
  font-size: calc(8px * var(--text-scale, 1));
  font-weight: 600;
  color: #9aa58f;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.measurement > div {
  margin-top: 6px;
}
.measurement strong {
  font-size: calc(37px * var(--text-scale, 1));
  letter-spacing: -1.5px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.measurement small {
  font-size: calc(12px * var(--text-scale, 1));
  color: #9aaa8a;
}
.measurement footer {
  font-size: calc(8px * var(--text-scale, 1));
  color: #91a07e;
  margin-top: 5px;
}
.chart-heading {
  display: flex;
  justify-content: space-between;
  margin: 24px 0 9px;
  font-size: calc(9px * var(--text-scale, 1));
}
.chart-heading strong {
  font-weight: 600;
}
.chart-heading > span {
  color: #9da78f;
  font-size: calc(8px * var(--text-scale, 1));
}
#trend-chart {
  height: 65px;
  width: 100%;
  overflow: hidden;
}
.chart-times {
  display: flex;
  justify-content: space-between;
  font-size: calc(8px * var(--text-scale, 1));
  color: #b0b7a0;
}
.detail-rows {
  margin: 20px 0;
}
.detail-rows > div {
  display: flex;
  justify-content: space-between;
  margin: 12px 0;
  font-size: calc(9px * var(--text-scale, 1));
  gap: 8px;
}
.detail-rows span {
  color: #9ba38f;
}
.detail-rows strong {
  font-weight: 500;
  max-width: 125px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.inspector-note {
  display: flex;
  gap: 8px;
  color: #a0ac92;
  align-items: flex-start;
  margin: 14px 0 0;
}
.inspector-note span {
  font-size: calc(14px * var(--text-scale, 1));
}
.inspector-note p {
  font-size: calc(8px * var(--text-scale, 1));
  line-height: 1.6;
  margin: 2px 0;
}
.timeline-panel {
  margin-top: 18px;
  background: #fffef9;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 15px 19px 13px;
}
.timeline-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: calc(11px * var(--text-scale, 1));
}
.timeline-heading > div {
  display: flex;
  gap: 10px;
  align-items: center;
}
.timeline-icon {
  font-size: calc(17px * var(--text-scale, 1));
  color: #8f9d81;
}
.timeline-heading strong {
  font-weight: 600;
  font-size: calc(11px * var(--text-scale, 1));
}
.timeline-description {
  color: #a5ad98;
  font-size: calc(9px * var(--text-scale, 1));
  padding-left: 10px;
  border-left: 1px solid #e0e6d6;
}
.timeline-heading #timeline-date {
  font-size: calc(9px * var(--text-scale, 1));
  color: #8c9b7f;
}
.live-button {
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #e1e8d9;
  border-radius: 5px;
  font-size: calc(9px * var(--text-scale, 1));
  padding: 5px 9px;
}
.live-button.active {
  color: #48855a;
  background: #eef5e5;
}
.timeline-body {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-top: 8px;
}
.play-button {
  background: #edf3e5;
  border: 1px solid #dbe5cd;
  width: 31px;
  height: 31px;
  border-radius: 50%;
  color: #7a995e;
  font-size: calc(10px * var(--text-scale, 1));
  flex-shrink: 0;
}
.timeline-track {
  position: relative;
  flex: 1;
  padding-top: 3px;
  min-width: 0;
}
#timeline-chart {
  height: 33px;
  width: 100%;
  overflow: hidden;
}
#timeline {
  width: 100%;
  height: 7px;
  display: block;
  accent-color: #5f8e4a;
  margin: 0;
  cursor: ew-resize;
}
.timeline-ticks {
  display: flex;
  justify-content: space-between;
  color: #a4af97;
  font-size: calc(8px * var(--text-scale, 1));
  margin-top: 10px;
}
.time-readout {
  min-width: 90px;
  text-align: right;
  padding-left: 15px;
  border-left: 1px solid #e7ecde;
}
.time-readout strong {
  font-size: calc(15px * var(--text-scale, 1));
  font-weight: 500;
  letter-spacing: 0.6px;
  font-variant-numeric: tabular-nums;
}
.time-readout span {
  display: block;
  font-size: calc(8px * var(--text-scale, 1));
  color: #a0ad91;
  margin-top: 4px;
}
.workspace-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 17px 0;
  color: #a8b09b;
  font-size: calc(8px * var(--text-scale, 1));
}
.workspace-footer > span {
  display: flex;
  align-items: center;
  gap: 5px;
}
.workspace-footer i {
  background: #9ab783;
  width: 4px;
  height: 4px;
}
.workspace-footer b {
  font-weight: 400;
  color: #c3c9ba;
}
dialog {
  border: 1px solid #d8e1cc;
  border-radius: 16px;
  padding: 24px;
  background: var(--white);
  color: var(--ink);
  width: min(640px, 94vw);
  max-height: 88vh;
  box-shadow: 0 25px 100px #203d3433;
}
dialog::backdrop {
  background: #203d3455;
  backdrop-filter: blur(5px);
}
.dialog-heading {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
  margin-bottom: 18px;
}
.dialog-heading h2 {
  font-size: calc(23px * var(--text-scale, 1));
  margin: 7px 0 0;
}
.dialog-heading .icon-button {
  font-size: calc(27px * var(--text-scale, 1));
}
#dialog-content {
  font-size: calc(12px * var(--text-scale, 1));
  line-height: 1.65;
}
#dialog-content p {
  color: #829176;
}
#dialog-content code {
  font-size: calc(11px * var(--text-scale, 1));
  overflow-wrap: anywhere;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.form-grid label,
.field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: calc(11px * var(--text-scale, 1));
  color: #6f8561;
}
.form-grid input,
.form-grid select,
.form-grid textarea,
.field input,
.field select {
  width: 100%;
  border: 1px solid #dbe4ce;
  border-radius: 6px;
  padding: 10px;
  background: #fcfff6;
  color: #294631;
  min-width: 0;
}
.form-grid .full {
  grid-column: 1/-1;
}
.form-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 18px;
  flex-wrap: wrap;
}
.form-actions button {
  font-size: calc(11px * var(--text-scale, 1));
}
.form-error {
  color: #a05030;
  font-size: calc(11px * var(--text-scale, 1));
  margin: 10px 0;
  min-height: 16px;
}
.notice {
  border: 1px solid #dfe7d2;
  border-radius: 7px;
  padding: 12px;
  background: #f0f5e8;
  font-size: calc(11px * var(--text-scale, 1));
  line-height: 1.6;
  margin: 12px 0;
}
.notice.amber {
  background: #fcf2de;
  border-color: #efdcb8;
  color: #9c6a35;
}
.dialog-list {
  display: grid;
  gap: 9px;
  margin: 12px 0;
}
.list-card {
  border: 1px solid #e2e8d9;
  border-radius: 8px;
  padding: 13px;
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}
.list-card strong {
  font-size: calc(12px * var(--text-scale, 1));
  font-weight: 600;
}
.list-card small {
  display: block;
  color: #9aa58e;
  font-size: calc(10px * var(--text-scale, 1));
}
.list-card button {
  font-size: calc(10px * var(--text-scale, 1));
  color: var(--green);
  padding: 7px;
}
.list-card.alert-card {
  border-left: 3px solid #c89652;
}
.detail-json {
  white-space: pre-wrap;
  overflow: auto;
  max-height: 300px;
  border-radius: 7px;
  background: #f0f4e8;
  padding: 12px;
  font:
    calc(10px * var(--text-scale, 1))/1.6 Consolas,
    monospace;
}
.toast {
  position: fixed;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  z-index: 20;
  border: 1px solid #cadbbd;
  box-shadow: 0 7px 30px #203d3419;
  background: #fbfff4;
  color: #42653d;
  padding: 13px 20px;
  border-radius: 10px;
  font-size: calc(12px * var(--text-scale, 1));
  max-width: min(620px, 90vw);
  opacity: 0;
  transition: 0.25s;
  pointer-events: none;
}
.toast.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.camera-video {
  width: 100%;
  max-height: 360px;
  background: #17271e;
  border-radius: 9px;
}
.model-node {
  display: block;
  border-left: 1px solid #dae3cf;
  padding-left: 9px;
  margin: 5px 0;
  font-size: calc(9px * var(--text-scale, 1));
  color: #869877;
}
.model-node summary {
  cursor: pointer;
}
.empty-message {
  color: #9aa68e;
  font-size: calc(11px * var(--text-scale, 1));
  padding: 15px 8px;
  line-height: 1.8;
}
.small-button {
  border: 1px solid #dbe5cf;
  padding: 7px 10px;
  border-radius: 6px;
  font-size: calc(10px * var(--text-scale, 1));
}
.viewport-panel:fullscreen {
  height: 100vh;
  width: 100vw;
}
.viewport-panel:fullscreen #viewport {
  top: 68px;
}
.skeleton {
  color: #b0b9a5;
}
.checkbox-field {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  gap: 8px !important;
}
.checkbox-field input {
  width: auto !important;
}
.tab-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 15px;
}
.tab-actions button {
  border: 1px solid #dee7d3;
  border-radius: 6px;
  padding: 7px 12px;
}
.tab-actions button.active {
  background: #e5efdb;
  color: #336c44;
}
.muted-text {
  color: #9eac91;
  font-size: calc(10px * var(--text-scale, 1));
}
.camera-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.record-dot {
  color: #bc5c38;
}
.map-coordinate {
  font-family: Consolas, monospace;
  font-size: calc(10px * var(--text-scale, 1));
}
.inline-flex {
  display: flex;
  gap: 8px;
  align-items: center;
}
.form-grid label small {
  font-size: calc(9px * var(--text-scale, 1));
  color: #9aa68e;
}
@media (min-width: 1700px) {
  .main-content {
    padding: 34px 36px 0;
  }
  .content-grid {
    grid-template-columns: minmax(0, 1fr) 290px;
  }
  .inspector {
    padding: 25px;
  }
  .viewport-panel {
    min-height: 635px;
  }
  .explorer {
    padding-top: 34px;
  }
  .page-heading {
    margin-bottom: 30px;
  }
}
@media (max-width: 1300px) {
  .workspace {
    grid-template-columns: 65px 205px minmax(0, 1fr);
  }
  .rail {
    padding-left: 3px;
    padding-right: 3px;
  }
  .main-content {
    padding: 23px 18px 0;
  }
  .header {
    padding: 0 23px;
    gap: 25px;
  }
  .brand {
    min-width: 220px;
  }
  .breadcrumb {
    gap: 8px;
    font-size: calc(10px * var(--text-scale, 1));
  }
  .header-right {
    gap: 14px;
  }
  .content-grid {
    grid-template-columns: minmax(0, 1fr) 228px;
    gap: 12px;
  }
  .viewport-id {
    display: none;
  }
  .kpis {
    gap: 6px;
    margin: 0 12px;
  }
  .kpis article {
    padding: 12px 9px;
  }
  .kpis article > div {
    font-size: calc(22px * var(--text-scale, 1));
  }
  .kpis footer {
    font-size: calc(7px * var(--text-scale, 1));
  }
  .viewport-top {
    padding: 14px 12px;
  }
  .inspector {
    padding: 17px 15px;
  }
  .viewport-guide > span:last-child {
    display: none;
  }
  .exploration {
    bottom: 55px;
  }
  .exploration small {
    max-width: 125px;
  }
  .viewport-tools {
    left: 12px;
  }
  .page-heading h1 {
    font-size: calc(25px * var(--text-scale, 1));
  }
  .timeline-description {
    display: none;
  }
  .explorer {
    padding-left: 10px;
    padding-right: 10px;
  }
  .asset-row {
    font-size: calc(9px * var(--text-scale, 1));
  }
  .viewport-panel {
    min-height: 570px;
  }
}
@media (max-width: 1050px) {
  .workspace {
    grid-template-columns: 60px 180px minmax(0, 1fr);
  }
  .content-grid {
    grid-template-columns: 1fr;
  }
  .inspector {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px 20px;
  }
  .inspector-top {
    grid-column: 1/-1;
  }
  .asset-symbol {
    display: none;
  }
  .inspector .measurement {
    grid-column: 2;
    grid-row: 2/7;
    border: 0;
    padding-top: 0;
  }
  .inspector .chart-heading,
  .inspector #trend-chart,
  .inspector .chart-times {
    grid-column: 2;
  }
  .inspector > .eyebrow,
  .inspector > h2,
  .inspector > .asset-id,
  .inspector-badges,
  .inspector .detail-rows {
    grid-column: 1;
  }
  .inspector > .eyebrow {
    margin-top: 10px;
  }
  .inspector h2 {
    margin: 0;
  }
  .inspector-badges {
    margin: 8px 0;
  }
  .inspector .detail-rows {
    grid-row: 7/11;
    margin: 0;
  }
  .inspector-note {
    display: none;
  }
  .viewport-panel {
    height: 530px;
    min-height: 530px;
  }
  .breadcrumb {
    display: none;
  }
  .header {
    height: 72px;
  }
  .workspace {
    min-height: calc(100vh - 72px);
  }
  .main-content {
    padding: 22px 16px 0;
  }
  .page-heading h1 {
    font-size: calc(23px * var(--text-scale, 1));
  }
  .page-heading .primary {
    padding: 10px;
  }
  .workspace-footer > span:nth-child(2) {
    display: none;
  }
}
@media (max-width: 730px) {
  .workspace {
    grid-template-columns: 52px minmax(0, 1fr);
  }
  .explorer {
    display: none;
  }
  .rail {
    width: 52px;
    padding-top: 15px;
  }
  .rail-button {
    width: 45px;
    min-height: 55px;
  }
  .rail-button small {
    font-size: calc(8px * var(--text-scale, 1));
  }
  .header {
    padding: 0 16px;
  }
  .brand {
    min-width: 0;
    font-size: calc(20px * var(--text-scale, 1));
  }
  .brand img {
    width: 35px;
    height: 35px;
  }
  .brand small {
    font-size: calc(7px * var(--text-scale, 1));
  }
  .header-right > .badge {
    display: none;
  }
  .account {
    gap: 6px;
  }
  .account-label {
    font-size: calc(10px * var(--text-scale, 1));
  }
  .page-heading {
    align-items: flex-start;
    margin-bottom: 17px;
  }
  .page-heading h1 {
    font-size: calc(20px * var(--text-scale, 1));
    max-width: 200px;
    line-height: 1.3;
  }
  .page-heading .eyebrow {
    font-size: calc(7px * var(--text-scale, 1));
  }
  .subtitle {
    font-size: calc(9px * var(--text-scale, 1));
    gap: 5px;
    flex-wrap: wrap;
  }
  .main-content {
    padding: 19px 11px 0;
  }
  .primary {
    font-size: calc(9px * var(--text-scale, 1));
    padding: 8px !important;
  }
  .primary span {
    font-size: calc(13px * var(--text-scale, 1));
  }
  .viewport-panel {
    height: 550px;
    min-height: 550px;
  }
  .kpis article > span {
    font-size: calc(8px * var(--text-scale, 1));
  }
  .kpis article > div {
    font-size: calc(19px * var(--text-scale, 1));
  }
  .kpis small {
    font-size: calc(8px * var(--text-scale, 1));
  }
  .kpis article {
    padding: 9px 7px;
  }
  .kpis footer {
    display: none;
  }
  .segmented button {
    font-size: calc(9px * var(--text-scale, 1));
    padding: 7px 10px;
  }
  .viewport-tools {
    top: 158px;
  }
  .timeline-heading #timeline-date {
    display: none;
  }
  .timeline-panel {
    padding: 12px;
  }
  .timeline-ticks span:nth-child(even) {
    display: none;
  }
  .time-readout {
    min-width: 65px;
    padding-left: 8px;
  }
  .time-readout strong {
    font-size: calc(11px * var(--text-scale, 1));
  }
  .time-readout span {
    font-size: calc(7px * var(--text-scale, 1));
  }
  .timeline-body {
    gap: 8px;
  }
  .exploration {
    padding: 8px;
    left: 12px;
    bottom: 54px;
  }
  .exploration small {
    max-width: 140px;
  }
  .viewport-guide {
    left: 12px;
    bottom: 14px;
  }
  .workspace-footer {
    font-size: calc(7px * var(--text-scale, 1));
    gap: 5px;
  }
  .workspace-footer > span:last-child {
    font-size: calc(6px * var(--text-scale, 1));
  }
  .inspector {
    padding: 15px 12px;
    gap: 7px 13px;
  }
  .inspector h2 {
    font-size: calc(16px * var(--text-scale, 1));
  }
  .measurement strong {
    font-size: calc(29px * var(--text-scale, 1));
  }
  .measurement small {
    font-size: calc(10px * var(--text-scale, 1));
  }
  .detail-rows > div {
    font-size: calc(8px * var(--text-scale, 1));
  }
  .form-grid,
  .camera-grid {
    grid-template-columns: 1fr;
  }
  .form-grid .full {
    grid-column: 1;
  }
  .header-right {
    gap: 0;
  }
  .account > span:last-child {
    display: none;
  }
  dialog {
    padding: 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
