:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #17201b;
  background: #eef3ef;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
}

button,
input {
  font: inherit;
}

.shell {
  min-height: 100vh;
  padding: 28px;
}

.topbar {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin-bottom: 22px;
}

.topbar-actions,
.section-title {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.section-title {
  justify-content: space-between;
  margin-bottom: 14px;
}

.kicker {
  margin: 0 0 6px;
  color: #47715d;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  letter-spacing: 0;
}

h1 {
  font-size: 34px;
}

h2 {
  margin-bottom: 18px;
  font-size: 18px;
}

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

.panel {
  background: #fbfdfb;
  border: 1px solid #d9e4dc;
  border-radius: 8px;
  padding: 18px;
  box-shadow: 0 10px 24px rgba(39, 63, 50, 0.08);
}

label {
  display: grid;
  gap: 6px;
  margin-bottom: 12px;
  color: #52645a;
  font-size: 13px;
  font-weight: 700;
}

input {
  width: 100%;
  min-height: 38px;
  border: 1px solid #bfd0c6;
  border-radius: 6px;
  padding: 8px 10px;
  color: #17201b;
  background: #fff;
}

button {
  min-height: 38px;
  border: 1px solid #37614e;
  border-radius: 6px;
  padding: 8px 12px;
  color: #fff;
  background: #37614e;
  cursor: pointer;
}

button:hover {
  background: #2c4f40;
}

button.secondary {
  color: #274435;
  background: #eef5f0;
}

button.secondary:hover {
  background: #dfeae3;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0;
}

.table-wrap {
  overflow: auto;
}

.table-wrap.compact {
  margin-top: 12px;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

th,
td {
  border-bottom: 1px solid #e2ebe5;
  padding: 9px 8px;
  text-align: left;
  white-space: nowrap;
}

th {
  color: #52645a;
  font-size: 12px;
}

.activity {
  margin-top: 18px;
}

.webhook-table {
  margin-bottom: 14px;
}

pre {
  min-height: 160px;
  margin: 0;
  overflow: auto;
  border-radius: 6px;
  padding: 14px;
  color: #d7f5e5;
  background: #17201b;
}

@media (max-width: 900px) {
  .shell {
    padding: 18px;
  }

  .topbar,
  .workspace {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: stretch;
  }
}
