:root {
  color-scheme: light;
  font-family: Arial, Helvetica, sans-serif;
  background: #f4f7f9;
  color: #1b2733;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px;
}

.shell {
  width: min(720px, 100%);
}

.panel {
  background: #ffffff;
  border: 1px solid #d9e2ea;
  border-radius: 8px;
  box-shadow: 0 16px 40px rgba(27, 39, 51, 0.08);
}

.panel {
  padding: 32px;
}

h1,
h2 {
  margin: 0;
  line-height: 1.15;
}

h1 {
  font-size: clamp(2rem, 4vw, 3.5rem);
}

h2 {
  font-size: 1.25rem;
}

.heading {
  margin-bottom: 28px;
}

.alert {
  margin-bottom: 20px;
  padding: 12px 14px;
  border: 1px solid #e2a27e;
  background: #fff4ed;
  color: #8a3c14;
  border-radius: 6px;
}

.form {
  display: grid;
  gap: 22px;
}

.mode {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 0;
  padding: 0;
  border: 0;
}

.mode legend {
  grid-column: 1 / -1;
  margin-bottom: 2px;
  font-weight: 700;
}

.mode label {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px;
  border: 1px solid #c8d4df;
  border-radius: 6px;
  cursor: pointer;
}

.mode input {
  width: 18px;
  height: 18px;
  accent-color: #28715f;
}

.upload {
  display: grid;
  gap: 10px;
  font-weight: 700;
}

.upload input {
  width: 100%;
  padding: 12px;
  border: 1px dashed #9fb1bf;
  border-radius: 6px;
  background: #fbfcfd;
}

button {
  min-height: 48px;
  border: 0;
  border-radius: 6px;
  background: #28715f;
  color: white;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
}

button:hover {
  background: #205d4f;
}

.note {
  margin: 22px 0 0;
  color: #5d6d7a;
  line-height: 1.5;
}

@media (max-width: 760px) {
  body {
    padding: 18px;
    place-items: start center;
  }

  .panel {
    padding: 22px;
  }

  .mode {
    grid-template-columns: 1fr;
  }
}
