
:root { color-scheme: light; --bg:#f7f8fa; --card:#fff; --ink:#18202b; --muted:#5c6875; --line:#dce2e8; --accent:#145b45; --accent-ink:#fff; --warn:#9a3412; --free:#e8f5ee; --taken:#f0f2f4; --tag:#fff4e5; }
* { box-sizing:border-box; }
body { margin:0; background:var(--bg); color:var(--ink); font:16px/1.5 system-ui,-apple-system,"Segoe UI",sans-serif; }
header { background:var(--accent); color:var(--accent-ink); padding:1rem; }
header .inner { max-width:960px; margin:0 auto; display:flex; align-items:center; justify-content:space-between; gap:1rem; flex-wrap:wrap; }
header a { color:inherit; }
.brand { font-weight:700; font-size:1.1rem; text-decoration:none; }
nav { display:flex; gap:1rem; align-items:center; font-size:.9rem; }
main { max-width:960px; margin:0 auto; padding:1.25rem 1rem 3rem; }
h1 { font-size:1.5rem; margin:0 0 .75rem; }
h2 { font-size:1.15rem; margin:1.5rem 0 .5rem; }
.card { background:var(--card); border:1px solid var(--line); border-radius:12px; padding:1.25rem; margin-bottom:1rem; }
.banner { background:#fff8e1; border:1px solid #f0dca0; color:#6b4b00; border-radius:8px; padding:.75rem 1rem; margin:1rem auto 0; max-width:960px; }
.banner.overdue { background:#fdecea; border-color:#f3c2ba; color:var(--warn); }
label { display:block; font-weight:600; margin:.85rem 0 .3rem; }
input, textarea, select { width:100%; padding:.7rem; font:inherit; border:1px solid var(--line); border-radius:8px; background:#fff; }
small, .help { color:var(--muted); display:block; margin-top:.25rem; }
button, .button { display:inline-block; width:100%; padding:.8rem 1rem; font:inherit; font-weight:600; text-align:center; border:0; border-radius:8px; background:var(--accent); color:var(--accent-ink); cursor:pointer; text-decoration:none; margin-top:1.25rem; }
button.secondary, .button.secondary { background:#e9edf1; color:var(--ink); }
.notice { border-radius:8px; padding:.9rem 1rem; margin-bottom:1rem; }
.notice.error { background:#fdecea; color:var(--warn); border:1px solid #f3c2ba; }
.notice.success { background:var(--free); border:1px solid #b7dcc6; }
.privacy { font-size:.85rem; color:var(--muted); margin-top:1.25rem; }
.grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(4.5rem,1fr)); gap:.6rem; }
.spot { display:flex; align-items:center; justify-content:center; min-height:4rem; border-radius:10px; text-decoration:none; font-weight:700; border:1px solid var(--line); }
.spot.free { background:var(--free); color:#145b45; }
.spot.taken { background:var(--taken); color:#6b7280; }
.spot.tag { background:var(--tag); color:#8a5300; }
.legend { display:flex; gap:1rem; flex-wrap:wrap; margin-top:1.25rem; font-size:.9rem; color:var(--muted); }
.legend span::before { content:""; display:inline-block; width:.8rem; height:.8rem; border-radius:3px; margin-right:.35rem; vertical-align:-1px; }
.legend .free::before { background:var(--free); }
.legend .taken::before { background:var(--taken); }
.legend .tag::before { background:var(--tag); }
code { background:#eef1f4; padding:.1rem .3rem; border-radius:4px; overflow-wrap:anywhere; }
table { width:100%; border-collapse:collapse; font-size:.9rem; }
th, td { text-align:left; padding:.6rem .5rem; border-bottom:1px solid var(--line); }
.admin-nav { display:flex; flex-wrap:wrap; gap:.75rem 1rem; margin-top:.5rem; font-size:.9rem; }
.admin-nav a { color:var(--accent); }
table button, table .button { width:auto; margin:0; padding:.35rem .6rem; font-size:.8rem; }
.inline-form { display:inline; }
@media (max-width:600px) { h1 { font-size:1.3rem; } header { padding:.8rem; } .card { padding:1rem; } }
