/* Pet Behavior Journal Styles */
* { box-sizing: border-box; margin: 0; padding: 0; }\nbody { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; line-height: 1.5; color: #333; background: #fafafa; }\nheader { background: #1a73e8; color: #fff; padding: 1rem; text-align: center; }\nheader h1 { font-size: 1.75rem; margin-bottom: 0.25rem; }\nheader .tagline { font-size: 0.9rem; opacity: 0.9; }\nnav { margin-top: 0.5rem; }\nnav a { color: #fff; text-decoration: none; margin: 0 0.5rem; font-size: 0.85rem; }\nnav a:hover { text-decoration: underline; }\nmain { max-width: 800px; margin: 1rem auto; padding: 0 1rem; }\nsection { background: #fff; margin-bottom: 1.5rem; padding: 1rem; border-radius: 8px; box-shadow: 0 1px 4px rgba(0,0,0,0.08); }\nsection h2 { font-size: 1.25rem; margin-bottom: 0.75rem; color: #1a73e8; }\nsection h3 { font-size: 1rem; margin: 1rem 0 0.5rem; color: #444; }\nform { display: grid; gap: 0.75rem; }\nlabel { font-size: 0.85rem; color: #555; }\ninput, select, button { padding: 0.5rem; border: 1px solid #ccc; border-radius: 4px; font-size: 1rem; }\ninput[type="text"], input[type="time"] { width: 100%; }\nbutton { background: #1a73e8; color: #fff; border: none; cursor: pointer; }\nbutton:hover { background: #155ab8; }\n#entryList ul { list-style: none; margin-top: 0.5rem; }\n#entryList li { padding: 0.5rem; border-bottom: 1px solid #eee; font-size: 0.9rem; }\n#entryList li:last-child { border-bottom: none; }\n#weeklyStats { display: flex; gap: 1.5rem; }\n#chartPlaceholder { text-align: center; color: #666; padding: 1rem; }\nfooter { text-align: center; padding: 1rem; font-size: 0.85rem; color: #666; border-top: 1px solid #ddd; }\nfooter a { color: #1a73e8; }\n@media (min-width: 600px) {
  nav a { font-size: 0.95rem; }
  section { padding: 1.5rem; }
  header h1 { font-size: 2rem; }
}\n@media (min-width: 768px) {
  main { padding: 0 2rem; }
  #weeklyStats { gap: 3rem; }
}


/* Factory-injected deployment helpers. The AI owns the site design above this block. */
.ad-unit {
  width: min(100%, 720px);
  min-height: 120px;
  margin: 24px auto;
  display: block;
}

.legal-page {
  width: min(900px, calc(100% - 32px));
  margin: 40px auto;
}

.factory-fallback-nav {
  width: min(900px, calc(100% - 32px));
  margin: 24px auto 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: center;
  font-size: 0.95rem;
}

.factory-fallback-nav a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}
