.studio-app-list-card {
  padding: 14px 0 4px;
}

.studio-app-table-card {
  padding: 14px 16px 10px;
}

.studio-app-table-card > .studio-app-card-title {
  display: block;
  margin-top: 2px;
}

.studio-app-table-card > .studio-app-card-description {
  display: block;
  margin-top: 4px;
}

.studio-app-table-wrap {
  margin-top: 10px;
  overflow-x: auto;
  border-top: 1px solid #eef2f7;
}

.studio-app-table {
  width: 100%;
  min-width: 420px;
  border-collapse: collapse;
  color: #0f172a;
  font-size: 10px;
}

.studio-app-table th,
.studio-app-table td {
  padding: 9px 8px;
  border-bottom: 1px solid #eef2f7;
  text-align: left;
  white-space: nowrap;
}

.studio-app-table th {
  color: #64748b;
  font-size: 9px;
  font-weight: 700;
}

.studio-app-table .is-numeric {
  text-align: right;
}

.studio-app-table-badge {
  display: inline-block;
  padding: 3px 7px;
  border-radius: 999px;
  background: #f3f4f6;
  color: #475569;
  font-size: 9px;
  font-weight: 700;
}

.studio-app-table-badge-success {
  background: #dcfce7;
  color: #166534;
}

.studio-app-table-badge-warning {
  background: #ffedd5;
  color: #c2410c;
}

.studio-app-table-badge-info {
  background: #e0f2fe;
  color: #0369a1;
}

.studio-app-table-badge-danger {
  background: #fee2e2;
  color: #b91c1c;
}

.studio-app-detail-card {
  padding: 14px 16px 10px;
}

.studio-app-detail-card > .studio-app-card-title {
  display: block;
  margin-top: 2px;
}

.studio-app-detail-card > .studio-app-card-description {
  display: block;
  margin-top: 4px;
}

.studio-app-detail-rows {
  display: grid;
  margin-top: 10px;
  border-top: 1px solid #eef2f7;
}

.studio-app-detail-row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 10px;
  min-width: 0;
  padding: 9px 0;
  border-bottom: 1px solid #eef2f7;
}

.studio-app-detail-label,
.studio-app-detail-value {
  overflow: hidden;
  font-size: 10px;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.studio-app-detail-label {
  color: #64748b;
}

.studio-app-detail-value {
  color: #0f172a;
  font-weight: 600;
}

.studio-app-list-card > .studio-app-eyebrow,
.studio-app-list-card > .studio-app-card-title,
.studio-app-list-card > .studio-app-card-description {
  margin-right: 16px;
  margin-left: 16px;
}

.studio-app-list-card > .studio-app-card-title {
  margin-top: 2px;
}

.studio-app-list-card > .studio-app-card-description {
  margin-top: 4px;
}

.studio-app-list {
  display: grid;
  margin-top: 8px;
}

.studio-app-list-item {
  gap: 10px;
  min-width: 0;
  padding: 10px 16px;
  border-top: 1px solid #eef2f7;
}

.studio-app-list-dot {
  position: relative;
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border-radius: 11px;
  background: #eef2f7;
}

.studio-app-list-dot::after {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #64748b;
  content: "";
}

.studio-app-list-dot-blue::after {
  background: #0284c7;
}

.studio-app-list-dot-green::after {
  background: #16a34a;
}

.studio-app-list-dot-orange::after {
  background: #f97316;
}

.studio-app-list-copy {
  min-width: 0;
  flex: 1;
}

.studio-app-list-title {
  overflow: hidden;
  color: #0f172a;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.studio-app-list-subtitle,
.studio-app-list-meta {
  overflow: hidden;
  color: #52637a;
  font-size: 10px;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.studio-app-list-subtitle {
  margin-top: 2px;
}

.studio-app-list-meta {
  color: #94a3b8;
}

.studio-app-list-status {
  flex: 0 0 auto;
  padding: 3px 7px;
  border-radius: 999px;
  background: #f3f4f6;
  color: #475569;
  font-size: 10px;
  font-weight: 700;
}

.studio-app-list-status-blue {
  background: #e0f2fe;
  color: #0369a1;
}

.studio-app-list-status-green {
  background: #dcfce7;
  color: #166534;
}

.studio-app-list-status-orange {
  background: #ffedd5;
  color: #c2410c;
}

.studio-app-list-empty {
  padding: 14px 16px;
  color: #64748b;
  font-size: 11px;
}

.studio-app-list-arrow {
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-top: 1.5px solid #94a3b8;
  border-right: 1.5px solid #94a3b8;
  transform: rotate(45deg);
}

.studio-app-field {
  display: grid;
  gap: 7px;
}

.studio-app-field-label {
  color: #334155;
  font-size: 11px;
  font-weight: 700;
}

.studio-app-field input,
.studio-app-field select,
.studio-app-field textarea {
  width: 100%;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  background: #ffffff;
  color: #0f172a;
  font-size: 12px;
}

.studio-app-field textarea {
  min-height: 88px;
  padding-top: 10px;
  resize: none;
}

.studio-app-choice-group {
  display: grid;
  gap: 6px;
}

.studio-app-choice-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  min-height: 34px;
  color: #334155;
  font-size: 12px;
}

.studio-app-choice-row input {
  width: 16px;
  min-height: 16px;
  margin: 0;
  accent-color: #111111;
}

.studio-app-choice-copy {
  min-width: 0;
}

.studio-app-choice-description {
  grid-column: 2;
  color: #64748b;
  font-size: 10px;
  line-height: 1.35;
}

.studio-app-checkbox-row {
  display: inline-grid;
  width: fit-content;
}

.studio-app-field-placeholder {
  color: #94a3b8;
  font-size: 11px;
}

.studio-app-image-placeholder {
  display: grid;
  min-height: 116px;
  place-items: center;
  border: 1px solid #dbe4ef;
  border-radius: 16px;
  background: #eef2f7;
  color: #64748b;
  font-size: 12px;
}

.studio-app-section {
  display: grid;
  gap: 10px;
  padding: 0;
  background: transparent;
}

.studio-app-section-header {
  display: grid;
  gap: 4px;
}

.studio-app-section-title {
  color: #0f172a;
  font-size: 14px;
  font-weight: 700;
}

.studio-app-section-description {
  color: #52637a;
  font-size: 11px;
  line-height: 1.5;
}

@media (max-width: 700px) {
  .studio-device-frame {
    width: min(100%, 390px);
    min-height: 0;
    border-width: 6px;
    border-radius: 26px;
  }

  .studio-canvas-viewport {
    min-height: 0;
    height: 100%;
  }

  .studio-canvas-dropzone {
    height: 100%;
  }
}
