:root {
  color-scheme: light;
  font-family: Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }

body {
  min-height: 100vh;
  margin: 0;
  padding: 28px;
  color: #1d2929;
  background: radial-gradient(circle at 10% 0%, #e9e3d4, transparent 38%), #f6f1e9;
}

.panel {
  width: min(100%, 680px);
  margin: 5vh auto;
  padding: clamp(28px, 6vw, 54px);
  border: 1px solid #d5c9b7;
  border-radius: 28px;
  background: rgba(255, 253, 250, 0.96);
  box-shadow: 0 24px 70px rgba(37, 44, 37, 0.13);
}

.eyebrow {
  margin: 0 0 12px;
  color: #a14932;
  font: 700 0.76rem/1.2 system-ui, sans-serif;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(2rem, 6vw, 3.4rem);
  letter-spacing: -0.045em;
}

.intro {
  margin: 16px 0 34px;
  color: #53605d;
  font: 1.06rem/1.55 system-ui, sans-serif;
}

.notice {
  margin: 0 0 28px;
  padding: 14px 16px;
  border-left: 4px solid #c98926;
  background: #fff4d9;
  color: #5b471d;
  font: 0.92rem/1.45 system-ui, sans-serif;
}

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

label {
  display: grid;
  gap: 7px;
  color: #394744;
  font: 700 0.9rem/1.25 system-ui, sans-serif;
}

input,
select {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid #bdb5a9;
  border-radius: 12px;
  background: #fffdfa;
  color: #1d2929;
  font: 1rem/1.3 system-ui, sans-serif;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

button {
  min-height: 54px;
  margin-top: 8px;
  border: 0;
  border-radius: 13px;
  background: #1e6341;
  color: #fff;
  font: 700 1rem/1 system-ui, sans-serif;
  cursor: pointer;
}

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

#message {
  min-height: 1.4em;
  margin: 2px 0 0;
  color: #9a3024;
  font: 0.93rem/1.45 system-ui, sans-serif;
}

footer {
  margin-top: 27px;
  color: #6b7773;
  font: 0.8rem/1.45 system-ui, sans-serif;
}

.return-page { display: grid; place-items: center; }

.return-panel { margin: 0; max-width: 620px; }

.mark {
  display: inline-grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 50%;
  background: #dcecdf;
  color: #1d663b;
  font: 700 28px/1 Arial, sans-serif;
}

.mark.cancelled { background: #f4e4da; color: #9d3e24; }

@media (max-width: 520px) {
  body { padding: 14px; }
  .panel { margin: 1vh auto; }
  .form-grid { grid-template-columns: 1fr; }
}
