@font-face {
  font-family: Inter;
  src: url("/static/fonts/inter.ttf");
}
@font-face {
  font-family: Plex;
  src: url("/static/fonts/plex-mono.ttf");
}
:root {
  color-scheme: dark;
  --bg: #0c1015;
  --panel: #131920;
  --surface: #192029;
  --line: #2a323c;
  --muted: #92a0ae;
  --dim: #728090;
  --text: #e5ecf1;
  --mint: #54d9c3;
  --mono: Plex, monospace;
  --radius: 8px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font:
    13px Inter,
    Arial,
    sans-serif;
  -webkit-font-smoothing: antialiased;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
  color: inherit;
  background: none;
  border: none;
}
button:disabled {
  cursor: default;
  opacity: 0.4;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
canvas:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 2px;
}
button:hover {
  color: white;
}
a {
  color: var(--mint);
  text-decoration: none;
}
i {
  display: inline-flex;
  font-style: normal;
  align-items: center;
  justify-content: center;
}
svg {
  flex-shrink: 0;
}
.topbar {
  height: 61px;
  display: flex;
  align-items: center;
  padding: 0 24px;
  gap: 22px;
  background: #11161c;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #f2f5f8;
  letter-spacing: -1px;
  font-size: 21px;
}
.brand img {
  width: 32px;
  margin-right: 5px;
}
.brand span {
  font-weight: 420;
  color: #afb9c3;
}
.head-divider {
  height: 19px;
  width: 1px;
  background: #303842;
}
.workspace-switch,
.top-right,
.engine,
.actions,
.btn,
.viewport-actions,
.view-foot span,
.status,
.project-meta,
.dashboard-head h2,
.lower-tabs,
.assistant-link,
.tabs,
.row,
.tag,
.tree-row,
.crumb,
.swatch-row {
  display: flex;
  align-items: center;
}
.workspace-switch {
  gap: 9px;
  color: #b5c0ca;
  font-size: 12px;
}
.workspace-switch i:first-child {
  color: #83929f;
}
.top-right {
  margin-left: auto;
  gap: 18px;
}
.engine {
  color: #a6b7bd;
  gap: 8px;
  font-size: 11px;
}
.led,
.study-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  flex: none;
  border-radius: 50%;
  background: #66d6a8;
}
.avatar {
  background: #233a38;
  color: #9be6d5;
  border: 1px solid #385551;
  border-radius: 50%;
  width: 31px;
  height: 31px;
  font-size: 10px;
  font-weight: 650;
}
.shell {
  display: flex;
}
.rail {
  width: 58px;
  flex-shrink: 0;
  align-self: stretch;
  display: flex;
  align-items: center;
  flex-direction: column;
  padding: 18px 0;
  gap: 10px;
  background: #11161c;
  border-right: 1px solid var(--line);
  min-height: calc(100vh - 61px);
}
.rail button {
  height: 36px;
  width: 36px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  color: #8d9aa8;
}
.rail button:hover,
.icon-btn:hover {
  background: #252e38;
}
.rail button.rail-active {
  background: #183632;
  color: var(--mint);
  border: 1px solid #26534a;
}
.rail-bottom {
  margin-top: auto;
}
main {
  min-width: 0;
  width: 100%;
  max-width: 2000px;
  padding: 22px clamp(15px, 2vw, 34px) 0;
  margin: auto;
}
.crumb {
  gap: 8px;
  color: #7b8895;
  font-size: 11px;
}
.crumb button {
  padding: 0;
  color: #93a1af;
}
.crumb strong {
  font-weight: 500;
  color: #b4c0cd;
}
.heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 12px 0 22px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: clamp(23px, 2.2vw, 35px);
  font-weight: 580;
  letter-spacing: -1.25px;
  line-height: 1.22;
}
.project-meta {
  margin-top: 8px;
  gap: 8px;
  font-size: 11px;
  color: var(--muted);
}
.study-dot {
  background: #6aa6ef;
  width: 5px;
  height: 5px;
}
.sep {
  background: #45505b;
  width: 2px;
  height: 2px;
  border-radius: 50%;
}
.actions {
  gap: 9px;
}
.btn {
  display: inline-flex;
  justify-content: center;
  gap: 8px;
  background: #1a212a;
  border: 1px solid #35404b;
  border-radius: 6px;
  padding: 9px 13px;
  font-size: 12px;
  font-weight: 550;
  min-height: 35px;
}
.btn:hover {
  background: #25303c;
}
.primary {
  background: #59ddc2;
  color: #0b2722;
  border-color: #66e5cc;
}
.primary:hover {
  background: #7ce9d2;
  color: #112e27;
}
.primary svg {
  fill: currentColor;
  stroke-width: 1;
}
.bench {
  display: grid;
  grid-template-columns: clamp(177px, 15.3vw, 235px) minmax(270px, 1fr) clamp(
      209px,
      17.2vw,
      263px
    );
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--panel);
  height: clamp(445px, 54.5vh, 660px);
}
.tree-panel,
.view-panel,
.props-panel {
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.view-panel {
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
}
.panel-title {
  height: 43px;
  flex-shrink: 0;
  padding: 0 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  background: #171d25;
}
.panel-title > span {
  display: flex;
  gap: 9px;
  align-items: center;
  font-size: 12px;
  font-weight: 600;
}
.panel-title > span > i {
  color: #9baab8;
}
.panel-title .cyan {
  color: var(--mint);
}
.icon-btn,
.viewport-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #aab6c2;
}
.icon-btn {
  padding: 4px;
  border-radius: 4px;
}
.viewport-actions {
  gap: 9px;
}
.viewport-actions button:first-child {
  font-size: 10px;
  gap: 5px;
}
.viewport-actions .icon-btn {
  border-left: 1px solid var(--line);
  border-radius: 0;
  padding-left: 10px;
}
#tree {
  padding: 12px 6px 9px;
  overflow: auto;
  scrollbar-width: thin;
}
.tree-root {
  display: flex;
  align-items: center;
  gap: 7px;
  font-weight: 580;
  font-size: 11px;
  margin: 2px 4px 11px;
  white-space: nowrap;
  overflow: hidden;
}
.tree-root svg {
  color: var(--mint);
}
.tree-group {
  margin: 2px 0;
}
.tree-row {
  min-height: 26px;
  max-width: 100%;
  border-radius: 4px;
  gap: 7px;
  color: #bdc8d2;
  width: 100%;
  text-align: left;
  padding: 3px 7px;
  font-size: 11px;
}
.tree-row > span {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.tree-row svg {
  flex-shrink: 0;
}
.tree-row:hover,
.tree-leaf:hover {
  background: #202831;
}
.tree-row > i.chev {
  color: #6f7d89;
}
.tree-row b {
  font: 9px var(--mono);
  color: #758492;
  margin-left: auto;
}
.tree-children {
  border-left: 1px solid #32404b;
  margin-left: 14px;
  padding-left: 9px;
}
.tree-leaf {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 7px;
  padding: 5px 5px;
  font-size: 10.5px;
  min-height: 24px;
  color: #99a7b6;
  text-align: left;
  border-radius: 4px;
}
.tree-leaf.active {
  background: #153831;
  color: #74e6ca;
}
.tree-leaf span {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.assistant-link {
  margin: auto 10px 10px;
  padding: 9px;
  border: 1px solid #30403f;
  border-radius: 5px;
  color: #b2cec8;
  gap: 7px;
  font-size: 10px;
  white-space: nowrap;
}
.assistant-link i:first-child {
  color: var(--mint);
}
.assistant-link i:last-child {
  margin-left: auto;
}
.stage {
  isolation: isolate;
  position: relative;
  min-height: 210px;
  flex: 1;
  overflow: hidden;
  background-color: #111b24;
  background-image:
    radial-gradient(ellipse at 53% 42%, #28374258 0, transparent 68%),
    radial-gradient(#55667355 0.7px, transparent 0.85px);
  background-size:
    auto,
    16px 16px;
}
.stage canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  touch-action: none;
  cursor: grab;
}
.stage canvas:active {
  cursor: grabbing;
}
.view-info {
  position: absolute;
  top: 15px;
  left: 17px;
  pointer-events: none;
  display: grid;
  gap: 4px;
}
.tiny-label,
.group-label {
  font-size: 9px;
  letter-spacing: 1.1px;
  font-weight: 650;
}
.tiny-label {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #9cafb7;
}
.tiny-label .led {
  background: var(--mint);
  width: 4px;
  height: 4px;
}
.view-info strong {
  font-size: 13px;
  font-weight: 570;
}
.view-info small {
  font: 10px var(--mono);
  color: #93a5b2;
}
.view-tools {
  position: absolute;
  top: 15px;
  right: 12px;
  display: flex;
  flex-direction: column;
  border: 1px solid #36434e;
  border-radius: 5px;
  overflow: hidden;
  background: #18212ae8;
}
.view-tools button {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  color: #aab7c3;
}
.view-tools button + button {
  border-top: 1px solid #2e3943;
}
.view-tools button:hover {
  color: var(--mint);
  background: #25323b;
}
.axis {
  position: absolute;
  bottom: 12px;
  left: 11px;
  pointer-events: none;
}
.legend {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  width: clamp(158px, 41%, 310px);
  text-align: center;
  pointer-events: none;
}
.legend header {
  font-size: 9px;
  color: #b9c4ce;
  margin-bottom: 6px;
}
.ramp {
  height: 6px;
  border-radius: 2px;
}
.legend-values {
  display: flex;
  justify-content: space-between;
  margin-top: 4px;
  font: 8px var(--mono);
  color: #b2c0cd;
}
.stage-note {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 5px;
  background: #14232dec;
  padding: 10px 16px;
  font-size: 11px;
  text-align: center;
}
.view-foot {
  height: 26px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 0 12px;
  border-top: 1px solid var(--line);
  font: 9px var(--mono);
  color: #8a99a6;
}
.view-foot span {
  gap: 4px;
}
.view-foot b {
  color: #b5c1cd;
  font-weight: 400;
}
.units {
  margin-left: auto;
}
.prop-tabs {
  display: flex;
  gap: 12px;
  padding: 0 13px;
  border-bottom: 1px solid var(--line);
}
.prop-tabs button,
.lower-tabs button {
  color: #91a0af;
  font-size: 11px;
  padding: 11px 5px;
}
.prop-tabs .active,
.lower-tabs .active {
  color: var(--mint);
  box-shadow: inset 0 -2px var(--mint);
}
#properties {
  overflow: auto;
  padding: 0 15px 14px;
  scrollbar-width: thin;
}
.section-block {
  padding: 14px 0 12px;
  border-bottom: 1px solid var(--line);
}
.section-block:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.group-label {
  color: #8493a1;
  margin-bottom: 11px;
  display: block;
}
.field {
  display: grid;
  gap: 5px;
  margin: 9px 0;
  color: #b0bdc9;
  font-size: 11px;
}
.field:first-child {
  margin-top: 0;
}
.field input,
.field select,
.field textarea,
.control,
.new-case input {
  background: #1e2630;
  border: 1px solid #33404c;
  border-radius: 5px;
  color: #dde7ee;
  padding: 7px 9px;
  min-width: 0;
  width: 100%;
  outline-offset: 0;
}
.field select,
.control {
  font-size: 11px;
}
.swatch-row {
  gap: 8px;
}
.swatch-row .ramp {
  width: 47px;
}
.toggle-line,
.kv {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 11px;
  min-height: 26px;
  color: #beccd6;
}
.switch {
  padding: 0;
  width: 25px;
  height: 14px;
  border-radius: 20px;
  background: #394552;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  border: 1px solid #495461;
}
.switch:after {
  content: "";
  width: 8px;
  height: 8px;
  background: #b7c2cd;
  border-radius: 50%;
  margin-left: 2px;
}
.switch.on {
  background: #48bfa9;
  border-color: #48bfa9;
}
.switch.on:after {
  background: #102c27;
  transform: translateX(11px);
}
input[type="range"] {
  accent-color: var(--mint);
  height: 12px;
  width: 100%;
  cursor: pointer;
}
.range-row {
  display: flex;
  gap: 10px;
  align-items: center;
}
.range-row output {
  border: 1px solid var(--line);
  background: #1c242d;
  padding: 2px 6px;
  border-radius: 3px;
  min-width: 29px;
  text-align: center;
  font: 10px var(--mono);
}
.dashboard-head {
  margin: 21px 0 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.dashboard-head h2 {
  gap: 8px;
  font-size: 16px;
  font-weight: 570;
  letter-spacing: -0.45px;
}
.dashboard-head h2 svg {
  color: #96a8b4;
}
.status,
.tag {
  border: 1px solid #294a3d;
  border-radius: 30px;
  color: #96d9b3;
  background: #172a22;
  gap: 6px;
  padding: 3px 9px;
  font: 10px Inter;
}
.status .led {
  width: 5px;
  height: 5px;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 11px;
}
.metric {
  text-align: left;
  position: relative;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 13px 15px;
  background: var(--panel);
  overflow: hidden;
}
.metric:hover {
  border-color: #465361;
}
.metric-label {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #aab8c5;
  font-size: 11px;
}
.metric-label i {
  color: var(--tone);
}
.metric-value {
  font: 500 clamp(20px, 1.7vw, 30px) Inter;
  letter-spacing: -0.9px;
  margin: 8px 0 4px;
  font-variant-numeric: tabular-nums;
}
.metric-value span {
  font: 11px var(--mono);
  color: #a1afbd;
  margin-left: 4px;
}
.metric-foot {
  color: #83909e;
  font-size: 10px;
}
.lower {
  background: var(--panel);
  border: 1px solid var(--line);
  margin-top: 14px;
  border-radius: 7px;
  overflow: hidden;
}
.lower-tabs {
  padding: 0 15px;
  border-bottom: 1px solid var(--line);
  gap: 17px;
}
.lower-tabs button {
  font-size: 11px;
}
.summary-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 14px 18px;
  gap: 15px;
}
.summary-grid small {
  display: block;
  color: #8494a2;
  margin-bottom: 5px;
  font-size: 10px;
}
.summary-grid strong {
  font-weight: 500;
  font-size: 12px;
}
.summary-grid .verified {
  color: #81d1b4;
}
footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 0;
  color: #778794;
  font: 9px var(--mono);
}
footer > span:first-child {
  display: flex;
  gap: 7px;
  align-items: center;
}
footer .led {
  width: 4px;
  height: 4px;
}
footer em {
  font-style: normal;
  margin: 0 4px;
}
.muted,
.note {
  color: var(--muted);
}
.note {
  font-size: 12px;
  line-height: 1.6;
}
.inline-btn {
  font-size: 11px;
  color: var(--mint);
  padding: 4px 0;
}
.fill {
  width: 100%;
}
.gap {
  gap: 8px;
}
.spread {
  justify-content: space-between;
}
.tag {
  display: inline-flex;
  background: #1e2932;
  border-color: #344554;
  color: #a8c6d8;
  border-radius: 4px;
}
.stack {
  display: grid;
  gap: 12px;
}
.formgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 12px;
}
.full {
  grid-column: 1/-1;
}
dialog {
  color: var(--text);
  background: #161d25;
  border: 1px solid #3c4a57;
  border-radius: 11px;
  padding: 0;
  width: min(490px, 92vw);
  max-height: 86vh;
  box-shadow: 0 24px 100px #0008;
}
dialog.wide {
  width: min(970px, 94vw);
}
dialog::backdrop {
  background: #060a10aa;
  backdrop-filter: blur(3px);
}
.dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding: 16px 20px;
}
.dialog-head h2 {
  font-size: 17px;
  letter-spacing: -0.4px;
  font-weight: 570;
}
#dialog-body {
  padding: 18px 20px;
}
.dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.list-item,
.job-item {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.list-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  text-align: left;
}
.list-item span:nth-child(2) {
  flex: 1;
}
.list-item svg {
  color: var(--mint);
}
.job-item .row {
  gap: 8px;
  justify-content: space-between;
}
.job-item small {
  display: block;
  color: var(--muted);
  margin-top: 6px;
}
.error {
  color: #f3a897;
}
.code {
  white-space: pre-wrap;
  font: 11px var(--mono);
  padding: 12px;
  border-radius: 5px;
  background: #10161c;
  overflow: auto;
}
.formgrid .field {
  margin: 5px 0;
}
.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.compare-grid canvas {
  width: 100%;
  height: 260px;
  background: #101923;
  touch-action: none;
}
.compare-grid h3 {
  font-size: 12px;
  margin-bottom: 7px;
}
.plot {
  width: 100%;
  height: 150px;
  display: block;
}
.table-wrap {
  overflow: auto;
  max-height: 240px;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11px;
}
th,
td {
  text-align: left;
  padding: 9px 14px;
  border-bottom: 1px solid var(--line);
}
th {
  font-weight: 500;
  color: var(--muted);
}
td {
  font-family: var(--mono);
}
.inner {
  padding: 13px 16px;
}
.view-panel.expanded {
  position: fixed;
  inset: 10px;
  z-index: 10;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}
