:root { color-scheme: light; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: #f7f7f7;
}

header {
  padding: 1rem;
  background: #2f855a;
  color: white;
  font-size: 1.1rem;
  text-align: center;
}

.container {
  max-width: 760px;
  margin: 0 auto;
  padding: 1rem;
}

.row {
  display: flex;
  gap: .75rem;
  align-items: center;
}

input, textarea, select, button {
  font: inherit;
}

input[type="search"], input[type="text"], textarea {
  width: 100%;
  padding: .75rem .85rem;
  border: 1px solid #ddd;
  border-radius: 12px;
  background: white;
}

textarea { min-height: 120px; resize: vertical; }

.card {
  background: white;
  margin: .75rem 0;
  padding: 1rem;
  border-radius: 14px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.07);
}

.list-item {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
  cursor: pointer;
}

.muted { color: #666; font-size: .95rem; }

.btn {
  border: 0;
  border-radius: 12px;
  padding: .7rem .9rem;
  cursor: pointer;
}

.btn-primary { background: #2f855a; color: white; }
.btn-ghost { background: #e9f5ee; color: #1f6a44; }

.topbar {
  position: sticky;
  top: 0;
  background: #f7f7f7;
  padding-top: .75rem;
  z-index: 5;
}

.fab {
  position: fixed;
  right: 16px;
  bottom: 16px;
  width: 54px;
  height: 54px;
  border-radius: 999px;
  border: 0;
  background: #2f855a;
  color: white;
  font-size: 26px;
  line-height: 54px;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(0,0,0,.18);
}

hr { border: 0; border-top: 1px solid #eee; margin: 1rem 0; }
h2, h3 { margin: .25rem 0 .5rem; }
ul, ol { margin: .5rem 0 .5rem 1.2rem; padding: 0; }
