:root {
  --navy: #092540;
  --blue: #0f67b1;
  --teal: #07847e;
  --amber: #f2b84b;
  --sky: #eaf5ff;
  --mint: #e9f8f4;
  --ink: #132235;
  --muted: #627187;
  --line: #dbe5ef;
  --soft: #f5f8fc;
  --panel: #ffffff;
}

html,
body {
  min-height: 100%;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(15, 103, 177, 0.08), transparent 34rem),
    linear-gradient(180deg, #fbfdff 0%, var(--soft) 42%, #fff 100%);
  letter-spacing: 0;
}

body > main {
  flex: 1 0 auto;
}

.app-navbar {
  min-height: 74px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(219, 229, 239, 0.86);
  box-shadow: 0 12px 34px rgba(9, 37, 64, 0.12);
}

.navbar .nav-link {
  border-radius: 8px;
  padding-left: 0.85rem;
  padding-right: 0.85rem;
  color: #31445b;
  font-weight: 750;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus {
  background: var(--sky);
  color: var(--blue);
}

.navbar .nav-link.nav-staff-link {
  color: #607086;
}

.navbar .nav-link.nav-staff-link:hover,
.navbar .nav-link.nav-staff-link:focus {
  color: var(--navy);
}

.navbar-brand {
  min-width: 0;
  color: var(--navy);
}

.navbar-brand:hover,
.navbar-brand:focus {
  color: var(--navy);
}

.brand-copy {
  display: grid;
  line-height: 1.05;
}

.brand-copy strong {
  font-size: 1.05rem;
  font-weight: 900;
}

.brand-copy small {
  margin-top: 0.18rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 750;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  color: #fff;
  font-size: 1rem;
  box-shadow: 0 10px 22px rgba(15, 103, 177, 0.22);
}

.navbar-toggler {
  border-color: var(--line);
  border-radius: 8px;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.22rem rgba(15, 103, 177, 0.13);
}

.navbar-toggler-icon {
  filter: invert(1);
}

.nav-cta {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding-left: 1rem;
  padding-right: 1rem;
  box-shadow: 0 12px 24px rgba(15, 103, 177, 0.2);
}

.hero {
  min-height: calc(100vh - 74px);
  display: grid;
  align-items: center;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(6, 26, 46, 0.96), rgba(8, 61, 93, 0.88), rgba(7, 132, 126, 0.62)),
    url("https://images.unsplash.com/photo-1544620347-c4fd4a3d5957?auto=format&fit=crop&w=1800&q=80") center / cover;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 96px;
  background: linear-gradient(180deg, transparent, rgba(245, 248, 252, 0.98));
}

.hero > .container {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: clamp(2.55rem, 5vw, 4.15rem);
  line-height: 1.05;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #e8f8ff;
}

.hero-panel {
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.54);
  box-shadow: 0 28px 70px rgba(2, 15, 29, 0.26);
}

.hero-panel-row {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1rem;
  border-bottom: 1px solid var(--line);
}

.hero-panel-row:last-child {
  border-bottom: 0;
}

.home-ready-panel h2 {
  color: var(--navy);
  font-weight: 850;
}

.ready-list {
  display: grid;
  gap: 0.72rem;
}

.ready-list > div {
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: 0.78rem;
  padding: 0.75rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(135deg, #fff, #f7fbff);
  font-weight: 750;
}

.ready-list i {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  background: var(--mint);
  color: var(--teal);
}

.icon-box {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  background: var(--sky);
  color: var(--blue);
  font-size: 1.25rem;
}

.icon-box.teal {
  background: var(--mint);
  color: var(--teal);
}

.icon-box.amber {
  background: #fff5dc;
  color: #9b6308;
}

.trust-strip {
  margin-top: -48px;
  position: relative;
  z-index: 2;
  padding-bottom: 42px;
}

.trust-item {
  min-height: 92px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 14px 36px rgba(15, 35, 64, 0.08);
}

.section-band {
  padding: 64px 0;
}

.app-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.07);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.app-card:hover {
  transform: translateY(-2px);
  border-color: rgba(15, 103, 177, 0.26);
  box-shadow: 0 20px 46px rgba(15, 23, 42, 0.1);
}

.metric {
  border-left: 4px solid var(--blue);
}

.feature-card {
  min-height: 210px;
}

.feature-icon {
  width: 54px;
  height: 54px;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--sky), var(--mint));
  color: var(--blue);
  font-size: 1.55rem;
}

.register-hero {
  background:
    linear-gradient(135deg, rgba(9, 37, 64, 0.96), rgba(7, 132, 126, 0.84)),
    url("https://images.unsplash.com/photo-1494515843206-f3117d3f51b7?auto=format&fit=crop&w=1400&q=80") center / cover;
  color: #fff;
  padding: 44px 0 82px;
}

.register-shell {
  margin-top: -52px;
  position: relative;
}

.gov-service-strip {
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.gov-strip-inner {
  min-height: 118px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
}

.gov-service-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  text-align: center;
}

