:root {
  color-scheme: light;
  --bg: #f5f4f1;
  --text: #171717;
  --muted: #5d5b56;
  --line: #d9d5cc;
  --accent: #245c46;
  --accent-strong: #163d2e;
  --surface: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.app {
  width: min(960px, calc(100% - 32px));
  min-height: 100vh;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 24px;
  align-items: center;
  padding: 48px 0;
}

.panel,
.details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.panel {
  padding: 32px;
}

.details {
  padding: 24px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 10px;
  font-size: clamp(2.2rem, 6vw, 4.2rem);
  line-height: 1;
}

h2 {
  margin-bottom: 14px;
  font-size: 1rem;
}

.summary {
  max-width: 620px;
  margin-bottom: 28px;
  color: var(--muted);
  line-height: 1.55;
}

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

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

select,
button {
  min-height: 46px;
  border-radius: 8px;
  font: inherit;
}

select {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  padding: 0 12px;
}

button {
  border: 0;
  background: var(--accent);
  color: white;
  font-weight: 800;
  cursor: pointer;
}

button:hover {
  background: var(--accent-strong);
}

button:disabled {
  cursor: wait;
  opacity: 0.7;
}

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

ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.9;
}

@media (max-width: 760px) {
  .app {
    grid-template-columns: 1fr;
    align-items: start;
    padding: 24px 0;
  }

  .panel {
    padding: 24px;
  }
}
