@font-face{font-family:PlantPixel;src:url("./fonts/plant-pixel.5310f9add1e8.ttf") format('truetype');font-display:swap;font-weight:400}
:root{--bg:#fcefd6;--paper:#fff8e7;--deep:#f5e6c6;--ink:#4a3426;--muted:#80614b;--line:#dcc4a0;--green:#326e4d;--mint:#dff0d8;--pink:#f9aec0;--yellow:#ffd24a;--danger:#a92b3d;--radius:12px;--display:PlantPixel,'PingFang SC',sans-serif}
*{box-sizing:border-box}html{color-scheme:light;scrollbar-color:#c09e78 var(--bg);scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,'PingFang SC','Microsoft YaHei',sans-serif;font-size:15px;line-height:1.65}::selection{background:var(--pink);color:var(--ink)}a{color:inherit;text-underline-offset:5px}button,input,select,textarea{font:inherit;color:inherit}button,a,input,select,textarea{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}a,button,input,select,textarea,summary{outline-offset:5px}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid var(--green)}input,textarea{caret-color:var(--green)}button,a{-webkit-tap-highlight-color:transparent}h1,h2,h3,p{margin-top:0}h1,h2,h3{text-wrap:balance;line-height:1.35}h1{font-family:var(--display);font-weight:400;font-size:36px;margin-bottom:12px}h2{font-family:var(--display);font-weight:400;font-size:24px;margin-bottom:12px}h3{font-size:19px;margin-bottom:6px}p{margin-bottom:18px}small,.muted{color:var(--muted)}.icon{width:21px;height:21px;flex-shrink:0;vertical-align:middle}.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:46px;padding:10px 19px;border:1px solid #b9946b;border-radius:7px;background:var(--paper);font-weight:600;text-decoration:none;transition:background .18s,transform .18s}.button:hover{background:var(--deep)}.button:active{transform:translateY(1px)}.primary{background:var(--green);color:#fff8e7;border-color:var(--green)}.primary:hover{background:#25583d}.danger{color:var(--danger);border-color:#c58d85}.full{width:100%}.text-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;border:0;background:none;padding:8px 0;color:var(--green);font-weight:600;min-height:44px;text-decoration:none}.text-button:hover{text-decoration:underline;text-underline-offset:5px}.actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.sprite{object-fit:contain;image-rendering:pixelated;flex-shrink:0}.brand{display:inline-flex;align-items:center;gap:12px;text-decoration:none}.brand>.icon{width:36px;height:36px;color:var(--green)}.brand>span{font-family:var(--display);font-size:25px;line-height:1.35}.brand small{display:block;font-family:inherit;font-size:12px;letter-spacing:1px;margin-top:5px}.skip-link{position:fixed;top:-80px;left:20px;z-index:1000;background:var(--paper);padding:12px}.skip-link:focus{top:10px}.auth-page{max-width:1240px;margin:auto;padding:34px 48px 20px}.auth-page>header{display:flex;align-items:center;justify-content:space-between}.auth-layout{display:grid;grid-template-columns:1.1fr 1fr;gap:85px;align-items:center;min-height:calc(100vh - 180px);padding:55px 24px}.welcome h1{font-size:48px;line-height:1.5;margin-bottom:20px}.welcome>p{font-size:18px;color:var(--muted)}.plant-window{position:relative;height:248px;width:365px;max-width:100%;display:flex;align-items:flex-end;justify-content:center;gap:5px;margin:28px 0 24px;background:#f7dfb1;border:8px solid #c69b66;border-bottom-width:14px;border-radius:100px 100px 0 0}.plant-window:before{content:'';position:absolute;top:0;bottom:0;left:49%;width:7px;background:#c69b66}.window-sun{position:absolute;top:20px;right:42px;color:#a36a17}.window-sun .icon{height:44px;width:44px}.plant-window>.sprite{position:relative;z-index:1;width:95px;height:132px;margin-bottom:-2px}.plant-window .window-leaf{width:120px;height:164px}.window-sill{position:absolute;bottom:-18px;left:-25px;right:-25px;height:10px;background:#8f603c}.welcome-note{display:flex;align-items:center;gap:14px;font-size:13px;color:var(--muted)}.welcome-note .icon{width:30px;height:30px}.auth-panel{background:var(--paper);border:1px solid var(--line);border-radius:16px;padding:36px 32px;position:relative}.auth-panel h2{font-size:24px}.auth-panel>.muted{font-size:14px;margin-bottom:25px}.field{display:flex;flex-direction:column;gap:7px;margin-bottom:18px;font-size:14px;font-weight:600}.field input,.field select,.field textarea,.compact-field input,.compact-field select{display:block;width:100%;padding:12px 13px;border:1px solid #c9ad89;border-radius:6px;background:#fffdf5;min-height:48px;font-size:15px;font-weight:400;transition:border-color .2s}.field input:hover,.field select:hover,.field textarea:hover{border-color:var(--ink)}.field input::placeholder,.field textarea::placeholder{color:#886d55;font-size:13px;opacity:1}.field textarea{resize:vertical}.form-error:empty{display:none}.form-error{color:var(--danger);font-size:14px;overflow-wrap:anywhere}.auth-links{display:flex;justify-content:space-between;gap:10px;font-size:13px;margin-top:13px}.privacy-note{border-top:1px solid var(--line);padding-top:20px;margin:20px 0 0;color:var(--muted);font-size:12px;line-height:1.9}.privacy-note .icon{width:15px;height:15px;margin-right:4px}.auth-page>footer{display:flex;justify-content:space-between;font-size:12px;color:var(--muted);gap:15px;padding-top:15px}.app-layout{display:grid;grid-template-columns:236px minmax(0,1fr);min-height:100vh}.sidebar{position:sticky;top:0;height:100vh;border-right:1px solid var(--line);padding:30px 22px 18px;display:flex;flex-direction:column;background:#f7e8cb}.sidebar .brand{margin:0 6px 42px}.sidebar .brand>span{font-size:23px}.sidebar nav{display:flex;flex-direction:column;gap:10px}.nav-link{display:flex;align-items:center;gap:14px;text-decoration:none;padding:13px 18px;border-radius:8px;min-height:50px;color:var(--muted);font-weight:500}.nav-link:hover{background:#efddbc}.nav-link.active{background:var(--green);color:var(--paper)}.sidebar-bottom{margin-top:auto}.little-garden{display:flex;align-items:center;gap:6px;margin:24px 0}.little-garden .sprite{width:64px;height:80px}.little-garden p{font-family:var(--display);font-size:12px;margin:0;color:var(--muted);line-height:2}.account-mini{border-top:1px solid var(--line);padding-top:20px;display:flex;align-items:center;gap:14px}.account-mini>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.account-mini small{display:block;font-size:12px}.workspace{min-width:0;max-width:1600px;width:100%;margin:0 auto}.topbar{height:80px;padding:0 44px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);font-size:13px;color:var(--muted)}.topbar>div{display:flex;gap:7px;align-items:center}.topbar .icon{width:18px;height:18px;color:var(--green)}.content{padding:37px 44px 40px;min-height:calc(100vh - 160px)}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:30px}.section-heading h1{display:flex;align-items:center;gap:12px;margin-bottom:8px}.section-heading p{font-size:14px;color:var(--muted);margin-bottom:0}.count{display:inline-flex;align-items:center;justify-content:center;min-width:30px;height:30px;font-size:18px;background:var(--deep);border-radius:5px}.garden-banner{position:relative;display:flex;justify-content:space-between;align-items:center;background:var(--mint);border:1px solid #a6bd8e;border-radius:12px;min-height:216px;padding:30px 34px;margin-bottom:34px;overflow:hidden}.garden-banner h2{font-size:24px;line-height:1.6}.garden-banner p{color:#45673b;font-size:13px;margin-bottom:4px}.inline-link{display:inline-flex;gap:7px;align-items:center;min-height:44px;color:var(--green);font-size:13px;font-weight:600;text-decoration:none}.banner-plants{display:flex;align-items:flex-end;gap:5px;padding:10px 5px 0;flex-shrink:0}.banner-plants .sprite{width:72px;height:96px}.banner-plants .sprite:nth-child(2){width:100px;height:140px}.banner-plants .sprite:nth-child(3){width:88px;height:114px}.section-subheading{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px;gap:10px}.section-subheading h2{margin:0;font-size:24px}.section-subheading>span{font-size:12px;color:var(--muted)}.plant-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(245px,1fr));gap:18px}.plant-card{background:var(--paper);border:1px solid var(--line);border-radius:12px;padding:19px 20px 12px}.plant-card-top,.plant-card-bottom{display:flex;justify-content:space-between;gap:8px;align-items:center;font-size:11px;color:var(--muted)}.plant-location{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.status{font-size:10px;background:var(--deep);padding:3px 7px;border-radius:4px;white-space:nowrap}.status.recorded{background:var(--mint);color:var(--green)}.plant-open{width:100%;border:0;background:none;display:flex;align-items:center;text-align:left;gap:15px;padding:18px 0 20px;min-height:140px}.plant-open>.sprite{width:70px;height:88px}.plant-open>span{flex:1;min-width:0}.plant-open h3{font-family:var(--display);font-weight:400;font-size:24px;line-height:1.35;overflow-wrap:anywhere}.plant-open small{font-size:12px}.plant-open>.icon{width:17px}.plant-open:hover h3{color:var(--green)}.plant-dli{display:flex;flex-direction:column;gap:5px}.plant-dli>span{font-size:11px;color:var(--muted)}.plant-dli strong{font-family:var(--display);font-weight:400;font-size:24px}.plant-dli strong small{font-family:-apple-system,BlinkMacSystemFont,sans-serif;font-size:11px}progress{display:block;width:100%;height:8px;border:0;border-radius:2px;overflow:hidden;background:var(--deep);margin:12px 0 4px;accent-color:var(--green)}progress::-webkit-progress-bar{background:var(--deep)}progress::-webkit-progress-value{background:#64934e}progress::-moz-progress-bar{background:#64934e}.plant-card-bottom .text-button{font-size:11px;min-height:36px}.add-plant-tile{border:1px dashed #b29570;border-radius:12px;min-height:285px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px;background:transparent;color:var(--muted)}.add-plant-tile .icon{width:33px;height:33px;padding:5px;background:var(--deep);border-radius:5px}.add-plant-tile strong{font-size:15px}.add-plant-tile span{font-size:12px}.add-plant-tile:hover{background:#f5e4c0}.empty-state{text-align:center;padding:45px 20px 60px;background:var(--paper);border:1px solid var(--line);border-radius:12px}.empty-state>.sprite{width:96px;height:112px;margin-bottom:20px}.empty-state>.icon{width:42px;height:42px;margin-bottom:20px;color:var(--green)}.empty-state h2,.empty-state h3{font-family:var(--display);font-size:24px;font-weight:400}.empty-state p{color:var(--muted);font-size:14px}.connection-note{display:flex;gap:12px;align-items:flex-start;margin-top:28px;color:var(--muted);font-size:12px;line-height:1.9}.connection-note .icon{margin-top:3px;width:18px}.connection-note p{margin:0}.connection-note span{color:var(--muted)}.app-footer{display:flex;justify-content:space-between;padding:20px 44px;font-size:11px;color:var(--muted);gap:20px}.mobile-nav{display:none}.demo-banner{display:flex;align-items:center;gap:15px;padding:9px 44px;background:#f9df92;color:#654913;font-size:12px}.demo-banner .text-button{margin-left:auto;font-size:12px;color:#654913;min-height:30px}.demo-banner strong{white-space:nowrap}.form-page{max-width:640px;margin:0 auto}.form-page>.text-button{margin-bottom:22px}.field-help{font-size:12px;color:var(--muted);line-height:1.8;max-width:75ch}.form-page form{margin-top:24px}.form-page h2{margin-top:20px}.account-section,.danger-zone{border-top:1px solid var(--line);margin-top:30px;padding-top:22px}.danger-zone summary{color:var(--danger)}summary{cursor:pointer;min-height:44px;font-weight:600}details p{font-size:13px;color:var(--muted)}.checkbox{display:flex;gap:10px;align-items:flex-start;font-size:13px;margin:20px 0}.checkbox input{margin-top:5px;width:18px;height:18px;accent-color:var(--green)}.recovery{padding-top:30px}.recovery-code{display:block;padding:20px;background:var(--paper);border:1px solid var(--line);overflow-wrap:anywhere;font-size:17px;letter-spacing:1px;margin:28px 0}.recovery .muted{font-size:13px;margin-top:28px}.history-toolbar{display:flex;align-items:flex-end;gap:18px;flex-wrap:wrap;margin:0 0 24px}.compact-field{display:flex;flex-direction:column;gap:5px;min-width:145px;font-size:12px;color:var(--muted)}.compact-field input,.compact-field select{padding:8px 10px;font-size:14px;min-height:42px}.segmented{display:flex;background:var(--deep);border-radius:6px;padding:4px;margin-left:auto}.segmented button{background:none;border:0;border-radius:4px;min-height:36px;padding:5px 14px;font-size:13px}.segmented button[aria-pressed=true]{background:var(--paper);color:var(--green);font-weight:600}.history-panel{background:var(--paper);border:1px solid var(--line);border-radius:12px;padding:28px}.history-summary{display:flex;gap:10px;padding-bottom:25px;border-bottom:1px solid var(--line);margin-bottom:25px}.history-summary>div{flex:1;display:flex;flex-direction:column;gap:10px}.history-summary span{font-size:12px;color:var(--muted)}.history-summary strong{font-family:var(--display);font-size:36px;font-weight:400;line-height:1.2}.history-summary small{display:block;font-family:inherit;font-size:12px;font-weight:400;margin-top:10px}.chart-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px;gap:12px}.chart-heading h2{font-family:inherit;font-size:16px;font-weight:600;margin:0}.chart-heading>span{font-size:11px;color:var(--muted)}.chart{display:block;width:100%;height:auto;min-height:160px}.chart-grid{stroke:#e8d8bb;stroke-width:1;stroke-dasharray:4 6}.chart-line{stroke:var(--green);stroke-width:2.4;fill:none;stroke-linejoin:round;stroke-linecap:round}.chart-dot,.chart-bar{fill:#659351}.chart-label{fill:#80614b;font-size:10px}.chart-axis{display:flex;justify-content:space-between;padding:0 4%;font-size:11px;color:var(--muted)}.chart-note{font-size:11px;color:var(--muted);margin:20px 0 0}.chart-empty{min-height:220px;display:flex;align-items:center;justify-content:center;text-align:center;font-size:14px;color:var(--muted);padding:30px}.data-table{margin-top:20px;border-top:1px solid var(--line);padding-top:16px;font-size:12px}.table-scroll{overflow:auto;max-height:360px}table{border-collapse:collapse;width:100%;font-variant-numeric:tabular-nums;white-space:nowrap}th,td{padding:8px 12px;text-align:left;border-bottom:1px solid var(--line)}th{font-weight:600;background:var(--deep);position:sticky;top:0}.device-panel{margin-top:26px;padding:26px;border:1px solid var(--line);border-radius:12px;background:#f8eacc}.device-heading{display:flex;align-items:center;gap:15px;flex-wrap:wrap}.device-heading>.icon{width:27px;height:27px;color:var(--green)}.device-heading>div{flex:1;min-width:180px}.device-heading h2{font-family:inherit;font-size:17px;font-weight:600;margin-bottom:4px}.device-heading p{font-size:12px;color:var(--muted);margin:0}.live-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin:25px 0}.live-grid>div{display:flex;flex-direction:column;gap:6px}.live-grid span{font-size:11px;color:var(--muted)}.live-grid strong{font-family:var(--display);font-size:24px;font-weight:400}.live-grid small{font-size:10px;font-family:inherit}.device-actions{display:flex;gap:10px;flex-wrap:wrap;margin:20px 0 15px}.device-actions .button{font-size:12px;min-height:42px}.error-panel{font-size:13px;color:var(--danger);padding:12px;background:#fae1da;border-radius:6px}.library-intro{max-width:75ch;font-size:14px;color:var(--muted);margin-bottom:36px}.library-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:35px}.library-entry{display:flex;gap:20px;align-items:flex-start;padding:25px 0;border-top:1px solid var(--line)}.library-entry>.sprite{width:65px;height:88px;margin-top:5px}.library-entry>div{flex:1}.library-entry h2{font-size:24px;margin-bottom:6px}.library-entry p{font-size:12px;color:var(--muted);margin-bottom:15px}.library-entry dl{font-size:12px;margin:0 0 5px}.library-entry dl>div{display:flex;justify-content:space-between;gap:10px;padding:3px 0}.library-entry dt{color:var(--muted)}.library-entry dd{margin:0}.library-entry .text-button{font-size:12px}.help-page{max-width:75ch;margin:auto}.help-page>h1{margin-bottom:35px}.help-page>h2{margin-top:35px}.help-page p{font-size:14px;color:var(--muted)}.steps{padding-left:25px}.steps li{padding-left:10px;margin-bottom:28px}.steps h2{font-family:inherit;font-weight:600;font-size:17px;margin-bottom:10px}.toast{position:fixed;left:50%;bottom:32px;transform:translateX(-50%);max-width:min(560px,calc(100% - 32px));width:max-content;padding:13px 20px;background:var(--ink);color:var(--paper);border-radius:8px;font-size:14px;z-index:100;box-shadow:0 6px 20px #4a342633}.toast[hidden]{display:none}@media(min-width:1500px){.content{padding-left:65px;padding-right:65px}.plant-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:1100px){.app-layout{grid-template-columns:200px minmax(0,1fr)}.sidebar{padding-left:14px;padding-right:14px}.sidebar .brand{gap:8px}.sidebar .brand>span{font-size:21px}.sidebar .brand>.icon{width:28px}.content{padding:30px 28px}.topbar,.app-footer{padding-left:28px;padding-right:28px}.banner-plants .sprite{width:54px;height:80px}.banner-plants .sprite:nth-child(2){width:76px;height:112px}.banner-plants .sprite:nth-child(3){width:66px;height:96px}.garden-banner{padding:25px}.garden-banner h2{font-size:24px}.library-grid{grid-template-columns:1fr}.auth-layout{gap:45px;padding:50px 0}.welcome h1{font-size:36px}.plant-window{width:310px;height:225px}.auth-panel{padding:30px 25px}}@media(max-width:760px){body{font-size:14px}.auth-page{padding:22px 22px 28px}.auth-page>header>.text-button{font-size:12px}.brand>span{font-size:22px}.brand>.icon{width:29px;height:29px}.brand small{font-size:10px;letter-spacing:0}.auth-layout{display:flex;flex-direction:column;align-items:stretch;gap:26px;padding:35px 0 25px;min-height:auto}.welcome{display:grid;grid-template-columns:1fr 130px;position:relative;align-items:center}.welcome h1{font-size:30px;line-height:1.6;margin:0}.welcome>p{font-size:13px;margin:10px 0 0}.plant-window{position:absolute;right:0;top:3px;width:126px;height:134px;border-width:4px;border-radius:55px 55px 0 0;margin:0}.plant-window:before{width:4px}.plant-window .sprite{width:38px;height:58px}.plant-window .window-leaf{width:45px;height:72px}.window-sun{top:10px;right:12px}.window-sun .icon{width:22px;height:22px}.window-sill{left:-8px;right:-8px;bottom:-9px;height:6px}.welcome-note{display:none}.auth-panel{padding:25px 24px}.auth-page>footer{flex-direction:column;font-size:10px;gap:5px}.app-layout{display:block}.sidebar{display:none}.topbar{height:62px;padding:0 21px;font-size:12px}.content{padding:26px 20px 24px;min-height:calc(100vh - 200px)}.section-heading{margin-bottom:25px;gap:12px}.section-heading h1{font-size:30px;gap:8px}.section-heading p{font-size:12px}.section-heading>.button{font-size:12px;padding:9px 11px;min-height:42px}.count{width:25px;height:25px;min-width:25px;font-size:15px}.garden-banner{padding:23px 20px;min-height:180px;margin-bottom:27px}.garden-banner h2{font-size:24px}.garden-banner p{font-size:11px;max-width:200px;line-height:1.7}.garden-banner .inline-link{font-size:11px}.banner-plants{gap:0;margin-right:-5px}.banner-plants .sprite{display:none}.banner-plants .sprite:nth-child(2){display:block;width:77px;height:100px}.plant-grid{grid-template-columns:1fr}.plant-card{padding:18px 22px 10px}.plant-open{min-height:130px;padding:12px 0 18px}.plant-open>.sprite{width:72px;height:88px;margin:0 10px 0 6px}.plant-dli{flex-direction:row;align-items:center;justify-content:space-between}.plant-dli strong{font-size:24px}.add-plant-tile{min-height:125px;gap:5px}.add-plant-tile .icon{width:27px;height:27px}.add-plant-tile span{font-size:11px}.section-subheading h2{font-size:24px}.section-subheading>span{font-size:10px}.mobile-nav{position:fixed;bottom:0;left:0;right:0;display:grid;grid-template-columns:repeat(4,1fr);background:var(--paper);border-top:1px solid var(--line);padding:7px 10px max(7px,env(safe-area-inset-bottom));z-index:50}.mobile-nav .nav-link{display:flex;flex-direction:column;gap:4px;min-height:50px;padding:6px 4px;font-size:10px;border-radius:5px}.mobile-nav .nav-link.active{background:var(--mint);color:var(--green)}.mobile-nav .icon{width:21px;height:21px}.app-footer{flex-direction:column;gap:4px;padding:15px 20px 100px;font-size:10px}.demo-banner{padding:8px 20px;gap:9px;font-size:10px;flex-wrap:wrap}.demo-banner .text-button{font-size:10px}.demo-banner>span{flex:1}.empty-state{padding:35px 15px}.empty-state h3{font-size:24px}.empty-state p{font-size:12px}.history-toolbar{gap:12px}.compact-field{flex:1;min-width:120px}.segmented{margin:0;width:100%}.segmented button{flex:1}.history-panel{padding:19px 16px}.history-summary{gap:10px;padding-bottom:20px;margin-bottom:20px}.history-summary span{font-size:10px}.history-summary strong{font-size:28px}.history-summary small{font-size:10px}.chart-heading h2{font-size:14px}.chart-heading>span{font-size:9px}.chart{min-height:160px}.chart-empty{min-height:180px;font-size:12px}.chart-note{font-size:10px}.device-panel{padding:20px}.device-heading{gap:10px}.device-heading>div{min-width:180px}.device-heading>.button{width:100%;margin-top:6px}.live-grid{grid-template-columns:repeat(2,1fr)}.live-grid strong{font-size:24px}.library-entry{gap:17px}.library-entry>.sprite{width:54px;height:75px}.library-entry dd{font-size:11px}.library-intro{font-size:13px}.toast{bottom:90px;font-size:13px}.field input,.field select,.field textarea,.compact-field input,.compact-field select{font-size:16px}.form-page .section-heading{align-items:flex-start}.recovery-code{font-size:15px}.help-page p{font-size:13px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
