* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: #1f2937;
  background: #f4f6f8;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px clamp(18px, 4vw, 48px);
  background: #ffffff;
  border-bottom: 1px solid #dfe5eb;
}

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

h1 {
  margin-top: 4px;
  font-size: 24px;
  line-height: 1.2;
}

h2 {
  max-width: 720px;
  font-size: clamp(30px, 5vw, 56px);
  line-height: 1.02;
}

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

.shell {
  width: min(1120px, calc(100% - 32px));
  margin: 28px auto 48px;
}

.panel {
  background: #ffffff;
  border: 1px solid #dfe5eb;
  border-radius: 8px;
  padding: clamp(18px, 3vw, 32px);
  box-shadow: 0 10px 30px rgba(31, 41, 55, 0.06);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 28px;
  min-height: 280px;
  background:
    linear-gradient(110deg, rgba(255,255,255,0.94), rgba(255,255,255,0.7)),
    linear-gradient(135deg, #f0f7ff 0%, #eef8f3 48%, #fff5e8 100%);
}

.eyebrow {
  color: #0f766e;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.muted {
  margin-top: 12px;
  color: #5f6f7f;
  line-height: 1.65;
}

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

button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid #b8c2cc;
  border-radius: 6px;
  color: #1f2937;
  background: #ffffff;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.primary {
  border-color: #0f766e;
  color: #ffffff;
  background: #0f766e;
}

.ghost {
  background: #f8fafc;
}

.grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 18px;
  margin-top: 18px;
}

.notice {
  margin-bottom: 14px;
  border-radius: 6px;
  padding: 12px 14px;
  font-weight: 700;
}

.success {
  color: #14532d;
  background: #dcfce7;
  border: 1px solid #86efac;
}

.error {
  color: #7f1d1d;
  background: #fee2e2;
  border: 1px solid #fca5a5;
}

dl {
  margin: 0;
}

dl div {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid #eef2f6;
}

dt {
  color: #687789;
  font-size: 13px;
  font-weight: 800;
}

dd {
  margin: 0;
  min-width: 0;
  overflow-wrap: anywhere;
  font-weight: 700;
}

.credential {
  display: grid;
  gap: 6px;
  margin-top: 18px;
  padding: 14px;
  border-radius: 6px;
  background: #f8fafc;
  border: 1px solid #dfe5eb;
}

.credential span,
.credential strong {
  overflow-wrap: anywhere;
}

pre {
  min-height: 220px;
  margin: 0;
  overflow: auto;
  border-radius: 6px;
  padding: 14px;
  background: #111827;
  color: #e5e7eb;
  font: 13px/1.55 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

@media (max-width: 760px) {
  .topbar,
  .hero,
  .grid {
    grid-template-columns: 1fr;
  }

  .topbar {
    align-items: flex-start;
  }

  .actions {
    justify-content: stretch;
  }

  button,
  .button,
  .actions form {
    width: 100%;
  }

  dl div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}
