@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  color-scheme: light;
  --ink: #17231f;
  --muted: #718078;
  --line: #e5ebe7;
  --green: #176b4b;
  --green-dark: #10543a;
  --green-soft: #eaf4ee;
  --paper: #f7f9f7;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
}
button, input, select { font: inherit; }
.topbar {
  height: 70px;
  padding: 0 max(5vw, calc((100vw - 1240px)/2));
  background: #fff;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  text-decoration: none;
  font: 800 15px Manrope, sans-serif;
  letter-spacing: -.5px;
}
.brand-mark {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  background: var(--green);
  color: white; border-radius: 10px;
  font-size: 19px;
}
.brand-light { color: var(--green); margin-left: 4px; }
.top-meta { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 12px; }
.top-meta a { color: var(--green); text-decoration: none; margin-left: 14px; font-weight: 700; }
.live-dot { width: 7px; height: 7px; background: #2caa70; border-radius: 50%; display: inline-block; }
.container { max-width: 1240px; padding: 0 28px; margin: auto; }
.hero { padding: 68px 0 42px; max-width: 700px; }
.eyebrow { color: var(--green); font-size: 10px; font-weight: 700; letter-spacing: 1.6px; }
h1, h2 { font-family: Manrope, sans-serif; letter-spacing: -1.6px; }
.hero h1 { font-size: clamp(42px, 6vw, 66px); line-height: 1.08; margin: 15px 0; font-weight: 800; }
.hero h1 span { color: var(--green); }
.hero p { max-width: 560px; color: var(--muted); line-height: 1.8; font-size: 15px; }
.hero-note { display: flex; align-items: center; gap: 9px; margin-top: 25px; font-size: 12px; color: var(--muted); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 65px; }
.stat-card { background: white; border: 1px solid var(--line); border-radius: 13px; padding: 21px 22px; }
.stat-label { font-size: 12px; color: var(--muted); }
.stat-value { font: 800 30px Manrope, sans-serif; letter-spacing: -1px; margin: 9px 0 4px; }
.stat-foot { font-size: 11px; color: #9aa69f; }
.data-section { background: white; border: 1px solid var(--line); border-radius: 16px; padding: 30px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 25px; }
.section-heading h2 { font-size: 27px; margin: 7px 0; }
.section-heading p { color: var(--muted); font-size: 13px; margin: 0; }
.export-actions { display: flex; gap: 8px; }
.btn { border: 1px solid transparent; padding: 11px 15px; border-radius: 8px; font-size: 12px; font-weight: 700; cursor: pointer; transition: .15s; }
.btn-primary { color: white; background: var(--green); }
.btn-primary:hover { background: var(--green-dark); }
.btn-outline { color: var(--green); border-color: #d5e3da; background: white; }
.btn-outline:hover { background: var(--green-soft); }
.btn-quiet { background: transparent; color: var(--muted); }
.btn-small { padding: 9px 12px; }
.filter-panel { display: grid; grid-template-columns: 1.5fr 1.25fr 1fr 1.35fr 1fr auto; gap: 11px; padding: 18px; background: #f7faf8; border: 1px solid var(--line); border-radius: 11px; }
.field { min-width: 0; }
.field label, .page-size label { display: block; color: #68766e; font-size: 10px; font-weight: 700; margin: 0 0 7px; }
.field input, .field select, .page-size select {
  width: 100%; min-width: 0; height: 39px; padding: 0 10px;
  background: white; border: 1px solid #dfe7e2; border-radius: 7px;
  color: var(--ink); outline: none; font-size: 11px;
}
.field input:focus, .field select:focus { border-color: var(--green); }
.filter-buttons { display: flex; align-items: end; gap: 3px; }
.filter-buttons .btn { height: 39px; white-space: nowrap; padding: 0 12px; }
.results-bar { display: flex; justify-content: space-between; align-items: center; padding: 23px 1px 13px; font-size: 12px; color: var(--muted); }
.results-bar strong { color: var(--ink); }
.page-size { display: flex; align-items: center; gap: 8px; }
.page-size label { margin: 0; }
.page-size select { width: 68px; height: 30px; }
.table-wrap { width: 100%; overflow-x: auto; }
table { border-collapse: collapse; width: 100%; min-width: 850px; text-align: left; }
th { background: #f7f9f7; color: #78847d; font-size: 10px; text-transform: uppercase; letter-spacing: .5px; padding: 13px 12px; font-weight: 700; }
td { border-bottom: 1px solid #edf1ee; padding: 15px 12px; font-size: 11px; vertical-align: middle; }
td:first-child { min-width: 210px; }
.cell-instansi { color: var(--muted); font-size: 10px; margin-bottom: 5px; }
.cell-jabatan { color: var(--ink); font-weight: 700; line-height: 1.5; }
.cell-muted { color: #65736b; line-height: 1.6; max-width: 220px; }
.category { display: inline-block; background: var(--green-soft); color: var(--green); padding: 5px 8px; border-radius: 5px; font-size: 9px; font-weight: 700; white-space: nowrap; }
.align-right { text-align: right; }
.quota { font-weight: 700; text-align: right; white-space: nowrap; }
.detail-link { border: 0; background: none; color: var(--green); font-size: 11px; font-weight: 700; cursor: pointer; white-space: nowrap; }
.empty { text-align: center; padding: 45px; color: var(--muted); }
.pagination { display: flex; justify-content: space-between; align-items: center; padding-top: 18px; color: var(--muted); font-size: 11px; }
.pagination div { display: flex; gap: 7px; }
footer { display: flex; justify-content: space-between; gap: 30px; padding: 28px 2px 45px; color: #89958e; font-size: 10px; line-height: 1.6; }
footer div:first-child { color: var(--green); font-weight: 700; white-space: nowrap; }
dialog { width: min(650px, calc(100% - 28px)); max-height: 85vh; overflow: auto; border: 0; border-radius: 15px; padding: 27px; box-shadow: 0 20px 80px #10251d33; }
dialog::backdrop { background: #10251d88; }
.dialog-head { display: flex; justify-content: space-between; gap: 20px; align-items: start; border-bottom: 1px solid var(--line); padding-bottom: 17px; }
.dialog-head h2 { font-size: 22px; margin: 7px 0 0; }
.close-btn { border: 0; background: #f0f4f1; border-radius: 50%; width: 32px; height: 32px; font-size: 22px; cursor: pointer; color: var(--muted); }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; padding: 20px 0; }
.detail-item label { display: block; font-size: 10px; color: var(--muted); margin-bottom: 5px; }
.detail-item div { font-size: 12px; font-weight: 600; line-height: 1.6; overflow-wrap: anywhere; }
.requirements-title { font: 700 14px Manrope, sans-serif; margin: 12px 0; }
.requirement { padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 12px; line-height: 1.5; }
.requirement small { display: block; color: var(--muted); margin-top: 4px; }
#toast { position: fixed; bottom: 20px; left: 50%; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; background: #17231f; color: white; padding: 11px 16px; border-radius: 8px; font-size: 12px; transition: .2s; }
#toast.show { opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 1000px) {
  .filter-panel { grid-template-columns: repeat(3, 1fr); }
  .filter-buttons { align-items: end; }
}
@media (max-width: 650px) {
  .topbar { padding: 0 18px; height: 60px; }
  .container { padding: 0 15px; }
  .hero { padding: 48px 0 30px; }
  .hero h1 { font-size: 44px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 9px; margin-bottom: 38px; }
  .stat-card { padding: 16px; }
  .stat-value { font-size: 25px; }
  .data-section { padding: 18px 13px; margin: 0 -3px; }
  .section-heading { display: block; }
  .section-heading h2 { font-size: 23px; }
  .export-actions { margin-top: 17px; }
  .filter-panel { grid-template-columns: 1fr 1fr; padding: 12px; gap: 10px; }
  .field-search, .filter-buttons { grid-column: 1 / -1; }
  .filter-buttons .btn-primary { flex: 1; }
  .results-bar { align-items: start; }
  footer { display: block; }
  footer div + div { margin-top: 7px; }
  .detail-grid { grid-template-columns: 1fr; gap: 13px; }
}
