:root {
  --ink:#24312e;
  --muted:#73817c;
  --green:#215d50;
  --line:#e1e7e3;
  --paper:#fff;
  --soft:#f5f7f5;
  --accent:#d9e9e1;
  font-family:
    Inter,
    "Segoe UI",
    Arial,
    sans-serif;
  color: var(--ink);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--soft);
  overflow: hidden;
  font-size: 13px;
}
button,
input,
select {
  font: inherit;
}
button {
  cursor: pointer;
  color: inherit;
}
button:disabled {
  opacity: .45;
  cursor: wait;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 2px solid #3d957b;
  outline-offset: 3px;
}
button svg,
[data-icon] svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  display: block;
}
button {
  transition:
    background .16s,
    color .16s,
    box-shadow .16s;
}
button:hover {
  background: #eef3ef;
}
.masthead {
  height: 82px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 27px;
  gap: 28px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
  min-width: 230px;
}
.brand-icon {
  background: var(--green);
  color: #fff;
  width: 37px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 23px;
  letter-spacing: -3px;
  border-radius: 9px;
  font-weight: 500;
  padding-right: 5px;
}
.brand-icon span {
  font-size: 13px;
  align-self: flex-end;
  margin-bottom: 8px;
  letter-spacing: 0;
}
.brand strong {
  font-size: 23px;
  letter-spacing: -.7px;
  display: block;
  line-height: 1.05;
}
.brand small {
  display: block;
  font-size: 9px;
  letter-spacing: 1.5px;
  color: var(--muted);
  margin-top: 5px;
}
.project-line {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 13px;
  margin-right: auto;
}
.project-sub {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-top: 5px;
}
.revision {
  font-size: 10px;
  padding: 6px 7px;
  border: 1px solid var(--line);
  border-radius: 5px;
  font-weight: 650;
  letter-spacing: .6px;
}
.head-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}
.plain-btn {
  border: 0;
  background: transparent;
  padding: 8px 0;
  font-size: 12px;
}
.keycap {
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 10px;
  padding: 2px 5px;
  margin-left: 5px;
  color: var(--muted);
}
.outline-btn {
  border: 1px solid #d9e1dc;
  background: #fff;
  border-radius: 7px;
  display: inline-flex;
  gap: 7px;
  align-items: center;
  justify-content: center;
  padding: 10px 13px;
  white-space: nowrap;
  font-weight: 550;
  font-size: 12px;
}
.outline-btn svg {
  width: 15px;
  height: 15px;
}
.outline-btn[aria-pressed=true] {
  background: var(--accent);
  border-color: #93b7a7;
  color: var(--green);
}
.icon-btn {
  width: 32px;
  height: 32px;
  padding: 7px;
  border: 0;
  background: transparent;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.workspace {
  height: calc(100dvh - 82px);
  min-height: 380px;
  display: grid;
  grid-template-columns: 260px minmax(280px, 1fr) 292px;
}
.parts-panel,
.inspector {
  background: #fff;
  min-height: 0;
  display: flex;
  flex-direction: column;
  z-index: 3;
}
.parts-panel {
  border-right: 1px solid var(--line);
}
.panel-heading {
  padding: 27px 22px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.eyebrow,
.mini-label {
  font-size: 9px;
  letter-spacing: 1.3px;
  font-weight: 650;
  color: var(--muted);
  display: block;
}
.panel-heading h1 {
  font-size: 22px;
  letter-spacing: -.6px;
  margin: 8px 0 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}
.count {
  font-size: 10px;
  letter-spacing: 0;
  color: #6c7f75;
  border-radius: 5px;
  padding: 3px 6px;
  background: #edf3ee;
}
.search-box {
  margin: 0 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 10px;
  background: #f5f7f5;
  border: 1px solid #e7ece8;
  border-radius: 7px;
  color: #89978e;
}
.search-box svg {
  width: 15px;
  height: 15px;
}
.search-box input {
  border: 0;
  outline: 0;
  background: transparent;
  width: 100%;
  min-width: 0;
  font-size: 11px;
  color: var(--ink);
}
.search-box input::placeholder {
  color: #8a958e;
}
.category-field {
  position: relative;
  margin: 9px 16px 0;
  display: block;
}
.category-field select {
  appearance: none;
  width: 100%;
  padding: 9px 27px 9px 10px;
  color: #4d6256;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 11px;
  cursor: pointer;
}
.category-field > span:last-child {
  position: absolute;
  right: 9px;
  top: 10px;
  pointer-events: none;
}
.category-field svg {
  width: 12px;
  height: 12px;
}
.list-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 19px 20px 11px;
  font-size: 10px;
  color: var(--muted);
}
.text-btn {
  background: transparent;
  border: 0;
  padding: 0;
  color: var(--green);
  font-size: 11px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: 3px;
}
.parts-list {
  overflow-y: auto;
  overflow-x: hidden;
  flex: 1;
  padding: 0 9px 10px;
  scrollbar-width: thin;
  scrollbar-color: #d7e0d9 transparent;
}
.part-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 26px;
  align-items: center;
  border-radius: 7px;
  margin: 2px 0;
  border: 1px solid transparent;
}
.part-row:hover {
  background: #f6f8f6;
}
.part-row.selected {
  background: #eaf3ed;
  border-color: #cadfd0;
}
.part-select {
  background: transparent;
  border: 0;
  display: flex;
  gap: 9px;
  text-align: left;
  align-items: center;
  min-width: 0;
  width: 100%;
  padding: 9px 4px 9px 9px;
}
.part-glyph {
  font-size: 9px;
  color: #70917c;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #dce8df;
  border-radius: 5px;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  background: #fff;
}
.part-copy {
  min-width: 0;
}
.part-copy strong {
  font-size: 11px;
  font-weight: 500;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.5;
}
.part-copy small {
  font-size: 9px;
  color: #8b978f;
  display: block;
  margin-top: 2px;
}
.part-eye {
  border: 0;
  background: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 25px;
  height: 28px;
  color: #9ba99f;
  border-radius: 4px;
  opacity: 0;
}
.part-eye svg {
  width: 14px;
  height: 14px;
}
.part-row:hover .part-eye,
.part-eye:focus-visible,
.part-row.is-hidden .part-eye {
  opacity: 1;
}
.part-row.is-hidden .part-copy {
  opacity: .43;
}
.empty-list {
  color: var(--muted);
  font-size: 12px;
  padding: 30px 14px;
  line-height: 1.7;
}
.panel-foot {
  display: flex;
  gap: 9px;
  align-items: center;
  border-top: 1px solid var(--line);
  padding: 15px 20px;
  color: #89968c;
  font-size: 9px;
  line-height: 1.7;
}
.panel-foot strong {
  font-weight: 400;
  font-size: 10px;
  color: #627b6b;
}
.status-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #72a58b;
  flex-shrink: 0;
}
.stage {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background:
    radial-gradient(
      ellipse at 52% 32%,
      #f6f8f7,
      #e7ece9 85%);
}
.canvas-host {
  position: absolute;
  inset: 0;
  outline: none;
}
.canvas-host canvas {
  display: block;
  width: 100%;
  height: 100%;
  touch-action: none;
}
.viewport-top {
  position: absolute;
  top: 25px;
  left: 27px;
  right: 23px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}
.viewport-title #viewName {
  display: block;
  font-size: 12px;
  color: #566e5e;
  margin-top: 7px;
}
.viewport-tools {
  display: flex;
  gap: 5px;
  pointer-events: auto;
}
.viewport-tools .icon-btn {
  background: #ffffffa6;
  border: 1px solid #dbe4dc80;
  backdrop-filter: blur(12px);
}
.view-presets {
  position: absolute;
  left: 27px;
  top: 88px;
  display: flex;
  gap: 1px;
  background: #ffffffa6;
  padding: 3px;
  border: 1px solid #dbe4dc99;
  border-radius: 7px;
  backdrop-filter: blur(12px);
}
.view-presets button {
  border: 0;
  background: transparent;
  font-size: 10px;
  color: #7b8e80;
  padding: 6px 10px;
  border-radius: 4px;
}
.view-presets button.active {
  background: #fff;
  box-shadow: 0 1px 5px #30443712;
  color: var(--green);
  font-weight: 600;
}
.stage-bottom {
  position: absolute;
  bottom: 20px;
  left: 27px;
  right: 27px;
  pointer-events: none;
}
.assembly-controls {
  background: #fffffff0;
  border: 1px solid #dbe4db;
  border-radius: 12px;
  box-shadow: 0 8px 40px #193c2410;
  padding: 6px 7px 13px;
  max-width: 470px;
  margin: auto;
  pointer-events: auto;
  backdrop-filter: blur(16px);
}
.state-buttons {
  display: flex;
  gap: 4px;
  padding: 0 0 12px;
}
.state-buttons button {
  flex: 1;
  font-size: 11px;
  border: 0;
  background: transparent;
  border-radius: 7px;
  padding: 10px 12px;
  color: #708677;
}
.state-buttons button.active {
  background: var(--green);
  color: #fff;
  box-shadow: 0 3px 8px #1f654a18;
}
.slider-row {
  display: flex;
  gap: 15px;
  align-items: center;
  margin: 0 13px;
  color: #738579;
  font-size: 10px;
}
.slider-row input {
  min-width: 20px;
  flex: 1;
  accent-color: var(--green);
  height: 3px;
  cursor: pointer;
}
.slider-row output {
  font-size: 10px;
  color: var(--green);
  width: 26px;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.viewport-hint {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 17px;
  font-size: 9px;
  color: #91a294;
}
.viewport-hint > span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.viewport-hint svg {
  width: 12px;
  height: 12px;
}
.viewport-hint i {
  font-style: normal;
  opacity: .65;
}
.viewport-hint button {
  pointer-events: auto;
  font-size: 10px;
}
.viewport-hint button[aria-pressed=true] {
  font-weight: 700;
}
.hover-label {
  position: absolute;
  pointer-events: none;
  background: #203e32ed;
  color: #fff;
  font-size: 10px;
  padding: 7px 10px;
  border-radius: 5px;
  max-width: 240px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-shadow: 0 4px 12px #142a211a;
}
.selection-chip {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 26px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid #c7dacf;
  border-radius: 20px;
  padding: 6px 8px 6px 11px;
  max-width: 65%;
  box-shadow: 0 3px 16px #284c2d0b;
  font-size: 10px;
}
.selection-chip > span:nth-child(2) {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.selection-chip button {
  border: 0;
  border-radius: 50%;
  background: transparent;
  padding: 3px;
}
.selection-chip svg {
  width: 12px;
  height: 12px;
}
.selection-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #309976;
  flex-shrink: 0;
}
.inspector {
  border-left: 1px solid var(--line);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #dce4de transparent;
  padding: 0 23px 18px;
}
.inspector-header {
  padding: 27px 0 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 75px;
}
.inspector-header .icon-btn {
  margin: -11px -7px -11px 0;
}
.inspect-illustration {
  height: 44px;
  width: 44px;
  background: #f1f6f1;
  border: 1px solid #e1eae2;
  border-radius: 12px;
  margin: 9px 0 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6b957d;
}
.inspect-illustration svg {
  width: 22px;
  height: 22px;
}
.overview h2 {
  font-size: 24px;
  line-height: 1.3;
  letter-spacing: -.7px;
  font-weight: 500;
  margin: 0 0 14px;
}
.overview > p {
  font-size: 11px;
  color: #87948a;
  line-height: 1.9;
  margin: 0 0 28px;
}
.spec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 7px;
  padding: 22px 0 26px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.spec-grid span {
  font-size: 9px;
  color: #8c9a8e;
  display: block;
  margin-bottom: 8px;
}
.spec-grid strong {
  font-size: 14px;
  font-weight: 550;
  letter-spacing: -.3px;
  white-space: nowrap;
}
.spec-grid small {
  font-size: 9px;
  font-weight: 400;
  color: #889a8b;
}
.revision-note {
  padding: 23px 0;
}
.revision-note p {
  font-size: 10px;
  color: #809487;
  line-height: 1.9;
  margin: 12px 0 0;
}
.display-options {
  margin-top: auto;
  padding: 24px 0 16px;
  border-top: 1px solid var(--line);
}
.toggle-row {
  display: flex;
  position: relative;
  align-items: center;
  justify-content: space-between;
  margin-top: 17px;
  cursor: pointer;
  font-size: 11px;
  color: #6b8071;
}
.toggle-row > span {
  display: flex;
  gap: 8px;
  align-items: center;
}
.toggle-row svg {
  width: 15px;
  height: 15px;
}
.toggle-row input {
  position: absolute;
  right: 0;
  width: 31px;
  height: 18px;
  opacity: 0;
  cursor: pointer;
}
.toggle-row i {
  width: 29px;
  height: 16px;
  border-radius: 20px;
  background: #dce5de;
  pointer-events: none;
  position: relative;
  transition: background .18s;
}
.toggle-row i:after {
  content: "";
  position: absolute;
  left: 3px;
  top: 3px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 2px #28482b12;
  transition: transform .18s;
}
.toggle-row input:checked + i {
  background: var(--green);
}
.toggle-row input:checked + i:after {
  transform: translateX(13px);
}
.toggle-row input:focus-visible + i {
  outline: 2px solid #65a187;
  outline-offset: 3px;
}
.restore-btn {
  display: flex;
  width: 100%;
  font-size: 10px;
  margin-top: 18px;
}
.review-note {
  font-size: 9px;
  color: #9ba69d;
  line-height: 1.8;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
.part-details {
  padding-bottom: 26px;
}
.part-details h2 {
  font-size: 21px;
  line-height: 1.35;
  letter-spacing: -.4px;
  font-weight: 500;
  margin: 10px 0;
}
.part-code {
  display: inline-block;
  border: 1px solid #dce8df;
  border-radius: 4px;
  font-size: 9px;
  padding: 4px 7px;
  color: #708779;
  max-width: 100%;
  word-wrap: break-word;
}
.detail-description {
  font-size: 11px;
  color: #7d8f82;
  line-height: 1.9;
  margin: 18px 0;
}
.part-actions {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 5px;
  padding-bottom: 24px;
}
.part-actions .outline-btn {
  font-size: 10px;
  padding: 8px 3px;
  gap: 3px;
}
.part-actions svg {
  width: 12px;
  height: 12px;
}
.detail-section {
  border-top: 1px solid var(--line);
  padding: 18px 0 14px;
}
.detail-section > p {
  font-size: 11px;
  color: #6f8476;
  line-height: 1.7;
  margin: 10px 0 0;
}
.dimensions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  margin: 15px 0 10px;
  gap: 8px;
}
.dimensions-grid div {
  padding: 9px 8px;
  border: 1px solid #e5ebe6;
  background: #f9faf9;
  border-radius: 5px;
}
.dimensions-grid span {
  display: block;
  font-size: 9px;
  color: #94a096;
  margin-bottom: 5px;
}
.dimensions-grid strong {
  font-size: 12px;
  font-weight: 550;
}
.micro-note,
.detail-section .micro-note {
  font-size: 9px !important;
  color: #9ba69d !important;
  line-height: 1.7 !important;
}
.part-details details {
  font-size: 10px;
  color: #799181;
  border-top: 1px solid var(--line);
  padding-top: 15px;
  line-height: 1.8;
}
.part-details summary {
  cursor: pointer;
}
.part-details details p {
  font-size: 10px;
  overflow-wrap: anywhere;
  color: #8a9a8d;
}
.loading-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #f0f4f1;
  z-index: 10;
  gap: 13px;
}
.loading-mark {
  font-size: 24px;
  background: var(--green);
  color: #fff;
  padding: 15px 17px;
  border-radius: 15px;
  margin-bottom: 10px;
  letter-spacing: -2px;
}
.loading-overlay strong {
  font-size: 17px;
  font-weight: 500;
}
.loading-overlay > span {
  font-size: 11px;
  color: #809288;
  text-align: center;
  padding: 0 30px;
}
.loading-track {
  height: 3px;
  width: 160px;
  overflow: hidden;
  background: #dce7df;
  border-radius: 4px;
  margin-top: 12px;
}
.loading-track i {
  height: 100%;
  width: 35%;
  display: block;
  background: #6c9880;
  animation: load 1.5s ease-in-out infinite;
}
@keyframes load {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(400%);
  }
}
.toast {
  position: absolute;
  bottom: 160px;
  left: 50%;
  transform: translateX(-50%);
  background: #214134e8;
  color: #fff;
  padding: 10px 16px;
  border-radius: 7px;
  font-size: 11px;
  max-width: 90%;
  text-align: center;
  pointer-events: none;
  z-index: 15;
}
dialog {
  border: 1px solid #dde7df;
  border-radius: 17px;
  padding: 35px 38px;
  max-width: 680px;
  color: var(--ink);
  box-shadow: 0 24px 110px #17382226;
}
dialog::backdrop {
  background: #24473442;
  backdrop-filter: blur(4px);
}
.dialog-close {
  position: absolute;
  right: 16px;
  top: 16px;
}
dialog h2 {
  font-size: 27px;
  font-weight: 500;
  letter-spacing: -.5px;
  margin: 15px 0;
}
dialog > p {
  font-size: 12px;
  color: #7c8c80;
  line-height: 1.8;
}
.guide-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 28px;
  margin: 30px 0;
}
.guide-grid b {
  font-size: 12px;
  font-weight: 600;
}
.guide-grid p {
  font-size: 11px;
  line-height: 1.9;
  color: #7d8d81;
  margin: 9px 0 0;
}
.shortcuts {
  display: flex;
  gap: 19px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding: 22px 0;
}
.shortcuts > span {
  font-size: 10px;
  color: #7b8b80;
  display: flex;
  align-items: center;
  gap: 6px;
}
kbd {
  font: inherit;
  color: #345c45;
  border: 1px solid #d8e4db;
  border-radius: 4px;
  padding: 3px 6px;
  background: #f7faf7;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
[hidden] {
  display: none !important;
}
.mobile-only {
  display: none;
}
button.brand-link {
  border: 0;
}
.parts-list::-webkit-scrollbar,
.inspector::-webkit-scrollbar {
  width: 4px;
}
.parts-list::-webkit-scrollbar-thumb,
.inspector::-webkit-scrollbar-thumb {
  background: #dce6df;
  border-radius: 9px;
}
@media (min-width: 1600px) {
  .workspace {
    grid-template-columns: 290px minmax(300px, 1fr) 320px;
  }
  .inspector {
    padding-inline: 28px;
  }
  .panel-heading {
    padding-left: 25px;
  }
  .part-select {
    padding-block: 11px;
  }
  .part-copy strong {
    font-size: 12px;
  }
  .overview h2 {
    font-size: 27px;
  }
}
@media (max-width: 1150px) {
  .workspace {
    grid-template-columns: 222px minmax(280px, 1fr) 248px;
  }
  .inspector {
    padding-inline: 18px;
  }
  .panel-heading {
    padding-inline: 17px;
  }
  .brand {
    min-width: 190px;
  }
  .masthead {
    padding-inline: 20px;
    gap: 15px;
  }
  .overview h2 {
    font-size: 22px;
  }
  .part-actions {
    grid-template-columns: 1fr 1fr;
  }
  .part-actions #hidePart {
    grid-column: 1/-1;
  }
  .viewport-hint > span {
    font-size: 8px;
    gap: 4px;
  }
  .stage-bottom {
    left: 18px;
    right: 18px;
  }
  .viewport-top {
    left: 20px;
    right: 18px;
  }
  .view-presets {
    left: 20px;
  }
  .selection-chip {
    top: 135px;
    max-width: 88%;
  }
  .spec-grid strong {
    font-size: 12px;
  }
  .project-line {
    font-size: 11px;
  }
  .head-actions {
    gap: 12px;
  }
}
@media (max-width: 900px) {
  .workspace {
    grid-template-columns: minmax(300px, 1fr) 252px;
  }
  .parts-panel {
    position: absolute;
    top: 72px;
    bottom: 0;
    left: 0;
    width: 280px;
    z-index: 20;
    box-shadow: 15px 0 80px #18342030;
    transform: translateX(-110%);
    transition: transform .2s;
  }
  .parts-open .parts-panel {
    transform: translateX(0);
  }
  .mobile-only {
    display: inline-flex;
  }
  .masthead {
    height: 72px;
  }
  .workspace {
    height: calc(100dvh - 72px);
  }
  .brand {
    min-width: 155px;
  }
  .brand strong {
    font-size: 21px;
  }
  .brand small {
    font-size: 8px;
  }
  .project-sub {
    display: none;
  }
  .project-line {
    font-size: 10px;
    gap: 7px;
  }
  .head-actions .outline-btn {
    padding: 8px;
  }
  .head-actions .outline-btn > span:last-child {
    display: none;
  }
  .head-actions {
    gap: 10px;
  }
  .revision {
    font-size: 9px;
  }
}
@media (max-width: 620px) {
  body {
    overflow: auto;
  }
  .masthead {
    padding: 0 15px;
    gap: 10px;
  }
  .project-line {
    display: none;
  }
  .brand {
    min-width: auto;
  }
  .brand-icon {
    width: 32px;
    height: 35px;
    font-size: 20px;
  }
  .workspace {
    height: auto;
    min-height: calc(100dvh - 72px);
    display: flex;
    flex-direction: column;
  }
  .stage {
    height: 68dvh;
    min-height: 460px;
    order: 0;
    width: 100%;
  }
  .inspector {
    order: 1;
    border-left: 0;
    border-top: 1px solid var(--line);
    overflow: visible;
    padding: 0 23px 22px;
  }
  .parts-panel {
    position: fixed;
    top: 72px;
    height: calc(100dvh - 72px);
    bottom: 0;
  }
  .inspector-header {
    padding: 23px 0 18px;
    min-height: 60px;
  }
  .overview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 23px;
  }
  .inspect-illustration {
    display: none;
  }
  .overview h2 {
    font-size: 23px;
    margin-top: 3px;
  }
  .overview > p {
    font-size: 10px;
    margin-bottom: 18px;
  }
  .spec-grid {
    grid-column: 1/-1;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 10px;
    padding: 18px 0;
  }
  .spec-grid strong {
    font-size: 12px;
  }
  .spec-grid span {
    font-size: 8px;
  }
  .revision-note {
    grid-column: 1/-1;
    padding: 20px 0;
  }
  .revision-note p {
    line-height: 1.8;
    font-size: 10px;
  }
  .part-actions {
    display: flex;
  }
  .part-actions button {
    flex: 1;
    padding-block: 10px !important;
  }
  .part-details {
    padding-bottom: 14px;
  }
  .display-options {
    padding-top: 21px;
  }
  .viewport-top {
    top: 20px;
    left: 19px;
    right: 15px;
  }
  .view-presets {
    left: 19px;
    top: 75px;
  }
  .stage-bottom {
    bottom: 15px;
    left: 18px;
    right: 18px;
  }
  .selection-chip {
    top: 117px;
  }
  .viewport-hint {
    font-size: 8px;
    margin-top: 12px;
  }
  .viewport-hint > span {
    font-size: 8px;
  }
  .viewport-hint i {
    margin: 0 1px;
  }
  .viewport-hint button {
    font-size: 9px;
  }
  .slider-row {
    gap: 10px;
  }
  .state-buttons {
    padding-bottom: 10px;
  }
  .state-buttons button {
    padding: 9px;
  }
  .assembly-controls {
    padding-bottom: 12px;
  }
  .head-actions {
    margin-left: auto;
  }
  .guide-grid {
    grid-template-columns: 1fr;
  }
  .shortcuts {
    gap: 12px;
  }
  dialog {
    padding: 30px 24px;
    max-width: calc(100% - 28px);
  }
  dialog h2 {
    font-size: 23px;
  }
  .loading-overlay > span {
    max-width: 270px;
    line-height: 1.6;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

/* Product identity */
.brand { min-width: 285px; }
.brand strong { font-size: 22px; white-space: nowrap; }
.brand small { font-size: 10px; letter-spacing: .15px; }
.product-identity { line-height: 1.7; }
.overview .product-title { font-size: 23px; line-height: 1.2; }
@media (max-width: 900px) { .brand { min-width: 245px; } .brand strong { font-size: 20px; } .brand small { font-size: 9px; } }
@media (max-width: 620px) { .brand { min-width: 0; gap: 8px; } .brand strong { font-size: 19px; } .brand small { font-size: 8px; } .head-actions { gap: 6px; } }
