/* Focus and motion refinements; loaded after the existing visual theme. */
:focus-visible { outline: 3px solid #2783de !important; outline-offset: 3px; }
button:disabled { cursor: wait; opacity: .65; }
#sidebarMainContainer button, #sidebarMainContainer .nav-link { min-height: 44px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* Critical login layout remains usable while remote CSS is loading. */
.imp-dependency-warning { position: sticky; top: 0; z-index: 100001; padding: 12px 20px; background: #fff4db; color: #573600; border-bottom: 1px solid #ddbe79; font: 14px/1.5 system-ui, sans-serif; }

/* Explicit confirmation palette: legacy global Swal colors hid the title on white. */
.swal2-popup.imp-logout-confirm { background: #ffffff !important; color: #172033 !important; border-radius: 16px !important; }
.swal2-popup.imp-logout-confirm .swal2-title { color: #172033 !important; font-size: 24px !important; line-height: 1.3 !important; }
.swal2-popup.imp-logout-confirm .swal2-html-container { color: #4b5563 !important; font-size: 16px !important; line-height: 1.5 !important; }
.swal2-popup.imp-logout-confirm .swal2-confirm { background: #1764cf !important; color: #fff !important; min-height: 44px; }
.swal2-popup.imp-logout-confirm .swal2-cancel { background: #485462 !important; color: #fff !important; min-height: 44px; }

/* Stable folder toggle: no max-height layout animation, including mobile. */
#sidebarMainContainer .imp-submenu { transition: none !important; }
#sidebarMainContainer .imp-submenu.collapsed { display:none !important; max-height:0 !important; overflow:hidden !important; }
#sidebarMainContainer .imp-submenu:not(.collapsed):not(.d-none) { display:block !important; max-height:none !important; opacity:1 !important; visibility:visible !important; }

/* Mobile recap: preserve table columns, align quantities and currency. */
@media (max-width: 768px) {
  #tableRekapBlokMain th:nth-child(4),
  #tableRekapBlokMain tbody td:nth-child(4) {
    text-align:center !important;
    white-space:nowrap !important;
    font-variant-numeric:tabular-nums;
  }
  #tableRekapBlokMain th:nth-child(5),
  #tableRekapBlokMain th:nth-child(6),
  #tableRekapBlokMain tbody td:nth-child(5),
  #tableRekapBlokMain tbody td:nth-child(6),
  #tableRekapBlokMain tfoot #lblTotalBiayaTerfilterBlok {
    text-align:right !important;
    white-space:nowrap !important;
    word-break:normal !important;
    overflow-wrap:normal !important;
    font-variant-numeric:tabular-nums;
    padding-right:12px !important;
  }
  #tableRekapBlokMain tbody td:nth-child(4) > *,
  #tableRekapBlokMain tbody td:nth-child(5) > *,
  #tableRekapBlokMain tbody td:nth-child(6) > * {
    max-width:none !important;
    white-space:nowrap !important;
    font-variant-numeric:tabular-nums;
  }
  #tableRekapBlokMain tfoot td {
    white-space:nowrap !important;
    vertical-align:middle !important;
    font-size:.82rem !important;
    line-height:1.3 !important;
    padding:12px !important;
  }
  #tableRekapBlokMain tfoot td:first-child { text-align:right !important; }
}
/* Replacement user management — scoped styles, no legacy user table. */
.um-page{max-width:1160px;margin:0 auto;color:#0f172a}.um-header{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:24px}.um-eyebrow{font-size:.67rem;font-weight:900;letter-spacing:1.4px;color:#0284c7}.um-header h4{font-size:1.55rem;font-weight:850;margin:5px 0 8px}.um-header p,.um-dialog-hint{font-size:.86rem;color:#64748b;margin:0;line-height:1.6}.um-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid #dbe3ee;border-radius:10px;padding:10px 13px;background:#fff;color:#334155;font-size:.78rem;font-weight:750;line-height:1.3;cursor:pointer;white-space:nowrap;transition:background .12s,border-color .12s}.um-button:hover{background:#f1f5f9;border-color:#b9c9db}.um-button:disabled{opacity:.45;cursor:not-allowed}.um-button:focus-visible,.um-toolbar input:focus-visible,.um-toolbar select:focus-visible,.um-dialog input:focus-visible,.um-dialog select:focus-visible{outline:3px solid #bae6fd;outline-offset:2px}.um-primary{background:#0369a1;border-color:#0369a1;color:#fff}.um-primary:hover{background:#075985;border-color:#075985}.um-danger{color:#be123c;background:#fff1f2;border-color:#fecdd3}.um-danger:hover{background:#ffe4e6}.um-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-bottom:22px}.um-stats>div{background:#fff;border:1px solid #e2e8f0;border-radius:14px;padding:18px 20px}.um-stats span{display:block;color:#64748b;font-size:.77rem;margin-bottom:5px}.um-stats strong{font-size:1.75rem;font-weight:850;font-variant-numeric:tabular-nums}.um-toolbar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;padding:15px;background:#fff;border:1px solid #e2e8f0;border-radius:14px}.um-search{flex:1;min-width:200px}.um-toolbar input,.um-toolbar select{width:100%;border:1px solid #dbe3ee;background:#f8fafc;border-radius:9px;padding:10px 12px;color:#334155;font-size:.8rem}.um-status{min-height:20px;margin:12px 2px;font-size:.77rem;color:#64748b}.um-status.is-error{color:#be123c}.um-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(245px,1fr));gap:16px}.um-card{background:#fff;border:1px solid #e2e8f0;border-radius:15px;padding:20px;min-width:0}.um-card-top{display:flex;gap:12px;align-items:center;margin-bottom:18px}.um-avatar{display:flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:12px;background:#e0f2fe;color:#0369a1;font-size:.84rem;font-weight:900;flex-shrink:0}.um-identity{min-width:0;flex:1}.um-identity h5{font-size:.94rem;font-weight:850;margin:0 0 6px;overflow-wrap:anywhere}.um-role{display:inline-flex;border-radius:6px;font-size:.65rem;font-weight:800;padding:3px 7px;background:#f1f5f9;color:#475569}.um-role-Admin{background:#ede9fe;color:#6d28d9}.um-role-A{background:#e0f2fe;color:#0369a1}.um-role-B{background:#dcfce7;color:#047857}.um-role-C{background:#ffedd5;color:#c2410c}.um-self{font-size:.64rem;font-weight:800;color:#64748b;border:1px solid #e2e8f0;padding:3px 6px;border-radius:6px}.um-presence{display:flex;align-items:center;gap:7px;font-size:.75rem;color:#475569;margin-bottom:14px}.um-dot{width:6px;height:6px;border-radius:50%;background:#94a3b8}.um-dot.is-online{background:#10b981}.um-last{border-bottom:1px solid #f1f5f9;padding-bottom:15px;margin:0 0 15px;display:grid;gap:3px}.um-last span{font-size:.66rem;color:#94a3b8}.um-last b{font-size:.75rem;color:#475569;font-weight:650}.um-card-actions{display:flex;gap:8px;flex-wrap:wrap}.um-card-actions .um-button{font-size:.71rem;padding:8px 10px}.um-pager{display:flex;justify-content:flex-end;align-items:center;gap:8px;flex-wrap:wrap;margin-top:18px}.um-pager span{font-size:.73rem;color:#64748b;margin-right:auto}.um-security-note{font-size:.72rem;color:#64748b;margin-top:20px;line-height:1.6}.um-empty{grid-column:1/-1;padding:45px 20px;border:1px dashed #cbd5e1;border-radius:12px;text-align:center;font-size:.85rem;color:#64748b;background:#fff}.um-dialog{border:none;border-radius:18px;padding:24px;width:min(480px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto;box-shadow:0 24px 70px #0f172a33;background:#fff;color:#0f172a;margin:auto}.um-dialog::backdrop{background:#0f172a80}.um-dialog [hidden]{display:none!important}.um-dialog-head{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:12px;gap:12px}.um-dialog h3{font-size:1.18rem;font-weight:850;margin:5px 0 0}.um-close{border:none;background:#f1f5f9;color:#64748b;width:32px;height:32px;border-radius:8px;font-size:1.3rem;line-height:1;cursor:pointer}.um-field{display:grid;gap:7px;margin-top:18px}.um-field label{font-size:.78rem;font-weight:800}.um-field input,.um-field select{width:100%;padding:11px 12px;border:1px solid #cbd5e1;border-radius:9px;font-size:.84rem;background:#fff;color:#0f172a}.um-field small{font-size:.69rem;color:#64748b;line-height:1.5}.um-password{display:flex;gap:7px}.um-password input{min-width:0;flex:1}.um-password button{border:1px solid #cbd5e1;background:#f8fafc;border-radius:9px;color:#475569;font-size:.72rem;min-width:65px;padding:0 9px}.um-form-error{font-size:.76rem;color:#be123c;line-height:1.5;min-height:16px;margin:14px 0 0}.um-dialog-actions{display:flex;gap:10px;justify-content:flex-end;border-top:1px solid #e2e8f0;padding-top:17px;margin-top:15px}@media(max-width:600px){.um-header{align-items:flex-start;flex-direction:column;gap:14px}.um-header h4{font-size:1.3rem}.um-header>.um-button{width:100%}.um-stats{gap:8px}.um-stats>div{padding:13px 10px}.um-stats span{font-size:.66rem}.um-stats strong{font-size:1.4rem}.um-toolbar{padding:12px}.um-search{min-width:100%;width:100%}.um-toolbar>label:not(.um-search){flex:1}.um-list{grid-template-columns:1fr}.um-card{padding:17px}.um-dialog{padding:20px}.um-dialog-actions .um-button{flex:1}.um-pager{justify-content:center}.um-pager span{width:100%;text-align:center;margin-bottom:4px}}

.um-page,.um-header>div{min-width:0;max-width:100%}.um-header{width:100%}.um-header p{white-space:normal;overflow-wrap:anywhere}.um-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.um-stats>div{min-width:0}.um-stats span{overflow-wrap:anywhere}.um-dialog{max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px)}

/* Ringkasan Blok: genuine footer cells follow the same columns on PC/mobile. */
#tableRekapBlokMain thead th:nth-child(4),
#tableRekapBlokMain tbody td:nth-child(4),
#tableRekapBlokMain tfoot #lblTotalQtyTerfilterBlok {
  text-align:center !important;white-space:nowrap !important;
  font-variant-numeric:tabular-nums;vertical-align:middle !important;
}
#tableRekapBlokMain thead th:nth-child(5),
#tableRekapBlokMain thead th:nth-child(6),
#tableRekapBlokMain tbody td:nth-child(5),
#tableRekapBlokMain tbody td:nth-child(6),
#tableRekapBlokMain tfoot #lblTotalBiayaTerfilterBlok {
  text-align:right !important;white-space:nowrap !important;
  padding-right:12px !important;font-variant-numeric:tabular-nums;
  word-break:normal !important;overflow-wrap:normal !important;
}
#tableRekapBlokMain tfoot .imp14-foot-label {
  text-align:right !important;white-space:nowrap !important;
  vertical-align:middle !important;font-size:.78rem !important;
}
#tableRekapBlokMain tfoot .imp14-foot-qty,
#tableRekapBlokMain tfoot .imp14-foot-money {
  font-size:.88rem !important;line-height:1.4 !important;
  font-weight:800 !important;padding:12px !important;
}
#tableRekapBlokMain tfoot .imp14-foot-empty{border-left:0 !important;}
#tableRekapBlokMain tbody td:nth-child(4)>* {
  white-space:nowrap !important;max-width:none !important;
  font-variant-numeric:tabular-nums;
}
@media(max-width:768px){
  #tableRekapBlokMain tfoot .imp14-foot-qty,
  #tableRekapBlokMain tfoot .imp14-foot-money{font-size:.82rem !important;}
}
/* Account access and professional review workspace. */
#tab-manajemenUser [hidden]{display:none!important}
#tab-manajemenUser .um-page{width:100%;max-width:1160px;margin:0 auto}#tab-manajemenUser .um-header{background:linear-gradient(120deg,#eff6ff,#fff);border:1px solid #dbeafe;padding:24px;border-radius:18px}#tab-manajemenUser .um-header p{max-width:570px;white-space:normal;overflow-wrap:anywhere}#tab-manajemenUser .um-card{box-shadow:0 4px 20px #0f172a04;transition:box-shadow .15s}#tab-manajemenUser .um-card:hover{box-shadow:0 8px 24px #0f172a0a}.um-tabs{display:flex;gap:6px;border-bottom:1px solid #dbe5f0;margin:4px 0 20px;padding-bottom:8px;flex-wrap:wrap}.um-tabs button{border:0;background:transparent;color:#64748b;font-size:.81rem;font-weight:800;border-radius:9px;padding:11px 15px;cursor:pointer}.um-tabs button.is-active{color:#0369a1;background:#e0f2fe}.um-tabs button span{font-size:.7rem;padding:3px 7px;background:#fff7ed;color:#b45309;border:1px solid #fed7aa;border-radius:6px;margin-left:5px}.um-review-head{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:10px}.um-review-head h5{font-size:1rem;font-weight:850;margin-bottom:7px;color:#0f172a}.um-review-head p{font-size:.78rem;line-height:1.6;color:#64748b;margin:0}.um-request-username{font-size:.74rem;color:#64748b;overflow-wrap:anywhere}.um-pending-badge{display:inline-block;color:#b45309;background:#fff7ed;border:1px solid #fed7aa;border-radius:7px;font-size:.65rem;font-weight:800;padding:5px 8px;margin-bottom:18px}.um-request-details{display:grid;gap:13px;margin-bottom:18px;padding-bottom:18px;border-bottom:1px solid #f1f5f9}.um-request-details div{display:grid;gap:3px}.um-request-details dt{font-size:.68rem;color:#94a3b8;font-weight:500}.um-request-details dd{font-size:.77rem;color:#334155;font-weight:700;margin:0}.um-empty strong{display:block;font-size:.89rem;color:#475569}.um-empty p{font-size:.75rem;margin:9px 0 0;color:#94a3b8}.um-review-head .um-button{flex-shrink:0}
@media(max-width:600px){#tab-manajemenUser .um-header{padding:19px}.um-review-head{align-items:flex-start;flex-direction:column}.um-tabs{gap:4px}.um-tabs button{padding:10px 9px;font-size:.74rem}}
/* Override the retired dark v57 skin with sufficient selector specificity. */
