.pet-app { padding: 28px 0 72px; }
.pet-app h1 { margin: 0 0 8px; }
.pet-app .lead { max-width: 42rem; color: #44403c; margin: 0; }
.pet-stage {
  display: grid;
  grid-template-columns: minmax(280px, 420px) minmax(0, 1fr);
  gap: 18px;
  margin-top: 22px;
  align-items: start;
}
.pet-card {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 22px;
  padding: 16px;
  box-shadow: 0 16px 40px rgba(60, 40, 20, 0.06);
}
.pet-pills { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.pet-pills button {
  border: 1px solid #eadfce;
  background: #fff;
  border-radius: 999px;
  padding: 8px 12px;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  color: #1c1917;
}
.pet-pills button.is-on { background: #e56b1f; border-color: #e56b1f; color: #fff; }
.pet-field { display: grid; gap: 4px; margin-bottom: 12px; font-size: 0.9rem; font-weight: 700; }
#pet-lines {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: 16px;
  margin-bottom: 12px;
}
#pet-lines[hidden] { display: none; }
#pet-lines .pet-field { margin-bottom: 0; min-width: 0; }
.pet-field input, .pet-field select {
  font: inherit;
  font-weight: 500;
  width: 100%;
  border: 1px solid #eadfce;
  border-radius: 12px;
  padding: 11px 12px;
  background: #fff;
}
.pet-inks { display: flex; flex-wrap: wrap; gap: 8px; }
.pet-inks button {
  width: 28px; height: 28px; border-radius: 999px; border: 2px solid rgba(28,25,23,.15); padding: 0; cursor: pointer;
}
.pet-inks button.is-on { box-shadow: 0 0 0 2px #fff, 0 0 0 4px #e56b1f; }
.pet-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.pet-note, .pet-status { color: #57534e; font-size: 0.9rem; }
.pet-view canvas { width: 100%; height: 460px; display: block; background: #8f8f8f; border-radius: 16px; }
.pet-meta { margin: 10px 0 0; color: #44403c; }
html.is-embed .pet-app { padding: 8px 0 16px; }
html.is-embed .pet-app .eyebrow,
html.is-embed .pet-app h1,
html.is-embed .pet-app .lead { display: none; }
html.is-embed .pet-stage { margin-top: 0; align-items: start; }
html.is-embed .pet-view { position: sticky; top: 8px; align-self: start; }
@media (max-width: 560px) {
  #pet-lines { grid-template-columns: minmax(0, 1fr); row-gap: 12px; }
}
@media (max-width: 900px) {
  .pet-stage { grid-template-columns: 1fr; }
  .pet-view canvas { height: 300px; }
  html.is-embed .pet-stage { display: flex; flex-direction: column; }
  html.is-embed .pet-view { order: -1; position: static; }
  html.is-embed .pet-view canvas { height: 240px; }
}
