:root {
  color-scheme: light dark;
  --bg: #f4f7f4;
  --panel: #ffffff;
  --ink: #18201a;
  --muted: #637067;
  --line: #d9e2da;
  --accent: #1b7f5c;
  --accent-ink: #ffffff;
  --secondary: #eef3ef;
  --secondary-ink: #1d2a21;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111613;
    --panel: #1b231e;
    --ink: #eef6ef;
    --muted: #a9b6ad;
    --line: #314036;
    --accent: #49b989;
    --accent-ink: #07130d;
    --secondary: #263229;
    --secondary-ink: #eef6ef;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
}

.shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.panel {
  width: min(100%, 560px);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
  box-shadow: 0 18px 50px rgba(16, 30, 20, 0.12);
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: 2rem;
  letter-spacing: 0;
}

.summary,
.detail {
  color: var(--muted);
  line-height: 1.5;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 22px 0;
}

button {
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  padding: 0 18px;
  background: var(--accent);
  color: var(--accent-ink);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

button.secondary {
  background: var(--secondary);
  color: var(--secondary-ink);
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.identity {
  display: grid;
  gap: 10px;
  margin: 0;
}

.identity div {
  display: grid;
  grid-template-columns: minmax(80px, 0.35fr) 1fr;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

dt {
  color: var(--muted);
  font-weight: 700;
}

dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.protected {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.protected h2 {
  margin: 0 0 8px;
  font-size: 1rem;
  letter-spacing: 0;
}

.protected p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}
