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