:root {
  --background: #fffaf4;
  --surface: #ffffff;
  --ink: #264087;
  --text: #1f2937;
  --muted: #6b7280;
  --border: #eef0f3;
  --allergy-surface: #fdecea;
  --allergy-text: #9b2c1f;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--background);
  color: var(--text);
  font-family:
    -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.5;
}

main {
  max-width: 440px;
  overflow-wrap: anywhere;
  margin: 0 auto;
  padding: 32px 16px 16px;
}

.status {
  text-align: center;
  color: var(--muted);
  padding: 48px 0;
}

.photo {
  display: block;
  width: 144px;
  height: 144px;
  margin: 0 auto 16px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--border);
}

h1 {
  margin: 0;
  text-align: center;
  font-size: 28px;
  line-height: 1.2;
}

.kind {
  margin: 4px 0 0;
  text-align: center;
  color: var(--muted);
}

section {
  margin-top: 24px;
}

h2 {
  margin: 0 0 8px 4px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.panel {
  background: var(--surface);
  border-radius: 16px;
  padding: 16px;
}

.contact .lead {
  margin: 0 0 12px;
  font-weight: 600;
}

.contact .owner {
  margin: 0;
  color: var(--muted);
}

.contact .number {
  display: block;
  margin: 4px 0 0;
  font-size: 26px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.02em;
  user-select: all;
}

.contact .note {
  margin: 12px 0 0;
}

.panel.rows {
  margin: 0;
  padding: 0;
}

.rows div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 16px;
  border-top: 1px solid var(--border);
}

.rows div:first-child {
  border-top: none;
}

.rows dt {
  color: var(--muted);
}

.rows dd {
  margin: 0;
  text-align: right;
  font-weight: 500;
}

.allergies p {
  margin: 0 0 8px;
}

.allergies ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.allergies li {
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--allergy-surface);
  color: var(--allergy-text);
  font-weight: 600;
}

button {
  display: block;
  margin: 0 auto;
  padding: 10px 20px;
  border: none;
  border-radius: 12px;
  background: var(--ink);
  color: #ffffff;
  font: inherit;
  font-weight: 600;
}

footer {
  padding: 24px 16px 32px;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}
