/* Phillies maroon, c. 1970–91 */
:root {
  --maroon: #6f263d;
  --maroon-dark: #4f1a2b;
  --maroon-tint: #f4e9ec;
  --bg: #fbf8f5;
  --surface: #ffffff;
  --text: #241a1d;
  --muted: #6b5d61;
  --line: #ddd2d5;
  color-scheme: light;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.wrap {
  max-width: 38rem;
  margin: 0 auto;
  padding: 0 16px;
}

/* Header band */
.band {
  background: var(--maroon);
  color: #fff;
  padding: 18px 0;
}
.band p { margin: 0; }
.band .name { font-weight: 700; font-size: 1.15rem; letter-spacing: .01em; }
.band .place { opacity: .85; font-size: .95rem; }

main { padding-top: 8px; }
section { padding: 24px 0; }
section + section { border-top: 1px solid var(--line); }

h2 { color: var(--maroon); font-size: 1.3rem; line-height: 1.2; margin: 0 0 12px; }

.lead { font-size: 1.15rem; font-weight: 600; color: var(--maroon); margin: 0 0 4px; }
.area { color: var(--muted); margin-top: 0; }
section strong { color: var(--maroon); }

ul { padding-left: 1.2em; }
li::marker { color: var(--maroon); }

/* Form */
label { display: block; margin-bottom: 14px; font-weight: 600; }
.opt { font-weight: 400; color: var(--muted); font-size: .9rem; }

input, select, textarea {
  display: block;
  width: 100%;
  margin-top: 4px;
  font: inherit;
  font-weight: 400;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px 12px;
}
input:focus, select:focus, textarea:focus {
  outline: 2px solid var(--maroon);
  outline-offset: -1px;
  border-color: var(--maroon);
}
[aria-invalid=true] { border-color: #b3261e; }

.send {
  font: inherit;
  font-weight: 700;
  color: #fff;
  background: var(--maroon);
  border: 0;
  border-radius: 8px;
  padding: 12px 28px;
  cursor: pointer;
}
.send:hover, .send:focus-visible { background: var(--maroon-dark); }
.send:disabled { opacity: .6; cursor: wait; }

.error { color: #b3261e; font-weight: 600; }

.ack {
  font-size: 1.1rem;
  background: var(--maroon-tint);
  border-left: 4px solid var(--maroon);
  padding: 14px 16px;
  white-space: pre-line;
  outline: none;
}

.dry-run summary { color: var(--muted); cursor: pointer; }
.dry-run pre {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 12px;
  font-size: .8rem;
  white-space: pre-wrap;
  word-break: break-word;
}

footer {
  border-top: 1px solid var(--line);
  margin-top: 24px;
  padding-top: 16px;
  padding-bottom: 32px;
  color: var(--muted);
  font-size: .9rem;
}

.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
