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

* {
  box-sizing: border-box;
}

body {
  margin: 0;
}

button,
a {
  font: inherit;
}

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

.panel {
  max-width: 1040px;
  margin: 0 auto;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 24px;
  border-bottom: 1px solid #d8e0e4;
}

.eyebrow {
  margin: 0 0 6px;
  color: #52616b;
  font-size: 14px;
  font-weight: 700;
}

h1 {
  margin: 0;
  font-size: 32px;
  font-weight: 750;
}

h2 {
  margin: 0 0 12px;
  font-size: 18px;
}

button {
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid #0f766e;
  border-radius: 6px;
  background: #0f766e;
  color: white;
  cursor: pointer;
}

button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.status-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 24px 0;
}

.status-grid div,
.operations article {
  border: 1px solid #d8e0e4;
  border-radius: 8px;
  background: white;
}

.status-grid div {
  min-height: 116px;
  padding: 18px;
}

dt {
  margin-bottom: 8px;
  color: #52616b;
  font-size: 13px;
  font-weight: 700;
}

dd {
  margin: 0;
  overflow-wrap: anywhere;
  font-size: 18px;
  font-weight: 700;
}

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

.operations article {
  min-height: 320px;
  padding: 20px;
}

pre {
  min-height: 236px;
  max-height: 520px;
  margin: 0;
  overflow: auto;
  white-space: pre-wrap;
  word-break: break-word;
  font-size: 13px;
  line-height: 1.6;
}

.article-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.article-header h2 {
  margin: 0;
}

footer {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

a {
  color: #0f5f59;
  font-weight: 700;
}

@media (max-width: 760px) {
  .shell {
    padding: 20px;
  }

  .header,
  .status-grid,
  .operations {
    grid-template-columns: 1fr;
  }

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

  button {
    width: 100%;
  }
}
