:root {
  --bg: #eaf5ff;
  --bg-alt: #dcecf8;
  --card: rgba(255, 255, 255, 0.85);
  --ink: #0d2742;
  --muted: #4b6a85;
  --accent: #0e7aa8;
  --accent-alt: #1f9ac9;
  --border: rgba(13, 39, 66, 0.15);
  --shadow: 0 12px 30px rgba(13, 39, 66, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Avenir Next", "Gill Sans", "Trebuchet MS", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 20%, rgba(31, 154, 201, 0.25), transparent 45%),
    radial-gradient(circle at 90% 0%, rgba(14, 122, 168, 0.2), transparent 40%),
    linear-gradient(160deg, var(--bg), var(--bg-alt));
}

.shell {
  max-width: 1024px;
  margin: 0 auto;
  padding: 24px 16px 36px;
}

.hero {
  margin-bottom: 18px;
}

.badge {
  display: inline-block;
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--accent);
  font-weight: 700;
}

h1 {
  margin: 6px 0;
  font-size: clamp(1.7rem, 4vw, 2.8rem);
}

.subtitle {
  margin: 0;
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 12px;
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(6px);
}

.controls {
  margin-bottom: 12px;
}

label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
}

select,
input {
  width: 100%;
  border-radius: 10px;
  border: 1px solid var(--border);
  padding: 10px;
  color: var(--ink);
  background: #fff;
  font-size: 15px;
}

.actions {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.btn {
  border: 1px solid var(--border);
  border-radius: 10px;
  background: white;
  color: var(--ink);
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.btn.accent {
  background: linear-gradient(120deg, var(--accent), var(--accent-alt));
  color: white;
  border-color: transparent;
}

.status {
  margin: 12px 0 0;
  color: var(--muted);
}

.stat .label {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.stat .value {
  margin: 6px 0 0;
  font-size: 1.4rem;
  font-weight: 700;
}

h2 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

th,
td {
  text-align: left;
  border-bottom: 1px solid var(--border);
  padding: 8px 6px;
}

a {
  color: var(--accent);
  font-weight: 700;
}

.hidden {
  display: none;
}

@media (max-width: 760px) {
  .grid.two,
  .grid.three {
    grid-template-columns: 1fr;
  }

  .actions {
    flex-direction: column;
  }
}
