:root { --blue: #1f5fa8; --ink: #1d232a; --muted: #5b6670; --bg: #f6f8fb; }
[hidden] { display: none !important; } /* hidden elements stay hidden even when styled (e.g. the e-mail form) */
* { box-sizing: border-box; }
body { margin: 0; font: 16px/1.5 system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--ink); background: var(--bg); }
header { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 1.25rem;
         background: var(--blue); color: #fff; }
header h1 { margin: 0; font-size: 1.25rem; }
header a { color: #fff; }
main { max-width: 760px; margin: 0 auto; padding: 1rem 1.25rem 3rem; }
h2 { margin-top: 2rem; }
form { display: grid; gap: .75rem; background: #fff; padding: 1rem; border-radius: 8px; border: 1px solid #dde3ea; }
label { display: grid; gap: .25rem; font-weight: 600; }
label.inline { display: inline-flex; align-items: center; gap: .35rem; font-weight: 400; margin-right: .75rem; }
input, select { font: inherit; padding: .5rem; border: 1px solid #c9d1da; border-radius: 6px; }
fieldset { border: 1px solid #dde3ea; border-radius: 6px; }
button { font: inherit; padding: .6rem 1rem; border: 0; border-radius: 6px; background: var(--blue); color: #fff; cursor: pointer; }
button.small { padding: .2rem .6rem; font-size: .85rem; }
ul { background: #fff; border: 1px solid #dde3ea; border-radius: 8px; padding: .5rem 1rem .5rem 2rem; }
li { margin: .35rem 0; }
.empty, .hint, #message { color: var(--muted); }
.times { display: flex; gap: 1rem; }

.row { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
table.week { width: 100%; border-collapse: collapse; }
table.week th { text-align: left; font-size: .85rem; color: var(--muted); padding: .25rem; }
table.week td { padding: .25rem; }
table.week input, table.week select { width: 100%; }
table.week input:disabled { background: #eef1f5; }
#who a { color: #fff; margin-right: .5rem; }
@media (max-width: 560px) { .row { grid-template-columns: 1fr; } table.week th:nth-child(n+5), table.week td:nth-child(n+5) { display: none; } }
button.secondary { background: #e3e8ee; color: var(--ink); }
table.people { width: 100%; border-collapse: collapse; background: #fff; }
table.people th, table.people td { padding: .35rem; border-bottom: 1px solid #e3e8ee; text-align: left; font-size: .9rem; }
table.people input.name { width: 100%; }
.callout { background: #fff; border: 1px solid #dde3ea; border-left: 5px solid var(--blue); border-radius: 8px; padding: 1rem 1.25rem; margin-top: 1.5rem; }
.callout h2 { margin-top: 0; }
a.button { display: inline-block; padding: .7rem 1.2rem; border-radius: 6px; background: var(--blue); color: #fff; text-decoration: none; font-weight: 600; }
