@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{font-family:'DM Sans',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:#263b30;background:#f5f6ef;font-synthesis:none;text-rendering:optimizeLegibility;--green:#315d43;--muted:#758176;--line:#e5e9df;--cream:#fbfcf7;--orange:#e49a5a}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh}.app-shell{max-width:1060px;margin:auto;padding:26px 36px 30px}.topbar{display:flex;align-items:center;justify-content:space-between}.brand{display:flex;gap:9px;align-items:center;color:var(--green);font:800 20px Manrope,sans-serif;letter-spacing:-.8px;text-decoration:none}.brand-mark{display:grid;place-items:center;width:34px;height:34px;border-radius:12px;background:#e2eddf;color:var(--green);font-size:21px}.icon-button{width:40px;height:40px;border:1px solid var(--line);border-radius:50%;background:var(--cream);color:var(--green);font-size:22px}.intro{padding:58px 0 32px}.eyebrow{margin:0 0 10px;color:#789078;font-size:10px;font-weight:700;letter-spacing:1.6px}.intro h1,.dialog-head h2{margin:0;font:700 42px/1.13 Manrope,sans-serif;letter-spacing:-1.8px;color:#263b30}.subtitle{margin:15px 0 0;color:var(--muted);font-size:15px}.toolbar{display:flex;gap:12px;margin:0 0 22px}.search{display:flex;align-items:center;gap:10px;flex:1;max-width:430px;padding:0 15px;border:1px solid var(--line);border-radius:13px;background:var(--cream);color:#91a090;font-size:22px}.search input{width:100%;padding:13px 0;border:0;outline:0;background:transparent;color:#263b30;font:14px inherit}.primary-button,.secondary-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:12px 17px;border:0;border-radius:12px;background:var(--green);color:white;font:600 13px 'DM Sans',sans-serif;cursor:pointer}.primary-button:hover{background:#254a35}.secondary-button{border:1px solid var(--line);background:#fff;color:var(--green)}.plant-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.plant-card{overflow:hidden;border:1px solid var(--line);border-radius:17px;background:var(--cream);cursor:pointer;transition:transform .18s,box-shadow .18s}.plant-card:hover{transform:translateY(-2px);box-shadow:0 8px 24px #263b3012}.plant-photo{display:grid;place-items:center;height:175px;background:linear-gradient(145deg,#e6efe2,#f4eedf);color:#6a8a69;font-size:54px;overflow:hidden}.plant-photo img{width:100%;height:100%;object-fit:cover}.plant-info{padding:15px 16px 17px}.plant-info h3{margin:0;color:#2d4234;font:700 16px Manrope,sans-serif}.plant-info p{margin:5px 0 0;color:var(--muted);font-size:12px}.plant-meta{display:flex;align-items:center;justify-content:space-between;margin-top:15px;padding-top:12px;border-top:1px solid var(--line);color:#748276;font-size:11px}.empty-state{padding:38px 20px 42px;text-align:center}.empty-illustration{font-size:42px}.empty-state h2{margin:9px 0 6px;font:700 20px Manrope,sans-serif}.empty-state p{max-width:300px;margin:0 auto 19px;color:var(--muted);font-size:14px;line-height:1.5}.app-footer{margin-top:44px;padding-top:19px;border-top:1px solid var(--line);display:flex;flex-wrap:wrap;gap:14px 24px;align-items:center}.text-button{border:0;padding:0;background:none;color:var(--green);font:600 12px 'DM Sans',sans-serif;text-decoration:underline;text-underline-offset:3px;cursor:pointer}.app-footer p{width:100%;margin:0;color:#96a095;font-size:11px}.import-button input{display:none}dialog{width:min(100% - 28px,480px);max-height:calc(100dvh - 32px);padding:25px;border:1px solid var(--line);border-radius:20px;background:#fbfcf7;color:#263b30;box-shadow:0 25px 80px #14231935}dialog::backdrop{background:#1c2b2180;backdrop-filter:blur(3px)}.dialog-head{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:22px}.dialog-head h2{font-size:25px;letter-spacing:-.7px}.close-button{width:34px;height:34px;border:0;border-radius:50%;background:#edf1e9;color:#48634e;font-size:23px;cursor:pointer}.field{display:grid;gap:7px;margin:0 0 15px}.field>span,.check-field span{font-size:12px;font-weight:600;color:#485b4d}.field input,.field textarea,.field select{width:100%;padding:12px;border:1px solid var(--line);border-radius:10px;outline:0;background:#fff;color:#293d31;font:14px 'DM Sans',sans-serif}.field input:focus,.field textarea:focus,.field select:focus{border-color:#94b398}.field textarea{resize:vertical}.privacy-note,.form-hint{color:#78847a;font-size:11px;line-height:1.5}.dialog-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:20px}.detail-dialog{width:min(100% - 24px,560px)}.detail-cover{height:205px;margin:-25px -25px 20px;display:grid;place-items:center;overflow:hidden;background:#e6efe2;font-size:60px}.detail-cover img{width:100%;height:100%;object-fit:cover}.detail-title{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.detail-title h2{margin:0;font:700 24px Manrope,sans-serif}.detail-title p{margin:5px 0 0;color:var(--muted);font-size:13px}.detail-section{padding-top:18px;margin-top:17px;border-top:1px solid var(--line)}.detail-section h3{margin:0 0 10px;font:700 13px Manrope,sans-serif}.detail-section p{margin:6px 0;color:#68786b;font-size:13px;line-height:1.5}.event-row{display:flex;gap:10px;align-items:flex-start;padding:9px 0;border-bottom:1px solid var(--line);font-size:12px}.event-row:last-child{border:0}.event-dot{width:8px;height:8px;margin-top:3px;border-radius:50%;background:#8da98b;flex:none}.event-row small{display:block;margin-top:3px;color:var(--muted)}.detail-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}.small-button{padding:9px 11px;border:1px solid var(--line);border-radius:9px;background:white;color:var(--green);font:600 11px 'DM Sans',sans-serif;cursor:pointer}.small-button.danger{color:#a34b43}.toast{position:fixed;left:50%;bottom:24px;z-index:10;transform:translate(-50%,20px);padding:12px 16px;border-radius:11px;background:#263b30;color:white;font-size:13px;opacity:0;pointer-events:none;transition:.2s}.toast.show{transform:translate(-50%,0);opacity:1}.check-field{display:flex;align-items:center;gap:10px;margin:12px 0}.check-field input{width:17px;height:17px;accent-color:var(--green)}@media(max-width:720px){.app-shell{padding:18px 18px calc(24px + env(safe-area-inset-bottom))}.intro{padding:42px 0 27px}.intro h1{font-size:34px}.plant-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.plant-photo{height:145px}.plant-info{padding:12px}.toolbar .primary-button{padding:11px 13px}.app-footer{margin-top:30px}}@media(max-width:420px){.plant-grid{grid-template-columns:1fr}.plant-photo{height:190px}.empty-state{padding:35px 10px}.toolbar{gap:8px}.search{padding:0 10px}.search input{font-size:13px}}
