body{font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;margin:0;background:#f6f7f9;color:#172033}header{background:#172033;color:white;padding:18px 28px}header a{color:white;text-decoration:none;margin-right:18px}main{padding:28px;max-width:1200px;margin:auto}.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:16px}.card{display:block;background:white;border-radius:16px;padding:20px;color:#172033;text-decoration:none;box-shadow:0 8px 24px #0001}.button,button{background:#172033;color:white;padding:10px 14px;border-radius:10px;border:0;text-decoration:none;display:inline-block}table{width:100%;border-collapse:collapse;background:white;border-radius:12px;overflow:hidden}th,td{padding:9px 10px;border-bottom:1px solid #e5e7eb;text-align:left;font-size:14px}th{background:#eef0f4}.search{margin:12px 0;display:flex;gap:8px}.search input{padding:10px;min-width:320px}.notice{background:#e7f6e7;padding:12px;border-radius:10px}.warn{background:#fff4df}

.grid2{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.muted{color:#777}
.alert{background:#fff3cd;border:1px solid #ffe08a;padding:12px;border-radius:8px;margin:12px 0;color:#5c4300}
.success{background:#e9f8ee;border:1px solid #a6dfb8;padding:12px;border-radius:8px;margin:12px 0;color:#135b2c}
.inline-form{display:flex;gap:8px;align-items:center;margin:0}
.card-form{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px;background:#f8f8f8;padding:12px;border-radius:8px;margin:12px 0}
input,select,textarea{max-width:100%;padding:6px;border:1px solid #ccc;border-radius:4px}
textarea{min-width:220px}
.button, button.secondary {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 6px;
  border: 1px solid #9aa03a;
  background: #f6f7e8;
  color: #222;
  text-decoration: none;
  cursor: pointer;
}
button.secondary:hover, .button:hover { background: #eef0cf; }

.nav-logout-form {
  display: inline;
  margin: 0;
  padding: 0;
}

.nav-link-button {
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  padding: 0;
  text-decoration: underline;
}
