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

:root {
  --bg: #FAFBFC;
  --text: #14181F;
  --muted: #5B6472;
  --border: #E3E7EC;
  --border-light: #EEF1F4;
  --accent: #1a73e8;
  --accent-bg: #E8F0FE;
  --green: #1a7f4f;
  --green-bg: #E6F4EC;
  --amber: #B45309;
  --amber-bg: #FEF3E2;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
}

h1, h2, h3, h4 { font-family: 'Space Grotesk', 'Inter', system-ui, sans-serif; margin: 0; }

a { color: var(--accent); text-decoration: none; }
a:hover { color: #0d5bc4; text-decoration: underline; }

table { border-collapse: collapse; width: 100%; }
th {
  text-align: left; font-size: 11px; font-weight: 600; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.04em; padding: 10px 14px;
  border-bottom: 1px solid var(--border);
}
td { padding: 11px 14px; border-bottom: 1px solid var(--border-light); font-size: 13px; vertical-align: top; }

code { background: #F0F2F4; padding: 1px 5px; border-radius: 4px; font-size: 12px; }

.panel { background: #fff; border: 1px solid var(--border); border-radius: 12px; }

.badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px;
  border-radius: 100px; font-size: 11px; font-weight: 600; white-space: nowrap;
}

.btn {
  padding: 9px 16px; border-radius: 8px; font-size: 13px; font-weight: 600;
  cursor: pointer; border: 1px solid var(--border); background: #fff; color: var(--text);
}
.btn:hover { background: #F6F8FA; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.btn-primary { background: var(--accent); color: #fff; border: none; }
.btn-primary:hover { background: #0d5bc4; }

input[type="text"], input[type="email"], textarea, select {
  padding: 9px 12px; border-radius: 8px; border: 1px solid #D7DCE2;
  font-size: 13px; font-family: inherit; background: #fff; color: var(--text);
  width: 100%;
}

.topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 32px; border-bottom: 1px solid var(--border); background: #fff;
}
.topbar .brand { display: flex; align-items: center; gap: 12px; }
.topbar .brand img { height: 28px; width: auto; }
.topbar nav { display: flex; align-items: center; gap: 28px; font-size: 14px; font-weight: 500; color: var(--muted); }
.topbar nav a.active { color: var(--text); font-weight: 600; }

.page { max-width: 1440px; margin: 0 auto; padding: 28px 32px; display: flex; flex-direction: column; gap: 18px; }

.state-message { padding: 40px; text-align: center; color: var(--muted); font-size: 14px; }
.state-message.error { color: #B3261E; }