.gov-service-title p {
  margin: 0 0 0.15rem;
  color: var(--muted);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.gov-service-title h1 {
  margin: 0;
  color: var(--navy);
  font-size: 1.75rem;
  font-weight: 900;
}

.gov-emblem {
  width: 54px;
  height: 54px;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  color: #fff;
  font-size: 1.5rem;
}

.leader-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
}

.leader-card strong,
.leader-card span {
  display: block;
}

.leader-card strong {
  color: var(--ink);
  font-weight: 900;
}

.leader-card span {
  color: var(--muted);
  font-size: 0.84rem;
}

.leader-photo-wrap {
  width: 76px;
  height: 86px;
  flex: 0 0 76px;
  padding: 4px;
  border-radius: 8px;
  background: linear-gradient(135deg, #fff, var(--sky));
  border: 1px solid var(--line);
  box-shadow: 0 12px 26px rgba(15, 35, 64, 0.1);
}

.leader-photo {
  width: 100%;
  height: 100%;
  border-radius: 7px;
  object-fit: cover;
  object-position: top center;
}

.leader-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: linear-gradient(135deg, var(--sky), var(--mint));
  color: var(--blue);
  font-size: 1.8rem;
  font-weight: 900;
}

.register-help-list {
  display: grid;
  gap: 0.6rem;
}

.register-help-list > div {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.45rem;
}

.register-help-list strong,
.register-help-list small {
  display: block;
}

.register-help-list small {
  color: var(--muted);
}

.live-ready-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(7, 132, 126, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.07);
}

.live-ready-bar span {
  margin-left: 0.45rem;
  color: var(--muted);
}

.live-ready-bar a {
  color: var(--blue);
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.page-hero {
  padding: 56px 0;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(9, 37, 64, 0.96), rgba(15, 103, 177, 0.82)),
    url("https://images.unsplash.com/photo-1536098561742-ca998e48cbcc?auto=format&fit=crop&w=1400&q=80") center / cover;
}

.contact-hero {
  background:
    linear-gradient(135deg, rgba(9, 37, 64, 0.96), rgba(7, 132, 126, 0.84)),
    url("https://images.unsplash.com/photo-1516321318423-f06f85e504b3?auto=format&fit=crop&w=1400&q=80") center / cover;
}

.status-hero {
  background:
    linear-gradient(135deg, rgba(9, 37, 64, 0.96), rgba(15, 103, 177, 0.82)),
    url("https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?auto=format&fit=crop&w=1400&q=80") center / cover;
}

.staff-login-hero {
  background:
    linear-gradient(135deg, rgba(9, 37, 64, 0.98), rgba(15, 103, 177, 0.82)),
    url("https://images.unsplash.com/photo-1551434678-e076c223a692?auto=format&fit=crop&w=1400&q=80") center / cover;
}

.page-shell {
  margin-top: -34px;
  position: relative;
}

.soft-panel {
  border-radius: 8px;
  background: linear-gradient(135deg, var(--sky), #fff);
  border: 1px solid var(--line);
}

.wizard-header {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.wizard-step-pill {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 58px;
  padding: 0.75rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.step-dot {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  border: 2px solid var(--line);
  color: var(--muted);
  font-weight: 700;
}

.step-dot.active,
.step-dot.done {
  background: linear-gradient(135deg, var(--blue), var(--teal));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 8px 18px rgba(15, 103, 177, 0.25);
}

.step-label {
  min-width: 0;
}

.step-label strong,
.step-label span {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.step-label span {
  color: var(--muted);
  font-size: 0.82rem;
}

.wizard-step {
  display: none;
}

.wizard-step.active {
  display: block;
}

.form-section-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.form-label {
  font-weight: 650;
  color: #27364b;
}

.form-control,
.form-select {
  min-height: 46px;
  border-color: #cfdae7;
  box-shadow: none;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 0.22rem rgba(15, 103, 177, 0.13);
}

.form-hint {
  padding: 0.9rem 1rem;
  border-radius: 8px;
  background: var(--sky);
  color: #275070;
}

.wizard-actions {
  position: sticky;
  bottom: 0;
  z-index: 5;
  margin: 1.5rem -1.5rem -1.5rem;
  padding: 1rem 1.5rem;
  background: rgba(255, 255, 255, 0.94);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(12px);
  border-radius: 0 0 8px 8px;
}

.footer {
  background: #081d36;
  color: #dbeafe;
}

.footer-inner {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.92rem;
}

.footer a {
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.footer a:hover,
.footer a:focus {
  text-decoration: underline;
}

.admin-shell {
  padding-top: 72px;
  background:
    radial-gradient(circle at top right, rgba(7, 132, 126, 0.09), transparent 34rem),
    linear-gradient(180deg, #f7fbff 0%, #f4f7fb 100%);
}

.admin-topbar {
  height: 72px;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(219, 229, 239, 0.86);
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.07);
  z-index: 1031;
}

.admin-topbar .container-fluid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.admin-eyebrow {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
}

.admin-title {
  color: var(--ink);
  font-size: 1.12rem;
  font-weight: 800;
}

.admin-user-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 42px;
  padding: 0.32rem 0.65rem 0.32rem 0.35rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.admin-user-chip strong,
.admin-user-chip small {
  display: block;
  line-height: 1.1;
}

.admin-user-chip small {
  color: var(--muted);
  margin-top: 0.16rem;
}

.admin-avatar {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  color: #fff;
  font-weight: 800;
}

.icon-button {
  width: 42px;
  min-width: 42px;
  padding-left: 0;
  padding-right: 0;
  display: inline-grid;
  place-items: center;
}

.logout-button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 750;
}

.admin-sidebar {
  width: 282px;
  position: relative;
  background:
    linear-gradient(180deg, rgba(9, 37, 64, 0.98), rgba(7, 30, 54, 0.98)),
    url("https://images.unsplash.com/photo-1519003722824-194d4455a60c?auto=format&fit=crop&w=900&q=60") center / cover;
  color: #e7f2ff;
  border-right: 0;
  box-shadow: 18px 0 44px rgba(9, 37, 64, 0.18);
}

.admin-sidebar::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 37, 64, 0.94), rgba(7, 30, 54, 0.96));
  pointer-events: none;
}

.admin-sidebar .offcanvas-body,
.admin-sidebar .offcanvas-header {
  position: relative;
  z-index: 1;
}

.admin-sidebar .offcanvas-body {
  display: block !important;
  height: calc(100vh - 72px);
  overflow-y: auto;
}

.admin-sidebar-head {
  min-height: 72px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex !important;
}

.admin-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
}

