:root {
  --bg: #06252c;
  --panel: rgba(13, 65, 77, .82);
  --line: rgba(143, 217, 232, .24);
  --text: #f8fbff;
  --muted: #a7bdc8;
  --accent: #12bec6;
  --mint: #85e5dd;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at 20% 10%, rgba(18, 190, 198, .2), transparent 30%), var(--bg);
  color: var(--text);
}

a { color: inherit; }

.shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 42px 0;
}

.shell.wide {
  width: min(1480px, calc(100% - 32px));
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.brand strong {
  display: block;
  font-size: clamp(26px, 4vw, 42px);
}

.brand span,
p,
label {
  color: var(--muted);
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 32px;
}

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

.panel {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
  padding: clamp(22px, 4vw, 36px);
  box-shadow: 0 28px 80px rgba(0, 0, 0, .24);
}

.panel h1,
.panel h2,
.panel h3 {
  margin-top: 0;
}

.form {
  display: grid;
  gap: 14px;
}

input,
textarea,
select {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .08);
  color: var(--text);
  padding: 0 14px;
}

textarea {
  padding-top: 12px;
  min-height: 110px;
}

button,
.button {
  min-height: 46px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  padding: 0 18px;
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

button.secondary,
.button.secondary {
  background: rgba(255, 255, 255, .08);
  color: var(--mint);
}

.muted { color: var(--muted); }
.stack { display: grid; gap: 16px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.notice { color: var(--mint); font-weight: 700; }
.notice.is-error { color: #ffb1a7; }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
}

.mini-card,
.row-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, .06);
  padding: 18px;
}

.mini-card {
  display: grid;
  gap: 12px;
}

.mini-card h3,
.row-card strong {
  margin: 0;
  color: var(--text);
}

.table-list {
  display: grid;
  gap: 10px;
}

.row-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.row-card span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
}

.pill {
  display: inline-flex;
  width: fit-content;
  border: 1px solid rgba(133, 229, 221, .38);
  border-radius: 999px;
  padding: 6px 10px;
  color: var(--mint);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 12px;
}

.check {
  display: flex;
  align-items: center;
  gap: 10px;
}

.check input {
  width: auto;
  min-height: auto;
}

.stat-panel {
  margin-top: 32px;
}

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

  .row-card {
    align-items: flex-start;
    flex-direction: column;
  }
}
