:root{--bg:#0f2e1f;--card:#fff;--ink:#12261b;--muted:#5d7266;--green:#2ea05a;--yellow:#facc15;font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,sans-serif}*{box-sizing:border-box}body{min-height:100vh;color:var(--ink);background:linear-gradient(#0a261a 0%,#185c3a 100%) fixed;margin:0}.wrap{max-width:520px;margin:0 auto;padding:20px 16px 48px}header{color:#fff;margin-bottom:16px}h1{letter-spacing:-.02em;margin:0;font-size:2.4rem;font-weight:900}h1 span{color:var(--yellow)}.sub{color:#dcf5e4;margin:4px 0 10px}.status{color:#aad7b9;align-items:center;gap:6px;font-size:.85rem;display:flex}.dot{border-radius:50%;width:9px;height:9px;display:inline-block}.dot.on{background:#4ade80}.dot.off{background:#f87171}.card{background:var(--card);border-radius:18px;flex-direction:column;gap:14px;margin-bottom:16px;padding:16px;display:flex}.seg{background:#e8f3ec;border-radius:12px;padding:4px;display:flex}.seg button{color:var(--muted);background:0 0;border:0;border-radius:9px;flex:1;padding:10px;font-weight:700}.seg button.active{background:var(--green);color:#fff}.photo{min-height:170px;color:var(--muted);cursor:pointer;background:#f2faf5;border:2px dashed #9bc9ad;border-radius:14px;place-items:center;padding:0;display:grid;overflow:hidden}.photo img{object-fit:cover;width:100%;max-height:300px;display:block}label{flex-direction:column;gap:6px;font-size:.9rem;font-weight:600;display:flex}select,textarea{font:inherit;color:var(--ink);background:#fff;border:1px solid #c8dccf;border-radius:10px;padding:10px}button{font:inherit;cursor:pointer}.primary{background:var(--green);color:#fff;border:0;border-radius:12px;padding:14px;font-size:1rem;font-weight:800}.primary:disabled{opacity:.5;cursor:not-allowed}.ghost{color:#1f6b3f;background:0 0;border:1px solid #9bc9ad;border-radius:12px;padding:10px;font-weight:600}.ghost:disabled{opacity:.5;cursor:not-allowed}.error{color:#7f1d1d;background:#fee2e2;border-radius:12px;margin-bottom:16px;padding:12px;font-size:.9rem}.row{flex-wrap:wrap;gap:8px;display:flex}.chip{text-transform:capitalize;border-radius:999px;padding:6px 12px;font-size:.8rem;font-weight:800}.u-low{color:#14532d;background:#dcfce7}.u-moderate{color:#713f12;background:#fef08a}.u-high{color:#7c2d12;background:#fed7aa}.u-emergency{color:#fff;background:#dc2626}.src-ON_DEVICE{color:#1e3a8a;background:#dbeafe}.src-IN_CLOUD{color:#4c1d95;background:#ede9fe}.banner{color:#881337;background:#fff1f2;border:2px solid #f43f5e;border-radius:12px;flex-direction:column;gap:4px;padding:12px;font-weight:700;display:flex}.banner small{opacity:.8;font-weight:500}.warn{background:#fef9c3;border-radius:10px;padding:10px;font-size:.9rem}.seen{color:var(--muted);margin:0}h3{margin:4px 0 0;font-size:1rem}.causes{margin:0;padding-left:18px}.causes li{margin-bottom:8px}ol{margin:0;padding-left:20px}ol li{margin-bottom:6px}.disclaimer{color:var(--muted);margin:0;font-size:.8rem}.pick{gap:8px;display:flex}.pick button{color:#1f6b3f;background:#e8f3ec;border:0;border-radius:10px;flex:1;padding:10px;font-weight:700}
