:root {
  color: #1c2421;
  background: #f3f0e8;
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", sans-serif;
  line-height: 1.6;
}

* { box-sizing: border-box; }

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

.wrap {
  max-width: 32rem;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 3rem;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

header a, .back {
  color: #1f6b4a;
  text-decoration: none;
}

h1 {
  font-size: 1.55rem;
  font-weight: 650;
  letter-spacing: 0.01em;
  margin: 0 0 0.5rem;
}

p { margin: 0 0 1rem; }

.card {
  background: #fffdf8;
  border: 1px solid #ddd6c8;
  border-radius: 16px;
  padding: 1.1rem 1.1rem 1.2rem;
}

.switch {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  border: 0;
  background: #1f3a34;
  color: #f3f0e8;
  border-radius: 999px;
  padding: 0.85rem 1rem 0.85rem 1.15rem;
  font: inherit;
  cursor: pointer;
}

.switch[aria-pressed="true"] { background: #1f6b4a; }

.knob {
  width: 2.6rem;
  height: 1.5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.25);
  position: relative;
  flex: none;
}

.knob::after {
  content: "";
  position: absolute;
  top: 0.18rem;
  left: 0.18rem;
  width: 1.14rem;
  height: 1.14rem;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.15s ease;
}

.switch[aria-pressed="true"] .knob::after { transform: translateX(1.1rem); }

.status {
  min-height: 1.5rem;
  margin: 0.9rem 0 0;
  color: #3d4a45;
}

.steps {
  margin: 1.25rem 0 0;
  padding-left: 1.2rem;
}

label { display: block; margin-bottom: 0.35rem; }

input[type="text"], textarea, button.send {
  width: 100%;
  font: inherit;
}

input[type="text"] {
  border: 1px solid #ddd6c8;
  border-radius: 12px;
  padding: 0.75rem 0.9rem;
  background: #fff;
  margin-bottom: 0.9rem;
}

.destinations {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin: 0 0 1rem;
}

.destinations label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0;
  padding: 0.7rem 0.8rem;
  border: 1px solid #ddd6c8;
  border-radius: 12px;
  background: #fff;
}

.destinations input { margin: 0; }

textarea {
  min-height: 8rem;
  resize: vertical;
  border: 1px solid #ddd6c8;
  border-radius: 12px;
  padding: 0.8rem 0.9rem;
  background: #fff;
}

button.send {
  margin-top: 0.8rem;
  border: 0;
  border-radius: 999px;
  background: #1f3a34;
  color: #f3f0e8;
  padding: 0.85rem 1rem;
  cursor: pointer;
}

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