:root {
  --bg: #0c0c0c;
  --panel: #151515;
  --line: rgba(255, 255, 255, 0.1);
  --text: #f5efe7;
  --muted: rgba(245, 239, 231, 0.72);
  --gold: #d9b15c;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: "Roboto", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(217, 177, 92, 0.14), transparent 24%),
    var(--bg);
}
.page {
  width: min(1100px, calc(100% - 24px));
  margin: 0 auto;
  padding: 24px 0 40px;
}
.panel {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 24px;
  padding: 24px;
}
.hidden { display: none; }
.eyebrow {
  margin: 0 0 10px;
  color: var(--gold);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.74rem;
}
h1 {
  margin: 0;
  font-family: "Instrument Serif", serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 400;
}
.lead, .status { color: var(--muted); }
.form {
  display: grid;
  gap: 14px;
  max-width: 420px;
  margin-top: 20px;
}
.form label { display: grid; gap: 8px; }
input, button {
  font: inherit;
}
input {
  min-height: 46px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(255,255,255,0.04);
}
button {
  min-height: 46px;
  padding: 0 16px;
  border-radius: 999px;
  border: 0;
  background: linear-gradient(135deg, #6d7f63, #293429);
  color: #fff8f0;
  cursor: pointer;
}
.ghost {
  background: transparent;
  border: 1px solid var(--line);
}
.dashboard-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}
.metric {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  background: rgba(255,255,255,0.03);
}
.metric span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}
.metric strong {
  display: block;
  margin-top: 10px;
  font-size: clamp(1.4rem, 3vw, 2rem);
}
.table-wrap {
  margin-top: 22px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 18px;
}
table {
  width: 100%;
  border-collapse: collapse;
}
th, td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}
th {
  color: var(--muted);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}
tbody tr:last-child td { border-bottom: 0; }
@media (max-width: 720px) {
  .dashboard-head,
  .metrics {
    grid-template-columns: 1fr;
    display: grid;
  }
}
