.litho-maker {
  padding: 0 0 2.5rem;
}
.litho-maker-stage {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 1.25rem;
  align-items: start;
}
.ls-view {
  position: relative;
  min-height: 420px;
  border-radius: 20px;
  overflow: hidden;
  background: #161310;
  border: 1px solid #eee4d6;
  box-shadow: 0 18px 40px rgba(60, 40, 20, 0.1);
}
.ls-view canvas {
  display: block;
  width: 100%;
  height: 460px;
}
.ls-empty {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  color: #e8dfd2;
  text-align: center;
  padding: 1.5rem;
  pointer-events: none;
}
.ls-empty strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.15rem;
}
.ls-empty span {
  color: #c4b8a8;
  font-size: 0.92rem;
  max-width: 28ch;
}
.ls-view.has-model .ls-empty {
  display: none;
}
.ls-processing {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  background: rgba(22, 19, 16, 0.72);
  color: #fff;
  font-weight: 700;
}
.ls-processing[hidden] {
  display: none !important;
}
.ls-spin {
  width: 34px;
  height: 34px;
  border: 3px solid rgba(255, 255, 255, 0.2);
  border-top-color: #f4a261;
  border-radius: 50%;
  animation: ls-spin 0.8s linear infinite;
}
@keyframes ls-spin {
  to { transform: rotate(360deg); }
}
.ls-panel {
  background: #fff;
  border: 1px solid #eee4d6;
  border-radius: 20px;
  padding: 1.15rem 1.2rem 1.25rem;
}
.ls-panel h2 {
  margin: 0 0 0.35rem;
  font-size: 1.35rem;
}
.ls-panel .muted {
  color: #6f675f;
  font-size: 0.92rem;
  margin: 0 0 1rem;
}
.ls-shapes {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 0.45rem;
  margin: 0 0 1rem;
}
.ls-shape {
  border: 1px solid #e7ddd0;
  border-radius: 12px;
  padding: 0.55rem 0.35rem;
  background: #faf7f2;
  cursor: pointer;
  text-align: center;
  font: inherit;
  font-size: 0.75rem;
  font-weight: 800;
  color: #44403c;
  line-height: 1.2;
}
.ls-shape.is-on {
  border-color: #c45f1a;
  background: #fff4ea;
  color: #9a3412;
  box-shadow: 0 0 0 1px #c45f1a;
}
.ls-file {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.ls-photolist {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  width: 100%;
}
.ls-thumb {
  position: relative;
  width: 56px;
  height: 56px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #e7ddd0;
  background: #1c1917;
}
.ls-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ls-thumb span {
  position: absolute;
  left: 4px;
  bottom: 4px;
  font-size: 0.65rem;
  font-weight: 800;
  color: #fff;
  background: rgba(0,0,0,0.55);
  border-radius: 6px;
  padding: 0 5px;
}
.ls-thumb-rm {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 18px;
  height: 18px;
  border: 0;
  border-radius: 50%;
  background: rgba(28, 25, 23, 0.8);
  color: #fff;
  font-size: 12px;
  line-height: 18px;
  cursor: pointer;
  padding: 0;
}
.ls-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem 0.85rem;
}
.ls-grid label,
.ls-checks label {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: #57534e;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.ls-grid input[type="number"],
.ls-grid input[type="range"] {
  font: inherit;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  color: #1c1917;
  border: 1px solid #e7ddd0;
  border-radius: 10px;
  padding: 0.45rem 0.55rem;
  background: #faf7f2;
}
.ls-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.1rem;
  margin: 0.85rem 0 1rem;
}
.ls-checks label {
  flex-direction: row;
  align-items: center;
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: #1c1917;
}
.ls-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.35rem;
}
.ls-status {
  margin: 0.75rem 0 0;
  font-size: 0.88rem;
  color: #6f675f;
}
.ls-status[data-kind="err"] {
  color: #9a3412;
}
@media (max-width: 860px) {
  .litho-maker-stage {
    grid-template-columns: 1fr;
  }
  .ls-shapes {
    grid-template-columns: 1fr 1fr;
  }
  .ls-view canvas {
    height: 360px;
  }
}
