/* Kagn Plants: My Plants (Today, the plants, adding one, a plant's page, reminders, the backup).
   Only what app.css and scan.css do not already give; the colours are the app's own tokens (forest, sand,
   green, gold). No corner brackets, no drawn icons. Phone first; tap targets at least 44 px. */

.garden, .g-add, .g-plant, .g-remind, .g-backup, .g-offer { gap: 20px; }
.g-center { text-align: center; }
.g-left { align-self: flex-start; padding-left: 0; }
.g-sub { font: 600 20px/1.2 var(--serif); }
.g-ok { padding: 10px 14px; border-radius: 12px; background: var(--green-pale); color: var(--forest); line-height: 1.4; }

/* pictures */
.g-thumb { flex: none; width: 56px; height: 56px; border-radius: 12px; object-fit: cover; background: var(--line); }
.g-thumb-big { width: 72px; height: 72px; border-radius: 14px; }
.g-thumb-none { display: block; background: var(--green-pale); }
.g-hero { height: 260px; }

/* the empty state */
.g-empty { display: flex; flex-direction: column; gap: 10px; background: var(--green-pale); border-color: #cfe5d6; line-height: 1.45; }
.g-empty-lead { font: 600 20px/1.3 var(--serif); color: var(--forest); }

/* Today: what is due, each with Done and Tomorrow */
.g-due-list { gap: 10px; }
.g-due { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
.g-due-late { border-color: var(--gold-line); background: var(--gold-pale); }
.g-due-plant { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.g-due-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.g-due-name { font-size: 18px; font-weight: 700; overflow-wrap: anywhere; }
.g-due-what { font-size: 15px; color: var(--muted); }
.g-due-late .g-due-what { color: var(--gold-text); }
.g-due-buttons { flex: none; display: flex; flex-direction: column; gap: 6px; }
.g-due-buttons .btn, .g-early { min-height: 44px; padding: 0 14px; border-radius: 12px; font-size: 16px; }
.g-nothing { line-height: 1.45; }
.g-undo { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; color: var(--muted); }
.g-undo-btn { min-height: 44px; padding: 0 6px; }
.g-score { align-self: flex-start; padding: 6px 12px; border-radius: 16px; background: var(--green-pale); color: var(--forest); font-size: 15px; font-weight: 700; }

/* the plants as cards */
.g-cards { gap: 10px; }
.g-card { display: flex; align-items: center; gap: 14px; padding: 12px; color: var(--ink); text-decoration: none; }
.g-card-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.g-card-name { font-size: 19px; font-weight: 700; overflow-wrap: anywhere; }
.g-card-place { font-size: 15px; color: var(--muted); overflow-wrap: anywhere; }
.g-card-next { font-size: 15px; color: var(--green); font-weight: 600; }
.g-card-due { color: var(--gold-text); }
.g-remind-line a { font-weight: 700; }
.g-remind-row { display: flex; align-items: center; min-height: 54px; padding: 0 16px; border-radius: 14px; background: var(--gold-pale); border: 1px solid var(--gold-line); color: var(--gold-text); font-weight: 700; text-decoration: none; }

/* adding and editing: large tap chips, one chosen per group */
.g-add-plant { display: flex; align-items: center; gap: 14px; }
.g-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.g-chip { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 1px; min-height: 48px; padding: 6px 16px; border: 1.5px solid var(--line-strong); border-radius: 16px; background: var(--card); color: var(--ink); font: 600 16px/1.2 var(--sans); text-align: left; cursor: pointer; }
.g-chip[aria-pressed="true"] { border-color: var(--green); background: var(--green); color: #fff; }
.g-chip-hint { font-size: 13px; font-weight: 400; color: var(--muted); }
.g-chip[aria-pressed="true"] .g-chip-hint { color: #e1efe5; }
.g-hidden { display: none; }

/* the one question after the first plant */
.g-offer { padding-top: 40px; }
.g-offer-lead { font-size: 19px; line-height: 1.45; }

/* a plant's page */
.g-tasks { gap: 10px; }
.g-task { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); }
.g-task-due { border-color: var(--gold-line); background: var(--gold-pale); }
.g-task-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.g-task-name { font-weight: 700; }
.g-task-when { font-size: 15px; color: var(--muted); }
.g-health { display: flex; flex-direction: column; gap: 8px; }
.g-health-title { font: 600 20px/1.2 var(--serif); }
.g-case-list { gap: 0; border-radius: 14px; background: var(--card); border: 1px solid var(--line); overflow: hidden; }
.g-case-row { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.g-case-list li:last-child .g-case-row { border-bottom: 0; }
.g-case-date { font-size: 14px; color: var(--muted); }
.g-case-head { font-weight: 700; overflow-wrap: anywhere; }
.g-care-list { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.g-care-row { display: flex; flex-direction: column; gap: 2px; }
.g-care-row dt { font-size: 14px; font-weight: 700; color: var(--muted); }
.g-care-row dd { margin: 0; line-height: 1.45; }
.g-edit { display: flex; flex-direction: column; gap: 16px; }
.g-remove { align-self: center; color: var(--alert); }
.g-remove-ask { display: flex; flex-direction: column; gap: 12px; background: var(--alert-pale); border-color: var(--alert-line); line-height: 1.45; }
.g-danger { background: var(--alert); border-color: var(--alert); }

/* the journal: dated photos in a row (oldest first, so growth reads left to right), then the notes */
.g-strip { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 6px; -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity; }
.g-shot { flex: none; margin: 0; width: 132px; scroll-snap-align: start; }
.g-shot img { display: block; width: 132px; height: 160px; border-radius: 12px; object-fit: cover; background: var(--line); }
.g-shot figcaption { padding-top: 4px; font-size: 13px; color: var(--muted); text-align: center; }
.g-notes { gap: 8px; }
.g-note { padding: 10px 12px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); line-height: 1.4; overflow-wrap: anywhere; white-space: pre-wrap; }
.g-note-date { font-size: 13px; font-weight: 700; color: var(--muted); }
.g-journal-add { display: flex; flex-direction: column; gap: 12px; }
.g-pick-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.g-pick-row .btn { min-height: 48px; padding: 0 10px; font-size: 16px; }
.g-picked { display: block; width: 100%; max-height: 260px; border-radius: 14px; object-fit: cover; }

/* reminders */
.g-remind-card { display: flex; flex-direction: column; gap: 14px; }
.g-remind-state { font: 600 20px/1.2 var(--serif); }
.g-remind-card select { width: 100%; min-height: 46px; padding: 0 12px; border: 1.5px solid var(--line-strong); border-radius: 12px; background: #fff; color: var(--ink); font: 17px var(--sans); }
.g-notif { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: 0 4px 16px rgba(26, 58, 42, .10); }
.g-notif-app { font-size: 13px; font-weight: 700; color: var(--muted); }
.g-notif-body { font-size: 16px; line-height: 1.35; }

/* the backup */
.g-backup-text { width: 100%; min-height: 96px; padding: 10px 12px; border: 1.5px solid var(--line-strong); border-radius: 12px; background: var(--sand); color: var(--ink); font: 13px/1.35 ui-monospace, Menlo, Consolas, monospace; word-break: break-all; }
.g-restore-ask { display: flex; flex-direction: column; gap: 10px; line-height: 1.45; }
