*{box-sizing:border-box}html,body{height:100%;margin:0;font-family:Inter,Segoe UI,Arial,sans-serif;color:#101827;background:#f5f7fb}body{overflow:hidden}.appHeader{height:94px;background:#fff;border-bottom:1px solid #dce3ed;display:flex;align-items:center;justify-content:space-between;padding:14px 22px;gap:20px}.appHeader h1{margin:0;font-size:31px;letter-spacing:-.5px}.appHeader p{margin:5px 0 0;color:#64748b;font-size:17px}.appHeader strong{color:#0f172a}.headerRight{display:flex;align-items:center;gap:16px;font-weight:700;white-space:nowrap}.headerRight a{font-size:12px;text-decoration:none;color:#475569;border:1px solid #cbd5e1;border-radius:12px;padding:9px 11px}.workspace{height:calc(100vh - 94px);display:grid;grid-template-columns:520px minmax(0,1fr)}.side{overflow-y:auto;padding:16px;background:#f1f5f9;border-right:1px solid #dbe3ee}.panel{background:#fff;border:1px solid #d9e2ec;border-radius:20px;padding:18px;margin-bottom:15px;box-shadow:0 1px 1px rgba(15,23,42,.03)}.heroPanel{border:2px solid #111827}.step{font-size:20px;font-weight:900;letter-spacing:.2px}.second{margin-top:22px}.regionButtons{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:14px}.region{height:58px;border:0;border-radius:14px;font-size:19px;font-weight:900;background:#eef2f7;color:#111827;cursor:pointer}.region.active{background:#111;color:#fff}.targetRow{margin:12px 0 16px;display:flex;align-items:center;gap:10px}.targetRow input{width:150px;height:54px;border:1px solid #cbd5e1;border-radius:13px;padding:0 14px;font-weight:900;font-size:18px}.targetRow span{font-weight:700;color:#64748b}.primary{width:100%;min-height:56px;border:0;border-radius:14px;background:#111;color:white;font-size:17px;font-weight:900;cursor:pointer}.primary:disabled{opacity:.55;cursor:wait}.info{margin-top:12px;border-radius:13px;padding:12px 13px;background:#eef6ff;color:#334155;line-height:1.45}.info.warn{background:#fff7df}.info.error{background:#fff0f0;color:#991b1b}.hidden{display:none!important}.sectionHead{display:flex;justify-content:space-between;align-items:flex-start}.sectionHead small{display:block;margin-top:4px;color:#64748b}.rankingList{display:grid;gap:10px;margin-top:14px}.rankCard{border:1px solid #d8e1eb;border-radius:15px;padding:13px;cursor:pointer;background:#fff;text-align:left;width:100%}.rankCard:hover,.rankCard.active{border-color:#111827;box-shadow:0 0 0 1px #111827}.rankTop{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.rankTitle{display:flex;gap:9px}.medal{font-size:20px}.rankCard strong{font-size:17px}.rankCard small{display:block;color:#64748b;margin-top:3px}.score{font-weight:900;font-size:18px}.status{display:inline-flex;margin-top:9px;padding:5px 8px;border-radius:999px;background:#ecfdf5;color:#166534;font-size:11px;font-weight:900}.status.POTENSIAL{background:#eff6ff;color:#1d4ed8}.status.CADANGAN,.status.PERLUDATA{background:#fff7ed;color:#9a3412}.rankStats{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin-top:10px}.rankStats div{background:#f8fafc;border-radius:10px;padding:7px}.rankStats span{display:block;font-size:10px;color:#64748b}.rankStats b{font-size:13px}.analyzeBtn{margin-top:10px;width:100%;border:0;border-radius:10px;padding:10px;background:#111827;color:#fff;font-weight:900;cursor:pointer}.mapWrap{position:relative;min-width:0}.mapWrap #map{height:100%;width:100%;background:#e5e7eb}.legend{position:absolute;right:14px;bottom:14px;z-index:500;background:#fff;border:1px solid #d7dee8;border-radius:13px;padding:10px 12px;font-size:12px;box-shadow:0 3px 12px rgba(15,23,42,.12)}.legend span{display:flex;align-items:center;gap:7px;margin:4px 0}.legend i{width:14px;height:10px;display:inline-block;border:2px solid}.legend .source{border-color:#2563eb;background:rgba(37,99,235,.07)}.legend .candidate{border-color:#7c3aed;background:rgba(124,58,237,.16)}.legend .point{width:8px;height:8px;border:0;border-radius:50%;background:#3b82f6}.selectedAreaTitle{font-size:21px;font-weight:900;margin:8px 0 3px}.selectedAreaSub{color:#64748b;margin-bottom:14px}.resultHero{border:2px solid #111827;border-radius:16px;padding:14px}.resultStatus{font-weight:900;font-size:20px}.resultGrid{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:13px}.resultGrid div{border-radius:11px;background:#f8fafc;padding:9px}.resultGrid span{display:block;color:#64748b;font-size:11px}.resultGrid b{font-size:16px}.saveBtn{margin-top:12px;width:100%;border:0;border-radius:12px;padding:13px;background:#0f766e;color:#fff;font-weight:900;cursor:pointer}.saveBtn:disabled{opacity:.55}.smallNote{font-size:11px;color:#64748b;line-height:1.45;margin-top:10px}@media(max-width:1000px){body{overflow:auto}.appHeader{height:auto;align-items:flex-start}.workspace{height:auto;display:block}.side{height:auto}.mapWrap{height:60vh}.headerRight{display:none}}
