/* kodybrown.me — Del West concept-art figure: robotic CNC tending cell.
   Scoped entirely under #tending-art / .tending-art. Companion to
   js/demo-tending.js, which builds all interior DOM. Palette matches
   style.css tokens (hard-coded here so the file stands alone). */

.sheet-media .tending-art,
#tending-art {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  margin: 14px 0 0;
  background: #121417;
  border: 1px solid rgba(159, 180, 200, .28);
  border-radius: 3px;
  padding: 10px 10px 8px;
}

#tending-art svg {
  display: block;
  width: 100%;
  height: auto;
  user-select: none;
  -webkit-user-select: none;
}

#tending-art svg text {
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* caption row under the stage */
#tending-art .tending-cap {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
  padding-top: 7px;
  border-top: 1px solid rgba(159, 180, 200, .14);
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 9px;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: #8b93a0;
}

#tending-art .tending-cap .tending-cap-r {
  flex: none;
  color: #6d7683;
}

@media (min-width: 460px) {
  #tending-art .tending-cap { font-size: 9.5px; }
}

/* the media stack collapses to a 2-up grid here; the cell drawing is wide,
   so it keeps the full row to itself */
@media (max-width: 760px) {
  .sheet-media .tending-art,
  #tending-art {
    grid-column: 1 / -1;
    width: auto;
    margin: 0;
  }
}