.admin-sidebar-label {
  padding: 1.1rem 1.25rem 0.55rem;
  color: rgba(231, 242, 255, 0.62);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

@media (min-width: 992px) {
  .admin-sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 1000;
  }

  .admin-content {
    margin-left: 282px;
  }

  .admin-topbar {
    left: 282px;
  }
}

.admin-sidebar .nav-link {
  color: rgba(231, 242, 255, 0.82);
  border-radius: 8px;
  margin-bottom: 6px;
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 700;
  border: 1px solid transparent;
  width: 100%;
}

.admin-sidebar .nav-link i {
  width: 22px;
  text-align: center;
  font-size: 1.06rem;
}

.admin-sidebar .nav-link:hover,
.admin-sidebar .nav-link:focus {
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
}

.admin-sidebar .nav-link.active {
  background: #fff;
  color: var(--navy);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.14);
}

.admin-content {
  min-height: calc(100vh - 72px);
  display: flex;
  flex-direction: column;
}

.admin-content .container-fluid {
  max-width: none;
  flex: 1 0 auto;
  padding-left: clamp(0.85rem, 1.2vw, 1.25rem);
  padding-right: clamp(0.85rem, 1.2vw, 1.25rem);
  padding-top: 1.15rem !important;
  padding-bottom: 1.15rem !important;
}

.admin-shell .app-card {
  border-color: rgba(219, 229, 239, 0.92);
}

.admin-shell .app-card:hover {
  transform: none;
}

.admin-page-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.95rem;
}

.admin-page-head h1 {
  margin-bottom: 0.2rem;
  font-weight: 800;
}

.admin-subtitle {
  color: var(--muted);
  margin-bottom: 0;
}

.metric {
  position: relative;
  overflow: hidden;
  border-left: 0;
  min-height: 142px;
}

.metric::after {
  content: "";
  position: absolute;
  right: -30px;
  top: -30px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: rgba(15, 103, 177, 0.09);
}

.metric-icon {
  width: 46px;
  height: 46px;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  background: var(--sky);
  color: var(--blue);
  font-size: 1.25rem;
}

.metric-icon.success {
  background: var(--mint);
  color: var(--teal);
}

.metric-icon.warning {
  background: #fff5dc;
  color: #9b6308;
}

.metric-icon.danger {
  background: #fff0f0;
  color: #b42318;
}

.data-toolbar {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.table-card {
  overflow: hidden;
}

.table-card .table {
  margin-bottom: 0;
}

.table-card thead th {
  background: #f3f7fb;
  color: #40516a;
  font-size: 0.78rem;
  text-transform: uppercase;
  border-bottom: 1px solid var(--line);
}

.table-card tbody td {
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
}

.table-hover tbody tr:hover {
  background: #f8fbfe;
}

.responsive-data-table {
  width: 100%;
}

.table-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.cards-admin-table th:nth-child(7),
.cards-admin-table td:nth-child(7) {
  min-width: 170px;
}

.cards-admin-table th:nth-child(8),
.cards-admin-table td:nth-child(8) {
  min-width: 260px;
}

.card-row-actions,
.card-status-form {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  justify-content: flex-end;
}

.card-status-form .form-select {
  min-width: 138px;
}

.badge {
  border-radius: 999px;
  padding: 0.48rem 0.68rem;
  font-weight: 750;
}

.admin-action-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.settings-home-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1rem;
}

