
:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;color:#223e32;background:#f7f7ee;font-synthesis:none;--green:#234c3c;--muted:#697568;--line:#dfe3d5;--cream:#f7f7ee;--lime:#dbe7a9;--orange:#f3c596}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.5;cursor:wait}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #cc862b;outline-offset:3px}button{border:0;border-radius:12px;min-height:46px;padding:11px 18px;background:var(--green);color:white;font-weight:650}button.secondary{background:#edf0e4;color:var(--green);border:1px solid var(--line)}button.ghost{background:transparent;color:var(--green);border:1px solid var(--line)}button.danger{background:#8b3e2e}a{color:var(--green)}h1,h2,h3,p{margin-top:0}h1,h2,h3{letter-spacing:-.035em}h1{font-size:clamp(2rem,4vw,3.4rem);line-height:1.06;font-weight:600}h2{font-size:1.65rem;font-weight:600}h3{font-size:1.1rem}p{line-height:1.6}.muted,small{color:var(--muted)}small{line-height:1.5}.eyebrow{text-transform:uppercase;font-size:.72rem;font-weight:750;letter-spacing:.16em;color:#697657;margin-bottom:12px}.layout{display:grid;grid-template-columns:240px 1fr;min-height:100dvh}.sidebar{position:fixed;inset:0 auto 0 0;width:240px;padding:34px 24px;border-right:1px solid var(--line);background:#eff1e5;display:flex;flex-direction:column;z-index:10}.brand{font-family:Georgia,serif;font-weight:bold;font-size:28px;letter-spacing:-1.1px;display:flex;align-items:center;gap:10px}.brand img{width:37px;border-radius:9px}.sidebar .sub{font-size:11px;letter-spacing:.15em;margin:9px 0 40px;color:#6d775e}.sidebar nav{display:flex;flex-direction:column;gap:7px}.sidebar nav button{background:transparent;color:#65705f;text-align:left;font-weight:500;display:flex;align-items:center;gap:12px}.sidebar nav button.active{background:#dfe7cc;color:#234c3c;font-weight:700}.sidebar footer{margin-top:auto;font-size:13px;padding-top:20px;color:#738069}.avatar{display:inline-grid;place-items:center;background:#dbe7a9;border-radius:50%;width:34px;height:34px;font-weight:700;color:#234c3c}.main{grid-column:2;max-width:1400px;width:100%;padding:32px 46px 80px}.topbar{display:flex;justify-content:space-between;gap:20px;align-items:center;border-bottom:1px solid var(--line);padding-bottom:22px;margin-bottom:35px;font-size:13px}.topbar .farm-name{font-weight:700}.pill{display:inline-flex;align-items:center;gap:6px;font-size:12px;background:#e8eddb;border-radius:99px;padding:7px 11px;color:#516344}.pill.orange{background:#fae9d5;color:#8a5929}.pill.warn{background:#f9e0d8;color:#8b3e2e}.heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:26px}.heading h1{margin-bottom:10px}.heading p{margin-bottom:0;color:var(--muted)}.hero{background:var(--green);border-radius:23px;overflow:hidden;color:#fff;display:grid;grid-template-columns:1.4fr 1fr;min-height:200px;margin-bottom:28px}.hero-copy{padding:30px}.hero h2{font-family:Georgia,serif;font-size:2.05rem;letter-spacing:-.04em;font-weight:400;margin-bottom:10px}.hero p{color:#d6e0ce;font-size:14px;max-width:450px;margin-bottom:18px}.hero .eyebrow{color:#c7d29e}.hero-art{position:relative;background:#355d47;overflow:hidden;min-height:210px}.sun{position:absolute;width:80px;height:80px;background:#e6c380;border-radius:50%;right:30%;top:27px}.hill{position:absolute;width:450px;height:200px;border-radius:50%;background:#93aa70;bottom:-140px;left:-140px;transform:rotate(-18deg)}.hill.two{background:#b2c28b;bottom:-115px;left:80px;transform:rotate(17deg)}.plant-art{font-size:110px;position:absolute;bottom:15px;left:20%;filter:saturate(.65)}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin-bottom:30px}.stat{border:1px solid var(--line);border-radius:15px;background:#fffef7;padding:20px}.stat b{font-size:30px;font-weight:550;letter-spacing:-1px;display:block;margin-top:12px}.stat small{font-size:12px}.columns{display:grid;grid-template-columns:1.55fr 1fr;gap:28px}.section-head{display:flex;align-items:center;justify-content:space-between;margin:4px 0 15px}.section-head h2{font-size:1.3rem;margin:0}.link-button{background:none;color:#385a40;font-size:13px;padding:8px;min-height:40px}.panel{border:1px solid var(--line);border-radius:17px;background:#fffef8;padding:22px;margin-bottom:20px}.task{display:flex;align-items:center;gap:13px;padding:16px 0;border-bottom:1px solid var(--line)}.task:last-child{border-bottom:0}.check{padding:0;min-height:28px;flex:0 0 28px;height:28px;border:1.5px solid #b9c8a6;border-radius:50%;background:transparent;color:var(--green);display:grid;place-items:center}.check.done{background:#dbe7a9;border-color:#dbe7a9}.task-body{flex:1;min-width:0}.task-title{font-size:14px;font-weight:650;line-height:1.5}.task-meta{font-size:12px;color:var(--muted);margin-top:4px}.task.completed .task-title{text-decoration:line-through;color:#76816f}.task-icon{font-size:21px;width:28px}.mini-action{background:none;padding:7px 8px;color:#52664c;min-width:40px;min-height:40px}.empty{padding:30px 10px;color:var(--muted);text-align:center;font-size:14px;line-height:1.7}.empty strong{display:block;color:var(--green);font-size:17px;margin:8px}.plant-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(235px,1fr));gap:18px}.plant-card{padding:0;text-align:left;overflow:hidden;background:#fffef8;border:1px solid var(--line);border-radius:18px;color:var(--green);font-weight:400}.plant-visual{height:125px;background:#e4ead5;display:flex;align-items:center;justify-content:center;font-size:66px;position:relative}.plant-visual .pill{position:absolute;top:12px;left:12px;background:#fffdf0}.plant-card-content{padding:19px}.plant-card h3{margin:0 0 6px;font-size:19px}.plant-card p{font-size:13px;margin-bottom:15px}.plant-card .foot{border-top:1px solid var(--line);padding-top:12px;font-size:12px;color:#6d7964}.toolbar{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:22px}.toolbar input{flex:1;min-width:160px}.toolbar select{width:auto;min-width:150px}label{display:block;font-size:13px;font-weight:650;margin-bottom:7px}input,select,textarea{width:100%;min-height:47px;border:1px solid #cdd5c3;border-radius:10px;padding:11px 12px;background:#fffefb;color:#253e31}textarea{resize:vertical;min-height:90px}.field{margin-bottom:17px}.fields{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}.field small{display:block;margin-top:6px;font-weight:400}.full{grid-column:1/-1}.hint{border-left:3px solid #a7bc78;background:#eef1e3;padding:12px 15px;font-size:13px;line-height:1.6;border-radius:0 8px 8px 0;margin-bottom:18px}.hint.warn{border-color:#c88d52;background:#faf0de}.actions{display:flex;gap:10px;justify-content:flex-end;flex-wrap:wrap;margin-top:22px}.actions .push{margin-right:auto}.tag-row{display:flex;gap:7px;flex-wrap:wrap;margin:12px 0}.details-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.detail-label{font-size:12px;color:var(--muted);margin-bottom:5px}.detail-value{font-size:15px}.log-item{border-left:2px solid #c5d49c;padding:2px 0 15px 16px;margin-bottom:13px}.log-item p{font-size:13px;margin:7px 0 0}.log-item small{font-size:12px}.auth{min-height:100dvh;display:grid;grid-template-columns:1fr 1fr}.auth-story{background:var(--green);color:var(--cream);padding:55px;display:flex;flex-direction:column;justify-content:space-between;overflow:hidden}.auth-story .brand{font-size:34px}.auth-story h1{font-family:Georgia,serif;font-size:clamp(3rem,5vw,5rem);font-weight:400;margin:60px 0 25px;max-width:600px}.auth-story p{max-width:400px;color:#d8e4c8}.auth-decoration{display:flex;gap:35px;font-size:70px;align-items:end;padding:30px 0}.auth-story small{color:#c8d8be}.auth-form{padding:60px 50px;display:flex;flex-direction:column;justify-content:center;max-width:550px;margin:auto;width:100%}.auth-form h2{font-size:30px}.tabs{display:flex;gap:5px;background:#ecefdf;padding:4px;border-radius:12px;margin:20px 0 28px}.tabs button{flex:1;background:transparent;color:#5e715a}.tabs button.active{background:#fffef8;box-shadow:0 1px 5px #19372114}.auth-form button[type=submit]{width:100%}.error{color:#a13f2f;font-size:14px;line-height:1.6;margin:10px 0}.loading{padding:80px;text-align:center}.offline{background:#fae5c7;color:#704b25;padding:10px 16px;border-radius:10px;font-size:13px;margin-bottom:20px}.notice{font-size:13px;line-height:1.6;color:#697568}.catalog-results{max-height:250px;overflow:auto;margin:10px 0 20px;border:1px solid var(--line);border-radius:12px}.crop-option{width:100%;border-bottom:1px solid var(--line);border-radius:0;background:#fffdf4;color:var(--green);text-align:left;font-weight:400;display:flex;align-items:center;gap:12px}.crop-option:hover{background:#edf2dc}.crop-option strong{display:block;font-size:14px}.crop-option small{font-size:11px}.selected-crop{background:#e8efd6;padding:14px;border-radius:12px;margin-bottom:20px}.selected-crop strong{display:block;margin-bottom:6px}.source{font-size:12px;color:var(--muted);line-height:1.65}.source a{word-break:break-word}dialog{width:min(620px,calc(100% - 28px));max-height:90dvh;overflow:auto;border:0;border-radius:21px;padding:28px;background:#fffef8;color:var(--green);box-shadow:0 20px 80px #102d3340}dialog::backdrop{background:#102a2366;backdrop-filter:blur(3px)}.modal-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.modal-head h2{margin:0}.modal-head button{background:transparent;color:var(--green);font-size:24px;padding:0;width:44px}.calendar-url{font-family:ui-monospace,monospace;font-size:12px;word-break:break-all;background:#edf0e2;padding:12px;border-radius:9px;margin:12px 0}.weather-number{font-size:32px;font-weight:550;margin:10px 0}.weather-row{display:flex;gap:25px;margin:15px 0}.weather-row small{display:block}.weather-row b{font-size:16px;font-weight:600}#toast{position:fixed;left:50%;transform:translateX(-50%);bottom:25px;max-width:90vw;background:#233f31;color:white;padding:13px 20px;border-radius:12px;z-index:50;box-shadow:0 5px 25px #17351b26;display:none;font-size:14px}#toast.visible{display:block}.group-chip{display:flex;gap:10px;align-items:center;justify-content:space-between;padding:16px;border-bottom:1px solid var(--line)}.mobile-brand{display:none}.inline-check{display:flex;align-items:center;gap:10px;font-weight:400;font-size:13px}.inline-check input{width:20px;min-height:20px}.divider{border:0;border-top:1px solid var(--line);margin:25px 0}.list-counter{font-size:12px;color:var(--muted)}
@media(min-width:1500px){.main{margin:0 auto}}
@media(max-width:1100px){.main{padding:28px}.layout{grid-template-columns:200px 1fr}.sidebar{width:200px;padding:30px 18px}.brand{font-size:25px}.columns{grid-template-columns:1fr}.hero{grid-template-columns:1.5fr 1fr}.hero-copy{padding:25px}.auth-story{padding:35px}.auth-form{padding:35px}}
@media(max-width:700px){.layout{display:block}.sidebar{position:fixed;top:auto;bottom:0;left:0;right:0;width:auto;height:76px;padding:7px 8px max(7px,env(safe-area-inset-bottom));border:0;border-top:1px solid var(--line);background:#f7f8ef}.sidebar .brand,.sidebar .sub,.sidebar footer{display:none}.sidebar nav{flex-direction:row;justify-content:space-around;gap:2px}.sidebar nav button{flex:1;flex-direction:column;gap:2px;font-size:10px;padding:7px 3px;border-radius:10px;min-height:56px}.sidebar nav button span:first-child{font-size:20px}.main{padding:20px 18px 100px}.topbar{padding-bottom:16px;margin-bottom:25px}.mobile-brand{display:flex;font-family:Georgia,serif;font-size:21px;align-items:center;gap:8px}.mobile-brand img{width:29px;border-radius:7px}.topbar .desktop-date{display:none}.heading{align-items:flex-start;gap:10px}.heading h1{font-size:31px}.heading p{font-size:13px;max-width:250px}.heading>button{font-size:12px;padding:9px 12px;white-space:nowrap}.hero{min-height:180px;grid-template-columns:1.6fr 1fr;border-radius:18px;margin-bottom:20px}.hero-copy{padding:22px}.hero h2{font-size:25px}.hero p{font-size:12px}.hero .eyebrow{font-size:10px}.hero-art{min-height:170px}.plant-art{font-size:75px;left:5%;bottom:20px}.sun{width:55px;height:55px;right:15%;top:25px}.hero button{font-size:12px;padding:7px 12px;min-height:38px}.stats{gap:9px;margin-bottom:24px}.stat{padding:15px 12px;border-radius:12px}.stat small{font-size:10px}.stat b{font-size:26px;margin-top:8px}.columns{gap:10px}.panel{padding:17px}.plant-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.plant-visual{height:105px;font-size:54px}.plant-card-content{padding:14px}.plant-card h3{font-size:17px}.plant-card p{font-size:12px}.plant-visual .pill{font-size:10px;left:8px;top:8px;padding:5px 8px}.plant-card .foot{font-size:10px}.auth{display:block}.auth-story{padding:28px 25px 22px;min-height:270px}.auth-story .brand{font-size:28px}.auth-story h1{font-size:40px;margin:30px 0 12px;max-width:350px}.auth-story p{font-size:13px;margin-bottom:0}.auth-decoration,.auth-story>small{display:none}.auth-form{padding:30px 25px 45px}.auth-form h2{font-size:25px;margin-bottom:10px}.details-grid{grid-template-columns:1fr}.fields{gap:0 12px}.field label{font-size:12px}.task-title{font-size:13px}.task-meta{font-size:11px}.task-icon{display:none}.section-head h2{font-size:20px}.hint{font-size:12px}.actions button{flex:1}dialog{padding:22px}.calendar-url{font-size:11px}}
@media(prefers-reduced-motion:no-preference){button,a{transition:transform .15s}button:active{transform:translateY(1px)}}
.check{position:relative;isolation:isolate;min-height:44px;min-width:44px;flex:0 0 44px;width:44px;height:44px;border:0;background:transparent}.check::before{content:"";position:absolute;inset:8px;border:1.5px solid #b9c8a6;border-radius:50%;z-index:-1}.check.done{background:transparent}.check.done::before{background:#dbe7a9;border-color:#dbe7a9}.mini-action{min-height:44px;min-width:44px}

:root[data-theme="dark"]{color-scheme:dark;color:#e4ecdf;background:#14201a;--green:#b9d6a2;--muted:#b0bcab;--line:#465447;--cream:#e7eddf}
:root[data-theme="dark"] body{background:#14201a}
:root[data-theme="dark"] button{background:#b9d6a2;color:#182b1e}
:root[data-theme="dark"] button.secondary,:root[data-theme="dark"] button.ghost{background:#2a3b2e;color:#d5e5c7}
:root[data-theme="dark"] button.danger{background:#944c3c;color:#fff0e8}
:root[data-theme="dark"] a,:root[data-theme="dark"] .link-button,:root[data-theme="dark"] .mini-action{color:#c5dda7}
:root[data-theme="dark"] .sidebar{background:#1b2a20}
:root[data-theme="dark"] .sidebar .sub,:root[data-theme="dark"] .sidebar footer,:root[data-theme="dark"] .sidebar nav button{color:#b4c0a9}
:root[data-theme="dark"] .sidebar nav button{background:transparent;color:#c9d5bd}
:root[data-theme="dark"] .sidebar nav button.active{background:#3c5036;color:#e7efd9}
:root[data-theme="dark"] .panel,:root[data-theme="dark"] .stat,:root[data-theme="dark"] .plant-card,:root[data-theme="dark"] dialog,:root[data-theme="dark"] .tabs button.active{background:#202f25;color:#e4ecdf}
:root[data-theme="dark"] .eyebrow,:root[data-theme="dark"] .plant-card .foot,:root[data-theme="dark"] .notice{color:#b2c0a7}
:root[data-theme="dark"] .pill{background:#35462e;color:#e0eccf}
:root[data-theme="dark"] .pill.orange{background:#58412a;color:#f5d7ad}
:root[data-theme="dark"] .pill.warn{background:#613c32;color:#ffdbca}
:root[data-theme="dark"] .hero,:root[data-theme="dark"] .auth-story{background:#234c3c;color:#f2f5ea}
:root[data-theme="dark"] .plant-visual{background:#30432c}
:root[data-theme="dark"] .plant-visual .pill{background:#1c3022;color:#dfedcf}
:root[data-theme="dark"] input,:root[data-theme="dark"] select,:root[data-theme="dark"] textarea{background:#17271d;color:#e9f0e3;border-color:#67775c}
:root[data-theme="dark"] input::placeholder,:root[data-theme="dark"] textarea::placeholder{color:#9da995;opacity:1}
:root[data-theme="dark"] .hint,:root[data-theme="dark"] .selected-crop,:root[data-theme="dark"] .calendar-url,:root[data-theme="dark"] .tabs{background:#30402c;color:#e1e9d7}
:root[data-theme="dark"] .hint.warn,:root[data-theme="dark"] .offline{background:#503d27;color:#f5dcba}
:root[data-theme="dark"] .crop-option{background:#213125;color:#e1ecd6}
:root[data-theme="dark"] .crop-option:hover{background:#35492f}
:root[data-theme="dark"] .error{color:#ffb7a4}
:root[data-theme="dark"] .task.completed .task-title{color:#a3b09a}
:root[data-theme="dark"] .check,:root[data-theme="dark"] .check.done,:root[data-theme="dark"] .mini-action,:root[data-theme="dark"] .link-button,:root[data-theme="dark"] .modal-head button{background:transparent}
:root[data-theme="dark"] .check.done::before{background:#b9d6a2;border-color:#b9d6a2}
:root[data-theme="dark"] .check.done{color:#182b1e}
:root[data-theme="dark"] #toast{background:#d3e5bf;color:#17271d}
.fields{grid-template-columns:repeat(2,minmax(0,1fr))}.field{min-width:0}input,select,textarea{max-width:100%;min-width:0}
:root[data-theme="dark"] .modal-head button{color:#e4ecdf}
@media(max-width:380px){.fields{grid-template-columns:minmax(0,1fr)}}

