:root{--dhpmj-shell-accent:#0b4eea;--dhpmj-shell-sidebar:#071a49;--dhpmj-shell-sidebar-image:none;--dhpmj-shell-cyan:#21a0ff;--dhpmj-shell-text:#0f1b3d;--dhpmj-shell-muted:#667085;--dhpmj-shell-line:#e7edf7;--dhpmj-shell-bg:#edf2fb;--dhpmj-shell-white:#fff;--dhpmj-shell-shadow:0 18px 45px rgba(15,23,42,.08)}
.dhpmj-shell,.dhpmj-shell *{box-sizing:border-box}.dhpmj-shell{min-height:100vh;display:grid;grid-template-columns:294px minmax(0,1fr);margin:0;background:var(--dhpmj-shell-bg);color:var(--dhpmj-shell-text);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;border-radius:0;overflow:hidden;box-shadow:0 24px 75px rgba(15,23,42,.10);z-index:9990}.dhpmj-shell-fullscreen{position:fixed!important;left:0!important;right:0!important;top:0!important;bottom:0!important;width:100vw!important;height:100vh!important;max-width:none!important;margin:0!important;padding:0!important}.admin-bar .dhpmj-shell-fullscreen{top:32px!important;height:calc(100vh - 32px)!important}.dhpmj-shell-body{overflow:hidden!important;margin:0!important}.dhpmj-shell-body.dhpmj-shell-hide-legacy .entry-title,.dhpmj-shell-body.dhpmj-shell-hide-legacy .page-title{display:none!important}.dhpmj-legacy-sidebar-hidden{display:none!important;visibility:hidden!important;opacity:0!important;pointer-events:none!important}.dhpmj-shell-body.dhpmj-shell-hide-legacy .site-content,.dhpmj-shell-body.dhpmj-shell-hide-legacy .content-area,.dhpmj-shell-body.dhpmj-shell-hide-legacy #primary,.dhpmj-shell-body.dhpmj-shell-hide-legacy main.site-main,.dhpmj-shell-body.dhpmj-shell-hide-legacy .wp-site-blocks,.dhpmj-shell-body.dhpmj-shell-hide-legacy .is-layout-constrained{max-width:none!important;width:100%!important;margin-left:0!important;margin-right:0!important;padding-left:0!important;padding-right:0!important}.dhpmj-shell-sidebar{height:100%;background:linear-gradient(180deg,rgba(7,26,73,.94),rgba(5,15,43,.98)),var(--dhpmj-shell-sidebar-image),var(--dhpmj-shell-sidebar);background-position:center;background-size:cover;color:#fff;padding:22px 18px;display:flex;flex-direction:column;gap:18px;box-shadow:18px 0 45px rgba(15,23,42,.16);z-index:2;min-height:0}.dhpmj-shell-brand{display:flex;gap:12px;align-items:center;padding:8px 8px 16px;border-bottom:1px solid rgba(255,255,255,.12)}.dhpmj-shell-logo{width:54px;height:54px;border-radius:18px;background:linear-gradient(135deg,#ffffff,#dce9ff);color:var(--dhpmj-shell-accent);display:grid;place-items:center;font-weight:950;letter-spacing:-.04em;box-shadow:0 16px 34px rgba(0,0,0,.18);overflow:hidden;flex:0 0 54px}.dhpmj-shell-logo img{width:100%;height:100%;object-fit:cover;display:block}.dhpmj-shell-logo span{font-size:15px}.dhpmj-shell-brand h1{font-size:18px;margin:0 0 4px;line-height:1.05;color:#fff;font-weight:950}.dhpmj-shell-brand p{margin:0;font-size:11px;line-height:1.35;color:rgba(255,255,255,.68);font-weight:650}.dhpmj-shell-menu{display:flex;flex-direction:column;gap:8px;min-height:0;overflow:auto;padding-right:2px}.dhpmj-shell-menu a{display:flex;gap:11px;align-items:center;color:rgba(255,255,255,.78);text-decoration:none!important;font-weight:850;font-size:14px;padding:12px 13px;border-radius:15px;transition:.16s ease;border:0;box-shadow:none}.dhpmj-shell-menu a:hover,.dhpmj-shell-menu a.is-active{background:rgba(255,255,255,.13);color:#fff;transform:translateX(2px)}.dhpmj-shell-menu b{font:inherit}.dhpmj-shell-ico{width:28px;height:28px;border-radius:10px;display:grid;place-items:center;background:rgba(255,255,255,.12);font-size:15px;line-height:1}.dhpmj-shell-powered{margin-top:auto;font-size:12px;color:rgba(255,255,255,.56);padding:12px 8px;line-height:1.5}.dhpmj-shell-powered span{color:rgba(255,255,255,.42)}
.dhpmj-shell-main{min-width:0;height:100%;min-height:0;padding:22px;background:#edf2fb;overflow:auto}.dhpmj-shell-topbar{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:18px}.dhpmj-shell-crumb{font-weight:900;color:#233860}.dhpmj-shell-crumb small{display:block;color:var(--dhpmj-shell-muted);font-weight:750;margin-top:4px}.dhpmj-shell-user{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid var(--dhpmj-shell-line);border-radius:999px;padding:8px 12px;box-shadow:0 8px 24px rgba(15,23,42,.05)}.dhpmj-shell-avatar{width:34px;height:34px;border-radius:50%;background:linear-gradient(135deg,var(--dhpmj-shell-accent),var(--dhpmj-shell-cyan));color:#fff;display:grid;place-items:center;font-weight:950}.dhpmj-shell-stage{background:linear-gradient(180deg,#f6f9ff 0%,#f8fafc 45%,#f3f6fb 100%);border:1px solid #dbe6f6;border-radius:28px;padding:18px;box-shadow:var(--dhpmj-shell-shadow);min-height:calc(100vh - 100px);overflow:visible}.admin-bar .dhpmj-shell-stage{min-height:calc(100vh - 132px)}.dhpmj-shell-stage .dhpmj{max-width:none!important;margin:0!important}.dhpmj-shell-stage .dhpmj-shortcode-wrap{background:transparent!important}.dhpmj-shell-stage .dhpmj .hero:first-child{margin-top:0}.dhpmj-shell-stage a{word-break:break-word}.dhpmj-shell-missing{background:#fff8e7;border:1px solid #ffe0a3;color:#6f4d00;border-radius:18px;padding:18px 20px;line-height:1.5}.dhpmj-shell-missing h2{margin:0 0 8px;color:#5b4200}.dhpmj-shell-missing p{margin:0}.dhpmj-shell-missing code{background:#0f172a;color:#dbeafe;border-radius:8px;padding:3px 7px}.dhpmj-shell-stage .dhpmj .panel,.dhpmj-shell-stage .dhpmj .card,.dhpmj-shell-stage .dhpmj .rank,.dhpmj-shell-stage .dhpmj .module-card{box-shadow:var(--dhpmj-shell-shadow)!important}.dhpmj-shell-stage .dhpmj .hero{box-shadow:0 24px 60px rgba(13,71,161,.20)!important}.dhpmj-shell-stage .dhpmj table{max-width:100%}.dhpmj-shell-stage .dhpmj .table-wrap,.dhpmj-shell-stage .dhpmj .responsive-table{overflow:auto}
@media screen and (max-width:782px){.admin-bar .dhpmj-shell-fullscreen{top:46px!important;height:calc(100vh - 46px)!important}}
@media(max-width:1100px){.dhpmj-shell{grid-template-columns:1fr}.dhpmj-shell-sidebar{height:auto;min-height:0}.dhpmj-shell-fullscreen{overflow:auto}.dhpmj-shell-menu{display:grid;grid-template-columns:repeat(2,1fr)}.dhpmj-shell-main{height:auto;overflow:visible}.dhpmj-shell-stage{min-height:0}}
@media(max-width:620px){.dhpmj-shell-main{padding:14px}.dhpmj-shell-stage{padding:12px;border-radius:20px}.dhpmj-shell-menu{grid-template-columns:1fr}.dhpmj-shell-topbar{flex-direction:column;align-items:flex-start}.dhpmj-shell-user{width:100%;border-radius:16px}}
/* v1.0.3: custom menu icon image */
.dhpmj-shell-ico img{width:17px;height:17px;object-fit:contain;display:block;filter:none}.dhpmj-shell-menu a.is-active .dhpmj-shell-ico img,.dhpmj-shell-menu a:hover .dhpmj-shell-ico img{transform:scale(1.03)}
/* v1.0.4: hilangkan teks versi shell di sidebar kiri secara default */
.dhpmj-shell-powered span{display:none}

/* v1.0.5: integrasi Desk Humas PMJ Reporting System */
.dhpmj-shell-stage .dhpmj-rs-app{box-shadow:none!important;background:transparent!important;border-radius:0!important;padding:0!important}
.dhpmj-shell-stage .dhpmj-rs-head{margin-top:0!important}
.dhpmj-shell-stage .dhpmj-rs-card,.dhpmj-shell-stage .dhpmj-rs-box{box-shadow:var(--dhpmj-shell-shadow)!important}
.dhpmj-shell-stage .dhpmj-rs-table-wrap{overflow:auto!important}
.dhpmj-shell-stage .dhpmj-rs-tabs a{box-shadow:none!important}

/* v1.0.6: frontend login operator tanpa masuk wp-admin */
.dhpmj-shell-user-action{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;background:var(--dhpmj-shell-accent);color:#fff!important;text-decoration:none!important;font-size:12px;font-weight:900;padding:7px 10px;margin-left:2px;box-shadow:none!important}.dhpmj-shell-user-action:hover{filter:brightness(1.05)}
.dhpmj-shell-login-wrap{min-height:calc(100vh - 160px);display:grid;place-items:start center;padding:34px 12px}.dhpmj-shell-login-card{width:min(470px,100%);background:#fff;border:1px solid #dbe6f6;border-radius:28px;box-shadow:0 24px 70px rgba(15,23,42,.10);padding:28px}.dhpmj-shell-login-badge{display:inline-flex;border-radius:999px;background:#eef5ff;color:#0b4eea;border:1px solid #d7e7ff;padding:8px 12px;font-size:12px;font-weight:950;text-transform:uppercase;letter-spacing:.06em;margin-bottom:12px}.dhpmj-shell-login-card h2{margin:0 0 8px;font-size:28px;line-height:1.15;color:#071a49}.dhpmj-shell-login-card p{margin:0 0 18px;color:#51627f;line-height:1.55;font-weight:650}.dhpmj-shell-login-card form{display:grid;gap:13px;margin-top:14px}.dhpmj-shell-login-card label{font-weight:900;color:#263a5d}.dhpmj-shell-login-card input[type=text],.dhpmj-shell-login-card input[type=password]{width:100%;border:1px solid #d7e1ef;border-radius:16px;background:#f9fbff;color:#071a49;padding:13px 14px;font:inherit;outline:none;margin-top:6px}.dhpmj-shell-login-card input[type=text]:focus,.dhpmj-shell-login-card input[type=password]:focus{border-color:#8bbcff;box-shadow:0 0 0 4px rgba(11,78,234,.12);background:#fff}.dhpmj-shell-login-card .login-remember label{display:flex;gap:9px;align-items:center;font-size:13px;color:#51627f}.dhpmj-shell-login-card .login-submit input{width:100%;border:0;border-radius:16px;background:linear-gradient(135deg,var(--dhpmj-shell-accent),#21a0ff);color:#fff;font-weight:950;padding:14px 18px;cursor:pointer;box-shadow:0 14px 30px rgba(11,78,234,.24)}.dhpmj-shell-login-help{margin-top:14px;text-align:center}.dhpmj-shell-login-help a{color:#0b4eea!important;text-decoration:none!important;font-weight:900}.dhpmj-shell-login-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}.dhpmj-shell-btn{display:inline-flex;align-items:center;justify-content:center;border:1px solid #dbe6f6;border-radius:14px;background:#f8fbff;color:#071a49!important;text-decoration:none!important;font-weight:900;padding:11px 14px}.dhpmj-shell-btn.primary{background:var(--dhpmj-shell-accent);border-color:var(--dhpmj-shell-accent);color:#fff!important}.dhpmj-shell-btn.danger{background:#fff5f5;border-color:#ffd7d7;color:#b42318!important}

/* v1.0.30 Manual Mode + Workflow Mode Navigation Polish */
.dhpmj-shell-menu-section{display:flex;align-items:center;gap:10px;margin:12px 8px 3px;color:rgba(255,255,255,.48);font-size:10.5px;font-weight:950;letter-spacing:.105em;text-transform:uppercase;line-height:1.2;white-space:nowrap}
.dhpmj-shell-menu-section:after{content:"";height:1px;flex:1;background:rgba(255,255,255,.12)}
.dhpmj-shell-menu-section:first-child{margin-top:2px}
.dhpmj-shell-menu-section-admin{margin-top:14px}
.dhpmj-shell-menu a.dhpmj-menu-workflow .dhpmj-shell-ico{background:rgba(33,160,255,.18)}
.dhpmj-shell-menu a.dhpmj-menu-manual .dhpmj-shell-ico{background:rgba(255,255,255,.11)}
.dhpmj-shell-menu a.dhpmj-menu-admin .dhpmj-shell-ico{background:rgba(255,255,255,.15)}
.dhpmj-shell-menu a.dhpmj-menu-workflow{border-left:3px solid rgba(33,160,255,.42);padding-left:10px}
.dhpmj-shell-menu a.dhpmj-menu-manual{border-left:3px solid rgba(255,255,255,.16);padding-left:10px}
.dhpmj-shell-menu a.dhpmj-menu-admin{border-left:3px solid rgba(255,255,255,.26);padding-left:10px}
.dhpmj-shell-menu a.dhpmj-menu-workflow.is-active{background:linear-gradient(90deg,rgba(33,160,255,.22),rgba(255,255,255,.10));color:#fff}
.dhpmj-shell-menu a.dhpmj-menu-manual.is-active{background:rgba(255,255,255,.14);color:#fff}

/* v1.0.32 Workflow Primary + Manual Legacy Sidebar Polish */
.dhpmj-shell-menu-section{white-space:normal}
.dhpmj-shell-menu a.dhpmj-menu-key-kelompok_laporan .dhpmj-shell-ico{background:rgba(33,160,255,.20)}

/* v1.0.31 Role-Based Sidebar Final Polish */
.dhpmj-shell-role-polres .dhpmj-shell-menu-section{margin-top:14px;color:rgba(255,255,255,.62)}
.dhpmj-shell-role-polres .dhpmj-shell-menu a{padding:12px 13px;border-radius:15px}
.dhpmj-shell-role-polres .dhpmj-shell-menu a.dhpmj-menu-workflow{border-left-color:rgba(34,197,94,.48)}
.dhpmj-shell-role-polres .dhpmj-shell-menu a.dhpmj-menu-workflow .dhpmj-shell-ico{background:rgba(34,197,94,.18)}
.dhpmj-shell-role-polres .dhpmj-shell-menu-section + a{margin-top:1px}

/* v1.0.76 — Responsive Fixed Sidebar
 * Desktop: sidebar tetap kiri dengan scroll mandiri.
 * Tablet: sidebar tetap satu kolom, tidak berubah menjadi grid dua kolom.
 * HP: sidebar menjadi off-canvas drawer satu kolom.
 */
.dhpmj-shell-sidebar{position:sticky;top:0;align-self:start;max-height:100vh;overscroll-behavior:contain}
.dhpmj-shell-menu{scrollbar-width:thin;scrollbar-color:rgba(255,255,255,.28) transparent;overscroll-behavior:contain}
.dhpmj-shell-menu::-webkit-scrollbar{width:6px}
.dhpmj-shell-menu::-webkit-scrollbar-track{background:transparent}
.dhpmj-shell-menu::-webkit-scrollbar-thumb{background:rgba(255,255,255,.22);border-radius:999px}
.dhpmj-shell-topbar-left{display:flex;align-items:center;gap:12px;min-width:0}
.dhpmj-shell-menu-toggle,.dhpmj-shell-sidebar-close,.dhpmj-shell-sidebar-overlay{display:none}

@media (max-width:1100px) and (min-width:769px){
  .dhpmj-shell{grid-template-columns:230px minmax(0,1fr)!important;overflow:hidden!important}
  .dhpmj-shell-fullscreen{overflow:hidden!important}
  .dhpmj-shell-sidebar{height:100%!important;min-height:0!important;max-height:100vh;padding:18px 12px;gap:14px}
  .dhpmj-shell-brand{gap:9px;padding:6px 5px 13px}
  .dhpmj-shell-logo{width:44px;height:44px;flex-basis:44px;border-radius:14px}
  .dhpmj-shell-brand h1{font-size:14px}
  .dhpmj-shell-brand p{font-size:9.5px}
  .dhpmj-shell-menu{display:flex!important;grid-template-columns:none!important;flex-direction:column;gap:5px;min-height:0;overflow:auto!important}
  .dhpmj-shell-menu-section{margin:10px 5px 2px;font-size:9px;letter-spacing:.085em}
  .dhpmj-shell-menu a{gap:8px;font-size:12px;padding:9px 9px;border-radius:12px}
  .dhpmj-shell-menu a.dhpmj-menu-workflow,.dhpmj-shell-menu a.dhpmj-menu-manual,.dhpmj-shell-menu a.dhpmj-menu-admin{padding-left:8px}
  .dhpmj-shell-ico{width:25px;height:25px;border-radius:8px;font-size:13px;flex:0 0 25px}
  .dhpmj-shell-powered{font-size:10px;padding:8px 5px}
  .dhpmj-shell-main{height:100%!important;min-height:0;overflow:auto!important;padding:16px}
  .dhpmj-shell-topbar{margin-bottom:14px}
  .dhpmj-shell-stage{min-height:calc(100vh - 88px);padding:14px;border-radius:24px}
}

@media (max-width:768px){
  .dhpmj-shell{display:block!important;grid-template-columns:none!important;position:relative;min-height:100vh;height:100%;overflow:hidden!important}
  .dhpmj-shell-fullscreen{overflow:hidden!important}
  .dhpmj-shell-sidebar{display:flex!important;position:fixed!important;left:0;top:0;bottom:0;width:min(320px,86vw);height:100%!important;min-height:0!important;max-height:none;padding:18px 14px 14px;gap:14px;z-index:10030;transform:translate3d(-104%,0,0);transition:transform .22s ease;box-shadow:22px 0 55px rgba(3,12,36,.34);will-change:transform}
  .dhpmj-shell.is-sidebar-open .dhpmj-shell-sidebar{transform:translate3d(0,0,0)}
  .dhpmj-shell-sidebar-close{display:grid;place-items:center;position:absolute;right:10px;top:10px;width:34px;height:34px;border:1px solid rgba(255,255,255,.16);border-radius:11px;background:rgba(255,255,255,.10);color:#fff;font-size:25px;line-height:1;cursor:pointer;z-index:2;padding:0}
  .dhpmj-shell-sidebar-close:hover,.dhpmj-shell-sidebar-close:focus-visible{background:rgba(255,255,255,.18);outline:2px solid rgba(255,255,255,.35);outline-offset:2px}
  .dhpmj-shell-sidebar-overlay{display:block;position:fixed;inset:0;width:100%;height:100%;border:0;padding:0;margin:0;background:rgba(3,12,36,.48);backdrop-filter:blur(1px);opacity:0;visibility:hidden;pointer-events:none;z-index:10020;transition:opacity .2s ease,visibility .2s ease}
  .dhpmj-shell.is-sidebar-open .dhpmj-shell-sidebar-overlay{opacity:1;visibility:visible;pointer-events:auto}
  .dhpmj-shell.is-sidebar-open .dhpmj-shell-main{overflow:hidden!important}
  .dhpmj-shell-brand{padding-right:36px}
  .dhpmj-shell-menu{display:flex!important;grid-template-columns:none!important;flex-direction:column;gap:5px;min-height:0;overflow:auto!important;padding-right:4px}
  .dhpmj-shell-menu-section{margin:11px 6px 2px;font-size:9.5px}
  .dhpmj-shell-menu a{gap:9px;font-size:12.5px;padding:10px 10px;border-radius:12px}
  .dhpmj-shell-menu a.dhpmj-menu-workflow,.dhpmj-shell-menu a.dhpmj-menu-manual,.dhpmj-shell-menu a.dhpmj-menu-admin{padding-left:9px}
  .dhpmj-shell-ico{width:26px;height:26px;border-radius:8px;flex:0 0 26px}
  .dhpmj-shell-powered{font-size:10px;padding:8px 6px 2px}
  .dhpmj-shell-main{height:100%!important;min-height:0;overflow:auto!important;padding:10px 12px 14px!important;-webkit-overflow-scrolling:touch}
  .dhpmj-shell-topbar{position:sticky;top:0;z-index:30;display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:space-between;gap:10px;margin:0 -2px 10px;padding:8px 2px;background:rgba(237,242,251,.94);backdrop-filter:blur(8px)}
  .dhpmj-shell-topbar-left{gap:8px;min-width:0;flex:1}
  .dhpmj-shell-menu-toggle{display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;border:1px solid #d6e2f2;border-radius:12px;background:#fff;color:#071a49;font-size:20px;line-height:1;cursor:pointer;box-shadow:0 5px 16px rgba(15,23,42,.07);padding:0}
  .dhpmj-shell-menu-toggle:hover,.dhpmj-shell-menu-toggle:focus-visible{background:#f7faff;border-color:#b9cff0;outline:2px solid rgba(11,78,234,.16);outline-offset:2px}
  .dhpmj-shell-crumb{min-width:0;font-size:13px;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .dhpmj-shell-crumb small{font-size:9.5px;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .dhpmj-shell-user{width:auto!important;max-width:48%;flex:0 0 auto;gap:6px;padding:5px 7px;border-radius:999px!important;white-space:nowrap}
  .dhpmj-shell-avatar{width:28px;height:28px;font-size:12px}
  .dhpmj-shell-user strong{max-width:116px;overflow:hidden;text-overflow:ellipsis;font-size:10.5px}
  .dhpmj-shell-user-action{font-size:9.5px;padding:5px 7px}
  .dhpmj-shell-stage{min-height:0!important;padding:10px!important;border-radius:18px!important}
}

@media (max-width:480px){
  .dhpmj-shell-main{padding:8px 9px 12px!important}
  .dhpmj-shell-topbar{gap:7px}
  .dhpmj-shell-user strong{display:none}
  .dhpmj-shell-user{max-width:none}
  .dhpmj-shell-stage{padding:8px!important;border-radius:16px!important}
}

@media (prefers-reduced-motion:reduce){
  .dhpmj-shell-sidebar,.dhpmj-shell-sidebar-overlay{transition:none!important}
}
