* { box-sizing: border-box; }
body {
  font-family: -apple-system, "Malgun Gothic", "Apple SD Gothic Neo", sans-serif;
  background: #f5f6f8;
  color: #222;
  margin: 0;
}
.nav {
  background: #222;
  color: #fff;
  padding: 14px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav a { color: #fff; text-decoration: none; margin-right: 16px; font-size: 14px; }
.nav .brand { font-weight: bold; font-size: 16px; }
.container {
  max-width: 860px;
  margin: 24px auto;
  background: #fff;
  padding: 24px 32px;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}
h1 { font-size: 20px; margin-top: 0; }
table { width: 100%; border-collapse: collapse; margin-top: 12px; }
th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid #eee; font-size: 14px; }
th { color: #888; font-weight: 600; font-size: 13px; }
.btn {
  display: inline-block;
  background: #2f6feb;
  color: #fff;
  padding: 8px 16px;
  border-radius: 6px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-size: 14px;
}
.btn.secondary { background: #888; }
.btn.danger { background: #d64545; }
.btn.small { padding: 4px 10px; font-size: 12px; }
form.inline { display: inline; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; color: #555; margin-bottom: 6px; font-weight: 600; }
.field input, .field textarea, .field select {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
  font-family: inherit;
}
.field textarea { min-height: 90px; resize: vertical; }
.hint { color: #888; font-size: 12px; margin-top: 4px; }
.error { background: #fdecea; color: #b3261e; padding: 10px 14px; border-radius: 6px; margin-bottom: 16px; font-size: 14px; }
.badge { display: inline-block; padding: 2px 8px; border-radius: 10px; font-size: 12px; }
.badge.pending { background: #fff3cd; color: #8a6d00; }
.badge.approved { background: #d4edda; color: #1e6b2e; }
.badge.rejected { background: #f8d7da; color: #842029; }
.limit-bar { height: 6px; background: #eee; border-radius: 4px; overflow: hidden; margin-top: 6px; }
.limit-bar > div { height: 100%; background: #2f6feb; }
.limit-override { width: 70px; }
.row-actions { display: flex; gap: 6px; align-items: center; }
.center { text-align: center; }
.muted { color: #999; }
