:root {
  color-scheme: light dark;
  --bg: #0b0f14;
  --panel: #f7f8f9;
  --text: #101418;
  --muted: #626b75;
  --line: #d7dde3;
  --accent: #00a8d8;
  --accent-dark: #007fa5;
  --danger: #9b1c1c;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: linear-gradient(180deg, #0b0f14 0%, #16222b 100%);
  color: var(--text);
}

.shell {
  width: min(100%, 560px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 18px;
  display: flex;
  align-items: center;
}

.panel {
  width: 100%;
  background: var(--panel);
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.32);
}

.eyebrow {
  margin: 0 0 4px;
  color: var(--accent-dark);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 24px;
  font-size: 2rem;
  line-height: 1.1;
}

form {
  display: grid;
  gap: 16px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-weight: 650;
}

input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 13px;
  background: #fff;
  color: var(--text);
  font: inherit;
}

.picker {
  border: 1px dashed #9aa7b2;
  border-radius: 8px;
  padding: 18px;
  background: #fff;
}

.picker-group {
  display: grid;
  gap: 12px;
}

.picker input {
  padding: 0;
  border: 0;
}

.check {
  grid-template-columns: 22px 1fr;
  align-items: start;
  color: var(--text);
  font-weight: 500;
}

.check input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
}

button {
  min-height: 54px;
  border: 0;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font: inherit;
  font-weight: 800;
}

button:disabled {
  opacity: 0.65;
}

.preview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 18px;
}

.preview img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
}

.status {
  min-height: 24px;
  margin: 18px 0 0;
  color: var(--muted);
  font-weight: 650;
}

.status.error {
  color: var(--danger);
}

@media (max-width: 420px) {
  .shell {
    padding: 10px;
    align-items: stretch;
  }

  .panel {
    padding: 20px;
  }

  h1 {
    font-size: 1.65rem;
  }
}
