/* allgreendates.com. Colors match AllGreen/Theme.swift. */
:root {
  --green: #0B7A47;
  --green-dark: #075C35;
  --ink: #0F1F17;
  --muted: #4A5A52;
  --page: #F5F8F6;
  --line: #E1E8E4;
  --divider: #EDF1EE;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, system-ui, "Segoe UI", sans-serif;
  -webkit-text-size-adjust: 100%;
}

a { color: var(--green); }
a:hover { color: var(--green-dark); }

main {
  max-width: 440px;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0 auto;
  /* Extra room at the bottom so Netlify's "Powered by" badge doesn't cover the footer. */
  padding: 24px 20px 84px;
  display: flex;
  flex-direction: column;
}

.brand { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 800; color: var(--ink); text-decoration: none; }
.brand-mark { width: 28px; height: 28px; border-radius: 8px; background: var(--green); display: flex; align-items: center; justify-content: center; }

.card { margin-top: 20px; padding: 18px; border-radius: 18px; background: #FFFFFF; border: 1px solid var(--line); }

.status { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--green); }
.status.off { color: var(--muted); }

h1 { margin: 10px 0 0; font-size: 30px; font-weight: 800; letter-spacing: -0.5px; line-height: 1.15; }
.sub { margin-top: 4px; font-size: 13px; color: var(--muted); }

.label { margin-top: 16px; font-size: 12px; font-weight: 700; letter-spacing: 0.8px; color: var(--muted); }
.photos { margin-top: 8px; display: grid; gap: 8px; }
.photo img { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 12px; background: var(--divider); }
.photo figcaption { margin-top: 4px; font-size: 11px; color: var(--muted); text-align: center; }
.photo { margin: 0; }

.rows { margin-top: 14px; padding: 6px 18px; border-radius: 18px; background: #FFFFFF; border: 1px solid var(--line); }
.row { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--divider); font-size: 15px; }
.row:last-child { border-bottom: 0; }
.row .yes { font-weight: 700; color: var(--green); text-align: right; }
.row .no { font-weight: 600; color: var(--muted); text-align: right; }

.note { margin: 14px 2px 0; font-size: 12px; line-height: 1.45; color: var(--muted); }
.body { margin: 12px 0 0; font-size: 15px; line-height: 1.5; color: var(--muted); }

.grow { flex-grow: 1; min-height: 24px; }

.button { display: flex; align-items: center; justify-content: center; height: 54px; border-radius: 14px; background: var(--green); color: #FFFFFF; font-size: 16px; font-weight: 600; text-decoration: none; }
.button:hover { background: var(--green-dark); color: #FFFFFF; }

.footer { margin-top: 14px; font-size: 12px; color: var(--muted); text-align: center; }

[hidden] { display: none !important; }
