:root {
  color-scheme: light;
  --ink: #12202b;
  --muted: #5b6b76;
  --line: #d7e0e6;
  --bg: #f4f7f8;
  --card: #fff;
  --accent: #0f6f63;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.45 system-ui, sans-serif; }
.wrap { max-width: 420px; margin: 12vh auto; }
.card, article, header { background: var(--card); border: 1px solid var(--line); border-radius: 12px; }
.card { padding: 28px; }
.kicker { letter-spacing: 0.08em; text-transform: uppercase; font-size: 12px; color: var(--muted); margin: 0 0 8px; }
h1 { margin: 0 0 8px; font-size: 28px; }
h2 { margin: 0 0 12px; font-size: 16px; }
.lede, .notice, .hint { color: var(--muted); }
input { width: 100%; margin: 8px 0; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; font: inherit; }
.btn, header button { border: 0; border-radius: 8px; padding: 10px 14px; font: inherit; background: #e7eef0; color: var(--ink); cursor: pointer; }
.btn.primary, #avail { background: var(--accent); color: #fff; }
.hidden { display: none !important; }
header { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 16px 20px; margin: 16px; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; }
#status { margin: 0 20px 8px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; padding: 0 16px 32px; }
article { padding: 16px; }
.wide { grid-column: 1 / -1; }
ul { list-style: none; padding: 0; margin: 0; }
li { padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.reply { white-space: pre-wrap; }
@media (max-width: 720px) {
  header { flex-direction: column; align-items: stretch; }
}
