@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Manrope:wght@400;500;600;700&display=swap');

:root {
  --brand: #006a35;
  --brand-dark: #004a24;
  --brand-light: #51fa91;
  --brand-tint: #e6f5ec;
  --bg: #f5f6f7;
  --surface: #e6e8ea;
  --outline: #abadae;
  --text: #2c2f30;
  --muted: #5a6065;
  --border: #e6e8ea;
  --white: #ffffff;
  --shadow-sm: 0 2px 8px rgba(0, 70, 33, 0.05);
  --shadow-md: 0 12px 36px -8px rgba(0, 70, 33, 0.08);
  --shadow-lg: 0 24px 48px -12px rgba(0, 70, 33, 0.06);
  --radius-sm: 0.75rem;
  --radius-md: 1.25rem;
  --radius-lg: 2rem;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Manrope', -apple-system, Segoe UI, Roboto, sans-serif;
  margin: 0; color: var(--text); background: var(--bg); line-height: 1.6;
  font-size: 15px; -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, .brand, .wordmark { font-family: 'Space Grotesk', sans-serif; letter-spacing: -0.02em; font-weight: 700; }
h1 { font-size: 32px; margin: 0 0 6px; line-height: 1.1; color: var(--text); }
h2 { font-size: 22px; margin: 0 0 8px; }
h3 { font-size: 17px; margin: 0 0 6px; }

a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }

/* ── NAV / HEADER ─────────────────────────────────── */
header {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(171, 173, 174, 0.2);
  padding: 18px 32px; display: flex; align-items: center; gap: 28px;
  position: sticky; top: 0; z-index: 50;
}
header .brand { font-size: 19px; color: var(--text); }
header .brand span { color: var(--brand); }
header .logo { max-height: 36px; margin-right: 12px; }
header nav { display: flex; gap: 22px; }
header nav a {
  color: var(--text); text-decoration: none; font-size: 14px; font-weight: 500;
  font-family: 'Manrope', sans-serif; transition: color 0.15s;
}
header nav a.active, header nav a:hover { color: var(--brand); }
header .spacer { flex: 1; }
header button {
  background: var(--white); border: 1px solid var(--outline); padding: 8px 16px;
  border-radius: 100px; font-size: 13px; font-weight: 500; cursor: pointer;
  font-family: 'Manrope', sans-serif; color: var(--text); transition: background 0.15s;
}
header button:hover { background: var(--surface); }

/* ── CONTAINER ────────────────────────────────────── */
.container { max-width: 1080px; margin: 0 auto; padding: 40px 32px; }
.sub { color: var(--muted); margin: 0 0 32px; font-size: 15px; }

/* ── PANELS & CARDS ──────────────────────────────── */
.panel {
  background: var(--white); border: 1px solid var(--surface); border-radius: var(--radius-md);
  padding: 28px 32px; margin-bottom: 20px; box-shadow: var(--shadow-sm);
}
.panel h2 {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--muted); margin: 0 0 16px; font-family: 'Manrope', sans-serif; font-weight: 600;
}
.panel.elevated { box-shadow: var(--shadow-lg); }
.card {
  background: var(--white); border: 1px solid var(--surface); border-radius: var(--radius-sm);
  padding: 20px 24px; margin-bottom: 12px; box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover { box-shadow: var(--shadow-md); }
.card.locked { opacity: 0.6; background: var(--surface); box-shadow: none; }

/* ── BUTTONS ──────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; background: var(--brand); color: var(--white);
  text-decoration: none; border-radius: var(--radius-sm); font-size: 14px; font-weight: 600;
  font-family: 'Manrope', sans-serif; border: none; cursor: pointer;
  transition: background 0.15s, transform 0.15s, box-shadow 0.15s;
}
.btn:hover { background: var(--brand-dark); transform: translateY(-1px); box-shadow: 0 8px 20px -6px rgba(0, 70, 33, 0.25); color: var(--white); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.btn-outline { background: transparent; color: var(--brand); border: 1px solid var(--brand); }
.btn-outline:hover { background: var(--brand); color: var(--white); }
.btn-ghost { background: var(--white); color: var(--text); border: 1px solid var(--outline); }
.btn-ghost:hover { background: var(--surface); color: var(--text); box-shadow: none; transform: none; }
.btn-sm { padding: 9px 16px; font-size: 13px; }
.btn-lg { padding: 16px 32px; font-size: 15px; }
.btn-block { display: flex; width: 100%; }

/* ── FORMS ────────────────────────────────────────── */
label {
  display: block; font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em;
  font-weight: 600; color: var(--muted); margin-bottom: 8px;
}
input[type="text"], input[type="email"], input[type="password"], input[type="tel"],
input[type="number"], input[type="url"], select, textarea {
  width: 100%; padding: 13px 16px; background: var(--white); color: var(--text);
  border: 1px solid var(--surface); border-radius: var(--radius-sm);
  font-family: 'Manrope', sans-serif; font-size: 15px; outline: none;
  transition: border-color 0.15s, box-shadow 0.15s; -webkit-appearance: none; appearance: none;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--brand); box-shadow: 0 0 0 3px rgba(0, 106, 53, 0.08);
}
textarea { resize: vertical; min-height: 96px; font-family: inherit; line-height: 1.6; }

/* ── GRIDS ────────────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 760px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
}

/* ── BADGES / PILLS ──────────────────────────────── */
.badge {
  display: inline-block; padding: 5px 12px; background: var(--brand-tint);
  color: var(--brand); border-radius: 100px; font-size: 11px; font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase;
}
.badge-muted { background: var(--surface); color: var(--muted); }
.badge-danger { background: #fde7e7; color: #c0392b; }

/* ── TABLES ───────────────────────────────────────── */
table {
  width: 100%; border-collapse: separate; border-spacing: 0;
  background: var(--white); border-radius: var(--radius-sm); overflow: hidden;
  box-shadow: var(--shadow-sm);
}
th, td { padding: 14px 18px; text-align: left; font-size: 14px; border-bottom: 1px solid var(--surface); }
th {
  background: var(--bg); font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--muted); font-weight: 600; font-family: 'Manrope', sans-serif;
}
tr:last-child td { border-bottom: none; }

/* ── LIST ITEMS ───────────────────────────────────── */
.list-item {
  padding: 16px 0; border-bottom: 1px solid var(--surface); font-size: 14px;
}
.list-item:last-child { border-bottom: none; }
.list-item .meta { color: var(--muted); font-size: 12px; margin-top: 2px; }

/* ── MOBILE NAV FALLBACK ─────────────────────────── */
@media (max-width: 640px) {
  header { padding: 14px 20px; gap: 16px; flex-wrap: wrap; }
  header nav { gap: 14px; }
  header nav a { font-size: 13px; }
  .container { padding: 28px 20px; }
  .panel { padding: 22px 24px; }
  h1 { font-size: 26px; }
}
