/* Base styles */
body { 
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; 
    margin: 0; 
    line-height: 1.5;
    color: #333;
}

/* Leaflet map controls - with proper vendor prefixes */
.leaflet-overlay-pane svg,
.leaflet-container {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: -moz-none;
    -ms-user-select: none;
    user-select: none;
}
header { display:flex; justify-content:space-between; align-items:center; padding:12px 16px; background:#101828; color:#fff; }
.grid { display:grid; grid-template-columns: 1fr 1fr 1fr; gap:16px; padding:16px; }
section { background:#fff; border-radius:12px; padding:12px; box-shadow: 0 1px 4px rgba(0,0,0,.1); }
#map { height: 360px; border-radius: 8px; }
.assets { display:grid; grid-template-columns: repeat(auto-fill, minmax(160px,1fr)); gap:8px; }
.card { border:1px solid #eee; border-radius:8px; padding:8px; }
.thumb { width:100%; height:100px; object-fit:cover; background:#f2f4f7; border-radius:6px; }
.form-group {
    margin-bottom: 1rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

input[type="text"],
input[type="file"] {
    width: 100%;
    padding: 0.5rem;
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}

button {
    background-color: #101828;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
}

button:hover {
    background-color: #1a2b4a;
}

#upmsg {
    margin-top: 1rem;
    padding: 0.5rem;
    border-radius: 4px;
}
pre { background:#f8fafc; padding:8px; border-radius:8px; overflow:auto; }