/*
 * Pojok Hukum Polres Cilegon — Bootstrap 5 UI Foundation
 * v0.19.1 development hotfix
 * Bootstrap 5.3.6 is bundled locally; this file bridges existing app classes
 * to Bootstrap tokens while preserving the locked application behaviour.
 */

.bootstrap5-ui{
  --bs-primary:#8c1025;
  --bs-primary-rgb:140,16,37;
  --bs-secondary:#667085;
  --bs-success:#087443;
  --bs-warning:#d8a11d;
  --bs-danger:#b42318;
  --bs-body-color:#17202a;
  --bs-body-bg:#f5f6f8;
  --bs-border-color:#e2e5ea;
  --bs-border-radius:.85rem;
  --bs-border-radius-lg:1.1rem;
  --bs-border-radius-xl:1.35rem;
  --bs-box-shadow-sm:0 .35rem 1rem rgba(16,24,40,.055);
  --bs-box-shadow:0 1rem 2.75rem rgba(16,24,40,.10);
  --bs-link-color:#8c1025;
  --bs-link-hover-color:#690b1c;
}

/* Global shell */
.bootstrap5-ui.public-body,
.bootstrap5-ui.admin-body{
  color:var(--bs-body-color);
  background:
    radial-gradient(circle at 0 -15%,rgba(140,16,37,.045),transparent 28%),
    #f5f6f8;
}
.bootstrap5-ui .container{max-width:1200px}
.bootstrap5-ui .topbar{
  padding:0;
  background:rgba(255,255,255,.94);
  border-bottom:1px solid rgba(226,229,234,.95);
  box-shadow:0 1px 0 rgba(16,24,40,.02);
}
.bootstrap5-ui .topbar.scrolled{box-shadow:0 10px 30px rgba(16,24,40,.075)}
.bootstrap5-ui .topbar-inner{min-height:76px}
.bootstrap5-ui .brand-copy strong{font-weight:850;letter-spacing:.55px}
.bootstrap5-ui .brand-copy small{font-weight:600;color:#7b8491}
.bootstrap5-ui .mobile-menu-btn{
  width:43px;height:43px;padding:9px;border:1px solid #e2e5ea;background:#fff;box-shadow:0 3px 10px rgba(16,24,40,.05)
}
.bootstrap5-ui .mobile-menu-btn:focus{box-shadow:0 0 0 .22rem rgba(140,16,37,.12)}
.bootstrap5-ui .public-nav>a,
.bootstrap5-ui .admin-nav>a{
  color:#394150;
}
.bootstrap5-ui .public-nav>a.active,
.bootstrap5-ui .admin-nav>a.active{
  color:#8c1025;
}


/* Header compatibility guard.
 * The public/admin header keeps the proven v0.18.1 flex shell.
 * Bootstrap supplies tokens/components, but does not own navbar structure yet.
 */
@media (min-width:701px){
  .bootstrap5-ui .topbar-inner{display:flex;flex-wrap:nowrap;align-items:center;justify-content:space-between}
  .bootstrap5-ui nav.public-nav,
  .bootstrap5-ui nav.admin-nav{
    position:static;
    display:flex;
    flex-direction:row;
    align-items:center;
  }
}
@media (max-width:700px){
  .bootstrap5-ui nav.public-nav,
  .bootstrap5-ui nav.admin-nav{
    display:none;
    flex-direction:column;
    align-items:stretch;
  }
  .bootstrap5-ui nav.public-nav.open,
  .bootstrap5-ui nav.admin-nav.open{display:flex}
}

/* Bootstrap-flavoured interactive controls */
.bootstrap5-ui .btn{
  --bs-btn-font-weight:750;
  --bs-btn-border-radius:.75rem;
  min-height:42px;
  gap:.4rem;
  letter-spacing:0;
  box-shadow:none;
}
.bootstrap5-ui .btn.btn-primary,
.bootstrap5-ui .btn.primary{
  --bs-btn-color:#fff;
  --bs-btn-bg:#8c1025;
  --bs-btn-border-color:#8c1025;
  --bs-btn-hover-bg:#730d1f;
  --bs-btn-hover-border-color:#730d1f;
  --bs-btn-active-bg:#650b1b;
  --bs-btn-active-border-color:#650b1b;
  background:#8c1025;
  color:#fff;
  border:1px solid #8c1025;
  box-shadow:0 8px 18px rgba(140,16,37,.14);
}
.bootstrap5-ui .btn.btn-primary:hover,
.bootstrap5-ui .btn.primary:hover{
  background:#730d1f;
  border-color:#730d1f;
  box-shadow:0 10px 22px rgba(140,16,37,.18);
}
.bootstrap5-ui input,
.bootstrap5-ui select,
.bootstrap5-ui textarea,
.bootstrap5-ui .form-control,
.bootstrap5-ui .form-select{
  border-color:#d9dde4;
  border-radius:.78rem;
}
.bootstrap5-ui .form-control:focus,
.bootstrap5-ui .form-select:focus,
.bootstrap5-ui input:focus,
.bootstrap5-ui select:focus,
.bootstrap5-ui textarea:focus{
  border-color:#a63a4d;
  box-shadow:0 0 0 .22rem rgba(140,16,37,.10);
}
.bootstrap5-ui .alert{border:0;border-radius:.9rem;box-shadow:var(--bs-box-shadow-sm)}

/* Public navigation */
.bootstrap5-ui .public-nav{gap:3px}
.bootstrap5-ui .public-nav>a:not(.nav-110){
  padding:.55rem .7rem;
  border-radius:.7rem;
  font-size:.82rem;
  font-weight:700;
}
.bootstrap5-ui .public-nav>a:not(.nav-110):hover{background:#f5f6f8;color:#8c1025}
.bootstrap5-ui .public-nav>a.active:not(.nav-110){background:#fbecef;color:#8c1025}
.bootstrap5-ui .public-nav .nav-110{
  margin-left:.2rem;
  border:1px solid #f0ccd3;
  background:#fff7f8;
}

/* Homepage hero: calmer government-service portal composition */
.bootstrap5-ui .experience-hero{
  min-height:510px;
  background:
    radial-gradient(circle at 76% 18%,rgba(255,213,106,.17),transparent 26%),
    linear-gradient(118deg,#171116 0%,#48101d 50%,#8c1025 100%);
}
.bootstrap5-ui .experience-hero-inner{min-height:510px;padding-top:48px;padding-bottom:72px}
.bootstrap5-ui .experience-hero h1{
  font-size:clamp(46px,6.1vw,76px);
  letter-spacing:-2.4px;
  margin-bottom:20px;
}
.bootstrap5-ui .experience-hero p{font-size:17px;line-height:1.75;max-width:700px}
.bootstrap5-ui .refined-search.input-group{
  display:flex;
  flex-wrap:nowrap;
  gap:0;
  padding:6px;
  overflow:hidden;
  border-radius:1rem;
}
.bootstrap5-ui .refined-search.input-group .form-control{
  min-width:0;
  min-height:50px;
  border:0;
  border-radius:.75rem 0 0 .75rem!important;
  padding-inline:1rem;
}
.bootstrap5-ui .refined-search.input-group .hero-btn{
  min-width:92px;
  min-height:50px;
  border:0;
  border-radius:0 .75rem .75rem 0!important;
  background:#f2c94c;
  color:#2f2025;
  box-shadow:none;
}
.bootstrap5-ui .popular-searches a{border-color:rgba(255,255,255,.16);background:rgba(255,255,255,.07)}
.bootstrap5-ui .hero-seal{filter:saturate(.96)}

/* Common content surfaces */
.bootstrap5-ui .panel,
.bootstrap5-ui .article-card,
.bootstrap5-ui .latest-card,
.bootstrap5-ui .topic-compact,
.bootstrap5-ui .service-hub-card,
.bootstrap5-ui .public-regulation-card,
.bootstrap5-ui .table-wrap{
  border-color:#e3e6eb;
  box-shadow:0 5px 18px rgba(16,24,40,.045);
}
.bootstrap5-ui .panel{border-radius:1rem}
.bootstrap5-ui .latest-card.card{display:flex;flex-direction:column}
.bootstrap5-ui .latest-card.card b{margin-top:auto}
.bootstrap5-ui .service-hub-card.card{height:100%}
.bootstrap5-ui .topic-compact:hover,
.bootstrap5-ui .latest-card:hover,
.bootstrap5-ui .service-hub-card:hover{
  box-shadow:0 14px 32px rgba(16,24,40,.09);
}
.bootstrap5-ui .section-heading h2{font-weight:790;letter-spacing:-.8px}
.bootstrap5-ui .eyebrow{letter-spacing:1.35px}

/* Tables adopt Bootstrap's spacing while keeping horizontal safety wrapper. */
.bootstrap5-ui .table-wrap{overflow:hidden}
.bootstrap5-ui .table-wrap>.table-responsive{margin:0}
.bootstrap5-ui table.table{margin:0;--bs-table-bg:transparent;--bs-table-hover-bg:#fafbfc}
.bootstrap5-ui table.table>:not(caption)>*>*{padding:.78rem .9rem;border-bottom-color:#eceef2}
.bootstrap5-ui table.table thead th{background:#f8f9fb;color:#687181;font-size:.71rem;letter-spacing:.55px}
.bootstrap5-ui table.table tbody tr:last-child td{border-bottom:0}

/* Admin shell: compact, calm, denser than public portal. */
.bootstrap5-ui.admin-body{background:#f4f5f7}
.bootstrap5-ui .admin-topbar{background:rgba(255,255,255,.97)}
.bootstrap5-ui .admin-topbar .container{max-width:1380px}
.bootstrap5-ui .admin-nav>a,
.bootstrap5-ui .nav-dropdown>summary{border-radius:.65rem}
.bootstrap5-ui .admin-nav>a.active,
.bootstrap5-ui .nav-dropdown.active>summary{background:#fbecef;color:#8c1025}
.bootstrap5-ui .admin-account>summary{border-radius:.8rem;box-shadow:0 2px 8px rgba(16,24,40,.035)}
.bootstrap5-ui .admin-avatar{border-radius:.65rem;background:#8c1025}
.bootstrap5-ui .admin-stat-grid.row{display:grid;margin:0 0 22px}
.bootstrap5-ui .admin-stat-grid.row>*{width:auto;padding:0}
.bootstrap5-ui .admin-stat-link.card{
  border-radius:1rem;
  box-shadow:0 5px 18px rgba(16,24,40,.045);
}
.bootstrap5-ui .admin-stat-link.card:hover{box-shadow:0 14px 28px rgba(16,24,40,.08)}
.bootstrap5-ui .admin-quick-grid a{border-radius:.9rem;background:#fff}
.bootstrap5-ui .admin-filter-bar{border-radius:.9rem;box-shadow:0 4px 14px rgba(16,24,40,.035)}

/* Login */
.bootstrap5-ui.page-login main{
  background:
    radial-gradient(circle at 50% -5%,rgba(140,16,37,.08),transparent 28%),
    linear-gradient(180deg,#f7f7f9,#f1f3f5);
}
.bootstrap5-ui .internal-login-panel.card{
  border:0!important;
  border-radius:1.15rem;
  box-shadow:0 1.6rem 4rem rgba(16,24,40,.11);
}
.bootstrap5-ui .internal-login-panel .form-label{display:grid;gap:.45rem;margin:0;font-size:.8rem;font-weight:750;color:#394150}
.bootstrap5-ui .internal-login-panel .form-control{min-height:48px;background:#fff}

/* Footer */
.bootstrap5-ui .footer{background:#111318}
.bootstrap5-ui .footer-service-links a{border-radius:.65rem}

@media(max-width:900px){
  .bootstrap5-ui .topbar-inner{min-height:70px}
  .bootstrap5-ui nav.public-nav,
  .bootstrap5-ui nav.admin-nav{
    top:70px;
    padding:.65rem;
    border-radius:1rem;
  }
  .bootstrap5-ui .public-nav>a:not(.nav-110){padding:.7rem .8rem}
  .bootstrap5-ui .refined-search.input-group{display:flex;flex-direction:row}
}

@media(max-width:560px){
  .bootstrap5-ui .experience-hero h1{font-size:43px;letter-spacing:-1.6px}
  .bootstrap5-ui .experience-hero p{font-size:15.5px}
  .bootstrap5-ui .refined-search.input-group{padding:5px}
  .bootstrap5-ui .refined-search.input-group .hero-btn{min-width:76px;padding-inline:.7rem}
  .bootstrap5-ui .internal-login-panel.card{border-radius:1rem}
}


/* ==========================================================================
   v0.19.2 — Public Website Bootstrap 5 Migration
   Public pages only. Admin and assistant engine behaviour are unchanged.
   ========================================================================== */

.bootstrap5-ui.public-body{
  --ph-surface:#ffffff;
  --ph-surface-soft:#f8f9fb;
  --ph-surface-warm:#fff9f5;
  --ph-text:#202631;
  --ph-muted:#6c7481;
  --ph-border:#e6e8ed;
  --ph-brand:#8c1025;
  --ph-brand-soft:#fbecef;
  --ph-gold:#d7a21f;
}

/* Shared public page rhythm */
.bootstrap5-ui.public-body .public-bs-page{
  background:
    radial-gradient(circle at 8% 0%,rgba(140,16,37,.04),transparent 24%),
    linear-gradient(180deg,#f8f9fb 0,#f4f5f7 100%);
}
.bootstrap5-ui.public-body .public-bs-section{position:relative}
.bootstrap5-ui.public-body .public-bs-hero{
  background:
    radial-gradient(circle at 100% 0%,rgba(140,16,37,.055),transparent 36%),
    #fff;
  border:1px solid rgba(226,229,234,.78)!important;
}
.bootstrap5-ui.public-body .public-bs-hero h1{
  font-weight:820;
  letter-spacing:-1.45px;
}
.bootstrap5-ui.public-body .public-bs-hero .lead{
  color:#596270;
  max-width:790px;
}

/* Topic directory */
.bootstrap5-ui.public-body .topic-directory-grid{
  gap:1rem;
}
.bootstrap5-ui.public-body .topic-directory-card.card{
  padding:1.25rem;
  border:1px solid transparent!important;
  background:#fff;
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
}
.bootstrap5-ui.public-body .topic-directory-card.card:hover{
  transform:translateY(-3px);
  border-color:#eed8dd!important;
  box-shadow:0 1rem 2rem rgba(16,24,40,.09)!important;
}
.bootstrap5-ui.public-body .topic-directory-card h2{font-size:1.05rem;margin-bottom:.35rem}
.bootstrap5-ui.public-body .topic-directory-card p{color:var(--ph-muted)}
.bootstrap5-ui.public-body .topic-directory-card small{
  color:var(--ph-brand);font-weight:750
}

/* Search / FAQ */
.bootstrap5-ui.public-body .faq-header.public-bs-hero{margin-bottom:1rem}
.bootstrap5-ui.public-body .public-bs-search{
  max-width:920px;
  margin:0 0 1.1rem;
  border:1px solid var(--ph-border);
}
.bootstrap5-ui.public-body .public-bs-search .faq-search-icon{
  display:flex;align-items:center;justify-content:center;
  width:46px;color:#8b929d;font-size:1.25rem
}
.bootstrap5-ui.public-body .public-bs-search .form-control{
  box-shadow:none!important;background:transparent
}
.bootstrap5-ui.public-body .faq-filter-scroll{
  padding:.2rem 0 .8rem;
  gap:.45rem;
}
.bootstrap5-ui.public-body .faq-chip.badge{
  display:inline-flex;align-items:center;gap:.35rem;
  padding:.62rem .82rem;
  border:1px solid #e2e5ea;
  background:#fff;
  color:#4b5563;
  font-size:.75rem;
  font-weight:700;
  text-decoration:none;
}
.bootstrap5-ui.public-body .faq-chip.badge:hover{border-color:#d6aab3;color:var(--ph-brand)}
.bootstrap5-ui.public-body .faq-chip.badge.active{
  border-color:#efd0d6;background:var(--ph-brand-soft);color:var(--ph-brand)
}
.bootstrap5-ui.public-body .faq-results-meta{
  margin:.3rem 0 .9rem;color:#69717e
}
.bootstrap5-ui.public-body .faq-row.card{
  padding:1.15rem 1.25rem;
  margin-bottom:.75rem;
  border:1px solid transparent!important;
  transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease;
}
.bootstrap5-ui.public-body .faq-row.card:hover{
  transform:translateY(-2px);
  border-color:#ead8dc!important;
  box-shadow:0 .8rem 1.8rem rgba(16,24,40,.08)!important;
}
.bootstrap5-ui.public-body .faq-row h2{font-size:1.03rem;line-height:1.4}
.bootstrap5-ui.public-body .faq-row p{color:#656e7a}

/* Article */
.bootstrap5-ui.public-body .public-breadcrumb{
  margin-bottom:1rem;padding:.15rem 0;
  font-size:.78rem;color:#7a828d
}
.bootstrap5-ui.public-body .article-main.card{
  overflow:hidden;padding:clamp(1.25rem,3vw,2.5rem);
  border:1px solid rgba(226,229,234,.82)!important;
}
.bootstrap5-ui.public-body .article-public-header{
  padding-bottom:1.5rem;border-bottom:1px solid #eceef2
}
.bootstrap5-ui.public-body .article-public-header .pill{
  display:inline-flex;
  border-radius:999px;
  padding:.38rem .68rem;
  background:var(--ph-brand-soft);
  color:var(--ph-brand);
  font-weight:750
}
.bootstrap5-ui.public-body .article-public-meta{
  background:#f8f9fb;border-radius:.85rem;padding:.8rem 1rem
}
.bootstrap5-ui.public-body .article-disclaimer.alert{
  margin:1.4rem 0;background:#fff9e8;color:#674c00
}
.bootstrap5-ui.public-body .source-box-final.card,
.bootstrap5-ui.public-body .related-box-final.card,
.bootstrap5-ui.public-body .public-feedback-final.card{
  padding:1.2rem 1.25rem;
  margin-top:1.25rem;
  border:1px solid #e7e9ed!important;
}
.bootstrap5-ui.public-body .article-aside-card.card{
  border:1px solid #e7e9ed!important;
  background:#fff
}
.bootstrap5-ui.public-body .article-aside-card.quiet.card{background:#f8f9fb}
.bootstrap5-ui.public-body .article-source-actions a,
.bootstrap5-ui.public-body .related-list a{
  border-radius:.75rem
}

/* Services & procedure */
.bootstrap5-ui.public-body .procedure-public-grid{gap:1rem}
.bootstrap5-ui.public-body .procedure-public-card.card{
  border:1px solid transparent!important;
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease
}
.bootstrap5-ui.public-body .procedure-public-card.card:hover{
  transform:translateY(-3px);
  border-color:#ead5da!important;
  box-shadow:0 1rem 2rem rgba(16,24,40,.09)!important
}
.bootstrap5-ui.public-body .service-boundary-grid>div.card{
  padding:1rem 1.1rem;border:1px solid #e8eaee!important
}
.bootstrap5-ui.public-body .procedure-detail-main.card{
  padding:clamp(1.2rem,3vw,2.2rem);
  border:1px solid #e6e8ed!important
}
.bootstrap5-ui.public-body .procedure-detail-header{
  padding-bottom:1.2rem;border-bottom:1px solid #eceef2
}
.bootstrap5-ui.public-body .procedure-block.rounded-3{
  padding:1rem 1.05rem;background:#fafbfc;border:1px solid #eceef2
}
.bootstrap5-ui.public-body .procedure-block.note.alert{
  background:#fff8e5;color:#594400
}
.bootstrap5-ui.public-body .procedure-block.legal.rounded-4{
  padding:1.1rem;background:#f7f4f5;border:1px solid #eadde0
}

/* Activities */
.bootstrap5-ui.public-body .accountability-kpis>div.card{
  padding:1rem;border:1px solid #e7e9ed!important;background:#fff
}
.bootstrap5-ui.public-body .activity-toolbar.card{
  padding:1rem 1.1rem;margin:1rem 0;border:1px solid #e7e9ed!important
}
.bootstrap5-ui.public-body .activity-toolbar .form-select{min-width:155px}
.bootstrap5-ui.public-body .activity-public-card.card{
  border:1px solid transparent!important;
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease
}
.bootstrap5-ui.public-body .activity-public-card.card:hover{
  transform:translateY(-3px);
  border-color:#e6d1d7!important;
  box-shadow:0 1rem 2rem rgba(16,24,40,.09)!important
}
.bootstrap5-ui.public-body .report-public-grid>a.card{
  padding:1rem 1.1rem;border:1px solid #e7e9ed!important
}
.bootstrap5-ui.public-body .activity-detail-header.card{margin-bottom:1rem}
.bootstrap5-ui.public-body .activity-story.card{border:1px solid #e7e9ed!important}

/* Legal sources */
.bootstrap5-ui.public-body .legal-source-hero.card{
  border:1px solid #e6e8ed!important
}
.bootstrap5-ui.public-body .sisdivkum-about.card{
  padding:1.25rem 1.35rem;border:1px solid #e7e9ed!important
}
.bootstrap5-ui.public-body .official-catalog-card.card,
.bootstrap5-ui.public-body .legal-update-card.card,
.bootstrap5-ui.public-body .public-regulation-row.card,
.bootstrap5-ui.public-body .divkum-reference-grid>a.card{
  border:1px solid #e7e9ed!important
}
.bootstrap5-ui.public-body .official-catalog-card.card:hover,
.bootstrap5-ui.public-body .divkum-reference-grid>a.card:hover{
  border-color:#ddbcc3!important;
  box-shadow:0 1rem 2rem rgba(16,24,40,.085)!important
}
.bootstrap5-ui.public-body .regulation-public-filter.card{
  display:grid;
  grid-template-columns:minmax(220px,1fr) 150px 190px auto auto;
  gap:.7rem;
  align-items:center;
  margin-bottom:1rem;
  border:1px solid #e7e9ed!important
}
.bootstrap5-ui.public-body .public-regulation-row.card{
  padding:1rem 1.15rem;margin-bottom:.75rem
}

/* About / privacy */
.bootstrap5-ui.public-body .about-clean-hero.card,
.bootstrap5-ui.public-body .about-clean-intro.card,
.bootstrap5-ui.public-body .about-clean-how.card,
.bootstrap5-ui.public-body .about-clean-governance.card,
.bootstrap5-ui.public-body .about-clean-service.card{
  border:1px solid #e7e9ed!important
}
.bootstrap5-ui.public-body .about-clean-identity.card{
  padding:1.2rem;background:#f8f9fb
}
.bootstrap5-ui.public-body .about-clean-grid>article.card{
  padding:1.1rem;border:1px solid #e7e9ed!important
}
.bootstrap5-ui.public-body .about-clean-boundary.alert{
  background:#fff8e7;color:#5b4707
}
.bootstrap5-ui.public-body .policy-copy.card{
  padding:clamp(1.2rem,3vw,2rem);border:1px solid #e7e9ed!important
}

/* Home page public modules */
.bootstrap5-ui.public-body .leader-welcome-copy.card{
  border:1px solid #e7e9ed!important;background:#fff
}
.bootstrap5-ui.public-body .leader-photo-clean.card{
  border:1px solid #e7e9ed!important;background:#fff
}
.bootstrap5-ui.public-body .topic-compact.card{
  border:1px solid transparent!important;background:#fff
}
.bootstrap5-ui.public-body .topic-compact.card:hover{
  border-color:#e6ccd2!important
}
.bootstrap5-ui.public-body .home-procedure-panel.card,
.bootstrap5-ui.public-body .home-activity-panel.card{
  border:1px solid #e7e9ed!important
}
.bootstrap5-ui.public-body .official-source-teaser-inner.card{
  border:1px solid rgba(226,229,234,.8)!important
}
.bootstrap5-ui.public-body .public-boundary-inner.card{
  padding:1.3rem 1.4rem;
  border:1px solid #e5d7da!important
}

/* Consistent pagination as Bootstrap-like segmented navigation. */
.bootstrap5-ui.public-body .pagination{
  gap:.45rem;align-items:center;justify-content:center;margin-top:1.25rem
}
.bootstrap5-ui.public-body .pagination a,
.bootstrap5-ui.public-body .pagination span{
  min-height:38px;
  display:inline-flex;align-items:center;justify-content:center;
  padding:.45rem .75rem;
  border:1px solid #e1e4e9;
  border-radius:.7rem;
  background:#fff
}
.bootstrap5-ui.public-body .pagination a:hover{border-color:#d1a5ae;color:var(--ph-brand)}
.bootstrap5-ui.public-body .pagination a.disabled{opacity:.45;pointer-events:none}

/* Responsive safety */
@media(max-width:991.98px){
  .bootstrap5-ui.public-body .regulation-public-filter.card{
    grid-template-columns:1fr 1fr;
  }
  .bootstrap5-ui.public-body .regulation-public-filter.card input[type="search"]{
    grid-column:1/-1;
  }
}
@media(max-width:767.98px){
  .bootstrap5-ui.public-body .public-bs-page{padding-top:1.25rem!important;padding-bottom:1.75rem!important}
  .bootstrap5-ui.public-body .public-bs-hero{padding:1.2rem!important}
  .bootstrap5-ui.public-body .article-main.card{padding:1.15rem}
  .bootstrap5-ui.public-body .public-bs-search{display:flex;flex-wrap:nowrap}
  .bootstrap5-ui.public-body .public-bs-search .faq-search-icon{display:none}
  .bootstrap5-ui.public-body .public-bs-search .btn{min-width:78px}
  .bootstrap5-ui.public-body .regulation-public-filter.card{grid-template-columns:1fr}
  .bootstrap5-ui.public-body .regulation-public-filter.card input[type="search"]{grid-column:auto}
}


/* ==========================================================================
   v0.19.2.1 — Public UI polish after browser UAT
   ========================================================================== */

/* Kapolres greeting: one visual surface, balanced text + portrait. */
.bootstrap5-ui.public-body .leader-welcome-shell{
  background:
    radial-gradient(circle at 86% 18%,rgba(140,16,37,.07),transparent 32%),
    linear-gradient(135deg,#fff 0%,#fff 62%,#fbf7f8 100%);
  border:1px solid #e4e7ec!important;
}
.bootstrap5-ui.public-body .leader-welcome-shell .leader-welcome-grid{
  display:grid;
  grid-template-columns:minmax(0,1.18fr) minmax(330px,.82fr);
  gap:0;
  align-items:stretch;
}
.bootstrap5-ui.public-body .leader-welcome-shell .leader-welcome-copy{
  display:flex;
  flex-direction:column;
  justify-content:center;
  max-width:none;
  padding:clamp(1.6rem,3.5vw,3.25rem)!important;
  background:transparent;
}
.bootstrap5-ui.public-body .leader-welcome-shell .leader-photo-clean{
  min-height:520px;
  display:flex;
  align-items:flex-end;
  justify-content:center;
  padding:1.5rem 1.5rem 0;
  background:linear-gradient(180deg,rgba(255,255,255,.3),rgba(246,241,242,.95));
  border-left:1px solid #ece1e3;
  border-radius:0;
}
.bootstrap5-ui.public-body .leader-welcome-shell .leader-photo-clean img{
  display:block;
  width:min(100%,430px);
  height:100%;
  max-height:550px;
  object-fit:contain;
  object-position:center bottom;
  mix-blend-mode:multiply;
  filter:drop-shadow(0 18px 28px rgba(17,24,39,.12));
}

/* "Penting untuk dipahami": explicit dark card and readable text. */
.bootstrap5-ui.public-body .public-boundary-card{
  padding:1.35rem 1.5rem;
  background:
    radial-gradient(circle at 94% 20%,rgba(171,36,57,.28),transparent 33%),
    linear-gradient(135deg,#22252c,#181a1f)!important;
  border:1px solid rgba(255,255,255,.08);
  color:#fff!important;
}
.bootstrap5-ui.public-body .public-boundary-card h2{color:#fff!important}
.bootstrap5-ui.public-body .public-boundary-card p{color:#d4d8df!important}
.bootstrap5-ui.public-body .public-boundary-card .eyebrow{color:#ffd56a!important}

/* Topic card visual hierarchy. */
.bootstrap5-ui.public-body .topic-directory-card.card{min-height:148px}
.bootstrap5-ui.public-body .topic-directory-card.card h2{
  margin:0 0 .35rem;
  color:#202631!important;
  font-size:1.15rem!important;
  line-height:1.3;
  font-weight:760;
}
.bootstrap5-ui.public-body .topic-directory-card.card p{
  color:#68717d!important;
  font-size:.82rem;
  line-height:1.55;
}
.bootstrap5-ui.public-body .topic-directory-card.card small{
  color:#9d1830!important;
  font-size:.72rem;
}

/* Search result count and server-side pagination. */
.bootstrap5-ui.public-body .faq-results-meta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
  flex-wrap:wrap;
}
.bootstrap5-ui.public-body .faq-results-meta small{
  color:#7b8490;
  font-weight:600;
}
.bootstrap5-ui.public-body .faq-pagination{
  display:flex;
  flex-wrap:wrap;
  gap:.42rem;
  align-items:center;
  justify-content:center;
  margin-top:1.4rem;
}
.bootstrap5-ui.public-body .faq-pagination .page-number{
  min-width:40px;
  min-height:40px;
  padding:.45rem .62rem;
}
.bootstrap5-ui.public-body .faq-pagination .page-number.active{
  background:#8c1025;
  border-color:#8c1025;
  color:#fff;
  font-weight:800;
}
.bootstrap5-ui.public-body .faq-pagination .page-nav{
  min-height:40px;
  padding:.45rem .85rem;
}
.bootstrap5-ui.public-body .faq-pagination .disabled{
  opacity:.45;
  cursor:not-allowed;
}
.bootstrap5-ui.public-body .faq-pagination .page-ellipsis{
  min-width:auto;
  padding:.45rem .25rem;
  border-color:transparent;
  background:transparent;
  color:#8a929d;
}

@media(max-width:991.98px){
  .bootstrap5-ui.public-body .leader-welcome-shell .leader-welcome-grid{
    grid-template-columns:1fr 330px;
  }
  .bootstrap5-ui.public-body .leader-welcome-shell .leader-photo-clean{min-height:470px}
}
@media(max-width:767.98px){
  .bootstrap5-ui.public-body .leader-welcome-shell .leader-welcome-grid{grid-template-columns:1fr}
  .bootstrap5-ui.public-body .leader-welcome-shell .leader-photo-clean{
    min-height:390px;
    border-left:0;
    border-top:1px solid #ece1e3;
    padding-top:1rem;
  }
  .bootstrap5-ui.public-body .leader-welcome-shell .leader-photo-clean img{max-height:410px}
  .bootstrap5-ui.public-body .faq-results-meta{
    align-items:flex-start;
    flex-direction:column;
    gap:.2rem;
  }
}


/* ==========================================================================
   v0.19.2.2 — Public UI consistency sweep
   Browser-UAT correction across all migrated public pages.
   ========================================================================== */

/* All migrated title/hero cards use the full content width.
   Text itself remains bounded so long lines stay readable. */
.bootstrap5-ui.public-body .public-bs-hero{
  width:100%;
  max-width:none!important;
}
.bootstrap5-ui.public-body .public-bs-hero>.eyebrow,
.bootstrap5-ui.public-body .public-bs-hero>h1,
.bootstrap5-ui.public-body .public-bs-hero>.lead{
  max-width:980px;
}
.bootstrap5-ui.public-body .services-hero,
.bootstrap5-ui.public-body .activities-hero,
.bootstrap5-ui.public-body .faq-header{
  width:100%;
  max-width:none!important;
}
.bootstrap5-ui.public-body .services-hero .service-principle-note{
  max-width:980px;
}

/* Public card text must never be visually clipped by a Bootstrap/custom
   interaction. Descriptions may still use their intentional line clamps. */
.bootstrap5-ui.public-body .topic-directory-card>div,
.bootstrap5-ui.public-body .procedure-public-card>div,
.bootstrap5-ui.public-body .activity-public-body,
.bootstrap5-ui.public-body .official-catalog-card,
.bootstrap5-ui.public-body .legal-update-card,
.bootstrap5-ui.public-body .latest-card,
.bootstrap5-ui.public-body .home-procedure-list>a>span+span,
.bootstrap5-ui.public-body .service-hub-card>div{
  min-width:0;
}
.bootstrap5-ui.public-body .topic-directory-card h2,
.bootstrap5-ui.public-body .procedure-public-card h2,
.bootstrap5-ui.public-body .activity-public-body h2,
.bootstrap5-ui.public-body .official-catalog-card h2,
.bootstrap5-ui.public-body .legal-update-card h3,
.bootstrap5-ui.public-body .latest-card h3,
.bootstrap5-ui.public-body .service-hub-card h3,
.bootstrap5-ui.public-body .about-clean-grid h3{
  display:block!important;
  overflow:visible!important;
  text-overflow:clip!important;
  white-space:normal!important;
  -webkit-line-clamp:unset!important;
  -webkit-box-orient:initial!important;
  overflow-wrap:anywhere;
}
.bootstrap5-ui.public-body .procedure-public-card h2{
  font-size:1.12rem!important;
  line-height:1.32;
}
.bootstrap5-ui.public-body .activity-public-body h2{
  font-size:1.08rem!important;
  line-height:1.32;
}
.bootstrap5-ui.public-body .official-catalog-card h2{
  font-size:1rem!important;
  line-height:1.35;
}
.bootstrap5-ui.public-body .legal-update-card h3,
.bootstrap5-ui.public-body .latest-card h3{
  font-size:1.08rem!important;
  line-height:1.38;
}

/* About page: preserve intentional dark branded surfaces.
   Bootstrap `.card` / `.alert` must not wash them out. */
.bootstrap5-ui.public-body.page-about .about-clean-identity.card{
  --bs-card-color:#fff;
  color:#fff!important;
  padding:1.5rem!important;
  border:1px solid rgba(255,255,255,.1)!important;
  background:
    radial-gradient(circle at 82% 8%,rgba(232,185,76,.16),transparent 34%),
    linear-gradient(145deg,#1a1215,#53101a 48%,#8c1025)!important;
  box-shadow:0 20px 48px rgba(39,12,19,.18)!important;
}
.bootstrap5-ui.public-body.page-about .about-clean-identity.card strong{
  color:#fff!important;
}
.bootstrap5-ui.public-body.page-about .about-clean-identity.card small{
  color:#ddd3d6!important;
}
.bootstrap5-ui.public-body.page-about .about-clean-identity.card .about-clean-crests span{
  background:rgba(255,255,255,.24)!important;
}

.bootstrap5-ui.public-body.page-about .about-clean-boundary.alert{
  color:#fff!important;
  border:1px solid rgba(255,255,255,.08)!important;
  background:
    radial-gradient(circle at 92% 15%,rgba(140,16,37,.28),transparent 34%),
    linear-gradient(135deg,#22252c,#17191e)!important;
}
.bootstrap5-ui.public-body.page-about .about-clean-boundary.alert h2{
  color:#fff!important;
}
.bootstrap5-ui.public-body.page-about .about-clean-boundary.alert p{
  color:#cbd0d8!important;
}
.bootstrap5-ui.public-body.page-about .about-clean-boundary.alert .eyebrow{
  color:#f0c45c!important;
}

/* About cards: explicit readable foregrounds regardless of Bootstrap variables. */
.bootstrap5-ui.public-body.page-about .about-clean-hero,
.bootstrap5-ui.public-body.page-about .about-clean-intro,
.bootstrap5-ui.public-body.page-about .about-clean-how,
.bootstrap5-ui.public-body.page-about .about-clean-governance,
.bootstrap5-ui.public-body.page-about .about-clean-service,
.bootstrap5-ui.public-body.page-about .about-clean-grid>article{
  color:#202631;
}
.bootstrap5-ui.public-body.page-about .about-clean-hero-copy>p,
.bootstrap5-ui.public-body.page-about .about-clean-intro-copy p,
.bootstrap5-ui.public-body.page-about .about-clean-how-copy p,
.bootstrap5-ui.public-body.page-about .about-clean-governance-main p,
.bootstrap5-ui.public-body.page-about .about-clean-service p,
.bootstrap5-ui.public-body.page-about .about-clean-grid p{
  color:#596270!important;
}

/* Keep migrated cards visually consistent and legible. */
.bootstrap5-ui.public-body .procedure-public-card.card,
.bootstrap5-ui.public-body .activity-public-card.card,
.bootstrap5-ui.public-body .faq-row.card,
.bootstrap5-ui.public-body .topic-directory-card.card,
.bootstrap5-ui.public-body .official-catalog-card.card,
.bootstrap5-ui.public-body .legal-update-card.card,
.bootstrap5-ui.public-body .public-regulation-row.card{
  color:#202631;
}
.bootstrap5-ui.public-body .procedure-public-card.card p,
.bootstrap5-ui.public-body .activity-public-card.card p,
.bootstrap5-ui.public-body .faq-row.card p,
.bootstrap5-ui.public-body .topic-directory-card.card p,
.bootstrap5-ui.public-body .official-catalog-card.card p,
.bootstrap5-ui.public-body .legal-update-card.card p,
.bootstrap5-ui.public-body .public-regulation-row.card p{
  color:#68717d;
}

/* Avoid a visually "cut" title card on medium widths. */
@media (min-width:768px) and (max-width:1199.98px){
  .bootstrap5-ui.public-body .public-bs-hero{
    padding:2rem!important;
  }
  .bootstrap5-ui.public-body .public-bs-hero h1{
    font-size:clamp(2.25rem,5vw,3.25rem);
  }
}

/* Mobile: keep full-width cards but reduce visual weight. */
@media(max-width:767.98px){
  .bootstrap5-ui.public-body .public-bs-hero{
    width:100%;
    border-radius:1.15rem!important;
  }
  .bootstrap5-ui.public-body .public-bs-hero h1{
    font-size:clamp(2rem,10vw,2.75rem);
    line-height:1.04;
  }
  .bootstrap5-ui.public-body.page-about .about-clean-identity.card{
    padding:1.15rem!important;
  }
}


/* ==========================================================================
   v0.19.2.3 — Public filter/search alignment
   ========================================================================== */

/* Cari Materi: search surface follows the exact same content width as hero. */
.bootstrap5-ui.public-body .faq-header.public-bs-hero,
.bootstrap5-ui.public-body .public-bs-search{
  width:100%;
  max-width:none!important;
}
.bootstrap5-ui.public-body .public-bs-search{
  box-sizing:border-box;
}
.bootstrap5-ui.public-body .public-bs-search .form-control{
  min-width:0;
  flex:1 1 auto;
}
.bootstrap5-ui.public-body .public-bs-search .btn{
  flex:0 0 auto;
}

/* Kegiatan: compact, intentional year filter bar.
   Explicit flex-direction overrides Bootstrap .card column behaviour. */
.bootstrap5-ui.public-body .activity-toolbar.card{
  display:flex!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:1.25rem;
  width:100%;
  min-height:86px;
  padding:1rem 1.25rem!important;
  margin:1rem 0 1.15rem;
  border:1px solid #e5e8ed!important;
  background:#fff;
}
.bootstrap5-ui.public-body .activity-toolbar-copy{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:.2rem;
  min-width:0;
}
.bootstrap5-ui.public-body .activity-toolbar-copy strong{
  color:#202631;
  font-size:1rem;
  line-height:1.3;
  font-weight:780;
}
.bootstrap5-ui.public-body .activity-toolbar-copy span{
  color:#78818e;
  font-size:.76rem;
  line-height:1.4;
}
.bootstrap5-ui.public-body .activity-year-filter{
  display:flex;
  flex-direction:row;
  align-items:center;
  gap:.7rem;
  margin:0;
  flex:0 0 auto;
}
.bootstrap5-ui.public-body .activity-year-filter label{
  margin:0;
  color:#596270;
  font-size:.76rem;
  line-height:1.2;
  font-weight:750;
  white-space:nowrap;
}
.bootstrap5-ui.public-body .activity-year-filter .form-select{
  width:180px;
  min-width:180px;
  height:42px;
  margin:0;
  border-color:#d8dde5;
  border-radius:.75rem;
  background-color:#fff;
  font-size:.88rem;
  box-shadow:none;
}
.bootstrap5-ui.public-body .activity-year-filter .form-select:focus{
  border-color:#b85a6b;
  box-shadow:0 0 0 .2rem rgba(140,16,37,.10);
}

@media(max-width:767.98px){
  .bootstrap5-ui.public-body .activity-toolbar.card{
    flex-direction:column!important;
    align-items:stretch!important;
    gap:.85rem;
    min-height:0;
  }
  .bootstrap5-ui.public-body .activity-year-filter{
    width:100%;
    justify-content:space-between;
  }
  .bootstrap5-ui.public-body .activity-year-filter .form-select{
    width:min(190px,58vw);
    min-width:0;
  }
}


/* ==========================================================================
   v0.19.2.4 — Footer official links
   ========================================================================== */
.bootstrap5-ui .footer-grid{
  grid-template-columns:minmax(0,1.15fr) minmax(260px,.85fr) minmax(230px,.7fr);
  gap:2rem;
  align-items:start;
}
.bootstrap5-ui .footer-official-services>strong,
.bootstrap5-ui .footer-contact>strong{
  display:block;margin-bottom:.55rem;color:#fff;font-size:.9rem;font-weight:780;
}
.bootstrap5-ui .footer-column-note{
  max-width:420px;margin:0 0 .9rem;color:#9fa5af!important;font-size:.76rem;line-height:1.55;
}
.bootstrap5-ui .footer-official-links{display:grid;gap:.65rem}
.bootstrap5-ui .footer-official-links>a{
  display:flex;align-items:flex-start;gap:.75rem;padding:.8rem .85rem;
  border:1px solid #2c3037;border-radius:.85rem;background:rgba(255,255,255,.025);
  color:#d8dce2;text-decoration:none;
  transition:border-color .16s ease,background .16s ease,transform .16s ease;
}
.bootstrap5-ui .footer-official-links>a:hover{
  transform:translateY(-1px);border-color:#555b65;background:rgba(255,255,255,.045);
}
.bootstrap5-ui .footer-official-links>a>span:last-child{min-width:0}
.bootstrap5-ui .footer-official-links strong{
  display:block;margin:0 0 .15rem;color:#fff;font-size:.78rem;line-height:1.35;
}
.bootstrap5-ui .footer-official-links small{
  display:block;color:#9fa5af;font-size:.7rem;line-height:1.45;
}
.bootstrap5-ui .footer-official-icon{
  display:inline-flex;flex:0 0 28px;align-items:center;justify-content:center;width:28px;height:28px;
  border-radius:.55rem;background:#2a2023;color:#ffd56a;font-size:.8rem;font-weight:800;
}
.bootstrap5-ui .footer-contact p{margin-top:.25rem}
@media(max-width:991.98px){
  .bootstrap5-ui .footer-grid{grid-template-columns:1fr 1fr}
  .bootstrap5-ui .footer-grid>div:first-child{grid-column:1/-1}
}
@media(max-width:767.98px){
  .bootstrap5-ui .footer-grid{grid-template-columns:1fr;gap:1.4rem}
  .bootstrap5-ui .footer-grid>div:first-child{grid-column:auto}
}


/* ==========================================================================
   v0.19.2.5 — SuperApp iOS link
   ========================================================================== */

.bootstrap5-ui .footer-official-app{
  display:flex;
  align-items:flex-start;
  gap:.75rem;
  padding:.8rem .85rem;
  border:1px solid #2c3037;
  border-radius:.85rem;
  background:rgba(255,255,255,.025);
  color:#d8dce2;
}
.bootstrap5-ui .footer-official-app-copy{
  min-width:0;
  flex:1 1 auto;
}
.bootstrap5-ui .footer-official-app-copy>strong{
  display:block;
  margin:0 0 .15rem;
  color:#fff;
  font-size:.78rem;
  line-height:1.35;
}
.bootstrap5-ui .footer-official-app-copy>small{
  display:block;
  color:#9fa5af;
  font-size:.7rem;
  line-height:1.45;
}
.bootstrap5-ui .footer-store-links{
  display:flex;
  flex-wrap:wrap;
  gap:.45rem;
  margin-top:.55rem;
}
.bootstrap5-ui .footer-store-links>a{
  display:inline-flex;
  align-items:center;
  min-height:30px;
  padding:.32rem .58rem;
  border:1px solid #3a3f47;
  border-radius:.55rem;
  background:rgba(255,255,255,.035);
  color:#f1f3f5;
  font-size:.68rem;
  font-weight:750;
  line-height:1.2;
  text-decoration:none;
  transition:border-color .16s ease,background .16s ease,transform .16s ease;
}
.bootstrap5-ui .footer-store-links>a:hover{
  transform:translateY(-1px);
  border-color:#666d78;
  background:rgba(255,255,255,.07);
}


/* ======================================================================
   v0.19.2.6 — branded footer service links
   ====================================================================== */
.bootstrap5-ui .footer-link-card{
  display:flex;align-items:flex-start;gap:.75rem;padding:.8rem .85rem;
  border:1px solid #2c3037;border-radius:.85rem;background:rgba(255,255,255,.025);
  color:#d8dce2;text-decoration:none;
  transition:border-color .16s ease,background .16s ease,transform .16s ease;
}
.bootstrap5-ui .footer-link-card:hover{
  transform:translateY(-1px);border-color:#555b65;background:rgba(255,255,255,.045);
}
.bootstrap5-ui .footer-link-card-copy{min-width:0;flex:1 1 auto}
.bootstrap5-ui .footer-official-logo{
  display:inline-flex;align-items:center;justify-content:center;flex:0 0 30px;
  width:30px;height:30px;border-radius:.6rem;padding:.18rem;
  background:linear-gradient(180deg,rgba(255,255,255,.11),rgba(255,255,255,.03));
  border:1px solid rgba(255,255,255,.08);overflow:hidden;
}
.bootstrap5-ui .footer-official-logo img{
  display:block;max-width:100%;max-height:100%;object-fit:contain;
}
.bootstrap5-ui .footer-store-link{
  display:inline-flex;align-items:center;gap:.45rem;
}
.bootstrap5-ui .footer-store-badge{
  display:inline-flex;align-items:center;justify-content:center;
  width:18px;height:18px;flex:0 0 18px;
}
.bootstrap5-ui .footer-store-badge svg{
  display:block;width:100%;height:100%;
}
.bootstrap5-ui .footer-store-link--appstore .footer-store-badge{
  color:#f1f3f5;
}
.bootstrap5-ui .footer-store-link--play .footer-store-badge{
  border-radius:.2rem;
}


/* ======================================================================
   v0.19.2.7 — mobile footer logo sizing
   ====================================================================== */
@media(max-width:575.98px){
  .bootstrap5-ui .footer-official-links{
    gap:.55rem;
  }
  .bootstrap5-ui .footer-official-app,
  .bootstrap5-ui .footer-link-card,
  .bootstrap5-ui .footer-official-links>a{
    gap:.6rem;
    padding:.72rem .75rem;
  }
  .bootstrap5-ui .footer-official-icon{
    flex:0 0 24px;
    width:24px;
    height:24px;
    font-size:.72rem;
    border-radius:.5rem;
  }
  .bootstrap5-ui .footer-official-logo{
    flex:0 0 24px;
    width:24px;
    height:24px;
    padding:.12rem;
    border-radius:.5rem;
  }
  .bootstrap5-ui .footer-official-logo img{
    width:100%;
    height:100%;
  }
  .bootstrap5-ui .footer-store-links{
    gap:.4rem;
    margin-top:.5rem;
  }
  .bootstrap5-ui .footer-store-links>a{
    min-height:28px;
    padding:.28rem .5rem;
    font-size:.64rem;
    border-radius:.5rem;
  }
  .bootstrap5-ui .footer-store-link{
    gap:.35rem;
  }
  .bootstrap5-ui .footer-store-badge{
    width:14px;
    height:14px;
    flex:0 0 14px;
  }
}


/* ==========================================================================
   v0.19.2.8 — Official leadership hero
   Kabidkum Polda Banten left · Pojok Hukum center · Kapolres Cilegon right
   ========================================================================== */

.bootstrap5-ui.public-body.page-home .leadership-hero{
  min-height:650px;
  background:
    radial-gradient(circle at 12% 22%,rgba(242,201,76,.10),transparent 24%),
    radial-gradient(circle at 88% 22%,rgba(242,201,76,.10),transparent 24%),
    linear-gradient(118deg,#151015 0%,#3c1019 43%,#7e0f23 77%,#94112a 100%);
}
.bootstrap5-ui.public-body.page-home .leadership-hero-inner{
  min-height:650px;
  display:grid;
  grid-template-columns:minmax(190px,240px) minmax(0,1fr) minmax(190px,240px);
  gap:clamp(18px,2.4vw,34px);
  align-items:center;
  padding-top:42px;
  padding-bottom:54px;
}
.bootstrap5-ui.public-body.page-home .hero-copy--leadership{
  min-width:0;
  text-align:center;
}
.bootstrap5-ui.public-body.page-home .hero-copy--leadership .hero-brandline{
  justify-content:center;
  text-align:left;
  margin-bottom:18px;
}
.bootstrap5-ui.public-body.page-home .hero-copy--leadership h1{
  margin-inline:auto;
  max-width:720px;
  font-size:clamp(48px,5.5vw,72px);
  line-height:.96;
}
.bootstrap5-ui.public-body.page-home .hero-copy--leadership>p{
  margin-inline:auto;
  max-width:690px;
}
.bootstrap5-ui.public-body.page-home .hero-copy--leadership .refined-search{
  max-width:700px;
  margin-left:auto;
  margin-right:auto;
}
.bootstrap5-ui.public-body.page-home .hero-copy--leadership .popular-searches{
  justify-content:center;
  margin-left:auto;
  margin-right:auto;
}
.bootstrap5-ui.public-body.page-home .hero-copy--leadership .hero-motto{
  text-align:center;
}

.bootstrap5-ui.public-body.page-home .hero-official{
  position:relative;
  margin:0;
  width:100%;
  max-width:240px;
  justify-self:center;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.13);
  border-radius:1.25rem;
  background:rgba(255,255,255,.06);
  box-shadow:0 24px 54px rgba(0,0,0,.22);
  backdrop-filter:blur(8px);
}
.bootstrap5-ui.public-body.page-home .hero-official-photo{
  position:relative;
  height:330px;
  overflow:hidden;
  background:#efecef;
}
.bootstrap5-ui.public-body.page-home .hero-official-photo:after{
  content:"";
  position:absolute;
  inset:auto 0 0;
  height:30%;
  background:linear-gradient(180deg,transparent,rgba(18,10,13,.20));
  pointer-events:none;
}
.bootstrap5-ui.public-body.page-home .hero-official-photo img{
  display:block;
  width:100%;
  height:100%;
}
.bootstrap5-ui.public-body.page-home .hero-official-photo--kabidkum img{
  object-fit:cover;
  object-position:center 30%;
}
.bootstrap5-ui.public-body.page-home .hero-official-photo--kapolres{
  background:linear-gradient(180deg,#fff 0%,#f5f0f1 100%);
}
.bootstrap5-ui.public-body.page-home .hero-official-photo--kapolres img{
  object-fit:contain;
  object-position:center bottom;
}
.bootstrap5-ui.public-body.page-home .hero-official figcaption{
  min-height:96px;
  padding:.9rem .9rem 1rem;
  text-align:center;
  background:linear-gradient(180deg,rgba(25,15,18,.84),rgba(17,10,12,.94));
}
.bootstrap5-ui.public-body.page-home .hero-official figcaption span{
  display:block;
  margin-bottom:.3rem;
  color:#f2c94c;
  font-size:.68rem;
  line-height:1.25;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.bootstrap5-ui.public-body.page-home .hero-official figcaption strong{
  display:block;
  color:#fff;
  font-size:.78rem;
  line-height:1.45;
  font-weight:760;
}

/* The lower Kapolres welcome remains, but the portrait is not duplicated. */
.bootstrap5-ui.public-body.page-home .leader-welcome-shell--text-only .leader-welcome-grid{
  grid-template-columns:1fr!important;
}
.bootstrap5-ui.public-body.page-home .leader-welcome-shell--text-only .leader-welcome-copy{
  max-width:980px;
  margin-inline:auto;
}

/* Tablet: portraits become a compact official strip above the hero copy. */
@media(max-width:991.98px){
  .bootstrap5-ui.public-body.page-home .leadership-hero{
    min-height:auto;
  }
  .bootstrap5-ui.public-body.page-home .leadership-hero-inner{
    min-height:0;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:16px;
    padding-top:30px;
    padding-bottom:48px;
  }
  .bootstrap5-ui.public-body.page-home .hero-official{
    max-width:280px;
  }
  .bootstrap5-ui.public-body.page-home .hero-official--left{
    grid-column:1;
    grid-row:1;
  }
  .bootstrap5-ui.public-body.page-home .hero-official--right{
    grid-column:2;
    grid-row:1;
  }
  .bootstrap5-ui.public-body.page-home .hero-copy--leadership{
    grid-column:1/-1;
    grid-row:2;
    padding-top:8px;
  }
  .bootstrap5-ui.public-body.page-home .hero-official-photo{
    height:270px;
  }
}

/* Mobile: two small, balanced portrait cards; they must not dominate the screen. */
@media(max-width:575.98px){
  .bootstrap5-ui.public-body.page-home .leadership-hero-inner{
    gap:9px;
    padding-top:18px;
    padding-bottom:38px;
  }
  .bootstrap5-ui.public-body.page-home .hero-official{
    max-width:none;
    border-radius:.9rem;
  }
  .bootstrap5-ui.public-body.page-home .hero-official-photo{
    height:172px;
  }
  .bootstrap5-ui.public-body.page-home .hero-official figcaption{
    min-height:82px;
    padding:.62rem .48rem .68rem;
  }
  .bootstrap5-ui.public-body.page-home .hero-official figcaption span{
    font-size:.55rem;
    letter-spacing:.045em;
  }
  .bootstrap5-ui.public-body.page-home .hero-official figcaption strong{
    font-size:.61rem;
    line-height:1.35;
  }
  .bootstrap5-ui.public-body.page-home .hero-copy--leadership{
    padding-top:10px;
  }
  .bootstrap5-ui.public-body.page-home .hero-copy--leadership .hero-brandline{
    justify-content:center;
    margin-bottom:14px;
  }
  .bootstrap5-ui.public-body.page-home .hero-copy--leadership h1{
    font-size:clamp(41px,13vw,54px);
  }
  .bootstrap5-ui.public-body.page-home .hero-copy--leadership>p{
    font-size:15px;
    line-height:1.65;
  }
}


/* ======================================================================
   v0.19.2.9 — responsive two-card leadership hero
   Desktop keeps the three-column presentation.
   Tablet/mobile use two deliberate surfaces:
   1) one leadership photo card, 2) one compact Pojok Hukum service card.
   ====================================================================== */

/* Desktop: wrapper becomes layout-transparent so the previous left/center/right
   composition remains intact. */
.bootstrap5-ui.public-body.page-home .hero-leadership-strip{
  display:contents;
}
.bootstrap5-ui.public-body.page-home .hero-official--left{
  grid-column:1;
  grid-row:1;
}
.bootstrap5-ui.public-body.page-home .hero-copy--leadership{
  grid-column:2;
  grid-row:1;
}
.bootstrap5-ui.public-body.page-home .hero-official--right{
  grid-column:3;
  grid-row:1;
}

/* Tablet/mobile: deliberately stop imitating the desktop 3-column hero. */
@media(max-width:991.98px){
  .bootstrap5-ui.public-body.page-home .leadership-hero{
    min-height:auto;
    padding:0;
  }
  .bootstrap5-ui.public-body.page-home .leadership-hero-inner{
    min-height:0;
    display:grid;
    grid-template-columns:1fr!important;
    gap:14px;
    align-items:stretch;
    padding-top:24px;
    padding-bottom:34px;
  }

  /* Card 1: both officials live in one contained surface. */
  .bootstrap5-ui.public-body.page-home .hero-leadership-strip{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    grid-column:1;
    grid-row:1;
    gap:10px;
    width:100%;
    padding:10px;
    border:1px solid rgba(255,255,255,.13);
    border-radius:1.2rem;
    background:
      radial-gradient(circle at 16% 10%,rgba(242,201,76,.09),transparent 30%),
      radial-gradient(circle at 84% 10%,rgba(242,201,76,.09),transparent 30%),
      rgba(17,10,13,.58);
    box-shadow:0 20px 44px rgba(0,0,0,.18);
    backdrop-filter:blur(10px);
  }
  .bootstrap5-ui.public-body.page-home .hero-official,
  .bootstrap5-ui.public-body.page-home .hero-official--left,
  .bootstrap5-ui.public-body.page-home .hero-official--right{
    grid-column:auto;
    grid-row:auto;
    width:100%;
    max-width:none;
    margin:0;
    border-radius:.95rem;
    border:1px solid rgba(255,255,255,.08);
    box-shadow:none;
    background:rgba(255,255,255,.04);
    backdrop-filter:none;
  }
  .bootstrap5-ui.public-body.page-home .hero-official-photo{
    height:220px;
  }
  .bootstrap5-ui.public-body.page-home .hero-official figcaption{
    min-height:84px;
    padding:.72rem .66rem .76rem;
  }
  .bootstrap5-ui.public-body.page-home .hero-official figcaption span{
    font-size:.6rem;
    letter-spacing:.055em;
  }
  .bootstrap5-ui.public-body.page-home .hero-official figcaption strong{
    font-size:.68rem;
    line-height:1.35;
  }

  /* Card 2: service/content card is separate from the leadership card. */
  .bootstrap5-ui.public-body.page-home .hero-copy--leadership{
    grid-column:1;
    grid-row:2;
    width:100%;
    min-width:0;
    padding:24px 22px 22px;
    border:1px solid rgba(255,255,255,.13);
    border-radius:1.2rem;
    background:
      radial-gradient(circle at 92% 8%,rgba(242,201,76,.08),transparent 30%),
      linear-gradient(145deg,rgba(31,15,20,.88),rgba(70,15,26,.84));
    box-shadow:0 20px 44px rgba(0,0,0,.18);
    backdrop-filter:blur(10px);
    text-align:left;
  }
  .bootstrap5-ui.public-body.page-home .hero-copy--leadership .hero-brandline{
    justify-content:flex-start;
    text-align:left;
    margin-bottom:14px;
  }
  .bootstrap5-ui.public-body.page-home .hero-copy--leadership h1{
    margin:0 0 13px;
    max-width:620px;
    font-size:clamp(40px,7vw,54px);
    line-height:1;
    text-align:left;
  }
  .bootstrap5-ui.public-body.page-home .hero-copy--leadership>p{
    margin:0 0 18px;
    max-width:720px;
    font-size:15px;
    line-height:1.62;
    text-align:left;
  }
  .bootstrap5-ui.public-body.page-home .hero-copy--leadership .refined-search{
    width:100%;
    max-width:none;
    margin:0 0 14px;
  }
  .bootstrap5-ui.public-body.page-home .hero-copy--leadership .popular-searches{
    justify-content:flex-start;
    margin:0;
  }
  .bootstrap5-ui.public-body.page-home .hero-copy--leadership .hero-motto{
    margin-top:16px;
    text-align:left;
    font-size:.66rem;
    letter-spacing:.08em;
  }
}

/* Phones: compact enough that the first screen still exposes the website's
   purpose and search, instead of becoming a leadership photo wall. */
@media(max-width:575.98px){
  .bootstrap5-ui.public-body.page-home .leadership-hero-inner{
    gap:10px;
    padding-top:14px;
    padding-bottom:26px;
  }
  .bootstrap5-ui.public-body.page-home .hero-leadership-strip{
    gap:7px;
    padding:7px;
    border-radius:1rem;
  }
  .bootstrap5-ui.public-body.page-home .hero-official{
    border-radius:.78rem;
  }
  .bootstrap5-ui.public-body.page-home .hero-official-photo{
    height:154px;
  }
  .bootstrap5-ui.public-body.page-home .hero-official-photo--kabidkum img{
    object-position:center 27%;
  }
  .bootstrap5-ui.public-body.page-home .hero-official figcaption{
    min-height:70px;
    padding:.5rem .38rem .54rem;
  }
  .bootstrap5-ui.public-body.page-home .hero-official figcaption span{
    margin-bottom:.2rem;
    font-size:.49rem;
    letter-spacing:.035em;
  }
  .bootstrap5-ui.public-body.page-home .hero-official figcaption strong{
    font-size:.56rem;
    line-height:1.28;
  }

  .bootstrap5-ui.public-body.page-home .hero-copy--leadership{
    padding:17px 14px 16px;
    border-radius:1rem;
  }
  .bootstrap5-ui.public-body.page-home .hero-copy--leadership .hero-brandline{
    margin-bottom:10px;
  }
  .bootstrap5-ui.public-body.page-home .hero-copy--leadership .hero-brandline img{
    width:30px;
    height:30px;
  }
  .bootstrap5-ui.public-body.page-home .hero-copy--leadership .hero-brandline span{
    font-size:.62rem;
  }
  .bootstrap5-ui.public-body.page-home .hero-copy--leadership .hero-brandline strong{
    font-size:.68rem;
  }
  .bootstrap5-ui.public-body.page-home .hero-copy--leadership h1{
    margin-bottom:10px;
    font-size:clamp(34px,10.2vw,42px);
    line-height:1.01;
  }
  .bootstrap5-ui.public-body.page-home .hero-copy--leadership>p{
    margin-bottom:13px;
    font-size:13.5px;
    line-height:1.55;
  }
  .bootstrap5-ui.public-body.page-home .hero-copy--leadership .refined-search{
    margin-bottom:10px;
  }
  .bootstrap5-ui.public-body.page-home .hero-copy--leadership .refined-search .form-control{
    min-height:44px;
    padding:.65rem .72rem;
    font-size:.82rem;
  }
  .bootstrap5-ui.public-body.page-home .hero-copy--leadership .refined-search .hero-btn{
    min-height:44px;
    padding:.62rem .82rem;
    font-size:.78rem;
  }
  .bootstrap5-ui.public-body.page-home .hero-copy--leadership .popular-searches{
    gap:.35rem;
  }
  .bootstrap5-ui.public-body.page-home .hero-copy--leadership .popular-searches>span{
    width:100%;
    font-size:.64rem;
  }
  .bootstrap5-ui.public-body.page-home .hero-copy--leadership .popular-searches a{
    padding:.28rem .45rem;
    font-size:.6rem;
  }
  .bootstrap5-ui.public-body.page-home .hero-copy--leadership .hero-motto{
    margin-top:12px;
    font-size:.56rem;
    letter-spacing:.065em;
  }
}


/* ======================================================================
   v0.19.2.11 — Transparent leadership portrait surfaces
   The uploaded PNG portraits already contain transparency. Do not paint
   gray/white backgrounds behind them; let them blend into the hero card.
   ====================================================================== */
.bootstrap5-ui.public-body.page-home .hero-official-photo,
.bootstrap5-ui.public-body.page-home .hero-official-photo--kabidkum,
.bootstrap5-ui.public-body.page-home .hero-official-photo--kapolres{
  background:transparent!important;
}
.bootstrap5-ui.public-body.page-home .hero-official-photo:after{
  background:linear-gradient(180deg,transparent 72%,rgba(18,10,13,.10) 100%);
}
.bootstrap5-ui.public-body.page-home .hero-official-photo--kabidkum img,
.bootstrap5-ui.public-body.page-home .hero-official-photo--kapolres img{
  object-fit:contain!important;
  object-position:center bottom!important;
}

@media(max-width:991.98px){
  .bootstrap5-ui.public-body.page-home .hero-official-photo{
    background:transparent!important;
  }
}
@media(max-width:575.98px){
  .bootstrap5-ui.public-body.page-home .hero-official-photo{
    background:transparent!important;
  }
}


/* ==========================================================================
   v0.19.2.13 — Leadership portrait visual-height alignment
   ========================================================================== */

.bootstrap5-ui.public-body.page-home .hero-official-photo{
  display:flex;
  align-items:flex-end;
  justify-content:center;
}

/* The source PNGs have different aspect ratios. Use the frame height as the
   common reference so both visible figures occupy the same vertical height. */
.bootstrap5-ui.public-body.page-home .hero-official-photo--kabidkum img,
.bootstrap5-ui.public-body.page-home .hero-official-photo--kapolres img{
  width:auto!important;
  height:100%!important;
  max-width:none!important;
  max-height:100%!important;
  object-fit:contain!important;
  object-position:center bottom!important;
  flex:0 0 auto;
}

@media(max-width:991.98px){
  .bootstrap5-ui.public-body.page-home .hero-official-photo--kabidkum img,
  .bootstrap5-ui.public-body.page-home .hero-official-photo--kapolres img{
    width:auto!important;
    height:100%!important;
  }
}

/* ==========================================================================
   v0.19.3.1 — Admin Workspace Stabilization
   ========================================================================== */

.bootstrap5-ui.admin-body{
  --admin-bg:#f4f5f7;
  --admin-surface:#fff;
  --admin-line:#e3e6eb;
  --admin-muted:#687181;
  --admin-text:#202631;
  --admin-brand:#8c1025;
  --admin-brand-soft:#fbecef;
  background:var(--admin-bg);
  color:var(--admin-text);
}

/* Stable horizontal desktop navigation. */
.bootstrap5-ui.admin-body .admin-topbar{
  position:sticky;
  top:0;
  z-index:1040;
  border-bottom:1px solid var(--admin-line);
  background:rgba(255,255,255,.98);
  box-shadow:0 1px 0 rgba(16,24,40,.02);
}
.bootstrap5-ui.admin-body .admin-topbar .container{
  width:min(100% - 32px,1420px);
  max-width:1420px;
}
.bootstrap5-ui.admin-body .admin-topbar .topbar-inner{
  min-height:70px;
  gap:14px;
}
.bootstrap5-ui.admin-body .admin-topbar .brand{
  flex:0 0 auto;
  min-width:270px;
}
.bootstrap5-ui.admin-body .admin-topbar .brand-copy strong{
  font-size:.75rem;
  line-height:1.15;
}
.bootstrap5-ui.admin-body .admin-topbar .brand-copy small{font-size:.6rem}
.bootstrap5-ui.admin-body .admin-nav{
  flex:1 1 auto;
  min-width:0;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:2px;
  flex-wrap:nowrap;
}
.bootstrap5-ui.admin-body .admin-nav>a,
.bootstrap5-ui.admin-body .admin-nav>.nav-dropdown>summary{
  min-height:38px;
  display:flex;
  align-items:center;
  gap:5px;
  padding:7px 9px;
  border-radius:.65rem;
  color:#3e4652;
  font-size:.76rem;
  font-weight:780;
  white-space:nowrap;
}
.bootstrap5-ui.admin-body .admin-nav>a:hover,
.bootstrap5-ui.admin-body .admin-nav>.nav-dropdown>summary:hover{
  background:#f5f6f8;
  color:var(--admin-brand);
}
.bootstrap5-ui.admin-body .admin-nav>a.active,
.bootstrap5-ui.admin-body .admin-nav>.nav-dropdown.active>summary{
  background:var(--admin-brand-soft);
  color:var(--admin-brand);
}
.bootstrap5-ui.admin-body .nav-dropdown-menu{min-width:230px}
.bootstrap5-ui.admin-body .admin-account{flex:0 0 auto}
.bootstrap5-ui.admin-body .admin-account>summary{
  min-height:42px;
  border-color:#e2e5ea;
  box-shadow:none;
}

/* v0.19.3.0 context bar is intentionally retired: no duplicated title/action row. */
.bootstrap5-ui.admin-body .admin-contextbar{display:none!important}

/* Main content */
.bootstrap5-ui.admin-body .admin-main{
  min-height:calc(100vh - 136px);
  margin-left:0!important;
}
.bootstrap5-ui.admin-body .admin-main>.section{padding:28px 0 44px}
.bootstrap5-ui.admin-body .admin-main>.section>.container,
.bootstrap5-ui.admin-body .admin-main>.flash-wrap{
  width:min(100% - 40px,1240px);
  max-width:1240px;
}

/* One authoritative page heading */
.bootstrap5-ui.admin-body .page-heading{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:20px;
  margin:0 0 20px;
  padding:0 0 17px;
  border:0;
  border-bottom:1px solid var(--admin-line);
  border-radius:0;
  background:transparent;
  box-shadow:none;
}
.bootstrap5-ui.admin-body .page-heading>div:first-child{min-width:0}
.bootstrap5-ui.admin-body .page-heading .eyebrow{
  margin-bottom:5px;
  color:#bf0d2a;
  font-size:.64rem;
  font-weight:850;
  letter-spacing:.12em;
  text-transform:uppercase;
}
.bootstrap5-ui.admin-body .page-heading h1{
  margin:0;
  color:#111827;
  font-size:clamp(1.75rem,2.25vw,2.35rem);
  line-height:1.08;
  letter-spacing:-.035em;
}
.bootstrap5-ui.admin-body .page-subtitle{
  max-width:760px;
  margin:7px 0 0;
  color:var(--admin-muted);
  font-size:.78rem;
  line-height:1.55;
}
.bootstrap5-ui.admin-body .workflow-buttons{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:8px;
  flex-wrap:wrap;
}

/* Buttons */
.bootstrap5-ui.admin-body .btn{
  min-height:40px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:.58rem .9rem;
  border:1px solid #e0e4e9;
  border-radius:.72rem;
  background:#fff;
  color:#27303b;
  box-shadow:none;
  font-size:.76rem;
  font-weight:800;
}
.bootstrap5-ui.admin-body .btn:hover{
  background:#f6f7f9;
  border-color:#d7dce3;
}
.bootstrap5-ui.admin-body .btn.primary,
.bootstrap5-ui.admin-body .btn.btn-primary{
  border-color:#981129;
  background:linear-gradient(135deg,#8c1025,#ad1732);
  color:#fff;
  box-shadow:0 7px 16px rgba(140,16,37,.14);
}

/* Dashboard KPI cards */
.bootstrap5-ui.admin-body .admin-stat-grid,
.bootstrap5-ui.admin-body .admin-stat-grid.row{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
  margin:0 0 12px;
}
.bootstrap5-ui.admin-body .admin-stat-grid.row>*{
  width:auto;
  max-width:none;
  padding:0;
}
.bootstrap5-ui.admin-body .admin-stat-link.card{
  min-height:132px;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  padding:18px;
  border:1px solid var(--admin-line)!important;
  border-radius:.95rem;
  background:#fff;
  box-shadow:0 3px 12px rgba(16,24,40,.03);
}
.bootstrap5-ui.admin-body .admin-stat-link.card:hover{
  transform:translateY(-1px);
  border-color:#d9c1c7!important;
  box-shadow:0 9px 22px rgba(16,24,40,.06);
}
.bootstrap5-ui.admin-body .admin-stat-link span{
  color:#596474;
  font-size:.72rem;
  font-weight:800;
}
.bootstrap5-ui.admin-body .admin-stat-link strong{
  margin-top:14px;
  color:#111827;
  font-size:1.85rem;
  line-height:1;
}
.bootstrap5-ui.admin-body .admin-stat-link small{
  margin-top:auto;
  padding-top:12px;
  color:#78818d;
  font-size:.67rem;
}
.bootstrap5-ui.admin-body .admin-quick-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
  margin:0 0 20px;
}
.bootstrap5-ui.admin-body .admin-quick-grid a{
  min-height:84px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:6px;
  padding:14px 15px;
  border:1px solid var(--admin-line);
  border-radius:.85rem;
  background:#fff;
  color:#202631;
  box-shadow:0 2px 9px rgba(16,24,40,.025);
}
.bootstrap5-ui.admin-body .admin-quick-grid a:hover{
  border-color:#dac4c9;
  box-shadow:0 7px 18px rgba(16,24,40,.05);
}
.bootstrap5-ui.admin-body .admin-quick-grid strong{font-size:.78rem}
.bootstrap5-ui.admin-body .admin-quick-grid span{
  color:#697382;
  font-size:.68rem;
  line-height:1.45;
}

/* Panels */
.bootstrap5-ui.admin-body .panel,
.bootstrap5-ui.admin-body .panel.card{
  margin-bottom:18px;
  padding:20px;
  border:1px solid var(--admin-line)!important;
  border-radius:.95rem;
  background:#fff;
  box-shadow:0 3px 12px rgba(16,24,40,.03);
}
.bootstrap5-ui.admin-body .panel.admin-stack{display:block}
.bootstrap5-ui.admin-body .section-heading{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:16px;
  margin:0 0 14px;
}
.bootstrap5-ui.admin-body .section-heading h2{
  margin:0;
  color:#17202c;
  font-size:1.16rem;
  line-height:1.2;
  letter-spacing:-.02em;
}
.bootstrap5-ui.admin-body .section-heading .muted,
.bootstrap5-ui.admin-body .section-heading p{
  margin:5px 0 0;
  color:#7a8390;
  font-size:.72rem;
}

/* Filters and forms */
.bootstrap5-ui.admin-body .admin-filter-bar{
  display:grid;
  grid-template-columns:minmax(260px,1fr) 180px 220px auto auto;
  align-items:center;
  gap:8px;
  margin:0 0 10px;
  padding:10px;
  border:1px solid var(--admin-line);
  border-radius:.9rem;
  background:#fff;
  box-shadow:0 3px 12px rgba(16,24,40,.025);
}
.bootstrap5-ui.admin-body .admin-filter-bar input:not([type="hidden"]),
.bootstrap5-ui.admin-body .admin-filter-bar select,
.bootstrap5-ui.admin-body .admin-filter-bar .form-control,
.bootstrap5-ui.admin-body .admin-filter-bar .form-select,
.bootstrap5-ui.admin-body .form-grid input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]),
.bootstrap5-ui.admin-body .form-grid select,
.bootstrap5-ui.admin-body .form-grid textarea{
  min-height:42px;
  width:100%;
  padding:.55rem .72rem;
  border:1px solid #dce1e7;
  border-radius:.68rem;
  background:#fff;
  color:#202631;
  font-size:.78rem;
  box-shadow:none!important;
}
.bootstrap5-ui.admin-body .form-grid textarea{
  min-height:118px;
  resize:vertical;
}
.bootstrap5-ui.admin-body .form-grid label{
  display:grid;
  gap:6px;
  color:#444d59;
  font-size:.75rem;
  font-weight:760;
}
.bootstrap5-ui.admin-body .admin-list-meta{
  margin:8px 2px 10px;
  color:#77818f;
  font-size:.69rem;
}

/* Tables */
.bootstrap5-ui.admin-body .table-wrap{
  width:100%;
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
  border:1px solid var(--admin-line);
  border-radius:.9rem;
  background:#fff;
  box-shadow:0 3px 12px rgba(16,24,40,.025);
}
.bootstrap5-ui.admin-body .panel>.table-wrap{
  margin-top:4px;
  box-shadow:none;
}
.bootstrap5-ui.admin-body .table-responsive{overflow:visible}
.bootstrap5-ui.admin-body table.table{
  width:100%;
  min-width:760px;
  margin:0;
  color:#252d38;
  font-size:.76rem;
  table-layout:auto;
}
.bootstrap5-ui.admin-body table.table thead th{
  padding:.72rem .8rem;
  border-bottom:1px solid var(--admin-line);
  background:#f8f9fb;
  color:#697383;
  font-size:.62rem;
  font-weight:850;
  letter-spacing:.055em;
  text-transform:uppercase;
  white-space:nowrap;
}
.bootstrap5-ui.admin-body table.table tbody td{
  padding:.78rem .8rem;
  border-bottom:1px solid #eceef2;
  vertical-align:middle;
  line-height:1.45;
}
.bootstrap5-ui.admin-body table.table tbody tr:last-child td{border-bottom:0}
.bootstrap5-ui.admin-body table.table tbody tr:hover td{background:#fbfbfc}
.bootstrap5-ui.admin-body table.table td>a strong{
  color:#c90c27;
  line-height:1.45;
}
.bootstrap5-ui.admin-body .admin-articles-table th:first-child,
.bootstrap5-ui.admin-body .admin-articles-table td:first-child{
  width:52%;
  min-width:420px;
}
.bootstrap5-ui.admin-body .admin-articles-table th:nth-child(2),
.bootstrap5-ui.admin-body .admin-articles-table td:nth-child(2){
  width:16%;
  min-width:135px;
}
.bootstrap5-ui.admin-body .admin-articles-table th:nth-child(3),
.bootstrap5-ui.admin-body .admin-articles-table td:nth-child(3){
  min-width:90px;
  white-space:nowrap;
}
.bootstrap5-ui.admin-body .admin-articles-table th:nth-child(4),
.bootstrap5-ui.admin-body .admin-articles-table td:nth-child(4){
  min-width:105px;
  white-space:nowrap;
}
.bootstrap5-ui.admin-body .admin-articles-table th:last-child,
.bootstrap5-ui.admin-body .admin-articles-table td:last-child{
  min-width:145px;
  white-space:nowrap;
}
.bootstrap5-ui.admin-body .badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:.3rem .48rem;
  border-radius:999px;
  font-size:.61rem;
  font-weight:850;
  letter-spacing:.02em;
}

/* Lists */
.bootstrap5-ui.admin-body .simple-list>a,
.bootstrap5-ui.admin-body .simple-list>div{padding:13px 2px}
.bootstrap5-ui.admin-body .simple-list>a:first-child,
.bootstrap5-ui.admin-body .simple-list>div:first-child{padding-top:4px}
.bootstrap5-ui.admin-body .simple-list strong{font-size:.78rem}
.bootstrap5-ui.admin-body .simple-list small{
  margin-top:4px;
  color:#6d7684;
  font-size:.68rem;
}

/* Compact internal footer */
.bootstrap5-ui.admin-body .admin-footer{
  margin-left:0!important;
  padding:0;
  border-top:1px solid var(--admin-line);
  background:#fff;
}
.bootstrap5-ui.admin-body .admin-footer .container{
  width:min(100% - 40px,1240px);
  max-width:1240px;
}
.bootstrap5-ui.admin-body .admin-footer-inner{
  min-height:66px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  color:#77808c;
  font-size:.67rem;
}
.bootstrap5-ui.admin-body .admin-footer-inner>div:first-child{
  display:flex;
  align-items:center;
  gap:7px;
}
.bootstrap5-ui.admin-body .admin-footer-inner strong{
  color:#313945;
  font-size:.7rem;
}
.bootstrap5-ui.admin-body .admin-footer-meta{
  display:flex;
  align-items:center;
  gap:7px;
}
.bootstrap5-ui.admin-body .admin-footer a{
  color:var(--admin-brand);
  font-weight:780;
}

/* Responsive */
@media(max-width:1179.98px){
  .bootstrap5-ui.admin-body .admin-topbar .brand{min-width:235px}
  .bootstrap5-ui.admin-body .admin-nav>a,
  .bootstrap5-ui.admin-body .admin-nav>.nav-dropdown>summary{
    padding-inline:7px;
    font-size:.71rem;
  }
  .bootstrap5-ui.admin-body .admin-account-copy{display:none}
}

@media(max-width:1079.98px){
  .bootstrap5-ui.admin-body .admin-topbar .topbar-inner{
    position:relative;
    justify-content:space-between;
  }
  .bootstrap5-ui.admin-body .mobile-menu-btn{
    display:block!important;
    flex:0 0 auto;
  }
  .bootstrap5-ui.admin-body .admin-account{display:none!important}
  .bootstrap5-ui.admin-body nav.admin-nav{
    position:absolute!important;
    top:calc(100% + 8px)!important;
    left:0!important;
    right:0!important;
    z-index:1060!important;
    display:none!important;
    max-height:calc(100vh - 92px);
    overflow-y:auto;
    padding:10px!important;
    border:1px solid var(--admin-line)!important;
    border-radius:.95rem!important;
    background:#fff!important;
    box-shadow:0 18px 42px rgba(16,24,40,.14)!important;
  }
  .bootstrap5-ui.admin-body nav.admin-nav.open{
    display:flex!important;
    flex-direction:column!important;
    align-items:stretch!important;
  }
  .bootstrap5-ui.admin-body .admin-nav>a,
  .bootstrap5-ui.admin-body .admin-nav>.nav-dropdown>summary{
    width:100%;
    min-height:42px;
    justify-content:space-between;
    padding:9px 10px;
    font-size:.76rem;
  }
  .bootstrap5-ui.admin-body .nav-dropdown{width:100%}
  .bootstrap5-ui.admin-body .nav-dropdown-menu{
    position:static;
    width:auto;
    margin:2px 0 6px 9px;
    padding:2px 0 2px 8px;
    border:0;
    border-left:2px solid #efccd2;
    border-radius:0;
    box-shadow:none;
  }
  .bootstrap5-ui.admin-body .nav-mobile-account{display:flex!important}
  .bootstrap5-ui.admin-body .admin-filter-bar{grid-template-columns:1fr 1fr}
  .bootstrap5-ui.admin-body .admin-filter-bar input[type="search"]{grid-column:1/-1}
  .bootstrap5-ui.admin-body .admin-stat-grid,
  .bootstrap5-ui.admin-body .admin-stat-grid.row,
  .bootstrap5-ui.admin-body .admin-quick-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media(max-width:767.98px){
  .bootstrap5-ui.admin-body .admin-topbar .container{
    width:min(100% - 24px,1420px);
  }
  .bootstrap5-ui.admin-body .admin-topbar .brand{min-width:0}
  .bootstrap5-ui.admin-body .admin-topbar .brand-copy strong{font-size:.69rem}
  .bootstrap5-ui.admin-body .admin-topbar .brand-copy small{display:none}
  .bootstrap5-ui.admin-body .admin-main>.section{padding:20px 0 34px}
  .bootstrap5-ui.admin-body .admin-main>.section>.container,
  .bootstrap5-ui.admin-body .admin-main>.flash-wrap,
  .bootstrap5-ui.admin-body .admin-footer .container{
    width:min(100% - 24px,1240px);
  }
  .bootstrap5-ui.admin-body .page-heading{
    align-items:flex-start;
    flex-direction:column;
    gap:12px;
    padding-bottom:14px;
  }
  .bootstrap5-ui.admin-body .page-heading h1{font-size:1.7rem}
  .bootstrap5-ui.admin-body .page-heading>a.btn,
  .bootstrap5-ui.admin-body .workflow-buttons{width:100%}
  .bootstrap5-ui.admin-body .workflow-buttons{justify-content:flex-start}
  .bootstrap5-ui.admin-body .admin-filter-bar{grid-template-columns:1fr}
  .bootstrap5-ui.admin-body .admin-filter-bar input[type="search"]{grid-column:auto}
  .bootstrap5-ui.admin-body .admin-stat-grid,
  .bootstrap5-ui.admin-body .admin-stat-grid.row,
  .bootstrap5-ui.admin-body .admin-quick-grid{
    grid-template-columns:1fr;
  }
  .bootstrap5-ui.admin-body .panel,
  .bootstrap5-ui.admin-body .panel.card{
    padding:16px;
    border-radius:.85rem;
  }
  .bootstrap5-ui.admin-body table.table{min-width:680px}
  .bootstrap5-ui.admin-body .admin-footer-inner{
    min-height:78px;
    align-items:flex-start;
    justify-content:center;
    flex-direction:column;
    gap:5px;
    padding:12px 0;
  }
  .bootstrap5-ui.admin-body .admin-footer-inner>div:first-child{
    align-items:flex-start;
    flex-direction:column;
    gap:2px;
  }
}

@media(max-width:460px){
  .bootstrap5-ui.admin-body .admin-topbar .brand-crests img{
    width:38px;
    height:38px;
  }
  .bootstrap5-ui.admin-body .admin-topbar .brand-copy{max-width:165px}
}

/* ==========================================================================
   v0.19.3.2 — Dashboard Grid Isolation + Admin Detail Refinement
   ========================================================================== */

/* Dashboard KPI cards are native CSS Grid items only.
   Do not mix Bootstrap .row/.g-* gutters or .h-100 card sizing here. */
.bootstrap5-ui.admin-body .admin-stat-grid{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  grid-auto-rows:minmax(132px,auto);
  gap:14px!important;
  margin:0 0 22px!important;
  padding:0!important;
  position:relative;
  z-index:0;
}
.bootstrap5-ui.admin-body .admin-stat-grid::before,
.bootstrap5-ui.admin-body .admin-stat-grid::after{
  content:none!important;
}
.bootstrap5-ui.admin-body .admin-stat-grid>.admin-stat-link{
  width:auto!important;
  min-width:0;
  height:auto!important;
  min-height:132px;
  margin:0!important;
  padding:18px!important;
  overflow:hidden;
  align-self:stretch;
  position:relative;
  z-index:0;
}
.bootstrap5-ui.admin-body .admin-stat-grid>.admin-stat-link::after{
  right:-35px;
  bottom:-38px;
}
.bootstrap5-ui.admin-body .admin-quick-grid{
  position:relative;
  z-index:0;
  clear:both;
  margin-top:0!important;
  margin-bottom:20px!important;
}

/* Keep dashboard rows visually distinct rather than touching. */
.bootstrap5-ui.admin-body .admin-stat-grid + .admin-quick-grid{
  margin-top:0!important;
}

/* Editor/detail pages: consistent readable working width. */
.bootstrap5-ui.admin-body .container.narrow-wide{
  width:min(100% - 40px,1100px);
  max-width:1100px;
}
.bootstrap5-ui.admin-body .form-grid{
  display:grid;
  gap:14px;
}
.bootstrap5-ui.admin-body .form-grid .form-two{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
}
.bootstrap5-ui.admin-body .form-grid>button[type="submit"],
.bootstrap5-ui.admin-body .form-grid>.btn.primary{
  justify-self:start;
}

/* Long editor forms should have clear section rhythm, not one dense wall. */
.bootstrap5-ui.admin-body .panel.form-grid{
  padding:22px;
}
.bootstrap5-ui.admin-body .panel.form-grid>label{
  margin:0;
}
.bootstrap5-ui.admin-body .panel.form-grid small{
  color:#7b8491;
  font-size:.68rem;
  line-height:1.45;
}

/* Stable treatment for actions and nested content inside admin panels. */
.bootstrap5-ui.admin-body .panel .workflow-buttons{
  margin-top:4px;
}
.bootstrap5-ui.admin-body .panel>.section-heading:last-child{
  margin-bottom:0;
}
.bootstrap5-ui.admin-body .panel>.table-wrap:last-child{
  margin-bottom:0;
}

/* Prevent wide button/action groups from colliding with headings. */
.bootstrap5-ui.admin-body .page-heading .workflow-buttons{
  max-width:48%;
}
.bootstrap5-ui.admin-body .page-heading .workflow-buttons .btn{
  white-space:nowrap;
}

/* Table action columns stay compact; content columns retain useful width. */
.bootstrap5-ui.admin-body table.table th:last-child:empty,
.bootstrap5-ui.admin-body table.table td:last-child:has(>a:only-child){
  width:1%;
  white-space:nowrap;
}

/* Review/admin panels should never visually attach to following panels. */
.bootstrap5-ui.admin-body .panel + .panel{
  margin-top:18px;
}

/* Responsive editor and dashboard behavior. */
@media(max-width:1079.98px){
  .bootstrap5-ui.admin-body .admin-stat-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  .bootstrap5-ui.admin-body .page-heading .workflow-buttons{
    max-width:56%;
  }
}

@media(max-width:767.98px){
  .bootstrap5-ui.admin-body .admin-stat-grid{
    grid-template-columns:1fr!important;
    gap:10px!important;
    margin-bottom:16px!important;
  }
  .bootstrap5-ui.admin-body .admin-stat-grid>.admin-stat-link{
    min-height:112px;
    padding:16px!important;
  }
  .bootstrap5-ui.admin-body .form-grid .form-two{
    grid-template-columns:1fr;
    gap:12px;
  }
  .bootstrap5-ui.admin-body .container.narrow-wide{
    width:min(100% - 24px,1100px);
  }
  .bootstrap5-ui.admin-body .page-heading .workflow-buttons{
    max-width:none;
  }
}

@media(max-width:460px){
  .bootstrap5-ui.admin-body .admin-stat-grid>.admin-stat-link{
    min-height:104px;
  }
}

/* ==========================================================================
   v0.19.3.3 — Admin Checkbox & Selection Control Repair
   ========================================================================== */

/* Never let Bootstrap text-input treatment leak into boolean controls. */
.bootstrap5-ui.admin-body input[type="checkbox"].form-control,
.bootstrap5-ui.admin-body input[type="radio"].form-control{
  width:auto!important;
  min-height:0!important;
  height:auto!important;
  padding:0!important;
  border-radius:initial!important;
}

/* Shared checkbox/radio dimensions for System Settings, Assistant, users, etc. */
.bootstrap5-ui.admin-body .form-grid input[type="checkbox"],
.bootstrap5-ui.admin-body .form-grid input[type="radio"],
.bootstrap5-ui.admin-body .admin-filter-bar input[type="checkbox"],
.bootstrap5-ui.admin-body .admin-filter-bar input[type="radio"]{
  width:1.08rem!important;
  height:1.08rem!important;
  min-width:1.08rem!important;
  min-height:1.08rem!important;
  margin:0!important;
  padding:0!important;
  flex:0 0 1.08rem;
  cursor:pointer;
  border:1px solid #b9c1cc;
  box-shadow:none!important;
}

/* Bootstrap check input state remains visible and uses project brand accent. */
.bootstrap5-ui.admin-body .form-check-input{
  margin:0;
  cursor:pointer;
}
.bootstrap5-ui.admin-body .form-check-input:checked{
  background-color:#981129;
  border-color:#981129;
}
.bootstrap5-ui.admin-body .form-check-input:focus{
  border-color:#b7374e;
  box-shadow:0 0 0 .18rem rgba(152,17,41,.12)!important;
}

/* Simple policy/settings check lines. */
.bootstrap5-ui.admin-body .check-line{
  display:flex!important;
  grid-template-columns:none!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:flex-start;
  gap:10px!important;
  min-height:36px;
  margin:0;
  padding:3px 0;
  color:#303846;
  font-size:.76rem;
  font-weight:700;
  cursor:pointer;
}
.bootstrap5-ui.admin-body .check-line input[type="checkbox"],
.bootstrap5-ui.admin-body .check-line input[type="radio"]{
  align-self:center;
}

/* Regulation references: compact real checkbox + readable text.
   Avoid any width:100% input behavior inherited from form controls. */
.bootstrap5-ui.admin-body .reg-check-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
  max-height:390px;
  overflow:auto;
  padding:4px;
}
.bootstrap5-ui.admin-body .reg-check{
  display:flex!important;
  flex-direction:row!important;
  align-items:flex-start!important;
  gap:10px!important;
  min-height:88px;
  padding:12px!important;
  border:1px solid var(--admin-line);
  border-radius:.85rem;
  background:#fff;
  cursor:pointer;
}
.bootstrap5-ui.admin-body .reg-check:hover{
  border-color:#d3aeb7;
  background:#fffafb;
}
.bootstrap5-ui.admin-body .reg-check input[type="checkbox"]{
  width:1.08rem!important;
  height:1.08rem!important;
  min-width:1.08rem!important;
  min-height:1.08rem!important;
  margin:2px 0 0!important;
  flex:0 0 1.08rem;
}
.bootstrap5-ui.admin-body .reg-check>span{
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:3px;
}
.bootstrap5-ui.admin-body .reg-check strong{
  color:#28313d;
  font-size:.73rem;
  line-height:1.35;
}
.bootstrap5-ui.admin-body .reg-check small{
  color:#7c8592;
  font-size:.65rem;
  line-height:1.35;
}

/* Checked regulation references get a subtle selection cue. */
.bootstrap5-ui.admin-body .reg-check:has(input[type="checkbox"]:checked){
  border-color:#c4707f;
  background:#fff8f9;
}

/* Disabled states remain visibly disabled. */
.bootstrap5-ui.admin-body input[type="checkbox"]:disabled,
.bootstrap5-ui.admin-body input[type="radio"]:disabled{
  cursor:not-allowed;
  opacity:.55;
}

@media(max-width:767.98px){
  .bootstrap5-ui.admin-body .reg-check-grid{
    grid-template-columns:1fr;
    max-height:440px;
  }
  .bootstrap5-ui.admin-body .reg-check{
    min-height:auto;
  }
}

/* ==========================================================================
   v0.19.3.4 — Public Copy & Official-Service Polish
   ========================================================================== */

/* Keep store artwork crisp and optically centered. */
.bootstrap5-ui .footer-store-link--play .footer-store-badge{
  border-radius:0;
  overflow:visible;
}
.bootstrap5-ui .footer-store-link--play .footer-store-badge svg{
  width:16px;
  height:16px;
  overflow:visible;
}

/* Call Center 110 no longer reserves space for the removed Presisi mascot. */
.bootstrap5-ui .service-hub-card.featured{
  padding-right:21px;
}
@media(max-width:760px){
  .bootstrap5-ui .service-hub-card.featured{
    padding-right:21px;
  }
}

/* ==========================================================================
   v0.19.4.0 — Accelerated Admin Completion & Pre-RC Hardening
   ========================================================================== */

/* ---------- Global admin consistency ---------- */
.bootstrap5-ui.admin-body{
  --admin-focus:rgba(152,17,41,.18);
}
.bootstrap5-ui.admin-body a,
.bootstrap5-ui.admin-body button,
.bootstrap5-ui.admin-body input,
.bootstrap5-ui.admin-body select,
.bootstrap5-ui.admin-body textarea,
.bootstrap5-ui.admin-body summary{
  scroll-margin-top:88px;
}
.bootstrap5-ui.admin-body a:focus-visible,
.bootstrap5-ui.admin-body button:focus-visible,
.bootstrap5-ui.admin-body input:focus-visible,
.bootstrap5-ui.admin-body select:focus-visible,
.bootstrap5-ui.admin-body textarea:focus-visible,
.bootstrap5-ui.admin-body summary:focus-visible{
  outline:3px solid var(--admin-focus);
  outline-offset:2px;
}
.bootstrap5-ui.admin-body .muted{
  color:#727c89;
}
.bootstrap5-ui.admin-body .panel h2{
  margin-top:0;
  color:#17202c;
  font-size:1.08rem;
  line-height:1.25;
  letter-spacing:-.015em;
}
.bootstrap5-ui.admin-body .panel h3{
  color:#27313d;
  font-size:.92rem;
}
.bootstrap5-ui.admin-body .panel p{
  line-height:1.55;
}
.bootstrap5-ui.admin-body .panel form:last-child,
.bootstrap5-ui.admin-body .panel .simple-list:last-child,
.bootstrap5-ui.admin-body .panel .readiness-list:last-child{
  margin-bottom:0;
}

/* Narrow edit screens get a consistent professional width. */
.bootstrap5-ui.admin-body .container.narrow{
  width:min(100% - 40px,920px);
  max-width:920px;
}
.bootstrap5-ui.admin-body .container.narrow-wide{
  width:min(100% - 40px,1120px);
  max-width:1120px;
}

/* ---------- Empty states ---------- */
.bootstrap5-ui.admin-body table.table tbody td[colspan]{
  padding:24px 16px;
  color:#747e8b;
  text-align:center;
  background:#fbfcfd;
}
.bootstrap5-ui.admin-body .simple-list>.muted:only-child,
.bootstrap5-ui.admin-body .rank-list>.muted:only-child{
  padding:18px 0;
  text-align:center;
}

/* ---------- General data-table rhythm ---------- */
.bootstrap5-ui.admin-body table.table td:last-child a{
  font-weight:800;
  white-space:nowrap;
}
.bootstrap5-ui.admin-body table.table td strong{
  color:#222c37;
}
.bootstrap5-ui.admin-body .admin-users-table th:last-child,
.bootstrap5-ui.admin-body .admin-users-table td:last-child,
.bootstrap5-ui.admin-body .admin-procedures-table th:last-child,
.bootstrap5-ui.admin-body .admin-procedures-table td:last-child,
.bootstrap5-ui.admin-body .admin-activities-table th:last-child,
.bootstrap5-ui.admin-body .admin-activities-table td:last-child,
.bootstrap5-ui.admin-body .admin-regulations-table th:last-child,
.bootstrap5-ui.admin-body .admin-regulations-table td:last-child,
.bootstrap5-ui.admin-body .admin-feedback-table th:last-child,
.bootstrap5-ui.admin-body .admin-feedback-table td:last-child{
  width:1%;
  white-space:nowrap;
}
.bootstrap5-ui.admin-body .admin-users-table td:nth-child(5),
.bootstrap5-ui.admin-body .admin-audit-table td:first-child{
  white-space:nowrap;
}
.bootstrap5-ui.admin-body .admin-audit-table th:first-child,
.bootstrap5-ui.admin-body .admin-audit-table td:first-child{
  min-width:145px;
}
.bootstrap5-ui.admin-body .admin-audit-table th:last-child,
.bootstrap5-ui.admin-body .admin-audit-table td:last-child{
  min-width:280px;
}
.bootstrap5-ui.admin-body .admin-procedures-table th:first-child,
.bootstrap5-ui.admin-body .admin-procedures-table td:first-child{
  min-width:300px;
}
.bootstrap5-ui.admin-body .admin-activities-table th:nth-child(2),
.bootstrap5-ui.admin-body .admin-activities-table td:nth-child(2){
  min-width:290px;
}
.bootstrap5-ui.admin-body .admin-regulations-table th:first-child,
.bootstrap5-ui.admin-body .admin-regulations-table td:first-child{
  min-width:330px;
}
.bootstrap5-ui.admin-body .admin-regulations-table th:nth-child(2),
.bootstrap5-ui.admin-body .admin-regulations-table td:nth-child(2){
  min-width:150px;
}
.bootstrap5-ui.admin-body .admin-regulations-table th:nth-child(4),
.bootstrap5-ui.admin-body .admin-regulations-table td:nth-child(4){
  min-width:150px;
}
.bootstrap5-ui.admin-body .admin-feedback-table th:first-child,
.bootstrap5-ui.admin-body .admin-feedback-table td:first-child{
  min-width:350px;
}

/* ---------- Filter bar variants ---------- */
.bootstrap5-ui.admin-body .admin-filter-bar--compact{
  grid-template-columns:minmax(260px,1fr) minmax(180px,.55fr) auto auto;
}
.bootstrap5-ui.admin-body .admin-filter-bar--search-action{
  grid-template-columns:minmax(280px,1fr) auto;
}
.bootstrap5-ui.admin-body .admin-filter-bar--search-action input:not([type="hidden"]){
  grid-column:auto;
}
.bootstrap5-ui.admin-body .regulation-admin-filter{
  grid-template-columns:minmax(320px,1fr) minmax(190px,.48fr) auto auto!important;
}

/* ---------- Pagination ---------- */
.bootstrap5-ui.admin-body .pagination{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  margin:16px 0 0;
  padding:0;
}
.bootstrap5-ui.admin-body .pagination a,
.bootstrap5-ui.admin-body .pagination span{
  min-height:36px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:7px 11px;
  border:1px solid var(--admin-line);
  border-radius:.65rem;
  background:#fff;
  color:#495361;
  font-size:.7rem;
  font-weight:800;
}
.bootstrap5-ui.admin-body .pagination a:hover{
  border-color:#cf9da7;
  color:var(--admin-brand);
  background:#fff9fa;
}

/* ---------- Feedback / compact summary cards ---------- */
.bootstrap5-ui.admin-body .admin-summary-grid{
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
  margin-bottom:18px;
}
.bootstrap5-ui.admin-body .admin-summary-grid .stat-card{
  min-height:108px;
  padding:16px;
  border:1px solid var(--admin-line);
  border-radius:.9rem;
  background:#fff;
  box-shadow:0 3px 12px rgba(16,24,40,.03);
}
.bootstrap5-ui.admin-body .admin-summary-grid .stat-card span{
  color:#687281;
  font-size:.68rem;
  font-weight:800;
}
.bootstrap5-ui.admin-body .admin-summary-grid .stat-card strong{
  display:block;
  margin-top:12px;
  color:#111827;
  font-size:1.7rem;
}

/* ---------- System & Settings ---------- */
.bootstrap5-ui.admin-body .system-grid{
  grid-template-columns:minmax(0,.9fr) minmax(0,1.35fr);
  gap:18px;
  align-items:start;
}
.bootstrap5-ui.admin-body .system-grid>.panel{
  margin-bottom:0;
}
.bootstrap5-ui.admin-body .system-dl>div{
  grid-template-columns:minmax(120px,155px) minmax(0,1fr);
  gap:14px;
  padding:10px 0;
}
.bootstrap5-ui.admin-body .system-dl dt{
  color:#707a87;
  font-size:.7rem;
  font-weight:750;
}
.bootstrap5-ui.admin-body .system-dl dd{
  color:#27313d;
  font-size:.72rem;
  overflow-wrap:anywhere;
}

/* ---------- Readiness / Go-Live ---------- */
.bootstrap5-ui.admin-body .readiness-pill{
  flex:0 0 auto;
}
.bootstrap5-ui.admin-body .readiness-list>div{
  grid-template-columns:30px minmax(220px,1fr) minmax(180px,.72fr);
  gap:12px;
  padding:12px 0;
}
.bootstrap5-ui.admin-body .readiness-list>div>span{
  width:26px;
  height:26px;
  border-radius:8px;
}
.bootstrap5-ui.admin-body .readiness-list strong{
  color:#29333f;
  font-size:.75rem;
}
.bootstrap5-ui.admin-body .readiness-list small{
  font-size:.67rem;
  line-height:1.45;
}
.bootstrap5-ui.admin-body .go-live-kpis{
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
}
.bootstrap5-ui.admin-body .go-live-kpis>a{
  min-height:118px;
  padding:16px;
  border-radius:.9rem;
  box-shadow:0 3px 12px rgba(16,24,40,.025);
}
.bootstrap5-ui.admin-body .go-live-kpis strong{
  font-size:1.75rem;
}
.bootstrap5-ui.admin-body .assurance-table{
  width:100%;
}
.bootstrap5-ui.admin-body .uat-grid{
  gap:12px;
}
.bootstrap5-ui.admin-body .uat-card{
  min-width:0;
  grid-template-columns:minmax(0,1fr) 100px minmax(150px,.75fr) auto;
  gap:8px;
  padding:12px;
}
.bootstrap5-ui.admin-body .uat-card select,
.bootstrap5-ui.admin-body .uat-card input{
  min-width:0;
  height:36px;
}

/* ---------- Analytics ---------- */
.bootstrap5-ui.admin-body .analytics-range{
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-end;
  gap:6px;
}
.bootstrap5-ui.admin-body .analytics-range a{
  min-height:34px;
  display:inline-flex;
  align-items:center;
  padding:6px 10px;
  font-size:.68rem;
}
.bootstrap5-ui.admin-body .analytics-kpis{
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
  margin-bottom:18px;
}
.bootstrap5-ui.admin-body .analytics-kpi{
  min-height:118px;
  padding:16px;
  border-radius:.9rem;
  box-shadow:0 3px 12px rgba(16,24,40,.025);
}
.bootstrap5-ui.admin-body .analytics-kpi span{
  font-size:.68rem;
  font-weight:750;
}
.bootstrap5-ui.admin-body .analytics-kpi strong{
  margin-top:9px;
  font-size:1.72rem;
}
.bootstrap5-ui.admin-body .analytics-kpi small{
  margin-top:8px;
  font-size:.65rem;
}
.bootstrap5-ui.admin-body .analytics-grid{
  gap:16px;
}
.bootstrap5-ui.admin-body .analytics-panel{
  min-height:300px;
}
.bootstrap5-ui.admin-body .analytics-panel-head h2{
  font-size:1rem;
}
.bootstrap5-ui.admin-body .rank-list strong{
  font-size:.72rem;
}
.bootstrap5-ui.admin-body .rank-list small{
  font-size:.64rem;
}

/* ---------- Assistant admin ---------- */
.bootstrap5-ui.admin-body .assistant-kpis{
  grid-template-columns:repeat(3,minmax(0,1fr));
}
.bootstrap5-ui.admin-body .assistant-admin-grid{
  grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);
  gap:16px;
}
.bootstrap5-ui.admin-body .assistant-admin-status{
  min-width:150px;
  align-items:flex-end;
}
.bootstrap5-ui.admin-body .assistant-security-note,
.bootstrap5-ui.admin-body .assistant-privacy-admin-note{
  font-size:.7rem;
}
.bootstrap5-ui.admin-body .assistant-preview-list strong{
  font-size:.72rem;
}
.bootstrap5-ui.admin-body .assistant-preview-list small{
  font-size:.64rem;
  line-height:1.4;
}
.bootstrap5-ui.admin-body .gap-inline-form{
  grid-template-columns:105px minmax(150px,1fr) auto;
  align-items:center;
}

/* ---------- Regulation editor/source governance ---------- */
.bootstrap5-ui.admin-body .source-governance-fields{
  padding:16px;
  border:1px solid #e4e7eb;
  border-radius:.85rem;
  background:#fafbfc;
}
.bootstrap5-ui.admin-body .source-shortcuts{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
}
.bootstrap5-ui.admin-body .source-shortcuts a{
  display:inline-flex;
  align-items:center;
  min-height:34px;
  padding:6px 9px;
  border:1px solid #e0e4e8;
  border-radius:.6rem;
  background:#fff;
  color:#6f1929;
  font-size:.67rem;
  font-weight:800;
}

/* ---------- File inputs ---------- */
.bootstrap5-ui.admin-body input[type="file"]{
  width:100%;
  min-height:42px;
  padding:5px;
  border:1px solid #dce1e7;
  border-radius:.68rem;
  background:#fff;
  color:#424b57;
  font-size:.72rem;
}
.bootstrap5-ui.admin-body input[type="file"]::file-selector-button{
  height:30px;
  margin-right:9px;
  padding:0 10px;
  border:0;
  border-radius:.5rem;
  background:#f0f2f5;
  color:#343d49;
  font-weight:800;
  cursor:pointer;
}

/* ---------- Mobile/accessibility completion ---------- */
@media(max-width:1079.98px){
  .bootstrap5-ui.admin-body .admin-summary-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .bootstrap5-ui.admin-body .system-grid{
    grid-template-columns:1fr;
  }
  .bootstrap5-ui.admin-body .go-live-kpis{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .bootstrap5-ui.admin-body .analytics-kpis,
  .bootstrap5-ui.admin-body .assistant-kpis{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .bootstrap5-ui.admin-body .assistant-admin-grid{
    grid-template-columns:1fr;
  }
  .bootstrap5-ui.admin-body .admin-filter-bar--compact,
  .bootstrap5-ui.admin-body .regulation-admin-filter{
    grid-template-columns:1fr 1fr!important;
  }
  .bootstrap5-ui.admin-body .admin-filter-bar--compact>input:not([type="hidden"]),
  .bootstrap5-ui.admin-body .regulation-admin-filter>input:not([type="hidden"]){
    grid-column:1/-1;
  }
}

@media(max-width:767.98px){
  .bootstrap5-ui.admin-body .container.narrow,
  .bootstrap5-ui.admin-body .container.narrow-wide{
    width:min(100% - 24px,1120px);
  }
  .bootstrap5-ui.admin-body .admin-summary-grid,
  .bootstrap5-ui.admin-body .analytics-kpis,
  .bootstrap5-ui.admin-body .assistant-kpis,
  .bootstrap5-ui.admin-body .go-live-kpis{
    grid-template-columns:1fr;
  }
  .bootstrap5-ui.admin-body .admin-filter-bar--compact,
  .bootstrap5-ui.admin-body .admin-filter-bar--search-action,
  .bootstrap5-ui.admin-body .regulation-admin-filter{
    grid-template-columns:1fr!important;
  }
  .bootstrap5-ui.admin-body .admin-filter-bar--compact>input:not([type="hidden"]),
  .bootstrap5-ui.admin-body .regulation-admin-filter>input:not([type="hidden"]){
    grid-column:auto;
  }
  .bootstrap5-ui.admin-body .readiness-list>div{
    grid-template-columns:30px minmax(0,1fr);
  }
  .bootstrap5-ui.admin-body .readiness-list small{
    grid-column:2;
  }
  .bootstrap5-ui.admin-body .uat-card{
    grid-template-columns:1fr;
  }
  .bootstrap5-ui.admin-body .uat-card input,
  .bootstrap5-ui.admin-body .uat-card select,
  .bootstrap5-ui.admin-body .uat-card button{
    width:100%;
  }
  .bootstrap5-ui.admin-body .analytics-range{
    justify-content:flex-start;
  }
  .bootstrap5-ui.admin-body .assistant-admin-status{
    width:100%;
    align-items:flex-start;
  }
  .bootstrap5-ui.admin-body .gap-inline-form{
    grid-template-columns:1fr;
  }
  .bootstrap5-ui.admin-body .source-shortcuts{
    display:grid;
    grid-template-columns:1fr;
  }
  .bootstrap5-ui.admin-body .source-shortcuts a{
    justify-content:center;
  }
}

@media(max-width:460px){
  .bootstrap5-ui.admin-body .page-heading{
    margin-bottom:16px;
  }
  .bootstrap5-ui.admin-body .page-heading h1{
    font-size:1.55rem;
  }
  .bootstrap5-ui.admin-body .btn{
    min-height:42px;
  }
  .bootstrap5-ui.admin-body .pagination{
    align-items:stretch;
    flex-direction:column;
  }
  .bootstrap5-ui.admin-body .pagination a,
  .bootstrap5-ui.admin-body .pagination span{
    width:100%;
  }
}

/* Respect users who request less motion. */
@media(prefers-reduced-motion:reduce){
  .bootstrap5-ui.admin-body *,
  .bootstrap5-ui.admin-body *::before,
  .bootstrap5-ui.admin-body *::after{
    scroll-behavior:auto!important;
    transition-duration:.01ms!important;
    animation-duration:.01ms!important;
    animation-iteration-count:1!important;
  }
}

/* ==========================================================================
   v0.19.4.3 — Mobile Search Pagination Position Hotfix
   ========================================================================== */

/* Results and pagination use one explicit vertical flow.
   This prevents responsive/flex rules from visually moving pagination above
   the result cards on narrow screens. */
.bootstrap5-ui.public-body .faq-results-stack{
  display:flex;
  flex-direction:column;
  width:100%;
  min-width:0;
}
.bootstrap5-ui.public-body .faq-results-stack>.faq-list{
  order:1;
  width:100%;
}
.bootstrap5-ui.public-body .faq-results-stack>.faq-pagination{
  order:2;
  position:static!important;
  inset:auto!important;
  float:none!important;
  clear:both;
  width:100%;
  margin:1.4rem 0 0!important;
  padding-top:0!important;
}

/* Mobile: pagination always remains a normal block after the last result. */
@media(max-width:767.98px){
  .bootstrap5-ui.public-body .faq-results-stack{
    display:flex!important;
    flex-direction:column!important;
  }
  .bootstrap5-ui.public-body .faq-results-stack>.faq-list{
    order:1!important;
  }
  .bootstrap5-ui.public-body .faq-results-stack>.faq-pagination{
    order:2!important;
    position:static!important;
    width:100%!important;
    margin:1rem 0 0!important;
    padding:.25rem 0 0!important;
    justify-content:center;
    align-self:stretch;
  }
}

/* Very small screens: allow controls to wrap without changing vertical order. */
@media(max-width:460px){
  .bootstrap5-ui.public-body .faq-results-stack>.faq-pagination{
    flex-wrap:wrap;
    gap:.4rem;
  }
  .bootstrap5-ui.public-body .faq-results-stack>.faq-pagination .page-nav{
    flex:1 1 calc(50% - .4rem);
    min-width:118px;
  }
}

/* v0.21.0 white-label admin assets */
.institution-asset-preview {display:block;max-height:96px;max-width:160px;object-fit:contain;margin:.65rem 0;background:#f8f9fa;border:1px solid #e1e4e9;border-radius:12px;padding:.6rem}
.institution-photo-preview {display:block;max-height:160px;max-width:190px;object-fit:contain;margin:.65rem 0;background:#f8f9fa;border:1px solid #e1e4e9;border-radius:12px;padding:.6rem}
.institution-leader-editor {border:1px solid #e2e6eb;border-radius:14px;padding:1.1rem;margin:.35rem 0 1rem}
.institution-settings-form input[type=file] {display:block;max-width:100%;margin:.7rem 0}

/* v0.21.1 portability wizard */
.portability-steps{display:grid;gap:.8rem;padding-left:1.6rem;margin:1rem 0 1.5rem;}
.portability-steps li{line-height:1.65;}
.portability-steps a{font-weight:600;}


/* v0.22.0.2 — Give the remaining SuperApp footer panel more room. */
@media(min-width:992px){
  .bootstrap5-ui .footer-grid{
    grid-template-columns:minmax(0,1fr) minmax(320px,1.2fr) minmax(220px,.75fr);
    gap:clamp(1.2rem,2.4vw,2rem);
  }
}
.bootstrap5-ui .footer-official-app{padding:1rem 1.1rem;min-height:110px;}
.bootstrap5-ui .footer-official-app-copy>strong{font-size:.92rem;}
.bootstrap5-ui .footer-official-app-copy>small{font-size:.76rem;}
