.studio__preflight {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: color-mix(in srgb, #07130f 42%, transparent);
}

.studio__preflight-panel {
  width: min(420px, 100%);
  max-height: min(88vh, 640px);
  overflow: auto;
  padding: 1rem 1rem 1.1rem;
  border-radius: 16px;
  background: var(--card, #fff);
  box-shadow: 0 24px 50px color-mix(in srgb, #07130f 20%, transparent);
}

.studio__preflight-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.studio__preflight-head h2 {
  margin: 0;
  font-size: 1.05rem;
}

.studio__preflight-count {
  margin: 0.15rem 0 0;
  font-size: 0.8rem;
  font-weight: 650;
  color: color-mix(in srgb, var(--t, #07130f) 62%, white);
}

.studio__preflight-close {
  border: 0;
  background: color-mix(in srgb, var(--a, #163a5f) 10%, var(--bg, #f6fafe));
  color: var(--a, #163a5f);
  width: 2rem;
  height: 2rem;
  border-radius: 8px;
  font-size: 1.1rem;
  cursor: pointer;
}

.studio__preflight-lead {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.45;
  color: color-mix(in srgb, var(--t, #07130f) 68%, white);
}

.studio__preflight-list {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin: 0.65rem 0 0.85rem;
}

.studio__preflight-item {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.35rem;
  padding: 0.65rem 0.75rem;
  border-radius: 12px;
  border: 1px solid color-mix(in srgb, var(--a, #163a5f) 14%, var(--b, #e2e8f0));
  background: color-mix(in srgb, var(--bg, #f6fafe) 88%, white);
  text-align: left;
  font: inherit;
  cursor: pointer;
}

.studio__preflight-item.is-ok {
  cursor: default;
  border-color: color-mix(in srgb, #16a34a 28%, var(--b, #e2e8f0));
  background: color-mix(in srgb, #16a34a 8%, var(--bg, #f6fafe));
}

.studio__preflight-item strong {
  font-size: 0.8rem;
}

.studio__preflight-item p {
  margin: 0;
  font-size: 0.76rem;
  line-height: 1.4;
  color: color-mix(in srgb, var(--t, #07130f) 72%, white);
}

.studio__preflight-hint {
  font-size: 0.72rem;
  color: color-mix(in srgb, var(--cta, #ff5a36) 88%, var(--t, #07130f));
}

.studio__preflight-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-content: flex-end;
}

.studio__preflight-actions .studio__data-text {
  min-height: 40px;
}