* { box-sizing: border-box; }
body { margin: 0; font-family: system-ui, sans-serif; background: #0f1419; color: #e8eaed; }
header { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px;
  background: #1a2332; border-bottom: 1px solid #2a3648; position: sticky; top: 0; z-index: 10; }
.brand { font-weight: 800; font-size: 1.2rem; }
main { max-width: 720px; margin: 0 auto; padding: 12px; }
.card { background: #1a2332; border: 1px solid #2a3648; border-radius: 12px; padding: 16px; margin-bottom: 12px; }
.card h2 { margin: 0 0 12px; font-size: 1.1rem; }
.muted { color: #8b98a9; } .small { font-size: 0.82rem; }
.hidden { display: none !important; }
#dropzone { border: 2px dashed #3a4a5e; border-radius: 12px; padding: 32px 16px; text-align: center; }
#dropzone.dragover { border-color: #4da3ff; background: #1e2c3f; }
#preview { max-width: 100%; max-height: 320px; border-radius: 8px; display: block; margin: 0 auto 8px; }
.row { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; align-items: center; }
.btn-primary { background: #1a7a4a; color: #fff; border: none; border-radius: 8px; padding: 12px 20px;
  font-size: 1rem; font-weight: 700; cursor: pointer; }
.btn-small { background: #2a3648; color: #fff; border: none; border-radius: 8px; padding: 8px 14px; cursor: pointer; }
.btn-ghost { background: none; color: #8b98a9; border: 1px solid #3a4a5e; border-radius: 8px; padding: 10px 16px; cursor: pointer; }
#progressSteps .step { padding: 8px 0; border-bottom: 1px solid #2a3648; }
#progressSteps .step.done { color: #4ade80; }
.ev-card { background: #141b26; border: 1px solid #2a3648; border-radius: 8px; padding: 10px; margin-bottom: 8px; }
.ev-card .strength { float: right; font-size: 0.8rem; padding: 2px 8px; border-radius: 10px; }
.strength.strong { background: #14532d; color: #4ade80; }
.strength.medium { background: #713f12; color: #fbbf24; }
.strength.weak { background: #7f1d1d; color: #f87171; }
.kandidat { background: #141b26; border: 1px solid #2a3648; border-radius: 8px; padding: 12px; margin-bottom: 8px; cursor: pointer; }
.kandidat:hover { border-color: #4da3ff; }
.kandidat .conf { font-size: 1.4rem; font-weight: 800; }
.conf-bar { height: 8px; background: #2a3648; border-radius: 4px; overflow: hidden; margin: 6px 0; }
.conf-bar div { height: 100%; background: #4da3ff; }
#map { height: 320px; border-radius: 8px; z-index: 1; }
#lokasiUtama .negara { font-size: 1.6rem; font-weight: 800; }
.conf-badge { display: inline-block; padding: 4px 12px; border-radius: 12px; font-weight: 700; margin: 6px 0; }
.conf-badge.high { background: #14532d; color: #4ade80; }
.conf-badge.med { background: #713f12; color: #fbbf24; }
.conf-badge.low { background: #7f1d1d; color: #f87171; }
.modal { position: fixed; inset: 0; background: rgba(0,0,0,0.7); z-index: 50; display: flex;
  align-items: center; justify-content: center; padding: 20px; }
.modal-box { background: #1a2332; border-radius: 12px; padding: 20px; width: 100%; max-width: 400px; }
.modal-box input { background: #0f1419; border: 1px solid #3a4a5e; color: #fff; border-radius: 8px; }
#toast { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); background: #222;
  color: #fff; padding: 10px 18px; border-radius: 20px; z-index: 100; }
table.ev-matrix { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
table.ev-matrix th, table.ev-matrix td { border: 1px solid #2a3648; padding: 6px; text-align: left; }
table.ev-matrix th { background: #141b26; }
pre.laporan { white-space: pre-wrap; font-family: inherit; font-size: 0.92rem; line-height: 1.5; }
