:root{
  --bw-bg:#f4f7f5;
  --bw-card:#ffffff;
  --bw-card-soft:#f8faf9;
  --bw-text:#172c25;
  --bw-muted:#6e7d77;
  --bw-line:#dfe8e3;
  --bw-green:#17784e;
  --bw-green-dark:#105d3c;
  --bw-green-deep:#0f5135;
  --bw-green-soft:#e9f5ef;
  --bw-green-soft-2:#f1f8f4;
  --bw-warning:#976f18;
  --bw-warning-bg:#fff8df;
  --bw-danger:#a13d3d;
  --bw-danger-bg:#fff0f0;
  --bw-shadow:0 8px 26px rgba(23,49,39,.055);
  --bw-sidebar:252px;
}

*{
  box-sizing:border-box;
}

html{
  min-height:100%;
  background:var(--bw-bg);
}

body{
  margin:0;
  min-width:0;
  min-height:100vh;
  background:var(--bw-bg);
  color:var(--bw-text);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size:14px;
}

button,
input,
select,
textarea{
  font:inherit;
}

button,
a{
  -webkit-tap-highlight-color:transparent;
}

a{
  color:inherit;
  text-decoration:none;
}

.bw-warga-shell{
  min-height:100vh;
}

.bw-warga-sidebar{
  position:fixed;
  inset:0 auto 0 0;
  z-index:100;
  width:var(--bw-sidebar);
  display:flex;
  flex-direction:column;
  border-right:1px solid var(--bw-line);
  background:#fff;
}

.bw-warga-sidebar-head{
  min-height:74px;
  padding:13px 16px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  border-bottom:1px solid #eef2ef;
}

.bw-warga-brand{
  display:flex;
  min-width:0;
  align-items:center;
  gap:11px;
}

.bw-warga-brand-logo{
  width:42px;
  height:42px;
  flex:0 0 auto;
  display:grid;
  place-items:center;
  overflow:hidden;
  border:1px solid var(--bw-line);
  border-radius:12px;
  background:#fff;
}

.bw-warga-brand-logo img{
  width:100%;
  height:100%;
  object-fit:contain;
}

.bw-warga-brand-copy{
  min-width:0;
}

.bw-warga-brand-copy strong{
  display:block;
  font-size:14px;
  font-weight:850;
  letter-spacing:.02em;
}

.bw-warga-brand-copy small{
  display:block;
  margin-top:2px;
  color:var(--bw-muted);
  font-size:10px;
}

.bw-warga-sidebar-close{
  display:none;
  width:32px;
  height:32px;
  place-items:center;
  padding:0;
  border:0;
  border-radius:9px;
  background:#f4f7f5;
  color:var(--bw-text);
  cursor:pointer;
  font-size:20px;
}

.bw-warga-mini-profile{
  margin:14px 13px 10px;
  padding:11px;
  display:flex;
  align-items:center;
  gap:10px;
  border:1px solid #dcebe3;
  border-radius:13px;
  background:var(--bw-green-soft-2);
}

.bw-warga-mini-avatar{
  width:36px;
  height:36px;
  flex:0 0 auto;
  display:grid;
  place-items:center;
  border-radius:11px;
  background:var(--bw-green);
  color:#fff;
  font-size:10px;
  font-weight:900;
}

.bw-warga-mini-copy{
  min-width:0;
}

.bw-warga-mini-copy strong{
  display:block;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:11px;
  font-weight:800;
}

.bw-warga-mini-copy span{
  display:block;
  margin-top:3px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:var(--bw-muted);
  font-size:9px;
}

.bw-warga-nav-label{
  padding:8px 18px 6px;
  color:#98a49e;
  font-size:8px;
  font-weight:850;
  letter-spacing:.11em;
}

.bw-warga-nav{
  min-height:0;
  padding:0 10px 16px;
  overflow-y:auto;
  overscroll-behavior:contain;
}

.bw-warga-nav::-webkit-scrollbar{
  width:4px;
}

.bw-warga-nav::-webkit-scrollbar-thumb{
  border-radius:20px;
  background:#d9e3de;
}

.bw-warga-nav a{
  position:relative;
  min-height:42px;
  margin:2px 0;
  padding:7px 10px;
  display:flex;
  align-items:center;
  gap:10px;
  border-radius:11px;
  color:#51615b;
  font-size:11px;
  font-weight:700;
  transition:
    background .15s ease,
    color .15s ease;
}

.bw-warga-nav a:hover{
  background:#f4f8f6;
  color:var(--bw-green-dark);
}

.bw-warga-nav a.active{
  background:var(--bw-green-soft);
  color:var(--bw-green-dark);
}

.bw-warga-nav a.active:before{
  content:"";
  position:absolute;
  top:10px;
  bottom:10px;
  left:0;
  width:3px;
  border-radius:0 10px 10px 0;
  background:var(--bw-green);
}

