:root {
  --bg: #f7f8fa;
  --card: #ffffff;
  --text: #1f2933;
  --muted: #6b7280;
  --line: #e5e7eb;
  --accent: #2563eb;
  --radius: 10px;
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  padding: 24px;
}

.page { max-width: 920px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

h1 { margin: 4px 0 0; font-size: 28px; }
h2 { margin: 0 0 6px; font-size: 20px; }

.eyebrow { margin: 0; font-size: 13px; color: var(--accent); font-weight: 600; letter-spacing: 0.02em; }
.hint, .muted { margin: 4px 0 0; color: var(--muted); font-size: 14px; }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form { display: flex; flex-direction: column; gap: 12px; }

.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--text); }
.field.inline { flex-direction: column; }

input, select {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 14px;
  background: #fff;
}

.actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.status { color: var(--muted); font-size: 14px; }

.btn {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 14px;
  font-weight: 600;
  cursor: pointer;
  background: #fff;
  color: var(--text);
}

.btn.primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn.ghost { background: #fff; }

.btn:hover { filter: brightness(0.98); }

.list-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

.table { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }

.table table { width: 100%; border-collapse: collapse; }
.table th, .table td { padding: 10px 12px; border-bottom: 1px solid var(--line); font-size: 14px; text-align: left; }
.table th { background: #f3f4f6; color: #374151; }
.table tbody tr:last-child td { border-bottom: none; }
.table a { color: var(--accent); text-decoration: none; }

@media (max-width: 720px) {
  body { padding: 16px; }
  .table th:nth-child(3), .table td:nth-child(3) { display: none; }
}
