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

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100svh;
  background:
    radial-gradient(circle at top right, rgba(6, 199, 85, 0.2), transparent 34rem),
    linear-gradient(145deg, #f8fbf9, #e9f4ee);
}

button {
  font: inherit;
}

.shell {
  min-height: 100svh;
  display: grid;
  place-content: center;
  gap: 18px;
  padding: max(24px, env(safe-area-inset-top)) 20px max(24px, env(safe-area-inset-bottom));
}

.card {
  width: min(100%, 420px);
  min-width: min(360px, calc(100vw - 40px));
  padding: 32px;
  border: 1px solid rgba(24, 32, 28, 0.08);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 24px 70px rgba(25, 74, 46, 0.12);
}

.brand {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  color: #fff;
  background: #06c755;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.08em;
}

h1 {
  margin: 18px 0 4px;
  font-size: clamp(30px, 8vw, 42px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.subtitle {
  margin: 0 0 26px;
  color: #66716b;
}

.notice {
  padding: 14px 16px;
  border-radius: 14px;
  color: #176334;
  background: #e8f8ee;
}

.notice.error {
  color: #8b1f2d;
  background: #ffedf0;
  overflow-wrap: anywhere;
}

.status-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid #edf0ee;
  color: #66716b;
}

.status-row strong {
  color: #18201c;
  text-align: right;
}

.profile {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
  padding: 16px;
  border-radius: 18px;
  background: #f4f8f5;
}

.profile img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
}

.profile small,
.profile p {
  color: #66716b;
}

.profile h2,
.profile p {
  margin: 2px 0 0;
}

.profile h2 {
  font-size: 20px;
}

.profile p {
  font-size: 13px;
}

.actions {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.actions button {
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid #dfe6e2;
  border-radius: 14px;
  color: #183522;
  background: #fff;
  cursor: pointer;
  font-weight: 700;
}

.actions button.primary {
  border-color: #06c755;
  color: #fff;
  background: #06c755;
}

.actions button.secondary {
  color: #68716c;
  background: #f7f9f8;
}

.actions button:disabled {
  opacity: 0.55;
  cursor: wait;
}

.endpoint {
  margin: 0;
  color: #738078;
  text-align: center;
  font-size: 13px;
}

@media (max-width: 420px) {
  .card {
    padding: 25px 22px;
    border-radius: 22px;
  }
}
