:root {
  color-scheme: light;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #f7f3ed, #efe7dc 45%, #e6dccc 100%);
  color: #241f1a;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
}

.shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 24px 64px;
  display: grid;
  gap: 32px;
}

.header {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.eyebrow {
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #9b6b3f;
  margin: 0;
}

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

.subtitle {
  margin: 0;
  font-size: 1rem;
  color: #4a3b2b;
}

.panel {
  background: #fdfaf6;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 14px 30px rgba(68, 55, 40, 0.12);
  border: 1px solid rgba(128, 94, 57, 0.2);
}

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.panel-header h2 {
  margin: 0;
  font-size: 1.1rem;
}

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

.fieldset {
  border: 1px solid rgba(90, 70, 45, 0.25);
  border-radius: 12px;
  padding: 16px;
  margin: 0;
  display: grid;
  gap: 12px;
}

.fieldset legend {
  font-weight: 700;
  font-size: 0.9rem;
  color: #9b6b3f;
  padding: 0 8px;
}

.field {
  display: grid;
  gap: 8px;
  font-weight: 600;
}

.field--checkbox {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}

.field--checkbox input {
  width: auto;
  padding: 0;
  margin: 0;
}

input {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(90, 70, 45, 0.3);
  background: #fff;
  font-size: 1rem;
}

input:focus {
  outline: 2px solid #c07a39;
  outline-offset: 2px;
}

.primary {
  border: none;
  padding: 12px 16px;
  border-radius: 12px;
  background: #c07a39;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 16px rgba(192, 122, 57, 0.25);
}

.primary:active {
  transform: translateY(1px);
}

.secondary {
  border: 1px solid #c07a39;
  padding: 8px 12px;
  border-radius: 8px;
  background: transparent;
  color: #c07a39;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.15s ease;
}

.secondary:hover {
  background: rgba(192, 122, 57, 0.1);
}

.secondary:active {
  background: rgba(192, 122, 57, 0.2);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

textarea {
  width: 100%;
  min-height: 280px;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(90, 70, 45, 0.3);
  background: #f6efe6;
  font-family: "Courier New", monospace;
  font-size: 0.85rem;
  color: #2a231d;
  resize: vertical;
}

.footer {
  background: #c07a39;
  color: white;
  padding: 16px 24px;
  text-align: center;
  position: sticky;
  bottom: 0;
  box-shadow: 0 -4px 12px rgba(68, 55, 40, 0.15);
}

.footer p {
  margin: 0;
  font-weight: 600;
}

@media (max-width: 720px) {
  .shell {
    padding: 32px 16px 48px;
  }
}
