:root{--bg:#f5f3ed;--paper:#fdfcf8;--green:#42694e;--ink:#28372c;--muted:#74776f;--line:#e7e6de}*{box-sizing:border-box}body{margin:0;background:var(--bg);font:16px/1.45 'Segoe UI',Arial,sans-serif;color:var(--ink)}button,input,select,textarea{font:inherit}button{cursor:pointer;color:inherit}a{color:inherit}button:focus-visible,a:focus-visible{outline:3px solid #a97c7f;outline-offset:3px}.demo{text-align:center;font-size:12px;background:#e8ebe1;color:#64715e;padding:5px}.shell{max-width:1080px;margin:auto}header{display:flex;justify-content:space-between;align-items:center;padding:25px 36px;border-bottom:1px solid var(--line);color:var(--muted);font-size:14px}header a{text-decoration:none;font:26px Georgia,serif;color:var(--green)}main{padding:30px 36px 110px;min-height:75vh}h1{font-size:28px;line-height:1.2;margin:0}h2{font-size:20px;margin:0 0 18px}h3{font-size:17px;margin:0 0 4px}p{margin:0 0 12px}.muted{color:var(--muted);font-size:14px}.top{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px;gap:12px}.circle{border:0;background:var(--green);color:white;width:42px;height:42px;border-radius:50%;font-size:28px;display:grid;place-items:center}.icon-btn{border:0;background:transparent;font-size:25px;padding:5px 10px}.primary,.secondary{border:0;border-radius:22px;padding:12px 22px;min-height:44px}.primary{background:linear-gradient(110deg,#42694e,#598461);color:white}.secondary{background:#dce4d6;color:#2d4b36}.wide{width:100%;margin-top:20px}.filters,.tabs{display:flex;gap:8px;overflow:auto;margin-bottom:20px}.filters button{border:0;background:#eeeee7;padding:8px 16px;border-radius:22px;white-space:nowrap;font-size:14px}.filters button.active{background:var(--green);color:white}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.plant{position:relative;background:var(--paper);border:1px solid var(--line);border-radius:14px;overflow:hidden}.plant-open{display:block;width:100%;padding:0;border:0;background:transparent;text-align:left}.plant img{width:100%;aspect-ratio:1;object-fit:cover;display:block}.plant-body{padding:13px 44px 13px 13px}.plant-body p{margin:0}.favorite{position:absolute;right:8px;bottom:23px;border:0;background:transparent;color:#687265;font-size:25px;padding:2px 5px}.favorite.on{color:#e56e75}.add-tile{min-height:180px;border:1px dashed #d8dbcf;border-radius:14px;background:transparent;display:flex;flex-direction:column;gap:14px;align-items:center;justify-content:center;font-size:15px}#navigation{position:fixed;bottom:0;left:50%;transform:translateX(-50%);display:flex;justify-content:center;width:min(1080px,100%);background:#faf9f4f5;border-top:1px solid var(--line);backdrop-filter:blur(12px);z-index:4;padding:10px 20px max(12px,env(safe-area-inset-bottom))}#navigation button{border:0;background:none;display:flex;flex:1;max-width:160px;flex-direction:column;align-items:center;gap:3px;font-size:12px;color:#767b72}#navigation button.active{color:var(--green);font-weight:600}#navigation svg{width:24px;height:24px}.hero-photo{position:relative;margin:-30px -36px 0}.hero-photo>img{display:block;width:100%;height:340px;object-fit:cover}.hero-top{position:absolute;top:20px;left:20px;right:20px;display:flex;justify-content:space-between}.hero-top button{border:0;background:#f6f5edcc;border-radius:50%;width:38px;height:38px;font-size:24px}.plant-sheet{position:relative;background:var(--paper);border-radius:28px 28px 0 0;margin:-25px -36px 0;padding:26px 36px 35px;min-height:400px}.plant-sheet .top{margin-bottom:14px}.heart{font-size:28px;color:#e56e75;border:0;background:transparent}.tabs{border-bottom:1px solid var(--line);gap:22px}.tabs button{padding:12px 0;border:0;border-bottom:2px solid transparent;white-space:nowrap;background:none;font-size:14px;color:var(--muted)}.tabs button.active{color:var(--ink);border-color:var(--green);font-weight:600}.care-row{display:flex;align-items:center;padding:15px 0;border-bottom:1px solid var(--line);gap:17px}.care-icon{font-size:26px;width:37px;text-align:center}.care-row .when{margin-left:auto;font-size:14px;color:#786a54}.care-row p{margin:0}.section{margin-top:28px}.task{display:flex;align-items:center;gap:14px;padding:17px 0;border-bottom:1px solid var(--line)}.task img{width:55px;height:55px;object-fit:cover;border-radius:10px}.task-info{flex:1}.task-info p{margin:0}.check{width:27px;height:27px;border-radius:50%;border:1.5px solid var(--green);background:transparent;flex-shrink:0}.task-options{border:0;background:none;color:var(--muted);font-size:20px}.quote{margin-top:32px;background:#eee9dd;border:1px solid #e6e0d1;border-radius:18px;padding:25px;text-align:center;font:italic 19px/1.6 Georgia,serif;color:#776652}.quote span{color:#cf767c}.timeline{border-left:1px solid #cdd8c7;margin-left:5px;padding-left:20px}.photo-day{position:relative;padding:0 0 24px}.photo-day:before{content:'';position:absolute;left:-25px;top:8px;width:9px;height:9px;background:#557858;border-radius:50%}.photo-day>p{font-size:14px;font-weight:600}.photo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.photo-grid button{padding:0;border:0;background:none}.photo-grid img{display:block;width:100%;aspect-ratio:1;object-fit:cover;border-radius:12px}label{display:block;margin:16px 0 6px;font-size:14px}input,select,textarea{width:100%;border:1px solid var(--line);background:var(--paper);padding:13px;border-radius:12px;color:var(--ink)}textarea{min-height:110px;resize:vertical}.search{border-radius:25px;background:#ecece5;margin-bottom:22px}.species-grid,.care-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.species,.care-choice{padding:0 0 10px;border:1px solid transparent;border-radius:12px;background:transparent;overflow:hidden;font-size:14px}.species img{width:100%;aspect-ratio:1;object-fit:cover;display:block;border-radius:10px;margin-bottom:8px}.species.active,.care-choice.active{background:#e0e8da;border-color:#6c8b66}.species .no-photo{margin-bottom:8px}.care-choice{background:var(--paper);border-color:var(--line);padding:17px 5px}.care-choice span{display:block;font-size:30px;margin-bottom:5px}.plant-mini{display:flex;gap:16px;align-items:center;margin:24px 0}.plant-mini img{width:70px;height:70px;object-fit:cover;border-radius:50%}.plant-mini p{margin:0}.narrow{max-width:610px;margin:auto}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;text-align:center;margin:25px 0}.stats strong{display:block;font-size:27px}.stats span{font-size:14px;color:var(--muted)}.achievements{padding:23px;background:#fffcf6;border-radius:18px}.badges{display:flex;justify-content:space-around;gap:14px;text-align:center}.badge{flex:1;font-size:13px}.badge>b{display:grid;place-items:center;font-size:28px;background:#ece4cf;border-radius:50%;width:66px;height:66px;margin:0 auto 10px}.badge:nth-child(2)>b{background:#dce8df}.badge:nth-child(3)>b{background:#f2ddd4}.badge.locked{opacity:.5}.empty{padding:35px 15px;text-align:center;color:var(--muted)}.welcome-screen{position:relative;min-height:650px;border-radius:28px;overflow:hidden;background:#eeeade;padding:65px 40px 35px;display:flex;flex-direction:column;align-items:start}.welcome-screen>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.55}.welcome-screen:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#f5f1e9 0%,#f5f1e9ee 40%,#f5f1e911 100%)}.welcome-screen>*:not(img){position:relative;z-index:1}.welcome-screen h1{font:italic 43px/1.2 Georgia,serif;color:var(--green);max-width:350px}.welcome-screen>p{font:italic 22px/1.5 Georgia,serif;max-width:300px;margin-top:20px}.welcome-points{margin:30px 0 40px;display:grid;gap:24px}.welcome-points div{display:flex;gap:18px;align-items:center}.welcome-points span{font-size:26px}.welcome-screen button{margin-top:auto;width:100%}dialog{border:0;border-radius:23px;background:var(--paper);color:var(--ink);width:480px;max-width:calc(100% - 28px);max-height:90vh;padding:25px}dialog::backdrop{background:#263b2c66;backdrop-filter:blur(4px)}.dialog-head{display:flex;justify-content:space-between;align-items:start}.dialog-head h2{margin-top:7px}#toast{display:none;position:fixed;bottom:90px;left:50%;transform:translateX(-50%);background:var(--green);color:white;padding:12px 22px;border-radius:20px;z-index:6;max-width:90%;text-align:center}.full-photo{width:100%;max-height:60vh;object-fit:contain}.note-card{padding:18px;background:#f2eee3;border-radius:14px;margin:12px 0}.no-photo{background:#e3e6dc;display:grid;place-items:center;aspect-ratio:1;color:#67785d}.text-btn{border:0;background:none;color:var(--green);padding:10px}
@media(min-width:761px){.hero-photo{max-width:460px;margin:0;float:left;width:43%}.hero-photo>img{height:auto;aspect-ratio:1;border-radius:22px}.plant-sheet{margin:0 0 0 47%;padding:5px 0;background:transparent;border-radius:0}.detail-page{min-height:650px}.detail-page:after{content:'';display:block;clear:both}.welcome-screen{max-width:700px;margin:auto}}
@media(max-width:760px){header{display:none}main{padding:22px 18px 100px}h1{font-size:25px}.top{margin-bottom:20px}.grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.plant-body{padding:9px 33px 10px 9px}.plant-body h3{font-size:15px}.plant-body .muted{font-size:13px}.favorite{right:3px;bottom:20px;font-size:23px}.filters{gap:6px}.filters button{padding:7px 11px;font-size:13px}.hero-photo{margin:-22px -18px 0}.hero-photo>img{height:260px}.plant-sheet{margin:-25px -18px 0;padding:23px 18px 20px}.plant-sheet h1{font-size:25px}.tabs{gap:0;justify-content:space-between}.tabs button{font-size:13px}.care-row{gap:9px}.care-row .when{font-size:12px}.photo-grid{gap:7px}.species-grid,.care-grid{gap:10px}.species{font-size:12px}.care-choice{font-size:13px}.welcome-screen{margin:-22px -18px -20px;border-radius:0;min-height:calc(100svh - 70px);padding:70px 26px 30px}.welcome-screen h1{font-size:39px;max-width:260px}.welcome-screen>p{font-size:21px;max-width:260px}.badge>b{width:58px;height:58px}.quote{font-size:18px}.stats span{font-size:12px}}
/* Airy collection and original prototype typography. */
h1{font-family:Georgia,'Times New Roman',serif;font-size:42px;font-weight:400;line-height:1.15;letter-spacing:-1px}h2{font-family:Georgia,'Times New Roman',serif;font-size:28px;font-weight:400;line-height:1.2}h3{font-family:Georgia,'Times New Roman',serif;font-size:25px;font-weight:400;line-height:1.25}main{padding-top:42px}.top{margin-bottom:30px}.filters{margin-bottom:30px;gap:10px}.filters button{padding:9px 17px}.grid{gap:24px}.plant{border-radius:18px;background:#fffdf7;box-shadow:0 5px 20px #39443104}.plant-body{padding:20px 46px 20px 20px}.plant-body h3{margin-bottom:7px}.plant-body .muted{font-size:14px}.favorite{bottom:31px;right:11px}.add-tile{border-radius:18px;gap:18px}.plant-sheet h1{font-family:Georgia,'Times New Roman',serif;font-size:36px;font-weight:400}.plant-sheet .top{margin-bottom:20px}.plant-mini h3,.task-info h3{font-size:24px}.welcome-screen h1{font-family:Georgia,'Times New Roman',serif}.collection-intro{margin:10px 0 0;color:var(--muted);font-size:16px;line-height:1.6}.collection-head{margin-bottom:28px;padding-top:3px}.collection-head h1{margin:0}.collection-head .circle{width:44px;height:44px}.collection-footnote{margin:32px 0 0;padding:10px 0;color:var(--muted);font-size:14px;line-height:1.7;display:flex;align-items:center;gap:16px}.collection-footnote>span{font:32px Georgia,serif;color:#ad817d}.collection-footnote p{margin:0}
@media(min-width:761px){main{padding-left:44px;padding-right:44px}.collection-head{margin-top:5px;margin-bottom:32px}.grid{gap:25px}.filters{margin-bottom:32px}}
@media(max-width:760px){main{padding-top:28px}h1{font-size:35px}h2{font-size:26px}h3{font-size:23px}.top{margin-bottom:24px}.collection-head{gap:15px;margin-bottom:24px}.collection-head h1{font-size:35px}.collection-intro{font-size:14px;max-width:250px;margin-top:10px}.filters{gap:7px;margin-bottom:24px}.filters button{font-size:13px;padding:8px 12px}.grid{gap:16px 14px}.plant-body{padding:16px 32px 16px 13px}.plant-body h3{font-size:22px;margin-bottom:6px;overflow-wrap:anywhere}.plant-body .muted{font-size:13px}.favorite{bottom:29px;right:3px;font-size:23px}.plant{border-radius:15px}.plant-sheet h1{font-size:32px}.hero-photo{margin-top:-28px}.welcome-screen{margin-top:-28px}.collection-footnote{margin-top:24px;font-size:14px}.collection-head .circle{flex-shrink:0;width:40px;height:40px}.plant-mini h3{font-size:23px}}
/* Calendar is scoped to Tasks / Upcoming. */
.care-calendar{background:var(--paper);border:1px solid var(--line);border-radius:18px;padding:18px;margin:0 0 26px}.calendar-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px;gap:8px}.calendar-heading strong{text-transform:capitalize;font-weight:500}.calendar-heading button{width:40px;height:40px;background:transparent;border:0;border-radius:50%;font-size:27px;color:var(--green)}.calendar-weekdays,.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px}.calendar-weekdays{text-align:center;color:var(--muted);font-size:13px;margin-bottom:8px}.calendar-day{min-height:49px;border:1px solid transparent;border-radius:12px;background:transparent;position:relative;padding:7px 2px;color:var(--ink)}.calendar-day.is-today{border-color:var(--green)}.calendar-day.has-care{background:var(--green);color:white}.calendar-day small{display:block;font-size:11px;line-height:1.1}.calendar-day:hover{box-shadow:inset 0 0 0 1px var(--green)}.calendar-legend{font-size:13px;color:var(--muted);margin:15px 0 0;line-height:1.5}@media(max-width:400px){.care-calendar{padding:12px}.calendar-grid{gap:3px}.calendar-day{min-height:45px}}
/* Welcome image only: retain natural photo colours. */
.welcome-screen>img{opacity:1}
/* Matching leaf above the Home heading. */
.collection-top-leaf{font:32px Georgia,serif;color:#ad817d;margin:0 0 12px;line-height:1}
.collection-inline-leaf{font:32px Georgia,serif;color:#ad817d;vertical-align:middle;margin-right:10px;line-height:1}
/* Emphasise the existing add-plant tile. */
.add-tile{background:#e7ecdf;border:2px dashed #9aaf90;color:var(--green);font-weight:500}
.add-tile .circle{width:64px;height:64px;font-size:42px;box-shadow:0 5px 14px #42694e20}
.add-tile:hover{background:#dfe7d5;border-color:var(--green)}
/* Match the prominent add icon within the Other species tile. */
.other-plant-plus{display:grid;place-items:center;width:64px;height:64px;border-radius:50%;background:var(--green);color:white;font-size:42px;line-height:1;box-shadow:0 5px 14px #42694e20}
#form input[name="type"]::placeholder{color:#989c94;opacity:1}
/* Decorative illustration beside the collection title; no layout displacement. */
.collection-head{position:relative}
.collection-heading-plant{position:absolute;right:72px;top:50%;transform:translateY(-50%);width:150px;height:135px;object-fit:cover;object-position:right center;mix-blend-mode:multiply;pointer-events:none}
@media(max-width:760px){.collection-heading-plant{right:49px;width:65px;height:105px;object-fit:cover;object-position:right center}.collection-head>div{position:relative;z-index:1}}
@media(max-width:440px){.collection-heading-plant{right:0;top:72px;transform:none;width:55px;height:90px;opacity:.95}}
/* Main plant photo upload controls only. */
.plant-cover-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;width:100%;height:340px;border:0;background:#e3e6dc;color:var(--green);padding:64px 20px;font-size:16px}
.plant-cover-empty>span{display:grid;place-items:center;width:60px;height:60px;border-radius:50%;background:var(--green);color:white;font-size:38px}
.plant-cover-change{position:absolute;bottom:42px;right:16px;z-index:1;border:1px solid var(--line);border-radius:22px;background:var(--paper);color:var(--green);padding:10px 17px;min-height:44px;font-size:14px}
@media(min-width:761px){.plant-cover-empty{height:auto;aspect-ratio:1;border-radius:22px}.plant-cover-change{bottom:16px}}
@media(max-width:760px){.plant-cover-empty{height:260px}}
.batch-bar{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:10px 0 20px}.batch-bar button:disabled{opacity:.5;cursor:default}.selectable-plant{min-width:0}.batch-check{display:flex;align-items:center;gap:8px;margin:10px 4px;font-size:14px}.batch-check input,.task-select{width:20px;height:20px;accent-color:var(--green);flex-shrink:0}.overdue{color:#98604b}
.auth-panel{max-width:490px;margin:40px auto;padding:20px}.auth-card{padding:30px;background:var(--paper);border:1px solid var(--line);border-radius:24px}.auth-leaf{color:#ad817d;font:36px Georgia,serif}.auth-card h1{margin:12px 0 16px;font-size:35px}.auth-card input{margin-bottom:12px}.auth-card #auth-error{color:#974b42;font-size:14px}.account-controls{margin-top:24px;padding-top:18px;border-top:1px solid var(--line)}[hidden]{display:none!important}@media(max-width:500px){.auth-panel{margin:20px auto;padding:15px}.auth-card{padding:23px}}

.care-summary .care-row{min-height:70px}
.care-summary .scheduled{color:var(--green);font-weight:600}
.history-link{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;padding:18px 3px;border:0;border-bottom:1px solid var(--line);background:none;color:var(--green);font-size:16px;text-align:left}
.history-link>span:last-child{font-size:24px}
.history-back{border:0;background:none;padding:8px 0;margin:0 0 20px;color:var(--green);font-size:14px}
.history-subtitle{margin:9px 0 20px}
.history-add{margin-top:0}
.history-help{margin:15px 0 24px;line-height:1.6}
.care-history-item{background:var(--paper);border:1px solid var(--line);border-radius:18px;padding:19px;margin-bottom:14px}
.care-history-heading{display:flex;align-items:center;gap:13px}
.history-symbol{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#edf0e7;font-size:23px;flex-shrink:0}
.care-history-heading h2{font-family:inherit;font-size:17px;margin:0 0 3px}
.care-history-heading time{font-size:13px;color:var(--muted)}
.history-note{font-size:15px;line-height:1.6;margin:15px 0 0;white-space:pre-wrap;overflow-wrap:anywhere}
.history-photo{display:block;border:0;padding:0;background:none;margin-top:15px;width:100%}
.history-photo img{display:block;width:100%;max-height:230px;object-fit:cover;border-radius:12px}
.completed-care-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.completed-care-page h1{font-size:29px;line-height:1.15}
.field-hint{font-size:12px;line-height:1.5;margin:8px 0 0}
.history-warning{font-size:13px;color:#98604b;margin-top:10px}