.form-caption {
  font-size: 11px;
  line-height: 1.55;
  color: var(--muted);
  margin-top: 8px;
}
#toast {
  position: fixed;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  padding: 11px 16px;
  background: #22302f;
  border: 1px solid #46655e;
  color: #eff9f7;
  border-radius: 7px;
  z-index: 30;
  max-width: 90vw;
  font-size: 12px;
}
.case-set {
  padding: 9px 0;
  border-top: 1px solid var(--line);
}
.palette-select {
  color-scheme: dark;
}
.palette-preview {
  height: 5px;
  margin: 7px 0 11px;
  border-radius: 3px;
}
.notice {
  padding: 10px 12px;
  border: 1px solid #414e53;
  border-radius: 5px;
  color: #c1d0d7;
  background: #1c282e;
  font-size: 12px;
  line-height: 1.5;
}
.subbutton {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: space-between;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 7px 8px;
  text-align: left;
  color: #c2cdd6;
  font-size: 11px;
  margin: 5px 0;
}
.subbutton svg {
  color: #8297a6;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.chips .tag {
  font-size: 10px;
}
.mono {
  font-family: var(--mono);
}
.palette-preview,
.ramp {
  background: linear-gradient(
    90deg,
    #4245aa,
    #3768e1,
    #26afd9,
    #2bc79a,
    #9ed552,
    #f3cf51,
    #f2883d,
    #d64b42
  );
}
@media (min-width: 1600px) {
  .tree-row,
  .tree-leaf,
  .field,
  .toggle-line,
  .kv {
    font-size: 12px;
  }
  .tree-row {
    min-height: 29px;
  }
  .tree-leaf {
    min-height: 27px;
  }
}
@media (max-width: 1100px) {
  main {
    padding: 18px 14px 0;
  }
  .rail {
    width: 47px;
  }
  .bench {
    grid-template-columns: 164px minmax(250px, 1fr) 192px;
  }
  .panel-title {
    padding: 0 10px;
  }
  #properties {
    padding: 0 10px 12px;
  }
  .assistant-link {
    font-size: 9px;
    padding: 8px 5px;
    gap: 4px;
  }
  .metric {
    padding: 11px;
  }
  .topbar {
    padding: 0 16px;
  }
}
@media (max-width: 850px) {
  .bench {
    grid-template-columns: 155px minmax(0, 1fr);
    height: auto;
  }
  .props-panel {
    grid-column: 1/-1;
    border-top: 1px solid var(--line);
    display: grid;
    grid-template-columns: 115px 1fr;
  }
  .props-panel > .panel-title {
    display: none;
  }
  .prop-tabs {
    flex-direction: column;
    gap: 1px;
    border-right: 1px solid var(--line);
    border-bottom: 0;
    padding: 4px;
  }
  .prop-tabs button {
    padding: 7px;
  }
  .props-panel #properties {
    display: flex;
    gap: 16px;
    overflow: auto;
    padding: 8px 12px;
  }
  .section-block {
    border: 0;
    padding: 0;
    min-width: 145px;
  }
  .section-block .group-label {
    margin: 2px 0 5px;
  }
  .section-block .field {
    margin: 5px 0;
  }
  .tree-panel,
  .view-panel {
    height: 410px;
  }
  .view-panel {
    border-right: 0;
  }
  .tree-root {
    font-size: 10px;
  }
  .workspace-switch {
    display: none;
  }
  .head-divider {
    display: none;
  }
  .summary-grid {
    grid-template-columns: 1fr 1fr;
  }
  .metric-value {
    font-size: 22px;
  }
  .metrics {
    gap: 7px;
  }
  .metric-label {
    font-size: 10px;
  }
  .metric-foot {
    font-size: 9px;
  }
}
@media (max-width: 640px) {
  .topbar {
    height: 51px;
    padding: 0 12px;
  }
  .brand {
    font-size: 18px;
  }
  .brand img {
    width: 26px;
  }
  .top-right {
    gap: 10px;
  }
  .engine {
    font-size: 10px;
  }
  .rail {
    width: 39px;
    padding: 12px 0;
    gap: 8px;
  }
  .rail button {
    width: 29px;
    height: 30px;
  }
  .rail button svg {
    width: 16px;
  }
  .rail-bottom {
    margin-top: 25px;
  }
  main {
    padding: 15px 9px 0;
  }
  .crumb {
    font-size: 9px;
  }
  .heading {
    align-items: flex-start;
    flex-direction: column;
    margin: 10px 0 12px;
    gap: 12px;
  }
  h1 {
    font-size: 25px;
  }
  .actions .btn {
    font-size: 11px;
    padding: 6px 11px;
    min-height: 29px;
  }
  .project-meta {
    font-size: 10px;
  }
  .bench {
    display: flex;
    flex-direction: column;
  }
  .view-panel {
    order: -1;
    height: 350px;
    border: 0;
  }
  .tree-panel {
    height: auto;
    border-top: 1px solid var(--line);
  }
  .tree-panel .panel-title {
    height: 35px;
  }
  #tree {
    display: flex;
    gap: 4px;
    overflow: auto;
    padding: 7px;
  }
  .tree-root,
  .tree-children,
  .assistant-link {
    display: none;
  }
  .tree-group {
    flex: none;
  }
  .tree-row {
    width: auto;
    min-height: 24px;
    padding: 3px 6px;
    font-size: 10px;
  }
  .tree-row .chev,
  .tree-row b {
    display: none;
  }
  .props-panel {
    display: block;
  }
  .prop-tabs {
    flex-direction: row;
    padding: 0 10px;
    border-bottom: 1px solid var(--line);
  }
  .props-panel #properties {
    max-height: 180px;
  }
  .metrics {
    grid-template-columns: 1fr 1fr;
  }
  .dashboard-head h2 {
    font-size: 15px;
  }
  .lower-tabs {
    padding: 0 7px;
    gap: 4px;
  }
  .lower-tabs button {
    font-size: 10px;
  }
  .summary-grid {
    gap: 8px;
  }
  .axis {
    transform: scale(0.8);
    transform-origin: left bottom;
  }
  .legend {
    bottom: 12px;
  }
  .top-right .avatar {
    width: 26px;
    height: 26px;
  }
  .compare-grid {
    grid-template-columns: 1fr;
  }
  .compare-grid canvas {
    height: 200px;
  }
  footer > span:last-child {
    font-size: 8px;
  }
  .stage .view-info {
    top: 11px;
    left: 11px;
  }
  .view-panel.expanded {
    height: auto;
  }
  .formgrid {
    grid-template-columns: 1fr;
  }
  .full {
    grid-column: auto;
  }
}
