/*
 * Stylesheet global Portal Data BPKH IV.
 * Seluruh styling utama portal dipusatkan pada file ini.
 */

/* ================================================================
   Portal Data BPKH IV Samarinda — style.css v3.0
   Tema: Hijau Kehutanan + Navy Gelap
   ----------------------------------------------------------------
   FONT: lokal via @font-face dengan fallback system font.
   Jika file font di /static/fonts/ tidak tersedia, browser
   otomatis pakai system font stack (tetap rapi, tidak error).
   Tidak ada dependensi Google Fonts eksternal — aman untuk
   jaringan kantor/VPN/intranet pemerintah.
   ================================================================ */

/* ── FONT LOKAL (opsional, ada fallback) ──
   Letakkan file .woff2 di public/static/fonts/ jika tersedia.
   Tanpa file pun portal tetap berjalan normal. */

@font-face {
  font-family: 'Jakarta';
  src: url('fonts/PlusJakartaSans-Regular.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Jakarta';
  src: url('fonts/PlusJakartaSans-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: 'Jakarta';
  src: url('fonts/PlusJakartaSans-Bold.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'Jakarta';
  src: url('fonts/PlusJakartaSans-ExtraBold.woff2') format('woff2');
  font-weight: 800;
  font-display: swap;
}

/* Stack: font lokal → system font (selalu ada, tidak pernah gagal) */
:root{
  --font-sans: 'Jakarta', system-ui, -apple-system, 'Segoe UI',
               Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-mono: ui-monospace, 'SF Mono', 'Cascadia Code',
               'Roboto Mono', Consolas, monospace;
}

/* ── CSS VARIABLES ── */
:root{
  /* Warna utama kehutanan */
  --forest:      #1a4d2e;
  --forest-mid:  #28734f;
  --forest-lt:   #39a36f;
  --forest-pale: #d8f3dc;
  --forest-xpale:#f0faf3;

  /* Navy sidebar */
  --navy:        #11263f;
  --navy-mid:    #1d3554;
  --navy-lt:     #2c4a6e;

  /* Aksen */
  --accent:      #52b788;
  --accent2:     #74c69d;

  /* UI dasar */
  --bg:          #f4f7f5;
  --card:        #ffffff;
  --text:        #0f1f15;
  --text-mid:    #2d4a38;
  --muted:       #5a7566;
  --border:      #d4ddd8;
  --border-lt:   #e8f0eb;

  /* Status */
  --danger:      #dc2626;
  --danger-bg:   #fef2f2;
  --danger-bd:   #fca5a5;
  --warn:        #d97706;
  --warn-bg:     #fffbeb;
  --warn-bd:     #fde68a;
  --success:     #16a34a;
  --success-bg:  #f0fdf4;
  --success-bd:  #bbf7d0;
  --info:        #0369a1;
  --info-bg:     #f0f9ff;
  --info-bd:     #bae6fd;

  /* Alias untuk kompatibilitas kode lama */
  --primary:     var(--forest-mid);
  --primary-2:   var(--forest);
  --sidebar:     var(--navy);
  --sidebar-2:   var(--navy-mid);
  --sidebar-text:#dbe7f3;
  --sidebar-muted:#8fa4ba;

  --radius:      14px;
  --radius-sm:   8px;
  --shadow:      0 4px 16px rgba(15,31,21,.07);
  --shadow-md:   0 8px 28px rgba(15,31,21,.10);
}

/* ── RESET & BASE ── */
*, *::before, *::after{ box-sizing:border-box; }

html{
  font-size:16px;
  scrollbar-gutter:stable;
}

body{
  margin:0;
  font-family: var(--font-sans);
  color:var(--text);
  background:var(--bg);
  line-height:1.55;
  overflow-y:scroll;
}

a{ color:var(--forest-mid); text-decoration:none; }
a:hover{ color:var(--forest); }

h1,h2,h3,h4{ margin:0 0 10px; line-height:1.2; font-weight:800; }
h1{ font-size:2rem; }
h2{ font-size:1.65rem; }
h3{ font-size:1.2rem; }
h4{ font-size:1rem; }

/* ── LAYOUT SHELL ── */
.app-body{ background:var(--bg); }

.app-sidebar{
  position:fixed;
  inset:0 auto 0 0;
  width:256px;
  background:var(--navy);
  display:flex;
  flex-direction:column;
  z-index:50;
  border-right:1px solid rgba(255,255,255,.06);
  overflow-y:auto;
}

.app-shell{
  margin-left:256px;
  min-height:100vh;
}

.auth-shell{ min-height:100vh; }

.container{
  width:calc(100% - 48px);
  max-width:1700px;
  margin:0 auto;
  padding:28px 24px 56px;
}

/* ── SIDEBAR ── */
.sidebar-brand{
  height:80px;
  padding:20px 18px;
  display:flex;
  gap:12px;
  align-items:center;
  border-bottom:1px solid rgba(255,255,255,.07);
  flex-shrink:0;
}

.sidebar-logo{
  width:40px; height:40px;
  border-radius:12px;
  display:grid; place-items:center;
  background:linear-gradient(135deg, var(--forest-lt), var(--forest-mid));
  color:#fff;
  font-size:20px;
  flex-shrink:0;
}

.sidebar-title{
  font-weight:900;
  font-size:16px;
  line-height:1.1;
  color:#fff;
}

.sidebar-subtitle{
  color:var(--sidebar-muted);
  font-size:11px;
  margin-top:2px;
}

.sidebar-nav{
  padding:12px 10px;
  display:flex;
  flex-direction:column;
  gap:2px;
  flex:1;
}

.sidebar-link{
  display:flex;
  align-items:center;
  gap:11px;
  min-height:40px;
  padding:9px 11px;
  border-radius:10px;
  color:var(--sidebar-text);
  font-weight:600;
  font-size:13.5px;
  transition:.15s ease;
  position:relative;
}

.sidebar-link:hover{
  background:rgba(255,255,255,.07);
  color:#fff;
}

.sidebar-link.active{
  background:rgba(57,163,111,.15);
  color:#5eebb4;
}

.sidebar-link.active::before{
  content:'';
  position:absolute;
  left:0; top:7px; bottom:7px;
  width:3px;
  background:var(--forest-lt);
  border-radius:0 3px 3px 0;
}

.sidebar-section{
  margin:14px 10px 5px;
  color:var(--sidebar-muted);
  font-size:10px;
  text-transform:uppercase;
  letter-spacing:.1em;
  font-weight:800;
}

.sidebar-divider{
  height:1px;
  background:rgba(255,255,255,.07);
  margin:8px 12px;
}

.sidebar-footer{
  margin-top:auto;
  padding:14px 14px 16px;
  border-top:1px solid rgba(255,255,255,.07);
  flex-shrink:0;
}

/* Avatar inisial */
.user-avatar{
  width:36px; height:36px;
  border-radius:50%;
  background:linear-gradient(135deg, var(--forest-lt), #1a7a4e);
  color:#fff;
  font-size:13px; font-weight:800;
  display:flex; align-items:center; justify-content:center;
  flex-shrink:0;
  margin-bottom:8px;
}

.user-pill{
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.05);
  border-radius:11px;
  padding:9px 11px;
  font-size:13px; font-weight:700;
  color:#fff;
}

.user-pill small{
  display:block;
  color:var(--sidebar-muted);
  font-weight:500;
  margin-top:2px;
  font-size:11px;
}

.user-name{
  color:#fff;
  font-size:13px; font-weight:700;
  line-height:1.2;
}

.user-meta{
  display:flex; align-items:center; gap:6px;
  margin-top:4px;
}

.role-badge{
  font-size:10px; font-weight:800;
  padding:2px 8px; border-radius:999px;
  background:rgba(57,163,111,.25);
  color:#a7f3d0;
  text-transform:uppercase; letter-spacing:.04em;
}

.sidebar-logout{
  display:block;
  margin-top:10px;
  color:rgba(255,255,255,.45);
  font-size:13px;
  padding:8px 11px;
  border-radius:10px;
  transition:.15s;
}

.sidebar-logout:hover{
  background:rgba(255,255,255,.07);
  color:#fff;
}

/* ── TOPBAR ── */
.topbar{
  background:var(--card);
  border-bottom:1px solid var(--border);
  position:sticky; top:0; z-index:30;
}

.topbar-inner{
  max-width:1700px;
  margin:0 auto;
  padding:14px 24px;
  display:flex; align-items:center;
  justify-content:space-between;
  gap:14px; flex-wrap:wrap;
}

/* ── PAGE HEADER ── */
.page-header{ margin-bottom:22px; }

.page-title{
  font-size:28px;
  line-height:1.15;
  margin:0 0 5px;
  font-weight:900;
  color:var(--text);
}

.page-subtitle{
  color:var(--muted);
  font-size:14px;
}

/* ── BREADCRUMB ── */
.breadcrumb{
  font-size:12px; color:var(--muted);
  display:flex; align-items:center; gap:6px;
  margin-bottom:18px;
}
.breadcrumb a{ color:var(--muted); }
.breadcrumb a:hover{ color:var(--forest-mid); }
.breadcrumb-sep{ opacity:.4; }

/* ── CARD ── */
.card{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:24px;
  box-shadow:var(--shadow);
}

.card + .card{ margin-top:16px; }

.card h3{ margin-bottom:8px; font-size:1.1rem; }

/* ── STAT GRID (Dashboard) ── */
.stat-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(200px,1fr));
  gap:14px;
  margin-bottom:20px;
}

.stat-card{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:20px;
  box-shadow:var(--shadow);
  position:relative;
  overflow:hidden;
}

.stat-card::after{
  content:'';
  position:absolute;
  top:0; left:0;
  width:4px; height:100%;
  background:var(--forest-lt);
  border-radius:4px 0 0 4px;
}

.stat-label{
  font-size:11px;
  color:var(--muted);
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.07em;
}

.stat-value{
  margin-top:10px;
  font-size:32px;
  font-weight:900;
  line-height:1;
  color:var(--text);
  letter-spacing:-1px;
}

.stat-sub{
  font-size:11px;
  color:var(--muted);
  margin-top:6px;
}

/* ── DASHBOARD GRID ── */
.dashboard-grid{
  display:grid;
  grid-template-columns:1.5fr 1fr;
  gap:16px;
}

/* ── TABEL ── */
table{
  width:100%;
  border-collapse:collapse;
  font-size:14px;
  background:var(--card);
}

th, td{
  padding:12px 13px;
  border-bottom:1px solid var(--border-lt);
  vertical-align:top;
}

th{
  background:#f1f6f3;
  text-align:left;
  font-weight:700;
  font-size:12px;
  color:var(--text-mid);
  text-transform:uppercase;
  letter-spacing:.04em;
  position:sticky; top:0; z-index:1;
}

tr:last-child td{ border-bottom:none; }
tr:hover td{ background:#f8fbf9; }
tr:nth-child(even) td{ background:#fafcfb; }
tr:nth-child(even):hover td{ background:#f5f9f6; }

.table-wrap{
  overflow-x:auto;
  border-radius:var(--radius);
  border:1px solid var(--border);
  box-shadow:var(--shadow);
}

.table-wrap table{ margin-top:0; }

.table-scroll{
  width:100%;
  overflow-x:auto;
  overflow-y:hidden;
  -webkit-overflow-scrolling:touch;
  border-radius:var(--radius);
}

.table-scroll table{
  min-width:1100px;
  margin-top:0;
}

/* ── BUTTONS ── */
.btn{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:9px 15px;
  border:1px solid var(--border);
  border-radius:10px;
  background:var(--card);
  cursor:pointer;
  font-size:13.5px;
  font-weight:600;
  font-family:inherit;
  color:var(--text);
  transition:all .15s ease;
  white-space:nowrap;
  min-height:38px;
}

.btn:hover{
  background:var(--bg);
  border-color:#b0c4ba;
}

.btn-primary{
  background:var(--forest-mid);
  color:#fff;
  border-color:var(--forest-mid);
}
.btn-primary:hover{
  background:var(--forest);
  border-color:var(--forest);
}

.btn-success{
  background:var(--success-bg);
  color:var(--success);
  border-color:var(--success-bd);
}
.btn-success:hover{
  background:#dcfce7;
}

.btn-danger{
  background:var(--danger-bg);
  color:var(--danger);
  border-color:var(--danger-bd);
}
.btn-danger:hover{ background:#fee2e2; }

.btn-warn{
  background:var(--warn-bg);
  color:var(--warn);
  border-color:var(--warn-bd);
}

.btn-sm{
  padding:5px 11px;
  font-size:12px;
  min-height:30px;
}

.btn-download{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:92px;
  padding:8px 13px;
  border-radius:10px;
  border:1px solid var(--forest-pale);
  background:var(--forest-xpale);
  color:var(--forest-mid);
  font-weight:700;
  font-size:13px;
  gap:5px;
}
.btn-download:hover{
  background:var(--forest-pale);
  color:var(--forest);
}

/* ── PILLS / BADGES ── */
.pill{
  display:inline-block;
  border:1px solid var(--border);
  border-radius:999px;
  padding:4px 11px;
  font-size:12px;
  font-weight:600;
  background:var(--card);
  color:var(--text-mid);
}

/* Komponen dataset */
.component-badge{
  display:inline-block;
  min-width:54px;
  text-align:center;
  padding:3px 9px;
  border-radius:999px;
  font-size:11px;
  font-weight:800;
  border:1px solid var(--border);
  background:var(--card);
}

.component-sk{
  background:#eef4ff; border-color:#bfd3f2; color:#1d4ed8;
}
.component-spasial{
  background:var(--forest-xpale); border-color:#a7d9b8; color:var(--forest);
}
.component-peta{
  background:#fff8e8; border-color:#f3ddaa; color:#92400e;
}
.component-batb{
  background:#f5f3ff; border-color:#d8ccff; color:#6d28d9;
}

/* Import status pill */
.imp-pill{
  display:inline-block;
  padding:3px 9px;
  border-radius:999px;
  font-size:11px;
  font-weight:800;
  border:1px solid transparent;
}
.imp-blue       { background:#eef4ff; color:#1d4ed8; border-color:#bfd3f2; }
.imp-green      { background:var(--forest-xpale); color:var(--forest); border-color:#a7d9b8; }
.imp-green-dark { background:var(--success-bg); color:var(--success); border-color:var(--success-bd); }
.imp-orange     { background:#fff8e8; color:#92400e; border-color:#f3ddaa; }
.imp-purple     { background:#f5f3ff; color:#6d28d9; border-color:#d8ccff; }
.imp-yellow     { background:var(--warn-bg); color:var(--warn); border-color:var(--warn-bd); }
.imp-gray       { background:#f1f5f9; color:#64748b; border-color:#e2e8f0; }

/* ── FORMS ── */
input, select, textarea{
  font:inherit;
  padding:9px 12px;
  border:1.5px solid var(--border);
  border-radius:10px;
  background:var(--card);
  color:var(--text);
  transition:border .15s, box-shadow .15s;
}

input:focus, select:focus, textarea:focus{
  outline:none;
  border-color:var(--forest-lt);
  box-shadow:0 0 0 3px rgba(57,163,111,.15);
}

input[type="checkbox"]{
  width:16px; height:16px;
  accent-color:var(--forest-mid);
}

.form-group{ margin-bottom:16px; }
.form-group label{
  display:block;
  font-size:12px; font-weight:700;
  color:var(--text-mid);
  margin-bottom:5px;
}

/* ── ALERT / NOTICE ── */
.notice-ok{
  background:var(--success-bg);
  color:#065f46;
  border:1px solid var(--success-bd);
  padding:11px 14px;
  border-radius:10px;
  margin-bottom:14px;
  font-size:14px;
}

.notice-warn{
  background:var(--warn-bg);
  color:#78350f;
  border:1px solid var(--warn-bd);
  padding:11px 14px;
  border-radius:10px;
  margin-bottom:14px;
  font-size:14px;
}

.notice-error{
  background:var(--danger-bg);
  color:#7f1d1d;
  border:1px solid var(--danger-bd);
  padding:11px 14px;
  border-radius:10px;
  margin-bottom:14px;
  font-size:14px;
}

/* ── PACKAGE / KATALOG ── */
.package-title{
  font-size:1.25rem;
  font-weight:800;
  line-height:1.25;
  margin-bottom:4px;
  color:var(--text);
}

.package-meta{
  display:flex; flex-wrap:wrap; gap:7px;
  align-items:center;
  margin-top:6px; margin-bottom:12px;
}

.package-meta .pill{
  background:var(--bg);
  border-color:var(--border);
  font-size:12px; font-weight:600;
}

.package-actions{
  display:flex; flex-wrap:wrap; gap:9px;
  align-items:center;
  margin-top:12px;
}

.result-card{
  padding:22px;
}

.result-card .header-row{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:14px; flex-wrap:wrap;
  margin-bottom:12px;
}

.result-card .header-left{ min-width:280px; flex:1; }

.result-card .header-right{
  display:flex; gap:8px; flex-wrap:wrap; align-items:center;
}

/* ── GRID HELPERS ── */
.grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(260px,1fr));
  gap:14px;
}

.tile{
  display:block;
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:18px;
  background:var(--card);
  box-shadow:var(--shadow);
  transition:all .15s ease;
  color:var(--text);
}

.tile:hover{
  background:var(--forest-xpale);
  border-color:var(--accent2);
  transform:translateY(-1px);
}

/* ── MUTED TEXT ── */
.muted{ color:var(--muted); font-size:13px; }

/* ── IMPORT PINTAR ── */
.import-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(240px,1fr));
  gap:14px;
  align-items:start;
}
.import-grid > div{ min-width:0; }
.import-grid select,
.import-grid input{ width:100%; max-width:100%; }

.scan-preview-table th,
.scan-preview-table td{
  white-space:normal;
  overflow-wrap:anywhere;
  word-break:break-word;
}
.scan-preview-table td:first-child,
.scan-preview-table th:first-child{
  text-align:center;
}

/* Fixed-width scan table */
.table-scroll table{
  min-width:1450px;
  width:1450px;
  table-layout:fixed;
}
.scan-preview-table th:nth-child(1),
.scan-preview-table td:nth-child(1){ width:70px; text-align:center; }
.scan-preview-table th:nth-child(2),
.scan-preview-table td:nth-child(2){ width:390px; min-width:390px; }
.scan-preview-table th:nth-child(3),
.scan-preview-table td:nth-child(3){ width:100px; }
.scan-preview-table th:nth-child(4),
.scan-preview-table td:nth-child(4){ width:90px; }
.scan-preview-table th:nth-child(5),
.scan-preview-table td:nth-child(5){ width:240px; }
.scan-preview-table th:nth-child(6),
.scan-preview-table td:nth-child(6){ width:180px; }
.scan-preview-table th:nth-child(7),
.scan-preview-table td:nth-child(7){ width:220px; }
.scan-preview-table th:nth-child(8),
.scan-preview-table td:nth-child(8){ width:300px; }

/* ── METADATA EDITOR ── */
.admin-toolbar{
  display:flex; flex-wrap:wrap; gap:12px; align-items:end; margin:16px 0;
}
.admin-toolbar label,
.meta-form label{
  display:block; font-weight:700; font-size:12px; margin-bottom:5px; color:var(--text-mid);
}
.admin-toolbar input,
.admin-toolbar select,
.meta-form input,
.meta-form select,
.meta-form textarea{ width:100%; }
.admin-toolbar > div{ min-width:180px; }
.admin-toolbar .grow{ flex:1; min-width:280px; }

.meta-form-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(220px,1fr));
  gap:14px;
}

.meta-table-wrap{
  width:100%; overflow-x:auto; border-radius:var(--radius);
}

.meta-editor-table{
  min-width:1300px; width:1300px; table-layout:fixed;
}
.meta-editor-table th:nth-child(1),
.meta-editor-table td:nth-child(1){ width:70px; }
.meta-editor-table th:nth-child(2),
.meta-editor-table td:nth-child(2){ width:360px; }
.meta-editor-table th:nth-child(3),
.meta-editor-table td:nth-child(3){ width:150px; }
.meta-editor-table th:nth-child(4),
.meta-editor-table td:nth-child(4){ width:140px; }
.meta-editor-table th:nth-child(5),
.meta-editor-table td:nth-child(5){ width:140px; }
.meta-editor-table th:nth-child(6),
.meta-editor-table td:nth-child(6){ width:130px; }
.meta-editor-table th:nth-child(7),
.meta-editor-table td:nth-child(7){ width:360px; }
.meta-editor-table textarea{ min-height:72px; resize:vertical; }

.metadata-list-table th:nth-child(2),
.metadata-list-table td:nth-child(2){
  min-width:360px; width:360px;
  white-space:normal; overflow-wrap:anywhere;
}

/* ── ACL ── */
.acl-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(300px,1fr));
  gap:16px;
  align-items:start;
}
.acl-box{
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:16px;
  background:#f8fcf9;
}
.acl-box h4{ margin:0 0 10px; font-size:15px; }
.acl-perm{ display:grid; gap:10px; }
.acl-check{
  display:flex; align-items:center; gap:10px;
  padding:10px 12px;
  border:1px solid var(--border);
  border-radius:10px;
  background:var(--card);
}
.acl-check input{ width:17px; height:17px; }
.acl-actions{ margin-top:14px; display:flex; gap:10px; flex-wrap:wrap; }
.acl-table-wrap{ overflow-x:auto; border-radius:var(--radius); }
.acl-table-wrap table{ min-width:1000px; margin-top:0; }

.acl-permission-card{
  width:100%; margin:10px 0;
  border:1px solid var(--border);
  border-radius:12px;
  background:var(--card);
}
.acl-permission-label{
  display:flex !important; align-items:center !important; gap:14px !important;
  width:100% !important; padding:14px 16px !important; cursor:pointer;
}
.acl-permission-label input[type="checkbox"]{
  flex:0 0 17px !important; width:17px !important; height:17px !important; margin:0 !important;
}
.acl-permission-text{
  display:flex !important; flex-direction:column !important; line-height:1.35 !important;
}
.acl-permission-text strong{
  display:block !important; font-size:16px; font-weight:800; margin:0 0 3px;
}
.acl-permission-text em{
  display:block !important; font-style:normal; color:var(--muted); font-size:13px;
}

/* ── PROFILE PANEL (metadata) ── */
.profile-panel{
  margin-top:16px;
  padding:18px;
  border:1px solid var(--border);
  border-radius:var(--radius);
  background:var(--forest-xpale);
}
.profile-panel h3{ margin-top:0; margin-bottom:12px; }

/* ── MOBILE TOGGLE ── */
.mobile-toggle{
  display:none;
  position:fixed; top:14px; left:14px; z-index:200;
  width:40px; height:40px;
  background:var(--navy);
  border:none; border-radius:10px; cursor:pointer;
  align-items:center; justify-content:center;
  color:#fff; font-size:20px;
}

/* ── APP FOOTER ── */
.app-footer{
  margin-left:256px;
  width:calc(100% - 256px);
  padding:0 40px 28px;
}
.auth-shell .app-footer,
.auth-shell + .app-footer{
  margin-left:0; width:100%;
}

/* ── DM MONO untuk kode/path ── */
.mono{ font-family: var(--font-mono); font-size:12.5px; }

/* ── RESPONSIVE ── */
@media(max-width:1100px){
  .dashboard-grid{ grid-template-columns:1fr; }
}

@media(max-width:900px){
  .mobile-toggle{ display:flex; }

  .app-sidebar{
    transform:translateX(-100%);
    transition:transform .25s ease;
    width:260px;
  }
  .app-sidebar.open{ transform:translateX(0); }

  .app-shell{ margin-left:0 !important; }

  .app-footer{
    margin-left:0; width:100%;
    padding:0 20px 24px;
  }

  .container{
    width:100%;
    padding:20px 16px 36px;
  }

  h1{ font-size:1.6rem; }
  h2{ font-size:1.4rem; }

  .stat-grid{ grid-template-columns:1fr 1fr; }

  .page-title{ font-size:22px; }
}

@media(max-width:480px){
  .stat-grid{ grid-template-columns:1fr; }
}

/* ================================================================
   LOGIN PAGE — dipindah dari inline CSS login.php (v2 → v3)
   ================================================================ */

.login-page{
  margin:0;
  min-height:100vh;
  display:grid;
  grid-template-columns:1fr 1fr;
  font-family:var(--font-sans);
  color:var(--text);
}

/* ── Panel kiri: branding ── */
.login-left{
  background:linear-gradient(160deg, #163f26 0%, #0a2113 100%);
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:center;
  padding:64px 56px;
  position:relative;
  overflow:hidden;
}

.login-left::before{
  content:'';
  position:absolute;
  inset:0;
  background-image:
    radial-gradient(circle at 25% 30%, rgba(57,163,111,.07) 0%, transparent 45%),
    radial-gradient(circle at 75% 70%, rgba(57,163,111,.05) 0%, transparent 40%);
}

.login-left-logo{
  width:64px; height:64px;
  border-radius:18px;
  background:var(--forest-lt);
  display:flex; align-items:center; justify-content:center;
  font-size:32px;
  margin-bottom:40px;
  position:relative; z-index:1;
  box-shadow:0 8px 24px rgba(57,163,111,.25);
}

.login-left-title{
  font-size:34px; font-weight:900;
  color:#fff; line-height:1.18;
  margin-bottom:18px;
  position:relative; z-index:1;
}
.login-left-title span{ color:var(--forest-lt); }

.login-left-desc{
  color:rgba(255,255,255,.72);
  font-size:15px; line-height:1.7;
  max-width:360px;
  position:relative; z-index:1;
}

.login-left-tags{
  display:flex; flex-wrap:wrap; gap:9px;
  margin-top:40px;
  position:relative; z-index:1;
}

.login-tag{
  padding:5px 12px;
  border-radius:999px;
  border:1px solid rgba(57,163,111,.4);
  color:rgba(255,255,255,.6);
  font-size:12px; font-weight:600;
}

.login-left-footer{
  margin-top:auto;
  padding-top:40px;
  color:rgba(255,255,255,.45);
  font-size:12px;
  line-height:1.6;
  position:relative; z-index:1;
}
.login-left-footer strong{
  color:rgba(255,255,255,.75);
  font-weight:700;
}

/* ── Panel kanan: form ── */
.login-right{
  background:var(--bg);
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  padding:48px 56px;
}

.login-box{ width:100%; max-width:460px; }

.login-heading{
  font-size:26px; font-weight:800;
  margin-bottom:6px;
}

.login-sub{
  color:var(--muted);
  font-size:14px;
  margin-bottom:32px;
}

.login-error{
  background:var(--danger-bg);
  border:1px solid var(--danger-bd);
  color:#b91c1c;
  border-radius:10px;
  padding:11px 14px;
  font-size:14px;
  margin-bottom:18px;
  display:flex; gap:8px; align-items:flex-start;
}

.btn-login{
  display:block;
  width:75%;
  margin:8px auto 0;
  padding:13px;
  background:var(--forest-mid);
  color:#fff;
  border:none;
  border-radius:11px;
  font-size:15px; font-weight:700;
  font-family:inherit;
  cursor:pointer;
  transition:background .18s ease, box-shadow .18s ease, transform .12s ease;
}
.btn-login:hover{
  background:var(--forest);
  box-shadow:0 6px 20px rgba(40,115,79,.35);
}
.btn-login:active{
  transform:translateY(1px);
}

.login-hint{
  text-align:center;
  color:var(--muted);
  font-size:12px;
  margin-top:20px;
  line-height:1.5;
}

/* Poin 2: copyright + versi portal di bawah login box */
.login-meta{
  text-align:center;
  color:var(--gray-400);
  font-size:11px;
  margin-top:24px;
  padding-top:16px;
  border-top:1px solid var(--border-lt);
}

/* Poin 3: environment badge (TEST / DEVELOPMENT) */
.env-badge{
  position:absolute;
  top:24px; right:32px;
  z-index:3;
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:6px 14px;
  border-radius:999px;
  font-size:11px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.env-badge::before{
  content:'';
  width:7px; height:7px;
  border-radius:50%;
  background:currentColor;
}
.env-test{
  background:rgba(232,168,58,.18);
  color:#f0b450;
  border:1px solid rgba(232,168,58,.35);
}
.env-development{
  background:rgba(232,168,58,.18);
  color:#f0b450;
  border:1px solid rgba(232,168,58,.35);
}

/* ── Poin 1: Watermark peta SRTM Kaltim di panel kanan ── */
.login-right{ position:relative; overflow:hidden; }

.login-watermark{
  position:absolute;
  right:-110px; bottom:-90px;
  width:auto;
  height:115%;
  opacity:.09;
  pointer-events:none;
  user-select:none;
  z-index:0;
  filter:grayscale(12%);
}

.login-box{ position:relative; z-index:1; }

/* ── Poin 5: Subtle motion ── */

/* Fade-in halus saat halaman load */
@keyframes loginFadeUp{
  from{ opacity:0; transform:translateY(12px); }
  to  { opacity:1; transform:translateY(0); }
}

.login-left > *,
.login-box{
  animation:loginFadeUp .55s ease both;
}
.login-left-logo   { animation-delay:.02s; }
.login-left-title  { animation-delay:.08s; }
.login-left-desc   { animation-delay:.14s; }
.login-left-tags   { animation-delay:.20s; }
.login-left-footer { animation-delay:.26s; }
.login-box         { animation-delay:.12s; }

/* Gradient kiri bergerak sangat lambat */
@keyframes slowDrift{
  0%   { background-position:0% 50%; }
  50%  { background-position:100% 50%; }
  100% { background-position:0% 50%; }
}
.login-left{
  background-size:160% 160%;
  animation:slowDrift 28s ease-in-out infinite;
}

/* Hover lembut pada chip tag */
.login-tag{
  transition:border-color .2s ease, color .2s ease, background .2s ease;
}
.login-tag:hover{
  border-color:rgba(57,163,111,.7);
  color:rgba(255,255,255,.9);
  background:rgba(57,163,111,.12);
}

/* Hormati preferensi pengguna yang mematikan animasi (aksesibilitas) */
@media (prefers-reduced-motion: reduce){
  .login-left > *,
  .login-box,
  .login-left{
    animation:none;
  }
}

@media(max-width:768px){
  .login-page{ grid-template-columns:1fr; }
  .login-left{ display:none; }
  .login-right{ padding:40px 24px; }
  .login-box{ max-width:100%; }
}

/* ================================================================
   UI POLISH PATCH — 2026-06-02
   Clean government-enterprise dashboard.
   Patch aman: hanya override tampilan, tidak menyentuh backend.
   ================================================================ */

:root{
  --forest:      #245f3e;
  --forest-mid:  #2f7a4f;
  --forest-lt:   #52b788;
  --forest-pale: #dcefe4;
  --forest-xpale:#f4fbf7;

  --navy:        #10261a;
  --navy-mid:    #0c1f15;
  --navy-lt:     #1f4631;

  --bg:          #f3f5f3;
  --card:        #ffffff;
  --text:        #1b2620;
  --text-mid:    #334b3d;
  --muted:       #6b7872;
  --border:      #e0e7e2;
  --border-lt:   #edf2ee;

  --shadow:      0 1px 2px rgba(16,38,26,.04), 0 4px 16px rgba(16,38,26,.045);
  --shadow-md:   0 4px 12px rgba(16,38,26,.08), 0 14px 36px rgba(16,38,26,.08);
}

body{
  background:
    radial-gradient(circle at top right, rgba(82,183,136,.07), transparent 32rem),
    var(--bg);
  color:var(--text);
  font-size:14px;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}

.app-sidebar{
  width:248px;
  background:linear-gradient(180deg, var(--navy) 0%, var(--navy-mid) 100%);
  border-right:1px solid rgba(255,255,255,.07);
}

.app-shell{ margin-left:248px; }

.sidebar-brand{
  height:78px;
  padding:18px;
}

.sidebar-logo{
  width:42px;
  height:42px;
  border-radius:13px;
  background:linear-gradient(160deg, #3a8f5e, #256040);
  box-shadow:0 10px 24px rgba(0,0,0,.18);
}

.sidebar-title{
  font-size:16px;
  letter-spacing:.01em;
}

.sidebar-subtitle{
  color:#8fa896;
  font-size:11px;
}

.sidebar-nav{
  padding:8px 12px 14px;
  gap:2px;
}

.sidebar-section{
  color:#6f8576;
  font-size:10.5px;
  letter-spacing:.12em;
  padding-left:2px;
}

.sidebar-link{
  min-height:41px;
  padding:10px 12px;
  border-radius:9px;
  color:#cfdacf;
  font-weight:600;
  font-size:13.5px;
}

.sidebar-link:hover{
  background:rgba(255,255,255,.055);
  color:#fff;
}

.sidebar-link.active{
  background:var(--forest-mid);
  color:#fff;
}

.sidebar-link.active::before{ display:none; }

.sidebar-footer{
  padding:14px 16px 16px;
  border-top:1px solid rgba(255,255,255,.07);
}

.user-avatar{
  background:var(--forest-mid);
  box-shadow:0 8px 20px rgba(0,0,0,.16);
}

.role-badge{
  background:rgba(47,122,79,.28);
  color:#92d9ac;
  border-radius:5px;
}

.sidebar-logout{ color:#9fb3a6; }

.container{
  width:calc(100% - 56px);
  max-width:1680px;
  padding:30px 28px 56px;
}

.page-header{
  margin-bottom:24px;
}

.page-title{
  font-size:30px;
  letter-spacing:-.02em;
  color:#17231d;
}

.page-subtitle,
.page-sub{
  color:var(--muted);
  font-size:14px;
}

.card,
.stat-card,
.tile,
.result-card,
.acl-box,
.profile-panel{
  border-color:var(--border);
  box-shadow:var(--shadow);
}

.card{
  border-radius:14px;
  padding:24px;
}

.stat-card{
  border-radius:14px;
  border-left:3px solid var(--forest-mid);
  padding:20px;
}

.stat-card::after{ display:none; }

.stat-label{
  color:var(--muted);
  font-size:11px;
  letter-spacing:.09em;
}

.stat-value{
  font-size:34px;
  letter-spacing:-.035em;
}

.tile:hover{
  transform:translateY(-1px);
  background:var(--forest-xpale);
  border-color:#b7d9c6;
  box-shadow:var(--shadow-md);
}

.table-wrap{
  border-color:var(--border);
  box-shadow:var(--shadow);
  background:#fff;
}

table{ font-size:13.5px; }

th{
  background:#f7faf7;
  color:var(--muted);
  font-size:10.75px;
  letter-spacing:.075em;
  font-weight:800;
}

th,td{
  padding:13px 12px;
  border-bottom:1px solid #eef2ef;
}

tr:nth-child(even) td{ background:#fcfdfc; }
tr:hover td,
tr:nth-child(even):hover td{ background:#f8fbf8; }

.btn,
.btn-download,
button,
input,
select,
textarea{
  font-family:var(--font-sans);
}

.btn{
  border-radius:9px;
  font-weight:700;
  box-shadow:none;
}

.btn-primary{
  background:var(--forest-mid);
  border-color:var(--forest-mid);
}

.btn-primary:hover{
  background:var(--forest);
  border-color:var(--forest);
}

.btn-download{
  border-radius:9px;
  border-color:#d0e6d9;
  background:#f4fbf7;
  color:var(--forest-mid);
}

.btn-download:hover{
  background:#e4f3ea;
  color:var(--forest);
}

input,
select,
textarea{
  border-color:var(--border);
  border-radius:9px;
}

.form-group label,
.admin-toolbar label,
.meta-form label{
  color:#41524a;
  font-size:12.5px;
  font-weight:700;
}

.pill,
.component-badge,
.imp-pill{
  border-radius:999px;
}

.package-title{
  letter-spacing:-.01em;
}

.app-footer{
  margin-left:248px;
  width:calc(100% - 248px);
  color:var(--muted);
}

.login-page{
  background:var(--bg);
}

.login-left{
  background:linear-gradient(160deg, #163f26 0%, #0a2113 100%);
}

.login-left-logo{
  background:linear-gradient(160deg, #3a8f5e, #256040);
}

.login-right{
  background:
    radial-gradient(circle at bottom right, rgba(82,183,136,.10), transparent 34rem),
    var(--bg);
}

.login-box{
  max-width:430px;
  background:rgba(255,255,255,.78);
  border:1px solid rgba(224,231,226,.85);
  border-radius:18px;
  box-shadow:var(--shadow-md);
  padding:30px;
  backdrop-filter:blur(4px);
}

.login-heading{
  font-size:26px;
  letter-spacing:-.02em;
}

.btn-login{
  width:100%;
  border-radius:10px;
  background:var(--forest-mid);
}

.btn-login:hover{
  background:var(--forest);
}

.login-meta{
  color:var(--muted);
}

.env-badge{
  border-radius:999px;
}

@media(max-width:900px){
  .app-sidebar{ width:260px; }
  .app-shell{ margin-left:0; }
  .app-footer{ margin-left:0; width:100%; }
  .container{ width:100%; padding:22px 16px 40px; }
}

@media(max-width:768px){
  .login-box{
    max-width:100%;
    padding:26px 22px;
  }
}

/* ================================================================
   DASHBOARD UI v1 — 2026-06-02
   Polish khusus dashboard tanpa mengubah backend.
   ================================================================ */
.dash-hero{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:18px;
  margin-bottom:22px;
  padding:2px 0 4px;
}

.dash-hero-main{ max-width:820px; }

.page-eyebrow,
.dash-eyebrow{
  display:inline-flex;
  align-items:center;
  gap:6px;
  margin:0 0 8px;
  color:var(--forest-mid);
  font-size:11px;
  line-height:1.25;
  font-weight:900;
  letter-spacing:.11em;
  text-transform:uppercase;
}

.dash-env-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:34px;
  padding:7px 14px;
  border-radius:999px;
  border:1px solid rgba(217,119,6,.25);
  background:#fffbeb;
  color:#b45309;
  font-size:11px;
  font-weight:900;
  letter-spacing:.08em;
  white-space:nowrap;
}

.dash-kpi-grid{
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:14px;
  margin-bottom:18px;
}

.dash-kpi-card{
  min-height:156px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
}

.dash-kpi-top{
  display:flex;
  align-items:center;
  gap:10px;
}

.dash-kpi-icon{
  width:34px;
  height:34px;
  border-radius:11px;
  display:grid;
  place-items:center;
  background:var(--forest-xpale);
  border:1px solid #d0e6d9;
  color:var(--forest-mid);
  font-weight:900;
}

.dash-access-split{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
  margin:11px 0 10px;
}

.dash-access-number{
  display:block;
  font-size:25px;
  line-height:1;
  font-weight:900;
  color:var(--text);
  letter-spacing:-.035em;
}

.dash-access-label{
  display:block;
  margin-top:4px;
  font-size:11px;
  color:var(--muted);
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.06em;
}

.dash-progress{
  height:9px;
  display:flex;
  overflow:hidden;
  border-radius:999px;
  background:#edf3ef;
  border:1px solid #dce7e1;
}

.dash-progress span{
  display:block;
  background:var(--forest-mid);
}

.dash-progress em{
  display:block;
  background:#9ccbb1;
}

.dash-layout-grid{
  display:grid;
  grid-template-columns:minmax(0, 1.55fr) minmax(320px, .85fr);
  gap:16px;
  align-items:stretch;
}

.dash-panel{ min-height:100%; }

.dash-panel-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  margin-bottom:16px;
}

.dash-panel-head h3,
.dash-panel h3,
.dash-admin-panel h3{
  letter-spacing:-.015em;
}

.dash-shortcut-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:13px;
}

.dash-shortcut{
  min-height:142px;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:7px;
  padding:18px;
}

.dash-shortcut-icon{
  width:38px;
  height:38px;
  display:grid;
  place-items:center;
  border-radius:12px;
  background:#f1f8f4;
  border:1px solid #d6eadf;
  color:var(--forest-mid);
  font-size:17px;
}

.dash-shortcut small,
.dash-admin-tile small,
.dash-region-item small{
  display:block;
  color:var(--muted);
  font-size:12.5px;
  line-height:1.45;
}

.dash-region-box{
  display:grid;
  gap:11px;
  margin-top:16px;
}

.dash-region-item{
  display:flex;
  align-items:flex-start;
  gap:12px;
  padding:14px;
  border-radius:13px;
  border:1px solid var(--border-lt);
  background:#f8fbf9;
}

.dash-region-item span{
  color:var(--forest-mid);
  font-size:13px;
  line-height:1.5;
}

.dash-admin-panel{
  margin-top:16px;
}

.dash-admin-grid{
  display:grid;
  grid-template-columns:repeat(4, minmax(0,1fr));
  gap:13px;
}

.dash-admin-tile{
  min-height:106px;
  padding:16px;
}

@media(max-width:1200px){
  .dash-kpi-grid{ grid-template-columns:repeat(2, minmax(0,1fr)); }
  .dash-layout-grid{ grid-template-columns:1fr; }
  .dash-admin-grid{ grid-template-columns:repeat(2, minmax(0,1fr)); }
}

@media(max-width:760px){
  .dash-hero{ flex-direction:column; }
  .dash-kpi-grid,
  .dash-shortcut-grid,
  .dash-admin-grid{ grid-template-columns:1fr; }
  .dash-panel-head{ flex-direction:column; }
  .dash-panel-head .btn{ width:100%; justify-content:center; }
}


/* ================================================================
   PATCH 2026-06-02 — Dashboard equal panel alignment
   Menetralkan rule global .card + .card pada panel yang berada
   di dalam CSS grid dashboard agar Katalog Data dan Cakupan Wilayah
   mulai dari garis atas yang sama.
   ================================================================ */
.dash-layout-grid > .card,
.dash-layout-grid > .dash-panel{
  margin-top: 0 !important;
  height: 100%;
}


/* ================================================================
   MIGRATED FROM datasets.php — KATALOG DATA
   Dipindahkan dari inline <style> agar style terpusat.
   ================================================================ */
/* ================================================================
   Katalog Data — UI polish v2026-06-02
   Scope: tampilan saja. Tidak mengubah query/backend.
   ================================================================ */
.b44-catalog {
  --b44-bg: #f5f8f6;
  --b44-card: #ffffff;
  --b44-text: #102317;
  --b44-heading: #0b1f14;
  --b44-muted: #667b70;
  --b44-border: #d9e4de;
  --b44-border-soft: #edf3ef;
  --b44-soft: #f0f8f3;
  --b44-green: #1f6f43;
  --b44-green-dark: #12452a;
  --b44-green-2: #2f8f5b;
  --b44-blue: #1d4ed8;
  --b44-amber: #b45309;
  --b44-red: #b91c1c;
  --b44-shadow: 0 10px 28px rgba(15, 31, 21, .08);
  --b44-shadow-sm: 0 3px 12px rgba(15, 31, 21, .06);
  color: var(--b44-text);
  max-width: 100%;
}
.b44-catalog * { box-sizing: border-box; }

.b44-page-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  margin: 2px 0 16px;
}

.b44-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 8px;
  color: var(--forest-mid, #2f7a4f);
  font-size: 11px;
  line-height: 1.25;
  font-weight: 900;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.b44-title {
  margin: 0 0 5px;
  font-size: 30px;
  line-height: 1.12;
  letter-spacing: -0.035em;
  font-weight: 850;
  color: var(--b44-heading);
}
.b44-subtitle {
  margin: 0;
  color: var(--b44-muted);
  font-size: 14.5px;
}
.b44-total {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--b44-green-dark);
  font-weight: 800;
  white-space: nowrap;
  margin-top: 8px;
  padding: 9px 12px;
  border: 1px solid #cfe1d6;
  background: #f5fbf7;
  border-radius: 999px;
}
.b44-total-icon {
  width: 18px;
  height: 18px;
  display: inline-grid;
  place-items: center;
  color: var(--b44-green);
}

.b44-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 18px;
}
.b44-kpi-card {
  background: var(--b44-card);
  border: 1px solid var(--b44-border);
  border-radius: 16px;
  padding: 14px 16px;
  box-shadow: var(--b44-shadow-sm);
  min-height: 82px;
}
.b44-kpi-label {
  margin: 0 0 5px;
  color: var(--b44-muted);
  font-size: 11.5px;
  font-weight: 850;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.b44-kpi-value {
  font-size: 24px;
  line-height: 1.1;
  font-weight: 900;
  color: var(--b44-heading);
}
.b44-kpi-note {
  margin-top: 5px;
  color: var(--b44-muted);
  font-size: 12px;
}

.b44-panel {
  background: var(--b44-card);
  border: 1px solid var(--b44-border);
  border-radius: 18px;
  padding: 18px;
  box-shadow: var(--b44-shadow-sm);
  margin-bottom: 22px;
}
.b44-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.b44-panel-title {
  margin: 0;
  color: var(--b44-heading);
  font-size: 16px;
  font-weight: 900;
  letter-spacing: -.01em;
}
.b44-panel-note {
  margin: 3px 0 0;
  color: var(--b44-muted);
  font-size: 12.5px;
}
.b44-filter-form {
  display: grid;
  grid-template-columns: minmax(230px, 1.35fr) minmax(185px, 1fr) minmax(180px, 1fr) minmax(132px, .7fr) minmax(165px, .8fr) minmax(145px, .7fr);
  gap: 12px;
  align-items: end;
}
.b44-filter-actions {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.b44-field { min-width: 0; }
.b44-label {
  display: block;
  margin: 0 0 6px;
  color: #425a4d;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .055em;
  text-transform: uppercase;
}
.b44-select,
.b44-input {
  width: 100%;
  min-height: 44px;
  padding: 10px 13px;
  border: 1px solid #cfdbd5;
  border-radius: 11px;
  background: #fff;
  color: var(--b44-text);
  outline: none;
  font-size: 13.8px;
  box-shadow: inset 0 1px 0 rgba(15, 31, 21, .02);
}
.b44-select:focus,
.b44-input:focus {
  border-color: rgba(31, 111, 67, .58);
  box-shadow: 0 0 0 4px rgba(31, 111, 67, .10);
}
.b44-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid var(--b44-border);
  background: #fff;
  color: var(--b44-text);
  text-decoration: none;
  border-radius: 11px;
  padding: 9px 14px;
  min-height: 39px;
  font-weight: 850;
  font-size: 13px;
  cursor: pointer;
  transition: background .16s ease, border-color .16s ease, transform .16s ease, box-shadow .16s ease;
}
.b44-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(15, 31, 21, .08); }
.b44-submit { background: var(--b44-green); color: #fff; border-color: var(--b44-green); }
.b44-submit:hover { background: var(--b44-green-dark); border-color: var(--b44-green-dark); color: #fff; }
.b44-reset { background: #f8fafc; }
.b44-reset:hover { background: #f1f5f9; color: var(--b44-text); }

.b44-active-filters {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--b44-border-soft);
}
.b44-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  border-radius: 999px;
  background: #f5fbf7;
  border: 1px solid #d5eadc;
  color: #28543b;
  font-size: 12px;
  font-weight: 750;
}

.b44-empty {
  min-height: 300px;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--b44-muted);
}
.b44-empty-box { max-width: 560px; }
.b44-empty-icon {
  width: 76px;
  height: 76px;
  margin: 0 auto 18px;
  border-radius: 20px;
  background: #eaf5ee;
  color: var(--b44-green);
  display: grid;
  place-items: center;
  font-size: 34px;
  box-shadow: inset 0 0 0 1px #d7eadf;
}
.b44-empty strong {
  color: #263a2e;
  display: block;
  font-size: 21px;
  margin-bottom: 7px;
}
.b44-results-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin: 18px 2px 11px;
  flex-wrap: wrap;
}
.b44-results-head h3 { margin: 0; font-size: 18px; color: var(--b44-heading); }
.b44-muted { color: var(--b44-muted); }
.b44-package-grid { display: grid; gap: 15px; }
.b44-package {
  background: var(--b44-card);
  border: 1px solid var(--b44-border);
  border-radius: 18px;
  box-shadow: var(--b44-shadow);
  overflow: hidden;
}
.b44-package-header {
  padding: 16px 18px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: flex-start;
  border-bottom: 1px solid var(--b44-border);
  background: linear-gradient(135deg, #ffffff 0%, #f7fbf8 100%);
  position: relative;
}
.b44-package-header::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  bottom: 14px;
  width: 4px;
  border-radius: 0 999px 999px 0;
  background: var(--b44-green);
}
.b44-package-title {
  margin: 0;
  padding-left: 2px;
  font-size: 17px;
  line-height: 1.28;
  letter-spacing: -0.02em;
  color: var(--b44-heading);
}
.b44-meta {
  margin-top: 9px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  color: var(--b44-muted);
  font-size: 12px;
}
.b44-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border-radius: 999px;
  background: #f6faf7;
  border: 1px solid #e4eee8;
}
.b44-badges { display: flex; gap: 7px; flex-wrap: wrap; justify-content: flex-end; }
.b44-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 9px;
  border-radius: 999px;
  font-size: 11.8px;
  font-weight: 900;
  border: 1px solid var(--b44-border);
  background: #f8fafc;
  color: #334155;
  white-space: nowrap;
}
.b44-badge.sk { background: #eef6ff; color: var(--b44-blue); border-color: #bfdbfe; }
.b44-badge.spa { background: #edfdf3; color: var(--b44-green-2); border-color: #bbf7d0; }
.b44-badge.map { background: #fff7ed; color: var(--b44-amber); border-color: #fed7aa; }
.b44-badge.batb { background: #f5f3ff; color: #6d28d9; border-color: #ddd6fe; }
.b44-badge.bad { background: #fef2f2; color: var(--b44-red); border-color: #fecaca; }
.b44-admin-form { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 12px; }
.b44-package-body { padding: 14px; background: #fff; }
.b44-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--b44-border);
  border-radius: 14px;
  background: #fff;
}
.b44-table {
  width: 100%;
  min-width: 1060px;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
}
.b44-table th {
  text-align: left;
  padding: 12px 12px;
  font-size: 11.5px;
  letter-spacing: .065em;
  color: #425466;
  background: #f5f8fb;
  border-bottom: 1px solid var(--b44-border);
  white-space: nowrap;
  text-transform: uppercase;
}
.b44-table td {
  padding: 12px 12px;
  border-bottom: 1px solid #edf2ee;
  vertical-align: top;
  font-size: 13px;
}
.b44-table tbody tr:nth-child(even) td { background: #fbfdfc; }
.b44-table tbody tr:hover td { background: #f6fbf8; }
.b44-table tr:last-child td { border-bottom: 0; }
.b44-row-title { font-weight: 750; color: #1f2937; min-width: 260px; }
.b44-row-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.b44-download {
  background: var(--b44-green);
  color: #fff;
  border-color: var(--b44-green);
  text-decoration: none;
  min-height: 34px;
  padding: 7px 12px;
}
.b44-download:hover { background: var(--b44-green-dark); color: #fff; border-color: var(--b44-green-dark); }
.b44-danger { color: var(--b44-red); border-color: #fecaca; background: #fff7f7; }
.b44-pill-soft {
  display: inline-flex;
  align-items: center;
  padding: 5px 8px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #475569;
  font-size: 12px;
  font-weight: 800;
}
@media (max-width: 1350px) {
  .b44-kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .b44-filter-form { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .b44-page-head { flex-direction: column; }
  .b44-kpi-grid { grid-template-columns: 1fr; }
  .b44-filter-form { grid-template-columns: 1fr; }
  .b44-filter-actions { justify-content: stretch; }
  .b44-filter-actions .b44-btn { flex: 1 1 auto; }
  .b44-package-header { grid-template-columns: 1fr; }
  .b44-badges { justify-content: flex-start; }
}


/* ================================================================
   MIGRATED FROM audit.php — AUDIT DOWNLOAD
   Dipindahkan dari inline <style> agar style terpusat.
   ================================================================ */
/* Audit Download UI v1 — tampilan saja, query/backend tidak diubah */
  .audit-wrap{
    max-width:1680px;
    margin:0 auto;
    padding:4px 0 56px;
    color:#1b2620;
  }
  .audit-hero{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:20px;
    margin-bottom:18px;
  }
  .audit-eyebrow{
    display:inline-flex;
    align-items:center;
    gap:6px;
    margin:0 0 8px;
    color:var(--forest-mid, #2f7a4f);
    font-size:11px;
    line-height:1.25;
    font-weight:900;
    letter-spacing:.11em;
    text-transform:uppercase;
  }
  .audit-title h1{
    margin:0 0 8px;
    color:#17231d;
    font-size:30px;
    line-height:1.1;
    font-weight:800;
    letter-spacing:-.03em;
  }
  .audit-title p{
    margin:0;
    color:#6b7872;
    font-size:14px;
    max-width:760px;
  }
  .audit-source-badge{
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding:9px 13px;
    border:1px solid #d7e6dc;
    border-radius:999px;
    background:#f4fbf7;
    color:#245f3e;
    font-size:12.5px;
    font-weight:800;
    white-space:nowrap;
  }
  .audit-kpi-grid{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:14px;
    margin-bottom:18px;
  }
  .audit-kpi{
    background:#fff;
    border:1px solid #e0e7e2;
    border-radius:14px;
    box-shadow:0 1px 2px rgba(16,38,26,.04),0 4px 16px rgba(16,38,26,.045);
    padding:16px 17px;
    min-height:94px;
    border-left:3px solid #2f7a4f;
  }
  .audit-kpi-label{
    color:#6b7872;
    font-size:10.75px;
    font-weight:800;
    letter-spacing:.09em;
    text-transform:uppercase;
    margin-bottom:8px;
  }
  .audit-kpi-value{
    color:#17231d;
    font-size:29px;
    line-height:1;
    font-weight:850;
    letter-spacing:-.04em;
  }
  .audit-kpi-note{
    margin-top:7px;
    color:#6b7872;
    font-size:12px;
  }
  .audit-filter-card,
  .audit-table-card{
    background:#fff;
    border:1px solid #e0e7e2;
    border-radius:14px;
    box-shadow:0 1px 2px rgba(16,38,26,.04),0 4px 16px rgba(16,38,26,.045);
  }
  .audit-filter-card{
    padding:18px;
    margin-bottom:18px;
  }
  .audit-filter-head{
    display:flex;
    justify-content:space-between;
    gap:14px;
    align-items:flex-start;
    margin-bottom:14px;
  }
  .audit-filter-head h2{
    margin:0 0 4px;
    font-size:16px;
    font-weight:800;
    letter-spacing:-.02em;
  }
  .audit-filter-head p{
    margin:0;
    color:#6b7872;
    font-size:13px;
  }
  .audit-filter-grid{
    display:grid;
    grid-template-columns:1.05fr 1.3fr 1.05fr .85fr auto auto;
    gap:12px;
    align-items:end;
  }
  .audit-field label{
    display:block;
    margin:0 0 6px;
    color:#41524a;
    font-size:12px;
    font-weight:800;
  }
  .audit-field input,
  .audit-field select{
    width:100%;
    height:43px;
    border:1px solid #dbe5dd;
    border-radius:9px;
    padding:0 13px;
    color:#1b2620;
    background:#fff;
    font-size:13.5px;
    outline:none;
  }
  .audit-field input:focus,
  .audit-field select:focus{
    border-color:#2f7a4f;
    box-shadow:0 0 0 3px rgba(47,122,79,.14);
  }
  .audit-actions{
    display:flex;
    gap:8px;
    align-items:end;
  }
  .audit-btn{
    height:43px;
    border-radius:9px;
    border:1px solid #dbe5dd;
    padding:0 15px;
    font-weight:800;
    font-size:13px;
    cursor:pointer;
    text-decoration:none;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:7px;
    white-space:nowrap;
    background:#fff;
    color:#1b2620;
  }
  .audit-btn-primary{
    background:#2f7a4f;
    border-color:#2f7a4f;
    color:#fff;
  }
  .audit-btn-primary:hover{background:#245f3e;color:#fff;}
  .audit-btn-soft:hover{background:#f6f8f6;color:#1b2620;}
  .audit-active-filters{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    margin-top:14px;
  }
  .audit-chip{
    display:inline-flex;
    align-items:center;
    gap:7px;
    border:1px solid #d7e6dc;
    border-radius:999px;
    background:#f4fbf7;
    color:#245f3e;
    padding:6px 10px;
    font-size:12px;
    font-weight:750;
  }
  .audit-table-card{overflow:hidden;}
  .audit-table-head{
    display:flex;
    justify-content:space-between;
    gap:16px;
    align-items:center;
    padding:16px 18px;
    border-bottom:1px solid #e5eee8;
  }
  .audit-table-head h2{
    margin:0 0 4px;
    color:#17231d;
    font-size:18px;
    font-weight:800;
    letter-spacing:-.02em;
  }
  .audit-table-head p{
    margin:0;
    color:#6b7872;
    font-size:13px;
  }
  .table-scroller{overflow:auto;}
  .audit-table{
    width:100%;
    min-width:1120px;
    table-layout:fixed;
    border-collapse:separate;
    border-spacing:0;
  }
  .audit-table th{
    position:sticky;
    top:0;
    z-index:1;
    background:#f7faf7;
    color:#6b7872;
    text-align:left;
    font-size:12px;
    font-weight:850;
    letter-spacing:.075em;
    text-transform:uppercase;
    padding:16px 18px;
    border-bottom:1px solid #dbe5dd;
    white-space:nowrap;
  }
  .audit-table td{
    padding:18px;
    border-bottom:1px solid #edf2ee;
    font-size:14px;
    line-height:1.6;
    vertical-align:top;
    color:#1b2620;
  }
  .audit-table tr:nth-child(even) td{background:#fcfdfc;}
  .audit-table tr:hover td{background:#f8fbf8;}
  .audit-user{font-weight:800;color:#17231d;}
  .audit-title-cell{max-width:360px;line-height:1.45;}
  .audit-file-cell{max-width:340px;line-height:1.45;}
  .audit-region-cell{max-width:220px;line-height:1.45;}
  .audit-table th:nth-child(1){width:11%;}
  .audit-table th:nth-child(2){width:11%;}
  .audit-table th:nth-child(3){width:32%;}
  .audit-table th:nth-child(4){width:19%;}
  .audit-table th:nth-child(5){width:12%;}
  .audit-table th:nth-child(6){width:15%;}
  .audit-table td{overflow-wrap:anywhere;}
  .audit-dataset-name{font-size:15px;font-weight:700;line-height:1.55;}
  .audit-filename,.audit-scope{font-size:13px;color:#5d7066;margin-top:6px;}
  .audit-component{margin-bottom:8px;}
  .audit-time-cell,.audit-ip-cell{font-variant-numeric:tabular-nums;}
  .audit-table td:last-child .audit-pill{white-space:normal;text-align:left;justify-content:flex-start;line-height:1.5;max-width:100%;box-sizing:border-box;}
  .mono{
    font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;
    font-size:12px;
    color:#334b3d;
  }
  .audit-pill{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border-radius:999px;
    padding:5px 10px;
    min-height:27px;
    font-size:11.5px;
    font-weight:850;
    border:1px solid #dbe5dd;
    white-space:nowrap;
  }
  .audit-pill-ok{background:#e8f6ee;color:#1b7a45;border-color:#c2ead0;}
  .audit-pill-info{background:#eef6ff;color:#2c5fa0;border-color:#cfe2ff;}
  .audit-pill-muted{background:#f4f6f4;color:#6b7872;border-color:#e2e8e2;}
  .audit-empty{
    padding:58px 24px;
    text-align:center;
    color:#6b7872;
  }
  @media(max-width:1220px){
    .audit-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
    .audit-filter-grid{grid-template-columns:1fr 1fr;}
    .audit-actions{grid-column:1/-1;justify-content:flex-start;}
  }
  @media(max-width:760px){
    .audit-hero{flex-direction:column;}
    .audit-kpi-grid,
    .audit-filter-grid{grid-template-columns:1fr;}
    .audit-actions{flex-direction:column;align-items:stretch;}
    .audit-btn{width:100%;}
    .audit-table-head{flex-direction:column;align-items:flex-start;}
  }


/* ================================================================
   PATCH 2026-06-03 — BPKH IV CENTRALIZED CARD SYSTEM v1
   Prinsip:
   1. Style utama dipusatkan di static/style.css.
   2. Halaman PHP tidak lagi membawa CSS besar sendiri.
   3. KPI/statistik memakai aksen hijau kiri.
   4. Panel/filter/tabel/shortcut tetap putih bersih tanpa aksen kiri.
   ================================================================ */

:root{
  --bpkh-card-radius: 16px;
  --bpkh-card-border: 1px solid rgba(15, 31, 21, .09);
  --bpkh-card-shadow: 0 8px 22px rgba(15, 31, 21, .065);
  --bpkh-card-shadow-hover: 0 12px 28px rgba(15, 31, 21, .105);
  --bpkh-kpi-accent: var(--forest-mid, #28734f);
  --bpkh-panel-bg: #fff;
}

/* Base untuk card umum lintas halaman */
.card,
.dash-panel,
.dash-admin-panel,
.b44-panel,
.audit-filter-card,
.audit-table-card,
.imp-card,
.result-card,
.profile-panel,
.acl-box{
  background: var(--bpkh-panel-bg);
  border: var(--bpkh-card-border);
  border-radius: var(--bpkh-card-radius);
  box-shadow: var(--bpkh-card-shadow);
}

/* KPI card lintas halaman: Dashboard, Katalog, Audit */
.stat-card,
.dash-kpi-card,
.b44-kpi-card,
.audit-kpi{
  position: relative;
  overflow: hidden;
  background: #fff;
  border: var(--bpkh-card-border) !important;
  border-left: var(--bpkh-card-border) !important;
  border-radius: var(--bpkh-card-radius) !important;
  box-shadow: var(--bpkh-card-shadow) !important;
  padding: 16px 18px 16px 22px !important;
  min-height: 92px;
}

.stat-card::after{ display:none !important; }

.stat-card::before,
.dash-kpi-card::before,
.b44-kpi-card::before,
.audit-kpi::before{
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  bottom: 14px;
  width: 5px;
  border-radius: 0 999px 999px 0;
  background: var(--bpkh-kpi-accent);
}

.stat-label,
.b44-kpi-label,
.audit-kpi-label{
  color: var(--muted, #5a7566) !important;
  font-size: 11px !important;
  line-height: 1.2;
  font-weight: 900 !important;
  letter-spacing: .085em !important;
  text-transform: uppercase;
  margin-bottom: 7px;
}

.stat-value,
.b44-kpi-value,
.audit-kpi-value{
  color: var(--text, #0f1f15) !important;
  font-size: 28px !important;
  line-height: 1.05 !important;
  font-weight: 900 !important;
  letter-spacing: -.04em;
}

.stat-sub,
.b44-kpi-note,
.audit-kpi-note{
  color: var(--muted, #5a7566) !important;
  font-size: 12px !important;
  margin-top: 7px;
}

/* Panel non-KPI tidak diberi aksen kiri */
.card::before,
.dash-panel::before,
.dash-admin-panel::before,
.b44-panel::before,
.audit-filter-card::before,
.audit-table-card::before,
.imp-card::before{
  display: none !important;
}

/* Shortcut/dashboard admin cards: clickable, bukan KPI */
.dash-action,
.dash-admin-link,
.shortcut-card{
  border-radius: 14px;
  border: var(--bpkh-card-border);
  background: #fff;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.dash-action:hover,
.dash-admin-link:hover,
.shortcut-card:hover{
  transform: translateY(-2px);
  border-color: rgba(40, 115, 79, .30);
  box-shadow: var(--bpkh-card-shadow-hover);
}

/* Grid KPI konsisten */
.dash-kpi-grid,
.b44-kpi-grid,
.audit-kpi-grid{
  gap: 14px !important;
  margin-bottom: 18px !important;
}

@media (max-width: 768px){
  .stat-card,
  .dash-kpi-card,
  .b44-kpi-card,
  .audit-kpi{
    border-radius: 14px !important;
    padding: 15px 16px 15px 20px !important;
  }

  .stat-value,
  .b44-kpi-value,
  .audit-kpi-value{
    font-size: 24px !important;
  }
}


/* ================================================================
   BPKH IV PORTAL — IMPORT PINTAR PAGE STYLE
   Centralized from public/admin/import.php
   Update: 2026-06-03
   ================================================================ */
.imp-wrap{max-width:1680px;margin:0 auto;padding:32px 36px 56px;color:#0f172a;}
  .imp-top{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;margin-bottom:26px;}
  .imp-title h1{margin:0 0 8px;font-size:32px;line-height:1.1;font-weight:850;letter-spacing:-.03em;color:#08152b;}
  .imp-title p{margin:0;color:#64748b;font-size:15px;}
  .imp-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:4px;}
  .imp-card{background:#fff;border:1px solid #dbe4ee;border-radius:14px;box-shadow:0 6px 18px rgba(15,23,42,.07);overflow:hidden;margin-bottom:24px;}
  .imp-card-pad{padding:18px;}
  .imp-scan-grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:12px;}
  .imp-field label{display:block;margin:0 0 6px;font-size:12px;font-weight:800;color:#526173;}
  .imp-field select,.imp-field input{height:44px;width:100%;border:1px solid #d5dfeb;border-radius:9px;padding:0 12px;font-size:14px;background:#fff;color:#0f172a;outline:none;}
  .imp-field select:focus,.imp-field input:focus{border-color:#8bb99f;box-shadow:0 0 0 3px rgba(22,101,52,.12);}
  .imp-muted{color:#64748b;font-size:13px;line-height:1.55;}
  .imp-path{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;background:#f5f8fb;border:1px solid #e2e8f0;border-radius:7px;padding:2px 6px;color:#334155;}
  .imp-btn{height:42px;border-radius:9px;border:1px solid #d5dfeb;padding:0 16px;font-weight:800;cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:7px;background:#fff;color:#0f172a;}
  .imp-btn-primary{background:#0f6f3a;border-color:#0f6f3a;color:#fff;box-shadow:0 4px 10px rgba(15,111,58,.18);}
  .imp-btn-danger{background:#fff;border-color:#fecaca;color:#b91c1c;}
  .imp-btn:disabled{opacity:.55;cursor:not-allowed;}
  .imp-flash{border-left:4px solid #0f6f3a;background:#f0fdf4;padding:12px 14px;border-radius:10px;margin-bottom:18px;color:#14532d;font-weight:700;}
  .imp-empty{min-height:310px;display:flex;align-items:center;justify-content:center;text-align:center;padding:34px;}
  .imp-empty-icon{width:72px;height:72px;margin:0 auto 18px;border-radius:18px;background:#e9f2ed;display:flex;align-items:center;justify-content:center;font-size:34px;color:#0f6f3a;}
  .imp-empty h2{margin:0 0 8px;font-size:21px;letter-spacing:-.02em;}
  .imp-empty p{margin:0;color:#64748b;line-height:1.45;}
  .imp-table-head{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:16px 18px;border-bottom:1px solid #e5edf5;}
  .imp-table-head h2{margin:0;font-size:18px;letter-spacing:-.02em;}
  .imp-table-head p{margin:3px 0 0;color:#64748b;font-size:13px;}
  .imp-table-scroll{overflow:auto;}
  .imp-table{width:100%;border-collapse:separate;border-spacing:0;min-width:1280px;}
  .imp-table th{background:#f3f7fb;color:#334155;text-align:left;font-size:13px;font-weight:850;padding:13px 14px;border-bottom:1px solid #dbe4ee;white-space:nowrap;}
  .imp-table td{padding:13px 14px;border-bottom:1px solid #edf2f7;font-size:13px;vertical-align:top;color:#172033;}
  .imp-table tr:hover td{background:#f8fbfd;}
  .imp-check{width:18px;height:18px;accent-color:#0f6f3a;}
  .imp-folder{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-weight:750;}
  .imp-pill{display:inline-flex;align-items:center;border-radius:999px;padding:5px 10px;font-size:12px;font-weight:850;border:1px solid #e2e8f0;background:#f8fafc;color:#475569;white-space:nowrap;margin:1px 2px 1px 0;}
  .imp-blue{background:#eff6ff;color:#1d4ed8;border-color:#bfdbfe;}.imp-green{background:#ecfdf5;color:#059669;border-color:#bbf7d0;}.imp-green-dark{background:#0f6f3a;color:#fff;border-color:#0f6f3a;}.imp-orange{background:#fff7ed;color:#c2410c;border-color:#fed7aa;}.imp-purple{background:#f5f3ff;color:#6d28d9;border-color:#ddd6fe;}.imp-yellow{background:#fffbeb;color:#92400e;border-color:#fde68a;}.imp-gray{background:#f1f5f9;color:#475569;border-color:#e2e8f0;}
  .imp-footer-actions{display:flex;gap:10px;flex-wrap:wrap;padding:16px 18px;border-top:1px solid #e5edf5;background:#fff;}
  .imp-detail-row td{background:#fbfdff!important;padding:0 14px 14px!important;}
  .imp-detail-box{border:1px solid #dbe4ee;border-radius:12px;background:#fff;overflow:hidden;margin:4px 0 2px;}
  .imp-detail-title{padding:11px 13px;border-bottom:1px solid #e5edf5;font-weight:850;color:#334155;display:flex;gap:10px;align-items:center;justify-content:space-between;}
  .imp-detail-table{width:100%;border-collapse:collapse;min-width:880px;}
  .imp-detail-table th{background:#f8fafc;color:#475569;font-size:12px;padding:10px 12px;text-align:left;border-bottom:1px solid #edf2f7;}
  .imp-detail-table td{font-size:12px;padding:10px 12px;border-bottom:1px solid #f1f5f9;vertical-align:top;}
  @media(max-width:1100px){.imp-wrap{padding:24px 18px 44px}.imp-top{flex-direction:column}.imp-scan-grid{grid-template-columns:1fr}.imp-actions{width:100%;}}


/* ================================================================
   BPKH IV PORTAL — REPAIR METADATA PAGE STYLE
   Centralized from public/admin/repair_meta.php
   Update: 2026-06-03
   ================================================================ */
.repair-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: end;
    margin: 16px 0;
}
.repair-toolbar label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
}
.repair-toolbar input,
.repair-toolbar select {
    min-width: 220px;
    max-width: 100%;
}
.repair-table-wrap {
    overflow-x: auto;
    width: 100%;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
}
.repair-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 1180px;
}
.repair-table th,
.repair-table td {
    padding: 12px 14px;
    border-bottom: 1px solid #e2e8f0;
    vertical-align: top;
    text-align: left;
}
.repair-table th {
    background: #f1f5f9;
    font-weight: 700;
}
.badge-ok,
.badge-warn,
.badge-muted {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 12px;
}
.badge-ok { background: #dcfce7; color: #166534; }
.badge-warn { background: #fef3c7; color: #92400e; }
.badge-muted { background: #e5e7eb; color: #374151; }
.meta-small { color: #64748b; font-size: 13px; line-height: 1.45; }
.issue-list { margin: 0; padding-left: 18px; }
.flash-success {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
    padding: 12px 14px;
    border-radius: 12px;
    margin-bottom: 14px;
}

/* ================================================================
   PATCH 2026-06-03 — ADMIN CARD UNIFICATION v1
   Tujuan: menyeragamkan box/card Import Pintar dan Repair Metadata
   setelah CSS dipusatkan.
   ================================================================ */
.admin-wrap{
  max-width:1680px;
  margin:0 auto;
  padding:4px 0 56px;
  color:var(--text, #0f1f15);
}

.imp-wrap{
  max-width:1680px !important;
  margin:0 auto !important;
  padding:4px 0 56px !important;
}

.admin-top,
.imp-top{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:20px;
  margin:0 0 22px;
}

.admin-title h1,
.imp-title h1{
  margin:0 0 8px !important;
  color:#0f1f15 !important;
  font-size:30px !important;
  line-height:1.1 !important;
  font-weight:900 !important;
  letter-spacing:-.035em !important;
}

.admin-title p,
.imp-title p{
  margin:0 !important;
  color:var(--muted, #5f7268) !important;
  font-size:14px !important;
  line-height:1.55 !important;
  max-width:980px;
}

.admin-title code,
.repair-page code{
  padding:2px 6px;
  border-radius:7px;
  background:#f4f7f5;
  border:1px solid #e2e8e3;
  color:#33483d;
  font-size:.92em;
}

.admin-card,
.imp-card,
.repair-filter-card,
.repair-preview-card{
  background:#fff !important;
  border:1px solid rgba(15,31,21,.10) !important;
  border-radius:16px !important;
  box-shadow:0 8px 22px rgba(15,31,21,.065) !important;
  overflow:hidden;
  margin-bottom:22px !important;
}

.admin-card-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  padding:18px 20px;
  border-bottom:1px solid #e5eee8;
  background:#fff;
}

.admin-card-head h2{
  margin:0 0 5px !important;
  color:#17231d;
  font-size:18px !important;
  line-height:1.2;
  font-weight:900 !important;
  letter-spacing:-.02em;
}

.admin-card-head p{
  margin:0;
  color:var(--muted, #5f7268);
  font-size:13px;
  line-height:1.45;
}

/* Import form: samakan padding panel dengan repair */
.imp-card-pad,
.repair-filter-card .repair-toolbar,
.repair-filter-card > .meta-small{
  padding-left:20px;
  padding-right:20px;
}

.repair-filter-card .repair-toolbar{
  margin:0;
  padding-top:18px;
  padding-bottom:12px;
}

.repair-filter-card > .meta-small{
  padding-bottom:18px;
}

.imp-card-pad{
  padding:20px !important;
}

/* Field form admin agar Import dan Repair terasa satu sistem */
.imp-field label,
.repair-toolbar label{
  display:block;
  margin:0 0 6px !important;
  color:#41524a !important;
  font-size:12px !important;
  line-height:1.2;
  font-weight:900 !important;
}

.imp-field select,
.imp-field input,
.repair-toolbar input,
.repair-toolbar select{
  height:44px !important;
  min-width:0;
  width:100%;
  border:1px solid #dbe5dd !important;
  border-radius:10px !important;
  padding:0 13px !important;
  color:#17231d !important;
  background:#fff !important;
  font-size:14px !important;
  outline:none;
}

.imp-field select:focus,
.imp-field input:focus,
.repair-toolbar input:focus,
.repair-toolbar select:focus{
  border-color:var(--forest-mid, #2f7a4f) !important;
  box-shadow:0 0 0 3px rgba(47,122,79,.14) !important;
}

.repair-toolbar{
  display:grid !important;
  grid-template-columns:minmax(240px, .9fr) minmax(220px, .7fr) auto;
  gap:12px !important;
  align-items:end !important;
}

.repair-toolbar .btn,
.repair-page .btn,
.imp-btn{
  height:43px;
  border-radius:10px !important;
  border:1px solid #dbe5dd;
  padding:0 16px !important;
  font-size:13px !important;
  font-weight:900 !important;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  text-decoration:none;
  white-space:nowrap;
}

.repair-toolbar .btn.primary,
.repair-page .btn.primary,
.imp-btn-primary{
  background:var(--forest-mid, #2f7a4f) !important;
  border-color:var(--forest-mid, #2f7a4f) !important;
  color:#fff !important;
  box-shadow:0 4px 10px rgba(47,122,79,.18) !important;
}

.repair-toolbar .btn.primary:hover,
.repair-page .btn.primary:hover,
.imp-btn-primary:hover{
  background:var(--forest, #245f3e) !important;
  border-color:var(--forest, #245f3e) !important;
  color:#fff !important;
}

/* Table panel: header dan isi konsisten */
.repair-preview-card .repair-table-wrap{
  margin:0 20px;
  border-radius:14px !important;
  border:1px solid #dbe5dd !important;
  overflow:auto;
}

.repair-table th,
.imp-table th{
  background:#f7faf7 !important;
  color:#5f7268 !important;
  font-size:11px !important;
  font-weight:900 !important;
  letter-spacing:.075em !important;
  text-transform:uppercase;
  border-bottom:1px solid #dbe5dd !important;
}

.repair-table td,
.imp-table td{
  border-bottom:1px solid #edf2ee !important;
  color:#1b2620 !important;
}

.repair-table tr:hover td,
.imp-table tr:hover td{
  background:#f8fbf8 !important;
}

.repair-preview-card form > div:last-child{
  padding:16px 20px 20px;
}

.imp-empty{
  min-height:310px;
  display:flex;
  align-items:center;
  justify-content:center;
}

.flash-success{
  border-radius:14px !important;
  margin-bottom:18px !important;
}

@media(max-width:1100px){
  .admin-top,
  .imp-top{flex-direction:column;}
  .repair-toolbar{grid-template-columns:1fr !important;}
  .repair-toolbar .btn{width:100%;}
}

@media(max-width:760px){
  .admin-wrap,
  .imp-wrap{padding:0 0 44px !important;}
  .admin-card,
  .imp-card{border-radius:14px !important;}
  .admin-card-head{padding:16px;}
  .imp-card-pad{padding:16px !important;}
  .repair-filter-card .repair-toolbar,
  .repair-filter-card > .meta-small{
    padding-left:16px;
    padding-right:16px;
  }
  .repair-preview-card .repair-table-wrap{margin:0 16px;}
}


/* ================================================================
   PATCH 2026-07-11 - FINAL UI ALIAS LAYER v1
   Scope kecil: shortcut aktif Dashboard, alias tombol admin,
   dan struktur dasar badge/status tanpa mengubah warna semantik.
   ================================================================ */

/* Shortcut/dashboard admin cards: selector aktif di dashboard.php */
.tile.dash-shortcut,
.tile.dash-admin-tile{
  border:var(--bpkh-card-border);
  border-radius:14px;
  padding:18px;
  background:#fff;
  box-shadow:var(--bpkh-card-shadow);
  transition:transform .16s ease, box-shadow .16s ease, border-color .16s ease, background .16s ease;
}

.tile.dash-shortcut:hover,
.tile.dash-admin-tile:hover{
  transform:translateY(-2px);
  border-color:rgba(40,115,79,.30);
  box-shadow:var(--bpkh-card-shadow-hover);
}

/* Alias kompatibilitas markup admin lama: class="btn primary" */
.btn.primary{
  background:var(--forest-mid);
  color:#fff;
  border-color:var(--forest-mid);
}

.btn.primary:hover{
  background:var(--forest);
  border-color:var(--forest);
  color:#fff;
}

/* Base struktur badge/status. Warna tetap diatur oleh class semantik masing-masing. */
.pill,
.b44-badge,
.b44-pill-soft,
.audit-pill,
.imp-pill,
.badge-ok,
.badge-warn,
.badge-muted,
.role-badge,
.env-badge,
.dash-env-badge,
.login-tag{
  display:inline-flex;
  align-items:center;
  padding:4px 10px;
  border-radius:999px;
  font-size:12px;
  font-weight:800;
  line-height:1.25;
  white-space:nowrap;
}

/* ACL: align administration layout without changing permission behavior. */
.acl-page .acl-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:20px;
  align-items:start;
}
.acl-page .acl-box {
  min-width:0;
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
}
.acl-page .acl-box h4 { margin:0 0 10px; }
.acl-page .acl-box select { width:100%; max-width:none; }
.acl-page .acl-box:last-child { grid-column:1 / -1; }
.acl-page .acl-box:last-child > label {
  display:inline-flex !important;
  width:calc(50% - 12px) !important;
  box-sizing:border-box;
  vertical-align:top;
  margin:0 16px 16px 0 !important;
}
.acl-page .acl-box:last-child > label:nth-of-type(2) {
  margin-right:0 !important;
}
.acl-page .acl-box:last-child > button { display:block; }
.acl-page .acl-table-wrap { overflow-x:auto; }
@media (max-width:800px) {
  .acl-page .acl-grid { grid-template-columns:1fr; }
  .acl-page .acl-box:last-child > label {
    display:flex !important;
    width:100% !important;
    margin-right:0 !important;
  }
}
/* User administration: consistent form and responsive account list. */
.users-page .users-form-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:20px 24px;
}
.users-page .users-form-grid > div { min-width:0; }
.users-page .users-form-grid label {
  display:block;
  margin-bottom:8px;
  color:var(--text, #0f1f15);
  font-weight:600;
}
.users-page .users-form-grid input,
.users-page .users-form-grid select {
  width:100%;
  max-width:none;
  box-sizing:border-box;
}
.users-page .users-table-wrap { overflow-x:auto; }
.users-page .users-table-wrap table { width:100%; min-width:760px; }
@media (max-width:800px) {
  .users-page .users-form-grid { grid-template-columns:1fr; }
}
/* Admin package reception. */
.reception-table-wrap { overflow-x:auto; }
.reception-table-wrap table { width:100%; min-width:780px; }
.reception-page .card { margin-bottom:20px; }
.reception-page form { margin:0; }
.reception-page button:disabled { opacity:.55; cursor:not-allowed; }

/* Browser package submission. */
.package-upload-page .card{margin-bottom:20px}.package-upload-page .users-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.package-upload-page label{display:block;margin:10px 0 6px}.package-upload-page input:not([type=checkbox]),.package-upload-page select,.package-upload-page textarea{width:100%;box-sizing:border-box}.package-upload-page input[type=checkbox]{width:auto;margin-right:10px}.package-upload-regions{margin:20px 0;padding:14px;border:1px solid #dce5df;border-radius:12px}.package-upload-test{margin:20px 0!important}.package-file-row{display:grid;grid-template-columns:minmax(0,1fr) 180px;gap:16px;align-items:center;padding:8px 0}.package-upload-page progress{width:100%;height:20px}.package-upload-page button:disabled{opacity:.55;cursor:not-allowed}@media(max-width:800px){.package-upload-page .users-form-grid,.package-file-row{grid-template-columns:1fr}}

/* Adaptive package profiles and logical spatial assets. */
.package-profile-details{margin:20px 0;padding:18px;border:1px solid #dce5df;border-radius:12px}.package-upload-page [hidden]{display:none!important}.reception-summary{display:grid;grid-template-columns:180px minmax(0,1fr);gap:8px 16px}.reception-summary dt{font-weight:600}.reception-summary dd{margin:0;overflow-wrap:anywhere}@media(max-width:800px){.reception-summary{grid-template-columns:1fr}}

/* Owner-only package history. */
.my-submissions-page .card{margin-bottom:20px}.submission-pagination{display:flex;gap:16px;align-items:center;flex-wrap:wrap;margin:20px 0}.my-submissions-page td{vertical-align:top}

/* Structured substantive review form; scoped to the reception page. */
.reception-page .substance-review-form { margin-top:20px; }
.reception-page .review-aspects { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; }
.reception-page .review-aspect { min-width:0; margin:0; padding:20px; border:1px solid #dce5df; border-radius:12px; background:#fafcfb; }
.reception-page .review-aspect legend { max-width:100%; padding:0 6px; font-weight:700; color:#244b36; }
.reception-page .substance-review-form label { display:block; margin:12px 0 7px; font-weight:600; }
.reception-page .substance-review-form select,
.reception-page .substance-review-form textarea { display:block; width:100%; max-width:100%; box-sizing:border-box; font:inherit; }
.reception-page .substance-review-form textarea { min-height:100px; resize:vertical; }
.reception-page .review-decision-panel { margin-top:24px; padding-top:16px; border-top:1px solid #dce5df; }
.reception-page .review-decision-panel select { max-width:560px; }
@media(max-width:800px) { .reception-page .review-aspects { grid-template-columns:1fr; } }

/* Human-readable reception package names; technical IDs stay in disclosure details. */
.reception-page .reception-package-name { display:block; max-width:38rem; overflow-wrap:anywhere; line-height:1.5; }
.reception-page .reception-package-meta { display:block; margin:5px 0; color:#5a6d61; font-size:.9rem; }
.reception-page .reception-tracking { margin:8px 0; font-size:.85rem; color:#5a6d61; }
.reception-page .reception-tracking summary { cursor:pointer; }
.reception-page .reception-tracking small { display:block; margin-top:5px; overflow-wrap:anywhere; }

/* Reserve equal icon width so emoji and text symbols align every menu label. */
.sidebar-nav .sidebar-link > span:first-child {
  display:inline-flex;
  flex:0 0 20px;
  width:20px;
  align-items:center;
  justify-content:center;
  line-height:1;
}
.sidebar-nav .sidebar-link > span:nth-child(2) { min-width:0; }

/* Lightweight Admin health checks. */
.health-page .health-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.health-page .health-item { border:1px solid #dae5df; border-radius:12px; padding:18px; }
.health-page .health-item h3 { margin:0 0 10px; }
.health-page .health-state { display:inline-block; padding:4px 10px; border-radius:8px; }
.health-page .health-state-ok { color:#155b36; background:#e5f5eb; }
.health-page .health-state-warn { color:#754a00; background:#fff4d6; }
.health-page .health-state-bad { color:#942828; background:#ffe9e9; }
@media(max-width:760px) { .health-page .health-list { grid-template-columns:1fr; } }

/* Legacy Admin tools: readable metadata comparison without wide eight-column rows. */
.repair-page .repair-table-wrap { width:calc(100% - 40px); box-sizing:border-box; }
.repair-page .repair-table { table-layout:fixed; min-width:900px; width:100%; }
.repair-page .repair-col-select { width:50px; }
.repair-page .repair-col-package { width:24%; }
.repair-page .repair-col-compare { width:51%; }
.repair-page .repair-table td { white-space:normal; overflow-wrap:anywhere; }
.repair-page .repair-table td p { margin:8px 0; }
.repair-page .repair-table td:first-child { text-align:center; }
.repair-page .repair-table input[type=checkbox] { width:18px; height:18px; }
.repair-page .repair-comparison { display:grid; grid-template-columns:minmax(70px,.65fr) repeat(2,minmax(0,1fr)); font-size:12px; line-height:1.55; }
.repair-page .repair-comparison > div { padding:8px; border-bottom:1px solid #e2e9e4; min-width:0; overflow-wrap:anywhere; }
.repair-page .repair-comparison-head { font-weight:700; background:#f1f6f2; }
.repair-page .repair-field-name { color:#52675b; }
.repair-page .repair-changed { background:#fff4d6; font-weight:700; border-left:3px solid #a76b00; }
.repair-page .repair-folder-detail summary { cursor:pointer; color:#2e754b; }
.repair-page .repair-guidance { padding:0 20px; color:#52675b; }
.repair-page .issue-list { margin-top:12px; padding-left:17px; }
.imp-wrap .imp-purpose { padding:18px 22px; margin-bottom:18px; }
.imp-wrap .imp-purpose h2 { font-size:18px; margin:0 0 8px; }
.imp-wrap .imp-purpose p { margin:6px 0; }
.imp-wrap .imp-location-detail { margin-top:14px; overflow-wrap:anywhere; }
.imp-wrap .imp-location-detail summary { cursor:pointer; margin-bottom:8px; }
@media(max-width:760px) { .repair-page .repair-table-wrap { width:calc(100% - 32px); } }

/* Align filter controls independently of the Subfolder help text. */
.repair-page .repair-toolbar { align-items:start !important; }
.repair-page .repair-toolbar > div:last-child { padding-top:calc(12px * 1.2 + 6px); }
.repair-page .repair-toolbar .btn { height:44px; }
@media(max-width:980px) {
  .repair-page .repair-toolbar { grid-template-columns:1fr !important; }
  .repair-page .repair-toolbar > div:last-child { padding-top:0; }
}

/* Import preview: six balanced columns, clear prose and legible result notes. */
.imp-wrap .imp-results-table { table-layout:fixed; min-width:1040px; width:100%; }
.imp-results-table .imp-col-select { width:44px; }
.imp-results-table .imp-col-package { width:25%; }
.imp-results-table .imp-col-region { width:18%; }
.imp-results-table .imp-col-theme { width:14%; }
.imp-results-table .imp-col-components { width:150px; }
.imp-wrap .imp-results-table > thead > tr > th { font-size:12px !important; letter-spacing:.035em !important; white-space:normal; padding:15px 16px; }
.imp-wrap .imp-results-table > tbody > tr > td { font-size:14px; line-height:1.65; padding:18px 16px; white-space:normal; overflow-wrap:anywhere; }
.imp-results-table .imp-package-title { display:block; font:inherit; font-size:15px; font-weight:700; line-height:1.5; }
.imp-results-table .imp-package-meta { display:block; margin-top:8px; font-size:12.5px; line-height:1.6; color:#52685c; }
.imp-results-table .imp-package-location { margin-top:8px; font-size:12.5px; color:#52685c; }
.imp-results-table .imp-package-location summary { cursor:pointer; color:#2c7049; }
.imp-results-table .imp-package-location p { margin:7px 0 0; overflow-wrap:anywhere; }
.imp-results-table .imp-component-list { display:flex; flex-wrap:wrap; gap:4px; }
.imp-results-table .imp-component-list .imp-pill { margin:0; font-size:11.5px; padding:3px 8px; }
.imp-results-table .imp-result-status .imp-pill { white-space:normal; line-height:1.5; font-size:12px; }
.imp-results-table .imp-result-note { margin:9px 0 0; font-size:13.5px; line-height:1.65; }
.imp-results-table .imp-detail-table .imp-folder { font-family:inherit; font-weight:600; overflow-wrap:anywhere; }
.imp-results-table input[type=checkbox] { width:17px; height:17px; }

/* Metadata list: readable package identity, grouped fields, no inherited scan-table widths. */
.metadata-page .metadata-package-table { width:100%; min-width:1000px; table-layout:fixed; border-collapse:separate; border-spacing:0; }
.metadata-package-table .metadata-col-action { width:84px; }
.metadata-package-table .metadata-col-package { width:30%; }
.metadata-package-table .metadata-col-region { width:23%; }
.metadata-package-table .metadata-col-category { width:22%; }
.metadata-page .metadata-package-table th { padding:15px 16px; font-size:12px; letter-spacing:.035em; text-align:left; background:#f5f9f6; color:#53695c; border-bottom:1px solid #dbe5df; }
.metadata-page .metadata-package-table td { padding:18px 16px; font-size:14px; line-height:1.65; vertical-align:top; white-space:normal; overflow-wrap:anywhere; border-bottom:1px solid #e6ede8; }
.metadata-package-table tbody tr:nth-child(even) { background:#fafcfb; }
.metadata-package-table tbody tr:hover { background:#f2f8f4; }
.metadata-package-table .metadata-package-title { display:block; font-size:15px; font-weight:700; line-height:1.5; }
.metadata-package-table .metadata-secondary { display:block; margin-top:8px; font-size:12.5px; line-height:1.6; color:#52685c; }
.metadata-package-table .metadata-group-detail { margin-top:8px; font-size:12.5px; }
.metadata-package-table .metadata-group-detail summary { cursor:pointer; color:#2c7049; }
.metadata-package-table .metadata-group-detail p { margin:6px 0 0; color:#52685c; overflow-wrap:anywhere; }
.metadata-package-table .metadata-category-label { font-weight:600; }
.metadata-package-table .metadata-component-list { display:flex; flex-wrap:wrap; gap:5px; }
.metadata-package-table .metadata-component { padding:3px 8px; border:1px solid #dce7e0; border-radius:8px; background:#eff6f1; color:#2f6645; font-size:11.5px; line-height:1.5; }
.metadata-page .meta-editor-table th { font-size:12px; }
.metadata-page .meta-editor-table td, .metadata-page .meta-editor-table input, .metadata-page .meta-editor-table select, .metadata-page .meta-editor-table textarea { font-size:14px; line-height:1.6; }

/* Read-only integrity reports. */
.integrity-actions { display:flex; flex-wrap:wrap; gap:10px; align-items:center; margin:18px 0; }
.integrity-actions form { margin:0; }
.integrity-table-wrap { overflow-x:auto; }
.integrity-page .integrity-table { width:100%; min-width:1000px; table-layout:fixed; border-collapse:collapse; }
.integrity-table th:nth-child(1) { width:28%; }
.integrity-table th:nth-child(2) { width:24%; }
.integrity-table th:nth-child(3) { width:30%; }
.integrity-table th { font-size:12px; text-align:left; background:#f3f8f4; padding:14px; }
.integrity-table td { font-size:14px; line-height:1.6; padding:16px 14px; vertical-align:top; overflow-wrap:anywhere; border-bottom:1px solid #e0e9e3; }
.integrity-table ul { margin:0; padding-left:18px; }
.integrity-secondary { display:block; margin-top:8px; font-size:12.5px; color:#52685c; }
