:root{
  --green-950:#082b4c;
  --green-900:#0b3a5b;
  --green-800:#0b5267;
  --green-700:#087f8c;
  --green-600:#087f8c;
  --green-100:#e5f6f7;
  --green-50:#f2fbfb;
  --gold-600:#b8860b;
  --gold-500:#d5a52a;
  --gold-100:#fff7dc;
  --ink:#17251f;
  --muted:#66756e;
  --line:#dfe8ef;
  --surface:#fff;
  --page:#f4f7f5;
  --danger:#c93c45;
  --warning:#c88700;
  --shadow-sm:0 2px 8px rgba(17,39,28,.05);
  --shadow:0 10px 30px rgba(17,39,28,.07);
  --shadow-lg:0 18px 50px rgba(17,39,28,.10);
  --radius:16px;
  --sidebar:278px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  font-family:'Poppins',system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  background:var(--page);
  color:var(--ink);
  font-size:14px;
  line-height:1.6;
  overflow-x:hidden;
}
a{color:var(--green-700)}
a:hover{color:var(--green-900)}
button,input,select,textarea{font-family:inherit}

/* =========================
   APP SHELL / SIDEBAR
   ========================= */
.sidebar{
  background:linear-gradient(180deg,var(--green-950) 0%,var(--green-900) 58%,#06361f 100%);
  min-height:100vh;
  width:var(--sidebar);
  position:fixed;
  inset:0 auto 0 0;
  display:flex;
  flex-direction:column;
  z-index:1030;
  box-shadow:10px 0 30px rgba(4,45,27,.12);
  overflow-y:auto;
  scrollbar-width:thin;
  scrollbar-color:rgba(255,255,255,.18) transparent;
}
.sidebar::before{
  content:"";
  position:absolute;
  width:220px;height:220px;
  right:-100px;top:-90px;
  border:1px solid rgba(255,255,255,.06);
  border-radius:50%;
  box-shadow:0 0 0 35px rgba(255,255,255,.02),0 0 0 70px rgba(255,255,255,.015);
  pointer-events:none;
}
.sidebar-brand{
  padding:24px 22px 20px;
  color:#fff;
  display:flex;
  align-items:center;
  gap:13px;
  border-bottom:1px solid rgba(255,255,255,.09);
  position:relative;
}
.sidebar-brand-logo{
  width:48px;height:48px;
  flex:0 0 48px;
  display:flex;align-items:center;justify-content:center;
  border-radius:50%;
  background:transparent;
  box-shadow:none;
  overflow:hidden;
}
.sidebar-brand-logo img{
  width:44px;height:44px;
  object-fit:contain;
  display:block;
}
.sidebar-brand h5{font-size:1.12rem;letter-spacing:.6px}
.sidebar-brand small{display:block;margin-top:2px;line-height:1.35}
.sidebar-brand-instansi{font-size:.54rem!important;letter-spacing:.55px;color:#e5ca68!important;font-weight:700;margin-top:4px!important}
.sidebar-menu{padding:22px 14px;flex-grow:1;position:relative}
.sidebar-menu::before{
  content:'MENU UTAMA';
  display:block;
  padding:0 12px 10px;
  color:rgba(255,255,255,.42);
  font-size:10px;font-weight:700;letter-spacing:1.4px;
}
.menu-item{
  min-height:48px;
  padding:12px 14px;
  color:rgba(255,255,255,.68);
  display:flex;
  align-items:center;
  gap:12px;
  text-decoration:none;
  font-weight:500;
  font-size:.9rem;
  transition:.2s ease;
  margin:4px 0;
  border-radius:11px;
  position:relative;
}
.menu-item i{width:22px;text-align:center;font-size:16px;color:rgba(255,255,255,.52);transition:.2s}
.menu-item:hover{color:#fff;background:rgba(255,255,255,.075);transform:translateX(2px)}
.menu-item:hover i{color:#fff}
.menu-item.active{
  color:var(--green-950);
  background:linear-gradient(90deg,#e9c85a,#f5d878);
  box-shadow:0 7px 18px rgba(0,0,0,.13);
  font-weight:700;
}
.menu-item.active i{color:var(--green-950)}
.menu-item.active::before{content:"";position:absolute;left:-14px;width:4px;height:28px;border-radius:0 5px 5px 0;background:#f3d467}
.sidebar-profile{
  margin:10px 14px 16px;
  padding:15px;
  border:1px solid rgba(255,255,255,.09);
  background:rgba(255,255,255,.055);
  border-radius:15px;
}
.sidebar-profile .bg-success{
  background:linear-gradient(135deg,#fff,#d9f2e3)!important;
  color:var(--green-900)!important;
  font-weight:800;
}
.sidebar-profile .btn-link{font-weight:600;color:rgba(255,255,255,.8)!important}
.sidebar-profile .btn-link:hover{color:#fff!important}

.main-content{margin-left:var(--sidebar);padding:0;min-height:100vh}
.top-header{
  min-height:78px;
  background:rgba(255,255,255,.96);
  backdrop-filter:blur(14px);
  padding:16px 32px;
  border-bottom:1px solid var(--line);
  display:flex;
  justify-content:space-between;
  align-items:center;
  position:sticky;top:0;z-index:1000;
}
.top-header .text-muted{font-size:.8rem!important;color:#7a8982!important}
.top-header .text-dark{color:var(--ink)!important}
.top-header .input-group{position:relative}
.top-header .form-control{min-height:42px}

.top-header-date{
  margin-left:auto;
  display:flex;
  align-items:center;
  gap:9px;
  color:#51625a;
  font-size:.78rem;
  font-weight:600;
  white-space:nowrap;
  padding:9px 13px;
  border:1px solid #e1e9e4;
  background:#f6f9fc;
  border-radius:999px;
}
.top-header-date i{color:var(--green-700);font-size:14px}
@media(max-width:700px){
  .top-header-date span{display:none}
  .top-header-date{width:38px;height:38px;padding:0;justify-content:center}
}

/* =========================
   PAGE HEADERS / CARDS
   ========================= */
.main-content > .p-4{padding:30px 32px!important}
.card,.card-custom,.summary-card{
  border:1px solid var(--line)!important;
  border-radius:var(--radius)!important;
  box-shadow:var(--shadow-sm)!important;
  background:var(--surface);
  overflow:hidden;
}
.card:hover,.summary-card:hover{box-shadow:var(--shadow)!important}
.summary-card.p-3{padding:21px!important}
.summary-card.p-4{padding:25px!important}
.summary-card h2{font-size:2rem;letter-spacing:-.8px;color:var(--ink)}
.summary-card h6{font-size:1rem;color:var(--ink);font-weight:700}
.summary-card .text-muted.small,.summary-card > .text-muted.small{font-size:.73rem!important;letter-spacing:.55px;color:#77857f!important}

/* KPI cards */
.summary-card .icon-box{width:46px;height:46px;border-radius:13px;font-size:18px}
.summary-card::after{content:"";display:block;height:3px;background:linear-gradient(90deg,var(--green-700),var(--gold-500));opacity:.9}

/* Buttons */
.btn{border-radius:10px;font-weight:600;transition:.2s ease;min-height:40px}
.btn:hover{transform:translateY(-1px)}
.btn-success{background:var(--green-700);border-color:var(--green-700)}
.btn-success:hover{background:var(--green-900);border-color:var(--green-900)}
.btn-warning{background:var(--gold-500);border-color:var(--gold-500);color:#2d260e!important}
.btn-primary{background:var(--green-700);border-color:var(--green-700)}
.btn-outline-success{color:var(--green-700);border-color:#9fcdb4}
.btn-outline-success:hover{background:var(--green-700);border-color:var(--green-700)}

/* Forms */
.form-label{font-size:.78rem;font-weight:700;color:#52615a;letter-spacing:.15px;margin-bottom:7px}
.form-control,.form-select{
  border-radius:10px;
  min-height:44px;
  padding:10px 13px;
  border:1px solid #dce5e0;
  background:#fbfdfc;
  color:var(--ink);
  font-size:.88rem;
}
.form-control::placeholder{color:#a1ada7}
.form-control:hover,.form-select:hover{border-color:#b9cbc1}
.form-control:focus,.form-select:focus{
  background:#fff;
  border-color:var(--green-600);
  box-shadow:0 0 0 3px rgba(22,131,79,.11);
}
.search-box{background:#f6f9fc;border:1px solid var(--line);border-radius:10px;padding:9px 14px}
.input-group .form-control{border-radius:10px!important}

/* Tables */
.table-responsive{border-radius:12px}
.table{margin-bottom:0}
.table th{
  font-size:.68rem!important;
  font-weight:800!important;
  color:#718078!important;
  letter-spacing:.7px!important;
  background:#f6f9fc!important;
  border-bottom:1px solid #e1e9e4!important;
  padding:13px 14px!important;
  white-space:nowrap;
}
.table td{
  font-size:.82rem!important;
  color:#26362e;
  padding:14px!important;
  border-bottom:1px solid #edf1ef!important;
  vertical-align:middle;
}
.table tbody tr{transition:.15s ease}
.table tbody tr:hover{background:#f6fcfc!important}
.table tbody tr:last-child td{border-bottom:0}

/* Badges */
.badge{border-radius:999px;padding:.46em .72em;font-size:.68rem;font-weight:700;letter-spacing:.15px}
.badge.bg-success{background:#e6f5ec!important;color:#176b43!important}
.badge.bg-warning{background:#fff3cd!important;color:#855f00!important}
.badge.bg-danger{background:#fde9eb!important;color:#a52d38!important}
.badge.bg-secondary{background:#edf1ef!important;color:#596861!important}

/* Alerts */
.alert{border-radius:12px;border:1px solid transparent;font-size:.85rem}
.alert-warning{background:#fff8e5;border-color:#f3df9d;color:#725500}
.alert-success{background:#edf9f2;border-color:#c9e9d6;color:#1c6844}
.alert-danger{background:#fff0f1;border-color:#f3c9cd;color:#9c3039}
.alert-info{background:#eef7fb;border-color:#cce5f1;color:#2b657d}

/* Pagination */
.page-link{color:var(--green-700);border-color:var(--line);border-radius:8px!important;margin:0 2px}
.page-item.active .page-link{background:var(--green-700);border-color:var(--green-700)}

/* Timeline */
.timeline{border-left:2px solid #dfe8e3;padding-left:23px;margin-left:11px;position:relative}
.timeline-item{margin-bottom:28px;position:relative}
.timeline-item::before{content:'';position:absolute;left:-31px;top:1px;width:14px;height:14px;border-radius:50%;background:#dce5e0;border:3px solid #fff;box-shadow:0 0 0 2px #dce5e0}
.timeline-item.active::before{background:var(--green-700);box-shadow:0 0 0 3px #cce9d8}
.timeline-date{font-size:.72rem;color:#78867f;font-weight:600}

/* Option cards */
.option-card{border:1px solid var(--line)!important;border-radius:15px!important;box-shadow:none!important;transition:.2s ease}
.option-card:hover{border-color:#a8cbb8!important;transform:translateY(-2px);box-shadow:var(--shadow-sm)!important}
.option-input:checked + .option-card{border-color:var(--green-700)!important;background:var(--green-50)!important;box-shadow:0 0 0 3px rgba(18,167,165,.08)!important}

/* Empty states */
.text-center.text-muted.py-5{background:#fafcfb;border:1px dashed #d9e4de;border-radius:15px;margin-top:5px;color:#7a8982!important}

/* =========================
   LOGIN — OFFICIAL / MODERN
   ========================= */
.login-body{
  min-height:100vh;margin:0;display:flex;align-items:stretch;justify-content:center;
  background:#edf4ef;
}
.login-page{width:100%;min-height:100vh;display:grid;grid-template-columns:1.05fr .95fr;background:#fff}
.login-hero{position:relative;overflow:hidden;display:flex;align-items:center;background:linear-gradient(145deg,#063c24,#0a6138 62%,#0d7442);color:#fff;padding:clamp(38px,6vw,82px);isolation:isolate}
.login-hero::before{content:"";position:absolute;inset:auto -130px -180px auto;width:500px;height:500px;border:1px solid rgba(255,255,255,.09);border-radius:50%;box-shadow:0 0 0 55px rgba(255,255,255,.025),0 0 0 110px rgba(255,255,255,.018);z-index:-1}
.login-hero::after{content:"";position:absolute;left:-160px;top:-190px;width:420px;height:420px;border-radius:50%;background:radial-gradient(circle,rgba(221,183,66,.17),transparent 65%);z-index:-1}
.hero-pattern{position:absolute;inset:0;opacity:.18;background-image:linear-gradient(135deg,rgba(255,255,255,.05) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.05) 50%,rgba(255,255,255,.05) 75%,transparent 75%);background-size:42px 42px;z-index:-1}
.hero-content{max-width:650px;position:relative;z-index:1}
.institution-mark{display:flex;align-items:center;gap:14px;margin-bottom:72px}
.institution-icon{width:54px;height:54px;border-radius:15px;background:linear-gradient(135deg,#f1d26d,#bd8e12);display:flex;align-items:center;justify-content:center;font-size:25px;box-shadow:0 12px 30px rgba(0,0,0,.2)}
.institution-name{font-size:.85rem;font-weight:800;letter-spacing:1.1px}
.institution-country{font-size:.68rem;opacity:.7;letter-spacing:1.8px;margin-top:2px}
.hero-kicker{display:inline-flex;padding:7px 11px;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.06);border-radius:999px;font-size:.68rem;font-weight:700;letter-spacing:.8px;text-transform:uppercase}
.hero-copy h1{font-size:clamp(3.4rem,6vw,6rem);line-height:.9;margin:19px 0 12px;font-weight:800;letter-spacing:-3px;color:#fff}
.hero-copy h2{font-size:clamp(1.15rem,2vw,1.65rem);line-height:1.35;font-weight:600;max-width:570px;margin:0 0 18px;color:#f5f9f6}
.sigap-tagline{display:inline-block;margin:0 0 18px;padding:7px 13px;border-left:3px solid #e7c85c;color:#f3d77b;font-size:clamp(.9rem,1.25vw,1.08rem);font-weight:700;font-style:italic;letter-spacing:.1px;background:rgba(231,200,92,.08);border-radius:0 8px 8px 0}
.hero-copy p{max-width:590px;color:rgba(255,255,255,.72);font-size:.92rem;line-height:1.85;margin-bottom:28px}
.hero-features{display:grid;gap:10px}
.hero-features div{font-size:.78rem;color:rgba(255,255,255,.82);display:flex;align-items:center;gap:10px}
.hero-features span{width:22px;height:22px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:rgba(231,200,92,.18);color:#f1d26d;font-weight:800}
.hero-footer{position:absolute;bottom:25px;left:clamp(38px,6vw,82px);font-size:.64rem;letter-spacing:.6px;color:rgba(255,255,255,.45)}
.login-panel{display:flex;align-items:center;justify-content:center;padding:42px;background:#fff}
.login-card{width:min(480px,100%);padding:10px 8px;background:#fff;box-shadow:none;border-radius:0;animation:slideUpFade .5s ease both}
.login-brand-mobile{display:none}
.login-heading{margin-bottom:28px}
.welcome-label{font-size:.67rem;font-weight:800;letter-spacing:1.5px;color:var(--green-700)}
.login-heading h3{font-size:2rem;font-weight:800;letter-spacing:-.7px;margin:8px 0 5px;color:var(--ink)}
.login-heading p{font-size:.84rem;color:var(--muted);margin:0}
.login-alert{display:flex;align-items:center;gap:10px;background:#fff0f1;border:1px solid #f0c8cc;color:#9e3039;border-radius:11px;padding:11px 13px;font-size:.8rem;margin-bottom:16px}
.alert-icon{width:22px;height:22px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:#e8a5ab;color:#fff;font-weight:800}
.login-field{margin-bottom:17px}
.login-field>label{display:block;font-size:.75rem;font-weight:700;color:#3f4f47;margin-bottom:7px}
.input-wrap{position:relative}
.input-wrap .form-control,.input-wrap .form-select{padding-left:43px;min-height:48px;background:#fbfdfc}
.field-icon{position:absolute;left:15px;top:50%;transform:translateY(-50%);color:#7b8a83;font-size:13px;z-index:2}
.select-wrap .field-icon{pointer-events:none}
.password-toggle{position:absolute;right:10px;top:50%;transform:translateY(-50%);width:36px;height:36px;display:inline-flex;align-items:center;justify-content:center;border:0;background:transparent;color:#718078;font-size:15px;border-radius:8px;padding:0;cursor:pointer;transition:.18s}.password-toggle:hover{background:#edf5f0;color:var(--green-700)}.password-toggle:focus-visible{outline:2px solid rgba(8,127,140,.35);outline-offset:2px}
.btn-login{min-height:50px;border:0;border-radius:11px;background:linear-gradient(135deg,var(--green-900),var(--green-700));color:#fff;font-weight:700;font-size:.86rem;display:flex;align-items:center;justify-content:center;gap:12px;box-shadow:0 10px 22px rgba(8,76,45,.18);transition:.2s}
.btn-login:hover{color:#fff;transform:translateY(-2px);box-shadow:0 14px 28px rgba(8,76,45,.23)}
.login-arrow{font-size:18px;line-height:1}
@keyframes slideUpFade{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:translateY(0)}}

/* =========================
   RESPONSIVE
   ========================= */
@media(max-width:1100px){
  :root{--sidebar:240px}
  .main-content > .p-4{padding:25px!important}
  .top-header{padding:14px 25px}
  .login-page{grid-template-columns:1fr}
  .login-hero{min-height:390px;padding:44px 7vw}
  .institution-mark{margin-bottom:38px}
  .hero-copy h1{font-size:4.4rem}
  .hero-footer{display:none}
  .login-panel{padding:45px 25px}
}
@media(max-width:768px){
  .sigap-tagline{font-size:.82rem;padding:6px 10px}
  .rx-tagline{font-size:.78rem;padding:5px 9px}
  :root{--sidebar:76px}
  .sidebar{width:var(--sidebar)}
  .sidebar-brand{padding:16px 10px;justify-content:center}
  .sidebar-brand>div:last-child,.sidebar-menu::before,.menu-item{font-size:0}
  .sidebar-brand .bg-warning{width:46px;height:46px}
  .menu-item{width:50px;height:50px;padding:0;justify-content:center;margin:7px auto;border-radius:13px}
  .menu-item i{font-size:17px;width:auto}
  .menu-item.active::before{left:-10px}
  .sidebar-profile{margin:8px 7px;padding:9px;text-align:center}
  .sidebar-profile .d-flex{justify-content:center;margin-bottom:8px!important}
  .sidebar-profile .d-flex>div:last-child,.sidebar-profile form{display:none}
  .main-content{margin-left:var(--sidebar)}
  .top-header{min-height:70px;padding:12px 17px}
  .top-header .input-group{display:none}
  .main-content > .p-4{padding:18px!important}
  .summary-card h2{font-size:1.65rem}
  .login-hero{min-height:340px;padding:34px 28px}
  .institution-mark{margin-bottom:28px}
  .hero-copy h1{font-size:3.6rem}
  .hero-copy h2{font-size:1.1rem}
  .hero-copy p{font-size:.8rem;line-height:1.7}
  .login-panel{padding:28px 22px}
  .login-heading h3{font-size:1.65rem}
}
@media(max-width:480px){
  body{font-size:13px}
  :root{--sidebar:0px}
  .sidebar{display:none}
  .main-content{margin-left:0}
  .top-header{position:relative}
  .top-header>div:first-child{font-size:.75rem}
  .login-page{display:block}
  .login-hero{display:none}
  .login-panel{min-height:100vh;padding:35px 22px;background:linear-gradient(180deg,#f3f8f5,#fff 45%)}
  .login-card{padding:0}
  .login-brand-mobile{display:flex;align-items:center;gap:10px;margin-bottom:42px}
  .institution-icon.small{width:42px;height:42px;border-radius:11px;font-size:18px}
  .login-brand-mobile strong{display:block;font-size:.68rem;letter-spacing:.5px}
  .login-brand-mobile small{display:block;font-size:.55rem;letter-spacing:1px;color:#8a968f}
  .login-footer{font-size:.55rem}
}

/* utility improvements for common Bootstrap classes */
.fw-bold{font-weight:700!important}
.fw-semibold{font-weight:600!important}
.small{font-size:.76rem!important}
.text-muted{color:#74827b!important}
.border-dashed{border-style:dashed!important;border-color:#dce6e1!important}
.shadow-sm{box-shadow:var(--shadow-sm)!important}

/* scrollbar */
::-webkit-scrollbar{width:8px;height:8px}
::-webkit-scrollbar-track{background:#edf2f5}
::-webkit-scrollbar-thumb{background:#c5d1ca;border-radius:20px}
::-webkit-scrollbar-thumb:hover{background:#aebdb5}

/* =========================================================
   TYPOGRAPHY SCALE — PROFESSIONAL / HIGH READABILITY v7
   ========================================================= */
:root{
  --font-scale:1.12;
}
body{font-size:15px;line-height:1.6}
.sidebar-brand strong{font-size:1.18rem!important}
.sidebar-brand small{font-size:.78rem!important}
.menu-item{font-size:.98rem!important;min-height:48px}
.menu-item i{font-size:1.05rem!important}
.sidebar-section-label{font-size:.78rem!important}
.sidebar-profile strong{font-size:.92rem!important}
.sidebar-profile small{font-size:.78rem!important}
.top-header{font-size:15px}
.top-header h1,.page-title{font-size:clamp(1.65rem,2.2vw,2.25rem)!important}
.summary-card h2{font-size:clamp(2rem,3vw,2.8rem)!important}
.summary-card .small,.summary-card p{font-size:.92rem!important}
.card-title,.section-title{font-size:1.18rem!important}
table,.table{font-size:.94rem!important}
.table th{font-size:.84rem!important}
.form-label,.form-check-label{font-size:.92rem!important;font-weight:700}
.form-control,.form-select,.input-group-text{font-size:1rem!important;min-height:50px}
.btn{font-size:.94rem!important}
.badge{font-size:.78rem!important;padding:.45em .7em!important}

/* LOGIN — noticeably larger and easier to read on desktop */
.login-hero{padding:clamp(48px,6vw,92px)}
.institution-mark{gap:18px;margin-bottom:clamp(54px,7vh,82px)}
.institution-icon{width:64px;height:64px;border-radius:17px;font-size:29px}
.institution-name{font-size:1rem;letter-spacing:1.15px}
.institution-country{font-size:.78rem;letter-spacing:1.9px;margin-top:4px}
.hero-kicker{padding:9px 14px;font-size:.78rem;letter-spacing:.85px}
.hero-copy h1{font-size:clamp(4.8rem,7.5vw,7.4rem);line-height:.9;margin:24px 0 18px;letter-spacing:-4px}
.hero-copy h2{font-size:clamp(1.45rem,2.35vw,2rem);line-height:1.35;max-width:680px;margin-bottom:22px}
.hero-copy p{max-width:680px;font-size:1.08rem;line-height:1.8;margin-bottom:32px;color:rgba(255,255,255,.8)}
.hero-features{gap:13px}
.hero-features div{font-size:.95rem;gap:12px}
.hero-features span{width:25px;height:25px;font-size:.88rem}
.hero-footer{font-size:.78rem}
.login-panel{padding:58px 6vw}
.login-card{width:min(560px,100%);padding:12px 8px}
.login-heading{margin-bottom:34px}
.welcome-label{font-size:.84rem;letter-spacing:1.7px}
.login-heading h3{font-size:clamp(2.15rem,3vw,2.75rem);letter-spacing:-.9px;margin:10px 0 8px}
.login-heading p{font-size:1rem;line-height:1.6}
.login-alert{padding:14px 16px;font-size:.95rem}
.login-field{margin-bottom:21px}
.login-field>label{font-size:.92rem;margin-bottom:9px}
.input-wrap .form-control,.input-wrap .form-select{padding-left:49px;min-height:56px;font-size:1rem!important;border-radius:11px}
.field-icon{left:17px;font-size:15px}
.password-toggle{right:10px;font-size:.82rem;padding:8px 11px}
.btn-login{min-height:57px;border-radius:12px;font-size:1rem!important;box-shadow:0 12px 25px rgba(8,76,45,.2)}
.login-arrow{font-size:21px}
.login-security{font-size:.82rem;margin-top:23px}
.login-footer{margin-top:42px;padding-top:17px;font-size:.75rem}

@media(max-width:1100px){
  .hero-copy h1{font-size:5.4rem}
  .hero-copy h2{font-size:1.55rem}
  .hero-copy p{font-size:1rem}
  .login-panel{padding:50px 30px}
}
@media(max-width:768px){
  .sigap-tagline{font-size:.82rem;padding:6px 10px}
  .rx-tagline{font-size:.78rem;padding:5px 9px}
  body{font-size:14px}
  .menu-item{font-size:0!important}
  .hero-copy h1{font-size:4.25rem}
  .hero-copy h2{font-size:1.35rem}
  .hero-copy p{font-size:.95rem}
  .hero-features div{font-size:.88rem}
  .login-heading h3{font-size:2rem}
  .login-heading p{font-size:.95rem}
  .login-field>label{font-size:.9rem}
  .input-wrap .form-control,.input-wrap .form-select{min-height:54px;font-size:.98rem!important}
  .btn-login{min-height:55px;font-size:.98rem!important}
}
@media(max-width:480px){
  body{font-size:14px}
  .login-heading h3{font-size:1.85rem}
  .login-heading p{font-size:.92rem}
  .login-field>label{font-size:.88rem}
  .login-footer{font-size:.68rem}
}



/* LOGIN REDESIGN v9 */
.login-body{background:#edf4ef!important;}
.login-page{min-height:100vh;background:radial-gradient(circle at 10% 10%,rgba(213,165,42,.12),transparent 28%),linear-gradient(135deg,#f5faf7 0%,#eef5f1 48%,#e8f1ec 100%);grid-template-columns:minmax(0,1.15fr) minmax(480px,.85fr);}
.login-hero{background:linear-gradient(145deg,#052f1c 0%,#07552f 54%,#0b7042 100%);padding:clamp(45px,6vw,90px);}
.login-hero::before{width:620px;height:620px;right:-230px;bottom:-280px;border-color:rgba(255,255,255,.12);box-shadow:0 0 0 70px rgba(255,255,255,.025),0 0 0 140px rgba(255,255,255,.015);}
.login-hero::after{left:auto;right:12%;top:8%;width:340px;height:340px;background:radial-gradient(circle,rgba(221,183,66,.18),transparent 68%);}
.hero-content{max-width:760px;}
.institution-mark{margin-bottom:clamp(45px,8vh,90px);}
.institution-icon{background:linear-gradient(135deg,#f3d36c,#b9850c);color:#17351f;}
.hero-copy h1{font-size:clamp(4.5rem,7vw,7rem);}
.hero-copy h2{max-width:650px;}
.hero-features{margin-top:34px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;}
.hero-features div{min-height:72px;padding:14px;border:1px solid rgba(255,255,255,.1);border-radius:14px;background:rgba(255,255,255,.045);backdrop-filter:blur(8px);align-items:flex-start;}
.hero-features span{flex:0 0 25px;}
.login-panel{padding:42px clamp(25px,5vw,70px);background:transparent;align-items:center;}
.login-card{width:min(560px,100%);padding:38px 40px 28px;background:rgba(255,255,255,.97);border:1px solid rgba(210,224,216,.9);border-radius:24px;box-shadow:0 24px 70px rgba(8,43,76,.13);}
.login-heading{position:relative;padding-left:66px;margin-bottom:28px;}
.login-welcome-icon{position:absolute;left:0;top:0;width:52px;height:52px;border-radius:16px;background:linear-gradient(135deg,#e5f5eb,#f9e9ad);color:var(--green-800);display:flex;align-items:center;justify-content:center;font-size:20px;box-shadow:inset 0 0 0 1px rgba(11,113,66,.08);}
.login-heading h3{font-size:clamp(1.8rem,2.5vw,2.25rem);margin:6px 0 5px;}
.login-heading p{font-size:.86rem;line-height:1.7;}
.login-field{margin-bottom:16px;}
.input-wrap .form-control,.input-wrap .form-select{min-height:52px;background:#f8fbf9;border-color:#d6e4eb;}
.input-wrap .form-control:focus,.input-wrap .form-select:focus{background:#fff;}
.btn-login{min-height:54px;margin-top:5px;}
@media(max-width:768px){.login-hero{min-height:430px}.hero-features{grid-template-columns:1fr}.hero-features div{min-height:auto}.login-card{padding:30px 24px 24px;border-radius:20px}.login-heading{padding-left:58px}.login-welcome-icon{width:46px;height:46px;border-radius:13px}}

/* =========================================================
   RESPONSIVE FIT / LAYOUT BALANCE v8
   Menjaga ukuran kartu, grafik, tabel, tombol, dan spacing
   agar proporsional pada berbagai resolusi.
   ========================================================= */
.page-content, .main-content > .p-4{
  max-width: 100%;
  min-width: 0;
}
.main-content > .p-4{
  padding: clamp(18px,2.2vw,32px)!important;
}
.row{--bs-gutter-x:clamp(.8rem,1.4vw,1.5rem);--bs-gutter-y:clamp(.8rem,1.4vw,1.5rem)}
.cardx,.card,.summary-card,.hero{
  min-width:0;
  max-width:100%;
}
.cardx{overflow:hidden}
.cardx .card-body{min-width:0}
.stat{min-height:145px;display:flex;flex-direction:column;justify-content:flex-start}
.stat .num{line-height:1.15;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.stat .small{overflow-wrap:anywhere}
.hero{padding:clamp(20px,2.5vw,30px)!important}
.hero h1,.hero h2,.hero h3,.hero p{overflow-wrap:anywhere}
.info,.action{min-width:0}
.action{height:100%}
.action span,.action div{min-width:0}
.action strong,.action small{overflow-wrap:anywhere}

/* dashboard charts */
canvas{max-width:100%!important}
.chart-container,.chart-box,.dashboard-chart{
  position:relative;
  width:100%;
  max-width:100%;
  min-width:0;
}
.dashboard-chart canvas{height:auto!important;max-height:340px}
.chart-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:45%}

/* tables never force the whole page wider */
.table-responsive{
  width:100%;
  max-width:100%;
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
}
.table{width:100%;max-width:100%;margin-bottom:0}
.table th,.table td{vertical-align:middle}
.table th{white-space:nowrap}
.table td{overflow-wrap:anywhere}
.table .btn{white-space:nowrap}

/* forms */
.form-control,.form-select,.input-group,.input-group>.form-control{
  max-width:100%;
}
.form-control,.form-select{min-width:0}
.input-group{flex-wrap:nowrap}
.input-group .form-control{min-width:0}

/* buttons and badges */
.btn{white-space:normal;max-width:100%;vertical-align:middle}
.btn-group{max-width:100%;flex-wrap:wrap}
.badge{white-space:normal;line-height:1.35}

/* long names, NIP and job titles */
.text-truncate-safe{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
.pegawai-name,.employee-name,.job-title{overflow-wrap:anywhere}

/* top header */
.top-header{
  gap:16px;
  flex-wrap:wrap;
}
.top-header>div:first-child{min-width:0}
.top-header form{max-width:min(420px,100%);flex:1 1 280px}
.top-header .input-group{width:100%}

/* large desktop: don't let content become excessively stretched */
@media (min-width:1400px){
  .main-content > .p-4{padding-left:36px!important;padding-right:36px!important}
  .dashboard-container,.content-container{max-width:1600px;margin-left:auto;margin-right:auto}
}

/* laptop */
@media (max-width:1199.98px){
  :root{--sidebar:250px}
  .main-content > .p-4{padding:22px!important}
  .summary-card h2,.num{font-size:clamp(1.7rem,3vw,2.35rem)!important}
  .card-title,.section-title{font-size:1.08rem!important}
}

/* tablet */
@media (max-width:991.98px){
  :root{--sidebar:0px}
  .sidebar{
    width:280px;
    transform:translateX(-100%);
    transition:transform .25s ease;
  }
  .main-content{margin-left:0}
  .main-content > .p-4{padding:18px!important}
  .top-header{padding:14px 18px}
  .hero{border-radius:16px}
  .stat{min-height:125px;padding:18px}
  .stat .num{font-size:2rem!important}
}

/* phone */
@media (max-width:575.98px){
  body{font-size:14px}
  .main-content > .p-4{padding:12px!important}
  .top-header{min-height:64px;padding:11px 13px}
  .top-header .fw-bold{font-size:16px!important}
  .hero{padding:18px!important;border-radius:14px}
  .hero h2{font-size:1.35rem!important}
  .hero p{font-size:.84rem;line-height:1.55}
  .cardx{border-radius:14px}
  .stat{min-height:112px;padding:14px}
  .stat .num{font-size:1.65rem!important}
  .stat .num i{font-size:21px!important}
  .stat .icon{width:40px;height:40px;border-radius:10px;font-size:16px}
  .stat .small{font-size:.72rem!important}
  .card-title,.section-title{font-size:1rem!important}
  .form-control,.form-select,.input-group-text{min-height:46px!important;font-size:.9rem!important}
  .btn{font-size:.84rem!important;padding:.55rem .75rem}
  .table{font-size:.8rem!important}
  .table th{font-size:.72rem!important}
  .table td,.table th{padding:.55rem .5rem}
  .dashboard-chart canvas{max-height:260px}
  .action{padding:12px}
  .action i{width:36px;height:36px}
}

/* prevent flex/grid children from creating horizontal overflow */
[class*="col-"],.d-flex,.row>*,form{min-width:0}

/* =========================================================
   UI REFINEMENT — compact, cleaner, less scrolling
   ========================================================= */
:root{--sidebar:252px;--radius:14px}
body{font-size:13.5px;line-height:1.5}
.main-content > .p-4{padding:22px 26px!important}
.top-header{min-height:64px;padding:12px 26px}
.sidebar-brand{padding:18px 18px 16px;gap:10px}
.sidebar-brand .bg-warning{width:40px;height:40px;border-radius:11px!important;font-size:17px}
.sidebar-brand h5{font-size:1rem}
.sidebar-brand small{font-size:.6rem;line-height:1.25}
.sidebar-menu{padding:16px 11px}
.menu-item{min-height:42px;padding:9px 11px;gap:10px;font-size:.82rem;margin:3px 0;border-radius:10px}
.menu-item i{width:20px;font-size:14px}
.sidebar-profile{margin:8px 11px 12px;padding:11px}
.card,.card-custom,.summary-card,.cardx,.hero{border-radius:14px!important}
.card:hover,.summary-card:hover{box-shadow:var(--shadow-sm)!important}
.summary-card.p-3{padding:16px!important}.summary-card.p-4{padding:18px!important}
.summary-card h2{font-size:1.7rem}.summary-card h6{font-size:.88rem}
.summary-card .icon-box{width:40px;height:40px;border-radius:11px;font-size:16px}
.btn{min-height:36px;border-radius:9px;font-size:.78rem;padding:.45rem .72rem}
.btn-sm{min-height:31px;font-size:.72rem;padding:.35rem .58rem}
.form-label{font-size:.72rem;margin-bottom:5px}
.form-control,.form-select{min-height:40px;padding:8px 11px;font-size:.8rem;border-radius:9px}
.table th{padding:10px 11px!important;font-size:.62rem!important}
.table td{padding:10px 11px!important;font-size:.76rem!important}
.badge{font-size:.62rem;padding:.4em .62em}
.alert{font-size:.78rem;padding:.65rem .8rem;margin-bottom:.75rem}
.page-title,.top-header h1{font-size:1.45rem!important}
.card-title,.section-title{font-size:1rem!important}
.row.g-4{--bs-gutter-y:1rem;--bs-gutter-x:1rem}
.row.g-3{--bs-gutter-y:.75rem;--bs-gutter-x:.75rem}
.mb-4{margin-bottom:1rem!important}.mt-4{margin-top:1rem!important}
.py-5{padding-top:2rem!important;padding-bottom:2rem!important}
.p-5{padding:1.5rem!important}
/* compact toolbars and action areas */
form.d-flex,.d-flex.gap-3{gap:.5rem!important}
.btn-group{gap:4px}
.btn-group>.btn{border-radius:8px!important}
/* keep primary actions visible without forcing a long page */
.sticky-actions{position:sticky;bottom:12px;z-index:20;background:rgba(255,255,255,.94);backdrop-filter:blur(10px);border:1px solid var(--line);border-radius:12px;padding:8px;box-shadow:0 8px 25px rgba(17,39,28,.10)}
/* reduce excessive vertical whitespace in common sections */
.cardx.p-4{padding:18px!important}.cardx.p-5{padding:22px!important}
.cardx .border-bottom.pb-3{padding-bottom:.65rem!important;margin-bottom:.75rem!important}
/* timeline/process */
.step{padding-bottom:13px!important}.step .small{font-size:.72rem!important}
/* mobile: preserve horizontal action access */
@media(max-width:768px){
  .sigap-tagline{font-size:.82rem;padding:6px 10px}
  .rx-tagline{font-size:.78rem;padding:5px 9px}
  :root{--sidebar:68px}
  .main-content > .p-4{padding:15px!important}
  .top-header{min-height:58px;padding:10px 14px}
  .sidebar-brand{padding:13px 8px}.sidebar-brand .bg-warning{width:40px;height:40px}
  .menu-item{width:46px;height:44px;padding:0;justify-content:center;margin:5px auto}
  .sidebar-profile{margin:6px 5px;padding:7px}
  .summary-card h2{font-size:1.45rem}
  .table th{padding:8px!important}.table td{padding:8px!important}
  .d-flex.justify-content-between{gap:8px}
}
@media(max-width:480px){
  .main-content > .p-4{padding:12px!important}
  .top-header{padding:9px 12px}
  .btn{font-size:.74rem;padding:.42rem .62rem}
  .form-control,.form-select{min-height:38px}
  .cardx.p-4,.card.p-4{padding:14px!important}
}

/* =========================================================
   TU USULAN — compact single-pass verification
   ========================================================= */
.tu-usulan-create .tu-work-card{max-width:1180px;margin-inline:auto}
.tu-usulan-create .tu-page-head h3{letter-spacing:-.35px}
.tu-usulan-create .tu-identity{border:1px solid #cce8d7;background:#edf9f2;color:#185b3c;padding:12px 14px}
.tu-usulan-create .tu-section h5{font-size:.98rem;margin-bottom:2px!important}
.tu-usulan-create .tu-section>div:first-child p{font-size:.72rem}
.tu-usulan-create .tu-section .border.rounded-3{border-color:#dce8ed!important;background:#fbfdfc!important;padding:11px!important}
.tu-usulan-create .tu-section .border.rounded-3:hover{border-color:#b9d6c4!important;background:#f6fcfc!important}
.tu-usulan-create .tu-section .doc-name{max-width:calc(100% - 75px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tu-usulan-create .replacement-item{border-color:#dce8ed!important;background:#fbfdfc!important}
.tu-usulan-create .replacement-hint{font-size:.68rem}
.tu-usulan-create .tu-submit-bar{margin-top:4px}
@media(max-width:767.98px){
  .tu-usulan-create .tu-page-head{align-items:flex-start!important;gap:10px}
  .tu-usulan-create .tu-page-head .btn{flex-shrink:0}
  .tu-usulan-create .tu-identity{align-items:flex-start!important;flex-direction:column}
  .tu-usulan-create .tu-submit-bar{align-items:stretch!important;flex-direction:column}
  .tu-usulan-create .tu-submit-bar .btn{width:100%}
}


/* =========================================================
   LOGIN REDESIGN v10 — BARANTIN OFFICIAL LOOK
   ========================================================= */
.login-body{
  background:#eaf1ed!important;
}
.login-page{
  grid-template-columns:minmax(0,1.08fr) minmax(500px,.92fr)!important;
  background:#f4f7fa!important;
  overflow:hidden;
}
.login-hero{
  min-height:100vh;
  padding:clamp(42px,6vw,86px)!important;
  background:
    radial-gradient(circle at 76% 18%,rgba(226,191,76,.16),transparent 23%),
    radial-gradient(circle at 12% 88%,rgba(40,154,102,.16),transparent 28%),
    linear-gradient(145deg,#032b1b 0%,#07502d 53%,#0a7142 100%)!important;
}
.login-hero::before{
  width:720px!important;height:720px!important;
  right:-310px!important;bottom:-355px!important;
  border:1px solid rgba(255,255,255,.14)!important;
  box-shadow:0 0 0 90px rgba(255,255,255,.025),0 0 0 180px rgba(255,255,255,.018)!important;
}
.login-hero::after{
  left:-180px!important;top:-180px!important;right:auto!important;
  width:440px!important;height:440px!important;
  background:radial-gradient(circle,rgba(224,189,76,.17),transparent 67%)!important;
}
.hero-pattern{
  opacity:.10!important;
  background-image:linear-gradient(120deg,rgba(255,255,255,.12) 1px,transparent 1px),linear-gradient(60deg,rgba(255,255,255,.08) 1px,transparent 1px)!important;
  background-size:34px 34px!important;
}
.hero-content{max-width:780px!important}
.institution-mark{
  align-items:center!important;gap:18px!important;
  margin-bottom:clamp(48px,8vh,92px)!important;
}
.institution-logo-wrap{
  width:86px;height:86px;flex:0 0 86px;
  display:flex;align-items:center;justify-content:center;
  filter:drop-shadow(0 14px 25px rgba(0,0,0,.22));
}
.institution-logo{
  width:100%;height:100%;object-fit:contain;display:block;
}
.institution-copy{padding-top:3px}
.institution-name{
  font-size:1rem!important;font-weight:800!important;
  letter-spacing:1.3px!important;color:#fff;
}
.institution-subname{
  margin-top:5px;color:rgba(255,255,255,.62);
  font-size:.69rem;font-weight:700;letter-spacing:1.8px;
}
.hero-kicker{
  border-color:rgba(236,211,119,.28)!important;
  background:rgba(236,211,119,.08)!important;
  color:#f6df8a!important;
}
.hero-copy h1{
  font-size:clamp(4.8rem,7.4vw,7.2rem)!important;
  letter-spacing:-4.5px!important;
  text-shadow:0 12px 35px rgba(0,0,0,.18);
}
.hero-copy h2{font-weight:600!important;color:#f8fbf9!important}
.hero-copy p{max-width:650px!important;color:rgba(255,255,255,.70)!important}
.hero-features{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:11px!important;margin-top:30px!important;
}
.hero-features div{
  min-height:82px!important;padding:14px 13px!important;
  border:1px solid rgba(255,255,255,.10)!important;
  background:rgba(255,255,255,.055)!important;
  border-radius:16px!important;
  backdrop-filter:blur(12px);
  box-shadow:inset 0 1px rgba(255,255,255,.04);
}
.hero-features span{
  background:rgba(230,201,91,.16)!important;color:#f2d675!important;
}
.hero-footer{color:rgba(255,255,255,.42)!important}

.login-panel{
  padding:34px clamp(28px,5vw,76px)!important;
  background:
    radial-gradient(circle at 90% 10%,rgba(213,165,42,.10),transparent 25%),
    linear-gradient(145deg,#f6f9fc 0%,#edf4f0 100%)!important;
}
.login-card{
  width:min(560px,100%)!important;
  padding:40px 42px 30px!important;
  background:rgba(255,255,255,.94)!important;
  border:1px solid rgba(210,224,216,.95)!important;
  border-radius:28px!important;
  box-shadow:0 28px 80px rgba(13,53,34,.15),0 4px 18px rgba(13,53,34,.05)!important;
  position:relative;overflow:hidden;
}
.login-card::before{
  content:"";position:absolute;left:0;right:0;top:0;height:5px;
  background:linear-gradient(90deg,#0a5b36,#d9ad32,#0a5b36);
}
.login-card::after{
  content:"";position:absolute;width:180px;height:180px;right:-105px;top:-105px;
  border-radius:50%;border:1px solid rgba(8,43,76,.07);
  box-shadow:0 0 0 24px rgba(15,103,61,.025),0 0 0 48px rgba(15,103,61,.018);
  pointer-events:none;
}
.login-brand-mobile{display:none}
.login-heading{padding:0!important;margin-bottom:27px!important}
.login-heading-top{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}
.welcome-label{
  display:inline-flex;align-items:center;gap:7px;
  font-size:.72rem!important;letter-spacing:1.35px!important;
  color:#087f8c!important;
}
.secure-badge{
  display:inline-flex;align-items:center;gap:6px;
  padding:6px 9px;border-radius:999px;
  background:#edf8f1;color:#18734a;font-size:.65rem;font-weight:800;
}
.login-heading h3{
  font-size:clamp(2rem,3vw,2.5rem)!important;
  line-height:1.15!important;letter-spacing:-1px!important;
  margin:0 0 9px!important;color:#163126!important;
}
.login-heading h3 span{color:#0b7042}
.login-heading p{font-size:.88rem!important;line-height:1.7!important;color:#6f7f77!important}
.login-alert{border-radius:13px!important}
.login-field{margin-bottom:18px!important}
.login-field>label{font-size:.79rem!important;color:#31443b!important;margin-bottom:8px!important}
.input-wrap .form-control,.input-wrap .form-select{
  min-height:54px!important;padding-left:47px!important;
  border:1px solid #d8e4dd!important;border-radius:13px!important;
  background:#f8fbf9!important;box-shadow:inset 0 1px 2px rgba(20,55,38,.025)!important;
  transition:border-color .2s,box-shadow .2s,background .2s!important;
}
.input-wrap .form-control:focus,.input-wrap .form-select:focus{
  border-color:#49a477!important;background:#fff!important;
  box-shadow:0 0 0 4px rgba(16,121,70,.10)!important;
}
.field-icon{left:16px!important;color:#829189!important;font-size:14px!important}
.password-toggle{background:#edf6f1!important;border:1px solid #d9e9df!important;color:#087f8c!important}
.btn-login{
  min-height:56px!important;margin-top:6px!important;border-radius:14px!important;
  background:linear-gradient(135deg,#082b4c 0%,#087f8c 100%)!important;
  box-shadow:0 13px 25px rgba(6,78,45,.22)!important;
  position:relative;overflow:hidden;
}
.btn-login::before{
  content:"";position:absolute;inset:0;transform:translateX(-100%);
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.12),transparent);
  transition:transform .5s ease;
}
.btn-login:hover::before{transform:translateX(100%)}
.btn-login:hover{transform:translateY(-2px);box-shadow:0 17px 30px rgba(6,78,45,.25)!important}
.login-security{margin-top:19px!important;font-size:.7rem!important}
.security-dot{
  width:19px!important;height:19px!important;display:inline-flex;align-items:center;justify-content:center;
  background:#dff4e8!important;color:#178052;font-size:9px;box-shadow:none!important;
}
.login-footer{margin-top:30px!important;padding-top:14px!important}

@media(max-width:1100px){
  .login-page{grid-template-columns:1fr!important}
  .login-hero{min-height:500px!important}
  .login-panel{padding:45px 25px!important}
  .hero-features{grid-template-columns:repeat(3,1fr)!important}
}
@media(max-width:768px){
  .sigap-tagline{font-size:.82rem;padding:6px 10px}
  .rx-tagline{font-size:.78rem;padding:5px 9px}
  .login-hero{min-height:560px!important;padding:42px 28px!important}
  .institution-logo-wrap{width:74px;height:74px;flex-basis:74px}
  .institution-name{font-size:.86rem!important}
  .institution-subname{font-size:.58rem}
  .hero-copy h1{font-size:4.3rem!important}
  .hero-copy h2{font-size:1.28rem!important}
  .hero-copy p{font-size:.9rem!important}
  .hero-features{grid-template-columns:1fr!important}
  .hero-features div{min-height:auto!important}
  .login-panel{padding:25px 18px 35px!important}
  .login-card{padding:35px 25px 26px!important;border-radius:22px!important}
}
@media(max-width:480px){
  .login-hero{display:none!important}
  .login-page{display:block!important}
  .login-panel{min-height:100vh!important;padding:26px 16px 30px!important}
  .login-card{width:100%!important;padding:34px 21px 25px!important;border-radius:22px!important}
  .login-brand-mobile{display:flex!important;align-items:center;gap:12px;margin:0 0 30px!important}
  .login-brand-mobile img{width:52px;height:52px;object-fit:contain;filter:drop-shadow(0 5px 9px rgba(0,0,0,.10))}
  .login-brand-mobile strong{display:block;font-size:.68rem;letter-spacing:.6px;color:#163126}
  .login-brand-mobile small{display:block;margin-top:3px;font-size:.55rem;letter-spacing:1px;color:#829189}
  .login-heading-top{align-items:flex-start}
  .secure-badge{font-size:.58rem;padding:5px 8px}
  .login-heading h3{font-size:1.82rem!important}
}


/* =========================
   CONSISTENT PAGE / TABLE TOOLBARS
   ========================= */
.page-heading{
  display:flex;align-items:flex-end;justify-content:space-between;gap:18px;
  margin-bottom:22px;
}
.page-heading h1,.page-heading h2,.page-heading h3{margin:0;color:var(--ink);font-weight:800;letter-spacing:-.55px}
.page-heading p{margin:5px 0 0;color:var(--muted);font-size:.78rem}
.page-heading-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap}
.table-card{padding:0!important;overflow:hidden}
.table-card-header{
  display:flex;align-items:center;justify-content:space-between;gap:14px;
  padding:17px 18px;border-bottom:1px solid var(--line);background:#fff;
}
.table-card-title{min-width:0}
.table-card-title strong{display:block;font-size:.86rem;font-weight:800;color:var(--ink)}
.table-card-title span{display:block;margin-top:2px;color:#829089;font-size:.7rem}
.table-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.table-search{display:flex;align-items:center;gap:8px;flex:1;min-width:260px;max-width:520px}
.table-search .search-input{position:relative;flex:1}
.table-search .search-input i{position:absolute;left:13px;top:50%;transform:translateY(-50%);color:#89968f;font-size:12px;z-index:2}
.table-search .search-input .form-control{padding-left:36px;background:#f8faf9;min-height:42px}
.table-search .btn{min-height:42px}
.table-meta{font-size:.7rem;color:#87928d;white-space:nowrap}
.table-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.table-card .table-responsive{border-radius:0}
.table-card .table th:first-child,.table-card .table td:first-child{padding-left:18px!important}
.table-card .table th:last-child,.table-card .table td:last-child{padding-right:18px!important}
.section-label{font-size:.68rem;font-weight:800;letter-spacing:1px;text-transform:uppercase;color:#8a968f;margin-bottom:8px}
.filter-row{display:flex;align-items:center;gap:9px;flex-wrap:wrap}
.filter-row .form-control,.filter-row .form-select{min-height:42px}
.filter-row .form-control{min-width:230px}
.filter-row .form-select{min-width:150px}

@media(max-width:760px){
  .page-heading{align-items:flex-start;flex-direction:column;margin-bottom:18px}
  .page-heading-actions{width:100%}
  .page-heading-actions .btn{flex:1}
  .table-card-header{padding:14px}
  .table-toolbar{align-items:stretch}
  .table-search{width:100%;max-width:none;min-width:0}
  .table-search .search-input{min-width:0}
  .table-meta{width:100%}
  .filter-row{width:100%}
  .filter-row .form-control,.filter-row .form-select{flex:1;min-width:0;width:100%}
}

/* =========================================================
   RESPONSIVE SIDEBAR — AUTOMATIC ICON MODE
   Sidebar mengecil otomatis saat layar/split screen sempit.
   Tidak menggunakan tombol hamburger.
   ========================================================= */
.sidebar{transition:width .22s ease}
.main-content{transition:margin-left .22s ease,width .22s ease}

@media (max-width:1100px){
  :root{--sidebar:76px}
  .sidebar{
    width:76px!important;
    min-width:76px!important;
    transform:none!important;
    box-shadow:8px 0 24px rgba(8,43,76,.10);
  }
  .main-content{
    margin-left:76px!important;
    width:calc(100% - 76px)!important;
  }
  .sidebar-brand{
    padding:16px 8px!important;
    justify-content:center!important;
  }
  .sidebar-brand>div:last-child{display:none!important}
  .sidebar-brand-logo{margin:0!important}
  .sidebar-brand-logo img{width:42px!important;height:42px!important}
  .sidebar-menu{padding:16px 9px!important}
  .sidebar-menu::before{display:none!important}
  .menu-item{
    width:48px!important;
    height:44px!important;
    padding:0!important;
    justify-content:center!important;
    margin:5px auto!important;
    gap:0!important;
  }
  .menu-item span{display:none!important}
  .menu-item i{width:auto!important;font-size:15px!important}
  .menu-item.active::before{left:-9px!important}
  .sidebar-profile{margin:8px 6px 12px!important;padding:8px!important}
  .sidebar-profile .d-flex{justify-content:center!important;margin-bottom:8px!important}
  .sidebar-profile .d-flex>div:last-child,
  .sidebar-profile form{display:none!important}
  .top-header{padding-left:28px!important}
}

@media (min-width:1101px){
  :root{--sidebar:278px}
  .sidebar{width:278px!important}
  .main-content{margin-left:278px!important;width:calc(100% - 278px)!important}
  .top-header{padding-left:32px!important}
}

@media (max-width:600px){
  .top-header{padding-right:12px!important}
  .top-header-date{font-size:.68rem!important;padding:8px 10px!important;gap:6px!important}
  .top-header-date span{display:inline!important;max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .main-content > .p-4{padding:16px 13px!important}
}


/* =========================================================
   COMPACT SIDEBAR FINAL FIX
   Logout tetap dapat diklik ketika sidebar otomatis icon-only.
   ========================================================= */
@media (max-width:1100px){
  /* Pastikan sidebar tetap ada sampai layar sangat kecil. */
  .sidebar{display:flex!important;visibility:visible!important;}

  /* Profil tetap menyediakan tombol keluar. */
  .sidebar-profile form{
    display:flex!important;
    align-items:center;
    justify-content:center;
    margin:0!important;
  }
  .sidebar-profile .sidebar-logout{
    width:42px!important;
    height:38px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    border-radius:10px!important;
    font-size:0!important;
    color:rgba(255,255,255,.88)!important;
    background:rgba(255,255,255,.06)!important;
  }
  .sidebar-profile .sidebar-logout i{
    margin:0!important;
    font-size:15px!important;
  }
  .sidebar-profile .sidebar-logout:hover{
    background:rgba(255,255,255,.13)!important;
    color:#fff!important;
  }
  .sidebar-profile .d-flex{margin-bottom:7px!important}
}

@media (max-width:480px){
  :root{--sidebar:76px!important}
  .sidebar{width:76px!important;min-width:76px!important;display:flex!important}
  .main-content{margin-left:76px!important;width:calc(100% - 76px)!important}
  .sidebar-profile{margin-left:5px!important;margin-right:5px!important;padding:7px!important}
  .sidebar-profile .sidebar-logout{width:40px!important;height:36px!important}
}


/* =========================================================
   SIGAP BRAND SYSTEM — Navy / Teal / Gold
   ========================================================= */
:root{
  --green-950:#082b4c;
  --green-900:#0b3a5b;
  --green-800:#0e5a73;
  --green-700:#0e7c82;
  --green-600:#12a3a1;
  --green-100:#e8f7f6;
  --green-50:#f4fbfb;
  --gold-600:#b98716;
  --gold-500:#d6ad35;
  --gold-100:#fff7dc;
  --ink:#14283a;
  --muted:#667787;
  --line:#e1e9ef;
  --surface:#fff;
  --page:#f4f7fa;
  --danger:#c9424d;
  --warning:#c48719;
  --shadow-sm:0 2px 9px rgba(8,43,76,.06);
  --shadow:0 10px 30px rgba(8,43,76,.08);
  --shadow-lg:0 18px 50px rgba(8,43,76,.12);
}

/* SIGAP sidebar */
.sidebar{
  background:linear-gradient(180deg,#082b4c 0%,#0b3a5b 58%,#06243f 100%);
  box-shadow:10px 0 30px rgba(8,43,76,.14);
}
.sidebar-brand{border-bottom-color:rgba(255,255,255,.11)}
.sidebar-brand-logo{
  width:56px;height:56px;flex:0 0 56px;border-radius:50%;
  background:#fff;padding:0;box-shadow:0 8px 18px rgba(0,0,0,.12);
  overflow:hidden;
}
.sidebar-brand-logo img{width:100%;height:100%;object-fit:cover;border-radius:50%;display:block}
.sidebar-brand-desc{font-size:.58rem!important;color:rgba(255,255,255,.68)!important;line-height:1.3!important}
.sidebar-brand-instansi{color:#e2bd45!important}
.menu-item.active{
  color:#082b4c;
  background:linear-gradient(90deg,#d8ad31,#f1d269);
}
.menu-item.active i{color:#082b4c}
.menu-item:hover{background:rgba(18,163,161,.18)}
.menu-item:hover i{color:#fff}
.sidebar-profile{background:rgba(18,163,161,.12)!important;border-color:rgba(255,255,255,.12)!important}
.sidebar-profile .bg-success{background:#0e7c82!important}
.sidebar-logout:hover{color:#f1d269!important}

/* Header/date */
.top-header-date{background:#f4fbfb;border-color:#dce9ec;color:#435e70}
.top-header-date i{color:#0e7c82}

/* Common action colors */
.btn-success,.btn-success:hover,.btn-success:focus{
  background:#0e7c82!important;border-color:#0e7c82!important;
}
.btn-outline-success{color:#0e7c82!important;border-color:#0e7c82!important}
.btn-outline-success:hover{background:#0e7c82!important;color:#fff!important}
a{color:#0e7c82}
a:hover{color:#0b3a5b}

/* SIGAP login */
.login-body{background:#eef4f8}
.login-page{background:#fff}
.login-hero{
  background:linear-gradient(145deg,#082b4c 0%,#0b3a5b 54%,#0e7c82 100%);
}
.login-hero::after{background:radial-gradient(circle,rgba(226,189,69,.24),transparent 65%)}
.institution-logo-wrap{background:#fff!important;border:2px solid #e7c85c!important;border-radius:50%!important;padding:0!important;overflow:hidden!important;box-shadow:0 10px 24px rgba(0,0,0,.18)!important}
.institution-logo{width:100%!important;height:100%!important;object-fit:cover!important;border-radius:50%!important;display:block}
.login-brand-mobile img{background:#fff;border:2px solid #e7c85c;border-radius:50%;padding:0;object-fit:cover}
.login-heading h3 span{color:#0e7c82!important}
.btn-login{background:linear-gradient(135deg,#0b3a5b,#0e7c82)!important}
.security-dot{background:#0e7c82!important;box-shadow:0 0 0 4px #e6f7f6!important}

/* Compact sidebar on split/smaller windows: icons remain accessible */
@media(max-width:1100px){
  :root{--sidebar:76px}
  .sidebar-brand{padding:18px 10px;justify-content:center}
  .sidebar-brand>div:last-child{display:none}
  .sidebar-brand-logo{width:48px;height:48px;flex-basis:48px;border-radius:50%}
  .sidebar-menu{padding:18px 8px}
  .sidebar-menu::before{content:'☰';font-size:18px;text-align:center;padding:0 0 12px;color:rgba(255,255,255,.72)}
  .menu-item{justify-content:center;padding:12px 8px;min-height:46px}
  .menu-item span{display:none}
  .menu-item i{margin:0;width:22px}
  .sidebar-profile{margin:8px!important;padding:10px!important}
  .sidebar-profile>div:first-child>div:nth-child(2){display:none}
  .sidebar-profile .sidebar-logout{font-size:0!important;display:flex;justify-content:center;width:100%}
  .sidebar-profile .sidebar-logout i{font-size:15px;margin:0!important}
  .main-content{margin-left:76px}
}

/* =========================================================
   SIGAP FINAL PALETTE — NAVY / TEAL / GOLD (NO GREEN)
   ========================================================= */
:root{
  --green-950:#082b4c;
  --green-900:#0b3a5b;
  --green-800:#0d5f73;
  --green-700:#087f8c;
  --green-600:#12a7a5;
  --green-100:#e5f6f7;
  --green-50:#f2fbfb;
  --gold-600:#b88716;
  --gold-500:#d9ad32;
  --gold-100:#fff7dc;
  --ink:#12283d;
  --muted:#66788a;
  --line:#dfe8ef;
  --page:#f4f7fa;
  --shadow-sm:0 2px 9px rgba(8,43,76,.06);
  --shadow:0 10px 30px rgba(8,43,76,.08);
  --shadow-lg:0 18px 50px rgba(8,43,76,.12);
}

body{background:var(--page)!important;color:var(--ink)!important}
.sidebar{background:linear-gradient(180deg,#082b4c 0%,#0b3a5b 58%,#061f36 100%)!important}
.menu-item.active{color:#082b4c!important;background:linear-gradient(90deg,#e8bf3f,#f5d66f)!important}
.menu-item.active i{color:#082b4c!important}
.menu-item:hover{background:rgba(18,167,165,.13)!important}
.menu-item:hover i{color:#fff!important}
.top-header{background:rgba(255,255,255,.97)!important;border-bottom-color:#dfe8ef!important}

.btn-success,.btn-primary{background:#087f8c!important;border-color:#087f8c!important;color:#fff!important}
.btn-success:hover,.btn-primary:hover{background:#076d78!important;border-color:#076d78!important}
.btn-outline-success{color:#087f8c!important;border-color:#78bfc4!important}
.btn-outline-success:hover{background:#087f8c!important;border-color:#087f8c!important;color:#fff!important}
.text-success{color:#087f8c!important}
.bg-success{background:#087f8c!important}
.border-success{border-color:#087f8c!important}
.badge.bg-success{background:#e3f5f6!important;color:#086d78!important}
.alert-success{background:#e8f7f8!important;border-color:#c5e7e9!important;color:#075f69!important}

.form-control:focus,.form-select:focus{border-color:#12a7a5!important;box-shadow:0 0 0 .2rem rgba(18,167,165,.12)!important}
.search-box{background:#f7fafc!important;border-color:#dfe8ef!important}

.timeline-item.active::before{background:#087f8c!important;box-shadow:0 0 0 3px #c8e9eb!important}
.option-input:checked + .option-card{border-color:#087f8c!important;background:#f2fbfb!important;box-shadow:0 0 0 3px rgba(18,167,165,.08)!important}

/* Login: navy + teal + gold, no green */
.login-page{background:#f4f7fa!important}
.login-hero{background:
  radial-gradient(circle at 18% 82%,rgba(18,167,165,.18),transparent 30%),
  radial-gradient(circle at 84% 15%,rgba(217,173,50,.16),transparent 25%),
  linear-gradient(145deg,#061f36 0%,#082b4c 55%,#0b5267 100%)!important}
.login-hero::after{background:radial-gradient(circle,rgba(18,167,165,.16),transparent 65%)!important}
.login-welcome-icon{background:linear-gradient(135deg,#e5f6f7,#fff7dc)!important;color:#0b3a5b!important}
.login-heading h3 span{color:#087f8c!important}
.password-toggle{background:#e8f7f8!important;border-color:#c9e7e9!important;color:#087f8c!important}
.btn-login{background:linear-gradient(135deg,#082b4c 0%,#087f8c 100%)!important;box-shadow:0 13px 25px rgba(8,43,76,.22)!important}
.btn-login:hover{box-shadow:0 17px 30px rgba(8,43,76,.27)!important}
.login-badge{background:#e5f6f7!important;color:#087f8c!important}
.login-accent,.login-card-accent{background:linear-gradient(90deg,#082b4c,#d9ad32,#087f8c)!important}

/* Generic green utility classes used by older pages */
[class*="bg-green"],[class*="text-green"]{color:#087f8c!important}

/* Compact/legacy inline-green replacements through selectors */
.employee-hero,.hero,.edit-hero{background:linear-gradient(135deg,#082b4c 0%,#087f8c 100%)!important}
.section-icon,.doc-icon,.summary-icon,.drop-icon{color:#087f8c!important;background:#e5f6f7!important}
.limit-badge,.bulk-tip{color:#087f8c!important;background:#e5f6f7!important;border-color:#c9e7e9!important}
.drop-zone:hover,.drop-zone.dragover{border-color:#087f8c!important;background:#f3fbfb!important}
.completion-track span{background:linear-gradient(90deg,#082b4c,#12a7a5)!important}
.completion-percent{color:#087f8c!important}

@media(max-width:900px){
  .sidebar{background:linear-gradient(180deg,#082b4c 0%,#0b3a5b 100%)!important}
}

/* SIGAP login v2: clean hero identity */
.login-hero .sigap-subtitle{margin-top:8px;font-size:14px;line-height:1.5;font-weight:500;letter-spacing:.15px;opacity:.92;max-width:520px}.login-hero .sigap-tagline{margin-top:10px}.login-hero .hero-footer{display:none}.login-heading p:empty{display:none}

/* =========================================================
   TYPOGRAPHY & LAYOUT POLISH — FINAL
   ========================================================= */
html, body { min-width: 0; }
body {
  font-size: 15px;
  line-height: 1.65;
  letter-spacing: .01em;
}

/* Prevent the main navigation from becoming a scrollable/dragged area. */
.sidebar {
  overflow: hidden !important;
  overscroll-behavior: none;
}
.sidebar-menu {
  overflow: hidden !important;
  overscroll-behavior: none;
}
.sidebar-profile {
  flex: 0 0 auto;
}

.sidebar-menu::before {
  font-size: 11px !important;
  letter-spacing: 1.5px !important;
}
.menu-item {
  min-height: 50px;
  font-size: .95rem !important;
  gap: 13px;
  padding: 12px 15px;
}
.menu-item i { font-size: 17px; }
.sidebar-brand h5 { font-size: 1.18rem; }
.sidebar-brand small.sidebar-brand-desc { font-size: .68rem; }
.sidebar-brand-instansi { font-size: .58rem !important; }

.top-header {
  min-height: 82px;
  padding: 17px 32px;
}
.top-header .text-muted,
.top-header .small { font-size: .86rem !important; }
.top-header-date { font-size: .84rem; }

.main-content > .p-4 { padding: 32px 34px !important; }

/* Page titles */
.page-heading h3,
.page-title,
h3 { letter-spacing: -.35px; }
.page-heading h3 { font-size: 1.55rem; }
.section-label { font-size: .76rem !important; letter-spacing: .12em; }

/* Cards and normal text */
.card-body { font-size: .94rem; }
.card-body h5 { font-size: 1.12rem; }
.card-body h6 { font-size: .98rem; }
.text-muted { line-height: 1.55; }

/* Forms */
.form-label { font-size: .84rem !important; }
.form-control,
.form-select {
  min-height: 46px;
  font-size: .94rem;
  line-height: 1.4;
}
.form-text { font-size: .78rem; }
.btn { font-size: .9rem; }

/* Tables: readable but still compact */
.table th {
  font-size: .73rem !important;
  padding: 14px 15px !important;
  letter-spacing: .65px !important;
}
.table td {
  font-size: .9rem !important;
  padding: 15px !important;
  line-height: 1.5;
}
.table .small,
.table small { font-size: .82rem !important; }
.badge { font-size: .72rem; }

/* Action icon buttons stay compact and aligned */
.table .btn.btn-sm,
.table td .btn-sm {
  min-width: 36px;
  min-height: 36px;
  padding: 7px 9px;
  font-size: .85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Search areas */
.search-box .form-control,
.search-box .form-select { font-size: .92rem; }

/* Dashboard KPI typography */
.summary-card h2 { font-size: 2.15rem; }
.summary-card h6 { font-size: 1.02rem; }
.summary-card .text-muted.small,
.summary-card > .text-muted.small { font-size: .78rem !important; }

/* Don't allow accidental horizontal page movement */
.main-content,
.top-header,
.main-content > .p-4 { max-width: 100%; }
.main-content { overflow-x: hidden; }

@media (max-width: 1100px) {
  .top-header { padding: 15px 24px; }
  .main-content > .p-4 { padding: 26px !important; }
}

@media (max-width: 768px) {
  body { font-size: 14px; }
  .main-content > .p-4 { padding: 20px !important; }
  .table td { font-size: .86rem !important; }
  .table th { font-size: .7rem !important; }
  .menu-item { min-height: 48px; }
}

@media (max-width: 480px) {
  body { font-size: 14px; }
  .main-content > .p-4 { padding: 16px !important; }
  .form-control, .form-select { font-size: .9rem; }
  .table td { font-size: .84rem !important; }
}


/* =========================================================
   SIGAP FINAL POLISH — typography, OSDM toolbar, sidebar
   ========================================================= */
html,body{font-size:15px;overflow-x:hidden}
body{line-height:1.55}
.main-content{min-width:0;overflow-x:hidden}
.main-content>.p-4{max-width:100%;}
.page-heading h1,.page-heading h2,.page-heading h3{font-size:1.45rem}
.page-heading p{font-size:.82rem;line-height:1.55}
.section-label{font-size:.7rem}
.table-card-header{padding:18px 20px}
.table-card .table th{font-size:.72rem!important;padding:14px 15px!important}
.table-card .table td{font-size:.88rem!important;padding:15px!important;line-height:1.45}
.table-meta{font-size:.76rem}
.form-label{font-size:.8rem}
.form-control,.form-select{font-size:.9rem;min-height:44px}
.btn{font-size:.86rem}
.badge{font-size:.72rem}

/* OSDM: search must have the same generous width as other pages. */
.main-content:not(.employee-page) .table-search{width:100%;max-width:820px;min-width:0;display:flex;align-items:center;gap:10px}
.main-content:not(.employee-page) .table-search .search-input{flex:1 1 auto;min-width:360px}
.main-content:not(.employee-page) .table-search .search-input .form-control{width:100%;min-height:44px}
.main-content:not(.employee-page) .table-search .js-search-filter{flex:0 0 190px;min-width:190px;min-height:44px}

/* Employee pages (used by both TU and OSDM): long search + unit filter. */
.employee-page .employee-table-head{padding:17px 20px}
.employee-page .table-search{grid-template-columns:minmax(0,1fr) 190px!important;max-width:900px!important;gap:10px!important}
.employee-page .search-input .form-control,.employee-page .unit-filter{height:44px!important;min-height:44px!important;font-size:.88rem!important}
.employee-page .employee-meta{font-size:.76rem}
.employee-page .employee-table td{font-size:.86rem!important}
.employee-page .employee-table .employee-name{font-size:.88rem}
.employee-page .employee-table .employee-nip,.employee-page .employee-table .employee-unit,.employee-page .employee-table .employee-job{font-size:.75rem}

/* Never allow the main sidebar itself to become a horizontal/vertical scroller. */
.sidebar{overflow:hidden!important;overflow-x:hidden!important}
.sidebar-menu{overflow:hidden!important}
.menu-item{white-space:nowrap}

/* Action icons stay compact and aligned. */
.action-group{align-items:center}
.action-btn{flex:0 0 34px}

@media(max-width:1100px){
  .main-content:not(.employee-page) .table-search{max-width:none}
  .main-content:not(.employee-page) .table-search .search-input{min-width:0}
}
@media(max-width:760px){
  .main-content:not(.employee-page) .table-search{max-width:none;flex-wrap:wrap}
  .main-content:not(.employee-page) .table-search .search-input{min-width:0;flex:1 1 100%}
  .main-content:not(.employee-page) .table-search .js-search-filter{flex:1 1 100%;min-width:0}
  .employee-page .table-search{grid-template-columns:1fr!important}
  .employee-page .unit-filter{grid-column:auto!important}
}

/* =========================================================
   SIGAP TOP ACCOUNT MENU — date + profile actions
   ========================================================= */
.top-header{flex-wrap:nowrap!important;min-width:0}
.top-header-tools{margin-left:auto;display:flex;align-items:center;gap:10px;position:relative;flex:0 0 auto;z-index:1100}
.top-user-menu{position:relative}
.top-user-trigger{height:42px;min-width:42px;padding:3px 8px 3px 3px;border:1px solid #dfe8e4;border-radius:999px;background:#fff;display:flex;align-items:center;gap:7px;cursor:pointer;color:#53645d;box-shadow:0 3px 12px rgba(8,43,76,.05)}
.top-user-trigger:hover{background:#f8fbfa;border-color:#cbdcd5}
.top-user-trigger[aria-expanded="true"]{border-color:#9bc9bd;box-shadow:0 5px 16px rgba(8,43,76,.1)}
.top-user-avatar{width:34px;height:34px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#eaf5ef,#d4e9df);color:#164e3a;font-size:.78rem;font-weight:800}
.top-user-trigger>i{font-size:.58rem}
.top-user-dropdown{position:absolute;right:0;top:calc(100% + 9px);width:245px;background:#fff;border:1px solid #dfe8e4;border-radius:14px;box-shadow:0 16px 38px rgba(8,43,76,.16);padding:8px;overflow:hidden}
.top-user-dropdown[hidden]{display:none!important}
.top-user-dropdown-head{padding:10px 11px 11px;border-bottom:1px solid #edf2ef;margin-bottom:5px}
.top-user-dropdown-head strong{display:block;color:#173d30;font-size:.8rem;line-height:1.35}
.top-user-dropdown-head span{display:block;margin-top:2px;color:#7a8a84;font-size:.66rem;line-height:1.4}
.top-user-dropdown a,.top-user-dropdown form button{width:100%;display:flex;align-items:center;gap:10px;padding:10px 11px;border:0;border-radius:9px;background:transparent;color:#425a51;text-decoration:none;font-size:.76rem;font-weight:600;text-align:left}
.top-user-dropdown a:hover,.top-user-dropdown form button:hover{background:#f1f7f4;color:#0b6954}
.top-user-dropdown i{width:17px;text-align:center;color:#5f7a70}
.top-user-dropdown form{margin:0}
.top-user-dropdown form button{cursor:pointer}
@media(max-width:700px){
  .top-header-tools{gap:6px}
  .top-header-date{margin-left:0}
  .top-user-trigger{height:38px;min-width:38px;padding:2px}
  .top-user-avatar{width:32px;height:32px}
  .top-user-trigger>i{display:none}
  .top-user-dropdown{right:0;width:225px}
}

/* TOP ACCOUNT MENU — final visibility fix */
.top-header-tools{display:flex!important;align-items:center!important;visibility:visible!important;opacity:1!important;}
.top-user-menu{display:block!important;visibility:visible!important;}
.top-user-trigger{position:relative;z-index:1200;}
@media(max-width:480px){
  .top-header-tools{gap:6px!important;}
  .top-header{padding-right:12px!important;}
  .top-header-date{display:flex!important;}
  .top-user-trigger{display:flex!important;}
}

/* SIDEBAR IDENTITY — role/user indicator */
.sidebar-identity{margin-top:auto;padding:12px 16px 18px;border-top:1px solid rgba(255,255,255,.09);display:flex;align-items:center;gap:10px;color:#fff;position:relative;z-index:2}
.sidebar-identity-avatar{width:36px;height:36px;flex:0 0 36px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:rgba(255,255,255,.10);font-size:16px}
.sidebar-identity-text{min-width:0;line-height:1.25}
.sidebar-identity-text strong{display:block;font-size:.78rem;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sidebar-identity-text span{display:block;margin-top:2px;font-size:.66rem;color:rgba(255,255,255,.62);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media(max-width:1100px){.sidebar-identity{justify-content:center;padding:10px 8px 14px}.sidebar-identity-text{display:none}.sidebar-identity-avatar{width:38px;height:38px}}