.bw-warga-nav-icon{
  width:29px;
  height:29px;
  flex:0 0 auto;
  display:grid;
  place-items:center;
  border-radius:9px;
  background:#f0f5f2;
  color:#63756d;
  font-size:8px;
  font-weight:900;
}

.bw-warga-nav a.active .bw-warga-nav-icon{
  background:#d9eee3;
  color:var(--bw-green-dark);
}

.bw-warga-nav-badge{
  min-width:20px;
  height:20px;
  margin-left:auto;
  padding:0 6px;
  display:grid;
  place-items:center;
  border-radius:999px;
  background:var(--bw-green);
  color:#fff;
  font-size:8px;
}

.bw-warga-nav-separator{
  height:1px;
  margin:9px 8px;
  background:#edf1ef;
}

.bw-warga-sidebar-foot{
  margin-top:auto;
  padding:12px;
  border-top:1px solid #edf1ef;
}

.bw-warga-sidebar-status{
  display:flex;
  align-items:flex-start;
  gap:8px;
}

.bw-warga-sidebar-status > span{
  width:8px;
  height:8px;
  margin-top:4px;
  flex:0 0 auto;
  border-radius:50%;
  background:#2ba16a;
  box-shadow:0 0 0 4px #e7f6ee;
}

.bw-warga-sidebar-status strong{
  display:block;
  font-size:9px;
}

.bw-warga-sidebar-status small{
  display:block;
  margin-top:2px;
  color:var(--bw-muted);
  font-size:8px;
  line-height:1.4;
}

.bw-warga-workspace{
  min-width:0;
  min-height:100vh;
  margin-left:var(--bw-sidebar);
}

.bw-warga-topbar{
  position:sticky;
  top:0;
  z-index:50;
  min-height:74px;
  padding:0 24px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  border-bottom:1px solid var(--bw-line);
  background:rgba(255,255,255,.95);
  backdrop-filter:blur(12px);
}

.bw-warga-topbar-left{
  min-width:0;
  display:flex;
  align-items:center;
  gap:12px;
}

.bw-warga-menu-button{
  display:none;
  width:38px;
  height:38px;
  flex:0 0 auto;
  padding:0;
  place-items:center;
  border:1px solid var(--bw-line);
  border-radius:10px;
  background:#fff;
  color:var(--bw-text);
  cursor:pointer;
  font-size:18px;
}

.bw-warga-topbar h1{
  margin:0;
  font-size:18px;
  line-height:1.2;
  font-weight:850;
}

.bw-warga-topbar p{
  margin:4px 0 0;
  color:var(--bw-muted);
  font-size:10px;
}

.bw-warga-topbar-right{
  display:flex;
  align-items:center;
  gap:18px;
}

.bw-warga-top-region{
  text-align:right;
}

.bw-warga-top-region span{
  display:block;
  color:#8a9791;
  font-size:8px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.05em;
}

.bw-warga-top-region strong{
  display:block;
  max-width:300px;
  margin-top:3px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:10px;
}

.bw-warga-top-account{
  padding-left:16px;
  display:flex;
  align-items:center;
  gap:10px;
  border-left:1px solid var(--bw-line);
}

.bw-warga-top-account > div{
  text-align:right;
}

.bw-warga-top-account strong{
  display:block;
  max-width:180px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:10px;
}

.bw-warga-top-account span{
  display:block;
  margin-top:2px;
  color:var(--bw-muted);
  font-size:8px;
}

.bw-warga-top-account b{
  width:36px;
  height:36px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:var(--bw-green-soft);
  color:var(--bw-green-dark);
  font-size:10px;
}

.bw-warga-main{
  width:min(1420px,100%);
  margin:0 auto;
  padding:22px 24px 42px;
}

