:root {
  font-family:
    -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, 'PingFang SC',
    sans-serif;
  color: #26282a;
  background: #f4f3f0;
  --blue: #2463a9;
  --hover: #edf5fb;
  --selected: #d9edff;
  --border: #d8d9da;
  --muted: #74777a;
  --left: 224px;
  --dock: 142px;
  font-size: 12px;
}
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
button,
input,
select {
  font: inherit;
  color: inherit;
}
button {
  border: 0;
  border-radius: 2px;
  background: none;
  cursor: pointer;
}
button:hover:not(:disabled) {
  background: #edf2f5;
}
button:focus-visible,
input:focus-visible,
select:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 2px solid #387bc0;
  outline-offset: 1px;
}
button:disabled {
  cursor: default;
  opacity: 0.4;
}
button svg.i {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  display: block;
  pointer-events: none;
}
a {
  color: #235888;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
[hidden] {
  display: none !important;
}
.studio {
  height: 100dvh;
  width: 100%;
  display: grid;
  grid-template-columns: var(--left) minmax(0, 1fr);
}
.studio.nav-hidden {
  grid-template-columns: 0 minmax(0, 1fr);
}
.navigator {
  z-index: 5;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  background: white;
  border-right: 1px solid #d4d4d4;
  box-shadow: 1px 0 1px #00000008;
  overflow: hidden;
}
.nav-hidden .navigator {
  visibility: hidden;
}
.side-top {
  height: 27px;
  flex: none;
  display: flex;
  align-items: center;
  padding: 0 4px;
  border-bottom: 1px solid #eee;
}
.side-top nav {
  flex: 1;
  display: flex;
  height: 100%;
  align-items: stretch;
}
.side-top nav button {
  font-size: 11.5px;
  min-width: 47px;
  padding: 1px 9px 0;
  border-radius: 0;
  border-bottom: 2px solid transparent;
  font-weight: 550;
}
.side-top nav button[aria-pressed='true'] {
  border-bottom-color: #286ba7;
  color: #182535;
}
.tiny {
  height: 24px;
  width: 23px;
  display: grid;
  place-items: center;
}
.tiny svg.i {
  width: 14px;
}
.tree-pane {
  height: 36.5%;
  min-height: 185px;
  max-height: 395px;
  overflow: auto;
  scrollbar-width: thin;
  border-bottom: 1px solid #d4d7d9;
  padding: 0 0 5px;
}
.tree-row {
  height: 24px;
  display: flex;
  align-items: center;
  padding-right: 4px;
  gap: 1px;
  font-size: 11.5px;
  user-select: none;
}
.tree-row:hover {
  background: #f0f4f6;
}
.tree-row.selected {
  background: var(--selected);
}
.tree-name {
  flex: 1;
  text-align: left;
  min-width: 0;
  height: 100%;
  padding: 0 3px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.tree-name:hover,
.tree-fold:hover,
.dots:hover {
  background: #e2edf5;
}
.tree-fold,
.no-fold {
  height: 20px;
  width: 12px;
  flex: none;
  display: grid;
  place-items: center;
}
.tree-fold svg.i {
  width: 8px;
  height: 8px;
  stroke-width: 2.2;
}
.tree-swatch {
  width: 11px;
  height: 11px;
  flex: none;
  border: 1px solid #00000012;
}
.dots {
  font: 600 10px Arial;
  letter-spacing: 0;
  padding: 0 1px;
  height: 18px;
  min-width: 16px;
}
.tree-item-wrap {
  position: relative;
}
.node-pop {
  background: #fff;
  box-shadow: 0 3px 8px #0002;
  border: 1px solid #ddd;
  position: absolute;
  z-index: 10;
  right: 6px;
  min-width: 140px;
  padding: 3px;
}
.node-pop button {
  text-align: left;
  width: 100%;
  padding: 5px;
}
.tree-data,
.scheme-nav {
  padding: 9px;
}
.tree-data h3,
.scheme-nav h3,
.inspector h2 {
  font-weight: 620;
  font-size: 12px;
  margin: 0;
}
.scheme-card {
  display: block;
  width: 100%;
  border: 1px solid #dedfe1;
  border-radius: 3px;
  margin: 6px 0;
  padding: 7px 8px;
  text-align: left;
}
.scheme-card[aria-pressed='true'] {
  border-color: #89b3d8;
  background: var(--selected);
}
.scheme-card small {
  display: block;
  color: var(--muted);
  margin-top: 2px;
}
.action-row {
  width: 100%;
  text-align: left;
  margin: 2px 0;
  padding: 6px 5px;
  border-bottom: 1px solid #eee;
}
.inspector {
  flex: 1;
  min-height: 0;
  overflow: auto;
  scrollbar-width: thin;
  padding: 8px 11px 20px;
}
.inspector-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.inspector-head h2 {
  font-size: 13px;
}
.inspector-head .tiny {
  background: #e8e9e9;
  height: 18px;
  width: 18px;
}
.inspector-head .tiny svg {
  width: 11px !important;
}
.inspector section {
  margin: 12px 0;
}
.inspector h3 {
  font-size: 13px;
  font-weight: 500;
  margin: 9px 0 4px;
}
.property {
  min-height: 23px;
  display: flex;
  align-items: center;
  gap: 3px;
}
.property label {
  flex: 1;
  min-width: 0;
  line-height: 1.2;
  font-size: 11.5px;
}
.property .quiet {
  font-size: 9px;
  color: #8f9499;
  margin-right: 2px;
}
.property .prop-value {
  width: 78px;
  height: 20px;
  border: 1px solid #d3d6d9;
  border-radius: 2px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.prop-value input {
  width: 0;
  min-width: 0;
  flex: 1;
  border: 0;
  text-align: right;
  background: white;
  padding: 1px 0;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}
.prop-value button {
  width: 13px;
  height: 100%;
  padding: 0;
  font-size: 11px;
  color: #72787c;
}
.property select {
  width: 78px;
  height: 21px;
  background: #fff;
  border: 1px solid #d3d6d9;
  border-radius: 2px;
  padding: 0 3px;
  font-size: 11px;
}
.property input[type='color'] {
  width: 78px;
  height: 20px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.property input[type='color']::-webkit-color-swatch-wrapper {
  padding: 0;
}
.property input[type='color']::-webkit-color-swatch {
  border: 1px solid #00000015;
  border-radius: 3px;
}
.property input[type='range'] {
  width: 78px;
  height: 14px;
  margin: 0;
  accent-color: #3484c4;
}
.shape-buttons {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  margin: 3px 0 6px;
}
.shape-buttons button,
.flat-btn {
  display: block;
  background: #e0e1e1;
  border-radius: 2px;
  padding: 2px 7px;
  font-size: 10px;
  line-height: 1.25;
}
.flat-btn {
  width: 100%;
  margin: 5px 0;
}
.inspector p,
.tree-data p,
.scheme-nav p {
  font-size: 11px;
  line-height: 1.55;
  color: #71767b;
  margin: 6px 0;
}
.object-kv {
  display: flex;
  justify-content: space-between;
  gap: 5px;
  line-height: 1.65;
  font-size: 11px;
}
.object-kv b {
  font-variant-numeric: tabular-nums;
  font-weight: 500;
}
.main-work {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr) var(--dock);
  min-height: 0;
  min-width: 0;
}
.dock-hidden .main-work {
  grid-template-rows: minmax(0, 1fr) 23px;
}
.stage {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: #ece9e4;
  min-height: 0;
}
.stage #scene {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  touch-action: none;
}
.float {
  background: #fff;
  box-shadow:
    0 1px 4px #0003,
    0 0 1px #0003;
  border: 1px solid #d8dadb;
  border-radius: 4px;
}
.nav-toggle {
  position: absolute;
  left: 0;
  top: 8px;
  height: 28px;
  width: 18px;
  border-radius: 0 4px 4px 0;
  display: grid;
  place-items: center;
  padding: 1px;
  z-index: 2;
}
.nav-toggle svg.i {
  width: 11px;
}
.project-bar {
  position: absolute;
  z-index: 2;
  left: 25px;
  top: 7px;
  height: 32px;
  display: flex;
  align-items: center;
  gap: 1px;
  padding: 2px 4px;
}
.project-bar button {
  height: 26px;
  display: grid;
  place-items: center;
  padding: 0 5px;
}
.project-bar button svg.i {
  width: 13px;
  height: 13px;
}
.studio-mark {
  width: 24px;
  height: 24px;
  border-radius: 3px;
  background: #d75d35;
  display: grid;
  place-items: center;
}
.studio-mark svg {
  width: 19px;
  height: 19px;
  fill: white;
}
.project-bar .project-label {
  display: block;
  text-align: left;
  min-width: 86px;
  max-width: 165px;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  font-size: 11px;
}
.tool-column,
.view-column {
  position: absolute;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.tool-column {
  left: 8px;
  top: 16.7%;
  align-items: center;
}
.view-column {
  right: 8px;
  top: 28%;
  align-items: center;
}
.tool-rail,
.level-rail {
  width: 32px;
  padding: 3px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
}
.tool-rail button,
.level-rail button,
.view-toggle {
  width: 25px;
  height: 26px;
  padding: 0;
  display: grid;
  place-items: center;
}
.tool-rail button svg.i {
  width: 14px;
  height: 14px;
}
.tool-rail button[aria-pressed='true'] {
  background: #3a86c9;
  color: white;
}
.tool-rail button[aria-pressed='mixed'] {
  background: #eef4f9;
  color: #355c83;
}
.level-rail {
  gap: 0;
}
.level-rail button {
  height: 21px;
}
.level-rail button svg.i {
  width: 12px;
}
.level-rail output {
  display: grid;
  place-items: center;
  background: #e6e6e6;
  width: 24px;
  height: 23px;
  font-size: 11px;
}
.view-toggle {
  width: 32px;
  height: 31px;
  background: white;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.02em;
}
.cut-key {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  left: 50%;
  bottom: 8px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 4px;
  background: #fffd;
  border-radius: 3px;
  padding: 5px 7px;
  font-size: 10px;
  box-shadow: 0 1px 3px #0003;
}
.cut-key i {
  width: 74px;
  height: 13px;
  background: linear-gradient(90deg, #eda49a, #f2eeea 50%, #97c48a);
}
.stage-status {
  pointer-events: none;
  position: absolute;
  left: 48px;
  bottom: 8px;
  z-index: 3;
  color: #424b52;
  font-size: 11px;
  line-height: 1.4;
  max-width: 42%;
}
.stage-status:not(:empty) {
  background: #fffffff0;
  border: 1px solid #cdd5d7;
  border-radius: 3px;
  padding: 4px 7px;
}
/* Live design feedback sits above the coordinate readout and clear of the cut/fill key. */
.stage-status {
  bottom: 30px;
  max-width: min(520px, calc(50% - 70px));
  white-space: normal;
}
.map-credit {
  position: absolute;
  bottom: 2px;
  right: 8px;
  font:
    8px ui-monospace,
    monospace;
  opacity: 0.65;
  letter-spacing: 0.08em;
  color: #51565a;
  pointer-events: none;
}
.map-compass {
  position: absolute;
  right: 24px;
  bottom: 24px;
  width: 39px;
  height: 39px;
  border: 1.3px solid #5897d0;
  border-radius: 50%;
  background: #e0e2e3a6;
  color: #407fb8;
  font:
    600 9px system-ui,
    sans-serif;
}
.map-compass span {
  position: absolute;
  top: 5px;
  left: 14px;
  transform: rotate(-15deg);
}
.map-compass span::before {
  content: '';
  display: block;
  border-bottom: 5px solid #5698d1;
  border-left: 2px solid transparent;
  border-right: 2px solid transparent;
}
.local-coordinate {
  position: absolute;
  bottom: 4px;
  left: 6px;
  font:
    9px system-ui,
    sans-serif;
  color: #787b80;
  pointer-events: none;
}
@media (max-width: 660px) {
  .map-compass {
    width: 25px;
    height: 25px;
    right: 8px;
  }
  .map-compass span {
    top: 2px;
    left: 8px;
  }
}
.bottom-dock {
  position: relative;
  z-index: 4;
  background: white;
  border-top: 1px solid #c8cbcc;
  min-height: 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.dock-tabs {
  display: flex;
  align-items: flex-end;
  height: 22px;
  flex: none;
  gap: 1px;
  background: #fafafa;
  border-bottom: 1px solid #ddd;
  padding-left: 4px;
}
.dock-tabs button {
  padding: 3px 10px;
  font-size: 10px;
  background: #e9e9e8;
  border-radius: 1px 1px 0 0;
  border: 1px solid transparent;
  border-bottom: 0;
  min-height: 18px;
}
.dock-tabs button[aria-pressed='true'] {
  background: white;
  border-color: #d8d8d8;
  color: #1e2630;
}
.dock-fold {
  position: absolute;
  left: 5px;
  top: -17px;
  width: 29px;
  height: 17px;
  border: 1px solid #dedfe1;
  border-bottom: 0;
  background: white;
  border-radius: 3px 3px 0 0;
  display: grid;
  place-items: center;
  padding: 0;
}
.dock-fold svg {
  width: 10px !important;
  height: 10px !important;
}
.bottom-body {
  min-height: 0;
  overflow: auto;
  padding: 3px 8px 6px;
  scrollbar-width: thin;
}
.dock-hidden .bottom-body {
  display: none;
}
.tab-grid {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-width: max-content;
}
.tab-group {
  min-width: 108px;
  max-width: 275px;
}
.tab-group.wide {
  min-width: 180px;
}
.tab-group h3 {
  font-size: 10px;
  line-height: 16px;
  font-weight: 650;
  background: #ebeceb;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.035em;
  padding: 0 4px;
}
.tab-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  font-variant-numeric: tabular-nums;
  line-height: 16px;
  padding: 0 2px;
}
.tab-row b {
  font-weight: 520;
}
.sw-label {
  display: inline-block;
  width: 6px;
  height: 10px;
  background: var(--sw);
  margin-right: 3px;
  vertical-align: -1px;
}
.dock-table {
  border-collapse: collapse;
  font-size: 10px;
  white-space: nowrap;
}
.dock-table td,
.dock-table th {
  padding: 3px 10px;
  text-align: left;
  border-bottom: 1px solid #e4e5e5;
}
.dock-table th {
  font-size: 10px;
  color: #51565a;
  background: #f1f1f1;
}
.dock-table button,
.dock-action {
  border: 1px solid #cdd4d8;
  padding: 2px 6px;
  font-size: 10px;
  background: #fff;
}
.action-stack {
  display: flex;
  gap: 5px;
  margin: 2px 0 5px;
}
.text-muted {
  color: #747a7f;
  font-size: 11px;
}
.status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  vertical-align: 1px;
  margin-right: 5px;
  background: #57977d;
}
.status-dot.fail {
  background: #c46548;
}
.status-dot.review {
  background: #b49754;
}
@media (min-width: 1700px) {
  :root {
    --left: 242px;
    --dock: 158px;
  }
  .tree-row {
    height: 26px;
  }
}
@media (max-width: 1000px) {
  :root {
    --left: 198px;
    --dock: 132px;
  }
  .inspector {
    padding-inline: 7px;
  }
  .tree-row {
    height: 22px;
  }
  .tool-column {
    top: 17%;
  }
  .tool-rail button {
    height: 23px;
  }
  .side-top nav button {
    min-width: 42px;
    padding-inline: 6px;
  }
  .tab-grid {
    gap: 6px;
  }
  .property label {
    font-size: 11px;
  }
}
@media (max-width: 660px) {
  :root {
    --left: 145px;
    --dock: 112px;
  }
  .project-bar {
    left: 20px;
    right: 4px;
    width: max-content;
    max-width: calc(100% - 24px);
    height: 28px;
    padding: 1px 2px;
  }
  .project-bar .project-label {
    min-width: 45px;
    max-width: 65px;
    font-size: 10px;
  }
  .project-bar button {
    padding: 0 3px;
  }
  .project-bar button[data-action='export'],
  .project-bar button[data-action='addScheme'] {
    display: none;
  }
  .side-top {
    padding: 0;
  }
  .side-top nav button {
    min-width: 0;
    padding: 2px 5px;
    font-size: 10px;
  }
  .side-top .tiny {
    display: none;
  }
  .tree-row {
    height: 20px;
    font-size: 10px;
  }
  .tree-pane {
    min-height: 144px;
    height: 33%;
  }
  .inspector {
    padding: 6px;
  }
  .property {
    flex-wrap: wrap;
    padding: 2px 0;
  }
  .property label {
    font-size: 10px;
  }
  .property .prop-value,
  .property select,
  .property input[type='range'],
  .property input[type='color'] {
    width: 58px;
  }
  .tool-column {
    left: 4px;
    top: 55px;
    gap: 4px;
  }
  .view-column {
    right: 4px;
    top: 95px;
    gap: 4px;
  }
  .tool-rail,
  .level-rail,
  .view-toggle {
    width: 25px;
  }
  .tool-rail button {
    width: 20px;
    height: 20px;
  }
  .tool-rail button svg.i {
    width: 12px;
    height: 12px;
  }
  .dock-tabs {
    overflow: auto;
    padding-left: 0;
  }
  .dock-tabs button {
    font-size: 9px;
    padding: 3px 5px;
  }
  .map-credit {
    display: none;
  }
  .stage-status {
    font-size: 9px;
    left: 28px;
    max-width: 48%;
  }
  .cut-key {
    font-size: 8px;
    padding: 2px 4px;
  }
  .cut-key i {
    width: 35px;
    height: 9px;
  }
}
@media (max-height: 580px) {
  .tree-pane {
    min-height: 105px;
  }
  .tool-column {
    top: 46px;
  }
  .tool-rail {
    gap: 0;
  }
  .tool-rail button,
  .level-rail button {
    height: 20px;
  }
  .level-rail output {
    height: 18px;
  }
  .view-column {
    top: 52px;
  }
}
.studio-feedback {
  position: fixed;
  z-index: 20;
  left: 50%;
  bottom: calc(var(--dock) + 20px);
  transform: translate(-50%, 5px);
  background: #283a49;
  color: #fff;
  border-radius: 4px;
  padding: 7px 12px;
  font-size: 12px;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.14s,
    transform 0.14s;
}
.studio-feedback.shown {
  opacity: 1;
  transform: translate(-50%, 0);
}
.studio-dialog {
  border: 1px solid #bfc7cc;
  border-radius: 5px;
  box-shadow: 0 10px 36px #0003;
  padding: 15px;
  max-width: min(480px, 92vw);
  color: #253039;
}
.studio-dialog::backdrop {
  background: #17222b33;
}
.studio-dialog header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #ddd;
  padding-bottom: 8px;
  margin-bottom: 10px;
}
.studio-dialog header button {
  font-size: 19px;
  line-height: 18px;
}
.studio-dialog form {
  display: flex;
  gap: 7px;
}
.studio-dialog input {
  padding: 6px;
  border: 1px solid #bdc8d0;
  border-radius: 2px;
  min-width: 0;
}
.studio-dialog form button {
  color: white;
  background: #326fa6;
  padding: 5px 12px;
}
.studio-dialog p {
  font-size: 12px;
  line-height: 1.5;
}
.studio-dialog a {
  display: block;
  padding: 4px 0;
}
.studio-dialog img {
  display: block;
  width: 100%;
  max-height: 200px;
  object-fit: contain;
  margin: 7px 0;
  background: #f4f5ef;
}
.cut-key i {
  width: 96px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 3px;
  font:
    10px -apple-system,
    BlinkMacSystemFont,
    sans-serif;
}
.cut-key b {
  font-weight: 520;
  white-space: nowrap;
}
.dock-resize {
  position: absolute;
  top: -3px;
  left: 42px;
  right: 0;
  height: 7px;
  cursor: ns-resize;
  touch-action: none;
  z-index: 2;
}
.dock-resize:hover,
.dock-resize:focus {
  background: #4182b21f;
}
.dock-expand {
  position: absolute;
  right: 6px;
  top: 4px;
  width: 18px;
  height: 15px;
  padding: 0;
  display: grid;
  place-items: center;
  background: #f6f7f7;
}
.dock-expand svg.i {
  width: 10px;
  height: 10px;
}
.compare-toolbar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 2px 0 4px;
  font-size: 10px;
  white-space: nowrap;
}
.compare-toolbar label {
  display: flex;
  align-items: center;
  gap: 3px;
}
.compare-toolbar select {
  font-size: 10px;
  border: 1px solid #c9ced2;
  background: #fff;
  border-radius: 2px;
}
.line-key {
  width: 18px;
  height: 1px;
  background: #adb6c1;
  display: block;
}
.line-key.current {
  background: #db963d;
}
.comparison-plot {
  display: block;
  width: min(100%, 810px);
  height: 96px;
  min-width: 590px;
  background: repeating-linear-gradient(0deg, #f6f6f6 0, #f6f6f6 1px, #fff 1px, #fff 16px);
  overflow: visible;
}
.comparison-plot text {
  font:
    9px -apple-system,
    sans-serif;
  text-anchor: middle;
  fill: #797b7e;
}
.comparison-plot .axis-title {
  fill: #30383d;
  font-size: 10px;
}
.comparison-plot .side-label {
  text-anchor: start;
  font-size: 8px;
}
.comparison-plot line {
  stroke: #d7dcdd;
  stroke-width: 1;
}
.comparison-plot polyline {
  fill: none;
  stroke-linejoin: round;
}
.alternative-line {
  stroke: #b3bfca;
  stroke-width: 1;
  opacity: 0.8;
}
.active-line {
  stroke: #e19a47;
  stroke-width: 2;
  pointer-events: none;
}
.plot-hit {
  stroke: transparent;
  stroke-width: 9;
  pointer-events: stroke;
  cursor: pointer;
}
.plot-hit:hover {
  stroke: #4986bd;
  stroke-width: 2;
}
.compare-toolbar .dock-action {
  white-space: nowrap;
}
@media (max-width: 660px) {
  .cut-key i {
    width: 67px;
    font-size: 8px;
    height: 12px;
  }
  .comparison-plot {
    min-width: 540px;
  }
}
.toggle-prop {
  min-height: 24px;
}
.toggle-prop label {
  font-size: 12px;
  font-weight: 550;
}
.toggle-prop input {
  appearance: none;
  width: 26px;
  height: 13px;
  border: 1px solid #bdc0c2;
  background: #d2d4d5;
  border-radius: 20px;
  position: relative;
  cursor: pointer;
  margin: 0;
}
.toggle-prop input:before {
  content: '';
  position: absolute;
  width: 9px;
  height: 9px;
  top: 1px;
  left: 1px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 1px #555;
}
.toggle-prop input:checked {
  background: #3786cd;
  border-color: #3786cd;
}
.toggle-prop input:checked:before {
  left: 14px;
}
.stall-editor {
  margin: 1px 0 7px;
}
.stall-editor caption {
  text-align: left;
  font-weight: 650;
  font-size: 11px;
  padding: 1px 0 4px;
}
.stall-editor caption small {
  font-size: 10px;
  font-weight: 400;
  color: #72797e;
}
.stall-editor p {
  font-size: 10px;
  line-height: 1.4;
  color: #687179;
  margin: 4px 0;
  max-width: 730px;
}
.part-input {
  width: 65px;
  border: 1px solid #cfd4d7;
  border-radius: 2px;
  font-size: 10px;
  line-height: 15px;
  padding: 0 3px;
  font-variant-numeric: tabular-nums;
  background: #fff;
}
.stall-editor .class-link {
  border: 0;
  padding: 0;
  color: #265b84;
  font-weight: 550;
}
.stall-editor .dock-table th {
  white-space: nowrap;
}
/* The tabulation is a single quantity sheet: color identifies unit families, and all
   project quantities stay in view while the drawing is being edited. */
.quantity-sheet {
  display:grid; grid-template-columns:minmax(92px,.85fr) minmax(204px,1.72fr) minmax(204px,1.75fr) minmax(136px,1.13fr) minmax(178px,1.45fr) minmax(107px,.9fr);
  gap:9px; max-width:1200px; min-width:975px;
}
.quantity-group {min-width:0;}
.quantity-group h3 {margin:0 0 1px;padding:1px 4px;background:#e9e9e8;color:#202326;font-size:10px;font-weight:650;line-height:14px;text-transform:uppercase;letter-spacing:.015em;}
.quantity-columns {display:flex;align-items:flex-start;gap:10px;}
.quantity-column {min-width:0;flex:1;}
.quantity-row {display:flex;min-width:0;align-items:center;justify-content:space-between;gap:5px;padding:0 2px;font-size:10px;line-height:15.5px;white-space:nowrap;}
.quantity-row > span {overflow:hidden;text-overflow:ellipsis;}
.quantity-row .unit-chip {padding:0 4px;color:#102a36;background:var(--chip);min-width:39px;line-height:15px;}
.quantity-row output,.candidate-live output {font-variant-numeric:tabular-nums;white-space:nowrap;text-align:right;}
.quantity-change {color:#1a5687;background:#e1eff9;}
.candidate-live {display:flex;align-items:center;gap:10px;width:max-content;max-width:100%;overflow:auto;scrollbar-width:thin;font-size:10px;white-space:nowrap;border-block:1px solid #e7e7e5;}
.candidate-live strong {align-self:stretch;display:grid;place-items:center;padding:1px 6px;font-size:10px;background:#eeeee9;color:#916634;}
.candidate-live span {color:#72777a;}.candidate-live output{padding:0 3px;color:#35434a;}
.tree-model-icon {display:grid;place-items:center;width:11px;height:13px;color:#51575b;pointer-events:none;}
.tree-model-icon svg.i {width:12px;height:12px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;}
.tree-row.selected{box-shadow:inset 2px 0 #5195cb;}
.view-column .tool-rail button[aria-pressed=true] {color:#354d61;background:white;box-shadow:inset 2px 0 #cedee9;}
.view-column .tool-rail button[aria-pressed=true]:hover {background:#eaf3fb;}
.garage-type {margin:4px 0; padding:0;border:0;}
.garage-type legend {font-size:11px;font-weight:550;margin-bottom:2px;}
.garage-type label {font-size:11px;display:inline-flex;align-items:center;gap:3px;margin-right:7px;}
.garage-type input {width:12px;height:12px;margin:0;accent-color:#4387c4;}
@media(min-width:661px) and (min-height:581px){.tree-pane{height:calc(38% - 27px);}}
@media(max-width:1100px){.quantity-sheet{gap:5px;}.quantity-columns{gap:5px;}.quantity-row{gap:3px;}}
@media(max-width:800px){.quantity-sheet{min-width:820px;grid-template-columns:92px 166px 170px 120px 150px 96px;}.quantity-row{font-size:9px;}.quantity-columns{gap:3px;}.quantity-row .unit-chip{min-width:31px;padding:0 2px;}}
.quantity-sheet.has-retail{grid-template-columns:minmax(87px,.74fr) minmax(184px,1.55fr) minmax(127px,.99fr) minmax(192px,1.64fr) minmax(133px,1.08fr) minmax(172px,1.4fr) minmax(99px,.84fr);min-width:1055px;max-width:1300px;}
@media(max-width:800px){.quantity-sheet.has-retail{min-width:950px;grid-template-columns:80px 161px 119px 170px 124px 150px 95px;}}
@media(max-width:660px){
  .studio{grid-template-rows:minmax(0,1fr) var(--dock);}
  .studio.dock-hidden{grid-template-rows:minmax(0,1fr) 23px;}
  .main-work{display:contents;}
  .navigator{grid-column:1;grid-row:1;}
  .stage{grid-column:2;grid-row:1;}
  .bottom-dock{grid-column:1/-1;grid-row:2;}
}

.court-mode select{width:110px;max-width:57%;font-size:10px;}

.quota-pair{display:grid;gap:2px;}.quota-pair label{display:flex;align-items:center;justify-content:space-between;gap:4px;color:#596167;font-size:10px;}

.unit-standards{width:100%;border-collapse:collapse;table-layout:fixed;font-size:11px;}
.unit-standards th{padding:3px 1px;text-align:left;font-weight:500;}
.unit-standards thead th{font-size:10px;color:#666d72;border-bottom:1px solid #dedfe0;}
.unit-standards th:first-child{width:28%;}.unit-standards td{padding:2px;}
.unit-standards input{width:100%;min-width:0;padding:2px 3px;text-align:right;border:1px solid #d1d6d8;border-radius:2px;font-size:11px;font-variant-numeric:tabular-nums;}
