* {
  box-sizing: border-box;
}

body {
  font-family: Arial, "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  margin: 0;
  background: #f6f8fb;
  color: #222;
}

.header {
  background: #1f4b99;
  color: #fff;
  padding: 16px 24px;
}

.container {
  max-width: 1100px;
  margin: 24px auto;
  padding: 0 16px;
}

.card {
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  margin-bottom: 20px;
}

h1, h2, h3 {
  margin-top: 0;
}

input, select, textarea, button {
  font: inherit;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #cfd6e4;
  width: 100%;
  margin-top: 6px;
  margin-bottom: 14px;
}

button {
  background: #1f4b99;
  color: #fff;
  border: none;
  cursor: pointer;
}

button:hover {
  background: #173a77;
}

.btn-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-row button {
  width: auto;
  min-width: 140px;
}

.nav {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.nav a {
  color: #fff;
  text-decoration: none;
  background: rgba(255,255,255,0.14);
  padding: 8px 12px;
  border-radius: 6px;
}

.nav a:hover {
  background: rgba(255,255,255,0.24);
}

table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

th, td {
  border: 1px solid #d7dfea;
  padding: 10px;
  text-align: left;
  vertical-align: top;
}

th {
  background: #eef3fb;
}

.notice {
  padding: 12px 14px;
  background: #eef8ee;
  border: 1px solid #cde8cd;
  border-radius: 8px;
  margin-bottom: 16px;
}

.error {
  padding: 12px 14px;
  background: #fdecec;
  border: 1px solid #f2c2c2;
  border-radius: 8px;
  margin-bottom: 16px;
}

tr.my-row td {
  background: #f7fbff;
  font-weight: bold;
}

tr.my-row + tr td {
  border-top: 10px solid transparent;
}