:root{--ahq-navy:#10233f;--ahq-navy2:#18365e;--ahq-gold:#c49a45;--ahq-bg:#f3f6fb;--ahq-text:#172033;--ahq-muted:#728096;--ahq-line:#e3e8f0}
body.ahq-erp-portal-page{margin:0;background:var(--ahq-bg)!important;color:var(--ahq-text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif}
.ahq-erp-portal-page header:not(.ahq-topbar),.ahq-erp-portal-page footer,.ahq-erp-portal-page .site-header,.ahq-erp-portal-page .site-footer,.ahq-erp-portal-page .entry-header{display:none!important}
.ahq-erp-portal-page .site,.ahq-erp-portal-page .site-content,.ahq-erp-portal-page .content-area,.ahq-erp-portal-page .site-main,.ahq-erp-portal-page article,.ahq-erp-portal-page .entry-content{width:100%!important;max-width:none!important;margin:0!important;padding:0!important}
.ahq-login-shell{min-height:100vh;display:grid;grid-template-columns:1.05fr .95fr;background:#fff}
.ahq-login-brand{padding:8vw;display:flex;flex-direction:column;justify-content:center;background:linear-gradient(145deg,var(--ahq-navy),#07172d);color:#fff;position:relative;overflow:hidden}
.ahq-login-brand:after{content:"";position:absolute;width:440px;height:440px;border:1px solid rgba(255,255,255,.12);border-radius:50%;right:-180px;bottom:-190px;box-shadow:0 0 0 70px rgba(255,255,255,.025),0 0 0 140px rgba(255,255,255,.02)}
.ahq-mark{width:52px;height:52px;border-radius:16px;background:var(--ahq-gold);color:#fff;display:grid;place-items:center;font-weight:800;letter-spacing:.5px;box-shadow:0 12px 30px rgba(0,0,0,.18)}
.ahq-login-brand>span{margin-top:24px;text-transform:uppercase;letter-spacing:2px;font-size:12px;color:#d9e1ee}.ahq-login-brand h1{font-size:64px;line-height:1;margin:18px 0 14px;color:#fff}.ahq-login-brand p{font-size:20px;color:#d3dceb;max-width:520px}.ahq-login-points{display:flex;gap:12px;flex-wrap:wrap;margin-top:36px}.ahq-login-points span{padding:9px 14px;border:1px solid rgba(255,255,255,.18);border-radius:999px;font-size:12px;color:#e7edf6}
.ahq-login-card{width:min(420px,82%);margin:auto}.ahq-login-card h2{font-size:34px;margin:0 0 8px}.ahq-login-card>p{color:var(--ahq-muted);margin:0 0 28px}.ahq-login-card label{display:block;font-size:13px;font-weight:650;margin:17px 0 0}.ahq-login-card input[type=text],.ahq-login-card input[type=password],.ahq-login-card input[name=identifier]{box-sizing:border-box;width:100%;border:1px solid var(--ahq-line);border-radius:12px;padding:14px 15px;margin-top:8px;font-size:15px;background:#fbfcfe}.ahq-login-card input:focus{outline:2px solid rgba(196,154,69,.23);border-color:var(--ahq-gold)}.ahq-login-row{display:flex;justify-content:space-between;align-items:center;margin:18px 0}.ahq-login-row a{color:var(--ahq-navy2);font-size:13px}.ahq-check{margin:0!important;font-weight:500!important}.ahq-primary{display:block;width:100%;border:0;border-radius:12px;padding:14px;background:var(--ahq-navy);color:#fff!important;text-decoration:none;text-align:center;font-weight:750;cursor:pointer}.ahq-primary:hover{background:var(--ahq-navy2)}.ahq-inline{display:inline-block;width:auto;padding:12px 18px}.ahq-login-card>small{display:block;text-align:center;color:var(--ahq-muted);margin-top:22px}.ahq-alert{background:#fff5e6;border:1px solid #f3d3a0;color:#80540b;padding:12px 14px;border-radius:10px;margin:14px 0}.ahq-mobile-brand{display:none}
.ahq-app-shell{min-height:100vh;display:grid;grid-template-columns:265px 1fr;background:var(--ahq-bg)}.ahq-sidebar{position:sticky;top:0;height:100vh;box-sizing:border-box;background:var(--ahq-navy);color:#fff;padding:24px 18px;display:flex;flex-direction:column;z-index:30}.ahq-app-logo{display:flex;gap:13px;align-items:center;text-decoration:none;color:#fff!important;padding:0 8px 28px}.ahq-app-logo .ahq-mark{width:44px;height:44px;border-radius:13px;font-size:13px}.ahq-app-logo b{display:block;font-size:19px}.ahq-app-logo small{display:block;color:#9fadc0;font-size:10px;margin-top:2px}.ahq-sidebar nav{display:flex;flex-direction:column;gap:5px}.ahq-sidebar nav a{display:flex;align-items:center;gap:12px;padding:12px 13px;border-radius:10px;color:#c9d3e2!important;text-decoration:none;font-size:14px;font-weight:600}.ahq-sidebar nav a:hover,.ahq-sidebar nav a.active{background:rgba(255,255,255,.1);color:#fff!important}.ahq-sidebar nav .dashicons{font-size:18px;width:18px;height:18px}.ahq-sidebar-user{margin-top:auto;border-top:1px solid rgba(255,255,255,.12);padding:18px 5px 2px;display:grid;grid-template-columns:38px 1fr auto;gap:10px;align-items:center}.ahq-avatar{width:38px;height:38px;border-radius:50%;background:var(--ahq-gold);display:grid;place-items:center;color:#fff;font-weight:800}.ahq-sidebar-user b,.ahq-sidebar-user small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:130px}.ahq-sidebar-user b{font-size:12px}.ahq-sidebar-user small{color:#9fadc0;font-size:10px;margin-top:3px}.ahq-sidebar-user>a{color:#fff!important;text-decoration:none;font-size:20px}
.ahq-main{min-width:0}.ahq-topbar{height:94px;padding:0 34px;display:flex;align-items:center;justify-content:space-between;background:#fff;border-bottom:1px solid var(--ahq-line);box-sizing:border-box}.ahq-topbar small{color:var(--ahq-gold);font-weight:800;letter-spacing:1.3px;font-size:9px}.ahq-topbar h1{font-size:24px;margin:5px 0 0}.ahq-date{font-size:13px;color:var(--ahq-muted)}.ahq-menu-toggle{display:none}.ahq-content{padding:30px 34px 50px;max-width:1500px;margin:0 auto}.ahq-welcome{padding:26px 28px;border-radius:18px;background:linear-gradient(110deg,var(--ahq-navy),var(--ahq-navy2));color:#fff;display:flex;justify-content:space-between;align-items:center;box-shadow:0 15px 34px rgba(16,35,63,.14)}.ahq-welcome span,.ahq-welcome p{color:#cbd7e7}.ahq-welcome h2{font-size:30px;color:#fff;margin:5px 0}.ahq-welcome p{margin:0}.ahq-role-pill{padding:9px 14px;border-radius:999px;background:rgba(255,255,255,.12);font-size:12px}.ahq-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:17px;margin:20px 0}.ahq-stats>div,.ahq-panel{background:#fff;border:1px solid var(--ahq-line);border-radius:16px;padding:21px;box-shadow:0 8px 24px rgba(23,32,51,.035)}.ahq-stats span,.ahq-stats small{display:block;color:var(--ahq-muted)}.ahq-stats span{font-size:12px;font-weight:700}.ahq-stats b{display:block;font-size:31px;margin:8px 0}.ahq-stats small{font-size:11px}.ahq-panel h3{margin-top:0}.ahq-quick{display:grid;grid-template-columns:repeat(4,1fr);gap:13px}.ahq-quick a{border:1px solid var(--ahq-line);border-radius:13px;padding:16px;text-decoration:none;color:var(--ahq-text)!important;background:#fbfcfe}.ahq-quick a:hover{border-color:var(--ahq-gold);transform:translateY(-1px)}.ahq-quick .dashicons{color:var(--ahq-gold);margin-bottom:10px}.ahq-quick b,.ahq-quick small{display:block}.ahq-quick small{color:var(--ahq-muted);font-size:10px;margin-top:4px}.ahq-filter{display:flex;gap:10px;align-items:end;margin-bottom:18px}.ahq-filter input{min-width:260px;border:1px solid var(--ahq-line);padding:10px 12px;border-radius:9px;background:#fff}.ahq-filter button{border:0;padding:11px 17px;border-radius:9px;background:var(--ahq-navy);color:#fff}.ahq-filter label{font-size:12px;color:var(--ahq-muted)}.ahq-filter label input{display:block;margin-top:5px}.ahq-table-wrap{overflow:auto}.ahq-table-wrap table{border-collapse:collapse;width:100%;font-size:13px}.ahq-table-wrap th{text-align:left;color:var(--ahq-muted);font-size:10px;text-transform:uppercase;letter-spacing:.6px;padding:11px;border-bottom:1px solid var(--ahq-line)}.ahq-table-wrap td{padding:13px 11px;border-bottom:1px solid #edf0f5;vertical-align:top}.ahq-table-wrap td small{display:block;color:var(--ahq-muted);margin-top:3px}.ahq-badge{display:inline-block;padding:5px 9px;border-radius:999px;background:#eef3f8;font-size:10px;font-weight:750}.ahq-badge.complete{background:#e7f7ee;color:#16733e}.ahq-badge.pending{background:#fff2dc;color:#9a5d00}.ahq-badge.permission{background:#eaf0ff;color:#3a5ea8}.ahq-badge.not_filled{background:#f0f1f4;color:#666}.ahq-hint{font-size:11px;color:var(--ahq-muted);margin-bottom:0}.ahq-card-list{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}.ahq-zoom-card{background:#fff;border:1px solid var(--ahq-line);border-radius:16px;padding:20px;display:grid;grid-template-columns:62px 1fr;gap:16px}.ahq-zoom-date{width:58px;height:66px;border-radius:13px;background:var(--ahq-navy);color:#fff;display:grid;place-items:center;align-content:center}.ahq-zoom-date b{font-size:24px;line-height:1}.ahq-zoom-date span{font-size:10px;text-transform:uppercase;margin-top:3px}.ahq-zoom-card h3{margin:4px 0 7px}.ahq-zoom-card p,.ahq-zoom-card small{color:var(--ahq-muted)}.ahq-zoom-card p{margin:0 0 9px}.ahq-zoom-card a{color:var(--ahq-navy2);font-weight:700}.ahq-profile{text-align:center;max-width:760px;margin:auto}.ahq-avatar.large{width:76px;height:76px;font-size:28px;margin:0 auto}.ahq-profile-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;text-align:left;margin-top:24px}.ahq-profile-grid div{border:1px solid var(--ahq-line);border-radius:12px;padding:13px}.ahq-profile-grid span,.ahq-profile-grid b{display:block}.ahq-profile-grid span{font-size:10px;color:var(--ahq-muted);text-transform:uppercase}.ahq-profile-grid b{margin-top:5px}.ahq-portal-message{min-height:100vh;display:grid;place-content:center;text-align:center;padding:30px}
@media(max-width:980px){.ahq-stats{grid-template-columns:repeat(2,1fr)}.ahq-quick{grid-template-columns:repeat(2,1fr)}.ahq-card-list{grid-template-columns:1fr}.ahq-date{display:none}}
@media(max-width:760px){.ahq-login-shell{grid-template-columns:1fr}.ahq-login-brand{display:none}.ahq-login-card{padding:40px 0}.ahq-mobile-brand{display:flex;align-items:center;gap:12px;margin-bottom:35px}.ahq-mobile-brand .ahq-mark{width:43px;height:43px}.ahq-app-shell{display:block}.ahq-sidebar{position:fixed;left:-280px;width:265px;transition:.25s}.ahq-sidebar.open{left:0;box-shadow:20px 0 45px rgba(0,0,0,.25)}.ahq-topbar{height:78px;padding:0 18px;justify-content:flex-start;gap:14px}.ahq-menu-toggle{display:block;border:0;background:#edf1f6;border-radius:9px;padding:8px 10px}.ahq-topbar h1{font-size:19px}.ahq-content{padding:18px}.ahq-welcome{padding:21px;align-items:flex-start}.ahq-welcome h2{font-size:23px}.ahq-role-pill{font-size:9px}.ahq-stats{grid-template-columns:1fr 1fr;gap:10px}.ahq-stats>div{padding:15px}.ahq-stats b{font-size:24px}.ahq-quick{grid-template-columns:1fr 1fr}.ahq-filter{align-items:stretch;flex-direction:column}.ahq-filter input{min-width:0;width:100%;box-sizing:border-box}.ahq-profile-grid{grid-template-columns:1fr}}
@media(max-width:430px){.ahq-stats{grid-template-columns:1fr}.ahq-quick{grid-template-columns:1fr}.ahq-login-card h2{font-size:29px}}


/* AHQ ERP v2.1.1 — login refinement */
.ahq-login-card h2{color:var(--ahq-navy);font-weight:500;letter-spacing:-.5px}
.ahq-mobile-brand>div:last-child{display:flex;flex-direction:column;gap:2px}
.ahq-mobile-brand small{font-size:10px;letter-spacing:.5px;text-transform:uppercase;color:var(--ahq-muted);font-weight:650}
.ahq-login-footer{text-align:center;margin-top:18px;font-size:10px;color:#9aa4b2}
@media(max-width:760px){
  .ahq-erp-portal-page{background:linear-gradient(180deg,#f3f6fa 0,#fff 38%,#fff 100%)}
  .ahq-login-shell{min-height:100svh;background:transparent;display:flex;align-items:center;justify-content:center;padding:18px;box-sizing:border-box}
  .ahq-login-card{width:100%;max-width:430px;margin:0;background:#fff;border:1px solid #e7ebf1;border-radius:24px;padding:28px 24px 25px;box-sizing:border-box;box-shadow:0 18px 55px rgba(16,35,63,.10)}
  .ahq-mobile-brand{margin-bottom:28px}
  .ahq-login-card h2{font-size:34px;line-height:1.12;margin-bottom:8px}
  .ahq-login-card>p{font-size:15px;line-height:1.55;margin-bottom:24px}
  .ahq-login-card label{font-size:13px;margin-top:15px}
  .ahq-login-card input[type=text],.ahq-login-card input[type=password],.ahq-login-card input[name=identifier]{padding:14px 15px;border-radius:13px;background:#fff}
  .ahq-primary{padding:15px;border-radius:13px}
  .ahq-login-card>small{font-size:11px;line-height:1.5}
}
@media(max-width:390px){
  .ahq-login-shell{padding:10px}
  .ahq-login-card{padding:24px 18px 22px;border-radius:20px}
  .ahq-login-card h2{font-size:30px}
  .ahq-login-row{gap:12px}
}

/* AHQ ERP v2.2.0 — modern role dashboard */
.ahq-erp-portal-page #wpadminbar{display:none!important}.ahq-erp-portal-page{margin-top:0!important}.ahq-sidebar-overlay{display:none}.ahq-sidebar-head{display:flex;align-items:center}.ahq-sidebar-close{display:none}.ahq-nav-label{font-size:9px;letter-spacing:1.5px;color:#71829a;font-weight:800;padding:2px 14px 10px}.ahq-sidebar nav a{position:relative}.ahq-sidebar nav a i{position:absolute;right:10px;width:5px;height:5px;border-radius:50%;background:var(--ahq-gold)}.ahq-topbar-left,.ahq-top-actions,.ahq-user-chip{display:flex;align-items:center}.ahq-topbar-left{gap:16px}.ahq-top-actions{gap:13px}.ahq-notification{position:relative;width:42px;height:42px;border:1px solid var(--ahq-line);border-radius:12px;background:#fff;color:var(--ahq-navy)}.ahq-notification i{position:absolute;right:9px;top:8px;width:7px;height:7px;border:2px solid #fff;border-radius:50%;background:#d9a834}.ahq-user-chip{gap:10px;border-left:1px solid var(--ahq-line);padding-left:15px}.ahq-avatar.small{width:38px;height:38px}.ahq-user-chip b,.ahq-user-chip small{display:block}.ahq-user-chip b{font-size:12px}.ahq-user-chip small{font-size:10px;color:var(--ahq-muted);margin-top:2px}.ahq-welcome{position:relative;overflow:hidden}.ahq-welcome:after{content:"";position:absolute;width:240px;height:240px;border-radius:50%;right:-70px;top:-100px;border:36px solid rgba(255,255,255,.045)}.ahq-welcome-art{width:72px;height:72px;border-radius:22px;display:grid;place-items:center;background:rgba(255,255,255,.1);z-index:1}.ahq-welcome-art .dashicons{font-size:35px;width:35px;height:35px;color:#fff}.ahq-stats>div{position:relative;overflow:hidden}.ahq-stats>div>i{position:absolute;right:16px;top:16px;width:40px;height:40px;border-radius:12px;display:grid;place-items:center;background:#f1f4f8;color:var(--ahq-navy)}.ahq-stats>div:before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:var(--ahq-gold)}.ahq-dashboard-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(260px,.7fr);gap:18px;margin-bottom:18px}.ahq-panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:18px}.ahq-panel-head h3{margin:0 0 5px}.ahq-panel-head p{margin:0;color:var(--ahq-muted);font-size:11px}.ahq-panel-head>a{font-size:11px;font-weight:700;color:var(--ahq-navy2)}.ahq-quick{grid-template-columns:repeat(3,1fr)}.ahq-quick a{position:relative}.ahq-quick a em{position:absolute;right:14px;top:15px;font-style:normal;color:#9aa5b5}.ahq-progress-ring{--progress:0;width:152px;height:152px;border-radius:50%;margin:5px auto 18px;background:conic-gradient(var(--ahq-gold) calc(var(--progress)*1%),#edf1f5 0);display:grid;place-items:center}.ahq-progress-ring:before{content:"";width:116px;height:116px;background:#fff;border-radius:50%;position:absolute}.ahq-progress-ring>div{position:relative;text-align:center}.ahq-progress-ring b,.ahq-progress-ring span{display:block}.ahq-progress-ring b{font-size:26px}.ahq-progress-ring span{font-size:10px;color:var(--ahq-muted)}.ahq-progress-meta{display:flex;justify-content:center;gap:18px;font-size:10px;color:var(--ahq-muted)}.ahq-progress-meta span{display:flex;align-items:center;gap:5px}.ahq-progress-meta i{width:7px;height:7px;border-radius:50%;background:#d9dee6}.ahq-progress-meta i.done{background:var(--ahq-gold)}.ahq-upcoming-list article{display:grid;grid-template-columns:52px 1fr auto;align-items:center;gap:14px;padding:14px 0;border-top:1px solid #edf0f5}.ahq-upcoming-list article:first-child{border-top:0}.ahq-upcoming-list .ahq-zoom-date{width:50px;height:55px;border-radius:12px}.ahq-upcoming-list h4{margin:0 0 5px;font-size:13px}.ahq-upcoming-list p,.ahq-upcoming-list small{margin:0;color:var(--ahq-muted);font-size:10px}.ahq-upcoming-list article>.dashicons{color:#a7b0bd}.ahq-empty{text-align:center;padding:24px;color:var(--ahq-muted)}.ahq-empty .dashicons{font-size:30px;width:30px;height:30px}
@media(max-width:980px){.ahq-dashboard-grid{grid-template-columns:1fr}.ahq-user-chip>div:last-child{display:none}.ahq-quick{grid-template-columns:repeat(3,1fr)}}
@media(max-width:760px){body.ahq-menu-open{overflow:hidden}.ahq-sidebar-overlay{display:block;position:fixed;inset:0;background:rgba(8,18,33,.46);backdrop-filter:blur(2px);opacity:0;visibility:hidden;transition:.22s;z-index:29}.ahq-sidebar-overlay.open{opacity:1;visibility:visible}.ahq-sidebar-close{display:block;margin-left:auto;border:0;background:rgba(255,255,255,.1);color:#fff;width:34px;height:34px;border-radius:10px;font-size:22px}.ahq-app-logo{padding-bottom:22px}.ahq-topbar{justify-content:space-between}.ahq-menu-toggle{width:42px;height:42px;padding:10px;display:flex;flex-direction:column;justify-content:center;gap:4px}.ahq-menu-toggle span{display:block;width:19px;height:2px;background:var(--ahq-navy);border-radius:3px}.ahq-user-chip{padding-left:0;border-left:0}.ahq-notification{width:40px;height:40px}.ahq-content{padding:16px 14px 34px}.ahq-welcome{border-radius:16px}.ahq-welcome p{font-size:11px;line-height:1.5;max-width:80%}.ahq-welcome-art{display:none}.ahq-stats{grid-template-columns:1fr 1fr}.ahq-stats>div{min-height:105px}.ahq-stats>div>i{width:34px;height:34px}.ahq-stats b{font-size:26px}.ahq-dashboard-grid{gap:14px}.ahq-panel{border-radius:15px;padding:17px}.ahq-quick{grid-template-columns:1fr 1fr}.ahq-quick a{padding:14px}.ahq-upcoming-list article{grid-template-columns:50px 1fr}.ahq-upcoming-list article>.dashicons{display:none}.ahq-table-wrap{overflow:visible}.ahq-table-wrap table,.ahq-table-wrap thead,.ahq-table-wrap tbody,.ahq-table-wrap tr,.ahq-table-wrap td{display:block}.ahq-table-wrap thead{display:none}.ahq-table-wrap tr{border:1px solid var(--ahq-line);border-radius:13px;padding:12px;margin-bottom:10px;background:#fff}.ahq-table-wrap td{border:0;padding:5px 0}.ahq-table-wrap td:empty{display:none}}
@media(max-width:430px){.ahq-stats{grid-template-columns:1fr 1fr}.ahq-stats>div{padding:14px}.ahq-stats span{padding-right:30px}.ahq-stats small{font-size:9px}.ahq-quick{grid-template-columns:1fr}.ahq-topbar small{font-size:8px}.ahq-topbar h1{font-size:18px}}


/* AHQ ERP v2.2.1 — refined contrast + crimson accent */
:root{
  --ahq-navy:#183153;
  --ahq-navy2:#24456f;
  --ahq-gold:#B88A2A;
  --ahq-gold-soft:#D9B85F;
  --ahq-red:#C62828;
  --ahq-red-soft:#FDECEC;
  --ahq-bg:#F8FAFC;
  --ahq-text:#1F2937;
  --ahq-muted:#6B7280;
  --ahq-line:#E5E7EB;
}
.ahq-panel-head h3,
.ahq-panel h3,
.ahq-upcoming .ahq-panel-head h3,
.ahq-login-card h2{color:var(--ahq-navy)!important}
.ahq-panel-head h3{font-weight:750;letter-spacing:-.2px}
.ahq-panel-head>a{color:var(--ahq-navy);text-decoration-thickness:1px;text-underline-offset:3px}
.ahq-panel{border:1px solid var(--ahq-line);box-shadow:0 10px 30px rgba(24,49,83,.055)}
.ahq-stats>div{border:1px solid var(--ahq-line);box-shadow:0 8px 24px rgba(24,49,83,.045)}
.ahq-stats>div:before{background:var(--ahq-gold)}
.ahq-stats>div.stat-monitor:before{background:var(--ahq-red)}
.ahq-stats>div.stat-monitor>i{background:var(--ahq-red-soft);color:var(--ahq-red)}
.ahq-sidebar nav a.active:before,
.ahq-sidebar nav a[aria-current="page"]:before{content:"";position:absolute;left:-18px;top:9px;bottom:9px;width:3px;border-radius:0 4px 4px 0;background:var(--ahq-red)}
.ahq-notification i{background:var(--ahq-red)}
.ahq-progress-ring{background:conic-gradient(var(--ahq-gold) calc(var(--progress)*1%),#EDF1F5 0)}
.ahq-progress-ring b{color:var(--ahq-navy)}
.ahq-progress-meta i.done{background:var(--ahq-gold)}
.ahq-progress-meta i:not(.done){background:#D9DEE6}
.ahq-primary{background:var(--ahq-navy)}
.ahq-primary:hover{background:var(--ahq-navy2)}
.ahq-alert{border-color:#F3C7C7;background:#FFF7F7;color:#8D2020}
.ahq-quick a .dashicons{color:var(--ahq-gold)}
.ahq-quick a:hover{border-color:#D6C092;box-shadow:0 10px 22px rgba(24,49,83,.07)}
.ahq-quick a:hover em{color:var(--ahq-red)}
.ahq-welcome{background:linear-gradient(135deg,var(--ahq-navy),#10233f)}
.ahq-welcome span,.ahq-welcome h2,.ahq-welcome p{color:#fff}
.ahq-login-card input:focus{outline:2px solid rgba(184,138,42,.18);border-color:var(--ahq-gold)}
.ahq-mark{background:var(--ahq-gold)}
@media(max-width:760px){
  .ahq-panel-head h3{font-size:22px;line-height:1.25}
  .ahq-panel-head{align-items:flex-start}
  .ahq-panel-head>a{font-size:12px}
  .ahq-panel{box-shadow:0 7px 22px rgba(24,49,83,.05)}
}

/* v2.3.0 Operational */
.ahq-member-monitor-form{display:grid;gap:14px;max-width:760px;margin-top:22px}.ahq-member-monitor-form>label:not(.ahq-check-card){display:grid;gap:8px;font-weight:700;color:#183153}.ahq-member-monitor-form textarea{width:100%;border:1px solid #dce3eb;border-radius:14px;padding:13px;background:#fff}.ahq-check-card{display:flex;align-items:flex-start;gap:14px;padding:16px;border:1px solid #e4e9ef;border-radius:16px;background:#fff;cursor:pointer;transition:.2s}.ahq-check-card:hover{border-color:#b88a2a;box-shadow:0 8px 22px rgba(24,49,83,.07)}.ahq-check-card input{width:20px;height:20px;margin-top:3px;accent-color:#183153}.ahq-check-card span{display:grid;gap:4px}.ahq-check-card b{color:#183153}.ahq-check-card small{color:#6b7280}.ahq-alert.success{border-left:4px solid #16a34a;background:#f0fdf4;color:#166534}.ahq-zoom-card form{margin-top:12px}.ahq-zoom-card .ahq-primary{width:auto;padding:10px 16px}.ahq-badge.complete{background:#ecfdf3;color:#166534}.ahq-card-list>.ahq-alert{margin-bottom:14px}

/* AHQ ERP v4.0.1 — force readable light theme on mobile */
:root,
html,
body.ahq-erp-portal-page{
  color-scheme:only light!important;
}
body.ahq-erp-portal-page,
.ahq-app-shell,
.ahq-main,
.ahq-content{
  background:#F8FAFC!important;
  color:#1F2937!important;
}
.ahq-panel,
.ahq-table-wrap,
.ahq-table-wrap table,
.ahq-table-wrap tbody,
.ahq-table-wrap tr,
.ahq-table-wrap td{
  color-scheme:only light!important;
}
.ahq-panel,
.ahq-table-wrap tr{
  background:#FFFFFF!important;
  color:#1F2937!important;
}
.ahq-table-wrap td,
.ahq-table-wrap td b,
.ahq-table-wrap td strong{
  color:#1F2937!important;
}
.ahq-table-wrap td small{
  color:#6B7280!important;
}
.ahq-table-wrap td:nth-child(2),
.ahq-table-wrap td:nth-child(2) b{
  color:#174EA6!important;
}
.ahq-badge{
  background:#ECFDF3!important;
  color:#166534!important;
}
.ahq-filter input,
.ahq-filter select,
.ahq-member-monitor-form textarea,
.ahq-login-card input{
  background:#FFFFFF!important;
  color:#1F2937!important;
  border-color:#DDE3EA!important;
}
@media(max-width:760px){
  .ahq-table-wrap tr{
    background:#FFFFFF!important;
    border-color:#DDE3EA!important;
    box-shadow:0 6px 18px rgba(24,49,83,.05)!important;
  }
  .ahq-table-wrap td{
    background:transparent!important;
  }
}


/* AHQ ERP v4.0.2 — desktop and mobile hard light-theme override */
html:has(body.ahq-erp-portal-page),
body.ahq-erp-portal-page,
body.ahq-erp-portal-page *{
  color-scheme:light!important;
}
body.ahq-erp-portal-page .ahq-main,
body.ahq-erp-portal-page .ahq-content,
body.ahq-erp-portal-page .ahq-panel,
body.ahq-erp-portal-page .ahq-table-wrap{
  background-color:#F8FAFC!important;
}
body.ahq-erp-portal-page .ahq-panel{
  background:#FFFFFF!important;
}
body.ahq-erp-portal-page .ahq-table-wrap table,
body.ahq-erp-portal-page .ahq-table-wrap thead,
body.ahq-erp-portal-page .ahq-table-wrap tbody,
body.ahq-erp-portal-page .ahq-table-wrap tr,
body.ahq-erp-portal-page .ahq-table-wrap th,
body.ahq-erp-portal-page .ahq-table-wrap td{
  background:#FFFFFF!important;
  background-color:#FFFFFF!important;
  color:#1F2937!important;
  border-color:#E5E7EB!important;
}
body.ahq-erp-portal-page .ahq-table-wrap th{
  color:#64748B!important;
}
body.ahq-erp-portal-page .ahq-table-wrap td a,
body.ahq-erp-portal-page .ahq-table-wrap td b,
body.ahq-erp-portal-page .ahq-table-wrap td strong{
  color:#1F2937!important;
}
body.ahq-erp-portal-page .ahq-table-wrap td small{
  color:#64748B!important;
}
body.ahq-erp-portal-page input,
body.ahq-erp-portal-page select,
body.ahq-erp-portal-page textarea,
body.ahq-erp-portal-page option{
  background:#FFFFFF!important;
  background-color:#FFFFFF!important;
  color:#1F2937!important;
  border-color:#D1D5DB!important;
}
body.ahq-erp-portal-page .ahq-badge.not_filled{
  background:#F3F4F6!important;
  color:#4B5563!important;
}
body.ahq-erp-portal-page .ahq-badge.complete{
  background:#DCFCE7!important;
  color:#166534!important;
}
body.ahq-erp-portal-page .ahq-badge.pending{
  background:#FEF3C7!important;
  color:#92400E!important;
}

.ahq-learning-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:12px}
.ahq-learning-head h3{margin:4px 0 0}.ahq-learning-head strong{font-size:24px}
.ahq-progress-track{height:10px;border-radius:999px;background:#e8ece9;overflow:hidden;margin-bottom:22px}
.ahq-progress-track i{display:block;height:100%;background:linear-gradient(90deg,#2f7453,#d6aa4b);border-radius:999px}
.ahq-material-journey{display:grid;gap:14px}
.ahq-material-item{display:flex;gap:14px;padding:16px;border:1px solid #e5e7eb;border-radius:16px;background:#fff}
.ahq-material-item.current{border-color:#2f7453;box-shadow:0 8px 24px rgba(47,116,83,.12)}
.ahq-material-item.locked{background:#f6f7f7;opacity:.78}
.ahq-material-no{width:42px;height:42px;flex:0 0 42px;border-radius:50%;display:grid;place-items:center;background:#edf5f0;font-weight:700}
.ahq-material-item.current .ahq-material-no{background:#2f7453;color:#fff}
.ahq-material-copy h3{margin:3px 0 6px}.ahq-material-copy p{margin:5px 0 10px}
@media(max-width:640px){.ahq-material-item{padding:14px}.ahq-learning-head{align-items:flex-start}.ahq-learning-head strong{font-size:20px}}

/* ==========================================================
   GSM ERP — PRO SHELL V1
   ========================================================== */

.ahq-pro-eyebrow{
  display:block;
  margin-bottom:5px;
  font-size:11px;
  font-weight:800;
  letter-spacing:.12em;
  color:#7b8794;
}

.ahq-pro-control-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
  margin-top:20px;
}

.ahq-pro-control-card{
  display:flex;
  gap:14px;
  align-items:center;
  padding:18px;
  border:1px solid #e7ebef;
  border-radius:18px;
  background:#fff;
}

.ahq-pro-control-card>.dashicons{
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  font-size:23px;
  border-radius:13px;
  background:#eef6f3;
}

.ahq-pro-control-card b,
.ahq-pro-control-card small{
  display:block;
}

.ahq-pro-control-card b{
  margin-bottom:4px;
  font-size:14px;
}

.ahq-pro-control-card small{
  color:#718096;
  line-height:1.45;
}

.ahq-pro-backend-note{
  margin-top:20px;
  padding:18px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:18px;
  border-radius:18px;
  background:#f7f9fb;
  border:1px solid #e8edf2;
}

.ahq-pro-backend-note p{
  margin:5px 0 0;
  color:#718096;
}

@media(max-width:700px){

  .ahq-pro-control-grid{
    grid-template-columns:1fr;
  }

  .ahq-pro-backend-note{
    align-items:flex-start;
    flex-direction:column;
  }
}

/* ==========================================================
   GSM ERP — FAST NAVIGATION V1
   ========================================================== */

.ahq-content{
  position:relative;
}

.ahq-fast-loading .ahq-content{
  pointer-events:none;
}

.ahq-fast-loading .ahq-content::after{
  content:"";
  position:fixed;
  width:28px;
  height:28px;
  top:50%;
  left:calc(50% + 100px);
  margin:-14px 0 0 -14px;
  border:3px solid rgba(16,43,78,.15);
  border-top-color:#163b67;
  border-radius:50%;
  animation:ahqFastSpin .65s linear infinite;
  z-index:999;
}

.ahq-fast-loading .ahq-content::before{
  content:"";
  position:absolute;
  inset:0;
  background:rgba(247,249,252,.45);
  backdrop-filter:blur(1px);
  z-index:998;
}

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

@media(max-width:900px){
  .ahq-fast-loading .ahq-content::after{
    left:50%;
  }
}

/* CONTROL CENTER V2 LEVEL */

.ahq-control-breadcrumb{
  display:flex;
  gap:8px;
  align-items:center;
  margin-bottom:14px;
  font-size:12px;
}

.ahq-control-layout{
  display:grid;
  grid-template-columns:minmax(300px,.8fr) minmax(400px,1.2fr);
  gap:18px;
}

.ahq-control-form label{
  display:block;
  margin-bottom:15px;
  font-size:12px;
  font-weight:800;
}

.ahq-control-form input{
  width:100%;
  min-height:44px;
  margin-top:6px;
}

.ahq-control-form-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}

.ahq-control-actions{
  display:flex;
  gap:10px;
  align-items:center;
}

.ahq-control-secondary{
  padding:10px 15px;
  border:1px solid #dce3ea;
  border-radius:10px;
  text-decoration:none;
  font-weight:800;
}

.ahq-level-list{
  display:flex;
  flex-direction:column;
  gap:9px;
}

.ahq-level-row{
  display:flex;
  gap:12px;
  align-items:center;
  padding:13px;
  border:1px solid #e7ebef;
  border-radius:13px;
}

.ahq-level-code{
  min-width:52px;
  padding:9px;
  text-align:center;
  border-radius:10px;
  background:#eef6f3;
  font-weight:900;
}

.ahq-level-copy{
  flex:1;
}

.ahq-level-copy b,
.ahq-level-copy small{
  display:block;
}

.ahq-level-copy small{
  margin-top:4px;
  opacity:.65;
}

.ahq-control-mini-actions{
  margin-left:auto;
  display:flex;
  gap:7px;
  align-items:center;
}

.ahq-control-mini-actions a,
.ahq-control-mini-actions span{
  padding:7px 10px;
  border-radius:9px;
  background:#f3f6f8;
  font-size:11px;
  font-weight:800;
  text-decoration:none;
}

@media(max-width:850px){
  .ahq-control-layout{
    grid-template-columns:1fr;
  }
}

@media(max-width:600px){
  .ahq-control-form-grid{
    grid-template-columns:1fr;
  }
}

/* ==========================================================
   GSM ERP — FULL WIDTH DESKTOP V1
   ========================================================== */

body .ast-container,
body .site-content .ast-container,
body .site-main,
body .entry-content{
    width:100% !important;
    max-width:none !important;
}

body .ast-container{
    padding-left:0 !important;
    padding-right:0 !important;
}

.ahq-app-shell{
    width:100% !important;
    max-width:none !important;
    margin:0 !important;
}

.ahq-main{
    flex:1 1 auto !important;
    width:auto !important;
    max-width:none !important;
    min-width:0 !important;
}

.ahq-content{
    width:100% !important;
    max-width:none !important;
    box-sizing:border-box;
}

/* Desktop besar: beri ruang nyaman, bukan membatasi lebar */
@media(min-width:1200px){

    .ahq-content{
        padding-left:30px;
        padding-right:30px;
    }

}

/* ==========================================================
   GSM ERP — PIC & MENTOR FRONTEND V1
   ========================================================== */

.ahq-people-stats{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px;
  margin-bottom:18px;
}

.ahq-people-stats>div{
  padding:16px;
  border:1px solid #e3e8ed;
  border-radius:14px;
  background:#fff;
}

.ahq-people-stats span,
.ahq-people-stats b{
  display:block;
}

.ahq-people-stats span{
  font-size:11px;
  opacity:.65;
}

.ahq-people-stats b{
  margin-top:5px;
  font-size:23px;
}

.ahq-control-form input[type="email"],
.ahq-control-form textarea{
  width:100%;
  margin-top:6px;
}

.ahq-control-form input[type="email"]{
  min-height:44px;
}

.ahq-people-role-box{
  display:flex;
  align-items:center;
  gap:18px;
  padding:14px;
  margin-bottom:16px;
  border:1px solid #e3e8ed;
  border-radius:12px;
  background:#f8fafb;
}

.ahq-people-role-box>b{
  margin-right:auto;
}

.ahq-people-role-box label{
  display:flex!important;
  align-items:center;
  gap:7px;
  margin:0!important;
}

.ahq-people-role-box input{
  width:auto!important;
  min-height:auto!important;
  margin:0!important;
}

.ahq-people-list{
  display:flex;
  flex-direction:column;
  gap:9px;
}

.ahq-person-card{
  display:flex;
  align-items:center;
  gap:13px;
  padding:13px;
  border:1px solid #e5e9ed;
  border-radius:13px;
}

.ahq-person-avatar{
  width:42px;
  height:42px;
  display:flex;
  align-items:center;
  justify-content:center;
  flex:0 0 42px;
  border-radius:50%;
  background:#eef6f3;
  font-weight:900;
}

.ahq-person-info{
  flex:1;
  min-width:0;
}

.ahq-person-info>b,
.ahq-person-info>small{
  display:block;
}

.ahq-person-info>small{
  margin-top:4px;
  opacity:.67;
}

.ahq-person-roles{
  display:flex;
  gap:5px;
  margin-top:5px;
}

.ahq-person-roles span{
  padding:4px 7px;
  border-radius:20px;
  background:#eef3f7;
  font-size:10px;
  font-weight:800;
}

.ahq-person-side{
  display:flex;
  align-items:center;
  gap:12px;
}

.ahq-person-side>a{
  font-size:12px;
  font-weight:800;
}

@media(max-width:700px){

  .ahq-people-stats{
    grid-template-columns:1fr;
  }

  .ahq-person-card{
    align-items:flex-start;
  }

  .ahq-person-side{
    flex-direction:column;
    align-items:flex-end;
  }

}

/* ==========================================================
   GSM ERP — SYSTEM & BACKUP UI V1.1
   ========================================================== */

.ahq-system-stats{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
  margin-bottom:18px;
}

.ahq-system-stats>div{
  padding:16px 18px;
  background:#fff;
  border:1px solid #e4e9ee;
  border-radius:14px;
  box-shadow:0 6px 18px rgba(17,43,75,.04);
}

.ahq-system-stats span,
.ahq-system-stats b,
.ahq-system-stats small{
  display:block;
}

.ahq-system-stats span{
  font-size:11px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.05em;
  opacity:.55;
}

.ahq-system-stats b{
  margin-top:6px;
  font-size:20px;
  line-height:1.2;
}

.ahq-system-stats small{
  margin-top:4px;
  opacity:.6;
}

.ahq-system-grid{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:18px;
  margin-bottom:18px;
}

.ahq-backup-box{
  display:flex;
  align-items:flex-start;
  gap:14px;
  padding:18px;
  margin:8px 0 16px;
  background:#f7f9fb;
  border:1px solid #e5eaf0;
  border-radius:14px;
}

.ahq-backup-box>.dashicons{
  width:42px;
  height:42px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:11px;
  background:#eef3f7;
  font-size:22px;
}

.ahq-backup-box b,
.ahq-backup-box p,
.ahq-backup-box small{
  display:block;
}

.ahq-backup-box p{
  margin:5px 0;
  opacity:.75;
}

.ahq-backup-box small{
  opacity:.6;
}

.ahq-system-download{
  display:flex!important;
  justify-content:center;
  align-items:center;
  min-height:46px;
  text-align:center;
}

.ahq-system-note{
  margin-top:14px;
  padding:13px 15px;
  background:#fbfcfd;
  border-left:3px solid #d8a51c;
  border-radius:8px;
}

.ahq-system-note b{
  display:block;
  margin-bottom:4px;
}

.ahq-system-note p{
  margin:0;
  opacity:.72;
}

.ahq-system-table-list{
  display:flex;
  flex-direction:column;
  gap:8px;
}

.ahq-system-table-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:12px 14px;
  border:1px solid #e7ebef;
  border-radius:11px;
  background:#fff;
}

.ahq-system-table-row>div:first-child{
  min-width:0;
}

.ahq-system-table-row b,
.ahq-system-table-row small{
  display:block;
}

.ahq-system-table-row small{
  margin-top:3px;
  opacity:.55;
  font-size:10px;
}

.ahq-system-table-row>div:last-child{
  display:flex;
  align-items:center;
  gap:10px;
}

.ahq-system-table-row strong{
  font-size:14px;
}

.ahq-system-table-row .system-ok,
.ahq-system-table-row .system-error{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:56px;
  padding:5px 9px;
  border-radius:999px;
  font-size:10px;
  font-weight:900;
}

.ahq-system-table-row .system-ok{
  background:#e8f8ef;
}

.ahq-system-table-row .system-error{
  background:#fdecec;
}

.ahq-system-tech{
  margin-top:0;
}

.ahq-system-info-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
}

.ahq-system-info-grid>div{
  padding:13px 14px;
  border:1px solid #e6eaee;
  border-radius:11px;
  background:#fafbfc;
}

.ahq-system-info-grid span,
.ahq-system-info-grid b{
  display:block;
}

.ahq-system-info-grid span{
  font-size:10px;
  text-transform:uppercase;
  letter-spacing:.04em;
  opacity:.55;
}

.ahq-system-info-grid b{
  margin-top:5px;
  font-size:12px;
  word-break:break-word;
}

@media(max-width:1050px){

  .ahq-system-stats,
  .ahq-system-info-grid{
    grid-template-columns:repeat(2,1fr);
  }

}

@media(max-width:850px){

  .ahq-system-grid{
    grid-template-columns:1fr;
  }

}

@media(max-width:600px){

  .ahq-system-stats,
  .ahq-system-info-grid{
    grid-template-columns:1fr;
  }

}

/* ==========================================================
   GSM ERP — MOBILE SHELL V1
   ========================================================== */

@media(max-width:768px){

  html,
  body{
    width:100%;
    overflow-x:hidden;
  }

  body{
    background:#f5f7fa;
  }

  /* APP SHELL */
  .ahq-app-shell{
    display:block!important;
    width:100%!important;
    min-height:100vh!important;
    margin:0!important;
  }

  /* SIDEBAR MENJADI DRAWER */
  .ahq-sidebar{
    position:fixed!important;
    top:0;
    left:0;
    bottom:0;
    width:278px!important;
    max-width:84vw!important;
    height:100vh!important;
    z-index:10010!important;

    transform:translateX(-105%);
    transition:transform .22s ease;

    box-shadow:12px 0 32px rgba(10,30,55,.18);
    overflow-y:auto;
    overscroll-behavior:contain;
  }

  .ahq-sidebar.open{
    transform:translateX(0);
  }

  .ahq-sidebar-overlay{
    position:fixed!important;
    inset:0!important;
    background:rgba(7,22,39,.45)!important;
    backdrop-filter:blur(2px);
    z-index:10000!important;

    opacity:0;
    visibility:hidden;
    transition:.2s ease;
  }

  .ahq-sidebar-overlay.open{
    opacity:1;
    visibility:visible;
  }

  body.ahq-menu-open{
    overflow:hidden;
  }

  /* MAIN */
  .ahq-main{
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    margin:0!important;
  }

  /* TOPBAR */
  .ahq-topbar{
    position:sticky!important;
    top:0;
    z-index:500;

    min-height:58px!important;
    padding:8px 14px!important;

    background:rgba(255,255,255,.96)!important;
    backdrop-filter:blur(10px);

    border-bottom:1px solid #e7ebef;
  }

  .ahq-topbar h1{
    font-size:17px!important;
    line-height:1.2!important;
    margin:0!important;
  }

  .ahq-topbar small{
    display:none!important;
  }

  .ahq-menu-toggle{
    width:40px!important;
    height:40px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;

    border-radius:10px!important;
    flex:0 0 40px;
  }

  /* CONTENT */
  .ahq-content{
    width:100%!important;
    max-width:none!important;

    padding:14px 12px 34px!important;

    box-sizing:border-box;
  }

  /* PANEL */
  .ahq-panel{
    margin-bottom:12px!important;
    padding:15px!important;

    border-radius:15px!important;
    box-shadow:0 4px 16px rgba(20,42,69,.045)!important;
  }

  .ahq-panel-head{
    gap:10px!important;
    margin-bottom:14px!important;
  }

  .ahq-panel-head h3{
    font-size:17px!important;
    line-height:1.3!important;
  }

  .ahq-panel-head p{
    margin-top:3px!important;
    font-size:11px!important;
    line-height:1.45!important;
  }

  .ahq-pro-eyebrow{
    font-size:9px!important;
    letter-spacing:.09em!important;
  }

  /* DASHBOARD WELCOME */
  .ahq-welcome{
    padding:18px!important;
    margin-bottom:12px!important;
    border-radius:16px!important;
  }

  .ahq-welcome h2{
    font-size:21px!important;
    margin:3px 0 5px!important;
  }

  .ahq-welcome p{
    font-size:12px!important;
    line-height:1.5!important;
  }

  .ahq-welcome-art{
    display:none!important;
  }

  /* KPI */
  .ahq-stats{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:9px!important;
  }

  .ahq-stats>div{
    min-height:105px!important;
    padding:13px!important;
    border-radius:14px!important;
  }

  .ahq-stats>div>b{
    font-size:23px!important;
  }

  .ahq-stats>div>span{
    font-size:10px!important;
  }

  .ahq-stats>div>small{
    font-size:9px!important;
  }

  /* DASHBOARD GRID */
  .ahq-dashboard-grid{
    grid-template-columns:1fr!important;
    gap:12px!important;
  }

  .ahq-quick{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:8px!important;
  }

  .ahq-quick a{
    min-height:88px!important;
    padding:12px!important;
  }

  .ahq-quick a b{
    font-size:12px!important;
  }

  .ahq-quick a small{
    font-size:9px!important;
  }

  /* FORMS */
  .ahq-control-layout,
  .ahq-control-form-grid,
  .ahq-system-grid,
  .ahq-system-stats,
  .ahq-system-info-grid{
    grid-template-columns:1fr!important;
  }

  input,
  select,
  textarea,
  button{
    max-width:100%;
    box-sizing:border-box;
  }

  .ahq-control-form input,
  .ahq-control-form select,
  .ahq-filter input,
  .ahq-filter select{
    min-height:46px!important;
    font-size:16px!important;
  }

  .ahq-control-form textarea{
    min-height:100px;
    font-size:16px!important;
  }

  .ahq-primary{
    min-height:46px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
  }

  .ahq-control-actions{
    flex-direction:column!important;
    align-items:stretch!important;
  }

  .ahq-control-actions>*{
    width:100%!important;
    text-align:center!important;
  }

  /* FILTER */
  .ahq-filter{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:8px!important;
  }

  .ahq-filter button{
    width:100%!important;
    min-height:44px!important;
  }

  /* TABLE — TETAP AMAN DI HP */
  .ahq-table-wrap{
    width:100%!important;
    max-width:100%!important;

    overflow-x:auto!important;
    -webkit-overflow-scrolling:touch;

    border-radius:11px;
  }

  .ahq-table-wrap table{
    min-width:720px;
  }

  .ahq-table-wrap th,
  .ahq-table-wrap td{
    padding:10px!important;
    font-size:11px!important;
  }

  /* ZOOM */
  .ahq-zoom-card{
    padding:13px!important;
    gap:12px!important;
    border-radius:14px!important;
  }

  .ahq-zoom-card h3{
    font-size:14px!important;
  }

  .ahq-zoom-card p{
    font-size:11px!important;
  }

  .ahq-zoom-date{
    width:48px!important;
    min-width:48px!important;
  }

  /* CONTROL CENTER */
  .ahq-pro-control-grid{
    grid-template-columns:1fr!important;
    gap:9px!important;
  }

  .ahq-pro-control-card{
    min-height:82px!important;
    padding:13px!important;
  }

  .ahq-control-mini-actions{
    width:auto!important;
    margin-left:auto!important;
  }

  /* PEOPLE */
  .ahq-person-card{
    padding:12px!important;
  }

  .ahq-person-info small{
    word-break:break-word;
  }

  /* SYSTEM */
  .ahq-system-table-row{
    padding:11px!important;
  }

  .ahq-system-download{
    width:100%!important;
  }

}


/* ==========================================================
   HP KECIL
   ========================================================== */

@media(max-width:430px){

  .ahq-content{
    padding-left:9px!important;
    padding-right:9px!important;
  }

  .ahq-panel{
    padding:13px!important;
    border-radius:13px!important;
  }

  .ahq-stats{
    grid-template-columns:1fr 1fr!important;
  }

  .ahq-quick{
    grid-template-columns:1fr 1fr!important;
  }

  .ahq-control-mini-actions{
    width:100%!important;
    margin:9px 0 0!important;
  }

  .ahq-control-mini-actions a{
    flex:1;
    text-align:center;
  }

}

/* ==========================================================
   GSM ERP — MOBILE POLISH V2
   Fokus operasional PIC & Mentor
   ========================================================== */

@media(max-width:768px){

  /* BACKGROUND */
  body{
    background:#f4f7fa!important;
  }

  /* HEADER */
  .ahq-topbar{
    min-height:60px!important;
    padding:9px 12px!important;
    box-shadow:0 3px 12px rgba(20,45,75,.06);
  }

  .ahq-topbar h1{
    font-size:16px!important;
    font-weight:800!important;
  }

  /* SIDEBAR DRAWER */
  .ahq-sidebar{
    width:286px!important;
    padding-bottom:24px!important;
  }

  .ahq-sidebar nav{
    padding-top:8px!important;
  }

  .ahq-sidebar nav a{
    min-height:48px!important;
    display:flex!important;
    align-items:center!important;
    padding:11px 14px!important;
    margin-bottom:4px!important;
    border-radius:11px!important;
    font-size:13px!important;
  }

  .ahq-sidebar nav a.active{
    background:rgba(255,255,255,.12)!important;
  }

  /* CONTENT */
  .ahq-content{
    padding:12px 10px 28px!important;
  }

  /* PANEL */
  .ahq-panel{
    padding:14px!important;
    margin-bottom:11px!important;
    border-radius:16px!important;
    border:1px solid #e5eaef!important;
    box-shadow:0 4px 16px rgba(20,45,75,.035)!important;
  }

  /* WELCOME */
  .ahq-welcome{
    padding:17px!important;
    border-radius:17px!important;
    margin-bottom:11px!important;
  }

  .ahq-welcome span{
    font-size:11px!important;
  }

  .ahq-welcome h2{
    font-size:20px!important;
    line-height:1.25!important;
  }

  .ahq-welcome p{
    margin-bottom:0!important;
    font-size:11px!important;
    line-height:1.5!important;
  }

  /* KPI DASHBOARD */
  .ahq-stats{
    grid-template-columns:1fr 1fr!important;
    gap:8px!important;
    margin-bottom:11px!important;
  }

  .ahq-stats>div{
    min-height:96px!important;
    padding:12px!important;
    border-radius:15px!important;
  }

  .ahq-stats>div>b{
    font-size:25px!important;
    line-height:1!important;
  }

  .ahq-stats>div>span{
    margin-bottom:7px!important;
    font-size:10px!important;
    font-weight:800!important;
  }

  .ahq-stats>div>small{
    margin-top:7px!important;
    line-height:1.3!important;
  }

  .ahq-stats>div>i{
    opacity:.10!important;
    font-size:30px!important;
  }

  /* QUICK ACCESS */
  .ahq-quick{
    grid-template-columns:1fr 1fr!important;
    gap:8px!important;
  }

  .ahq-quick a{
    min-height:82px!important;
    padding:11px!important;
    border-radius:13px!important;
  }

  .ahq-quick a .dashicons{
    margin-bottom:6px!important;
  }

  .ahq-quick a b{
    font-size:11px!important;
  }

  .ahq-quick a small{
    display:none!important;
  }

  /* ZOOM CARD */
  .ahq-zoom-card{
    align-items:flex-start!important;
    padding:12px!important;
    gap:10px!important;
  }

  .ahq-zoom-card h3{
    margin:2px 0 4px!important;
    font-size:13px!important;
    line-height:1.35!important;
  }

  .ahq-zoom-card p{
    margin:3px 0!important;
  }

  .ahq-zoom-date{
    flex:0 0 46px!important;
    width:46px!important;
    padding:8px 4px!important;
    border-radius:11px!important;
  }

  /* FORM OPERASIONAL */
  .ahq-control-form label,
  .ahq-member-monitor-form label{
    font-size:11px!important;
  }

  .ahq-control-form input,
  .ahq-control-form select,
  .ahq-control-form textarea,
  .ahq-member-monitor-form textarea,
  .ahq-filter input,
  .ahq-filter select{
    width:100%!important;
    min-height:46px!important;
    font-size:16px!important;
    border-radius:11px!important;
  }

  .ahq-control-form textarea,
  .ahq-member-monitor-form textarea{
    min-height:105px!important;
  }

  /* BUTTON BESAR UNTUK JEMPOL */
  .ahq-primary,
  .ahq-filter button{
    min-height:47px!important;
    width:100%!important;
    border-radius:11px!important;
    font-size:13px!important;
    font-weight:800!important;
  }

  /* MONITORING CHECK CARD */
  .ahq-check-card{
    padding:13px!important;
    border-radius:13px!important;
    margin-bottom:8px!important;
  }

  .ahq-check-card span b{
    font-size:12px!important;
  }

  .ahq-check-card span small{
    font-size:10px!important;
    line-height:1.4!important;
  }

  /* BADGE */
  .ahq-badge{
    display:inline-flex!important;
    align-items:center!important;
    min-height:25px!important;
    padding:5px 9px!important;
    border-radius:999px!important;
    font-size:9px!important;
    font-weight:900!important;
  }

  /* PIC / MENTOR */
  .ahq-person-card{
    position:relative;
    padding:12px!important;
    gap:10px!important;
    border-radius:14px!important;
  }

  .ahq-person-avatar{
    width:38px!important;
    height:38px!important;
    flex-basis:38px!important;
  }

  .ahq-person-info>b{
    font-size:12px!important;
  }

  .ahq-person-info>small{
    font-size:9px!important;
    line-height:1.4!important;
  }

  .ahq-person-side{
    gap:7px!important;
  }

  .ahq-person-side>a{
    min-height:32px;
    display:flex;
    align-items:center;
    padding:4px 8px;
  }

  /* CONTROL CENTER */
  .ahq-pro-control-card{
    padding:13px!important;
    border-radius:14px!important;
  }

  .ahq-pro-control-card b{
    font-size:12px!important;
  }

  .ahq-pro-control-card small{
    font-size:9px!important;
    line-height:1.45!important;
  }

  .ahq-control-mini-actions a{
    min-height:34px;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:7px 10px!important;
  }

  /* TABLE */
  .ahq-table-wrap{
    margin-left:-3px;
    margin-right:-3px;
    width:calc(100% + 6px)!important;
  }

  .ahq-table-wrap table{
    min-width:680px!important;
  }

  .ahq-table-wrap td,
  .ahq-table-wrap th{
    white-space:nowrap;
  }

  /* SYSTEM CARDS */
  .ahq-system-stats{
    grid-template-columns:1fr 1fr!important;
  }

  .ahq-system-stats>div{
    padding:13px!important;
    border-radius:13px!important;
  }

  .ahq-system-stats b{
    font-size:17px!important;
  }

  .ahq-system-table-row{
    border-radius:11px!important;
  }

  /* HIDE DECORATIVE / SECONDARY */
  .ahq-pro-backend-note{
    padding:13px!important;
  }

  /* loading position mobile */
  .ahq-fast-loading .ahq-content::after{
    position:fixed!important;
    left:50%!important;
    top:48%!important;
  }

}


/* HP <= 430px */
@media(max-width:430px){

  .ahq-content{
    padding:9px 8px 26px!important;
  }

  .ahq-panel{
    padding:12px!important;
  }

  .ahq-topbar{
    padding-left:9px!important;
    padding-right:9px!important;
  }

  .ahq-stats>div{
    min-height:91px!important;
  }

  .ahq-stats>div>b{
    font-size:23px!important;
  }

  .ahq-system-stats{
    grid-template-columns:1fr 1fr!important;
  }

}

/* ==========================================================
   GSM ERP — MOBILE MONITORING + RESPON V1
   ========================================================== */

.ahq-monitor-mobile{
  display:none;
}

@media(max-width:768px){

  .ahq-monitor-desktop{
    display:none!important;
  }

  .ahq-monitor-mobile{
    display:block!important;
  }

  .ahq-mobile-monitor-head{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:12px;
    margin-bottom:12px;
  }

  .ahq-mobile-monitor-head h2{
    margin:3px 0;
    font-size:20px;
  }

  .ahq-mobile-monitor-head p{
    margin:0;
    font-size:11px;
    opacity:.65;
  }

  .ahq-mobile-monitor-head input[type=date]{
    width:142px;
    min-height:40px;
    padding:6px 8px;
    border:1px solid #dce3e9;
    border-radius:10px;
    background:#fff;
    font-size:12px;
  }

  .ahq-mobile-monitor-stats{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:6px;
    margin-bottom:12px;
  }

  .ahq-mobile-monitor-stats>div{
    padding:10px 5px;
    text-align:center;
    background:#fff;
    border:1px solid #e5eaef;
    border-radius:12px;
  }

  .ahq-mobile-monitor-stats b{
    display:block;
    font-size:19px;
    line-height:1;
  }

  .ahq-mobile-monitor-stats span{
    display:block;
    margin-top:6px;
    font-size:8px;
    font-weight:800;
    opacity:.65;
  }

  .ahq-mobile-monitor-stats .attention{
    border-color:#f1c9a4;
    background:#fffaf5;
  }

  .ahq-mobile-monitor-list{
    display:flex;
    flex-direction:column;
    gap:10px;
  }

  .ahq-mobile-monitor-card{
    padding:13px;
    background:#fff;
    border:1px solid #e4e9ee;
    border-radius:15px;
    box-shadow:0 4px 15px rgba(20,45,75,.035);
  }

  .ahq-mobile-monitor-card.needs-attention{
    border-left:4px solid #d79724;
  }

  .ahq-mobile-monitor-person{
    display:flex;
    align-items:flex-start;
    gap:10px;
  }

  .ahq-mobile-monitor-avatar{
    width:39px;
    height:39px;
    flex:0 0 39px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:#eef5f4;
    font-size:14px;
    font-weight:900;
  }

  .ahq-mobile-monitor-person>div:nth-child(2){
    flex:1;
    min-width:0;
  }

  .ahq-mobile-monitor-person h3{
    margin:0 0 3px;
    font-size:13px;
    line-height:1.3;
  }

  .ahq-mobile-monitor-person p,
  .ahq-mobile-monitor-person small{
    display:block;
    margin:0;
    font-size:9px;
    line-height:1.4;
    opacity:.68;
  }

  .ahq-mobile-monitor-checks{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:6px;
    margin-top:11px;
  }

  .ahq-mobile-monitor-checks span{
    padding:8px 5px;
    text-align:center;
    border-radius:9px;
    background:#f5f7f9;
    font-size:9px;
    font-weight:800;
  }

  .ahq-mobile-monitor-checks span.done{
    background:#eaf7ef;
  }

  .ahq-mobile-obstacle{
    margin-top:11px;
    padding:11px;
    border-radius:11px;
    background:#fff8ef;
    border:1px solid #f4dfc4;
  }

  .ahq-mobile-obstacle>span{
    display:block;
    margin-bottom:6px;
    font-size:9px;
    font-weight:900;
    letter-spacing:.04em;
  }

  .ahq-mobile-obstacle p{
    margin:0 0 6px;
    font-size:12px;
    line-height:1.55;
  }

  .ahq-mobile-obstacle small{
    font-size:9px;
    opacity:.65;
  }

  .ahq-mobile-last-response{
    margin-top:9px;
    padding:10px;
    border-radius:10px;
    background:#f3f7fb;
  }

  .ahq-mobile-last-response span{
    display:block;
    font-size:9px;
    font-weight:900;
    opacity:.65;
  }

  .ahq-mobile-last-response p{
    margin:5px 0 0;
    font-size:11px;
    line-height:1.5;
  }

  .ahq-mobile-response{
    margin-top:11px;
  }

  .ahq-mobile-response summary{
    display:flex;
    align-items:center;
    justify-content:center;
    min-height:43px;
    padding:8px 12px;
    border-radius:10px;
    background:#17395f;
    color:#fff;
    font-size:11px;
    font-weight:900;
    cursor:pointer;
    list-style:none;
  }

  .ahq-mobile-response summary::-webkit-details-marker{
    display:none;
  }

  .ahq-mobile-response[open] summary{
    border-radius:10px 10px 0 0;
  }

  .ahq-mobile-response form{
    padding:12px;
    border:1px solid #dfe6ec;
    border-top:0;
    border-radius:0 0 11px 11px;
    background:#fafcfd;
  }

  .ahq-mobile-response label{
    display:block;
    margin-bottom:11px;
    font-size:10px;
    font-weight:800;
  }

  .ahq-mobile-response label small{
    font-weight:500;
    opacity:.6;
  }

  .ahq-mobile-response select,
  .ahq-mobile-response textarea,
  .ahq-mobile-response input{
    width:100%;
    min-height:45px;
    margin-top:5px;
    border-radius:10px;
    font-size:16px;
  }

  .ahq-mobile-response textarea{
    min-height:105px;
  }

}

@media(max-width:380px){

  .ahq-mobile-monitor-stats{
    grid-template-columns:1fr 1fr;
  }

}

/* ==========================================================
   GSM ERP — MOBILE MONITORING POLISH V1.1
   ========================================================== */

@media(max-width:768px){

  .ahq-monitor-tools{
    position:sticky;
    top:60px;
    z-index:30;
    margin:0 -2px 12px;
    padding:8px;
    background:rgba(244,247,250,.96);
    backdrop-filter:blur(10px);
  }

  .ahq-monitor-search{
    width:100%;
    min-height:44px;
    padding:10px 13px;
    border:1px solid #dbe3e9;
    border-radius:12px;
    background:#fff;
    font-size:16px;
    box-sizing:border-box;
  }

  .ahq-monitor-filter-row{
    display:flex;
    gap:6px;
    margin-top:8px;
    overflow-x:auto;
    padding-bottom:2px;
    scrollbar-width:none;
  }

  .ahq-monitor-filter-row::-webkit-scrollbar{
    display:none;
  }

  .ahq-monitor-filter{
    flex:0 0 auto;
    min-height:36px;
    padding:7px 11px;
    border:1px solid #dce3e8;
    border-radius:999px;
    background:#fff;
    font-size:10px;
    font-weight:800;
    cursor:pointer;
  }

  .ahq-monitor-filter.active{
    background:#17395f;
    color:#fff;
    border-color:#17395f;
  }

  .ahq-monitor-filter[data-filter="attention"]{
    border-color:#e7b26a;
  }

  .ahq-monitor-filter[data-filter="attention"].active{
    background:#a96512;
    border-color:#a96512;
  }

  .ahq-mobile-monitor-card{
    transition:.18s ease;
  }

  .ahq-mobile-monitor-card.is-hidden{
    display:none!important;
  }

  .ahq-mobile-monitor-card.needs-attention{
    border-left:4px solid #d99227;
    box-shadow:0 7px 20px rgba(185,120,25,.08);
  }

  .ahq-mobile-monitor-card.needs-attention .ahq-mobile-response summary{
    background:#9c5a0b;
  }

  .ahq-mobile-monitor-card:not(.needs-attention) .ahq-mobile-response summary{
    background:#edf3f7;
    color:#17395f;
    min-height:39px;
  }

  .ahq-mobile-monitor-card:not(.needs-attention){
    padding-top:11px;
    padding-bottom:11px;
  }

  .ahq-mobile-monitor-card:not(.needs-attention) .ahq-mobile-monitor-checks{
    margin-top:8px;
  }

  .ahq-mobile-monitor-card:not(.needs-attention) .ahq-mobile-response{
    margin-top:8px;
  }

  .ahq-mobile-empty-filter{
    display:none;
    padding:26px 14px;
    text-align:center;
    background:#fff;
    border:1px dashed #ccd7df;
    border-radius:14px;
    font-size:12px;
  }

  .ahq-mobile-empty-filter.show{
    display:block;
  }

}

/* ==========================================================
   MOBILE MONITOR FILTER CONTRAST FIX V1.1.1
   ========================================================== */

@media(max-width:768px){

  .ahq-monitor-filter{
    background:#ffffff!important;
    color:#17395f!important;
    border-color:#d7e0e7!important;
  }

  .ahq-monitor-filter:hover,
  .ahq-monitor-filter:focus{
    background:#f2f6f9!important;
    color:#17395f!important;
  }

  .ahq-monitor-filter.active{
    background:#17395f!important;
    color:#ffffff!important;
    border-color:#17395f!important;
  }

  .ahq-monitor-filter[data-filter="attention"]{
    background:#fffaf3!important;
    color:#9b5b0c!important;
    border-color:#e5b877!important;
  }

  .ahq-monitor-filter[data-filter="attention"].active{
    background:#9b5b0c!important;
    color:#ffffff!important;
    border-color:#9b5b0c!important;
  }

}

/* ==========================================================
   GSM ERP — MOBILE BOTTOM NAV V1
   ========================================================== */

@media(max-width:768px){

  body{
    padding-bottom:76px!important;
  }

  .ahq-content{
    padding-bottom:92px!important;
  }

  .ahq-mobile-bottom-nav{
    position:fixed;
    left:8px;
    right:8px;
    bottom:8px;
    z-index:9990;

    display:grid;
    grid-template-columns:repeat(5,1fr);

    min-height:62px;
    padding:5px;

    background:rgba(255,255,255,.97);
    border:1px solid #dfe6ec;
    border-radius:18px;

    box-shadow:
      0 12px 35px rgba(15,40,70,.18);

    backdrop-filter:blur(14px);
  }

  .ahq-mobile-bottom-nav a,
  .ahq-mobile-bottom-nav button{
    appearance:none;
    border:0;
    background:transparent;

    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;

    gap:3px;
    min-width:0;
    min-height:50px;

    padding:5px 2px;
    border-radius:13px;

    color:#6b7b8d!important;
    text-decoration:none!important;
    cursor:pointer;
  }

  .ahq-mobile-bottom-nav .dashicons{
    width:22px;
    height:22px;
    font-size:21px;
    line-height:22px;
  }

  .ahq-mobile-bottom-nav small{
    display:block!important;
    font-size:8px!important;
    line-height:1!important;
    font-weight:800!important;
    color:inherit!important;
  }

  .ahq-mobile-bottom-nav a.active{
    background:#17395f!important;
    color:#fff!important;
  }

  .ahq-mobile-bottom-nav a.active .dashicons,
  .ahq-mobile-bottom-nav a.active small{
    color:#fff!important;
  }

  .ahq-mobile-bottom-nav button:hover,
  .ahq-mobile-bottom-nav button:focus{
    background:#eef3f7!important;
    color:#17395f!important;
  }

}

@media(min-width:769px){

  .ahq-mobile-bottom-nav{
    display:none!important;
  }

}

/* ==========================================================
   GSM ERP — MOBILE DASHBOARD PIC/MENTOR V1
   ========================================================== */

.ahq-mobile-home{
  display:none;
}

@media(max-width:768px){

  .ahq-dashboard-desktop{
    display:none!important;
  }

  .ahq-mobile-home{
    display:block!important;
  }

  .ahq-mobile-home-hero{
    padding:18px;
    margin-bottom:10px;
    border-radius:18px;
    background:#17395f;
    color:#fff;
  }

  .ahq-mobile-home-hero>span{
    font-size:11px;
    opacity:.75;
  }

  .ahq-mobile-home-hero h2{
    margin:4px 0;
    font-size:22px;
    line-height:1.2;
    color:#fff;
  }

  .ahq-mobile-home-hero p{
    margin:0;
    font-size:10px;
    opacity:.75;
  }

  .ahq-mobile-home-stats{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:8px;
    margin-bottom:10px;
  }

  .ahq-mobile-home-stats a{
    display:block;
    padding:13px;
    min-height:95px;
    border:1px solid #e1e7ec;
    border-radius:15px;
    background:#fff;
    text-decoration:none!important;
    color:#17395f!important;
  }

  .ahq-mobile-home-stats a.priority{
    background:#fff8ef;
    border-color:#edc994;
  }

  .ahq-mobile-home-stats small{
    display:block!important;
    font-size:9px!important;
    font-weight:800;
    opacity:.65;
  }

  .ahq-mobile-home-stats b{
    display:block;
    margin:8px 0 5px;
    font-size:25px;
    line-height:1;
  }

  .ahq-mobile-home-stats span{
    font-size:9px;
    opacity:.65;
  }

  .ahq-mobile-priority{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    padding:14px;
    margin-bottom:10px;
    border:1px solid #edc994;
    border-radius:15px;
    background:#fff8ef;
  }

  .ahq-mobile-priority span{
    font-size:8px;
    font-weight:900;
    letter-spacing:.06em;
    color:#9b5b0c;
  }

  .ahq-mobile-priority h3{
    margin:4px 0;
    font-size:14px;
  }

  .ahq-mobile-priority p{
    margin:0;
    font-size:9px;
    line-height:1.4;
    opacity:.7;
  }

  .ahq-mobile-priority a{
    flex:0 0 auto;
    padding:10px 11px;
    border-radius:10px;
    background:#9b5b0c;
    color:#fff!important;
    text-decoration:none!important;
    font-size:9px;
    font-weight:900;
  }

  .ahq-mobile-progress-card,
  .ahq-mobile-next-card{
    padding:14px;
    margin-bottom:10px;
    border:1px solid #e1e7ec;
    border-radius:15px;
    background:#fff;
  }

  .ahq-mobile-progress-head,
  .ahq-mobile-next-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
  }

  .ahq-mobile-progress-head span,
  .ahq-mobile-next-head span{
    display:block;
    font-size:8px;
    font-weight:900;
    letter-spacing:.05em;
    opacity:.55;
  }

  .ahq-mobile-progress-head h3,
  .ahq-mobile-next-head h3{
    margin:4px 0 0;
    font-size:14px;
  }

  .ahq-mobile-progress-head>b{
    font-size:16px;
  }

  .ahq-mobile-progress-track{
    height:8px;
    margin:13px 0 10px;
    overflow:hidden;
    border-radius:999px;
    background:#edf1f4;
  }

  .ahq-mobile-progress-track span{
    display:block;
    height:100%;
    border-radius:999px;
    background:#17395f;
  }

  .ahq-mobile-progress-meta{
    display:flex;
    justify-content:space-between;
    gap:10px;
    font-size:9px;
  }

  .ahq-mobile-progress-meta span{
    opacity:.7;
  }

  .ahq-mobile-progress-meta b{
    margin-left:3px;
  }

  .ahq-mobile-next-head>a{
    font-size:9px;
    font-weight:800;
    text-decoration:none;
  }

  .ahq-mobile-next-zoom{
    display:flex;
    align-items:center;
    gap:11px;
    margin-top:12px;
    padding-top:12px;
    border-top:1px solid #edf0f3;
  }

  .ahq-mobile-next-zoom .date{
    width:48px;
    height:52px;
    flex:0 0 48px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    border-radius:11px;
    background:#eef3f7;
  }

  .ahq-mobile-next-zoom .date b{
    font-size:17px;
    line-height:1;
  }

  .ahq-mobile-next-zoom .date span{
    margin-top:3px;
    font-size:8px;
    font-weight:800;
    text-transform:uppercase;
  }

  .ahq-mobile-next-zoom .info{
    flex:1;
    min-width:0;
  }

  .ahq-mobile-next-zoom h4{
    margin:0 0 4px;
    font-size:12px;
    line-height:1.35;
  }

  .ahq-mobile-next-zoom p,
  .ahq-mobile-next-zoom small{
    display:block;
    margin:0;
    font-size:9px;
    line-height:1.4;
    opacity:.65;
  }

  .ahq-mobile-home-empty{
    margin-top:12px;
    padding:16px;
    text-align:center;
    border-radius:11px;
    background:#f7f9fb;
    font-size:10px;
    opacity:.65;
  }

}

/* ==========================================================
   GSM ERP — MOBILE BOTTOM NAV BADGE V1
   ========================================================== */

@media(max-width:768px){

  .ahq-mobile-bottom-nav a{
    position:relative;
  }

  .ahq-nav-badge{
    position:absolute;

    top:3px;
    left:calc(50% + 7px);

    min-width:17px;
    height:17px;

    padding:0 4px;

    display:flex;
    align-items:center;
    justify-content:center;

    border:2px solid #fff;
    border-radius:999px;

    background:#a85f0a;
    color:#fff!important;

    font-size:8px!important;
    line-height:1!important;
    font-weight:900!important;

    box-shadow:
      0 3px 8px rgba(100,55,0,.22);
  }

  .ahq-mobile-bottom-nav a.active
  .ahq-nav-badge{
    border-color:#17395f;
    background:#f0a43a;
    color:#17395f!important;
  }

}

/* WEEKLY ZOOM MATERIALS TYPOGRAPHY V1 */
.ahq-weekly-level > .ahq-panel-head h3{
  font-size:20px;
  line-height:1.3;
  margin:0;
}

.ahq-weekly-level .ahq-material-item h3{
  font-size:17px;
  line-height:1.35;
  margin:4px 0 6px;
}

.ahq-weekly-level .ahq-material-item small{
  font-size:11px;
  letter-spacing:.04em;
}

.ahq-weekly-level .ahq-material-item p{
  font-size:13px;
  line-height:1.5;
  margin:5px 0;
}

.ahq-weekly-level .ahq-control-actions a{
  font-size:12px;
}

@media (max-width:767px){
  .ahq-weekly-level > .ahq-panel-head h3{
    font-size:17px;
  }

  .ahq-weekly-level .ahq-material-item h3{
    font-size:15px;
  }

  .ahq-weekly-level .ahq-material-item p{
    font-size:12px;
  }
}

/* WEEKLY MATERIALS ACCORDION V1 */

.ahq-weekly-level{
  margin:12px 0;
  border:1px solid rgba(15,23,42,.08);
  border-radius:14px;
  overflow:hidden;
}

.ahq-weekly-level > .ahq-panel-head{
  margin:0;
  padding:14px 16px;
  cursor:pointer;
  position:relative;
}

.ahq-weekly-level > .ahq-material-item{
  display:none;
  margin:10px 12px;
}

.ahq-weekly-level.is-open > .ahq-material-item{
  display:flex;
}

.ahq-weekly-arrow{
  margin-left:auto;
  font-size:22px;
  transition:transform .2s ease;
}

.ahq-weekly-level.is-open .ahq-weekly-arrow{
  transform:rotate(180deg);
}

@media(max-width:767px){

  .ahq-weekly-level{
    margin:10px 0;
  }

  .ahq-weekly-level > .ahq-panel-head{
    padding:12px 14px;
  }

  .ahq-weekly-level > .ahq-material-item{
    margin:8px;
  }

}

/* WEEKLY MATERIAL FILE STATUS V1 */
.ahq-weekly-file-status{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  margin:8px 0;
}

.ahq-weekly-file-status span{
  font-size:11px;
  line-height:1.2;
  padding:5px 8px;
  border-radius:999px;
  font-weight:600;
}

.ahq-weekly-file-status .ready{
  background:rgba(22,163,74,.10);
}

.ahq-weekly-file-status .empty{
  background:rgba(245,158,11,.10);
}

/* WEEKLY MATERIALS PREMIUM UI V2 */

.ahq-weekly-level{
  background:#f8fafc;
  border:1px solid rgba(15,23,42,.08);
  border-radius:18px;
  margin:14px 0;
  overflow:hidden;
}

.ahq-weekly-level > .ahq-panel-head{
  background:#fff;
  padding:16px 18px;
  border-bottom:1px solid rgba(15,23,42,.06);
}

.ahq-weekly-level > .ahq-panel-head h3{
  font-size:18px;
  font-weight:800;
  margin:0;
}

.ahq-weekly-level > .ahq-material-item{
  background:#fff;
  border:1px solid rgba(15,23,42,.07);
  border-radius:16px;
  padding:15px;
  margin:10px;
  box-shadow:0 5px 18px rgba(15,23,42,.05);
}

.ahq-weekly-level .ahq-material-copy{
  width:100%;
}

.ahq-weekly-level .ahq-material-copy > small{
  display:inline-block;
  padding:4px 8px;
  border-radius:999px;
  background:#eef2ff;
  font-size:10px;
  font-weight:700;
  margin-bottom:6px;
}

.ahq-weekly-level .ahq-material-copy h3{
  font-size:16px;
  font-weight:800;
  line-height:1.35;
  margin:3px 0 8px;
}

.ahq-weekly-level .ahq-material-copy p{
  font-size:12px;
  margin:4px 0;
}

.ahq-weekly-file-status{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:7px;
  margin:10px 0;
}

.ahq-weekly-file-status span{
  display:block;
  padding:8px 10px;
  border-radius:10px;
  font-size:11px;
  font-weight:700;
}

.ahq-weekly-file-status .ready{
  background:rgba(22,163,74,.09);
  border:1px solid rgba(22,163,74,.12);
}

.ahq-weekly-file-status .empty{
  background:rgba(245,158,11,.09);
  border:1px solid rgba(245,158,11,.12);
}

.ahq-weekly-level .ahq-control-actions{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
  margin:8px 0;
}

.ahq-weekly-level .ahq-control-actions a{
  flex:1;
  text-align:center;
  min-width:120px;
  border-radius:10px;
}

.ahq-weekly-upload,
.ahq-weekly-speaker{
  margin-top:8px;
  border:1px solid rgba(15,23,42,.08);
  border-radius:12px;
  overflow:hidden;
  background:#fafafa;
}

.ahq-weekly-upload summary,
.ahq-weekly-speaker summary{
  cursor:pointer;
  padding:10px 12px;
  font-size:12px;
  font-weight:700;
}

.ahq-weekly-upload form,
.ahq-weekly-speaker form{
  padding:12px;
  border-top:1px solid rgba(15,23,42,.07);
}

@media(max-width:767px){

  .ahq-weekly-level{
    border-radius:14px;
  }

  .ahq-weekly-level > .ahq-panel-head{
    padding:13px 14px;
  }

  .ahq-weekly-level > .ahq-panel-head h3{
    font-size:16px;
  }

  .ahq-weekly-level > .ahq-material-item{
    padding:12px;
    margin:8px;
    border-radius:13px;
  }

  .ahq-weekly-level .ahq-material-copy h3{
    font-size:14px;
  }

  .ahq-weekly-file-status{
    grid-template-columns:1fr 1fr;
  }

}

/* WEEKLY MATERIAL LEVEL PROGRESS V1 */
.ahq-weekly-progress-text{
  display:block;
  margin-top:4px;
  font-size:11px;
  opacity:.7;
  font-weight:600;
}

.ahq-weekly-progress{
  width:180px;
  max-width:100%;
  height:5px;
  background:rgba(15,23,42,.08);
  border-radius:999px;
  overflow:hidden;
  margin-top:7px;
}

.ahq-weekly-progress i{
  display:block;
  height:100%;
  background:currentColor;
  border-radius:999px;
}

@media(max-width:767px){
  .ahq-weekly-progress{
    width:140px;
  }
}

/* MEMBER LIST COMPACT UI V1 */

.ahq-table-wrap table{
  font-size:13px;
}

.ahq-table-wrap th{
  font-size:12px;
  padding:10px 12px;
}

.ahq-table-wrap td{
  font-size:13px;
  line-height:1.35;
  padding:9px 12px;
  vertical-align:middle;
}

.ahq-table-wrap td b{
  font-size:14px;
  line-height:1.35;
}

.ahq-table-wrap td small{
  display:block;
  margin-top:2px;
  font-size:11px;
  line-height:1.3;
}

.ahq-table-wrap tr{
  min-height:auto;
}

.ahq-table-wrap .ahq-badge{
  font-size:11px;
  padding:4px 8px;
}

@media(max-width:767px){

  .ahq-table-wrap table{
    font-size:12px;
  }

  .ahq-table-wrap th{
    font-size:11px;
    padding:8px 9px;
  }

  .ahq-table-wrap td{
    font-size:12px;
    padding:8px 9px;
  }

  .ahq-table-wrap td b{
    font-size:13px;
  }

  .ahq-table-wrap td small{
    font-size:11px;
  }

}

/* =========================================================
 * ERP DESKTOP COMPACT POLISH V1
 * ========================================================= */
@media (min-width: 900px){

  /* MATERI */
  .ahq-material-journey{
    gap:8px;
  }

  .ahq-material-item{
    padding:12px 14px !important;
    margin-bottom:8px !important;
  }

  .ahq-material-item h3{
    font-size:14px !important;
    line-height:1.3 !important;
    margin:2px 0 5px !important;
  }

  .ahq-material-item p,
  .ahq-material-item small{
    font-size:11px !important;
    line-height:1.35 !important;
  }

  .ahq-material-item .ahq-primary,
  .ahq-material-item .ahq-secondary{
    font-size:11px !important;
    padding:6px 10px !important;
    min-height:auto !important;
    width:auto !important;
  }


  /* JADWAL ZOOM */
  .ahq-card-list{
    gap:8px !important;
  }

  .ahq-zoom-card{
    padding:12px 14px !important;
    margin-bottom:8px !important;
  }

  .ahq-zoom-card h3,
  .ahq-zoom-card h4{
    font-size:14px !important;
    line-height:1.3 !important;
    margin:2px 0 5px !important;
  }

  .ahq-zoom-card p,
  .ahq-zoom-card small{
    font-size:11px !important;
    line-height:1.35 !important;
  }

  .ahq-zoom-date{
    transform:scale(.88);
    transform-origin:left center;
  }

  .ahq-zoom-card .ahq-primary,
  .ahq-zoom-card .ahq-secondary{
    font-size:11px !important;
    padding:6px 10px !important;
    min-height:auto !important;
    width:auto !important;
  }


  /* REKAMAN ZOOM */
  .ahq-recording-list{
    gap:8px !important;
  }

  .ahq-recording-card{
    padding:12px 14px !important;
    margin-bottom:8px !important;
  }

  .ahq-recording-info h3{
    font-size:14px !important;
    line-height:1.3 !important;
    margin:2px 0 5px !important;
  }

  .ahq-recording-info p,
  .ahq-recording-info small{
    font-size:11px !important;
    line-height:1.35 !important;
  }

  .ahq-recording-actions{
    gap:6px !important;
    margin-top:7px !important;
  }

  .ahq-recording-actions a,
  .ahq-recording-actions button{
    width:auto !important;
    min-height:auto !important;
    font-size:11px !important;
    line-height:1.2 !important;
    padding:6px 10px !important;
    border-radius:8px !important;
  }

}

/* =========================================================
 * TEAM DIRECTORY PREMIUM V2
 * ========================================================= */

.ahq-team-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}

.ahq-team-card{
  display:flex;
  align-items:flex-start;
  gap:14px;
  background:#fff;
  border:1px solid rgba(15,23,42,.07);
  border-radius:16px;
  padding:15px;
  box-shadow:0 5px 18px rgba(15,23,42,.045);
}

.ahq-team-avatar{
  width:68px;
  height:68px;
  min-width:68px;
  border-radius:50%;
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#eef2ff;
  font-size:24px;
  font-weight:800;
}

.ahq-team-photo{
  width:68px !important;
  height:68px !important;
  object-fit:cover;
  border-radius:50%;
}

.ahq-team-info{
  min-width:0;
  flex:1;
}

.ahq-team-info h3{
  margin:0 0 3px;
  font-size:15px;
  line-height:1.3;
  font-weight:800;
}

.ahq-team-induk{
  font-size:11px;
  opacity:.75;
  margin-bottom:7px;
}

.ahq-team-roles{
  display:flex;
  flex-wrap:wrap;
  gap:5px;
  margin-bottom:8px;
}

.ahq-team-roles span{
  font-size:10px;
  line-height:1;
  font-weight:800;
  padding:5px 7px;
  border-radius:999px;
  background:#eef2ff;
}

.ahq-team-contact{
  font-size:11px;
  line-height:1.35;
  margin:3px 0 !important;
  overflow-wrap:anywhere;
}

@media(max-width:767px){

  .ahq-team-grid{
    grid-template-columns:1fr;
    gap:8px;
  }

  .ahq-team-card{
    gap:11px;
    padding:12px;
    border-radius:13px;
  }

  .ahq-team-avatar,
  .ahq-team-photo{
    width:58px !important;
    height:58px !important;
    min-width:58px;
  }

  .ahq-team-info h3{
    font-size:14px;
  }

}

/* GSM ERP SIDEBAR LOGO V1 */
.ahq-app-logo-img{
  width:42px;
  height:42px;
  object-fit:cover;
  border-radius:11px;
  flex:0 0 42px;
  box-shadow:0 3px 12px rgba(0,0,0,.18);
}

.ahq-app-logo{
  display:flex;
  align-items:center;
  gap:10px;
}

@media(max-width:767px){
  .ahq-app-logo-img{
    width:38px;
    height:38px;
    flex-basis:38px;
  }
}

/* MOBILE BUTTON COMPACT V2 */
@media(max-width:767px){

  /* BUKA MATERI */
  .ahq-material-item .ahq-primary,
  .ahq-material-item .ahq-secondary{
    width:auto !important;
    min-height:auto !important;
    padding:7px 11px !important;
    font-size:11px !important;
    line-height:1.2 !important;
    border-radius:8px !important;
  }

  /* REKAMAN ZOOM */
  .ahq-recording-actions{
    display:flex !important;
    flex-wrap:wrap !important;
    gap:6px !important;
  }

  .ahq-recording-actions a,
  .ahq-recording-actions button{
    width:auto !important;
    min-height:auto !important;
    padding:7px 10px !important;
    font-size:11px !important;
    line-height:1.2 !important;
    border-radius:8px !important;
  }

}

/* =========================================================
 * NOTIFICATION CENTER V1
 * ========================================================= */

.ahq-notification{
  position:relative;
}

.ahq-notif-count{
  position:absolute;
  top:-5px;
  right:-6px;
  min-width:18px;
  height:18px;
  padding:0 5px;
  border-radius:999px;
  background:#ef4444;
  color:#fff;
  font-size:10px;
  font-weight:700;
  line-height:18px;
  text-align:center;
  box-shadow:0 0 0 2px #fff;
}

.ahq-notif-panel{
  position:absolute;
  top:64px;
  right:18px;
  width:min(360px,calc(100vw - 24px));
  max-height:480px;
  overflow:auto;
  background:#fff;
  border:1px solid rgba(15,23,42,.08);
  border-radius:16px;
  box-shadow:0 18px 45px rgba(15,23,42,.18);
  z-index:9999;
}

.ahq-notif-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:13px 14px;
  border-bottom:1px solid rgba(15,23,42,.07);
}

.ahq-notif-readall{
  border:0;
  background:transparent;
  font-size:11px;
  cursor:pointer;
}

.ahq-notif-item{
  display:block;
  padding:12px 14px;
  text-decoration:none;
  color:inherit;
  border-bottom:1px solid rgba(15,23,42,.05);
}

.ahq-notif-item.unread{
  background:#f8fbff;
}

.ahq-notif-item b,
.ahq-notif-item span,
.ahq-notif-item small{
  display:block;
}

.ahq-notif-item b{
  font-size:13px;
  margin-bottom:3px;
}

.ahq-notif-item span{
  font-size:12px;
  opacity:.8;
}

.ahq-notif-item small{
  margin-top:5px;
  font-size:10px;
  opacity:.55;
}

.ahq-notif-empty{
  padding:24px 14px;
  text-align:center;
  font-size:12px;
  opacity:.6;
}

@media(max-width:767px){
  .ahq-notif-panel{
    position:fixed;
    top:68px;
    right:10px;
    left:10px;
    width:auto;
  }
}

/* NOTIFICATION BELL SVG FIX V1 */
.ahq-notification{
  display:inline-flex !important;
  align-items:center;
  justify-content:center;
  cursor:pointer;
}

.ahq-bell-svg{
  width:20px;
  height:20px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
  pointer-events:none;
}

@media(max-width:760px){
  .ahq-bell-svg{
    width:19px;
    height:19px;
  }
}

/* =========================================================
 * NOTIFICATION TOPBAR VISIBILITY FIX V2
 * ========================================================= */

.ahq-topbar{
  overflow:visible !important;
}

.ahq-topbar-left{
  min-width:0 !important;
}

.ahq-top-actions{
  display:flex !important;
  align-items:center !important;
  gap:10px !important;
  margin-left:auto !important;
  flex:0 0 auto !important;
  position:relative !important;
  z-index:520 !important;
  visibility:visible !important;
  opacity:1 !important;
}

.ahq-notification{
  display:inline-flex !important;
  visibility:visible !important;
  opacity:1 !important;
  flex:0 0 42px !important;
  width:42px !important;
  height:42px !important;
  align-items:center !important;
  justify-content:center !important;
  position:relative !important;
  z-index:521 !important;
  background:#fff !important;
  border:1px solid #dfe5ec !important;
  color:#10233f !important;
}

.ahq-notification .ahq-bell-svg{
  display:block !important;
  visibility:visible !important;
  opacity:1 !important;
}

@media(max-width:760px){

  .ahq-topbar{
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
    gap:8px !important;
  }

  .ahq-topbar-left{
    flex:1 1 auto !important;
    overflow:hidden !important;
  }

  .ahq-topbar-left h1{
    white-space:nowrap !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
  }

  .ahq-top-actions{
    flex:0 0 auto !important;
    margin-left:auto !important;
  }

  .ahq-notification{
    flex-basis:38px !important;
    width:38px !important;
    height:38px !important;
  }

  .ahq-user-chip{
    flex:0 0 38px !important;
  }
}

/* NOTIFICATION ICON FINAL FIX */
.ahq-notification{
  position:relative;
  display:inline-flex !important;
  align-items:center;
  justify-content:center;
  width:40px;
  height:40px;
  border-radius:12px;
  background:#ffffff;
  border:1px solid rgba(15,23,42,.08);
  box-shadow:0 4px 12px rgba(15,23,42,.06);
  cursor:pointer;
}

.ahq-notification:hover{
  background:#f8fafc;
}

.ahq-bell-svg{
  width:20px;
  height:20px;
  fill:none;
  stroke:#0f172a;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
  display:block;
  pointer-events:none;
}

.ahq-notif-count{
  position:absolute;
  top:-5px;
  right:-5px;
  min-width:18px;
  height:18px;
  padding:0 5px;
  border-radius:999px;
  background:#ef4444;
  color:#fff;
  font-size:10px;
  font-weight:700;
  line-height:18px;
  text-align:center;
  box-shadow:0 0 0 2px #fff;
}

/* NOTIFICATION ICON FINAL FIX */
.ahq-notification{
  position:relative;
  display:inline-flex !important;
  align-items:center;
  justify-content:center;
  width:40px;
  height:40px;
  border-radius:12px;
  background:#ffffff;
  border:1px solid rgba(15,23,42,.08);
  box-shadow:0 4px 12px rgba(15,23,42,.06);
  cursor:pointer;
}

.ahq-notification:hover{
  background:#f8fafc;
}

.ahq-bell-svg{
  width:20px;
  height:20px;
  fill:none;
  stroke:#0f172a;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
  display:block;
  pointer-events:none;
}

.ahq-notif-count{
  position:absolute;
  top:-5px;
  right:-5px;
  min-width:18px;
  height:18px;
  padding:0 5px;
  border-radius:999px;
  background:#ef4444;
  color:#fff;
  font-size:10px;
  font-weight:700;
  line-height:18px;
  text-align:center;
  box-shadow:0 0 0 2px #fff;
}

/* NOTIFICATION BELL GUARANTEED FIX V4 */
.ahq-notification .ahq-bell-svg{
  display:none !important;
}

.ahq-notification::before{
  content:"🔔";
  display:block !important;
  font-size:19px !important;
  line-height:1 !important;
  width:22px;
  height:22px;
  text-align:center;
  opacity:1 !important;
  visibility:visible !important;
}

@media(max-width:760px){
  .ahq-notification::before{
    font-size:18px !important;
  }
}

/* FIX MENTOR BATCH CHECKBOX */
.mentor-checks{
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  gap:8px 14px !important;
  max-width:720px !important;
  margin:10px 0 18px !important;
}

.mentor-checks label{
  display:flex !important;
  align-items:center !important;
  justify-content:flex-start !important;
  gap:8px !important;
  min-height:38px !important;
  margin:0 !important;
  padding:8px 10px !important;
  border:1px solid #e2e8f0 !important;
  border-radius:9px !important;
  background:#fff !important;
  cursor:pointer;
}

.mentor-checks input[type="checkbox"]{
  appearance:auto !important;
  -webkit-appearance:checkbox !important;
  width:16px !important;
  height:16px !important;
  min-width:16px !important;
  max-width:16px !important;
  margin:0 !important;
  padding:0 !important;
  flex:0 0 16px !important;
  transform:none !important;
}

@media(max-width:700px){
  .mentor-checks{
    grid-template-columns:1fr !important;
  }
}

/* FRONTEND CONTROL CENTER - MENTOR BATCH FIX V1 */
.ahq-batch-mentor-box{
  margin-top:12px !important;
}

.ahq-batch-mentor-head{
  margin-bottom:10px !important;
}

.ahq-batch-mentor-head b{
  display:block !important;
  font-size:14px !important;
}

.ahq-batch-mentor-head small{
  display:block !important;
  margin-top:3px !important;
  color:#64748b !important;
  font-size:11px !important;
}

.ahq-batch-mentor-grid{
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  gap:8px 12px !important;
  max-width:760px !important;
}

.ahq-batch-mentor-item{
  display:flex !important;
  align-items:center !important;
  justify-content:flex-start !important;
  gap:9px !important;
  min-height:40px !important;
  padding:9px 11px !important;
  margin:0 !important;
  border:1px solid #e2e8f0 !important;
  border-radius:10px !important;
  background:#fff !important;
  cursor:pointer !important;
}

.ahq-batch-mentor-item input[type="checkbox"]{
  appearance:auto !important;
  -webkit-appearance:checkbox !important;
  width:16px !important;
  height:16px !important;
  min-width:16px !important;
  max-width:16px !important;
  margin:0 !important;
  padding:0 !important;
  flex:0 0 16px !important;
  transform:none !important;
}

.ahq-batch-mentor-item span{
  display:block !important;
  min-width:0 !important;
  font-size:13px !important;
  font-weight:600 !important;
  color:#172238 !important;
}

@media(max-width:700px){
  .ahq-batch-mentor-grid{
    grid-template-columns:1fr !important;
  }

  .ahq-batch-mentor-item{
    min-height:42px !important;
  }
}

/* CONTROL CENTER - BATCH ACTION BUTTON PROPORTION FIX */
.ahq-erp-portal-page .ahq-batch-table td:last-child,
.ahq-erp-portal-page table td:last-child{
  vertical-align:middle !important;
}

.ahq-erp-portal-page table td:last-child a{
  display:inline-block !important;
  margin-bottom:5px !important;
  font-size:12px !important;
  line-height:1.2 !important;
}

.ahq-erp-portal-page table td:last-child .button,
.ahq-erp-portal-page table td:last-child button{
  min-width:74px !important;
  min-height:32px !important;
  height:32px !important;
  padding:0 14px !important;
  border-radius:7px !important;
  font-size:12px !important;
  line-height:32px !important;
  font-weight:700 !important;
}

@media(max-width:700px){
  .ahq-erp-portal-page table td:last-child .button,
  .ahq-erp-portal-page table td:last-child button{
    min-width:68px !important;
    height:34px !important;
    min-height:34px !important;
    padding:0 12px !important;
    line-height:34px !important;
  }
}

/* CONTROL CENTER - AUTO SYNC CHECKBOX FIX */
.ahq-erp-portal-page input[type="checkbox"][name="auto_sync"]{
  appearance:auto !important;
  -webkit-appearance:checkbox !important;
  width:17px !important;
  height:17px !important;
  min-width:17px !important;
  max-width:17px !important;
  margin:0 7px 0 0 !important;
  padding:0 !important;
  transform:none !important;
  vertical-align:middle !important;
  accent-color:#0f766e;
}

@media(max-width:700px){
  .ahq-erp-portal-page input[type="checkbox"][name="auto_sync"]{
    width:18px !important;
    height:18px !important;
    min-width:18px !important;
    max-width:18px !important;
  }
}

/* ==========================================================
   GSM ERP — MASTER EMERALD UI V1
   ========================================================== */
:root{
  --ahq-emerald:#0F8F6F;
  --ahq-emerald-dark:#075E54;
  --ahq-emerald-deep:#06483F;
  --ahq-emerald-soft:#E5F6F0;
  --ahq-emerald-line:#C9EADF;
  --ahq-gold:#C49A45;
  --ahq-bg:#F5F8F7;
  --ahq-text:#1F2937;
  --ahq-muted:#6B7280;
  --ahq-line:#E2EAE7;
}

body.ahq-erp-portal-page,
body.ahq-erp-portal-page .ahq-main,
body.ahq-erp-portal-page .ahq-content{
  background:#F5F8F7!important;
}

.ahq-sidebar{
  background:linear-gradient(180deg,var(--ahq-emerald-deep),var(--ahq-emerald-dark));
}

.ahq-sidebar nav a:hover,
.ahq-sidebar nav a.active{
  background:rgba(255,255,255,.12);
  color:#fff!important;
}

.ahq-sidebar nav a.active:before,
.ahq-sidebar nav a[aria-current="page"]:before{
  background:#6EE7B7;
}

.ahq-sidebar nav a i{
  background:#6EE7B7;
}

.ahq-welcome{
  background:linear-gradient(135deg,var(--ahq-emerald-dark),var(--ahq-emerald));
  box-shadow:0 15px 34px rgba(7,94,84,.18);
}

.ahq-primary,
.ahq-filter button{
  background:var(--ahq-emerald-dark)!important;
}

.ahq-primary:hover,
.ahq-filter button:hover{
  background:var(--ahq-emerald)!important;
}

.ahq-quick .dashicons,
.ahq-panel-head>a,
.ahq-zoom-card a{
  color:var(--ahq-emerald)!important;
}

.ahq-quick a:hover{
  border-color:var(--ahq-emerald-line);
  box-shadow:0 10px 24px rgba(15,143,111,.10);
}

.ahq-stats>div:before{
  background:var(--ahq-emerald);
}

.ahq-stats>div>i{
  background:var(--ahq-emerald-soft);
  color:var(--ahq-emerald-dark);
}

.ahq-progress-ring{
  background:conic-gradient(var(--ahq-emerald) calc(var(--progress)*1%),#E5ECE9 0);
}

.ahq-progress-meta i.done{
  background:var(--ahq-emerald);
}

.ahq-zoom-date{
  background:var(--ahq-emerald-dark);
}

.ahq-avatar{
  background:linear-gradient(135deg,var(--ahq-emerald),var(--ahq-gold));
}

.ahq-topbar small{
  color:var(--ahq-emerald);
}

/* =========================================================
   JEJAK ASMA RESPONSIVE V1
   ========================================================= */

.ahq-front-page{
  width:100%;
  max-width:1480px;
  margin:0 auto;
}

.ahq-front-page .ahq-page-heading{
  margin-bottom:20px;
}

.ahq-front-page .ahq-page-heading h2{
  margin:4px 0 8px;
  font-size:28px;
  line-height:1.2;
}

.ahq-front-page .ahq-page-heading p{
  margin:0;
  max-width:760px;
  color:#64748b;
  line-height:1.65;
}

/* FILTER */
.ahq-front-page form.filtergrid{
  display:grid;
  grid-template-columns:minmax(260px,2fr) minmax(160px,1fr) minmax(180px,1fr) auto auto;
  gap:10px;
  align-items:center;
}

.ahq-front-page form.filtergrid input,
.ahq-front-page form.filtergrid select{
  width:100%;
  min-width:0;
  height:42px;
}

.ahq-front-page form.filtergrid .button{
  min-height:42px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  white-space:nowrap;
  padding-left:18px;
  padding-right:18px;
}

/* PANEL */
.ahq-front-page > .panel{
  margin-top:16px;
  border-radius:16px;
  overflow:hidden;
}

.ahq-front-page > .panel:last-child{
  padding:22px;
}

/* TABLE */
.ahq-front-page .tablewrap{
  width:100%;
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
}

.ahq-front-page .tablewrap table{
  width:100%;
  min-width:920px;
  table-layout:auto;
}

.ahq-front-page .widefat th{
  padding:13px 14px;
  vertical-align:middle;
  white-space:nowrap;
}

.ahq-front-page .widefat td{
  padding:14px;
  vertical-align:middle;
  line-height:1.45;
}

.ahq-front-page .widefat td:first-child{
  min-width:220px;
}

.ahq-front-page .widefat td:nth-child(2){
  min-width:180px;
}

.ahq-front-page .widefat td:nth-child(3){
  min-width:165px;
}

.ahq-front-page .widefat td:nth-child(5){
  min-width:200px;
}

.ahq-front-page .widefat .button{
  white-space:nowrap;
}

/* DETAIL MEMBER */
.ahq-front-page > .panel h2{
  margin-top:0;
  font-size:25px;
  line-height:1.25;
}

.ahq-front-page > .panel h3{
  margin-top:24px;
  margin-bottom:12px;
  font-size:19px;
}

.ahq-front-page > .panel h3:first-of-type{
  margin-top:20px;
}

/* Detail tables */
.ahq-front-page > .panel > table.widefat{
  width:100%;
  margin-top:10px;
}

.ahq-front-page > .panel > table.widefat th,
.ahq-front-page > .panel > table.widefat td{
  padding:12px 14px;
}

/* TABLET */
@media (max-width:1100px){

  .ahq-front-page form.filtergrid{
    grid-template-columns:1fr 1fr;
  }

  .ahq-front-page form.filtergrid input[type="search"]{
    grid-column:1 / -1;
  }

  .ahq-front-page form.filtergrid .button{
    width:100%;
  }

  .ahq-front-page .ahq-page-heading h2{
    font-size:25px;
  }
}

/* MOBILE */
@media (max-width:700px){

  .ahq-front-page{
    width:100%;
  }

  .ahq-front-page .ahq-page-heading{
    margin-bottom:14px;
  }

  .ahq-front-page .ahq-page-heading h2{
    font-size:22px;
  }

  .ahq-front-page .ahq-page-heading p{
    font-size:14px;
    line-height:1.55;
  }

  .ahq-front-page form.filtergrid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:8px;
  }

  .ahq-front-page form.filtergrid input[type="search"],
  .ahq-front-page form.filtergrid select{
    grid-column:1 / -1;
  }

  .ahq-front-page form.filtergrid .button{
    width:100%;
    min-height:44px;
  }

  .ahq-front-page > .panel{
    margin-top:12px;
    border-radius:14px;
  }

  .ahq-front-page > .panel:last-child{
    padding:16px;
  }

  .ahq-front-page .tablewrap{
    margin-left:-1px;
    margin-right:-1px;
    padding-bottom:4px;
  }

  .ahq-front-page .tablewrap table{
    min-width:780px;
  }

  .ahq-front-page .widefat th{
    padding:10px 11px;
    font-size:12px;
  }

  .ahq-front-page .widefat td{
    padding:11px;
    font-size:13px;
  }

  .ahq-front-page .widefat td:first-child{
    min-width:180px;
  }

  .ahq-front-page > .panel h2{
    font-size:21px;
  }

  .ahq-front-page > .panel h3{
    font-size:17px;
    margin-top:20px;
  }

  .ahq-front-page > .panel > table.widefat{
    display:block;
    width:100%;
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
  }

  .ahq-front-page > .panel > table.widefat tbody,
  .ahq-front-page > .panel > table.widefat thead{
    min-width:620px;
  }
}

/* SMALL MOBILE */
@media (max-width:430px){

  .ahq-front-page form.filtergrid{
    grid-template-columns:1fr;
  }

  .ahq-front-page form.filtergrid input[type="search"],
  .ahq-front-page form.filtergrid select,
  .ahq-front-page form.filtergrid .button{
    grid-column:1;
  }

  .ahq-front-page .tablewrap table{
    min-width:720px;
  }
}


/* =========================================================
   JEJAK ASMA MOBILE CARD V2
   ========================================================= */

@media (max-width:700px){

  /* ruang supaya bottom navigation tidak menutupi konten */
  .ahq-front-page{
    padding-bottom:100px;
  }

  /* Daftar member berubah dari tabel menjadi card */
  .ahq-front-page .tablewrap{
    overflow:visible;
    margin:0;
  }

  .ahq-front-page .tablewrap table{
    min-width:0 !important;
    width:100%;
    border:0;
    background:transparent;
  }

  .ahq-front-page .tablewrap thead{
    display:none;
  }

  .ahq-front-page .tablewrap tbody{
    display:grid;
    gap:12px;
    width:100%;
  }

  .ahq-front-page .tablewrap tbody tr{
    display:block;
    width:100%;
    padding:14px;
    background:#fff;
    border:1px solid #dbe4e8;
    border-radius:14px;
    box-shadow:0 3px 12px rgba(15,23,42,.04);
  }

  .ahq-front-page .tablewrap tbody td{
    display:grid;
    grid-template-columns:105px minmax(0,1fr);
    gap:10px;
    width:100%;
    min-width:0 !important;
    padding:7px 0;
    border:0;
    border-bottom:1px solid #edf1f3;
    font-size:13px;
    line-height:1.4;
  }

  .ahq-front-page .tablewrap tbody td:last-child{
    border-bottom:0;
    padding-bottom:0;
  }

  .ahq-front-page .tablewrap tbody td::before{
    font-size:10px;
    line-height:1.4;
    font-weight:700;
    letter-spacing:.04em;
    text-transform:uppercase;
    color:#718096;
  }

  .ahq-front-page .tablewrap tbody td:nth-child(1)::before{
    content:"Member";
  }

  .ahq-front-page .tablewrap tbody td:nth-child(2)::before{
    content:"Level / Batch";
  }

  .ahq-front-page .tablewrap tbody td:nth-child(3)::before{
    content:"Asma Hari Ini";
  }

  .ahq-front-page .tablewrap tbody td:nth-child(4)::before{
    content:"Total Klik";
  }

  .ahq-front-page .tablewrap tbody td:nth-child(5)::before{
    content:"Top Asma";
  }

  .ahq-front-page .tablewrap tbody td:nth-child(6)::before{
    content:"Detail";
  }

  .ahq-front-page .tablewrap tbody td:first-child b{
    font-size:14px;
  }

  .ahq-front-page .tablewrap tbody td small{
    font-size:11px;
  }

  .ahq-front-page .tablewrap .button{
    width:max-content;
    min-width:90px;
    min-height:36px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
  }
}


/* =========================================================
   JEJAK ASMA DETAIL MOBILE V3
   ========================================================= */

@media (max-width:700px){

  /* Detail member dibuat seperti section card */
  .ahq-front-page > .panel:last-child{
    background:transparent;
    border:0;
    box-shadow:none;
    padding:0;
    overflow:visible;
  }

  .ahq-front-page > .panel:last-child > h2{
    margin:24px 12px 4px;
    font-size:22px;
    line-height:1.2;
  }

  .ahq-front-page > .panel:last-child > p{
    margin:0 12px 20px;
    font-size:13px;
    color:#64748b;
  }

  .ahq-front-page > .panel:last-child > h3{
    margin:18px 12px 10px;
    font-size:17px;
    line-height:1.3;
  }

  /* Top 9 dan Riwayat jadi card putih penuh */
  .ahq-front-page > .panel:last-child > table.widefat{
    display:table;
    width:calc(100% - 24px);
    margin:0 12px 18px;
    border-collapse:separate;
    border-spacing:0;
    background:#fff;
    border:1px solid #dbe4e8;
    border-radius:14px;
    overflow:hidden;
    box-shadow:0 3px 12px rgba(15,23,42,.04);
  }

  .ahq-front-page > .panel:last-child > table.widefat thead{
    display:table-header-group;
  }

  .ahq-front-page > .panel:last-child > table.widefat tbody{
    display:table-row-group;
  }

  .ahq-front-page > .panel:last-child > table.widefat tr{
    display:table-row;
  }

  .ahq-front-page > .panel:last-child > table.widefat th,
  .ahq-front-page > .panel:last-child > table.widefat td{
    display:table-cell;
    width:auto;
    min-width:0 !important;
    padding:11px 10px;
    font-size:12px;
    line-height:1.4;
    vertical-align:middle;
    border-color:#e6ecef;
  }

  .ahq-front-page > .panel:last-child > table.widefat th{
    font-size:10px;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:.03em;
    background:#f8fafb;
    white-space:nowrap;
    color:#475569;
  }

  /* Empty row */
  .ahq-front-page > .panel:last-child > table.widefat td[colspan]{
    padding:18px 14px;
    text-align:left;
    color:#64748b;
    background:#fff;
  }

  /* Kolom Top 9 */
  .ahq-front-page > .panel:last-child > table.widefat:nth-of-type(1) th:nth-child(1),
  .ahq-front-page > .panel:last-child > table.widefat:nth-of-type(1) td:nth-child(1){
    width:52px;
    text-align:center;
  }

  .ahq-front-page > .panel:last-child > table.widefat:nth-of-type(1) th:nth-child(3),
  .ahq-front-page > .panel:last-child > table.widefat:nth-of-type(1) td:nth-child(3){
    width:62px;
    text-align:center;
  }

  .ahq-front-page > .panel:last-child > table.widefat:nth-of-type(1) th:nth-child(4),
  .ahq-front-page > .panel:last-child > table.widefat:nth-of-type(1) td:nth-child(4){
    width:80px;
    text-align:center;
  }

  /* Riwayat Harian */
  .ahq-front-page > .panel:last-child > table.widefat:nth-of-type(2) th:nth-child(1),
  .ahq-front-page > .panel:last-child > table.widefat:nth-of-type(2) td:nth-child(1){
    width:92px;
  }

  .ahq-front-page > .panel:last-child > table.widefat:nth-of-type(2) th:nth-child(2),
  .ahq-front-page > .panel:last-child > table.widefat:nth-of-type(2) td:nth-child(2){
    width:52px;
    text-align:center;
  }

  .ahq-front-page > .panel:last-child > table.widefat:nth-of-type(2) th:nth-child(3),
  .ahq-front-page > .panel:last-child > table.widefat:nth-of-type(2) td:nth-child(3){
    width:58px;
    text-align:center;
  }
}


/* =========================================================
   JEJAK ASMA DETAIL MOBILE FULL WIDTH V4
   ========================================================= */

@media (max-width:700px){

  .ahq-front-page > .panel:last-child{
    width:100% !important;
    max-width:100% !important;
    box-sizing:border-box;
  }

  .ahq-front-page > .panel:last-child > table.widefat{
    display:table !important;
    width:calc(100% - 24px) !important;
    min-width:calc(100% - 24px) !important;
    max-width:calc(100% - 24px) !important;
    margin:0 12px 18px !important;
    table-layout:fixed !important;
    box-sizing:border-box;
  }

  .ahq-front-page > .panel:last-child > table.widefat thead{
    display:table-header-group !important;
    width:100% !important;
  }

  .ahq-front-page > .panel:last-child > table.widefat tbody{
    display:table-row-group !important;
    width:100% !important;
  }

  .ahq-front-page > .panel:last-child > table.widefat tr{
    display:table-row !important;
    width:100% !important;
  }

  .ahq-front-page > .panel:last-child > table.widefat th,
  .ahq-front-page > .panel:last-child > table.widefat td{
    display:table-cell !important;
    min-width:0 !important;
    max-width:none !important;
    box-sizing:border-box;
  }

  /* TOP 9 */
  .ahq-front-page > .panel:last-child > table.widefat:nth-of-type(1) th:nth-child(1){
    width:14%;
  }

  .ahq-front-page > .panel:last-child > table.widefat:nth-of-type(1) th:nth-child(2){
    width:38%;
  }

  .ahq-front-page > .panel:last-child > table.widefat:nth-of-type(1) th:nth-child(3){
    width:20%;
  }

  .ahq-front-page > .panel:last-child > table.widefat:nth-of-type(1) th:nth-child(4){
    width:28%;
  }

  /* RIWAYAT */
  .ahq-front-page > .panel:last-child > table.widefat:nth-of-type(2) th:nth-child(1){
    width:27%;
  }

  .ahq-front-page > .panel:last-child > table.widefat:nth-of-type(2) th:nth-child(2){
    width:15%;
  }

  .ahq-front-page > .panel:last-child > table.widefat:nth-of-type(2) th:nth-child(3){
    width:16%;
  }

  .ahq-front-page > .panel:last-child > table.widefat:nth-of-type(2) th:nth-child(4){
    width:42%;
  }

  .ahq-front-page > .panel:last-child > table.widefat td[colspan]{
    width:100% !important;
  }
}

