:root {
  color-scheme: light;
  --brand: #0b5d55;
  --brand-dark: #06403a;
  --bg: #f7f8f7;
  --card: #ffffff;
  --border: #dde3e1;
  --text: #1f2a28;
  --muted: #5b6763;
  --danger: #b3261e;
  --danger-bg: #fdecea;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}

.container {
  max-width: 760px;
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
}

h1 { font-size: 1.6rem; margin-bottom: 0.25rem; }
h2 { font-size: 1.15rem; margin-top: 2rem; }
p.lead { color: var(--muted); margin-top: 0; }

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

fieldset {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1rem;
  margin: 0 0 1.25rem;
}

legend { font-weight: 600; padding: 0 0.4rem; }

label { display: block; margin: 0.5rem 0 0.25rem; font-weight: 500; }

input[type="text"], input[type="email"], select, textarea {
  width: 100%;
  padding: 0.55rem 0.6rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
}

textarea { min-height: 5rem; resize: vertical; }

.slot-table { width: 100%; border-collapse: collapse; }
.slot-table th, .slot-table td { padding: 0.5rem; text-align: left; border-bottom: 1px solid var(--border); }
.slot-table td.full { color: var(--muted); }
.tag-full {
  display: inline-block;
  background: var(--danger-bg);
  color: var(--danger);
  font-size: 0.8rem;
  padding: 0.1rem 0.5rem;
  border-radius: 999px;
  margin-left: 0.5rem;
}

.radio-row { display: flex; align-items: center; gap: 0.5rem; margin: 0.35rem 0; font-weight: normal; }
.radio-row input { width: auto; }

button, .button {
  background: var(--brand);
  color: #fff;
  border: none;
  padding: 0.7rem 1.4rem;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}
button:hover, .button:hover { background: var(--brand-dark); }

.error-box {
  background: var(--danger-bg);
  color: var(--danger);
  border: 1px solid #f3c3bf;
  border-radius: 8px;
  padding: 0.9rem 1rem;
  margin-bottom: 1.25rem;
}

.notice-box {
  background: #eef6f4;
  border: 1px solid #cfe4df;
  border-radius: 8px;
  padding: 0.9rem 1rem;
  margin-bottom: 1.25rem;
  color: var(--brand-dark);
}

table.data-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
table.data-table th, table.data-table td { border: 1px solid var(--border); padding: 0.4rem 0.5rem; text-align: left; }
table.data-table th { background: #f0f2f1; }

.hidden { display: none; }
.muted { color: var(--muted); }
