:root { color-scheme: light; font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #1b1d1e; background: #f4f4f2; font-synthesis: none; --muted: #626963; --line: #d9ddd8; --green: #3c5142; }
* { box-sizing: border-box; letter-spacing: 0; }
[hidden] { display: none !important; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; }
a { color: inherit; text-underline-offset: 4px; }
button, input { font: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .55; }
:focus-visible { outline: 3px solid #bc8a20; outline-offset: 4px; }
.header, main, footer { width: min(100% - 48px, 1080px); margin-inline: auto; }
.header { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 750; text-decoration: none; }
nav { display: flex; align-items: center; gap: 24px; font-size: 14px; }
nav a { text-decoration: none; }
main { flex: 1; padding-block: 40px 64px; }
.page-heading { margin-bottom: 28px; }
.eyebrow { margin: 0 0 8px; font-size: 12px; font-weight: 650; color: var(--muted); }
h1 { margin: 0; font-size: 32px; line-height: 1.2; }
h2 { margin: 0; font-size: 22px; line-height: 1.35; }
p { line-height: 1.6; }
.muted { color: var(--muted); }
#status, #error { margin: 0 0 20px; }
#status:empty, #error:empty { display: none; }
#error { color: #96002e; }
.auth { max-width: 420px; padding-block: 12px 40px; }
.auth h2 { margin-bottom: 26px; }
label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 650; }
input { display: block; width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid #909b93; border-radius: 6px; background: #fff; color: #1b1d1e; }
.primary, .secondary { min-height: 48px; padding: 12px 20px; border-radius: 6px; border: 1px solid var(--green); font-weight: 650; }
.primary { background: var(--green); color: #fff; width: 100%; margin-top: 20px; }
.primary:hover:not(:disabled) { background: #2d4034; }
.secondary { background: #fff; color: var(--green); margin-top: 24px; }
.text-button { border: 0; padding: 10px 0; background: none; color: var(--green); font-weight: 650; font-size: 14px; min-height: 44px; }
.text-button:hover:not(:disabled), nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.sent-to { overflow-wrap: anywhere; margin: 0 0 20px; color: var(--muted); font-size: 14px; }
.code-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 20px; margin-top: 12px; }
.profile-overview { display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: 32px; padding-block: 12px 36px; border-bottom: 1px solid var(--line); align-items: center; }
.identity { display: flex; align-items: center; gap: 20px; min-width: 0; }
.identity-copy { min-width: 0; }
.identity h2 { font-size: 26px; overflow-wrap: anywhere; }
.identity p { margin: 6px 0 0; overflow-wrap: anywhere; font-size: 14px; }
.avatar { position: relative; flex: none; overflow: hidden; display: grid; place-items: center; background: #e2eae4; color: var(--green); border-radius: 50%; font-size: 28px; font-weight: 650; }
.avatar img { position: absolute; width: 100%; height: 100%; object-fit: cover; inset: 0; }
.owner-avatar { width: 88px; height: 88px; }
.care-summary { min-width: 0; border-left: 3px solid #d7a719; padding-left: 24px; display: flex; flex-direction: column; gap: 5px; }
.care-summary .eyebrow { margin: 0; }
.care-summary strong { font-size: 26px; line-height: 1.25; }
.care-summary .muted { font-size: 13px; line-height: 1.5; }
.section-heading { display: flex; align-items: baseline; gap: 12px; margin-bottom: 22px; }
.section-heading > span { font-size: 14px; }
.pets-section { padding-top: 32px; }
.pets { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.pet { min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 24px; }
.pet-heading { display: flex; align-items: center; gap: 18px; }
.pet-avatar { width: 76px; height: 76px; }
.pet-copy { min-width: 0; }
.pet h3 { font-size: 21px; line-height: 1.3; margin: 0 0 5px; overflow-wrap: anywhere; }
.pet-description { color: var(--muted); font-size: 14px; margin: 0; overflow-wrap: anywhere; }
.pet-level { display: flex; align-items: center; gap: 14px; margin-top: 24px; padding-top: 18px; border-top: 1px solid #e7eae6; min-height: 77px; }
.level-image { width: 56px; height: 56px; flex: none; }
.pet-level strong { display: block; font-size: 16px; }
.pet-level p { margin: 3px 0 0; font-size: 13px; color: var(--muted); overflow-wrap: anywhere; }
.empty { padding-block: 20px; color: var(--muted); }
footer { padding-block: 24px; display: flex; flex-wrap: wrap; gap: 14px 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
footer span { margin-right: auto; }
@media (max-width: 700px) {
  .header, main, footer { width: calc(100% - 32px); }
  .header { min-height: 76px; gap: 12px; flex-wrap: wrap; padding-block: 12px; }
  .brand { font-size: 20px; gap: 8px; }
  nav { gap: 16px; font-size: 13px; }
  main { padding-block: 28px 40px; }
  .profile-overview { grid-template-columns: minmax(0, 1fr); gap: 26px; padding-bottom: 28px; }
  .identity { gap: 16px; }
  .identity h2 { font-size: 22px; }
  .owner-avatar { width: 68px; height: 68px; }
  .care-summary { padding-left: 16px; }
  .care-summary strong { font-size: 24px; }
  .pets { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .pet { padding: 20px; }
  .pet-avatar { width: 64px; height: 64px; }
  .pet-heading { gap: 14px; }
  .pet h3 { font-size: 20px; }
  .pet-level { margin-top: 20px; }
}