.bw-warga-welcome{
  padding:18px 20px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  border:1px solid #d6e9de;
  border-radius:16px;
  background:linear-gradient(135deg,#f3faf6,#edf7f2);
}

.bw-warga-welcome-copy{
  min-width:0;
}

.bw-warga-welcome-label{
  display:block;
  margin-bottom:5px;
  color:var(--bw-green);
  font-size:9px;
  font-weight:850;
  text-transform:uppercase;
  letter-spacing:.07em;
}

.bw-warga-welcome h2{
  margin:0;
  font-size:20px;
  line-height:1.25;
}

.bw-warga-welcome p{
  margin:5px 0 0;
  color:var(--bw-muted);
  font-size:11px;
  line-height:1.55;
}

.bw-warga-welcome-region{
  flex:0 0 auto;
  padding:9px 12px;
  border:1px solid #cee3d7;
  border-radius:11px;
  background:#fff;
  color:var(--bw-green-dark);
  font-size:9px;
  font-weight:800;
}

.bw-warga-binding{
  margin-top:12px;
  padding:10px 13px;
  border-radius:11px;
  font-size:10px;
  line-height:1.5;
}

.bw-warga-binding.ok{
  border:1px solid #cae5d6;
  background:#eef9f3;
  color:#17603f;
}

.bw-warga-binding.warn{
  border:1px solid #eadba9;
  background:var(--bw-warning-bg);
  color:var(--bw-warning);
}

.bw-warga-binding.bad{
  border:1px solid #eccbcb;
  background:var(--bw-danger-bg);
  color:var(--bw-danger);
}

.bw-warga-section{
  margin-top:18px;
}

.bw-warga-section-head{
  margin-bottom:10px;
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:16px;
}

.bw-warga-section-head h2{
  margin:0;
  font-size:14px;
  font-weight:850;
}

.bw-warga-section-head p{
  margin:4px 0 0;
  color:var(--bw-muted);
  font-size:9.5px;
}

.bw-warga-kpis{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
}

.bw-warga-kpi{
  min-height:108px;
  padding:14px 15px;
  border:1px solid var(--bw-line);
  border-radius:14px;
  background:#fff;
  box-shadow:var(--bw-shadow);
}

.bw-warga-kpi-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
}

.bw-warga-kpi-icon{
  width:32px;
  height:32px;
  display:grid;
  place-items:center;
  border-radius:9px;
  background:var(--bw-green-soft);
  color:var(--bw-green-dark);
  font-size:8px;
  font-weight:900;
}

.bw-warga-kpi-badge{
  padding:4px 7px;
  border-radius:999px;
  background:#f4f7f5;
  color:var(--bw-muted);
  font-size:7px;
  font-weight:800;
}

.bw-warga-kpi strong{
  display:block;
  margin-top:12px;
  font-size:19px;
  line-height:1;
}

.bw-warga-kpi span{
  display:block;
  margin-top:6px;
  color:var(--bw-muted);
  font-size:9px;
  line-height:1.45;
}

.bw-warga-grid-2{
  display:grid;
  grid-template-columns:minmax(0,1.25fr) minmax(320px,.75fr);
  gap:12px;
}

.bw-warga-card{
  min-width:0;
  border:1px solid var(--bw-line);
  border-radius:14px;
  background:#fff;
  box-shadow:var(--bw-shadow);
}

.bw-warga-card-head{
  min-height:53px;
  padding:12px 15px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  border-bottom:1px solid #edf1ef;
}

.bw-warga-card-head h3{
  margin:0;
  font-size:12px;
  font-weight:850;
}

.bw-warga-card-head p{
  margin:3px 0 0;
  color:var(--bw-muted);
  font-size:8.5px;
}

.bw-warga-card-body{
  padding:14px 15px;
}

.bw-warga-service-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:9px;
}

.bw-warga-service{
  min-height:83px;
  padding:11px;
  display:flex;
  align-items:flex-start;
  gap:10px;
  border:1px solid #e3eae6;
  border-radius:12px;
  background:#fbfcfb;
  transition:
    border-color .15s ease,
    transform .15s ease,
    background .15s ease;
}

.bw-warga-service:hover{
  transform:translateY(-1px);
  border-color:#bad9c8;
  background:#f7fbf8;
}

.bw-warga-service-icon{
  width:32px;
  height:32px;
  flex:0 0 auto;
  display:grid;
  place-items:center;
  border-radius:9px;
  background:var(--bw-green-soft);
  color:var(--bw-green-dark);
  font-size:8px;
  font-weight:900;
}

.bw-warga-service strong{
  display:block;
  font-size:10px;
}

.bw-warga-service span{
  display:block;
  margin-top:4px;
  color:var(--bw-muted);
  font-size:8.5px;
  line-height:1.45;
}

.bw-warga-list{
  display:grid;
  gap:8px;
}

.bw-warga-list-item{
  padding:10px 11px;
  display:flex;
  align-items:flex-start;
  gap:9px;
  border:1px solid #e5ebe8;
  border-radius:11px;
  background:#fbfcfb;
}

.bw-warga-list-item-icon{
  width:29px;
  height:29px;
  flex:0 0 auto;
  display:grid;
  place-items:center;
  border-radius:8px;
  background:#eef6f2;
  color:var(--bw-green-dark);
  font-size:7px;
  font-weight:900;
}

.bw-warga-list-item strong{
  display:block;
  font-size:9.5px;
}

.bw-warga-list-item span{
  display:block;
  margin-top:3px;
  color:var(--bw-muted);
  font-size:8px;
  line-height:1.4;
}

.bw-warga-profile-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:9px;
}

.bw-warga-profile-row{
  min-width:0;
  padding:11px;
  border:1px solid #e3eae6;
  border-radius:11px;
  background:#fafcfb;
}

.bw-warga-profile-row.full{
  grid-column:1/-1;
}

