:root {
  color-scheme: light;
  --bg: #f6f7f9;
  --panel: #ffffff;
  --text: #17202a;
  --muted: #5f6b7a;
  --line: #d7dde5;
  --accent: #0f766e;
  --accent-strong: #0b5f59;
  --danger: #b42318;
  --warn: #b54708;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
}

main {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 32px 0 48px;
}

header {
  display: grid;
  gap: 10px;
  margin-bottom: 24px;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 1;
  letter-spacing: 0;
}

h2 {
  font-size: 1.25rem;
}

h3 {
  font-size: 1rem;
}

p,
li {
  color: var(--muted);
  line-height: 1.55;
}

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

.eyebrow {
  color: var(--accent-strong);
  font-size: 0.8rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.panel,
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 1px 2px rgb(20 31 43 / 0.05);
}

.panel {
  display: grid;
  gap: 18px;
  padding: 18px;
  margin-bottom: 18px;
}

.card {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 16px;
  min-height: 164px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

button,
.button-link {
  min-height: 40px;
  border: 1px solid var(--accent);
  border-radius: 7px;
  background: var(--accent);
  color: white;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  padding: 9px 13px;
  text-decoration: none;
}

button.secondary,
.button-link.secondary {
  background: white;
  color: var(--accent-strong);
}

button.warning {
  border-color: var(--warn);
  background: var(--warn);
}

button.danger {
  border-color: var(--danger);
  background: var(--danger);
}

code,
pre {
  border-radius: 6px;
  background: #eef2f6;
  color: #243447;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

code {
  padding: 2px 5px;
}

pre {
  min-height: 220px;
  max-height: 420px;
  overflow: auto;
  padding: 14px;
  white-space: pre-wrap;
}

.status {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.status li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  padding: 8px 0;
}

.status li:last-child {
  border-bottom: 0;
}

.status strong {
  color: var(--text);
}

iframe {
  width: 100%;
  min-height: 280px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

@media (max-width: 640px) {
  main {
    width: min(100% - 20px, 1120px);
    padding-top: 20px;
  }

  .status li {
    display: grid;
    gap: 2px;
  }
}
