* { box-sizing: border-box; }
body {
  font-family: -apple-system, "Hiragino Sans", "Noto Sans JP", sans-serif;
  margin: 0;
  background: #f5f6f8;
  color: #1a1a1a;
}
.login-wrap {
  max-width: 400px;
  margin: 90px auto;
  padding: 32px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}
.login-wrap h1 { font-size: 19px; margin-bottom: 20px; }
input, select, textarea {
  width: 100%;
  padding: 9px 10px;
  margin: 6px 0 14px;
  border: 1px solid #d0d4da;
  border-radius: 6px;
  font-size: 14px;
}
button {
  padding: 9px 18px;
  border: none;
  border-radius: 6px;
  background: #2563eb;
  color: #fff;
  font-size: 14px;
  cursor: pointer;
}
button.secondary { background: #e5e7eb; color: #333; }
button:hover { opacity: 0.9; }
.error { color: #c0392b; font-size: 13px; margin-top: 8px; }

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  padding: 12px 20px;
  border-bottom: 1px solid #e3e5e8;
}
.topbar .brand { font-weight: 700; font-size: 16px; }
.topbar .who { font-size: 13px; color: #555; display: flex; align-items: center; gap: 12px; }
.layout { display: flex; min-height: calc(100vh - 53px); }
.sidenav {
  width: 190px;
  background: #fff;
  border-right: 1px solid #e3e5e8;
  padding: 14px 0;
}
.sidenav a {
  display: block;
  padding: 10px 20px;
  color: #333;
  text-decoration: none;
  font-size: 14px;
}
.sidenav a.active, .sidenav a:hover { background: #eef2ff; color: #2563eb; }
.main { flex: 1; padding: 24px; }

table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 8px; overflow: hidden; }
th, td { text-align: left; padding: 10px 12px; font-size: 13px; border-bottom: 1px solid #eee; }
th { background: #fafafa; color: #555; font-weight: 600; }
tr:hover td { background: #f9fbff; cursor: pointer; }

.badge { display: inline-block; padding: 2px 8px; border-radius: 10px; font-size: 12px; }
.badge.受付 { background: #e0f2fe; color: #0369a1; }
.badge.進行中 { background: #dcfce7; color: #15803d; }
.badge.保留 { background: #fef9c3; color: #854d0e; }
.badge.完了 { background: #e5e7eb; color: #374151; }
.badge.中止 { background: #fee2e2; color: #b91c1c; }

.panel { background: #fff; border-radius: 8px; padding: 20px; margin-bottom: 16px; }
.row { display: flex; gap: 24px; flex-wrap: wrap; }
.field { margin-bottom: 10px; }
.field label { display: block; font-size: 12px; color: #666; margin-bottom: 2px; }
.muted { color: #888; font-size: 13px; }
.toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
