.studio-app-kpi,
.studio-app-content-card,
.studio-app-list-card,
.studio-app-detail-card {
  min-width: 0;
  border: 1px solid #dbe4ef;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: none;
}

.studio-app-kpi {
  padding: 14px;
}

.studio-app-kpi-blue,
.studio-app-content-card-blue {
  border-color: #bae6fd;
  background: #f0f9ff;
}

.studio-app-kpi-green,
.studio-app-content-card-green {
  background: #f0fdf4;
}

.studio-app-kpi-orange,
.studio-app-content-card-orange {
  border-color: #fed7aa;
  background: #fff7ed;
}

.studio-app-kpi-title {
  overflow: hidden;
  color: #64748b;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.studio-app-kpi-value {
  margin-top: 8px;
  color: #0f172a;
  font-size: 26px;
  line-height: 1;
  letter-spacing: -0.04em;
}

.studio-app-kpi-delta {
  width: fit-content;
  margin-top: 9px;
  padding: 3px 7px;
  border-radius: 999px;
  background: #f3f4f6;
  color: #475569;
  font-size: 10px;
  font-weight: 600;
}

.studio-app-kpi-green .studio-app-kpi-delta {
  background: #dcfce7;
  color: #166534;
}

.studio-app-kpi-blue .studio-app-kpi-delta {
  background: #e0f2fe;
  color: #0369a1;
}

.studio-app-kpi-orange .studio-app-kpi-delta {
  background: #ffedd5;
  color: #c2410c;
}

.studio-app-kpi-meta,
.studio-app-card-meta {
  margin-top: 6px;
  color: #64748b;
  font-size: 10px;
  line-height: 1.45;
}

.studio-app-content-card {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
}

.studio-app-card-title {
  color: #0f172a;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

.studio-app-card-description {
  color: #52637a;
  font-size: 12px;
  line-height: 1.55;
}

.studio-app-card-action {
  width: fit-content;
  margin-top: 2px;
  color: #0f172a;
  font-size: 11px;
  font-weight: 700;
}

.studio-app-column,
.studio-app-scroll {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.studio-app-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  min-width: 0;
}

.studio-app-stack {
  position: relative;
  min-width: 0;
}

.studio-app-container-placeholder {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 10px;
  border: 1px dashed #c6d2e1;
  border-radius: 12px;
  background: #f8fafc;
}

.studio-app-placeholder-text {
  display: block;
  padding: 18px 12px;
  border: 1px dashed #c6d2e1;
  border-radius: 12px;
  background: #f8fafc;
  color: #94a3b8;
  font-size: 11px;
  text-align: center;
}

.studio-app-nav-surface {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 6px;
  padding: 10px;
  border: 1px solid #dbe4ef;
  border-radius: 14px;
  background: #ffffff;
}

.studio-app-nav-dock-item,
.studio-app-filter-chip,
.studio-app-tab-pill,
.studio-app-pager-page,
.studio-app-pager-arrow {
  border: 0;
  border-radius: 999px;
  background: #f1f5f9;
  color: #52637a;
  font-size: 10px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}

.studio-app-nav-dock-item {
  flex: 1 1 0;
  padding: 8px 0;
  border-radius: 10px;
}

.studio-app-nav-dock-item.is-active,
.studio-app-filter-chip.is-active,
.studio-app-tab-pill.is-active {
  background: #e8edff;
  color: #3559e6;
}

.studio-app-filter-chip,
.studio-app-tab-pill {
  padding: 6px 12px;
}

.studio-app-pager-page,
.studio-app-pager-arrow {
  min-width: 26px;
  padding: 5px 8px;
}

.studio-app-pager-page.is-active {
  background: #3559e6;
  color: #ffffff;
}

.studio-app-nav-screen-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
}

.studio-app-nav-screen-title {
  color: #0f172a;
  font-size: 13px;
  font-weight: 700;
}

.studio-app-nav-screen-meta {
  color: #94a3b8;
  font-size: 9px;
}

.studio-app-nav-screen-body {
  width: 100%;
  padding: 12px;
  border: 1px dashed #c6d2e1;
  border-radius: 10px;
  background: #f8fafc;
  color: #94a3b8;
  font-size: 11px;
  text-align: center;
}

.studio-app-badge {
  width: fit-content;
  padding: 5px 12px;
  border-radius: 999px;
  background: #e8edff;
  color: #3559e6;
  font-size: 11px;
  font-weight: 700;
}

.studio-app-tag {
  width: fit-content;
  padding: 5px 12px;
  border: 1px solid #dbe4ef;
  border-radius: 999px;
  background: #ffffff;
  color: #3559e6;
  font-size: 11px;
  font-weight: 700;
}

.studio-app-status-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.studio-app-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #16a34a;
}

.studio-app-status-label {
  color: #52637a;
  font-size: 12px;
}

.studio-app-key-value {
  display: grid;
  gap: 8px;
}

.studio-app-key-value-row {
  color: #52637a;
  font-size: 12px;
}

.studio-app-divider-wrap {
  padding: 6px 0;
}

.studio-app-divider-line {
  display: block;
  height: 1px;
  background: #dbe4ef;
}

.studio-app-progress {
  display: grid;
  gap: 8px;
}

.studio-app-progress-label {
  color: #52637a;
  font-size: 11px;
  font-weight: 600;
}

.studio-app-progress-track {
  display: block;
  height: 6px;
  border-radius: 999px;
  background: #eef2f7;
  overflow: hidden;
}

.studio-app-progress-fill {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: #3559e6;
}

.studio-app-feedback {
  display: grid;
  justify-items: center;
  gap: 6px;
  padding: 16px;
  border: 1px solid #dbe4ef;
  border-radius: 14px;
  background: #ffffff;
  text-align: center;
}

.studio-app-feedback-glyph {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #52637a;
  font-size: 12px;
  font-weight: 700;
}

.studio-app-feedback-glyph-empty::before {
  content: "空";
}

.studio-app-feedback-glyph-error::before {
  content: "!";
}

.studio-app-feedback-glyph-loading::before {
  content: "…";
}

.studio-app-feedback-glyph-inline::before {
  content: "i";
}

.studio-app-feedback-glyph-skeleton::before {
  content: "≡";
}

.studio-app-feedback-glyph-dialog::before {
  content: "弹";
}

.studio-app-feedback-glyph-bottom-sheet::before {
  content: "层";
}

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

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

.studio-app-button {
  width: 100%;
  min-height: 38px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: #111827;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  box-shadow: none;
}

.studio-app-button:hover {
  background: #000000;
}

.studio-app-button-secondary {
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #0f172a;
}

.studio-app-button-danger {
  background: #b42318;
}