.bw-warga-profile-row small{
  display:block;
  margin-bottom:4px;
  color:var(--bw-muted);
  font-size:8px;
  text-transform:uppercase;
  letter-spacing:.04em;
}

.bw-warga-profile-row strong{
  display:block;
  overflow-wrap:anywhere;
  font-size:10px;
  line-height:1.45;
}

.bw-warga-actions{
  margin-top:12px;
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

.bw-warga-btn{
  min-height:34px;
  padding:7px 11px;
  border:0;
  border-radius:9px;
  background:var(--bw-green);
  color:#fff;
  cursor:pointer;
  font-size:9px;
  font-weight:800;
}

.bw-warga-btn.light{
  border:1px solid var(--bw-line);
  background:#fff;
  color:var(--bw-text);
}

.bw-warga-module-intro{
  padding:16px 18px;
  border:1px solid var(--bw-line);
  border-radius:14px;
  background:#fff;
}

.bw-warga-module-intro h2{
  margin:0;
  font-size:16px;
}

.bw-warga-module-intro p{
  margin:5px 0 0;
  max-width:750px;
  color:var(--bw-muted);
  font-size:10px;
  line-height:1.55;
}

.bw-warga-placeholder{
  padding:32px 20px;
  text-align:center;
}

.bw-warga-placeholder-icon{
  width:42px;
  height:42px;
  margin:0 auto 10px;
  display:grid;
  place-items:center;
  border-radius:12px;
  background:var(--bw-green-soft);
  color:var(--bw-green-dark);
  font-size:9px;
  font-weight:900;
}

.bw-warga-placeholder strong{
  display:block;
  font-size:12px;
}

.bw-warga-placeholder span{
  display:block;
  max-width:570px;
  margin:6px auto 0;
  color:var(--bw-muted);
  font-size:9.5px;
  line-height:1.55;
}

.bw-warga-loading{
  min-height:55vh;
  display:grid;
  place-items:center;
  text-align:center;
}

.bw-warga-loading strong{
  display:block;
  color:var(--bw-muted);
  font-size:10px;
}

.bw-warga-spinner{
  width:29px;
  height:29px;
  margin:0 auto 10px;
  border:3px solid #dce9e2;
  border-top-color:var(--bw-green);
  border-radius:50%;
  animation:bwWargaSpin .7s linear infinite;
}

@keyframes bwWargaSpin{
  to{
    transform:rotate(360deg);
  }
}

.bw-warga-overlay{
  display:none;
}

@media(max-width:1050px){
  :root{
    --bw-sidebar:228px;
  }

  .bw-warga-grid-2{
    grid-template-columns:1fr;
  }
}

@media(max-width:820px){
  body.bw-warga-sidebar-open{
    overflow:hidden;
  }

  .bw-warga-sidebar{
    width:264px;
    transform:translateX(-102%);
    transition:transform .2s ease;
    box-shadow:0 20px 45px rgba(12,45,31,.16);
  }

  body.bw-warga-sidebar-open .bw-warga-sidebar{
    transform:translateX(0);
  }

  .bw-warga-sidebar-close{
    display:grid;
  }

  .bw-warga-overlay{
    position:fixed;
    inset:0;
    z-index:90;
    background:rgba(17,39,30,.35);
  }

  body.bw-warga-sidebar-open .bw-warga-overlay{
    display:block;
  }

  .bw-warga-workspace{
    margin-left:0;
  }

  .bw-warga-menu-button{
    display:grid;
  }

  .bw-warga-top-region{
    display:none;
  }

  .bw-warga-kpis{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media(max-width:560px){
  .bw-warga-topbar{
    min-height:66px;
    padding:0 12px;
  }

  .bw-warga-topbar h1{
    font-size:15px;
  }

  .bw-warga-topbar p{
    font-size:9px;
  }

  .bw-warga-top-account > div{
    display:none;
  }

  .bw-warga-top-account{
    padding-left:0;
    border-left:0;
  }

  .bw-warga-main{
    padding:14px 10px 28px;
  }

  .bw-warga-welcome{
    padding:15px;
    align-items:flex-start;
    flex-direction:column;
  }

  .bw-warga-welcome h2{
    font-size:18px;
  }

  .bw-warga-welcome-region{
    padding:7px 9px;
  }

  .bw-warga-kpis{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:8px;
  }

  .bw-warga-kpi{
    min-height:103px;
    padding:12px;
  }

  .bw-warga-kpi strong{
    font-size:17px;
  }

  .bw-warga-service-grid{
    grid-template-columns:1fr;
  }

  .bw-warga-profile-grid{
    grid-template-columns:1fr;
  }

  .bw-warga-profile-row.full{
    grid-column:auto;
  }
}

/* BINAWARGA_WARGA_SHELL_ALIGN_V1 */
