:root{--blue:#0b4d8c;--blue2:#0a66b8;--navy:#083660;--sky:#eaf4fd;--bg:#f4f7fb;--card:#fff;--text:#18324a;--muted:#6f8294;--line:#dce6ef;--green:#159a68;--red:#c44848;--amber:#9b6a0a;--shadow:0 10px 28px rgba(27,64,96,.10);--radius:14px}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;color:var(--text)}body{background:var(--bg)}a{color:inherit;text-decoration:none}button,input,select{font:inherit}button{cursor:pointer}.btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:40px;border:1px solid transparent;border-radius:10px;padding:9px 14px;font-weight:700;white-space:nowrap}.btn-sm{min-height:34px;padding:7px 10px;font-size:13px}.btn-block{width:100%}.btn-primary{background:linear-gradient(135deg,var(--blue),var(--blue2));color:#fff;box-shadow:0 8px 18px rgba(10,102,184,.22)}.btn-success{background:var(--green);color:#fff}.btn-light{background:#fff;border-color:var(--line);color:var(--text)}.btn-danger-soft{background:#fff1f1;color:#a63b3b;border-color:#f3d1d1}.app-shell{min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:248px;background:linear-gradient(180deg,#073e72 0%,#062f56 100%);color:#fff;z-index:40;display:flex;flex-direction:column;box-shadow:8px 0 24px rgba(0,35,68,.14);overflow-y:auto}.brand{display:flex;align-items:center;gap:10px;padding:18px 16px 14px;border-bottom:1px solid rgba(255,255,255,.10)}.brand img{width:48px;height:48px;object-fit:contain;background:#fff;border-radius:10px;padding:4px}.brand strong{display:block;font-size:15px}.brand span{display:block;font-size:11px;opacity:.75;margin-top:2px}.nav{padding:12px 10px}.nav a{display:flex;align-items:center;gap:10px;min-height:40px;padding:8px 11px;border-radius:9px;font-size:13px;margin-bottom:3px;color:rgba(255,255,255,.88)}.nav a:hover,.nav a.active{background:rgba(255,255,255,.14);color:#fff}.nav a.active{box-shadow:inset 3px 0 0 #62c7ff}.nav a span{width:19px;text-align:center}.nav-caption{font-size:9px;letter-spacing:.12em;font-weight:800;opacity:.52;padding:14px 11px 7px}.sidebar-foot{margin-top:auto;padding:14px 18px;font-size:10px;opacity:.5}.main{min-height:100vh;margin-left:248px}.topbar{height:72px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 22px;position:sticky;top:0;z-index:30}.topbar-left{display:flex;align-items:center;gap:12px;min-width:0}.topbar h1{font-size:19px;margin:0}.topbar p{font-size:11px;color:var(--muted);margin:2px 0 0}.topbar-actions{display:flex;align-items:center;gap:8px}.icon-btn{border:1px solid var(--line);background:#fff;border-radius:9px;width:36px;height:36px;color:var(--text)}.hamburger{display:none}.user-chip{display:flex;align-items:center;gap:8px;padding:5px 8px}.avatar{width:34px;height:34px;border-radius:50%;background:linear-gradient(135deg,#e6f3ff,#b9defc);color:var(--blue);display:grid;place-items:center;font-weight:900}.user-info{line-height:1.15}.user-info strong{display:block;font-size:12px}.user-info span{font-size:10px;color:var(--muted)}.content{padding:20px;max-width:1600px;margin:0 auto}.hero-card{position:relative;overflow:hidden;min-height:160px;background:linear-gradient(120deg,rgba(7,74,132,.96),rgba(12,114,187,.82)),url('../images/login-bg.png') center/cover;border-radius:16px;padding:28px;color:#fff;display:flex;align-items:center;justify-content:space-between;box-shadow:var(--shadow)}.hero-card:after{content:"";position:absolute;inset:auto -50px -100px auto;width:260px;height:260px;border:45px solid rgba(255,255,255,.08);border-radius:50%}.hero-card>div{position:relative;z-index:2}.hero-card h2{font-size:clamp(22px,3vw,32px);margin:4px 0 7px}.hero-card p{margin:0;max-width:680px;font-size:13px;line-height:1.6;opacity:.9}.eyebrow{font-size:10px;letter-spacing:.18em;font-weight:800;opacity:.78}.hero-mark{font-size:68px;opacity:.20}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:16px 0 24px}.stat-card{background:#fff;border:1px solid var(--line);border-radius:13px;padding:16px;display:flex;align-items:center;gap:13px;box-shadow:0 4px 16px rgba(31,61,88,.05)}.stat-icon{width:42px;height:42px;border-radius:10px;background:var(--sky);display:grid;place-items:center;font-size:20px}.stat-card span{display:block;color:var(--muted);font-size:11px}.stat-card strong{display:block;font-size:20px;margin-top:2px}.section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin:22px 0 11px}.section-head h3{font-size:16px;margin:0}.section-head p{font-size:11px;color:var(--muted);margin:3px 0 0}.division-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(185px,1fr));gap:11px}.division-card{position:relative;background:#fff;border:1px solid var(--line);border-radius:12px;padding:14px;min-height:112px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;transition:.18s;box-shadow:0 4px 15px rgba(31,61,88,.04)}.division-card:hover{transform:translateY(-2px);border-color:#b6d4ec;box-shadow:var(--shadow)}.division-card .folder-glyph{font-size:26px;margin-bottom:6px}.division-card strong{font-size:12px;line-height:1.35}.division-card span{font-size:10px;color:var(--muted);margin-top:3px}.division-card em{position:absolute;right:12px;top:12px;font-style:normal;color:#90a5b7}.table-card{background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden}.table-scroll{overflow-x:auto}table{border-collapse:collapse;width:100%;min-width:760px}th,td{text-align:left;padding:11px 13px;border-bottom:1px solid #edf2f6;font-size:11px;vertical-align:middle}th{background:#f8fafc;color:#60788c;font-size:10px;text-transform:uppercase;letter-spacing:.04em}tbody tr:hover{background:#fbfdff}.empty-cell{text-align:center!important;color:var(--muted);padding:26px!important}.doc-link{color:var(--blue);font-weight:700}.alert{border-radius:10px;padding:11px 13px;margin-bottom:12px;font-size:12px;border:1px solid}.alert-success{background:#eefaf5;color:#176b50;border-color:#cdeede}.alert-error{background:#fff1f1;color:#9d3838;border-color:#f2cdcd}.alert-warning{background:#fff9e9;color:#7e5c0c;border-color:#f0dfac}.info-strip{background:#edf7ff;border:1px solid #cee6f8;border-radius:10px;padding:10px 12px;font-size:11px;color:#41647f;margin-bottom:14px}.archive-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.breadcrumbs{display:flex;gap:6px;align-items:center;flex-wrap:wrap;font-size:12px}.breadcrumbs a{color:var(--blue);font-weight:700}.breadcrumbs span{color:#99a9b8}.toolbar-actions{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}.folder-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:11px}.folder-card{position:relative;background:#fff;border:1px solid var(--line);border-radius:12px;display:flex;align-items:stretch;min-height:84px}.folder-main{display:flex;align-items:center;gap:12px;min-width:0;flex:1;padding:13px}.folder-icon{font-size:29px}.folder-main strong{display:block;font-size:12px;word-break:break-word}.folder-main span{display:block;font-size:10px;color:var(--muted);margin-top:3px}.card-menu{position:relative;padding:9px 8px 0 0}.dots{width:30px;height:30px;border:0;background:transparent;border-radius:8px;font-weight:900;color:#70859a}.dots:hover{background:#f2f6f9}.dropdown{display:none;position:absolute;right:7px;top:37px;background:#fff;border:1px solid var(--line);border-radius:9px;min-width:130px;box-shadow:var(--shadow);z-index:12;overflow:hidden}.dropdown.open{display:block}.dropdown button{display:block;width:100%;border:0;background:#fff;padding:9px 11px;text-align:left;font-size:11px}.dropdown button:hover{background:#f6f9fb}.dropdown button.danger{color:var(--red)}.empty-state{grid-column:1/-1;background:#fff;border:1px dashed #c9d7e3;border-radius:12px;text-align:center;padding:35px 15px;color:var(--muted)}.empty-state>div{font-size:38px}.empty-state h3{color:var(--text);margin:8px 0 4px;font-size:15px}.empty-state p{font-size:11px;margin:0}.bulkbar{display:flex;justify-content:space-between;align-items:center;background:#fff;border:1px solid var(--line);border-bottom:0;border-radius:12px 12px 0 0;padding:9px 12px;font-size:11px}.bulkbar+.table-card{border-radius:0 0 12px 12px}.file-cell{display:flex;gap:8px;align-items:flex-start}.file-cell>span>strong{display:block;font-size:11px}.file-cell small{display:block;color:var(--muted);font-size:9px;margin-top:2px}.row-actions{display:flex;gap:5px;flex-wrap:wrap}.mini-btn{border:1px solid var(--line);background:#fff;border-radius:7px;padding:5px 7px;font-size:10px;color:var(--blue)}.row-actions form{display:inline}.danger-text{color:var(--red)}.check-col{width:34px}.modal{display:none;position:fixed;inset:0;background:rgba(7,30,50,.52);z-index:80;align-items:center;justify-content:center;padding:18px}.modal.show{display:flex}.modal-card{width:min(460px,100%);max-height:88vh;overflow:auto;background:#fff;border-radius:14px;box-shadow:0 25px 80px rgba(0,25,55,.30)}.modal-lg{width:min(620px,100%)}.modal-head{display:flex;align-items:center;justify-content:space-between;padding:15px 17px;border-bottom:1px solid var(--line)}.modal-head h3{margin:0;font-size:15px}.modal-head button{border:0;background:transparent;font-size:24px;color:#73889b}.modal-body{padding:17px}.modal-body label,.stack-form label{display:block;font-size:11px;font-weight:700;margin-bottom:12px}.modal-body input,.modal-body select,.stack-form input,.search-form input{width:100%;border:1px solid #cbd9e5;border-radius:9px;padding:10px 11px;margin-top:5px;outline:0;background:#fff}.modal-body input:focus,.modal-body select:focus,.stack-form input:focus,.search-form input:focus{border-color:#65a9db;box-shadow:0 0 0 3px rgba(64,147,207,.10)}.modal-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:6px}.dropzone{border:2px dashed #b8d5e9;border-radius:12px;padding:24px;text-align:center;background:#f7fbff}.dropzone input{margin:0 0 10px;padding:0;border:0}.dropzone span{display:block;font-size:30px}.dropzone strong,.dropzone small{display:block}.dropzone small{font-weight:400;color:var(--muted);margin-top:5px}.badge{display:inline-flex;border-radius:999px;padding:4px 7px;font-size:9px;font-weight:800}.badge-success{background:#eaf8f2;color:#177451}.badge-muted{background:#eef1f4;color:#6d7d89}.badge-blue{background:#edf5ff;color:#225f94}.search-form{display:flex;gap:7px}.search-form input{margin:0;min-width:220px}.profile-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.panel{background:#fff;border:1px solid var(--line);border-radius:12px;padding:18px}.panel h3{margin:0 0 13px;font-size:15px}.detail-list{margin:0}.detail-list div{display:grid;grid-template-columns:130px 1fr;padding:9px 0;border-bottom:1px solid #edf2f5}.detail-list dt{font-size:10px;color:var(--muted)}.detail-list dd{margin:0;font-size:11px;font-weight:700}.stack-form .btn{margin-top:4px}.check-line{display:flex!important;align-items:center;gap:8px}.check-line input{width:auto!important;margin:0!important}.sidebar-overlay{display:none}
.login-page{min-height:100svh;background:url('../images/login-bg.png') center center/cover no-repeat fixed;position:relative;overflow-x:hidden}.login-page:before{content:"";position:fixed;inset:0;background:linear-gradient(90deg,rgba(2,27,51,.10) 0%,rgba(4,38,70,.02) 44%,rgba(7,47,84,.12) 100%);pointer-events:none}.login-overlay{position:fixed;inset:0;background:linear-gradient(90deg,rgba(4,35,64,.08) 0%,rgba(5,47,87,0) 53%,rgba(4,31,57,.12) 100%);pointer-events:none}.login-wrap{position:relative;z-index:2;min-height:100svh;width:min(1540px,100%);margin:0 auto;display:flex;align-items:center;justify-content:flex-end;padding:clamp(22px,4vw,64px)}.login-card{position:relative;isolation:isolate;width:min(455px,37vw);min-width:390px;background:linear-gradient(145deg,rgba(255,255,255,.965),rgba(246,251,255,.93));backdrop-filter:blur(18px) saturate(135%);-webkit-backdrop-filter:blur(18px) saturate(135%);border:1px solid rgba(255,255,255,.92);border-radius:26px;padding:26px 34px 24px;box-shadow:0 28px 70px rgba(4,36,68,.28),inset 0 1px 0 rgba(255,255,255,.95);overflow:hidden}.login-card:before{content:"";position:absolute;inset:0;z-index:-2;background:radial-gradient(circle at 92% 0%,rgba(63,172,255,.16),transparent 34%),radial-gradient(circle at 6% 100%,rgba(21,116,209,.10),transparent 30%)}.login-card:after{content:"";position:absolute;right:-82px;bottom:-110px;width:250px;height:250px;border-radius:50%;border:32px solid rgba(16,132,225,.12);z-index:-1}.login-card-accent{position:absolute;left:-52px;top:-56px;width:190px;height:150px;border-radius:0 0 105px 0;background:linear-gradient(145deg,#0b68bc 0%,#35aff7 56%,rgba(90,193,255,.32) 57%,rgba(90,193,255,0) 75%);opacity:.95;z-index:-1;transform:rotate(-5deg)}.login-logo{text-align:center;margin-top:0}.login-logo img{display:block;margin:0 auto;width:110px;height:92px;object-fit:contain;filter:drop-shadow(0 3px 7px rgba(10,70,130,.12))}.login-title{text-align:center;margin:0 0 20px}.login-kicker{font-size:10px;font-weight:900;letter-spacing:.07em;color:#0b477f}.login-rule{width:56px;height:3px;border-radius:999px;background:linear-gradient(90deg,#42baf7,#0b67bc);margin:9px auto 11px}.login-title h1{margin:0;color:#073b70;font-size:clamp(27px,2.15vw,34px);line-height:1.08;letter-spacing:-.035em}.login-title p{margin:8px 0 0;color:#55728c;font-size:14px;line-height:1.45}.login-form>label{display:block;font-size:12px;font-weight:850;margin:0 0 7px;color:#0a4077}.login-input-wrap{position:relative;margin-bottom:14px}.login-input-wrap input{width:100%;height:54px;border:1.5px solid #b8d4ea;border-radius:14px;padding:0 46px 0 51px;outline:none;background:rgba(255,255,255,.88);color:#163a59;font-size:14px;box-shadow:0 4px 14px rgba(22,80,130,.04);transition:border-color .18s,box-shadow .18s,background .18s}.login-input-wrap input::placeholder{color:#8293a3}.login-input-wrap input:focus{background:#fff;border-color:#2d98e3;box-shadow:0 0 0 4px rgba(41,151,227,.10),0 8px 18px rgba(21,96,154,.07)}.login-input-icon{position:absolute;left:17px;top:50%;transform:translateY(-50%);display:grid;place-items:center;color:#0d67b9;pointer-events:none}.password-toggle{position:absolute;right:8px;top:50%;transform:translateY(-50%);width:38px;height:38px;border:0;background:transparent;border-radius:10px;color:#173d5d;display:grid;place-items:center}.password-toggle:hover{background:#eef7ff}.login-submit{height:54px;border-radius:14px;margin-top:4px;font-size:17px;font-weight:850;background:linear-gradient(135deg,#07549b 0%,#0a70c8 52%,#1594e9 100%);box-shadow:0 13px 25px rgba(10,103,184,.27);transition:transform .18s,box-shadow .18s,filter .18s}.login-submit:hover{transform:translateY(-1px);box-shadow:0 16px 28px rgba(10,103,184,.31);filter:saturate(1.06)}.login-submit:active{transform:translateY(0)}.login-note{display:flex;align-items:center;gap:10px;text-align:center;color:#67839a;font-size:10.5px;margin:18px 0 15px;white-space:nowrap}.login-note span{height:1px;background:#c8dbe9;flex:1}.login-features{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.login-features>div{min-width:0;border:1px solid rgba(204,224,239,.80);background:rgba(255,255,255,.58);border-radius:12px;padding:9px 4px 8px;text-align:center}.login-features strong{width:28px;height:28px;border-radius:50%;margin:0 auto 5px;display:grid;place-items:center;background:#e7f5ff;color:#0973c9;font-size:14px}.login-features span{display:block;color:#315a79;font-size:9px;font-weight:800;line-height:1.15}.login-card .alert{margin:-6px 0 14px}
@media(max-width:1100px){.sidebar{width:218px}.main{margin-left:218px}.content{padding:16px}.stats-grid{grid-template-columns:repeat(2,1fr)}.topbar{padding:0 16px}}
@media(max-width:900px){.sidebar{transform:translateX(-105%);transition:.2s;width:min(280px,84vw)}.main{margin-left:0}.hamburger{display:inline-grid;place-items:center}.menu-open .sidebar{transform:translateX(0)}.menu-open .sidebar-overlay{display:block;position:fixed;inset:0;background:rgba(5,25,42,.45);z-index:35}.topbar{height:64px}.desktop-refresh{display:none}.user-info{display:none}.content{padding:14px}.hero-card{min-height:145px;padding:22px}.folder-grid{grid-template-columns:repeat(auto-fill,minmax(190px,1fr))}.profile-grid{grid-template-columns:1fr}}
@media(max-width:620px){.topbar h1{font-size:15px}.topbar p{display:none}.topbar-actions .btn{padding:7px 8px;font-size:11px}.topbar-actions .btn-light{display:none}.user-chip{padding:0}.content{padding:11px}.hero-card{min-height:132px;border-radius:13px;padding:18px}.hero-card h2{font-size:21px}.hero-card p{font-size:11px}.hero-mark{display:none}.stats-grid{grid-template-columns:1fr 1fr;gap:8px;margin:10px 0 17px}.stat-card{padding:10px;gap:8px}.stat-icon{width:34px;height:34px;font-size:16px}.stat-card strong{font-size:16px}.stat-card span{font-size:9px}.division-grid{grid-template-columns:1fr 1fr;gap:8px}.division-card{min-height:97px;padding:10px}.division-card .folder-glyph{font-size:22px}.archive-toolbar{align-items:flex-start;flex-direction:column}.toolbar-actions{width:100%;justify-content:flex-start}.toolbar-actions .btn{flex:1;min-width:110px}.folder-grid{grid-template-columns:1fr}.section-head{align-items:flex-start;flex-direction:column}.search-form{width:100%}.search-form input{min-width:0;flex:1}.login-page{padding:14px;background-attachment:scroll}.login-card{padding:20px 17px;border-radius:15px}.login-logo img{width:80px;height:72px}.modal{padding:10px}.bulkbar{align-items:flex-start;gap:8px;flex-direction:column}.detail-list div{grid-template-columns:100px 1fr}}
@media(max-width:380px){.division-grid{grid-template-columns:1fr}.stats-grid{grid-template-columns:1fr}.topbar-actions .avatar{display:none}}

@media(max-width:1100px){.login-wrap{padding:28px}.login-card{width:min(430px,42vw);min-width:370px;padding:24px 29px 22px}.login-logo img{width:100px;height:84px}.login-title h1{font-size:29px}}
@media(max-width:760px){.login-page{background-attachment:scroll;background-position:42% center}.login-page:before,.login-overlay{background:rgba(2,30,56,.18)}.login-wrap{justify-content:center;align-items:center;padding:20px 14px}.login-card{width:min(430px,100%);min-width:0;border-radius:22px;padding:22px 22px 20px}.login-card-accent{left:-65px;top:-72px}.login-logo img{width:92px;height:78px}.login-title{margin-bottom:17px}.login-title h1{font-size:27px}.login-title p{font-size:12.5px}.login-input-wrap input{height:50px}.login-submit{height:50px;font-size:15px}.login-features{gap:5px}.login-features>div{padding:7px 2px}.login-features span{font-size:8px}.login-note{font-size:9.5px;margin:15px 0 13px}}
@media(max-width:420px){.login-wrap{padding:12px 10px}.login-card{padding:18px 16px 16px;border-radius:18px}.login-logo img{width:82px;height:68px}.login-kicker{font-size:9px}.login-rule{margin:7px auto 8px}.login-title h1{font-size:24px}.login-title p{font-size:11.5px;margin-top:5px}.login-form>label{font-size:11px}.login-input-wrap{margin-bottom:11px}.login-input-wrap input{height:47px;border-radius:12px;font-size:13px}.login-submit{height:48px;border-radius:12px;font-size:14px}.login-note{white-space:normal}.login-features{grid-template-columns:repeat(2,1fr)}.login-features>div{display:flex;align-items:center;justify-content:center;gap:6px;padding:6px}.login-features strong{width:24px;height:24px;margin:0}.login-features span{font-size:8.5px}}
@media(max-height:690px) and (min-width:761px){.login-wrap{padding-top:16px;padding-bottom:16px}.login-card{padding-top:18px;padding-bottom:17px}.login-logo img{width:88px;height:70px}.login-title{margin-bottom:14px}.login-title h1{font-size:27px}.login-title p{font-size:12px}.login-input-wrap{margin-bottom:10px}.login-input-wrap input,.login-submit{height:48px}.login-note{margin:12px 0 10px}.login-features>div{padding:6px 3px}.login-features strong{width:24px;height:24px;margin-bottom:3px}}

/* =========================================================
   E-ARSIP DLU PONTIANAK — DASHBOARD V1.2
   UI sesudah login. Scoped agar halaman login v1.1 tetap utuh.
   ========================================================= */
body.dashboard-v2{
  --v2-navy:#063568;
  --v2-navy-deep:#04294f;
  --v2-blue:#0877df;
  --v2-blue-2:#0b8cf0;
  --v2-text:#0c2f5d;
  --v2-muted:#657f9b;
  --v2-bg:#f2f7fb;
  --v2-line:#dbe8f3;
  --v2-card:#fff;
  --v2-radius:14px;
  --v2-shadow:0 5px 18px rgba(23,73,114,.075);
  background:var(--v2-bg);
  color:var(--v2-text);
  overflow-x:hidden;
  font-size:14px;
}
body.dashboard-v2 *{box-sizing:border-box}
body.dashboard-v2 .app-shell-v2{min-height:100vh;width:100%;overflow-x:hidden}
body.dashboard-v2 .ui-icon{display:block;flex:none}

/* Sidebar */
body.dashboard-v2 .sidebar-v2{
  position:fixed;left:0;top:0;bottom:0;width:268px;z-index:60;
  display:flex;flex-direction:column;overflow:hidden;
  color:#fff;background:
    radial-gradient(circle at 105% 28%,rgba(18,145,237,.20),transparent 34%),
    linear-gradient(180deg,#063f78 0%,#052f5b 54%,#04294f 100%);
  box-shadow:8px 0 28px rgba(0,41,79,.15);
  transition:width .3s ease,transform .3s ease;
}
body.dashboard-v2 .sidebar-v2:before,
body.dashboard-v2 .sidebar-v2:after{content:"";position:absolute;pointer-events:none;opacity:.16;border:1px solid #78b8e8;border-radius:50%;width:210px;height:210px}
body.dashboard-v2 .sidebar-v2:before{left:-126px;top:-86px}
body.dashboard-v2 .sidebar-v2:after{right:-150px;top:275px}
body.dashboard-v2 .sidebar-brand-v2{position:relative;z-index:2;padding:16px 18px 11px;text-align:center;min-height:150px;flex:none}
body.dashboard-v2 .brand-logo-wrap{height:82px;display:grid;place-items:center;margin-bottom:4px}
body.dashboard-v2 .brand-logo-full{display:block;width:132px;height:82px;object-fit:contain;filter:drop-shadow(0 3px 5px rgba(0,0,0,.15))}
body.dashboard-v2 .brand-logo-compact{display:none;width:46px;height:46px;object-fit:contain}
body.dashboard-v2 .brand-copy strong{display:block;color:#fff;font-size:13px;line-height:1.25;letter-spacing:.01em}
body.dashboard-v2 .brand-copy span{display:block;color:#47c8ff;font-size:10.5px;font-weight:700;margin-top:3px}
body.dashboard-v2 .sidebar-close{display:none;position:absolute;right:10px;top:10px;width:34px;height:34px;border:0;border-radius:9px;background:rgba(255,255,255,.10);color:#fff;place-items:center}

body.dashboard-v2 .nav-v2{position:relative;z-index:2;padding:4px 12px 12px;overflow-y:auto;overflow-x:hidden;scrollbar-width:thin;scrollbar-color:rgba(255,255,255,.18) transparent;flex:1}
body.dashboard-v2 .nav-v2 .nav-item{width:100%;border:0;text-align:left;display:flex;align-items:center;gap:12px;min-height:42px;padding:9px 12px;border-radius:10px;color:rgba(255,255,255,.92);background:transparent;font:inherit;font-size:13px;font-weight:650;margin:2px 0;transition:background .22s ease,color .22s ease,transform .22s ease;white-space:nowrap}
body.dashboard-v2 .nav-v2 .nav-item:hover{background:rgba(255,255,255,.10);color:#fff}
body.dashboard-v2 .nav-v2 .nav-item.active{background:linear-gradient(110deg,#0876d7,#0a91f0);color:#fff;box-shadow:0 6px 16px rgba(0,94,184,.22)}
body.dashboard-v2 .nav-v2 .nav-icon{width:21px;display:grid;place-items:center;color:#fff;flex:none}
body.dashboard-v2 .nav-v2 .nav-label{overflow:hidden;text-overflow:ellipsis}
body.dashboard-v2 .nav-caption{font-size:9.5px;letter-spacing:.14em;color:#9ac1df;font-weight:850;padding:17px 12px 7px;white-space:nowrap}
body.dashboard-v2 .nav-group-toggle{position:relative;cursor:pointer}
body.dashboard-v2 .nav-chevron{margin-left:auto;transition:transform .28s ease;color:#cfeaff}
body.dashboard-v2 .nav-group.is-open .nav-chevron{transform:rotate(180deg)}
body.dashboard-v2 .nav-submenu{max-height:0;opacity:0;overflow:hidden;transition:max-height .3s ease,opacity .22s ease;padding-left:20px}
body.dashboard-v2 .nav-group.is-open .nav-submenu{max-height:230px;opacity:1;padding-top:3px;padding-bottom:3px}
body.dashboard-v2 .nav-subitem{position:relative;display:flex;align-items:center;gap:10px;min-height:34px;padding:7px 8px 7px 16px;color:#d8ebfb;font-size:11.5px;font-weight:600;border-left:1px solid rgba(151,206,245,.35);transition:color .2s,background .2s}
body.dashboard-v2 .nav-subitem:hover,body.dashboard-v2 .nav-subitem.active{color:#fff;background:rgba(24,137,223,.14)}
body.dashboard-v2 .sub-dot{width:6px;height:6px;border-radius:50%;background:#77bff3;box-shadow:0 0 0 2px rgba(119,191,243,.12);flex:none}
body.dashboard-v2 .nav-subitem.active .sub-dot{background:#ffd85f}
body.dashboard-v2 .sidebar-scene{position:relative;z-index:1;flex:none;height:174px;background-image:linear-gradient(180deg,rgba(4,45,86,.12),rgba(3,35,68,.50)),url('../images/dashboard-hero.png');background-size:auto 190px;background-position:54% 61%;background-repeat:no-repeat;display:flex;align-items:flex-end;padding:0 22px 20px;color:#fff;font-size:11px;font-weight:750;line-height:1.45}
body.dashboard-v2 .sidebar-scene:after{content:"";position:absolute;inset:auto 0 0;height:55px;background:linear-gradient(0deg,#04294f,transparent);z-index:-1}
body.dashboard-v2 .sidebar-foot-v2{position:relative;z-index:2;flex:none;padding:7px 18px 11px;text-align:center;color:rgba(255,255,255,.48);font-size:9px}

/* Main area + header */
body.dashboard-v2 .main-v2{margin-left:268px;min-height:100vh;width:calc(100% - 268px);transition:margin-left .3s ease,width .3s ease;background:var(--v2-bg)}
body.dashboard-v2 .topbar-v2{position:sticky;top:0;z-index:50;height:64px;padding:0 18px;background:rgba(255,255,255,.96);backdrop-filter:blur(12px);border-bottom:1px solid #e4edf5;display:flex;align-items:center;justify-content:space-between;gap:16px;box-shadow:0 2px 9px rgba(26,75,114,.04)}
body.dashboard-v2 .topbar-left-v2{display:flex;align-items:center;gap:10px;min-width:0;flex:1}
body.dashboard-v2 .icon-btn-v2{position:relative;width:38px;height:38px;border:1px solid #d9e7f2;border-radius:10px;background:#fff;color:#174b79;display:grid;place-items:center;flex:none;transition:.2s ease}
body.dashboard-v2 .icon-btn-v2:hover{background:#edf7ff;border-color:#bcdcf5;color:#0877df}
body.dashboard-v2 .global-search{height:38px;width:min(440px,42vw);border:1px solid #dce8f2;border-radius:10px;background:#f8fbfe;display:flex;align-items:center;gap:9px;padding:0 10px 0 12px;color:#8096aa;transition:.2s ease}
body.dashboard-v2 .global-search:focus-within{background:#fff;border-color:#83bfee;box-shadow:0 0 0 3px rgba(8,119,223,.08)}
body.dashboard-v2 .global-search input{min-width:0;flex:1;border:0;background:transparent;outline:0;color:#234663;font-size:12.5px;padding:0}
body.dashboard-v2 .global-search input::placeholder{color:#8da1b3}
body.dashboard-v2 .global-search kbd{border:1px solid #d9e6f0;background:#fff;border-radius:6px;padding:2px 5px;font:700 9px/1.2 system-ui;color:#7890a4;white-space:nowrap}
body.dashboard-v2 .mobile-page-title{display:none;font-weight:800;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.dashboard-v2 .topbar-actions-v2{display:flex;align-items:center;gap:8px;flex:none}
body.dashboard-v2 .popover-wrap{position:relative}
body.dashboard-v2 .notif-badge{position:absolute;right:-4px;top:-5px;min-width:17px;height:17px;padding:0 4px;border-radius:20px;background:#f02739;color:#fff;border:2px solid #fff;display:grid;place-items:center;font-size:9px;font-weight:900}
body.dashboard-v2 .profile-trigger{height:40px;border:1px solid #d9e7f2;border-radius:11px;background:#fff;display:flex;align-items:center;gap:8px;padding:4px 10px 4px 5px;color:#173b62;transition:.2s ease}
body.dashboard-v2 .profile-trigger:hover{border-color:#b9d8ef;background:#f9fcff}
body.dashboard-v2 .avatar-v2{width:31px;height:31px;border-radius:50%;display:grid;place-items:center;color:#fff;background:linear-gradient(135deg,#61a9ff,#147be4);box-shadow:inset 0 0 0 2px rgba(255,255,255,.65)}
body.dashboard-v2 .profile-copy{display:flex;flex-direction:column;align-items:flex-start;line-height:1.12;max-width:165px}
body.dashboard-v2 .profile-copy strong{font-size:11px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.dashboard-v2 .profile-copy small{font-size:9px;color:#7890a8;margin-top:2px;white-space:nowrap}
body.dashboard-v2 .profile-chevron{margin-left:3px;color:#6f88a0}
body.dashboard-v2 .logout-btn-v2{height:40px;display:flex;align-items:center;gap:7px;padding:0 14px;border-radius:10px;background:linear-gradient(135deg,#0877df,#0b8cf0);color:#fff;font-size:12px;font-weight:800;box-shadow:0 7px 15px rgba(8,119,223,.17)}
body.dashboard-v2 .logout-btn-v2:hover{filter:brightness(.98);transform:translateY(-1px)}
body.dashboard-v2 .header-popover{display:none;position:absolute;right:0;top:47px;width:300px;border:1px solid #dce8f2;border-radius:12px;background:#fff;box-shadow:0 16px 35px rgba(18,58,91,.17);z-index:80;overflow:hidden}
body.dashboard-v2 .header-popover.open{display:block;animation:popIn .16s ease}
@keyframes popIn{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}
body.dashboard-v2 .popover-title{padding:11px 13px;border-bottom:1px solid #e7eff6;font-size:11px;font-weight:850;color:#173c62}
body.dashboard-v2 .activity-mini{padding:9px 13px;border-bottom:1px solid #edf3f8;display:grid;gap:2px}
body.dashboard-v2 .activity-mini strong{font-size:10.5px;color:#0b68b9}.activity-mini span{font-size:10px;color:#405f79}.activity-mini small{font-size:8.5px;color:#8ca0b3}
body.dashboard-v2 .popover-link{display:block;padding:10px 13px;color:#0877df;font-size:10.5px;font-weight:800;text-align:right}
body.dashboard-v2 .popover-empty{padding:18px 14px;color:#8295a7;font-size:11px;text-align:center}
body.dashboard-v2 .profile-popover{width:200px;padding:6px}
body.dashboard-v2 .profile-popover a{display:flex;align-items:center;gap:9px;padding:9px 10px;border-radius:8px;font-size:11px;color:#2e4f6c}
body.dashboard-v2 .profile-popover a:hover{background:#f0f7fd;color:#0877df}
body.dashboard-v2 .profile-popover .danger-link{color:#b34141}

/* Content */
body.dashboard-v2 .content-v2{width:100%;max-width:none;padding:12px 16px 20px;margin:0;overflow-x:hidden}
body.dashboard-v2 .compact-alert{margin:10px 0 0;padding:9px 12px;font-size:11px;border-radius:10px}
body.dashboard-v2 .dash-hero{height:194px;position:relative;overflow:hidden;border-radius:0 0 13px 13px;margin:-12px -16px 12px;background:linear-gradient(90deg,#eef8ff 0%,#eff9ff 39%,#d7efff 100%);box-shadow:var(--v2-shadow)}
body.dashboard-v2 .dash-hero:after{content:"";position:absolute;inset:0 0 0 36%;background-image:url('../images/dashboard-hero-right.webp');background-repeat:no-repeat;background-position:right center;background-size:auto 100%;z-index:0}
body.dashboard-v2 .dash-hero-overlay{position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,rgba(245,251,255,.99) 0%,rgba(245,251,255,.96) 29%,rgba(245,251,255,.45) 49%,rgba(245,251,255,0) 72%)}
body.dashboard-v2 .dash-hero-copy{position:relative;z-index:2;padding:27px 24px 22px;max-width:560px}
body.dashboard-v2 .dash-hero-copy h1{margin:0;color:#082f61;font-size:clamp(27px,2.2vw,36px);line-height:1.03;letter-spacing:-.035em;font-weight:900}
body.dashboard-v2 .dash-hero-copy h1 span{color:#0877df}
body.dashboard-v2 .dash-hero-copy p{margin:11px 0 0;color:#4e7190;font-size:12px;line-height:1.5;font-weight:550}
body.dashboard-v2 .hero-location{position:absolute;z-index:2;left:37%;top:49px;display:flex;align-items:center;gap:5px;color:#0a4f91;font-size:9px;letter-spacing:.05em}
body.dashboard-v2 .location-pin{width:13px;height:13px;border-radius:50%;display:grid;place-items:center;color:#0b70ca;font-size:7px}

/* Stats */
body.dashboard-v2 .stats-grid-v2{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0 0 12px}
body.dashboard-v2 .stat-card-v2{height:96px;background:#fff;border:1px solid #e1ebf3;border-radius:13px;box-shadow:var(--v2-shadow);display:flex;align-items:center;gap:13px;padding:13px 15px;position:relative;overflow:hidden;min-width:0}
body.dashboard-v2 .stat-icon-v2{width:50px;height:50px;border-radius:11px;display:grid;place-items:center;flex:none}
body.dashboard-v2 .stat-blue .stat-icon-v2{background:#dfefff;color:#0877df}.stat-green .stat-icon-v2{background:#ddf8ec;color:#0caa73}.stat-purple .stat-icon-v2{background:#eee7ff;color:#6d35d5}.stat-orange .stat-icon-v2{background:#fff0df;color:#f06b13}
body.dashboard-v2 .stat-data{display:flex;flex-direction:column;min-width:0;line-height:1.08}
body.dashboard-v2 .stat-data strong{font-size:22px;color:#082b58;letter-spacing:-.02em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.dashboard-v2 .stat-data span{font-size:11px;color:#54708b;margin-top:4px}
body.dashboard-v2 .stat-data small{font-size:9.5px;margin-top:5px;color:#7f93a5;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.dashboard-v2 .stat-blue .stat-data small{color:#1478d1}.stat-green .stat-data small{color:#13a471}
body.dashboard-v2 .mini-bars{display:flex;align-items:flex-end;gap:2px;height:23px;margin-left:auto;opacity:.5}
body.dashboard-v2 .mini-bars i{display:block;width:3px;border-radius:3px;background:#7aa4ce}.mini-bars i:nth-child(1){height:8px}.mini-bars i:nth-child(2){height:16px}.mini-bars i:nth-child(3){height:12px}
body.dashboard-v2 .capacity-ring{margin-left:auto;width:46px;height:46px;border-radius:50%;display:grid;place-items:center;background:conic-gradient(#7a52df 0 28%,#edf0fa 28% 100%);position:relative;flex:none}
body.dashboard-v2 .capacity-ring:before{content:"";position:absolute;inset:6px;border-radius:50%;background:#fff}.capacity-ring span{position:relative;font-size:8px;font-weight:900;color:#6648bd}

/* White dashboard panels */
body.dashboard-v2 .dash-panel{background:#fff;border:1px solid #e1ebf3;border-radius:13px;box-shadow:var(--v2-shadow);margin:0 0 12px;padding:11px 13px;min-width:0}
body.dashboard-v2 .panel-heading-v2{min-height:43px;display:flex;align-items:center;gap:10px;padding:0 2px 8px;min-width:0}
body.dashboard-v2 .heading-icon{width:31px;height:31px;border-radius:8px;display:grid;place-items:center;flex:none}
body.dashboard-v2 .layers-icon{background:#e4f2ff;color:#0877df}.folder-title-icon{background:#fff0d5;color:#f0a20b}.file-title-icon{background:#e2f3ff;color:#0877df}
body.dashboard-v2 .panel-heading-v2 h2{margin:0;font-size:15px;line-height:1.15;color:#0c315f}
body.dashboard-v2 .panel-heading-v2 p{margin:3px 0 0;font-size:10px;color:#70889d}.panel-heading-v2 p a{color:#0877df;font-weight:700}.panel-heading-v2 p span{margin:0 5px;color:#98aaba}
body.dashboard-v2 .text-btn{margin-left:auto;display:inline-flex;align-items:center;gap:4px;min-height:32px;padding:0 10px;border-radius:8px;background:#eef7ff;color:#0877df;font-size:9.5px;font-weight:850;white-space:nowrap}
body.dashboard-v2 .text-btn:hover{background:#e1f1ff}

body.dashboard-v2 .division-grid-v2{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px}
body.dashboard-v2 .division-card-v2{min-width:0;min-height:78px;border:1px solid #dfe9f2;border-radius:10px;background:#fff;display:flex;align-items:center;gap:9px;padding:10px;position:relative;transition:.2s ease}
body.dashboard-v2 .division-card-v2:hover{border-color:#84bfee;box-shadow:0 8px 18px rgba(18,87,143,.10);transform:translateY(-1px)}
body.dashboard-v2 .folder-icon-v2{width:37px;height:37px;border-radius:8px;display:grid;place-items:center;flex:none}.folder-icon-v2.blue{color:#0b79df;background:#e4f1ff}.folder-icon-v2.green{color:#29a44d;background:#e5f7e9}.folder-icon-v2.red{color:#f23855;background:#ffe9ed}.folder-icon-v2.purple{color:#6734d7;background:#eee8ff}.folder-icon-v2.amber{color:#efa60c;background:#fff3d8}.folder-icon-v2.cyan{color:#0ba8ae;background:#dff8f8}.folder-icon-v2.orange{color:#f4711f;background:#fff0e5}
body.dashboard-v2 .division-copy{display:flex;flex-direction:column;min-width:0;line-height:1.12}.division-copy strong{font-size:10px;color:#173b62;min-height:22px;display:flex;align-items:center}.division-copy small{font-size:8.7px;color:#6e8498;margin-top:2px}.division-arrow{display:none;margin-left:auto;color:#0877df}
body.dashboard-v2 .division-card-v2:first-child{border-color:#2e91eb;box-shadow:inset 3px 0 0 #0877df}
body.dashboard-v2 .division-card-v2:first-child .division-arrow{display:block}

/* Folder panel */
body.dashboard-v2 .folder-heading-v2{padding-bottom:9px}
body.dashboard-v2 .panel-actions-v2{margin-left:auto;display:flex;align-items:center;gap:7px}
body.dashboard-v2 .btn-v2{height:34px;border:0;border-radius:8px;padding:0 11px;display:inline-flex;align-items:center;justify-content:center;gap:6px;color:#fff;font-size:10.5px;font-weight:800;white-space:nowrap}
body.dashboard-v2 .btn-blue{background:linear-gradient(135deg,#0877df,#0a8deb);box-shadow:0 5px 11px rgba(8,119,223,.18)}
body.dashboard-v2 .btn-green{background:linear-gradient(135deg,#059c76,#04b58a);box-shadow:0 5px 11px rgba(5,156,118,.16)}
body.dashboard-v2 .view-switch{width:34px;height:34px;border:1px solid #b9dbf6;border-radius:8px;display:grid;place-items:center;color:#0877df;background:#f7fbff}
body.dashboard-v2 .subfolder-grid-v2{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}
body.dashboard-v2 .subfolder-card-v2{min-width:0;min-height:65px;border:1px solid #e2ebf3;border-radius:10px;display:flex;align-items:center;padding:8px 8px 8px 10px;position:relative;transition:.2s ease}.subfolder-card-v2:hover{transform:translateY(-1px);box-shadow:0 7px 17px rgba(25,73,111,.08)}
body.dashboard-v2 .shade-amber{background:linear-gradient(90deg,#fffaf0,#fff)}.shade-blue{background:linear-gradient(90deg,#f3f9ff,#fff)}.shade-red{background:linear-gradient(90deg,#fff4f5,#fff)}.shade-green{background:linear-gradient(90deg,#f1fbf5,#fff)}
body.dashboard-v2 .subfolder-main{display:flex;align-items:center;gap:10px;min-width:0;flex:1}.subfolder-main>span:last-child{min-width:0;display:flex;flex-direction:column}.subfolder-main strong{font-size:10.5px;color:#123860;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.subfolder-main small{font-size:9px;color:#74899d;margin-top:5px;white-space:nowrap}.subfolder-main small b{display:inline-block;width:1px;height:11px;background:#cbd8e2;margin:0 7px -2px}
body.dashboard-v2 .row-menu-wrap{position:relative;flex:none}.dots-v2{width:28px;height:30px;border:0;border-radius:7px;background:transparent;color:#21557f;display:grid;place-items:center}.dots-v2:hover{background:#edf6fd}
body.dashboard-v2 .dropdown-v2{display:none;position:absolute;z-index:45;right:0;top:32px;min-width:150px;background:#fff;border:1px solid #dce7f0;border-radius:9px;padding:5px;box-shadow:0 11px 25px rgba(25,67,102,.15)}
body.dashboard-v2 .dropdown-v2.open{display:block;animation:popIn .14s ease}.dropdown-v2 a,.dropdown-v2>button,.dropdown-v2 form>button{width:100%;border:0;background:transparent;display:block;text-align:left;padding:7px 8px;border-radius:6px;color:#31536f;font:inherit;font-size:10px;white-space:nowrap}.dropdown-v2 a:hover,.dropdown-v2>button:hover,.dropdown-v2 form>button:hover{background:#eef7ff;color:#0877df}.dropdown-v2 .danger-text{color:#bd3d48!important}.dropdown-right{right:0;left:auto}

/* Recent documents */
body.dashboard-v2 .compact-heading-v2{padding-bottom:6px}.compact-heading-v2 h2{font-size:14px!important}
body.dashboard-v2 .table-card-v2{border:0;border-radius:0;box-shadow:none;background:transparent;overflow:visible}
body.dashboard-v2 .recent-table-v2{width:100%;border-collapse:separate;border-spacing:0;font-size:9.5px;min-width:890px}
body.dashboard-v2 .recent-table-v2 th{background:#f0f6fa;color:#5b7892;text-transform:uppercase;font-size:8px;letter-spacing:.03em;padding:6px 8px;border:0;text-align:left}.recent-table-v2 th:first-child{border-radius:7px 0 0 7px}.recent-table-v2 th:last-child{border-radius:0 7px 7px 0;text-align:center}
body.dashboard-v2 .recent-table-v2 td{padding:6px 8px;border-bottom:1px solid #edf2f6;color:#46637d;vertical-align:middle}.recent-table-v2 tbody tr:last-child td{border-bottom:0}.recent-table-v2 tbody tr:hover td{background:#fbfdff}
body.dashboard-v2 .recent-doc-name{display:flex;align-items:center;gap:7px;color:#123d68;font-weight:650;min-width:190px}.recent-doc-name span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.dashboard-v2 .file-badge{width:20px;height:20px;border-radius:5px;display:grid;place-items:center;flex:none;color:#fff;font-size:6.5px;font-weight:900;letter-spacing:-.02em}.file-badge.pdf{background:#ef3340}.file-badge.word{background:#1477df}.file-badge.excel{background:#14a55b}.file-badge.image{background:#7b52dc}.file-badge.zip{background:#e9901f}.file-badge.file{background:#758da2}
body.dashboard-v2 .folder-location{display:inline-flex;align-items:center;gap:5px;color:#5b7790;white-space:nowrap}.recent-table-v2 td:last-child{text-align:center}

/* Generic inner pages retain backend functionality but inherit modern proportions */
body.dashboard-v2 .content-v2>.section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;margin:4px 0 12px;padding:14px 15px;background:#fff;border:1px solid #e1ebf3;border-radius:13px;box-shadow:var(--v2-shadow)}
body.dashboard-v2 .content-v2>.section-head h3{margin:0;font-size:18px;color:#0c315f}.content-v2>.section-head p{margin:4px 0 0;font-size:11px;color:#73899c}
body.dashboard-v2 .content-v2>.table-card,body.dashboard-v2 .content-v2>.panel,body.dashboard-v2 .content-v2 .profile-grid>.panel{border:1px solid #e1ebf3;border-radius:13px;box-shadow:var(--v2-shadow)}
body.dashboard-v2 .table-scroll{max-width:100%;overflow-x:auto;overflow-y:visible;-webkit-overflow-scrolling:touch}
body.dashboard-v2 .modal{z-index:100}
body.dashboard-v2 .modal-card{border-radius:14px;box-shadow:0 22px 55px rgba(10,45,74,.24)}
body.dashboard-v2 .modal-copy{font-size:12px;color:#627b91;line-height:1.5;margin:0 0 10px}
body.dashboard-v2 .upload-progress{display:flex;align-items:center;gap:10px;margin:10px 0}.upload-progress[hidden]{display:none}.upload-progress-bar{height:8px;border-radius:99px;background:#e6eef5;overflow:hidden;flex:1}.upload-progress-bar i{display:block;width:0;height:100%;background:linear-gradient(90deg,#0877df,#06b587);border-radius:inherit;transition:width .15s}.upload-progress small{font-size:10px;font-weight:800;color:#59758f;width:34px}
body.dashboard-v2 button:disabled{opacity:.52;cursor:not-allowed}

/* Desktop collapsed sidebar */
@media(min-width:1200px){
  body.dashboard-v2.sidebar-collapsed .sidebar-v2{width:78px}
  body.dashboard-v2.sidebar-collapsed .main-v2{margin-left:78px;width:calc(100% - 78px)}
  body.dashboard-v2.sidebar-collapsed .sidebar-brand-v2{min-height:92px;padding:17px 10px 9px}
  body.dashboard-v2.sidebar-collapsed .brand-logo-wrap{height:52px;margin:0}.sidebar-collapsed .brand-logo-full{display:none!important}.sidebar-collapsed .brand-logo-compact{display:block!important}
  body.dashboard-v2.sidebar-collapsed .brand-copy,body.dashboard-v2.sidebar-collapsed .nav-label,body.dashboard-v2.sidebar-collapsed .nav-caption,body.dashboard-v2.sidebar-collapsed .nav-chevron,body.dashboard-v2.sidebar-collapsed .nav-submenu,body.dashboard-v2.sidebar-collapsed .sidebar-scene,body.dashboard-v2.sidebar-collapsed .sidebar-foot-v2{display:none!important}
  body.dashboard-v2.sidebar-collapsed .nav-v2{padding:8px 10px}.sidebar-collapsed .nav-v2 .nav-item{justify-content:center;padding:9px;width:54px;margin:3px auto}.sidebar-collapsed .nav-v2 .nav-icon{width:auto}
}

/* Laptop + tablet: sidebar becomes a drawer */
@media(max-width:1199px){
  body.dashboard-v2 .sidebar-v2{width:268px;transform:translateX(-105%)}
  body.dashboard-v2.menu-open .sidebar-v2{transform:translateX(0)}
  body.dashboard-v2 .sidebar-close{display:grid}
  body.dashboard-v2 .main-v2{margin-left:0;width:100%}
  body.dashboard-v2 .sidebar-overlay{display:block;position:fixed;inset:0;background:rgba(4,26,49,.46);z-index:55;opacity:0;visibility:hidden;transition:opacity .28s ease,visibility .28s ease}
  body.dashboard-v2.menu-open .sidebar-overlay{opacity:1;visibility:visible}
  body.dashboard-v2.menu-open{overflow:hidden}
  body.dashboard-v2 .division-grid-v2{grid-template-columns:repeat(4,minmax(0,1fr))}
  body.dashboard-v2 .subfolder-grid-v2{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.dashboard-v2 .hero-location{left:40%}
}

@media(max-width:900px){
  body.dashboard-v2 .stats-grid-v2{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.dashboard-v2 .division-grid-v2{grid-template-columns:repeat(3,minmax(0,1fr))}
  body.dashboard-v2 .dash-hero{height:178px}.dash-hero:after{inset:0 0 0 31%!important;opacity:.92}.dash-hero-copy{padding-top:24px!important}.dash-hero-copy h1{font-size:29px!important}.hero-location{display:none!important}
  body.dashboard-v2 .global-search{width:min(390px,47vw)}
  body.dashboard-v2 .profile-copy{display:none}.profile-trigger{padding-right:7px!important}.profile-chevron{display:none!important}
  body.dashboard-v2 .content-v2>.section-head{align-items:flex-start}
}

@media(max-width:700px){
  body.dashboard-v2{font-size:13px}
  body.dashboard-v2 .topbar-v2{height:58px;padding:0 10px;gap:8px}
  body.dashboard-v2 .global-search{width:42px;padding:0;justify-content:center;border-color:transparent;background:transparent}.global-search input,.global-search kbd{display:none!important}.global-search:focus-within{position:absolute;left:52px;right:116px;width:auto;background:#fff;border-color:#8bc2ec;padding:0 10px;justify-content:flex-start;z-index:5}.global-search:focus-within input{display:block!important}
  body.dashboard-v2 .mobile-page-title{display:block;max-width:33vw}
  body.dashboard-v2 .logout-btn-v2{width:38px;padding:0;justify-content:center}.logout-btn-v2 span{display:none}
  body.dashboard-v2 .profile-trigger{border:0;background:transparent;padding:3px}.profile-trigger .avatar-v2{width:34px;height:34px}
  body.dashboard-v2 .content-v2{padding:9px 9px 15px}
  body.dashboard-v2 .dash-hero{height:158px;margin:-9px -9px 9px;border-radius:0 0 11px 11px}.dash-hero:after{inset:0 0 0 28%!important;background-size:auto 100%!important}.dash-hero-overlay{background:linear-gradient(90deg,rgba(247,252,255,.99) 0%,rgba(247,252,255,.92) 48%,rgba(247,252,255,.25) 75%)!important}.dash-hero-copy{padding:22px 14px!important;max-width:76%!important}.dash-hero-copy h1{font-size:23px!important}.dash-hero-copy p{font-size:10px!important;margin-top:8px!important}.dash-hero-copy p br{display:none}
  body.dashboard-v2 .stats-grid-v2{gap:8px;margin-bottom:9px}.stat-card-v2{height:88px!important;padding:10px!important;gap:9px!important}.stat-icon-v2{width:40px!important;height:40px!important}.stat-data strong{font-size:18px!important}.stat-data span{font-size:9.5px!important}.stat-data small{font-size:8px!important}.mini-bars,.capacity-ring{display:none!important}
  body.dashboard-v2 .dash-panel{padding:9px;margin-bottom:9px;border-radius:11px}.panel-heading-v2{gap:8px;padding-bottom:8px!important}.panel-heading-v2 h2{font-size:13.5px!important}.panel-heading-v2 p{font-size:9px!important}.heading-icon{width:28px!important;height:28px!important}.text-btn{padding:0 7px!important;font-size:8.5px!important}
  body.dashboard-v2 .division-grid-v2{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.division-card-v2{min-height:67px!important;padding:8px!important}.division-copy strong{font-size:9.5px!important;min-height:19px!important}.division-copy small{font-size:8px!important}.folder-icon-v2{width:33px!important;height:33px!important}
  body.dashboard-v2 .subfolder-grid-v2{grid-template-columns:1fr;gap:7px}.subfolder-card-v2{min-height:59px!important}.subfolder-main strong{font-size:10px!important}
  body.dashboard-v2 .folder-heading-v2{align-items:flex-start;flex-wrap:wrap}.panel-actions-v2{width:100%;margin-left:38px!important;justify-content:flex-start}.btn-v2{height:32px!important;padding:0 9px!important;font-size:9.5px!important}.view-switch{display:none!important}
  body.dashboard-v2 .recent-panel-v2{padding-bottom:5px}.recent-table-v2{min-width:820px!important}
  body.dashboard-v2 .content-v2>.section-head{padding:11px;flex-direction:column}.content-v2>.section-head h3{font-size:16px!important}.content-v2>.section-head .toolbar-actions{width:100%;display:flex;flex-wrap:wrap}
}

@media(max-width:430px){
  body.dashboard-v2 .sidebar-v2{width:min(278px,86vw)}
  body.dashboard-v2 .notif-popover{position:fixed;top:56px;right:8px;left:8px;width:auto}
  body.dashboard-v2 .profile-popover{right:-42px}
  body.dashboard-v2 .mobile-page-title{display:none}
  body.dashboard-v2 .stats-grid-v2{grid-template-columns:repeat(2,minmax(0,1fr))}.stat-card-v2{height:82px!important}.stat-icon-v2{width:35px!important;height:35px!important}.stat-data strong{font-size:16px!important}.stat-data small{display:none}
  body.dashboard-v2 .dash-hero{height:145px}.dash-hero:after{opacity:.72!important;inset:0 0 0 20%!important}.dash-hero-copy{max-width:86%!important;padding-top:18px!important}.dash-hero-copy h1{font-size:20px!important}.dash-hero-copy p{font-size:9.5px!important;max-width:220px}
  body.dashboard-v2 .division-grid-v2{grid-template-columns:1fr 1fr}.division-card-v2{min-height:62px!important}.folder-icon-v2{width:30px!important;height:30px!important}.division-arrow{display:none!important}
  body.dashboard-v2 .panel-actions-v2{margin-left:0!important;display:grid;grid-template-columns:1fr 1fr;width:100%}.btn-v2{width:100%}
}

@media(max-width:360px){
  body.dashboard-v2 .stats-grid-v2{grid-template-columns:1fr}.stat-card-v2{height:76px!important}.stat-data small{display:block}
  body.dashboard-v2 .division-grid-v2{grid-template-columns:1fr}.division-card-v2{min-height:59px!important}
  body.dashboard-v2 .dash-hero-copy h1{font-size:18px!important}.dash-hero-copy p{font-size:9px!important}
}

/* v1.3 interaction refinements — only post-login UI */
body.dashboard-v2 .search-open-v2,
body.dashboard-v2 .search-close-v2{border:0;background:transparent;color:#8096aa;padding:0;display:grid;place-items:center;flex:none}
body.dashboard-v2 .search-open-v2{width:20px;height:28px}
body.dashboard-v2 .search-close-v2{display:none;width:28px;height:28px;border-radius:7px}
body.dashboard-v2 .search-close-v2:hover{background:#edf5fb;color:#0b67b6}
body.dashboard-v2 .view-switch-group{display:flex;align-items:center;gap:4px;padding:2px;border:1px solid #cfe2f3;border-radius:9px;background:#fff}
body.dashboard-v2 .view-switch{border:0;background:transparent;color:#66839d;box-shadow:none;transition:.18s ease}
body.dashboard-v2 .view-switch:hover{background:#eef7ff;color:#0877df}
body.dashboard-v2 .view-switch.active{background:#e8f4ff;color:#0877df;box-shadow:inset 0 0 0 1px #b8daf6}
body.dashboard-v2 .subfolder-grid-v2.is-list{grid-template-columns:1fr}
body.dashboard-v2 .subfolder-grid-v2.is-list .subfolder-card-v2{min-height:58px}
body.dashboard-v2 .subfolder-grid-v2.is-list .subfolder-main strong{font-size:11px}
body.dashboard-v2 .subfolder-grid-v2.is-list .subfolder-main small{margin-top:3px}
body.dashboard-v2 :is(button,a,input,select):focus-visible{outline:3px solid rgba(8,119,223,.22);outline-offset:2px}

@media(max-width:700px){
  body.dashboard-v2 .global-search{position:relative;width:42px;padding:0;justify-content:center;border-color:transparent;background:transparent;z-index:4}
  body.dashboard-v2 .global-search input,
  body.dashboard-v2 .global-search kbd{display:none!important}
  body.dashboard-v2 .global-search.mobile-search-open{position:absolute;left:52px;right:10px;width:auto;height:42px;background:#fff;border-color:#8bc2ec;padding:0 8px 0 10px;justify-content:flex-start;z-index:90;box-shadow:0 7px 22px rgba(23,73,114,.14)}
  body.dashboard-v2 .global-search.mobile-search-open input{display:block!important;font-size:12px}
  body.dashboard-v2 .global-search.mobile-search-open kbd{display:none!important}
  body.dashboard-v2 .global-search.mobile-search-open .search-close-v2{display:grid}
  body.dashboard-v2 .global-search.mobile-search-open .search-open-v2{color:#0877df}
  body.dashboard-v2 .view-switch-group{display:none}
}

/* =========================================================
   E-ARSIP DLU PONTIANAK — V1.4 KALBAR WELCOME
   Update hanya untuk UI setelah login. Login tidak disentuh.
   ========================================================= */
body.dashboard-v2{
  overflow-x:hidden;
}
body.dashboard-v2 .sidebar-v2{
  background:
    radial-gradient(circle at 100% 26%,rgba(18,145,237,.16),transparent 33%),
    linear-gradient(180deg,#063d73 0%,#052f5b 57%,#03274b 100%);
}
body.dashboard-v2 .sidebar-v2:before{
  width:185px;height:185px;left:-108px;top:-78px;opacity:.12;border-color:#7fc3f2;
}
body.dashboard-v2 .sidebar-v2:after{
  width:190px;height:190px;right:-142px;top:290px;opacity:.11;border-color:#7fc3f2;
}
body.dashboard-v2 .sidebar-scene{
  height:176px;
  background-image:linear-gradient(180deg,rgba(3,44,84,.02),rgba(3,37,71,.66)),url('../images/sidebar-kalbar.webp');
  background-size:cover;
  background-position:center;
  border-top:1px solid rgba(255,255,255,.06);
}
body.dashboard-v2 .sidebar-scene span{
  position:relative;
  z-index:2;
  padding-left:10px;
  border-left:2px solid rgba(80,193,255,.75);
  text-transform:uppercase;
  letter-spacing:.11em;
  font-size:9px;
  line-height:1.65;
  text-shadow:0 2px 8px rgba(0,0,0,.28);
}

/* Hero dashboard: sambutan dengan kapal / Pontianak / Kalbar */
body.dashboard-v2 .welcome-hero-v4,
body.dashboard-v2 .scope-welcome-v4{
  position:relative;
  isolation:isolate;
  overflow:hidden;
  border-radius:16px;
  background:#075394;
  box-shadow:0 9px 28px rgba(15,74,123,.13);
  border:1px solid rgba(111,185,235,.16);
}
body.dashboard-v2 .welcome-hero-v4{
  height:205px;
  margin:0 0 12px;
}
body.dashboard-v2 .welcome-hero-v4:before,
body.dashboard-v2 .scope-welcome-v4:before{
  content:"";
  position:absolute;
  inset:0;
  z-index:-3;
  background-image:url('../images/welcome-kalbar-ship.webp');
  background-position:right center;
  background-size:cover;
  background-repeat:no-repeat;
}
body.dashboard-v2 .welcome-hero-shade,
body.dashboard-v2 .scope-welcome-shade-v4{
  position:absolute;
  inset:0;
  z-index:-2;
  background:
    linear-gradient(90deg,rgba(4,52,103,.98) 0%,rgba(6,69,126,.95) 29%,rgba(6,80,144,.71) 46%,rgba(7,77,134,.10) 69%,rgba(5,47,88,.08) 100%),
    linear-gradient(0deg,rgba(2,45,85,.20),transparent 60%);
}
body.dashboard-v2 .welcome-hero-v4:after,
body.dashboard-v2 .scope-welcome-v4:after{
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  pointer-events:none;
  background:
    radial-gradient(circle at 8% 12%,rgba(255,255,255,.12),transparent 23%),
    linear-gradient(135deg,rgba(106,207,255,.09),transparent 42%);
}
body.dashboard-v2 .welcome-copy-v4{
  height:100%;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:flex-start;
  width:min(610px,56%);
  padding:18px 26px 20px;
  color:#fff;
}
body.dashboard-v2 .welcome-pill-v4{
  display:inline-flex;
  align-items:center;
  gap:7px;
  max-width:100%;
  padding:6px 11px;
  border:1px solid rgba(190,230,255,.70);
  border-radius:999px;
  background:rgba(17,85,145,.38);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.09);
  font-size:10px;
  color:#e6f5ff;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
body.dashboard-v2 .welcome-anchor-v4{
  width:21px;height:21px;border-radius:50%;display:grid;place-items:center;
  background:#0e9df0;font-size:12px;flex:none;
}
body.dashboard-v2 .welcome-kicker-v4{
  margin-top:11px;
  letter-spacing:.32em;
  font-size:9px;
  color:#bee7ff;
  font-weight:750;
}
body.dashboard-v2 .welcome-copy-v4 h1,
body.dashboard-v2 .scope-welcome-copy-v4 h1{
  margin:7px 0 0;
  color:#fff;
  letter-spacing:-.035em;
  line-height:.99;
  text-shadow:0 4px 20px rgba(0,35,69,.16);
}
body.dashboard-v2 .welcome-copy-v4 h1{font-size:clamp(28px,2.75vw,43px)}
body.dashboard-v2 .welcome-copy-v4 h1 span,
body.dashboard-v2 .scope-welcome-copy-v4 h1 span{color:#57c9ff;font-weight:650}
body.dashboard-v2 .welcome-accent-v4,
body.dashboard-v2 .scope-welcome-copy-v4>i{
  display:block;width:48px;height:3px;border-radius:999px;background:#28b9ff;margin:11px 0 9px;
  box-shadow:0 0 16px rgba(40,185,255,.30);
}
body.dashboard-v2 .welcome-copy-v4 p{
  margin:0;
  max-width:480px;
  color:#e6f4ff;
  font-size:11.5px;
  line-height:1.5;
}
body.dashboard-v2 .welcome-location-v4,
body.dashboard-v2 .scope-location-v4{
  margin-top:11px;
  display:flex;
  align-items:center;
  gap:9px;
  color:#fff;
  font-size:9px;
  font-weight:850;
  letter-spacing:.23em;
  text-transform:uppercase;
}
body.dashboard-v2 .welcome-location-v4 span,
body.dashboard-v2 .scope-location-v4::first-letter{color:#29baff}
body.dashboard-v2 .welcome-corner-v4{
  position:absolute;left:-22px;bottom:-56px;width:170px;height:120px;border:24px solid rgba(77,190,255,.08);border-radius:50%;transform:rotate(-12deg)
}

/* Archive root hero */
body.dashboard-v2 .scope-welcome-v4{
  height:185px;
  margin:0 0 12px;
}
body.dashboard-v2 .scope-welcome-copy-v4{
  height:100%;
  width:min(590px,54%);
  padding:22px 25px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  color:#fff;
}
body.dashboard-v2 .scope-chip-v4{
  font-size:8.5px;
  font-weight:850;
  letter-spacing:.13em;
  color:#c7ebff;
}
body.dashboard-v2 .scope-welcome-copy-v4 h1{font-size:clamp(24px,2.35vw,35px)}
body.dashboard-v2 .scope-welcome-copy-v4 p{margin:0;max-width:490px;color:#e7f5ff;font-size:10.5px;line-height:1.5}
body.dashboard-v2 .scope-location-v4{margin-top:9px}
body.dashboard-v2 .archive-stats-v4{margin-bottom:12px}

/* Inner folder breadcrumb header */
body.dashboard-v2 .scope-compact-head-v4{
  min-height:88px;
  margin:0 0 12px;
  padding:16px 18px;
  border-radius:14px;
  border:1px solid #dce8f2;
  background:linear-gradient(135deg,#fff,#f6fbff);
  box-shadow:var(--v2-shadow);
  display:flex;
  align-items:center;
  gap:13px;
  min-width:0;
}
body.dashboard-v2 .scope-compact-icon-v4{
  width:46px;height:46px;border-radius:12px;display:grid;place-items:center;flex:none;background:#e6f3ff;color:#0877df
}
body.dashboard-v2 .scope-compact-head-v4>div:last-child{min-width:0}
body.dashboard-v2 .scope-compact-head-v4>div>span{display:block;color:#0877df;font-size:9px;font-weight:850;text-transform:uppercase;letter-spacing:.09em}
body.dashboard-v2 .scope-compact-head-v4 h1{margin:2px 0 4px;font-size:22px;color:#0c315f;line-height:1.08;overflow-wrap:anywhere}
body.dashboard-v2 .breadcrumbs-v4{display:flex;align-items:center;gap:5px;flex-wrap:wrap;font-size:9.5px!important;color:#738ba0!important}
body.dashboard-v2 .breadcrumbs-v4 a{color:#0877df!important;font-weight:700}

/* Information strip */
body.dashboard-v2 .info-strip-v4{
  min-height:42px;
  margin:0 0 12px;
  padding:9px 11px;
  border:1px solid #c7e3f8;
  border-radius:11px;
  background:linear-gradient(90deg,#eef8ff,#f7fcff);
  color:#446a88;
  display:flex;
  align-items:center;
  gap:9px;
  font-size:10.5px;
}
body.dashboard-v2 .info-strip-v4>span{color:#0877df;flex:none}
body.dashboard-v2 .info-strip-v4 p{margin:0;flex:1;min-width:0}
body.dashboard-v2 .info-strip-v4 button{width:28px;height:28px;border:0;border-radius:7px;background:transparent;color:#5a7791;display:grid;place-items:center;flex:none}
body.dashboard-v2 .info-strip-v4 button:hover{background:#dfefff;color:#0877df}

/* Archive panel actions and Kalbar folder cards */
body.dashboard-v2 .archive-subdivision-panel-v4,
body.dashboard-v2 .archive-folder-panel-v4,
body.dashboard-v2 .archive-doc-panel-v4{margin-bottom:12px}
body.dashboard-v2 .btn-soft-v4{color:#174d7b!important;background:#fff!important;border:1px solid #d2e2ef!important;box-shadow:none!important}
body.dashboard-v2 .btn-soft-v4:hover{background:#f4f9fd!important;border-color:#b9d7ee!important}
body.dashboard-v2 .scope-subgrid-v4{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}
body.dashboard-v2 .scope-subcard-v4{
  position:relative;
  min-width:0;
  min-height:152px;
  border:1px solid #e0eaf2;
  border-radius:12px;
  background:linear-gradient(145deg,#fff,#fbfdff);
  box-shadow:0 3px 12px rgba(27,75,114,.045);
  transition:.2s ease;
}
body.dashboard-v2 .scope-subcard-v4:hover{transform:translateY(-2px);border-color:#b8d9f1;box-shadow:0 10px 24px rgba(25,80,126,.09)}
body.dashboard-v2 .scope-subcard-main-v4{height:100%;display:flex;flex-direction:column;align-items:flex-start;padding:13px 38px 12px 13px;color:#173c62;min-width:0}
body.dashboard-v2 .scope-subfolder-icon-v4{width:46px;height:42px;border-radius:10px;display:grid;place-items:center;background:#fff2d9;color:#efa613;margin-bottom:8px}
body.dashboard-v2 .scope-subcard-main-v4 strong{font-size:11px;color:#0c315f;line-height:1.2}
body.dashboard-v2 .scope-subcard-main-v4 p{margin:5px 0 0;color:#6c8296;font-size:9px;line-height:1.45;min-height:37px}
body.dashboard-v2 .scope-subcard-main-v4 small{display:flex;align-items:center;gap:4px;margin-top:auto;color:#71879a;font-size:8.8px;white-space:nowrap}
body.dashboard-v2 .scope-subcard-main-v4 small b{display:inline-block;width:1px;height:12px;background:#d4dfe8;margin:0 5px}
body.dashboard-v2 .scope-subcard-main-v4 em{position:absolute;right:10px;bottom:10px;width:29px;height:29px;border-radius:50%;display:grid;place-items:center;background:#eaf5ff;color:#0877df;font-style:normal}
body.dashboard-v2 .scope-menu-v4{position:absolute;right:7px;top:7px}

body.dashboard-v2 .archive-folder-heading-v4{align-items:center}
body.dashboard-v2 .archive-actions-v4{flex-wrap:wrap}
body.dashboard-v2 .archive-folder-grid-v4{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:9px}
body.dashboard-v2 .archive-folder-card-v4{
  position:relative;
  min-width:0;
  min-height:72px;
  border:1px solid #dfe9f2;
  border-radius:11px;
  background:#fff;
  transition:.18s ease;
}
body.dashboard-v2 .archive-folder-card-v4:hover{border-color:#b6d8f0;box-shadow:0 8px 18px rgba(21,78,124,.08);transform:translateY(-1px)}
body.dashboard-v2 .archive-folder-main-v4{height:100%;display:flex;align-items:center;gap:10px;padding:10px 41px 10px 11px;min-width:0}
body.dashboard-v2 .archive-folder-icon-v4{width:39px;height:39px;border-radius:9px;display:grid;place-items:center;background:#fff0d3;color:#efa40b;flex:none}
body.dashboard-v2 .archive-folder-main-v4>span:nth-child(2){min-width:0;display:flex;flex-direction:column}
body.dashboard-v2 .archive-folder-main-v4 strong{font-size:10.5px;color:#143a61;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.dashboard-v2 .archive-folder-main-v4 small{font-size:8.7px;color:#72889b;margin-top:4px;white-space:nowrap}
body.dashboard-v2 .archive-folder-main-v4 small b{display:inline-block;width:1px;height:10px;background:#d3dfe8;margin:0 6px -1px}
body.dashboard-v2 .archive-folder-main-v4 em{margin-left:auto;color:#79a5c8;font-style:normal}
body.dashboard-v2 .archive-folder-menu-v4{position:absolute;right:6px;top:6px}
body.dashboard-v2 .archive-folder-grid-v4.is-list{grid-template-columns:1fr}
body.dashboard-v2 .archive-folder-grid-v4.is-list .archive-folder-card-v4{min-height:60px}
body.dashboard-v2 .archive-folder-grid-v4.is-list .archive-folder-main-v4{padding-top:8px;padding-bottom:8px}
body.dashboard-v2 .archive-empty-v4{grid-column:1/-1;min-height:150px;margin:0}

/* Document table keeps horizontal scrolling inside its own container only */
body.dashboard-v2 .archive-table-card-v4{overflow:visible}
body.dashboard-v2 .archive-doc-table-v4{min-width:900px}
body.dashboard-v2 .archive-doc-table-v4 td,
body.dashboard-v2 .archive-doc-table-v4 th{font-size:9px}
body.dashboard-v2 .bulkbar-v4{border-radius:9px;margin-bottom:6px;border:1px solid #e0e9f1}
body.dashboard-v2 .archive-view-switch-v4{flex:none}

/* Dropdown stays inside screen on compact layouts */
body.dashboard-v2 .dropdown-v2{max-width:min(220px,80vw)}

@media(max-width:1199px){
  body.dashboard-v2 .welcome-hero-v4{height:195px}
  body.dashboard-v2 .scope-welcome-v4{height:178px}
  body.dashboard-v2 .welcome-copy-v4{width:58%;padding-left:22px}
  body.dashboard-v2 .scope-welcome-copy-v4{width:57%}
  body.dashboard-v2 .scope-subgrid-v4{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media(max-width:900px){
  body.dashboard-v2 .welcome-hero-v4{height:184px}
  body.dashboard-v2 .scope-welcome-v4{height:170px}
  body.dashboard-v2 .welcome-hero-v4:before,
  body.dashboard-v2 .scope-welcome-v4:before{background-position:63% center}
  body.dashboard-v2 .welcome-hero-shade,
  body.dashboard-v2 .scope-welcome-shade-v4{background:linear-gradient(90deg,rgba(4,52,103,.98) 0%,rgba(5,67,124,.93) 42%,rgba(6,71,126,.34) 72%,rgba(5,47,88,.08) 100%)}
  body.dashboard-v2 .welcome-copy-v4{width:65%}
  body.dashboard-v2 .scope-welcome-copy-v4{width:63%}
  body.dashboard-v2 .welcome-copy-v4 h1{font-size:31px}
  body.dashboard-v2 .scope-welcome-copy-v4 h1{font-size:27px}
  body.dashboard-v2 .archive-folder-grid-v4{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.dashboard-v2 .archive-actions-v4{width:100%;margin-left:39px!important;justify-content:flex-start}
  body.dashboard-v2 .archive-folder-heading-v4{flex-wrap:wrap;align-items:flex-start}
}

@media(max-width:700px){
  body.dashboard-v2 .welcome-hero-v4,
  body.dashboard-v2 .scope-welcome-v4{height:auto;min-height:166px;margin-bottom:9px;border-radius:12px}
  body.dashboard-v2 .welcome-hero-v4:before,
  body.dashboard-v2 .scope-welcome-v4:before{background-position:67% center;background-size:auto 100%;opacity:.82}
  body.dashboard-v2 .welcome-hero-shade,
  body.dashboard-v2 .scope-welcome-shade-v4{background:linear-gradient(90deg,rgba(4,52,103,.99) 0%,rgba(5,63,118,.96) 52%,rgba(6,73,128,.44) 80%,rgba(4,47,87,.22) 100%)}
  body.dashboard-v2 .welcome-copy-v4,
  body.dashboard-v2 .scope-welcome-copy-v4{width:78%;min-height:166px;padding:16px 13px 15px}
  body.dashboard-v2 .welcome-pill-v4{font-size:8.5px;padding:5px 8px;max-width:95%}
  body.dashboard-v2 .welcome-anchor-v4{width:18px;height:18px;font-size:10px}
  body.dashboard-v2 .welcome-kicker-v4{font-size:7.5px;letter-spacing:.24em;margin-top:8px}
  body.dashboard-v2 .welcome-copy-v4 h1{font-size:24px;margin-top:5px}
  body.dashboard-v2 .scope-welcome-copy-v4 h1{font-size:22px;margin-top:4px}
  body.dashboard-v2 .welcome-accent-v4,body.dashboard-v2 .scope-welcome-copy-v4>i{width:38px;margin:8px 0 7px}
  body.dashboard-v2 .welcome-copy-v4 p,body.dashboard-v2 .scope-welcome-copy-v4 p{font-size:9px;line-height:1.45;max-width:310px}
  body.dashboard-v2 .welcome-location-v4,body.dashboard-v2 .scope-location-v4{font-size:7.2px;letter-spacing:.15em;margin-top:8px;gap:6px}
  body.dashboard-v2 .scope-chip-v4{font-size:7.2px;letter-spacing:.09em}
  body.dashboard-v2 .scope-subgrid-v4{grid-template-columns:1fr;gap:7px}
  body.dashboard-v2 .scope-subcard-v4{min-height:122px}
  body.dashboard-v2 .scope-subcard-main-v4 p{min-height:0}
  body.dashboard-v2 .archive-folder-grid-v4{grid-template-columns:1fr;gap:7px}
  body.dashboard-v2 .archive-actions-v4{margin-left:0!important;display:grid;grid-template-columns:1fr 1fr;width:100%}
  body.dashboard-v2 .archive-actions-v4 .btn-v2{width:100%}
  body.dashboard-v2 .archive-view-switch-v4{display:none!important}
  body.dashboard-v2 .scope-compact-head-v4{min-height:74px;padding:12px;margin-bottom:9px}
  body.dashboard-v2 .scope-compact-head-v4 h1{font-size:18px}
  body.dashboard-v2 .info-strip-v4{font-size:9px;margin-bottom:9px;align-items:flex-start}
  body.dashboard-v2 .archive-doc-table-v4{min-width:820px}
}

@media(max-width:430px){
  body.dashboard-v2 .welcome-copy-v4,
  body.dashboard-v2 .scope-welcome-copy-v4{width:86%;min-height:158px}
  body.dashboard-v2 .welcome-hero-v4:before,
  body.dashboard-v2 .scope-welcome-v4:before{background-position:62% center;opacity:.72}
  body.dashboard-v2 .welcome-copy-v4 h1{font-size:21px}
  body.dashboard-v2 .scope-welcome-copy-v4 h1{font-size:20px}
  body.dashboard-v2 .welcome-pill-v4{max-width:100%;font-size:7.8px}
  body.dashboard-v2 .welcome-copy-v4 p{max-width:270px}
  body.dashboard-v2 .archive-actions-v4{grid-template-columns:1fr 1fr}
  body.dashboard-v2 .archive-actions-v4 .btn-green{grid-column:1/-1}
  body.dashboard-v2 .scope-subcard-main-v4{padding-right:35px}
}

@media(max-width:360px){
  body.dashboard-v2 .welcome-copy-v4,
  body.dashboard-v2 .scope-welcome-copy-v4{width:92%}
  body.dashboard-v2 .welcome-copy-v4 h1{font-size:19px}
  body.dashboard-v2 .scope-welcome-copy-v4 h1{font-size:18px}
  body.dashboard-v2 .welcome-location-v4,body.dashboard-v2 .scope-location-v4{font-size:6.6px}
  body.dashboard-v2 .archive-actions-v4{grid-template-columns:1fr}
  body.dashboard-v2 .archive-actions-v4 .btn-green{grid-column:auto}
}

/* Fix konflik CSS template lama: span pada nav tidak boleh dipaksa 19px. */
body.dashboard-v2 .nav-v2 .nav-label{
  width:auto!important;
  flex:1 1 auto;
  min-width:0;
  text-align:left!important;
}
body.dashboard-v2 .nav-v2 .nav-subitem>span:last-child{
  width:auto!important;
  flex:1 1 auto;
  min-width:0;
  text-align:left!important;
  white-space:normal;
}
body.dashboard-v2 .nav-v2 .nav-icon{
  width:21px!important;
}
body.dashboard-v2 .nav-v2 .sub-dot{
  width:6px!important;
}

/* =========================================================
   V1.5 — REFERENCE MATCH / KALBAR WELCOME
   Mendekatkan tampilan aplikasi ke mockup terakhir yang disetujui.
   Hanya UI setelah login; login/database tidak disentuh.
   ========================================================= */
body.dashboard-v2{overflow-x:hidden;background:#f4f8fc}
body.dashboard-v2 .sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}

/* Sidebar brand seperti referensi: logo putih + E-Arsip DLU */
body.dashboard-v2 .sidebar-brand-v2{
  display:grid;grid-template-columns:64px minmax(0,1fr);align-items:center;gap:12px;
  min-height:116px;padding:17px 15px;text-align:left;border-bottom:1px solid rgba(255,255,255,.10)
}
body.dashboard-v2 .brand-logo-wrap{
  width:64px;height:64px;margin:0;border-radius:14px;background:#fff;padding:6px;
  display:grid;place-items:center;box-shadow:0 8px 18px rgba(0,30,61,.20)
}
body.dashboard-v2 .brand-logo-full{display:block;width:52px;height:52px;object-fit:contain;filter:none}
body.dashboard-v2 .brand-logo-compact{width:42px;height:42px;object-fit:contain}
body.dashboard-v2 .brand-copy{min-width:0}
body.dashboard-v2 .brand-copy strong{display:block;font-size:16px;line-height:1.15;color:#fff;letter-spacing:-.01em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.dashboard-v2 .brand-copy span{display:block;margin-top:5px;color:#e8f5ff;font-size:11.5px;font-weight:650}
body.dashboard-v2 .brand-copy small{display:block;margin-top:3px;color:#9cc8e8;font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.dashboard-v2 .sidebar-foot-v2{padding:8px 14px 12px;color:#9fc6e4;font-size:7.8px;letter-spacing:.11em;font-weight:750;text-transform:uppercase}

/* Header lebih dekat dengan mockup terakhir */
body.dashboard-v2 .topbar-v2{height:64px;background:#fff;border-bottom:1px solid #e4edf5;box-shadow:0 2px 9px rgba(27,71,107,.04)}
body.dashboard-v2 .utility-grid-v5{text-decoration:none}
body.dashboard-v2 .logout-btn-v2{
  background:#fff7f7;color:#df3333;border:1px solid #f2bcbc;box-shadow:none;
  transition:background .18s ease,border-color .18s ease,transform .18s ease
}
body.dashboard-v2 .logout-btn-v2:hover{background:#fff0f0;border-color:#e99494;color:#ce2525;filter:none}

/* Banner: gunakan gambar sambutan yang user setujui secara langsung, tanpa crop sisi kiri */
body.dashboard-v2 .welcome-hero-v5{
  position:relative;width:100%;height:222px;margin:0 0 12px;overflow:hidden;
  border-radius:15px;border:1px solid #d7e8f5;background:#075394;
  box-shadow:0 8px 24px rgba(19,74,119,.11)
}
body.dashboard-v2 .welcome-hero-v5 img{
  display:block;width:100%;height:100%;object-fit:cover;object-position:center 50%;
}
body.dashboard-v2 .archive-welcome-v5{height:220px}

/* Panel dan kartu dibuat lebih putih/compact seperti mockup */
body.dashboard-v2 .dash-panel{border-color:#e0ebf4;box-shadow:0 4px 14px rgba(22,72,111,.055)}
body.dashboard-v2 .archive-stats-v4{gap:12px}
body.dashboard-v2 .archive-stats-v4 .stat-card-v2{height:100px}
body.dashboard-v2 .scope-subgrid-v4{gap:12px}
body.dashboard-v2 .scope-subcard-v4{border-color:#dfe9f3;box-shadow:0 4px 12px rgba(25,69,105,.045)}
body.dashboard-v2 .scope-subfolder-icon-v4{background:#fff0da;color:#efa31a}
body.dashboard-v2 .scope-subcard-main-v4 em{background:#e9f5ff;color:#0877df}
body.dashboard-v2 .info-strip-v4{background:#f3f9ff;border-color:#bcdcf5;color:#40698c}
body.dashboard-v2 .btn-soft-v4{background:#fff;color:#184c77;border:1px solid #d1e2ef}

/* Hint bawah sub divisi seperti desain acuan */
body.dashboard-v2 .archive-start-hint-v5{
  position:relative;overflow:hidden;min-height:76px;margin:0 0 12px;padding:13px 18px;
  border:1px solid #dce8f2;border-radius:12px;background:linear-gradient(90deg,#fbfdff,#f3f9ff);
  display:flex;align-items:center;gap:16px;box-shadow:0 4px 14px rgba(26,73,109,.04)
}
body.dashboard-v2 .archive-start-hint-v5:after{
  content:"";position:absolute;right:-14px;bottom:-33px;width:210px;height:95px;
  border:2px solid rgba(42,132,202,.09);border-radius:50%;transform:rotate(-8deg)
}
body.dashboard-v2 .archive-start-icon-v5{position:relative;width:68px;height:48px;flex:none;color:#0b77d9}
body.dashboard-v2 .archive-start-icon-v5 svg:first-child{position:absolute;left:2px;top:0;color:#b9d7ef;transform:rotate(-9deg)}
body.dashboard-v2 .archive-start-icon-v5 svg:last-child{position:absolute;right:2px;bottom:1px;color:#0b77d9;width:36px;height:36px}
body.dashboard-v2 .archive-start-hint-v5>div:nth-child(2){display:flex;flex-direction:column;min-width:0;z-index:1}
body.dashboard-v2 .archive-start-hint-v5 strong{font-size:13px;color:#0c315f}
body.dashboard-v2 .archive-start-hint-v5 span{font-size:10.5px;color:#627e96;margin-top:3px}
body.dashboard-v2 .archive-start-city-v5{margin-left:auto;text-align:right;color:#9bb9d2;font-size:10px;font-weight:850;letter-spacing:.08em;z-index:1}
body.dashboard-v2 .archive-start-city-v5 small{font-size:7px;letter-spacing:.09em}

/* Folder tambahan tidak boleh terasa lebih dominan dari sub divisi */
body.dashboard-v2 .archive-folder-panel-v4{padding-top:10px}
body.dashboard-v2 .archive-folder-card-v4{min-height:66px}
body.dashboard-v2 .archive-doc-panel-v4{margin-bottom:0}

/* Desktop collapsed brand tetap rapi */
@media(min-width:1200px){
  body.dashboard-v2.sidebar-collapsed .sidebar-brand-v2{display:grid;grid-template-columns:1fr;min-height:92px;padding:17px 10px 9px}
  body.dashboard-v2.sidebar-collapsed .brand-logo-wrap{width:52px;height:52px;margin:0 auto;padding:5px}
  body.dashboard-v2.sidebar-collapsed .brand-logo-full{display:none}
  body.dashboard-v2.sidebar-collapsed .brand-logo-compact{display:block}
}

@media(max-width:1199px){
  body.dashboard-v2 .sidebar-brand-v2{padding-right:48px}
}

@media(max-width:900px){
  body.dashboard-v2 .welcome-hero-v5{height:190px}
  body.dashboard-v2 .archive-welcome-v5{height:188px}
}

@media(max-width:700px){
  body.dashboard-v2 .welcome-hero-v5{height:148px;margin-bottom:9px;border-radius:11px}
  body.dashboard-v2 .archive-welcome-v5{height:148px}
  body.dashboard-v2 .welcome-hero-v5 img{object-position:center center}
  body.dashboard-v2 .archive-start-hint-v5{min-height:68px;padding:11px 12px;gap:10px}
  body.dashboard-v2 .archive-start-icon-v5{width:54px;height:42px}
  body.dashboard-v2 .archive-start-hint-v5 strong{font-size:11.5px}
  body.dashboard-v2 .archive-start-hint-v5 span{font-size:9px}
  body.dashboard-v2 .archive-start-city-v5{display:none}
}

@media(max-width:430px){
  body.dashboard-v2 .welcome-hero-v5{height:138px}
  body.dashboard-v2 .archive-welcome-v5{height:138px}
  body.dashboard-v2 .archive-stats-v4 .stat-card-v2{height:82px}
}

/* ===== v5.1 perbaikan kartu welcome + menu hamburger ===== */
body.dashboard-v2 .hamburger-v2{
  min-width:46px;height:42px;padding:0 12px;border-radius:12px;border:1px solid #d7e5f2;
  background:#fff;display:inline-flex;align-items:center;justify-content:center;gap:8px;
  color:#0a4679;box-shadow:0 4px 12px rgba(21,71,110,.06);transition:all .18s ease
}
body.dashboard-v2 .hamburger-v2:hover{background:#f4f9ff;border-color:#b8d9f1;color:#0877df;transform:translateY(-1px)}
body.dashboard-v2 .hamburger-v2:active{transform:translateY(0)}
body.dashboard-v2 .hamburger-label-v6{font-size:12px;font-weight:800;letter-spacing:.01em;line-height:1;color:#184b77}
body.dashboard-v2.menu-open .hamburger-v2,
body.dashboard-v2.sidebar-collapsed .hamburger-v2{background:#eef7ff;border-color:#b8d9f1;color:#0877df}

body.dashboard-v2 .welcome-hero-v6{
  position:relative;width:100%;min-height:222px;margin:0 0 12px;border-radius:16px;overflow:hidden;
  border:1px solid #d7e8f5;background:#0b5698;box-shadow:0 8px 24px rgba(19,74,119,.11)
}
body.dashboard-v2 .welcome-media-v6,
body.dashboard-v2 .welcome-media-v6 img{position:absolute;inset:0;width:100%;height:100%}
body.dashboard-v2 .welcome-media-v6 img{display:block;object-fit:cover;object-position:center center;transform:scale(1.01)}
body.dashboard-v2 .welcome-shade-v6{
  position:absolute;inset:0;z-index:1;
  background:
    radial-gradient(circle at 15% 18%, rgba(96,195,255,.18), transparent 32%),
    linear-gradient(90deg, rgba(4,52,103,.96) 0%, rgba(5,66,123,.92) 34%, rgba(5,74,131,.58) 58%, rgba(5,67,118,.16) 78%, rgba(5,52,100,.04) 100%)
}
body.dashboard-v2 .welcome-content-v6{
  position:relative;z-index:2;display:flex;flex-direction:column;align-items:flex-start;
  width:min(52%,640px);min-height:222px;padding:18px 24px 18px 24px;color:#fff
}
body.dashboard-v2 .welcome-pill-v6{
  display:inline-flex;align-items:center;gap:8px;max-width:100%;padding:8px 15px;border-radius:999px;
  background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.45);backdrop-filter:blur(2px);
  color:#fff;font-size:10px;font-weight:700;letter-spacing:.02em
}
body.dashboard-v2 .welcome-pill-dot-v6{
  width:18px;height:18px;flex:none;border-radius:50%;background:rgba(255,255,255,.16);position:relative;border:1px solid rgba(255,255,255,.55)
}
body.dashboard-v2 .welcome-pill-dot-v6:before,
body.dashboard-v2 .welcome-pill-dot-v6:after{
  content:"";position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);background:#fff;border-radius:999px
}
body.dashboard-v2 .welcome-pill-dot-v6:before{width:8px;height:1.6px}
body.dashboard-v2 .welcome-pill-dot-v6:after{width:1.6px;height:8px}
body.dashboard-v2 .welcome-kicker-v6{margin-top:18px;color:#dff3ff;font-size:9.6px;font-weight:700;letter-spacing:.48em}
body.dashboard-v2 .welcome-content-v6 h1{margin:10px 0 0;font-size:clamp(30px,2.9vw,48px);line-height:1.02;letter-spacing:-.04em;font-weight:900;color:#fff}
body.dashboard-v2 .welcome-content-v6 h1 span{color:#57c9ff;font-weight:700}
body.dashboard-v2 .welcome-line-v6{display:block;width:50px;height:4px;border-radius:999px;background:#51c7ff;margin:14px 0 12px}
body.dashboard-v2 .welcome-content-v6 p{margin:0;max-width:455px;color:#edf8ff;font-size:12px;line-height:1.55;font-weight:500}
body.dashboard-v2 .welcome-meta-v6{display:flex;align-items:center;gap:10px;margin-top:18px;color:#daf0ff;font-size:10.5px;font-weight:800;letter-spacing:.24em}
body.dashboard-v2 .welcome-meta-v6 span{opacity:.9}
body.dashboard-v2 .welcome-sign-v6{margin-top:18px;color:#fff;font-size:22px;font-style:italic;font-family:cursive;line-height:1.05}
body.dashboard-v2 .welcome-sign-v6 small{display:block;margin-top:8px;font-size:10px;font-style:normal;font-family:inherit;font-weight:700;letter-spacing:.18em;color:#dff3ff;text-transform:uppercase}
body.dashboard-v2 .welcome-scope-badge-v6{margin-top:14px;padding:7px 12px;border-radius:999px;background:rgba(255,255,255,.11);border:1px solid rgba(255,255,255,.38);color:#fff;font-size:10px;font-weight:800;letter-spacing:.05em}
body.dashboard-v2 .archive-welcome-v6{min-height:204px}
body.dashboard-v2 .archive-welcome-v6 .welcome-content-v6{min-height:204px}

@media(max-width:1199px){
  body.dashboard-v2 .welcome-content-v6{width:min(62%,620px)}
}
@media(max-width:900px){
  body.dashboard-v2 .welcome-hero-v6{min-height:194px}
  body.dashboard-v2 .welcome-content-v6{width:min(70%,540px);min-height:194px;padding:16px 18px}
  body.dashboard-v2 .welcome-content-v6 h1{font-size:clamp(25px,4vw,38px)}
  body.dashboard-v2 .welcome-content-v6 p{font-size:10.5px;max-width:360px}
  body.dashboard-v2 .welcome-kicker-v6{margin-top:13px;font-size:8.7px}
  body.dashboard-v2 .welcome-sign-v6{font-size:18px}
}
@media(max-width:700px){
  body.dashboard-v2 .hamburger-v2{width:42px;min-width:42px;height:40px;padding:0;border-radius:11px}
  body.dashboard-v2 .hamburger-label-v6{display:none}
  body.dashboard-v2 .welcome-hero-v6,
  body.dashboard-v2 .archive-welcome-v6{min-height:168px;border-radius:12px;margin-bottom:9px}
  body.dashboard-v2 .welcome-shade-v6{background:linear-gradient(90deg, rgba(4,52,103,.98) 0%, rgba(5,66,123,.95) 56%, rgba(5,74,131,.44) 82%, rgba(5,67,118,.12) 100%)}
  body.dashboard-v2 .welcome-content-v6{width:84%;min-height:168px;padding:14px 13px 14px}
  body.dashboard-v2 .welcome-pill-v6{padding:6px 10px;font-size:8px}
  body.dashboard-v2 .welcome-pill-dot-v6{width:15px;height:15px}
  body.dashboard-v2 .welcome-kicker-v6{margin-top:10px;font-size:7.5px;letter-spacing:.3em}
  body.dashboard-v2 .welcome-content-v6 h1{font-size:23px;margin-top:6px}
  body.dashboard-v2 .welcome-line-v6{width:36px;height:3px;margin:9px 0 8px}
  body.dashboard-v2 .welcome-content-v6 p{font-size:9px;max-width:270px;line-height:1.4}
  body.dashboard-v2 .welcome-meta-v6{margin-top:10px;font-size:7px;gap:6px;letter-spacing:.16em}
  body.dashboard-v2 .welcome-sign-v6{margin-top:11px;font-size:15px}
  body.dashboard-v2 .welcome-sign-v6 small{margin-top:5px;font-size:7px;letter-spacing:.11em}
  body.dashboard-v2 .welcome-scope-badge-v6{margin-top:10px;padding:5px 9px;font-size:8px}
}
@media(max-width:430px){
  body.dashboard-v2 .welcome-hero-v6,
  body.dashboard-v2 .archive-welcome-v6{min-height:152px}
  body.dashboard-v2 .welcome-content-v6{width:91%;min-height:152px;padding:12px 11px}
  body.dashboard-v2 .welcome-content-v6 h1{font-size:19px}
  body.dashboard-v2 .welcome-content-v6 p{font-size:8.5px;max-width:215px}
  body.dashboard-v2 .welcome-sign-v6{display:none}
  body.dashboard-v2 .welcome-meta-v6{font-size:6.5px}
}

/* =========================================================
   V5.2 — PRECISION / FUNCTIONAL PASS
   Perbaikan presisi welcome card, sidebar, header dan hamburger.
   ========================================================= */
body.dashboard-v2 .sidebar-v2{width:232px}
body.dashboard-v2 .main-v2{margin-left:232px;width:calc(100% - 232px)}
body.dashboard-v2 .sidebar-brand-v2{
  grid-template-columns:54px minmax(0,1fr);gap:10px;min-height:96px;padding:12px 12px;
}
body.dashboard-v2 .brand-logo-wrap{width:54px;height:54px;border-radius:12px;padding:5px}
body.dashboard-v2 .brand-logo-full{width:44px;height:44px}
body.dashboard-v2 .brand-copy strong{font-size:14px}
body.dashboard-v2 .brand-copy span{font-size:10.5px;margin-top:3px}
body.dashboard-v2 .brand-copy small{font-size:7.8px;margin-top:2px}
body.dashboard-v2 .nav-v2{padding:6px 9px 8px}
body.dashboard-v2 .nav-v2 .nav-item{min-height:36px;padding:7px 10px;font-size:11.5px;border-radius:9px;gap:10px;margin:1px 0}
body.dashboard-v2 .nav-caption{padding:12px 10px 5px;font-size:8.5px}
body.dashboard-v2 .nav-group.is-open .nav-submenu{max-height:185px;padding-top:2px;padding-bottom:2px}
body.dashboard-v2 .nav-subitem{min-height:29px;padding:5px 7px 5px 14px;font-size:10.3px}
body.dashboard-v2 .sidebar-scene{height:108px;padding:0 16px 13px;background-position:center 58%}
body.dashboard-v2 .sidebar-scene span{font-size:7.8px;line-height:1.5}
body.dashboard-v2 .sidebar-foot-v2{padding:5px 10px 7px;font-size:6.8px}

body.dashboard-v2 .topbar-v2{height:58px;padding:0 14px;gap:10px}
body.dashboard-v2 .hamburger-v2{
  width:40px;min-width:40px;height:40px;padding:0;border-radius:10px;display:grid;place-items:center;
  border:1px solid #d6e5f1;background:#fff;color:#0b4f86;box-shadow:0 3px 9px rgba(20,70,108,.05)
}
body.dashboard-v2 .hamburger-v2:hover{background:#edf7ff;border-color:#a9d1ef;color:#0877df}
body.dashboard-v2 .global-search{height:40px;width:min(410px,40vw);border-radius:10px}
body.dashboard-v2 .icon-btn-v2{width:38px;height:38px}
body.dashboard-v2 .profile-trigger{height:40px}
body.dashboard-v2 .logout-btn-v2{height:40px}
body.dashboard-v2 .content-v2{padding:10px 12px 18px}

/* Welcome card: background bersih tanpa teks bawaan, sehingga tidak ada tulisan ganda. */
body.dashboard-v2 .welcome-hero-v6,
body.dashboard-v2 .archive-welcome-v6{
  min-height:226px;height:226px;margin:0 0 10px;border-radius:14px;border:1px solid #d4e5f2;
  box-shadow:0 6px 20px rgba(18,70,108,.09)
}
body.dashboard-v2 .welcome-media-v6 img{object-fit:cover;object-position:center center;transform:none}
body.dashboard-v2 .welcome-shade-v6{
  background:linear-gradient(90deg,rgba(4,58,109,.17) 0%,rgba(4,58,109,.10) 42%,rgba(4,58,109,.02) 70%,transparent 100%)
}
body.dashboard-v2 .welcome-content-v6{
  width:min(48%,590px);min-height:226px;padding:17px 22px 15px;
}
body.dashboard-v2 .welcome-pill-v6{padding:6px 11px;font-size:8.6px;background:rgba(255,255,255,.10)}
body.dashboard-v2 .welcome-pill-dot-v6{width:16px;height:16px}
body.dashboard-v2 .welcome-kicker-v6{margin-top:12px;font-size:8px;letter-spacing:.38em}
body.dashboard-v2 .welcome-content-v6 h1{margin-top:7px;font-size:clamp(27px,2.3vw,38px);line-height:1.03}
body.dashboard-v2 .welcome-line-v6{width:38px;height:3px;margin:9px 0 9px}
body.dashboard-v2 .welcome-content-v6 p{max-width:420px;font-size:10.5px;line-height:1.45}
body.dashboard-v2 .welcome-meta-v6{margin-top:11px;font-size:8px;letter-spacing:.19em;gap:7px}
body.dashboard-v2 .welcome-sign-v6{margin-top:9px;font-size:17px}
body.dashboard-v2 .welcome-sign-v6 small{margin-top:5px;font-size:7px;letter-spacing:.12em}
body.dashboard-v2 .welcome-scope-badge-v6{margin-top:8px;padding:5px 9px;font-size:8px}

body.dashboard-v2 .stats-grid-v2{gap:9px;margin-bottom:10px}
body.dashboard-v2 .archive-stats-v4 .stat-card-v2,
body.dashboard-v2 .stat-card-v2{height:84px;padding:10px 12px;border-radius:11px}
body.dashboard-v2 .stat-icon-v2{width:42px;height:42px;border-radius:9px}
body.dashboard-v2 .stat-data strong{font-size:18px}
body.dashboard-v2 .stat-data span{font-size:9.7px;margin-top:3px}
body.dashboard-v2 .stat-data small{font-size:7.9px;margin-top:3px}
body.dashboard-v2 .dash-panel{margin-bottom:10px;border-radius:12px;padding:9px 11px}
body.dashboard-v2 .panel-heading-v2{min-height:38px;padding-bottom:6px}
body.dashboard-v2 .panel-heading-v2 h2{font-size:13.5px}
body.dashboard-v2 .panel-heading-v2 p{font-size:9px}
body.dashboard-v2 .heading-icon{width:29px;height:29px}
body.dashboard-v2 .btn-v2{height:32px;padding:0 10px;font-size:9.5px}
body.dashboard-v2 .view-switch-group{height:32px}
body.dashboard-v2 .view-switch{width:30px;height:28px}
body.dashboard-v2 .info-strip-v4{margin-bottom:10px;min-height:38px;padding:7px 10px}
body.dashboard-v2 .archive-folder-card-v4{min-height:62px}
body.dashboard-v2 .archive-empty-v4{min-height:145px;padding:22px 10px}
body.dashboard-v2 .archive-doc-panel-v4{margin-bottom:0}

/* Main content should never create normal-page horizontal scrolling. */
body.dashboard-v2 .main-v2,
body.dashboard-v2 .content-v2,
body.dashboard-v2 .dash-panel,
body.dashboard-v2 .panel-heading-v2,
body.dashboard-v2 .archive-folder-grid-v4{min-width:0;max-width:100%}
body.dashboard-v2 .table-scroll{max-width:100%;overflow-x:auto}

@media(min-width:1200px){
  body.dashboard-v2.sidebar-collapsed .sidebar-v2{width:72px}
  body.dashboard-v2.sidebar-collapsed .main-v2{margin-left:72px;width:calc(100% - 72px)}
  body.dashboard-v2.sidebar-collapsed .sidebar-brand-v2{min-height:82px;padding:14px 8px}
  body.dashboard-v2.sidebar-collapsed .brand-logo-wrap{width:46px;height:46px}
  body.dashboard-v2.sidebar-collapsed .nav-v2{padding:6px 8px}
  body.dashboard-v2.sidebar-collapsed .nav-v2 .nav-item{width:50px;min-height:38px;padding:8px;margin:2px auto}
}

@media(max-width:1199px){
  body.dashboard-v2 .sidebar-v2{width:248px}
  body.dashboard-v2 .main-v2{margin-left:0;width:100%}
  body.dashboard-v2 .sidebar-scene{height:118px}
  body.dashboard-v2 .welcome-content-v6{width:min(55%,560px)}
}

@media(max-width:900px){
  body.dashboard-v2 .welcome-hero-v6,
  body.dashboard-v2 .archive-welcome-v6{height:194px;min-height:194px}
  body.dashboard-v2 .welcome-content-v6{width:62%;min-height:194px;padding:14px 16px}
  body.dashboard-v2 .welcome-content-v6 h1{font-size:27px}
  body.dashboard-v2 .welcome-content-v6 p{font-size:9.5px;max-width:330px}
  body.dashboard-v2 .welcome-sign-v6{font-size:14px}
  body.dashboard-v2 .stats-grid-v2{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media(max-width:700px){
  body.dashboard-v2 .topbar-v2{height:56px;padding:0 8px}
  body.dashboard-v2 .hamburger-v2{width:38px;min-width:38px;height:38px}
  body.dashboard-v2 .content-v2{padding:8px 8px 14px}
  body.dashboard-v2 .welcome-hero-v6,
  body.dashboard-v2 .archive-welcome-v6{height:158px;min-height:158px;border-radius:11px}
  body.dashboard-v2 .welcome-content-v6{width:77%;min-height:158px;padding:11px 11px}
  body.dashboard-v2 .welcome-pill-v6{padding:4px 7px;font-size:6.9px}
  body.dashboard-v2 .welcome-pill-dot-v6{width:13px;height:13px}
  body.dashboard-v2 .welcome-kicker-v6{margin-top:7px;font-size:6.5px;letter-spacing:.26em}
  body.dashboard-v2 .welcome-content-v6 h1{font-size:19px;margin-top:5px}
  body.dashboard-v2 .welcome-line-v6{width:30px;margin:6px 0 6px}
  body.dashboard-v2 .welcome-content-v6 p{font-size:7.8px;max-width:235px;line-height:1.35}
  body.dashboard-v2 .welcome-meta-v6{margin-top:7px;font-size:5.9px;letter-spacing:.11em}
  body.dashboard-v2 .welcome-sign-v6{display:none}
  body.dashboard-v2 .welcome-scope-badge-v6{margin-top:6px;font-size:6.5px;padding:4px 7px}
  body.dashboard-v2 .archive-stats-v4 .stat-card-v2,
  body.dashboard-v2 .stat-card-v2{height:76px;padding:8px}
  body.dashboard-v2 .stat-icon-v2{width:35px;height:35px}
  body.dashboard-v2 .stat-data strong{font-size:16px}
  body.dashboard-v2 .stat-data span{font-size:8.5px}
  body.dashboard-v2 .stat-data small{font-size:7px}
  body.dashboard-v2 .archive-actions-v4,
  body.dashboard-v2 .panel-actions-v2{gap:5px}
}

@media(max-width:430px){
  body.dashboard-v2 .welcome-hero-v6,
  body.dashboard-v2 .archive-welcome-v6{height:148px;min-height:148px}
  body.dashboard-v2 .welcome-media-v6 img{object-position:58% center}
  body.dashboard-v2 .welcome-content-v6{width:86%;min-height:148px;padding:10px}
  body.dashboard-v2 .welcome-content-v6 h1{font-size:17px}
  body.dashboard-v2 .welcome-content-v6 p{font-size:7.4px;max-width:195px}
  body.dashboard-v2 .welcome-meta-v6{font-size:5.4px}
  body.dashboard-v2 .stats-grid-v2{gap:6px}
}

/* =========================================================
   V5.3 — FIX SESUAI TANDA USER
   1) Header/sidebar brand lebih presisi.
   2) Banner welcome tidak terpotong.
   3) Gambar bawah sidebar menyatu dengan sidebar.
   ========================================================= */
body.dashboard-v2 .sidebar-v2{width:228px}
body.dashboard-v2 .main-v2{margin-left:228px;width:calc(100% - 228px)}

/* Top brand lebih kompak dan rapi */
body.dashboard-v2 .sidebar-brand-v2{
  grid-template-columns:50px minmax(0,1fr);gap:10px;min-height:86px;padding:10px 12px 9px;
  align-items:center;border-bottom:1px solid rgba(255,255,255,.09)
}
body.dashboard-v2 .brand-logo-wrap{
  width:50px;height:50px;padding:5px;border-radius:12px;background:#fff;
  box-shadow:0 6px 16px rgba(0,30,61,.18)
}
body.dashboard-v2 .brand-logo-full{width:40px;height:40px}
body.dashboard-v2 .brand-copy strong{font-size:13.6px;line-height:1.12}
body.dashboard-v2 .brand-copy span{font-size:10px;margin-top:2px}
body.dashboard-v2 .brand-copy small{font-size:7.7px;margin-top:2px}

/* Menu sedikit dirapikan agar ruang bawah cukup */
body.dashboard-v2 .nav-v2{padding:6px 8px 10px}
body.dashboard-v2 .nav-v2 .nav-item{min-height:35px;padding:7px 10px;font-size:11.3px;gap:9px}
body.dashboard-v2 .nav-caption{padding:10px 10px 5px;font-size:8.2px}
body.dashboard-v2 .nav-subitem{min-height:28px;font-size:10px;padding:4px 7px 4px 13px}

/* Bagian bawah sidebar harus menyatu, bukan terlihat sebagai kotak terpisah */
body.dashboard-v2 .sidebar-scene{
  margin-top:auto;height:118px;padding:0 14px 14px;
  background-image:
    linear-gradient(180deg,rgba(3,41,79,.00) 0%,rgba(3,41,79,.26) 28%,rgba(3,41,79,.82) 100%),
    url('../images/sidebar-kalbar.webp');
  background-size:cover;background-position:center bottom;border-top:0;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.05)
}
body.dashboard-v2 .sidebar-scene:after{display:none}
body.dashboard-v2 .sidebar-scene span{
  padding-left:8px;border-left:2px solid rgba(80,193,255,.72);
  font-size:7.6px;letter-spacing:.10em;line-height:1.48
}
body.dashboard-v2 .sidebar-foot-v2{
  margin-top:-2px;padding:3px 12px 10px;background:linear-gradient(180deg,rgba(3,41,79,.00),rgba(3,41,79,.98) 22%);
  color:#a8cee8;font-size:6.5px;letter-spacing:.10em
}

/* Hero card harus lebih tinggi dan objek kapal tidak terpotong */
body.dashboard-v2 .welcome-hero-v6,
body.dashboard-v2 .archive-welcome-v6{
  min-height:246px;height:246px;border-radius:15px;margin-bottom:12px
}
body.dashboard-v2 .welcome-media-v6 img{
  object-fit:cover;object-position:58% 42%;transform:none
}
body.dashboard-v2 .welcome-shade-v6{
  background:
    linear-gradient(90deg,rgba(4,58,109,.88) 0%,rgba(4,58,109,.76) 28%,rgba(4,58,109,.52) 46%,rgba(4,58,109,.18) 66%,rgba(4,58,109,.04) 82%,transparent 100%),
    radial-gradient(circle at 22% 26%, rgba(92,194,255,.12), transparent 28%)
}
body.dashboard-v2 .welcome-content-v6{
  width:min(52%,650px);min-height:246px;padding:18px 22px 18px 22px;justify-content:center
}
body.dashboard-v2 .welcome-pill-v6{padding:7px 12px;font-size:8.8px}
body.dashboard-v2 .welcome-kicker-v6{margin-top:11px;font-size:8px;letter-spacing:.34em}
body.dashboard-v2 .welcome-content-v6 h1{margin-top:8px;font-size:clamp(30px,2.5vw,40px);line-height:1.04}
body.dashboard-v2 .welcome-line-v6{width:42px;height:3px;margin:10px 0}
body.dashboard-v2 .welcome-content-v6 p{max-width:445px;font-size:10.8px;line-height:1.48}
body.dashboard-v2 .welcome-meta-v6{margin-top:12px;font-size:8.1px;letter-spacing:.17em}
body.dashboard-v2 .welcome-scope-badge-v6{margin-top:9px;font-size:8px}

/* Tombol aksi lebih konsisten */
body.dashboard-v2 .archive-actions-v4 .btn-v2,
body.dashboard-v2 .panel-actions-v2 .btn-v2{min-width:0}

@media(min-width:1200px){
  body.dashboard-v2.sidebar-collapsed .sidebar-v2{width:72px}
  body.dashboard-v2.sidebar-collapsed .main-v2{margin-left:72px;width:calc(100% - 72px)}
  body.dashboard-v2.sidebar-collapsed .sidebar-brand-v2{min-height:78px;padding:12px 8px}
}

@media(max-width:1199px){
  body.dashboard-v2 .sidebar-v2{width:244px}
  body.dashboard-v2 .main-v2{margin-left:0;width:100%}
  body.dashboard-v2 .sidebar-brand-v2{min-height:88px}
  body.dashboard-v2 .sidebar-scene{height:124px}
  body.dashboard-v2 .welcome-hero-v6,
  body.dashboard-v2 .archive-welcome-v6{height:232px;min-height:232px}
  body.dashboard-v2 .welcome-content-v6{width:min(56%,610px);min-height:232px}
}

@media(max-width:900px){
  body.dashboard-v2 .welcome-hero-v6,
  body.dashboard-v2 .archive-welcome-v6{height:208px;min-height:208px}
  body.dashboard-v2 .welcome-media-v6 img{object-position:61% 44%}
  body.dashboard-v2 .welcome-content-v6{width:64%;min-height:208px;padding:14px 16px}
  body.dashboard-v2 .welcome-content-v6 h1{font-size:27px}
  body.dashboard-v2 .welcome-content-v6 p{font-size:9.7px;max-width:335px}
}

@media(max-width:700px){
  body.dashboard-v2 .topbar-v2{height:56px}
  body.dashboard-v2 .welcome-hero-v6,
  body.dashboard-v2 .archive-welcome-v6{height:172px;min-height:172px}
  body.dashboard-v2 .welcome-media-v6 img{object-position:64% 46%}
  body.dashboard-v2 .welcome-content-v6{width:81%;min-height:172px;padding:12px 11px}
  body.dashboard-v2 .welcome-content-v6 h1{font-size:20px}
  body.dashboard-v2 .welcome-content-v6 p{font-size:8px;max-width:238px}
}

@media(max-width:430px){
  body.dashboard-v2 .welcome-hero-v6,
  body.dashboard-v2 .archive-welcome-v6{height:156px;min-height:156px}
  body.dashboard-v2 .welcome-media-v6 img{object-position:67% 46%}
  body.dashboard-v2 .welcome-content-v6{width:88%;min-height:156px;padding:10px}
  body.dashboard-v2 .welcome-content-v6 h1{font-size:17px}
  body.dashboard-v2 .welcome-content-v6 p{font-size:7.4px;max-width:192px}
}

/* =========================================================
   V5.4 — FIX PRESISI SESUAI TANDA USER
   - Logo/brand kiri atas tidak terpotong.
   - Welcome banner tidak terpotong.
   - Nuansa Kalbar bawah sidebar dibuat transparan & menyatu.
   ========================================================= */

/* Sidebar tetap compact, tetapi area brand diberi ruang aman. */
body.dashboard-v2 .sidebar-v2{width:228px;overflow:hidden}
body.dashboard-v2 .main-v2{margin-left:228px;width:calc(100% - 228px)}
body.dashboard-v2 .sidebar-brand-v2{
  display:grid;grid-template-columns:58px minmax(0,1fr);align-items:center;gap:10px;
  min-height:98px;padding:12px 12px 11px;text-align:left;overflow:visible;
  border-bottom:1px solid rgba(255,255,255,.09)
}
body.dashboard-v2 .brand-logo-wrap{
  width:58px;height:58px;margin:0;padding:4px;display:grid;place-items:center;
  border-radius:13px;background:rgba(255,255,255,.97);overflow:visible;
  box-shadow:0 7px 18px rgba(0,27,55,.20)
}
body.dashboard-v2 .brand-logo-full{display:block;width:50px;height:50px;max-width:100%;max-height:100%;object-fit:contain;object-position:center;filter:none}
body.dashboard-v2 .brand-logo-compact{width:44px;height:44px;object-fit:contain;object-position:center}
body.dashboard-v2 .brand-copy strong{font-size:13.8px;line-height:1.12;overflow:visible;text-overflow:clip}
body.dashboard-v2 .brand-copy span{font-size:10px;margin-top:3px;color:#eaf6ff}
body.dashboard-v2 .brand-copy small{font-size:7.6px;margin-top:2px;color:#a8cce6}

/* Sedikit rapat agar seluruh menu tetap muat tanpa menekan elemen bawah. */
body.dashboard-v2 .nav-v2{padding:5px 8px 6px}
body.dashboard-v2 .nav-v2 .nav-item{min-height:34px;padding:6px 9px;font-size:11.1px;gap:9px;margin:1px 0}
body.dashboard-v2 .nav-caption{padding:9px 9px 4px;font-size:8px}
body.dashboard-v2 .nav-group.is-open .nav-submenu{max-height:170px;padding-top:1px;padding-bottom:1px}
body.dashboard-v2 .nav-subitem{min-height:27px;padding:4px 7px 4px 13px;font-size:9.8px}

/* Gambar Kalbar dibuat TRANSPARAN dan menyatu dengan navy sidebar, tidak tampak sebagai kotak. */
body.dashboard-v2 .sidebar-scene{
  position:relative;margin-top:auto;height:150px;min-height:150px;padding:0 14px 16px;
  display:flex;align-items:flex-end;background:none!important;border:0!important;box-shadow:none!important;
  overflow:hidden;isolation:isolate
}
body.dashboard-v2 .sidebar-scene:before{
  content:"";position:absolute;z-index:-2;left:-14px;right:-14px;top:-36px;bottom:-10px;
  background:url('../images/sidebar-kalbar-transparent-v54.webp') center bottom / cover no-repeat;
  opacity:.92;pointer-events:none;
  -webkit-mask-image:linear-gradient(to bottom,transparent 0%,rgba(0,0,0,.15) 12%,#000 38%,#000 84%,rgba(0,0,0,.36) 94%,transparent 100%);
  mask-image:linear-gradient(to bottom,transparent 0%,rgba(0,0,0,.15) 12%,#000 38%,#000 84%,rgba(0,0,0,.36) 94%,transparent 100%)
}
body.dashboard-v2 .sidebar-scene:after{
  content:"";display:block;position:absolute;z-index:-1;inset:0;
  background:linear-gradient(180deg,#052f5b 0%,rgba(5,47,91,.76) 16%,rgba(5,47,91,.10) 44%,rgba(3,39,75,.20) 72%,#03274b 100%);
  pointer-events:none
}
body.dashboard-v2 .sidebar-scene span{
  position:relative;z-index:2;padding-left:8px;border-left:2px solid rgba(73,196,255,.75);
  font-size:7.4px;line-height:1.48;letter-spacing:.105em;text-transform:uppercase;color:#fff;
  text-shadow:0 2px 7px rgba(0,0,0,.32)
}
body.dashboard-v2 .sidebar-foot-v2{
  margin-top:-8px;padding:4px 10px 9px;background:transparent!important;color:#a7cde8;
  font-size:6.2px;letter-spacing:.10em;position:relative;z-index:3
}

/* Banner memakai panorama ekstra lebar: tidak perlu crop atas/bawah. */
body.dashboard-v2 .welcome-hero-v6,
body.dashboard-v2 .archive-welcome-v6{
  position:relative;height:244px;min-height:244px;margin:0 0 12px;border-radius:15px;
  overflow:hidden;border:1px solid #d6e7f4;box-shadow:0 7px 22px rgba(18,70,108,.09)
}
body.dashboard-v2 .welcome-media-v6,
body.dashboard-v2 .welcome-media-v6 img{position:absolute;inset:0;width:100%;height:100%}
body.dashboard-v2 .welcome-media-v6 img{
  object-fit:cover;object-position:center center;transform:none
}
body.dashboard-v2 .welcome-shade-v6{
  position:absolute;inset:0;z-index:1;
  background:linear-gradient(90deg,rgba(3,53,101,.30) 0%,rgba(3,58,108,.18) 34%,rgba(4,67,119,.07) 55%,transparent 76%)
}
body.dashboard-v2 .welcome-content-v6{
  position:relative;z-index:2;width:min(49%,620px);height:100%;min-height:0;
  padding:14px 18px 13px 20px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;
  overflow:visible
}
body.dashboard-v2 .welcome-pill-v6{padding:6px 11px;font-size:8.2px;margin:0}
body.dashboard-v2 .welcome-pill-dot-v6{width:15px;height:15px}
body.dashboard-v2 .welcome-kicker-v6{margin-top:9px;font-size:7.5px;letter-spacing:.32em}
body.dashboard-v2 .welcome-content-v6 h1{margin:6px 0 0;font-size:clamp(29px,2.4vw,39px);line-height:1.01;letter-spacing:-.035em}
body.dashboard-v2 .welcome-content-v6 h1 span{color:#56caff}
body.dashboard-v2 .welcome-line-v6{width:38px;height:3px;margin:8px 0}
body.dashboard-v2 .welcome-content-v6 p{margin:0;max-width:430px;font-size:9.8px;line-height:1.42}
body.dashboard-v2 .welcome-meta-v6{margin-top:9px;font-size:7.4px;letter-spacing:.16em;gap:6px}
body.dashboard-v2 .welcome-scope-badge-v6{margin-top:7px;padding:4px 8px;font-size:7.5px}
body.dashboard-v2 .welcome-sign-v6{margin-top:7px;font-size:15px}
body.dashboard-v2 .welcome-sign-v6 small{margin-top:3px;font-size:6.5px}

/* Pastikan kartu di bawah banner tidak menutupi bagian bawah hero. */
body.dashboard-v2 .archive-stats-v4,
body.dashboard-v2 .stats-grid-v2{position:relative;z-index:1;margin-top:0}

@media(min-width:1200px){
  body.dashboard-v2.sidebar-collapsed .sidebar-v2{width:72px}
  body.dashboard-v2.sidebar-collapsed .main-v2{margin-left:72px;width:calc(100% - 72px)}
  body.dashboard-v2.sidebar-collapsed .sidebar-brand-v2{min-height:82px;padding:12px 7px;grid-template-columns:1fr}
  body.dashboard-v2.sidebar-collapsed .brand-logo-wrap{width:50px;height:50px;margin:0 auto}
}

@media(max-width:1199px){
  body.dashboard-v2 .sidebar-v2{width:244px}
  body.dashboard-v2 .main-v2{margin-left:0;width:100%}
  body.dashboard-v2 .sidebar-brand-v2{min-height:98px;padding-right:45px}
  body.dashboard-v2 .sidebar-scene{height:154px;min-height:154px}
  body.dashboard-v2 .welcome-hero-v6,
  body.dashboard-v2 .archive-welcome-v6{height:226px;min-height:226px}
  body.dashboard-v2 .welcome-content-v6{width:min(55%,580px)}
}

@media(max-width:900px){
  body.dashboard-v2 .welcome-hero-v6,
  body.dashboard-v2 .archive-welcome-v6{height:202px;min-height:202px}
  body.dashboard-v2 .welcome-content-v6{width:62%;padding:12px 14px}
  body.dashboard-v2 .welcome-content-v6 h1{font-size:26px}
  body.dashboard-v2 .welcome-content-v6 p{font-size:9px;max-width:320px}
  body.dashboard-v2 .welcome-meta-v6{font-size:6.6px}
}

@media(max-width:700px){
  body.dashboard-v2 .welcome-hero-v6,
  body.dashboard-v2 .archive-welcome-v6{height:166px;min-height:166px;border-radius:11px}
  body.dashboard-v2 .welcome-media-v6 img{object-position:58% center}
  body.dashboard-v2 .welcome-content-v6{width:79%;padding:10px}
  body.dashboard-v2 .welcome-pill-v6{padding:4px 7px;font-size:6.7px}
  body.dashboard-v2 .welcome-kicker-v6{margin-top:5px;font-size:6.1px}
  body.dashboard-v2 .welcome-content-v6 h1{font-size:19px;margin-top:4px}
  body.dashboard-v2 .welcome-line-v6{margin:5px 0;width:29px}
  body.dashboard-v2 .welcome-content-v6 p{font-size:7.6px;max-width:225px}
  body.dashboard-v2 .welcome-meta-v6{margin-top:5px;font-size:5.6px}
  body.dashboard-v2 .welcome-scope-badge-v6{margin-top:5px;font-size:6.2px}
}

@media(max-width:430px){
  body.dashboard-v2 .welcome-hero-v6,
  body.dashboard-v2 .archive-welcome-v6{height:152px;min-height:152px}
  body.dashboard-v2 .welcome-content-v6{width:86%;padding:9px}
  body.dashboard-v2 .welcome-content-v6 h1{font-size:17px}
  body.dashboard-v2 .welcome-content-v6 p{font-size:7px;max-width:190px}
  body.dashboard-v2 .welcome-sign-v6{display:none}
}

/* =========================================================
   V5.7 — INTEGRATED PROFESSIONAL DESIGN
   Fix: hero tidak terpotong + sidebar Kalbar menyatu.
   ========================================================= */
body.dashboard-v2 .sidebar-v2{
  width:230px;
  isolation:isolate;
  background:
    radial-gradient(circle at 110% 18%,rgba(27,147,228,.18),transparent 32%),
    linear-gradient(180deg,#064276 0%,#05335f 48%,#032746 100%);
}
body.dashboard-v2 .main-v2{margin-left:230px;width:calc(100% - 230px)}

/* Lapisan Kalbar menjadi bagian dari sidebar, bukan kotak gambar. */
body.dashboard-v2 .sidebar-kalbar-v7{
  position:absolute;left:0;right:0;bottom:0;height:42%;z-index:0;pointer-events:none;
  background:
    linear-gradient(180deg,rgba(3,39,70,1) 0%,rgba(3,39,70,.64) 20%,rgba(3,39,70,.18) 48%,rgba(3,39,70,.36) 100%),
    url('../images/sidebar-kalbar-transparent-v54.webp') center bottom/cover no-repeat;
  opacity:.34;
  -webkit-mask-image:linear-gradient(to bottom,transparent 0%,rgba(0,0,0,.28) 18%,#000 58%,#000 100%);
  mask-image:linear-gradient(to bottom,transparent 0%,rgba(0,0,0,.28) 18%,#000 58%,#000 100%);
  filter:saturate(.88) contrast(.94);
}
body.dashboard-v2 .sidebar-brand-v2,
body.dashboard-v2 .nav-v2,
body.dashboard-v2 .sidebar-foot-v7{position:relative;z-index:2}
body.dashboard-v2 .sidebar-foot-v7{
  flex:none;margin-top:auto;padding:10px 14px 13px;text-align:left;
  background:linear-gradient(180deg,rgba(3,39,70,0),rgba(3,39,70,.78) 30%,rgba(3,39,70,.96));
  border-top:1px solid rgba(255,255,255,.04)
}
body.dashboard-v2 .sidebar-foot-v7 strong{
  display:block;color:#e8f6ff;font-size:8px;letter-spacing:.10em;text-transform:uppercase;line-height:1.35
}
body.dashboard-v2 .sidebar-foot-v7 span{
  display:block;margin-top:4px;color:#80b8dc;font-size:6.5px;font-weight:800;letter-spacing:.11em;text-transform:uppercase
}
/* Hilangkan style scene lama bila cache markup lama masih ada. */
body.dashboard-v2 .sidebar-scene{display:none!important}

/* Sedikit lebih compact agar sidebar tidak terasa penuh. */
body.dashboard-v2 .sidebar-brand-v2{min-height:88px;padding:10px 12px;grid-template-columns:50px minmax(0,1fr);gap:10px}
body.dashboard-v2 .brand-logo-wrap{width:50px;height:50px;padding:5px;border-radius:12px}
body.dashboard-v2 .brand-logo-full{width:40px;height:40px}
body.dashboard-v2 .brand-copy strong{font-size:13.5px}
body.dashboard-v2 .brand-copy span{font-size:9.8px;margin-top:2px}
body.dashboard-v2 .brand-copy small{font-size:7.4px;margin-top:2px}
body.dashboard-v2 .nav-v2{padding:6px 8px 10px}
body.dashboard-v2 .nav-v2 .nav-item{min-height:35px;padding:7px 10px;font-size:11.2px;gap:9px;margin:1px 0}
body.dashboard-v2 .nav-caption{padding:10px 10px 5px;font-size:8.2px}
body.dashboard-v2 .nav-subitem{min-height:28px;padding:4px 7px 4px 13px;font-size:10px}

/* HERO: asset dibuat ultra-wide 2800x500. Pakai ukuran proporsional agar tidak ada crop. */
body.dashboard-v2 .welcome-hero-v6,
body.dashboard-v2 .archive-welcome-v6{
  position:relative;
  height:clamp(214px,calc((100vw - 230px)/5.6),252px);
  min-height:214px;max-height:252px;
  margin:0 0 12px;border-radius:16px;overflow:hidden;
  background:#043d6f;border:1px solid #d5e6f3;box-shadow:0 8px 24px rgba(18,70,108,.10)
}
body.dashboard-v2 .welcome-media-v6,
body.dashboard-v2 .welcome-media-v6 img{position:absolute;inset:0;width:100%;height:100%}
body.dashboard-v2 .welcome-media-v6 img{
  object-fit:fill; /* asset dan box sama-sama ultra-wide: seluruh kapal selalu terlihat */
  object-position:center;transform:none;filter:none
}
body.dashboard-v2 .welcome-shade-v6{
  position:absolute;inset:0;z-index:1;
  background:linear-gradient(90deg,rgba(3,55,101,.14) 0%,rgba(3,55,101,.08) 44%,rgba(3,55,101,0) 66%);
}
body.dashboard-v2 .welcome-content-v6{
  position:relative;z-index:2;width:min(49%,620px);height:100%;min-height:0;
  padding:18px 24px;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;color:#fff
}
body.dashboard-v2 .welcome-pill-v6{padding:6px 11px;font-size:8.4px;background:rgba(255,255,255,.10);border-color:rgba(255,255,255,.42)}
body.dashboard-v2 .welcome-pill-dot-v6{width:15px;height:15px}
body.dashboard-v2 .welcome-kicker-v6{margin-top:11px;font-size:7.7px;letter-spacing:.34em;color:#d9f1ff}
body.dashboard-v2 .welcome-content-v6 h1{margin:7px 0 0;font-size:clamp(28px,2.25vw,37px);line-height:1.02;letter-spacing:-.035em}
body.dashboard-v2 .welcome-content-v6 h1 span{color:#5bcaff;font-weight:750}
body.dashboard-v2 .welcome-line-v6{width:40px;height:3px;margin:9px 0}
body.dashboard-v2 .welcome-content-v6 p{max-width:420px;margin:0;font-size:9.8px;line-height:1.45;color:#f0f8ff}
body.dashboard-v2 .welcome-meta-v6{margin-top:11px;font-size:7.6px;letter-spacing:.17em;gap:7px;color:#e1f3ff}
body.dashboard-v2 .welcome-sign-v6{
  margin-top:7px;font-family:inherit;font-style:normal;font-size:8px;font-weight:800;letter-spacing:.11em;text-transform:uppercase;color:#bfe8ff
}
body.dashboard-v2 .welcome-sign-v6 small{display:inline;margin:0 0 0 7px;font-size:7px;letter-spacing:.10em;color:#9ed7f7}
body.dashboard-v2 .welcome-scope-badge-v6{margin-top:8px;padding:5px 9px;font-size:7.8px}

/* Dashboard sections tetap compact dan professional. */
body.dashboard-v2 .stats-grid-v2{gap:9px;margin-bottom:10px}
body.dashboard-v2 .stat-card-v2{height:82px;padding:10px 12px}
body.dashboard-v2 .dash-panel{margin-bottom:10px}

@media(min-width:1200px){
  body.dashboard-v2.sidebar-collapsed .sidebar-v2{width:72px}
  body.dashboard-v2.sidebar-collapsed .main-v2{margin-left:72px;width:calc(100% - 72px)}
  body.dashboard-v2.sidebar-collapsed .sidebar-kalbar-v7,
  body.dashboard-v2.sidebar-collapsed .sidebar-foot-v7{display:none}
}
@media(max-width:1199px){
  body.dashboard-v2 .sidebar-v2{width:248px}
  body.dashboard-v2 .main-v2{margin-left:0;width:100%}
  body.dashboard-v2 .welcome-hero-v6,
  body.dashboard-v2 .archive-welcome-v6{height:218px;min-height:218px;max-height:218px}
  body.dashboard-v2 .welcome-content-v6{width:54%;padding:16px 18px}
}
@media(max-width:900px){
  body.dashboard-v2 .welcome-hero-v6,
  body.dashboard-v2 .archive-welcome-v6{height:195px;min-height:195px;max-height:195px}
  body.dashboard-v2 .welcome-content-v6{width:62%;padding:14px 15px}
  body.dashboard-v2 .welcome-content-v6 h1{font-size:26px}
  body.dashboard-v2 .welcome-content-v6 p{font-size:8.8px;max-width:330px}
}
@media(max-width:700px){
  body.dashboard-v2 .welcome-hero-v6,
  body.dashboard-v2 .archive-welcome-v6{height:162px;min-height:162px;max-height:162px;border-radius:12px}
  body.dashboard-v2 .welcome-content-v6{width:76%;padding:11px 12px}
  body.dashboard-v2 .welcome-pill-v6{padding:4px 7px;font-size:6.5px}
  body.dashboard-v2 .welcome-kicker-v6{margin-top:7px;font-size:6.1px}
  body.dashboard-v2 .welcome-content-v6 h1{font-size:19px;margin-top:4px}
  body.dashboard-v2 .welcome-line-v6{width:28px;margin:6px 0}
  body.dashboard-v2 .welcome-content-v6 p{font-size:7.4px;max-width:228px}
  body.dashboard-v2 .welcome-meta-v6{margin-top:7px;font-size:5.6px}
  body.dashboard-v2 .welcome-sign-v6{display:none}
  body.dashboard-v2 .welcome-scope-badge-v6{margin-top:6px;font-size:6.3px;padding:4px 7px}
}
@media(max-width:430px){
  body.dashboard-v2 .welcome-hero-v6,
  body.dashboard-v2 .archive-welcome-v6{height:148px;min-height:148px;max-height:148px}
  body.dashboard-v2 .welcome-content-v6{width:84%;padding:10px}
  body.dashboard-v2 .welcome-content-v6 h1{font-size:17px}
  body.dashboard-v2 .welcome-content-v6 p{font-size:7px;max-width:185px}
  body.dashboard-v2 .welcome-meta-v6{font-size:5.1px}
}
