:root{--pulse:#0d4938;--lime:#c9f653;--pulsebg:#f1f4f2}.pulse-body{margin:0;background:var(--pulsebg);color:#123b30;font-family:Segoe UI,Arial,sans-serif}.pulse-sidebar{position:fixed;inset:0 auto 0 0;width:274px;background:var(--pulse);color:#fff;padding:26px 24px;display:flex;flex-direction:column;z-index:30}.pulse-logo{display:flex;align-items:center;gap:12px;color:#fff;text-decoration:none;font-size:18px;margin-bottom:36px}.pulse-logo img{width:48px;height:48px;object-fit:contain;background:#fff;border-radius:10px;padding:3px}.pulse-logo b{line-height:1.1}.farm-switch{border:1px solid #ffffff2b;border-radius:12px;padding:17px 14px;margin-bottom:35px}.farm-switch small,.farm-switch b,.farm-switch span{display:block}.farm-switch small{font-size:10px;letter-spacing:.14em;color:#c6ddd3}.farm-switch b{margin:12px 0 9px}.farm-switch span{font-size:10px;color:#9bc6b4}.pulse-nav{display:flex;flex-direction:column;gap:7px}.pulse-nav a{display:flex;align-items:center;gap:13px;padding:13px 14px;border-radius:9px;color:#e1eee9;text-decoration:none}.pulse-nav a.active,.pulse-nav a:hover{background:var(--lime);color:#103f31;font-weight:800}.pulse-nav i{font-style:normal;font-size:19px;width:23px}.pulse-user{margin-top:auto;border-top:1px solid #ffffff22;padding-top:17px}.pulse-user b,.pulse-user small{display:block}.pulse-user small{color:#9ec6b6;font-size:10px;margin:4px 0 10px}.pulse-user form,.pulse-user button{margin:0}.pulse-user button{background:none;border:1px solid #ffffff35;color:#fff;border-radius:6px;padding:5px 12px}.pulse-shell{margin-left:274px;min-height:100vh;display:flex;flex-direction:column}.pulse-top{height:68px;background:#fff;border-bottom:1px solid #dae3de;padding:0 30px;display:flex;align-items:center;justify-content:space-between}.pulse-top button{display:none}.pulse-top>span{font-size:11px;color:#70867c}.pulse-top>span i{display:inline-block;width:8px;height:8px;background:#2fc477;border-radius:50%;margin-right:7px}.pulse-main{max-width:none;margin:0;padding:30px 34px;flex:1}.pulse-shell footer{padding:16px 34px;color:#789086}.pulse-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;margin-bottom:25px}.pulse-stats article{background:#fff;border:1px solid #dce4df;border-radius:13px;padding:20px 24px}.pulse-stats small,.pulse-stats b,.pulse-stats span{display:block}.pulse-stats small{font-size:10px;letter-spacing:.13em;color:#84988f}.pulse-stats b{font-size:29px;margin:8px 0;color:#123b30}.pulse-stats b em{font-style:normal;font-size:13px;color:#769087;font-weight:400}.pulse-stats span{font-size:11px;color:#789087}.pulse-map-layout{display:grid;grid-template-columns:minmax(0,3fr) minmax(300px,1fr);gap:20px}.pulse-panel{background:#fff;border:1px solid #dce4df;border-radius:13px;overflow:hidden}.pulse-panel-head{padding:20px 24px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #e5ebe7}.pulse-panel-head h2{margin:0 0 5px;font-size:18px}.pulse-panel-head p{margin:0;color:#81958b;font-size:11px}.pulse-panel-head a{color:#196d4e;text-decoration:none}.pulse-panel-head input{padding:10px 13px;border:1px solid #d7e0db;border-radius:8px}.schematic-map{min-height:540px;padding:36px;background:#eaf0e9;display:grid;grid-template-columns:repeat(5,1fr);gap:12px;align-content:start}.plot{height:86px;background:#a9b8ad;border:2px solid #869b8d;display:grid;place-items:center;position:relative;color:#274d3e;text-decoration:none;overflow:hidden}.plot:before{content:"";position:absolute;inset:0;background-image:linear-gradient(#ffffff28 1px,transparent 1px),linear-gradient(90deg,#ffffff28 1px,transparent 1px);background-size:8px 8px}.plot span{position:relative;background:#fff;padding:5px 10px;border-radius:5px;font-weight:800}.plot.watering{background:#399e61}.plot.stopped{background:#a7b8aa}.plot.alarm{background:#d96a68}.plot.offline{background:#697871}.plot.selected{outline:5px solid var(--lime);outline-offset:-2px}.plot i{position:absolute;right:4px;top:4px;width:7px;height:7px;border-radius:50%;background:#155e43}.selected-panel{padding:24px}.selected-title{display:flex;justify-content:space-between}.selected-title h2{margin:0}.selected-panel>p{color:#82958c}.chip{padding:6px 9px;border-radius:7px;font-size:10px}.chip.watering{background:#e1f5e8;color:#218453}.chip.stopped{background:#edf0ee;color:#65756d}.moisture-index{background:#f2f6f2;border-radius:12px;padding:25px;text-align:center;margin:25px 0}.moisture-index b{display:block;font-size:45px}.moisture-index b small{font-size:20px}.moisture-index span{font-size:11px;color:#748a80}.moisture-index>i{display:block;height:5px;background:#d8e2dc;margin-top:20px}.moisture-index>i em{display:block;height:100%;background:#318b58}.selected-panel dl div{display:flex;justify-content:space-between;padding:9px 0}.selected-panel dt{color:#80938a}.selected-panel dd{font-weight:700}.open-field{display:block;background:var(--pulse);color:#fff;text-align:center;padding:11px;border-radius:8px;text-decoration:none;margin-top:15px}.table-panel{padding-bottom:10px}.pulse-table{width:100%;border-collapse:collapse}.pulse-table th,.pulse-table td{padding:15px 14px;border-bottom:1px solid #e5ebe7;text-align:left}.pulse-table th{font-size:11px;color:#7e9188}.pulse-table td{font-size:13px}.pulse-table td a{color:#08734d;font-weight:700;text-decoration:none}.pulse-table td small{display:block;color:#8a9a92;margin-top:3px}.table-state{font-size:10px;padding:5px 8px;border-radius:6px}.table-state.watering{background:#e0f4e7;color:#1d8050}.table-state.stopped{background:#edf0ee}.table-state.alarm{background:#fde4e5;color:#b53643}.table-state.offline{background:#e2e6e4}.valve-table.open{color:#188251}.valve-table.closed{color:#596c62}.valve-table.unknown{color:#b68a16}@media(max-width:1100px){.pulse-stats{grid-template-columns:1fr 1fr}.pulse-map-layout{grid-template-columns:1fr}.schematic-map{grid-template-columns:repeat(4,1fr)}}@media(max-width:760px){.pulse-sidebar{transform:translateX(-100%);transition:.2s}.menu-open .pulse-sidebar{transform:none}.pulse-shell{margin-left:0}.pulse-top button{display:block}.pulse-main{padding:20px 14px}.pulse-stats{grid-template-columns:1fr 1fr;gap:10px}.schematic-map{grid-template-columns:repeat(2,1fr);padding:18px}.pulse-panel-head{align-items:flex-start;flex-direction:column;gap:10px}.pulse-panel-head input{width:100%}}@media(max-width:460px){.pulse-stats{grid-template-columns:1fr}}