.settings-home-card {
  min-height: 112px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 28px;
  align-items: center;
  gap: 0.9rem;
  padding: 1rem;
  color: var(--ink);
  text-decoration: none;
}

.settings-home-card strong,
.settings-home-card small {
  display: block;
}

.settings-home-card strong {
  font-weight: 900;
  color: var(--navy);
}

.settings-home-card small {
  margin-top: 0.18rem;
  color: var(--muted);
  line-height: 1.35;
}

.settings-home-card > .bi {
  color: var(--blue);
  font-size: 1.35rem;
}

.settings-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  padding: 0.65rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
}

.settings-tab {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 0.48rem;
  padding: 0.55rem 0.78rem;
  border-radius: 8px;
  color: #40516a;
  text-decoration: none;
  font-weight: 800;
}

.settings-tab:hover,
.settings-tab:focus {
  background: var(--sky);
  color: var(--blue);
}

.settings-tab.active {
  background: linear-gradient(135deg, var(--blue), var(--teal));
  color: #fff;
  box-shadow: 0 12px 24px rgba(15, 103, 177, 0.18);
}

.settings-section-card {
  padding: 0;
}

.variable-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.variable-chip-list span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0.3rem 0.62rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(15, 103, 177, 0.22);
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 850;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.quick-action {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-height: 78px;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  font-weight: 750;
}

.quick-action:hover {
  border-color: rgba(15, 103, 177, 0.32);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.08);
  color: var(--blue);
}

.permission-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 0.55rem;
}

.permission-chip {
  min-height: 64px;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.72rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}

.permission-chip.active {
  border-color: rgba(7, 132, 126, 0.32);
  background: linear-gradient(135deg, rgba(234, 245, 255, 0.72), rgba(233, 248, 244, 0.72));
}

.permission-chip input {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.permission-chip strong,
.permission-chip small {
  display: block;
}

.permission-chip small {
  color: var(--muted);
  font-size: 0.78rem;
}

.permission-mini-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  max-width: 360px;
}

.permission-mini-list span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0.28rem 0.5rem;
  border-radius: 999px;
  background: #f3f7fb;
  color: #40516a;
  font-size: 0.78rem;
  font-weight: 750;
}

.support-number-list {
  display: grid;
  gap: 0.9rem;
}

.contact-form textarea {
  min-height: 142px;
}

.status-lookup-card {
  position: sticky;
  top: 92px;
}

.status-result-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.status-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.status-detail-grid > div {
  min-height: 82px;
  padding: 0.9rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbfe;
}

.status-detail-grid span,
.download-card span {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 750;
}

.status-detail-grid strong,
.download-card strong {
  display: block;
  margin-top: 0.18rem;
  color: var(--ink);
  overflow-wrap: anywhere;
}

.download-card {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid rgba(7, 132, 126, 0.24);
  border-radius: 8px;
  background: linear-gradient(135deg, #fff, var(--mint));
}

.user-application-card {
  overflow: hidden;
}

.user-profile-strip {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(135deg, #fff, #f7fbff);
}

.user-photo-frame {
  width: 86px;
  height: 96px;
  flex: 0 0 86px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, var(--sky), var(--mint));
  color: var(--blue);
  font-size: 2rem;
  font-weight: 900;
}

.user-photo-frame.small {
  width: 64px;
  height: 72px;
  flex-basis: 64px;
  font-size: 1.5rem;
}

.user-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.user-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  padding: 1rem;
}

.user-detail-grid > div {
  min-height: 72px;
  padding: 0.85rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.user-detail-grid > div.wide {
  grid-column: 1 / -1;
}

.user-detail-grid span {
  display: block;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.user-detail-grid strong {
  display: block;
  margin-top: 0.2rem;
  color: var(--ink);
  overflow-wrap: anywhere;
}

.min-w-0 {
  min-width: 0;
}

.support-number {
  min-height: 76px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  column-gap: 1rem;
  padding: 1rem;
  border: 1px solid rgba(7, 132, 126, 0.24);
  border-radius: 8px;
  background: linear-gradient(135deg, #fff, var(--mint));
  color: var(--ink);
  text-decoration: none;
  font-size: clamp(1.25rem, 4vw, 1.8rem);
  font-weight: 900;
  letter-spacing: 0;
}

.support-number span,
.support-number small {
  min-width: 0;
}

.support-number small {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 750;
}

.support-number:hover,
.support-number:focus {
  border-color: rgba(7, 132, 126, 0.46);
  color: var(--teal);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.08);
}

.support-number i {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  background: #25d366;
  color: #fff;
  font-size: 1.4rem;
}

.staff-login-card {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  overflow: hidden;
}

.staff-login-side {
  min-height: 430px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: clamp(1.5rem, 4vw, 2.4rem);
  color: #fff;
  background:
    linear-gradient(180deg, rgba(9, 37, 64, 0.18), rgba(9, 37, 64, 0.94)),
    url("https://images.unsplash.com/photo-1557804506-669a67965ba0?auto=format&fit=crop&w=900&q=80") center / cover;
}

.staff-login-side h2 {
  font-weight: 900;
  margin: 1rem 0 0.45rem;
}

.staff-login-side p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

.staff-login-icon {
  width: 58px;
  height: 58px;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.24);
  font-size: 1.55rem;
}

.staff-login-form {
  padding: clamp(1.25rem, 4vw, 2.4rem);
}

.admin-footer {
  min-height: 58px;
  margin-top: auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.94);
  border-top: 1px solid var(--line);
  color: #465b74;
  font-size: 0.88rem;
}

