:root{
--primary:#2563eb;
--dark:#0f172a;
--border:#e2e8f0;
--bg:#f8fafc;
}

*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:Segoe UI,sans-serif;
}

body{
background:var(--bg);
padding:30px;
}

.container{
max-width:1500px;
margin:auto;
}

.hero{
background:white;
padding:24px;
border-radius:16px;
margin-bottom:20px;
box-shadow:0 2px 10px rgba(0,0,0,.08);
}

.card{
background:white;
padding:24px;
border-radius:16px;
margin-bottom:20px;
box-shadow:0 2px 10px rgba(0,0,0,.08);
}

.filters{
display:grid;
grid-template-columns:
repeat(auto-fit,minmax(220px,1fr));
gap:16px;
}

input,
select{
padding:12px;
border:1px solid var(--border);
border-radius:10px;
}

button{
padding:12px 20px;
background:var(--primary);
border:none;
color:white;
border-radius:10px;
cursor:pointer;
}

.actions{
margin-top:20px;
}

.summary{
display:grid;
grid-template-columns:repeat(4,1fr);
gap:15px;
margin-bottom:20px;
}

.metric{
background:white;
padding:20px;
text-align:center;
border-radius:16px;
}

.metric span{
font-size:28px;
font-weight:bold;
display:block;
}

table{
width:100%;
border-collapse:collapse;
}

thead{
background:#1e293b;
color:white;
}

th,
td{
padding:14px;
border-bottom:1px solid var(--border);
}

tbody tr:hover{
background:#f8fafc;
}

.safe{
background:#dcfce7;
color:#166534;
padding:6px 12px;
border-radius:20px;
}

.target{
background:#fef9c3;
color:#854d0e;
padding:6px 12px;
border-radius:20px;
}

.dream{
background:#fee2e2;
color:#991b1b;
padding:6px 12px;
border-radius:20px;
}

.hidden{
display:none;
}

#map{
height:700px;
}