:root{--footer-height: 42px;--navbar-height: 64px}*{box-sizing:border-box}body{margin:0;font-family:-apple-system,Segoe UI,Roboto,sans-serif;background:#f5f6fa;color:#1a1a2e}.container{max-width:1100px;margin:24px auto;padding:0 16px calc(var(--footer-height) + 24px)}.center{display:flex;justify-content:center;align-items:center;height:100vh;background:#f5f6fa}.navbar{position:sticky;top:0;z-index:1000;display:flex;align-items:center;justify-content:space-between;padding:10px 24px;background:#fff;border-bottom:3px solid #ED1C24;box-shadow:0 1px 4px #00000014}.navbar-brand{display:flex;align-items:center;gap:12px}.navbar-logo{height:34px}.navbar-brand-text{font-weight:700;font-size:1rem;color:#4d4d4d;letter-spacing:.3px}.navbar-links a{color:#555;margin-right:18px;text-decoration:none;font-size:.92rem;font-weight:500;padding-bottom:4px;border-bottom:2px solid transparent}.navbar-links a:hover{color:#ed1c24}.navbar-links a.active{color:#ed1c24;font-weight:700;border-bottom-color:#ed1c24}.navbar-user{display:flex;align-items:center;gap:12px;font-size:.85rem;color:#555}.navbar-user button{background:#ed1c24;border:none;color:#fff;padding:6px 14px;border-radius:4px;cursor:pointer;font-weight:600}.navbar-user button:hover{background:#c8151b}.login-card{width:360px;text-align:center}.login-logo{height:60px;margin-bottom:16px}.login-card h2{font-size:1.1rem;color:#4d4d4d;margin-top:0;margin-bottom:20px}.login-card label{text-align:left;display:block;font-size:.85rem;color:#666}.card{background:#fff;border-radius:8px;padding:20px;margin-bottom:16px;box-shadow:0 1px 3px #00000014}input,textarea,select{width:100%;padding:8px;margin:6px 0 12px;border:1px solid #ccc;border-radius:4px;font-size:.9rem}button{font-family:inherit}button.primary{background:#ed1c24;color:#fff;border:none;padding:10px 18px;border-radius:4px;cursor:pointer;font-weight:600}button.primary:hover{background:#c8151b}table{width:100%;border-collapse:collapse}th,td{text-align:left;padding:8px;border-bottom:1px solid #eee;font-size:.9rem}.badge{padding:2px 8px;border-radius:12px;font-size:.75rem;background:#fbe4e4;color:#ed1c24;font-weight:600}.badge-active{background:#e3f6e8;color:#1e7e34}.badge-inactive{background:#eee;color:#777}.plant-tabs{display:flex;flex-wrap:wrap;gap:4px;margin-bottom:-1px}.plant-tab{background:#ececec;border:1px solid #ddd;border-bottom:none;padding:10px 16px;border-radius:8px 8px 0 0;cursor:pointer;font-size:.85rem;font-weight:600;color:#666}.plant-tab.active{background:#fff;color:#ed1c24;border-color:#ed1c24;border-bottom:2px solid white;position:relative;top:1px}.plant-tab:hover{color:#ed1c24}.row-actions{display:flex;gap:6px;flex-wrap:wrap}.row-actions button{background:#f0f0f0;border:1px solid #ddd;padding:4px 10px;border-radius:4px;font-size:.78rem;cursor:pointer}.row-actions button:hover{background:#e0e0e0}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#00000073;display:flex;align-items:center;justify-content:center;z-index:2000}.modal-card{width:380px;max-height:90vh;overflow-y:auto}.plant-tile-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:16px;margin-bottom:20px}.plant-tile{background:#fff;border-radius:10px;padding:18px;cursor:pointer;border:2px solid transparent;box-shadow:0 1px 4px #00000014;transition:box-shadow .15s,border-color .15s,transform .1s;text-align:left}.plant-tile:hover{box-shadow:0 4px 14px #0000001f;transform:translateY(-2px)}.plant-tile.selected{border-color:#ed1c24;box-shadow:0 4px 14px #ed1c242e}.plant-tile-name{font-weight:700;font-size:1.02rem;color:#1a1a2e;margin-bottom:2px}.plant-tile-head{font-size:.8rem;color:#888;margin-bottom:14px}.plant-tile-stats{display:flex;flex-wrap:wrap;gap:8px}.stat-pill{padding:4px 10px;border-radius:12px;font-size:.75rem;font-weight:600;background:#f0f1f5;color:#555}.stat-pill.stat-warn{background:#fff4dd;color:#8a5a00}.stat-pill.stat-danger{background:#fbe4e4;color:#ed1c24}.stat-pill.stat-good{background:#e3f6e8;color:#1e7e34}.page-title{position:sticky;top:var(--navbar-height);z-index:900;background:#f5f6fa;margin:0;padding:16px 0 12px}.footer{position:fixed;bottom:0;left:0;right:0;z-index:1000;height:var(--footer-height);display:flex;align-items:center;justify-content:center;background:#fff;border-top:1px solid #e6e8f0;font-size:.78rem;color:#8a8fa3;box-shadow:0 -1px 4px #0000000d}