.card-size-preview {
  min-height: 220px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, #fff8de, #fff);
}

.card-size-preview > span {
  color: #475569;
  font-size: 0.86rem;
  font-weight: 900;
}

.card-size-preview > span:first-child {
  grid-column: 1 / -1;
  justify-self: center;
}

.card-size-preview > span:last-child {
  writing-mode: vertical-rl;
}

.preview-pass {
  aspect-ratio: 86 / 54;
  width: min(100%, 260px);
  padding: 0.75rem;
  border-radius: 8px;
  background: linear-gradient(145deg, #fff, #f5fbff);
  border: 1px solid #d5e2ef;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.14);
}

.preview-pass strong,
.preview-pass small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.preview-pass strong {
  color: var(--navy);
  font-weight: 900;
}

.preview-pass small {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 750;
}

.preview-pass-body {
  display: grid;
  grid-template-columns: 44px 1fr 54px;
  align-items: end;
  gap: 0.65rem;
  margin-top: 0.85rem;
  color: var(--blue);
}

.preview-pass-body i {
  min-width: 0;
  font-size: 2.2rem;
}

.preview-pass-body em {
  height: 34px;
  border-top: 8px solid #dbeafe;
  border-bottom: 8px solid #dbeafe;
}

.admin-footer a {
  color: var(--blue);
  font-weight: 800;
  text-decoration: none;
}

.admin-footer a:hover,
.admin-footer a:focus {
  text-decoration: underline;
}

.document-frame {
  min-height: 480px;
  background: #111827;
  border-radius: 8px;
  overflow: hidden;
}

.document-frame iframe,
.document-frame img {
  width: 100%;
  height: 480px;
  object-fit: contain;
  background: #111827;
}

.review-page-head {
  align-items: flex-start;
}

.review-page-head .badge {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.72rem;
  border-radius: 8px;
}

.review-hero-card {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(360px, 0.75fr);
  gap: 1rem;
  padding: clamp(1rem, 1.6vw, 1.45rem);
  border: 1px solid rgba(15, 103, 177, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(9, 37, 64, 0.96), rgba(15, 103, 177, 0.88)),
    #092540;
  color: #fff;
  box-shadow: 0 18px 42px rgba(9, 37, 64, 0.18);
}

.review-hero-main {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 0;
}

.review-hero-main small,
.review-hero-facts span {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.review-hero-main h2 {
  margin: 0.12rem 0;
  font-size: clamp(1.35rem, 2vw, 2rem);
  font-weight: 900;
  overflow-wrap: anywhere;
}

.review-hero-main p {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  overflow-wrap: anywhere;
}

.review-hero-icon {
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  color: #b6f6de;
  font-size: 1.45rem;
}

.review-hero-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.review-hero-facts div {
  min-height: 74px;
  padding: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
}

.review-hero-facts strong {
  display: block;
  margin-top: 0.2rem;
  color: #fff;
  font-size: 1rem;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.review-section .form-section-title {
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--line);
}

.review-snapshot {
  display: grid;
  grid-template-columns: 144px minmax(0, 1fr);
  gap: 1rem;
  align-items: stretch;
}

.review-photo-frame {
  width: 144px;
  min-height: 170px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(15, 103, 177, 0.24);
  border-radius: 8px;
  background: linear-gradient(135deg, var(--sky), #fff);
  color: var(--blue);
  font-size: 2.4rem;
  box-shadow: inset 0 0 0 6px #fff;
}

.review-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.review-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.review-detail-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.review-detail-grid.compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
}

.review-detail-item {
  min-height: 82px;
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.85rem;
  border: 1px solid rgba(219, 229, 239, 0.92);
  border-radius: 8px;
  background: #f8fbfe;
}

.review-detail-icon {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #fff;
  color: var(--blue);
  box-shadow: 0 8px 18px rgba(15, 103, 177, 0.08);
}

.review-detail-item small,
.review-address-box small,
.review-document-body small,
.review-notes-card small {
  display: block;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 850;
  text-transform: uppercase;
}

.review-detail-item strong,
.review-address-box strong {
  display: block;
  margin-top: 0.22rem;
  color: var(--ink);
  font-size: 0.98rem;
  line-height: 1.38;
  overflow-wrap: anywhere;
}

.review-empty {
  color: #8a98aa;
  font-weight: 650;
}

.review-address-box {
  padding: 1rem;
  border: 1px dashed rgba(15, 103, 177, 0.28);
  border-radius: 8px;
  background: linear-gradient(135deg, #fff, #f6fbff);
}

.review-vehicle-grid,
.review-document-grid,
.review-side-stack {
  display: grid;
  gap: 1rem;
}

.review-vehicle-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.review-vehicle-card,
.review-document-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
}

.review-document-card {
  display: grid;
  grid-template-columns: 1fr;
  min-height: 0;
  isolation: isolate;
}

.review-vehicle-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  background: linear-gradient(135deg, #f5fbff, #fff);
  border-bottom: 1px solid var(--line);
}

.review-vehicle-head span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.review-vehicle-head strong {
  color: var(--navy);
  font-size: 1.05rem;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.review-vehicle-card .review-detail-grid {
  padding: 0.85rem;
}

.review-document-grid {
  grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
}

.review-document-preview {
  position: relative;
  z-index: 0;
  width: 100%;
  height: 280px;
  min-height: 280px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(234, 245, 255, 0.92), rgba(255, 255, 255, 0.98)),
    #f7fbff;
}

.review-document-preview::after {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(15, 103, 177, 0.2);
  border-radius: 8px;
  pointer-events: none;
}

.review-document-preview > img {
  position: relative;
  z-index: 0;
  width: calc(100% - 22px);
  height: calc(100% - 22px);
  max-width: 100%;
  max-height: 100%;
  display: block;
  object-fit: contain;
  border-radius: 6px;
}

.review-file-preview {
  display: grid;
  place-items: center;
  gap: 0.55rem;
  color: #fff;
}

.review-file-preview i {
  font-size: 2.3rem;
}

.review-document-body {
  position: relative;
  z-index: 1;
  padding: 1rem;
  background: #fff;
  border-top: 1px solid var(--line);
}

.review-document-body h3 {
  margin: 0.14rem 0 0;
  color: var(--ink);
  font-size: 1.04rem;
  font-weight: 900;
}

.review-document-note {
  min-height: 44px;
  margin: 0.85rem 0 1rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.35;
}

.review-document-body dl {
  display: grid;
  gap: 0.5rem;
  margin: 0.9rem 0 1rem;
}

.review-document-body dl div {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 0.75rem;
  padding-bottom: 0.48rem;
  border-bottom: 1px solid #edf2f7;
}

.review-document-body dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
}

.review-document-body dd {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.review-document-alert {
  border: 1px solid rgba(242, 184, 75, 0.42);
  border-radius: 8px;
  background: #fff8e8;
  color: #5d420b;
}

.review-document-alert span {
  display: block;
  margin-top: 0.12rem;
  font-weight: 650;
}

.review-duplicate-pill {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  margin-top: 0.65rem;
  padding: 0.35rem 0.55rem;
  border: 1px solid rgba(242, 184, 75, 0.45);
  border-radius: 8px;
  background: #fff8e8;
  color: #835905;
  font-size: 0.78rem;
  font-weight: 850;
  overflow-wrap: anywhere;
}

.review-document-modal .modal-content {
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(9, 37, 64, 0.28);
}

.review-document-modal .modal-header {
  align-items: center;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: #fff;
}

.review-document-modal .modal-header small {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.75rem;
  font-weight: 850;
  text-transform: uppercase;
}

.review-document-modal .modal-header .btn-close {
  filter: invert(1) grayscale(1);
}

.review-document-modal .modal-body {
  min-height: min(72vh, 760px);
  padding: 0;
  background: #0f172a;
}

.review-modal-image,
.review-modal-frame {
  width: 100%;
  height: min(62vh, 660px);
  display: block;
  border: 0;
}

.review-modal-image {
  object-fit: contain;
  background: #0f172a;
}

.review-modal-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: #dbe5ef;
  border-top: 1px solid #dbe5ef;
}

.review-modal-meta div {
  min-height: 62px;
  padding: 0.75rem 0.9rem;
  background: #fff;
}

.review-modal-meta span {
  display: block;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 850;
  text-transform: uppercase;
}

.review-modal-meta strong {
  display: block;
  margin-top: 0.18rem;
  color: var(--ink);
  font-size: 0.9rem;
  overflow-wrap: anywhere;
}

.review-action-card {
  position: sticky;
  top: 94px;
  z-index: 2;
}

.review-notes-card {
  border-left: 4px solid var(--amber);
}

.review-notes-card p {
  margin: 0.2rem 0 0.85rem;
  color: var(--ink);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.review-timeline {
  position: relative;
  display: grid;
  gap: 0.9rem;
}

.review-timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 0.75rem;
}

.review-timeline-dot {
  width: 13px;
  height: 13px;
  margin-top: 0.35rem;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 2px rgba(15, 103, 177, 0.24);
}

.review-timeline-head {
  display: flex;
  justify-content: space-between;
  gap: 0.65rem;
}

.review-timeline-head strong {
  color: var(--ink);
  font-weight: 900;
}

.review-timeline-head small,
.review-timeline-item > div > small {
  color: var(--muted);
  font-size: 0.78rem;
}

.review-timeline-item p {
  margin: 0.15rem 0;
  color: var(--muted);
}

.review-timeline-item blockquote {
  margin: 0.55rem 0;
  padding: 0.65rem 0.8rem;
  border-left: 3px solid var(--blue);
  border-radius: 0 8px 8px 0;
  background: #f6fbff;
  color: var(--ink);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.review-empty-state {
  min-height: 94px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1rem;
  border: 1px dashed var(--line);
  border-radius: 8px;
  background: #f8fbfe;
  color: var(--muted);
  font-weight: 800;
}

.btn {
  border-radius: 8px;
  font-weight: 650;
  min-height: 42px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue), #075d9d);
  border-color: #0f67b1;
}

.btn-success {
  background: linear-gradient(135deg, #0c8f68, var(--teal));
  border-color: var(--teal);
}

.btn-light {
  color: var(--navy);
}

.btn-outline-light:hover {
  color: var(--navy);
}

.form-control,
.form-select {
  border-radius: 8px;
}

.table {
  vertical-align: middle;
}

@media (max-width: 991.98px) {
  .app-navbar .container {
    max-width: 100%;
  }

  .navbar-brand {
    max-width: calc(100vw - 86px);
    font-size: 1rem;
  }

  .navbar-collapse {
    margin-top: 0.9rem;
    padding: 0.8rem;
    border-radius: 8px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.1);
  }

  .navbar .nav-link {
    min-height: 44px;
    display: flex;
    align-items: center;
    width: 100%;
  }

  .nav-cta {
    width: 100%;
    justify-content: center;
    margin-top: 0.35rem;
  }

  .hero {
    min-height: auto;
    padding: 68px 0 92px;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .hero-panel {
    margin-top: 2rem;
  }

  .trust-strip {
    margin-top: -28px;
  }

  .trust-item {
    min-height: auto;
  }

  .wizard-header {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-sidebar {
    width: min(88vw, 300px);
  }

  .staff-login-card {
    grid-template-columns: 1fr;
  }

  .staff-login-side {
    min-height: 220px;
  }

  .status-lookup-card {
    position: static;
  }

  .admin-topbar .container-fluid {
    padding-left: 0.8rem;
    padding-right: 0.8rem;
  }

  .gov-strip-inner {
    grid-template-columns: 1fr;
    padding: 1rem 0;
    text-align: center;
  }

  .leader-card,
  .leader-card.flex-row-reverse {
    justify-content: center;
    flex-direction: row !important;
    text-align: left !important;
  }
}

@media (max-width: 767.98px) {
  .register-hero .hero-kicker,
  .register-hero .lead,
  .register-hero .hero-panel,
  .register-help-list,
  .live-ready-bar,
  .wizard-header,
  .form-section-title p,
  .form-hint,
  .leader-card,
  .gov-service-title p {
    display: none !important;
  }

  .gov-strip-inner {
    grid-template-columns: 1fr;
    min-height: 58px;
    padding: 0.45rem 0;
  }

  .gov-service-title {
    justify-content: flex-start;
    text-align: left;
  }
}

@media (max-width: 575.98px) {
  body {
    background: #f6f8fb;
  }

  .hero h1 {
    font-size: 2.35rem;
  }

  .brand-copy strong {
    font-size: 0.95rem;
  }

  .brand-copy small {
    font-size: 0.66rem;
  }

  .app-navbar {
    min-height: 66px;
  }

  .hero .btn,
  .section-band .btn,
  .page-shell .btn,
  .register-shell .btn {
    width: 100%;
  }

  .hero .d-flex.flex-wrap {
    width: 100%;
  }

  .hero .d-flex.flex-wrap .btn {
    flex: 1 1 100%;
  }

  .register-hero {
    padding: 18px 0 54px;
    background: linear-gradient(135deg, var(--navy), var(--blue));
  }

  .register-hero .display-5 {
    font-size: 1.55rem;
    line-height: 1.12;
    margin-bottom: 0 !important;
  }

  .register-hero .hero-kicker,
  .register-hero .lead,
  .register-hero .hero-panel,
  .register-help-list,
  .live-ready-bar,
  .wizard-header,
  .form-section-title p,
  .form-hint {
    display: none !important;
  }

  .register-shell {
    margin-top: -36px;
  }

  .register-shell .app-card,
  .page-shell .app-card {
    padding: 0.85rem !important;
    border-radius: 8px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  }

  .form-section-title {
    align-items: flex-start;
    margin-bottom: 0.9rem;
    gap: 0.55rem;
  }

  .form-section-title .icon-box {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
    font-size: 1rem;
  }

  .form-section-title h2 {
    font-size: 1.12rem;
  }

  .row.g-3 {
    --bs-gutter-y: 0.72rem;
  }

  .form-label {
    margin-bottom: 0.28rem;
    font-size: 0.92rem;
  }

  .form-control,
  .form-select {
    min-height: 46px;
    font-size: 1rem;
  }

  textarea.form-control {
    min-height: 84px;
  }

  .table-responsive {
    -webkit-overflow-scrolling: touch;
  }

  .admin-shell .responsive-data-table {
    overflow: visible;
  }

  .admin-shell .responsive-data-table table,
  .admin-shell .responsive-data-table thead,
  .admin-shell .responsive-data-table tbody,
  .admin-shell .responsive-data-table tr,
  .admin-shell .responsive-data-table th,
  .admin-shell .responsive-data-table td {
    display: block;
    width: 100%;
  }

  .admin-shell .responsive-data-table thead {
    display: none;
  }

  .admin-shell .responsive-data-table tbody {
    display: grid;
    gap: 0.75rem;
    padding: 0.75rem;
    background: #f6f9fc;
  }

  .admin-shell .responsive-data-table tbody tr {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06);
    overflow: hidden;
  }

  .admin-shell .responsive-data-table tbody td {
    min-height: 42px;
    display: grid;
    grid-template-columns: minmax(112px, 40%) minmax(0, 1fr);
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0.85rem;
    border-bottom: 1px solid #edf2f7;
    text-align: left !important;
    overflow-wrap: anywhere;
  }

  .admin-shell .responsive-data-table tbody td:last-child {
    border-bottom: 0;
  }

  .card-row-actions,
  .card-status-form {
    justify-content: stretch;
  }

  .card-row-actions {
    flex-wrap: wrap;
  }

  .card-status-form {
    flex: 1 1 100%;
  }

  .card-status-form .form-select {
    flex: 1 1 auto;
    min-width: 0;
  }

  .admin-shell .responsive-data-table tbody td::before {
    content: attr(data-label);
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 800;
    text-transform: uppercase;
  }

  .admin-shell .responsive-data-table tbody td[colspan] {
    display: block;
    text-align: center !important;
  }

  .admin-shell .responsive-data-table tbody td[colspan]::before {
    content: "";
    display: none;
  }

  .section-band {
    padding: 44px 0;
  }

  .wizard-header {
    grid-template-columns: 1fr;
  }

  .wizard-actions {
    margin-left: -1rem;
    margin-right: -1rem;
    margin-bottom: -1rem;
    padding: 0.75rem 0.85rem;
  }

  .wizard-actions .btn {
    flex: 1 1 auto;
    min-height: 46px;
    padding-left: 0.65rem;
    padding-right: 0.65rem;
  }

  .admin-title {
    max-width: 44vw;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .admin-action-grid {
    grid-template-columns: 1fr;
  }

  .status-result-head,
  .download-card {
    flex-direction: column;
    align-items: stretch;
  }

  .status-detail-grid {
    grid-template-columns: 1fr;
  }

  .review-page-head {
    gap: 0.75rem;
  }

  .review-page-head,
  .review-hero-main,
  .review-timeline-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .review-hero-card {
    grid-template-columns: 1fr;
    padding: 1rem;
  }

  .review-hero-facts,
  .review-detail-grid,
  .review-detail-grid.three,
  .review-detail-grid.compact,
  .review-vehicle-grid,
  .review-document-grid,
  .review-document-card,
  .review-snapshot {
    grid-template-columns: 1fr;
  }

  .review-document-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .review-hero-facts div,
  .review-detail-item {
    min-height: auto;
  }

  .review-photo-frame {
    width: 112px;
    min-height: 132px;
  }

  .review-document-preview {
    width: 100%;
    height: 180px;
    min-height: 180px;
  }

  .review-modal-meta {
    grid-template-columns: 1fr;
  }

  .review-action-card {
    position: static;
  }

  .user-profile-strip {
    align-items: flex-start;
  }

  .user-detail-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner,
  .admin-footer {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding-top: 0.8rem;
    padding-bottom: 0.8rem;
  }

  .gov-service-title {
    flex-direction: row;
    gap: 0.55rem;
  }

  .gov-service-title h1 {
    font-size: 1.08rem;
  }

  .gov-service-title p,
  .leader-card {
    display: none !important;
  }

  .gov-emblem {
    width: 38px;
    height: 38px;
    font-size: 1.05rem;
  }

  .gov-strip-inner {
    min-height: 58px;
    padding: 0.45rem 0;
  }

  .leader-photo-wrap {
    width: 64px;
    height: 74px;
    flex-basis: 64px;
  }

  .live-ready-bar {
    align-items: flex-start;
    flex-direction: column;
  }

  .live-ready-bar span {
    display: block;
    margin-left: 1.55rem;
    margin-top: 0.2rem;
  }
}
