.spsp-wrapper{--spsp-primary:#2450d3;--spsp-bg:#f5f8ff;--spsp-border:#d7e2f4;--spsp-text:#16315c;--spsp-muted:#6480a8;color:var(--spsp-text);font-family:inherit}
.spsp-toolbar{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:0 0 18px;padding:18px 20px;background:linear-gradient(135deg,#ffffff,#eef4ff);border:1px solid var(--spsp-border);border-radius:22px;box-shadow:0 10px 35px rgba(24,55,111,.08)}
.spsp-toolbar h3{margin:6px 0 0;font-size:22px;line-height:1.2;color:#17376f}
.spsp-badge{display:inline-block;padding:6px 10px;border-radius:999px;background:rgba(36,80,211,.1);color:var(--spsp-primary);font-weight:700;font-size:12px;letter-spacing:.3px;text-transform:uppercase}
.spsp-year-filter{min-width:180px;padding:12px 14px;border:1px solid var(--spsp-border);border-radius:14px;background:#fff;font-size:15px;outline:none}
.spsp-card-grid,.spsp-bars-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(290px,1fr));gap:22px}
.spsp-stat-card,.spsp-bar-card{position:relative;overflow:hidden;background:linear-gradient(180deg,#fbfdff,#f3f7ff);border:1px solid var(--spsp-border);border-radius:24px;padding:18px;box-shadow:0 16px 40px rgba(32,66,125,.10)}
.spsp-stat-card:before,.spsp-bar-card:before{content:"";position:absolute;right:-60px;top:-60px;width:160px;height:160px;background:radial-gradient(circle,rgba(36,80,211,.10),transparent 65%)}
.spsp-card-head{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;margin-bottom:14px}
.spsp-brand{display:flex;gap:14px;align-items:center;min-width:0}
.spsp-brand-icon{width:56px;height:56px;min-width:56px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,#2963ff,#2444b8);box-shadow:0 8px 18px rgba(36,80,211,.28);overflow:hidden}
.spsp-brand-icon img{width:100%;height:100%;object-fit:cover}
.spsp-brand-icon span{display:block;width:24px;height:24px;border-radius:50%;background:#fff;opacity:.9}
.spsp-title{font-size:14px;font-weight:800;color:#113778;line-height:1.35}
.spsp-subtitle{font-size:13px;color:#5e779a;margin-top:3px}
.spsp-year-pill{padding:8px 12px;border-radius:16px;background:linear-gradient(180deg,#eef3ff,#dfe8ff);border:1px solid #c7d5f6;color:#24408d;font-size:13px;text-align:center;line-height:1.2;min-width:76px}
.spsp-year-pill strong{display:block;font-size:18px;margin-top:4px}
.spsp-total-wrap,.spsp-summary-row{display:flex;justify-content:space-between;align-items:flex-end;gap:12px;margin-top:10px;margin-bottom:8px}
.spsp-big-number{font-size:54px;line-height:1;font-weight:900;color:#0e2553;letter-spacing:-1.4px}
.spsp-muted,.spsp-mini-stats{color:#627b9c;font-size:14px}
.spsp-mini-stats{display:flex;flex-direction:column;gap:6px;font-weight:700}
.spsp-progress-group{margin:12px 0 14px}
.spsp-progress-label{font-size:14px;color:#476990;margin-bottom:8px}
.spsp-progress{height:12px;border-radius:999px;background:#dfe5ef;overflow:hidden}
.spsp-progress span{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#34a2ee,#4dc0f6);transition:width .9s ease}
.spsp-info-grid.two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:8px}
.spsp-info-box{border-radius:16px;padding:14px 14px 12px;border:1px solid transparent;min-height:78px;display:flex;flex-direction:column;justify-content:center;box-shadow:inset 0 1px 0 rgba(255,255,255,.4)}
.spsp-info-box small{display:block;font-size:14px;margin-bottom:6px}
.spsp-info-box strong{font-size:34px;line-height:1;font-weight:800}
.spsp-info-box.male{background:#eaf7fc;border-color:#9ed7ef;color:#0a5d93}
.spsp-info-box.female{background:#fff0f8;border-color:#f2c0d7;color:#b02069}
.spsp-info-box.zonasi{background:#eef0ff;border-color:#bac3ff;color:#3346c7}
.spsp-info-box.afirmasi{background:#f4edff;border-color:#d5b7ff;color:#7c3aed}
.spsp-info-box.perpindahan{background:#fff4e8;border-color:#f7c38a;color:#c45a00}
.spsp-info-box.prestasi{background:#fffadb;border-color:#f2d264;color:#b27a00}
.spsp-bars{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;align-items:end;height:260px;margin-top:16px}
.spsp-bar-item{display:flex;flex-direction:column;align-items:center;height:100%}
.spsp-bar-value{font-weight:800;margin-bottom:8px;color:#193d82}
.spsp-bar-track{position:relative;flex:1;width:100%;border-radius:18px;background:linear-gradient(180deg,#edf2fb,#dfe8f4);display:flex;align-items:flex-end;overflow:hidden;border:1px solid #dbe5f2;padding:8px}
.spsp-bar-track span{display:block;width:100%;border-radius:14px 14px 10px 10px;background:linear-gradient(180deg,#5eb7ff,#2f80ed);min-height:8%;transform:translateY(100%);transition:transform .9s ease}
.spsp-bar-item:nth-child(2) .spsp-bar-track span{background:linear-gradient(180deg,#b56aff,#7c3aed)}
.spsp-bar-item:nth-child(3) .spsp-bar-track span{background:linear-gradient(180deg,#ffb15e,#f28522)}
.spsp-bar-item:nth-child(4) .spsp-bar-track span{background:linear-gradient(180deg,#f2d45d,#e0ac00)}
.spsp-bar-label{text-align:center;margin-top:10px;font-size:13px;color:#55739b;line-height:1.3}
.spsp-show .spsp-bar-track span{transform:translateY(0)}
.spsp-empty{padding:18px 20px;border:1px solid #f0d1d1;border-radius:16px;background:#fff6f6;color:#9c2e2e}
@media (max-width:767px){.spsp-toolbar{flex-direction:column;align-items:stretch}.spsp-big-number{font-size:44px}.spsp-bars{height:220px;gap:10px}.spsp-info-box strong{font-size:28px}.spsp-year-pill{min-width:68px;padding:8px 10px}.spsp-card-head{align-items:flex-start}}
.spsp-compare-grid{display:grid;grid-template-columns:1fr;gap:20px;margin:0 0 22px}
.spsp-compare-card{background:linear-gradient(180deg,#ffffff,#f4f8ff);border:1px solid var(--spsp-border);border-radius:24px;padding:18px 18px 14px;box-shadow:0 16px 40px rgba(32,66,125,.08)}
.spsp-compare-head{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;margin-bottom:14px}
.spsp-compare-head h3{margin:0 0 6px;font-size:22px;line-height:1.2;color:#14356d}
.spsp-compare-head p{margin:0;color:#6882a6;font-size:14px}
.spsp-legend{display:flex;flex-wrap:wrap;gap:10px 14px;justify-content:flex-end}
.spsp-legend span{display:inline-flex;align-items:center;gap:8px;font-size:13px;color:#537097;font-weight:600}
.spsp-legend i{display:inline-block;width:14px;height:14px;border-radius:5px}
.spsp-svg-wrap{overflow-x:auto;padding-bottom:4px}
.spsp-svg-chart{display:block;width:100%;height:auto;min-width:740px}
.spsp-grid-line{stroke:#dbe5f2;stroke-width:1}
.spsp-axis-line{stroke:#bfd0ea;stroke-width:1.5}
.spsp-axis-label{fill:#6a84a7;font-size:12px;font-weight:600}
.spsp-axis-label.x{font-size:13px;fill:#4f6990}
.spsp-value-label{fill:#26416d;font-size:11px;font-weight:700}
.spsp-bar-rect{filter:drop-shadow(0 8px 14px rgba(36,80,211,.12))}
@media (max-width:767px){.spsp-compare-head{flex-direction:column}.spsp-legend{justify-content:flex-start}.spsp-compare-head h3{font-size:19px}}
.spsp-wrapper{position:relative}
.spsp-tooltip{position:fixed;z-index:99999;max-width:260px;padding:10px 12px;border-radius:12px;background:rgba(12,29,58,.96);color:#fff;font-size:13px;line-height:1.45;box-shadow:0 14px 28px rgba(0,0,0,.18);pointer-events:none;transform:translate(14px,-10px)}
.spsp-series-line{filter:drop-shadow(0 4px 10px rgba(36,80,211,.10))}
.spsp-point,.spsp-bar-rect{cursor:pointer}
@media (max-width:767px){
  .spsp-toolbar{padding:16px}
  .spsp-toolbar h3{font-size:18px}
  .spsp-year-filter{width:100%;min-width:0}
  .spsp-compare-card{padding:14px 12px 12px;border-radius:20px}
  .spsp-compare-head{margin-bottom:10px}
  .spsp-compare-head h3{font-size:17px;line-height:1.3}
  .spsp-compare-head p{font-size:12px;line-height:1.45}
  .spsp-legend{gap:8px 10px}
  .spsp-legend span{font-size:11px;gap:6px}
  .spsp-legend i{width:12px;height:12px;border-radius:4px}
  .spsp-svg-wrap{margin:0 -2px;padding:2px 0 0;overflow-x:auto;-webkit-overflow-scrolling:touch}
  .spsp-svg-chart{min-width:420px}
  .spsp-tooltip{max-width:180px;font-size:12px;padding:8px 10px}
}
@media (max-width:767px){
  .spsp-svg-wrap{overflow-x:hidden}
  .spsp-svg-chart{width:100% !important;min-width:0 !important;max-width:100% !important;height:auto}
  .spsp-svg-chart .spsp-axis-label{font-size:10px}
  .spsp-svg-chart .spsp-axis-label.x{font-size:11px}
  .spsp-svg-chart .spsp-value-label{font-size:9px}
}
