:root{
  --bg:#f4f6f8; --card:#fff; --muted:#6b7280; --accent:#0366d6; --accent-2:#0ea5a1;
  --success:#16a34a; --danger:#ef4444; --radius:10px; --soft-shadow: 0 6px 18px rgba(13,23,36,0.06);
}
*{box-sizing:border-box}
html,body,#map{height:100%}
body{
  margin:0;
  font-family:Inter, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
  background:var(--bg);
  color:#0f172a;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  display:flex;
  gap:18px;
  height:100vh;
  overflow:hidden;
}

#map{flex:1;border-radius:12px;margin:18px 0 18px 18px;box-shadow:var(--soft-shadow);overflow:hidden}

.sidebar{
  width:420px;
  padding:18px;
  background:var(--card);
  margin:18px;
  border-radius:12px;
  box-shadow:var(--soft-shadow);
  overflow:auto;
  display:flex;
  flex-direction:column;
  gap:12px;
}

.header{display:flex;align-items:center;justify-content:space-between}
.brand{display:flex;gap:12px;align-items:center}
.logo{width:44px;height:44px;border-radius:10px;background:linear-gradient(135deg,var(--accent),var(--accent-2));display:flex;align-items:center;justify-content:center;color:#fff;font-weight:700;font-size:18px}
.actions{display:flex;gap:8px;align-items:center}

.button{padding:10px 12px;border-radius:10px;border:none;background:var(--accent);color:#fff;cursor:pointer;font-weight:600}
.button.ghost{background:transparent;border:1px solid #e6eefc;color:var(--accent)}
.button.alt{background:var(--accent-2)}

.card{background:linear-gradient(180deg, #ffffff, #fbfdff);padding:12px;border-radius:10px;border:1px solid #eef2ff}
h2{margin:0;font-size:18px}
h3{margin:0;font-size:14px;color:var(--muted)}

.form-row{display:flex;gap:8px}
input,textarea,select{width:100%;padding:10px;border-radius:8px;border:1px solid #e6eef3;font-size:14px}
textarea{min-height:88px;resize:vertical}

.list{display:flex;flex-direction:column;gap:8px;max-height:260px;overflow:auto;padding-right:6px}
.item{display:flex;justify-content:space-between;align-items:center;padding:10px;border-radius:8px;border:1px solid #f0f4ff;background:#fff}
.item .meta{display:flex;flex-direction:column}
.small{font-size:12px;color:var(--muted)}

.job-actions{display:flex;gap:6px}
.link{background:transparent;border:none;color:var(--accent);cursor:pointer;font-weight:600;padding:6px 8px;border-radius:8px}

.footer{font-size:13px;color:var(--muted);padding-top:8px}
`