:root {
  color-scheme: light;
  --primary: #1d4ed8;
  --bg: #f8fafc;
  --card: #ffffff;
  --text: #0f172a;
  --muted: #475569;
  --border: #e2e8f0;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  background: var(--card);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
}
.navbar__brand { display: flex; align-items: center; gap: 8px; font-weight: 800; }
.navbar__brand .logo { background: var(--primary); color: #fff; padding: 6px 8px; border-radius: 8px; }
.navbar__links a { margin-left: 16px; text-decoration: none; color: var(--text); font-weight: 600; }

.container { max-width: 1100px; margin: 24px auto; padding: 0 16px; }
.landing-hero {
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  align-items: center;
  background: var(--card);
  padding: 40px;
  border: 1px solid var(--border);
  border-radius: 16px;
}
.hero-left h1 { font-size: 44px; margin: 12px 0; line-height: 1.1; }
.hero-left .accent { color: #1d4ed8; }
.lead { font-size: 16px; color: var(--muted); max-width: 540px; }
.hero-actions { display: flex; gap: 12px; margin: 16px 0; flex-wrap: wrap; }
.badge { display: inline-flex; align-items: center; gap: 8px; background: #eef2ff; color: #1d4ed8; padding: 6px 12px; border-radius: 999px; font-weight: 700; font-size: 12px; text-transform: uppercase; }
.hero-right { display: flex; justify-content: center; }
.hero-card { width: 100%; max-width: 460px; aspect-ratio: 4/3; border-radius: 16px; background: radial-gradient(circle at 30% 30%, #c7d8d1, #94a3b8 70%); box-shadow: 0 20px 60px rgba(0,0,0,0.1); }
.note { color: var(--muted); font-size: 12px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 16px; border-radius: 10px; border: 1px solid var(--border); font-weight: 700; color: var(--text); text-decoration: none; background: #fff; cursor: pointer; }
.btn--primary { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn--ghost { background: transparent; }
.btn.lg { padding: 12px 18px; }

.card { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 16px; margin-bottom: 16px; }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid--stats { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }

.page-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); font-size: 12px; margin: 0; }
.muted { color: var(--muted); font-size: 14px; }

.input { width: 100%; padding: 10px; border: 1px solid var(--border); border-radius: 8px; margin-top: 4px; }
.checkbox { display: flex; align-items: center; gap: 8px; }
.form-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.list { list-style: none; padding: 0; margin: 0; }
.list li { display: flex; align-items: center; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--border); }

.upload { margin-top: 12px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }

.table { width: 100%; border-collapse: collapse; }
.table th, .table td { text-align: left; padding: 10px; border-bottom: 1px solid var(--border); }

.flash { display: grid; gap: 6px; margin-bottom: 12px; }
.flash__item { padding: 10px 12px; border-radius: 10px; font-weight: 600; }
.flash__item--success { background: #dcfce7; color: #166534; }
.flash__item--error { background: #fee2e2; color: #991b1b; }
.flash__item--info { background: #eff6ff; color: #1d4ed8; }

.two-col { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.progress { width: 100%; background: var(--border); border-radius: 999px; height: 10px; overflow: hidden; }
.progress__bar { height: 100%; background: var(--primary); width: var(--pct, 100%); }
.inline-actions { display: flex; gap: 8px; align-items: center; }
.nested-list { list-style: none; margin: 6px 0 0 0; padding-left: 0; border-left: 2px solid var(--border); }
.nested-list li { padding: 6px 0 6px 10px; }
.stacked-form { display: grid; gap: 8px; margin-top: 12px; }
.map-placeholder { width: 100%; height: 240px; background: linear-gradient(135deg, #e2e8f0, #cbd5e1); border-radius: 12px; }
.stat-chip { padding: 4px 10px; border-radius: 999px; background: var(--border); font-weight: 700; color: var(--text); }
.stat-chip.green { background: #dcfce7; color: #166534; }
.stat-chip.red { background: #fee2e2; color: #991b1b; }
.stat-chip.amber { background: #fef3c7; color: #92400e; }
.dropzone { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 60px; border: 2px dashed var(--border); border-radius: 12px; background: #f8fafc; padding: 10px; }

.landing-stats {
  margin-top: 24px;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.stat-card {
  display: flex;
  gap: 12px;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
}
.stat-icon { font-size: 24px; }
.stat-value { font-weight: 800; font-size: 20px; }
.stat-label { color: var(--muted); font-size: 14px; }

