:root{--bg:#f7f4ea;--panel:#fffdf6;--card:#fff;--text:#111827;--muted:#374151;--green:#1f4d2b;--border:#ddd8c7}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:18px}
#app{max-width:520px;min-height:100vh;margin:0 auto;background:var(--panel);box-shadow:0 0 30px #0002}.top{position:sticky;top:0;z-index:10;background:#fffdf6f5;border-bottom:1px solid var(--border);padding:16px;display:flex;justify-content:space-between;align-items:center}
.brand{font-size:27px;font-weight:800;color:var(--green)}.version{font-size:14px;background:#d9ead3;color:#174a27;border-radius:999px;padding:3px 8px;vertical-align:middle}.screen{padding:16px}.hidden{display:none}input,textarea,select{width:100%;min-height:54px;border:1px solid #b9b9aa;border-radius:16px;padding:12px 14px;font-size:18px;background:white;color:var(--text)}textarea{min-height:130px}
.actions{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:14px 0}.actions.three{grid-template-columns:1fr 1fr 1fr}button{min-height:48px;border:1px solid var(--green);border-radius:16px;background:white;color:var(--green);font-size:18px;font-weight:700;padding:10px 14px}.primary{width:100%;min-height:58px;background:var(--green);color:white;margin-top:20px}.small{min-height:40px;font-size:16px}.back{border:0;padding-left:0;background:transparent}.tiny{min-height:38px;font-size:15px;margin-top:8px;width:100%}
.filterPanel{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:12px 0 16px}.filterPanel select{min-height:48px;font-size:16px}
.treeCard{display:grid;grid-template-columns:130px 1fr;gap:14px;background:white;border:1px solid var(--border);border-radius:20px;overflow:hidden;margin-bottom:14px}.treeCard img{width:130px;height:130px;object-fit:cover;background:#ddd}.treeCardText{padding:12px 12px 12px 0}.treeTitle{font-size:21px;font-weight:800;line-height:1.15}.treeSpecies{margin-top:7px;color:var(--muted)}.treeMeta{margin-top:7px;font-size:16px;color:var(--muted)}
.hero{width:calc(100% + 32px);margin:-16px -16px 18px;height:270px;object-fit:cover;background:#ddd}h1{color:var(--green);font-size:28px;margin:12px 0 18px}h2{color:var(--green);font-size:22px;margin-top:22px}.dataTable{background:white;border:1px solid var(--border);border-radius:20px;overflow:hidden;margin-bottom:14px}.dataRow{display:grid;grid-template-columns:48% 1fr;gap:12px;padding:13px 14px;border-bottom:1px solid #ece7d8}.dataRow:last-child{border-bottom:0}.dataLabel{font-weight:800}.workCard,.photoCard{background:white;border:1px solid var(--border);border-radius:20px;padding:16px;margin-bottom:12px}.workDate{color:var(--green);font-weight:800}.workType{font-size:20px;font-weight:800;margin-top:4px}.photoGrid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.photoCard img{width:100%;height:150px;object-fit:cover;border-radius:14px;background:#ddd}label{display:block;margin-top:16px;font-weight:800}.login{min-height:100vh;display:grid;place-items:center;padding:20px;background:var(--bg)}.loginCard{width:100%;max-width:420px;background:var(--panel);border:1px solid var(--border);border-radius:24px;padding:22px}.error{background:#fee2e2;border:1px solid #ef4444;padding:12px;border-radius:14px;margin:12px 0}
.health{display:inline-block;border-radius:999px;padding:5px 10px;font-weight:800;font-size:15px}.health.excelente{background:#d1fae5;color:#065f46}.health.bueno{background:#dcfce7;color:#166534}.health.normal{background:#fef3c7;color:#92400e}.health.debil{background:#ffedd5;color:#9a3412}.health.enfermo{background:#fee2e2;color:#991b1b}.summaryGrid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.summaryCard{background:white;border:1px solid var(--border);border-radius:20px;padding:16px}.summaryCard div{font-size:16px;color:var(--muted);font-weight:800}.summaryCard strong{display:block;margin-top:8px;font-size:28px;color:var(--green)}
@media (max-width:420px){.actions.three{grid-template-columns:1fr}.filterPanel{grid-template-columns:1fr}.brand{font-size:24px}.treeCard{grid-template-columns:115px 1fr}.treeCard img{width:115px;height:125px}}
