/* Plant Pal – mint paper and leaf green */
:root { --pp-ink: #1f2d22; --pp-soft: #5f6f63; --pp-line: #dbe6d8; --pp-mint: #f3f7f0; --pp-leaf: #2f7d4f; --pp-leaf2: #23613c; --pp-lime: #b9d98a; --pp-sun: #f2b84b; --pp-rose: #d9614c; --pp-sky: #5aa6c8; }
.pp-mount { margin: 18px 0; color: var(--pp-ink); font-size: 15.5px; line-height: 1.5; }
.pp-mount * { box-sizing: border-box; }
.pp-card { margin: 0 0 14px; padding: 18px 16px; border-radius: 22px; background: #fff; border: 1px solid var(--pp-line); box-shadow: 0 6px 20px rgba(31, 60, 38, .06); }
.pp-wait { color: var(--pp-soft); text-align: center; }
.pp-h { margin: 0 0 10px; font-family: 'Fern Head', Georgia, serif; font-size: 20px; line-height: 1.25; font-weight: 400; color: var(--pp-ink); }
.pp-kicker { margin: 0 0 4px; font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--pp-leaf); }
.pp-latin { margin: -6px 0 8px; font-style: italic; color: var(--pp-soft); font-size: 13.5px; }
.pp-meta { margin: 8px 0 0; font-size: 13px; color: var(--pp-soft); }
.pp-tip { margin: 10px 0; padding: 10px 12px; border-radius: 14px; background: var(--pp-mint); font-size: 14px; }
.pp-calm { margin: 8px 0; padding: 12px; border-radius: 14px; background: var(--pp-mint); text-align: center; color: var(--pp-leaf2); }
.pp-empty { text-align: center; color: var(--pp-soft); }
.pp-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.pp-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 46px; padding: 10px 18px; border-radius: 999px; border: 0; background: var(--pp-leaf); color: #fff !important; font: inherit; font-weight: 700; font-size: 15px; cursor: pointer; text-decoration: none !important; }
.pp-btn:active { background: var(--pp-leaf2); }
.pp-btn[disabled] { opacity: .45; cursor: default; }
.pp-btn-sm { min-height: 38px; padding: 6px 14px; font-size: 14px; }
.pp-btn-ghost { background: var(--pp-mint); color: var(--pp-leaf2) !important; border: 1.5px solid var(--pp-line); }
.pp-btn.is-done { background: var(--pp-lime); color: var(--pp-leaf2) !important; }
.pp-wide { width: 100%; margin: 0 0 14px; }
.pp-link { display: inline-block; margin-top: 10px; padding: 4px 0; border: 0; background: none; font: inherit; font-size: 14.5px; font-weight: 700; color: var(--pp-leaf2) !important; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.pp-danger { color: #b3261e !important; }
.pp-field { display: block; margin: 0 0 12px; }
.pp-field > span { display: block; margin: 0 0 4px; font-size: 13px; font-weight: 700; color: var(--pp-soft); }
.pp-mount input, .pp-mount select { display: block; width: 100%; min-height: 46px; padding: 10px 12px; border: 1.5px solid var(--pp-line); border-radius: 14px; background: var(--pp-mint); color: var(--pp-ink); font: inherit; font-size: 16px; }
.pp-mount input:focus, .pp-mount select:focus { outline: none; border-color: var(--pp-leaf); background: #fff; }
.pp-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 0; }
.pp-chip { min-height: 38px; padding: 6px 13px; border-radius: 999px; border: 1.5px solid var(--pp-line); background: #fff; color: var(--pp-ink); font: inherit; font-size: 14px; cursor: pointer; }
.pp-chip[aria-pressed="true"] { background: var(--pp-leaf); border-color: var(--pp-leaf); color: #fff; }
.pp-seg { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 16px; }
.pp-seg button { flex: 1 1 auto; min-height: 42px; padding: 6px 10px; border-radius: 14px; border: 1.5px solid var(--pp-line); background: var(--pp-mint); color: var(--pp-ink); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.pp-seg button[aria-pressed="true"] { background: var(--pp-ink); border-color: var(--pp-ink); color: #fff; }

/* banner */
.pp-banner { margin: 0 0 16px; }
.pp-banner img { display: block; width: 100%; height: auto; border-radius: 22px; box-shadow: 0 14px 30px rgba(31, 80, 45, .18); }
.pp-photo { margin: 20px 0; }
.pp-photo img { display: block; width: 100%; height: auto; border-radius: 20px; }
.pp-photo figcaption { margin-top: 6px; font-size: 13px; color: var(--pp-soft); font-style: italic; }
.pp-callout { margin: 18px 0; padding: 14px 16px; border-radius: 18px; background: #fff7e3; border: 1px solid #f1e0b2; font-size: 14.5px; }

/* today */
.pp-today { background: linear-gradient(165deg, #e5f1df, #fff 60%); }
.pp-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 4px 0 12px; }
.pp-stats div { padding: 10px 6px; border-radius: 16px; background: #fff; border: 1px solid var(--pp-line); text-align: center; }
.pp-stats b { display: block; font-family: 'Fern Head', Georgia, serif; font-weight: 400; font-size: 24px; line-height: 1.1; color: var(--pp-leaf2); }
.pp-stats span { font-size: 12px; color: var(--pp-soft); }
.pp-due { list-style: none; margin: 0; padding: 0; }
.pp-due li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--pp-line); }
.pp-due li:last-child { border-bottom: 0; }
.pp-due-name { min-width: 0; }
.pp-due-name strong, .pp-due-name small { display: block; }
.pp-due-name small { color: var(--pp-soft); font-size: 13px; }
.pp-soon { margin: 10px 0 0; font-size: 13.5px; color: var(--pp-soft); }
.pp-soon > span:first-child { font-weight: 700; color: var(--pp-ink); }
.pp-pod { border-left: 6px solid var(--pp-lime); }
.pp-sun { display: inline-flex; gap: 2px; vertical-align: middle; }
.pp-sun i { width: 9px; height: 9px; border-radius: 50%; background: #e4e9e1; }
.pp-sun i.on { background: var(--pp-sun); }

/* my plants */
.pp-head { display: flex; align-items: center; justify-content: space-between; }
.pp-head .pp-h { margin: 0; }
.pp-count { min-width: 30px; padding: 3px 10px; border-radius: 999px; background: var(--pp-mint); font-weight: 700; text-align: center; }
.pp-mines { list-style: none; margin: 12px 0 0; padding: 0; }
.pp-mine { margin: 0 0 10px; padding: 12px; border-radius: 18px; background: var(--pp-mint); border: 1.5px solid var(--pp-line); }
.pp-mine.is-late, .pp-mine.is-due { border-color: #e9b9a8; background: #fdf3ee; }
.pp-mine-top { display: flex; align-items: center; gap: 10px; }
.pp-avatar { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 14px; background: #fff; color: var(--pp-leaf); }
.pp-mine-txt { flex: 1; min-width: 0; }
.pp-mine-txt strong, .pp-mine-txt small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pp-mine-txt small { color: var(--pp-soft); font-size: 13px; }
.pp-pill { flex: none; padding: 4px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 700; background: #e3efe0; color: var(--pp-leaf2); }
.pp-pill.is-soon { background: #fff1cc; color: #7a5a00; }
.pp-pill.is-due { background: var(--pp-sky); color: #fff; }
.pp-pill.is-late { background: var(--pp-rose); color: #fff; }
.pp-bar { height: 6px; margin: 10px 0 6px; border-radius: 6px; background: #e1e9de; overflow: hidden; }
.pp-bar i { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, var(--pp-lime), var(--pp-sky)); }
.pp-mine-meta { font-size: 12.5px; color: var(--pp-soft); }
.pp-edit { margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--pp-line); }

/* library */
.pp-search { margin: 0; }
.pp-cards { list-style: none; margin: 0; padding: 0; }
.pp-plant { margin: 0 0 12px; padding: 16px; border-radius: 22px; background: #fff; border: 1px solid var(--pp-line); }
.pp-plant h3 { margin: 0 0 6px; font-family: 'Fern Head', Georgia, serif; font-weight: 400; font-size: 19px; }
.pp-plant-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.pp-lvl { flex: none; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; background: #e3efe0; color: var(--pp-leaf2); }
.pp-lvl.l2 { background: #fff1cc; color: #7a5a00; }
.pp-lvl.l3 { background: #fde1da; color: #9a3524; }
.pp-facts { list-style: none; margin: 4px 0 0; padding: 0; font-size: 14px; }
.pp-facts li { padding: 3px 0; }

/* calendar */
.pp-cal-head { display: flex; align-items: center; justify-content: space-between; margin: 0 0 8px; }
.pp-cal-head .pp-h { margin: 0; }
.pp-nav { width: 42px; height: 42px; border-radius: 14px; border: 1.5px solid var(--pp-line); background: var(--pp-mint); font-size: 22px; line-height: 1; color: var(--pp-leaf2); cursor: pointer; }
.pp-week, .pp-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.pp-week span { text-align: center; font-size: 12px; font-weight: 700; color: var(--pp-soft); padding: 4px 0; }
.pp-day { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 3px; min-width: 0; height: 48px; padding: 5px 0 0; border-radius: 12px; border: 1px solid transparent; background: var(--pp-mint); color: var(--pp-ink); font: inherit; font-size: 14px; cursor: pointer; }
.pp-day b { font-weight: 700; line-height: 1.1; }
.pp-day.is-blank { background: none; }
.pp-day.is-past { opacity: .6; }
.pp-day.is-today { border-color: var(--pp-leaf); }
.pp-day.is-sel { background: var(--pp-leaf); color: #fff; opacity: 1; }
.pp-dots { display: flex; gap: 2px; align-items: center; }
.pp-dots i, .pp-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; }
.pp-dots em { font-style: normal; font-size: 10px; line-height: 1; }
.c0 { background: #2f7d4f; } .c1 { background: #5aa6c8; } .c2 { background: #f2b84b; } .c3 { background: #d9614c; } .c4 { background: #8a6cc8; } .c5 { background: #7fb069; }
.pp-dots i.done { opacity: .45; }
.pp-day.is-sel .pp-dots i { box-shadow: 0 0 0 1.5px #fff; }

/* doctor */
.pp-symptoms, .pp-soil { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pp-sym { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-height: 64px; padding: 12px; border-radius: 16px; border: 1.5px solid var(--pp-line); background: var(--pp-mint); color: var(--pp-ink); font: inherit; font-size: 14px; font-weight: 700; text-align: left; cursor: pointer; }
.pp-sym small { font-weight: 400; color: var(--pp-soft); font-size: 12.5px; }
.pp-sym:active { border-color: var(--pp-leaf); }
.pp-causes { margin: 0 0 12px; padding: 0 0 0 20px; }
.pp-causes li { margin: 0 0 10px; }
.pp-causes p { margin: 2px 0 0; font-size: 14.5px; }
.pp-causes.is-dim { opacity: .65; list-style: disc; }
.pp-check { margin: 14px 0; padding: 12px; border-radius: 16px; background: #fbfdf9; border: 1px solid var(--pp-line); }

/* light */
.pp-gauge { margin: 4px 0 0; padding: 16px; border-radius: 18px; background: linear-gradient(160deg, #fff6dc, #fff); border: 1px solid #f1e0b2; text-align: center; }
.pp-gauge-bar { display: flex; justify-content: center; gap: 6px; margin: 0 0 8px; }
.pp-gauge-bar i { width: 42px; height: 12px; border-radius: 6px; background: #ece6d4; }
.pp-gauge-bar i.on { background: var(--pp-sun); }
.pp-gauge strong { display: block; font-family: 'Fern Head', Georgia, serif; font-weight: 400; font-size: 22px; }
.pp-gauge small { color: var(--pp-soft); font-size: 13.5px; }
.pp-fit { list-style: none; margin: 0; padding: 0; }
.pp-fit li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--pp-line); }
.pp-fit li:last-child { border-bottom: 0; }
.pp-fit strong, .pp-fit small { display: block; }
.pp-fit small { font-size: 12.5px; color: var(--pp-soft); }
