:root {
  --ink: #18211f;
  --muted: #68716d;
  --soft: #eef4f1;
  --line: #d8e1dc;
  --accent: #276c5d;
  --accent-2: #c46b38;
  --accent-3: #315f9f;
  --paper: #fbfcfb;
  --shadow: 0 16px 44px rgba(24, 33, 31, 0.08);
  --shadow-strong: 0 24px 70px rgba(24, 33, 31, 0.14);
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 96px;
  z-index: 1045;
  display: grid;
  width: 48px;
  height: 48px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, #0d6efd, #0d806f);
  box-shadow: 0 12px 28px rgba(15, 59, 94, 0.28);
  font-size: 1.35rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
  transition: opacity 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover,
.back-to-top:focus-visible {
  color: #fff;
  box-shadow: 0 16px 34px rgba(15, 59, 94, 0.38);
  transform: translateY(-2px);
}

@media (max-width: 575.98px) {
  .back-to-top {
    right: 14px;
    bottom: 88px;
    width: 44px;
    height: 44px;
  }
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 2000;
  padding: 10px 14px;
  color: #fff;
  background: #0f2b40;
  border-radius: 6px;
  transform: translateY(-160%);
  transition: transform 0.15s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 3px solid #ffbf47;
  outline-offset: 2px;
  box-shadow: 0 0 0 2px #fff;
}

.btn:not(.btn-sm),
.form-control:not(.form-control-sm),
.form-select:not(.form-select-sm) {
  min-height: 40px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body.dashboard-live-changed {
  animation: dashboard-live-background 1.2s ease-in-out infinite;
}

body.dashboard-live-changed .dashboard-panel,
body.dashboard-live-changed .portal-card {
  animation: dashboard-live-panel 1.2s ease-in-out infinite;
}

@keyframes dashboard-live-background {
  0%,
  100% {
    background: var(--paper);
  }
  50% {
    background: #fff6d8;
  }
}

@keyframes dashboard-live-panel {
  0%,
  100% {
    box-shadow: var(--shadow);
    border-color: var(--line);
  }
  50% {
    box-shadow: 0 0 0 4px rgba(255, 193, 7, 0.22), var(--shadow);
    border-color: #ffc107;
  }
}

a {
  color: inherit;
  text-decoration: none;
}

.navbar {
  min-height: 72px;
}

.navbar-portal {
  border-bottom: 1px solid rgba(216, 225, 220, 0.86);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  box-shadow: 0 12px 28px rgba(24, 33, 31, 0.05);
}

.navbar-brand {
  display: inline-flex;
  align-items: center;
  letter-spacing: 0;
  white-space: nowrap;
}

.navbar-brand-text {
  display: inline-flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.12;
}

.navbar-brand-title {
  display: block;
}

.navbar-brand-subtitle {
  display: block;
  max-width: 360px;
  margin-top: 2px;
  overflow: hidden;
  color: #52605d;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.navbar-collapse {  min-width: 0;
}

.navbar-nav {
  flex-wrap: wrap;
  justify-content: flex-end;
  row-gap: 6px;
}

.navbar .nav-link,
.btn-menu,
.dropdown-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.navbar .nav-link {
  min-height: 40px;
  padding: 8px 11px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.93rem;
  font-weight: 750;
  transition: color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: var(--ink);
  background: var(--soft);
}

.navbar .nav-link:hover {
  transform: translateY(-1px);
}

@media (min-width: 1200px) {
  .navbar-portal .navbar-nav {
    flex-wrap: nowrap;
    white-space: nowrap;
  }

  .navbar-portal .nav-link {
    padding-inline: 8px;
    font-size: 0.88rem;
  }

  .navbar-account-name {
    display: inline-block;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

.admin-menu {
  min-width: 230px;
  max-height: min(72vh, 520px);
  overflow-y: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.admin-menu .dropdown-item {
  min-height: 40px;
  color: var(--ink);
  font-weight: 700;
}

.admin-menu .dropdown-item i {
  color: var(--accent);
}

.admin-menu .admin-menu-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 34px;
  margin: 0.25rem 0.35rem 0.1rem;
  padding: 0.45rem 0.75rem;
  border-radius: 8px;
  color: var(--ink);
  background: var(--soft);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.admin-menu .admin-menu-group i {
  color: var(--accent);
}

.admin-menu .admin-menu-child {
  min-height: 38px;
  margin-left: 0.55rem;
  padding-left: 1.15rem;
  border-left: 3px solid var(--line);
  font-size: 0.94rem;
  font-weight: 700;
}

.admin-menu .admin-submenu-toggle {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  width: 100%;
}

.admin-menu .admin-submenu-toggle span {
  flex: 1;
}

.admin-menu .admin-submenu-caret {
  margin-left: auto;
  font-size: 0.8rem;
  transition: transform 0.18s ease;
}

.admin-menu .admin-submenu-toggle[aria-expanded="true"] .admin-submenu-caret {
  transform: rotate(180deg);
}

.admin-menu .admin-submenu-menu {
  margin: 0.1rem 0 0.35rem;
}

.brand-mark {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-3));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 10px 24px rgba(39, 108, 93, 0.22);
}

.brand-logo {
  width: 38px;
  height: 38px;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
}

.brand-logo-default {
  border: 0;
  background: transparent;
  box-shadow: 0 10px 24px rgba(39, 108, 93, 0.18);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 92px 0 78px;
  background:
    linear-gradient(rgba(24, 33, 31, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(24, 33, 31, 0.035) 1px, transparent 1px),
    linear-gradient(120deg, rgba(248, 251, 250, 0.95) 0%, rgba(234, 244, 240, 0.92) 62%, rgba(196, 107, 56, 0.1) 100%),
    var(--soft);
  background-size: 42px 42px, 42px 42px, auto, auto;
}

.hero h1 {
  max-width: 780px;
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: 0.98;
  font-weight: 850;
  letter-spacing: 0;
}

.hero h1.hero-title-sm {
  max-width: 700px;
  font-size: 4px;
  line-height: 1.45;
}

.hero-xordigital-logo {
  width: 54px;
  height: 54px;
  object-fit: contain;
  flex: 0 0 auto;
}

.hero-brand-copy {
  display: grid;
  gap: 0.15rem;
}

.hero-brand-title,
.hero-brand-subtitle {
  display: block;
  letter-spacing: 0;
}

.hero-brand-title {
  color: #0f3b5e;
  font-size: clamp(1.3rem, 2.4vw, 2rem);
  font-weight: 900;
  line-height: 1.05;
}

.hero-brand-subtitle {
  color: #315f9f;
  font-size: clamp(0.82rem, 1.25vw, 1.02rem);
  font-weight: 750;
  line-height: 1.25;
}

.home-hero-slider {
  max-width: 760px;
  overflow: hidden;
  border: 1px solid rgba(15, 59, 94, 0.12);
  border-radius: 8px;
  background: #fff;
}

.home-hero-slider + .hero-title-sm,
.home-hero-slider + .hero-title-sm + .lead,
.home-hero-slider + .hero-title-sm + .lead + .mt-4 {
  display: none !important;
}

.home-hero-slider .carousel-item {
  background: linear-gradient(135deg, #eef7fb, #ffffff);
}

.home-hero-slider img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  object-position: center;
}

.homepage-overview-rating {
  display: grid;
  grid-template-columns: minmax(230px, 1fr) auto;
  align-items: center;
  align-content: center;
  gap: 0.45rem 1rem;
  flex: 0 0 auto;
  align-self: flex-start;
  width: 100%;
  height: auto;
  min-height: 0;
  margin-top: 0.7rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid #d7e0e5;
  border-radius: 10px;
  background: linear-gradient(135deg, #fff, #f2f8f6);
  box-shadow: 0 12px 28px rgba(18, 46, 77, 0.1);
}

.homepage-overview-rating-copy h3 {
  margin: 0 0 0.12rem;
  font-size: clamp(0.92rem, 1.25vw, 1.05rem) !important;
  line-height: 1.2;
  font-weight: 800;
}

.homepage-overview-rating-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.35;
}

.homepage-overview-rating-actions {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-end;
  gap: 0.45rem;
}

.homepage-rating-button {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 36px;
  padding: 0.42rem 0.62rem;
  border: 1px solid #cfd8dc;
  border-radius: 8px;
  color: #263532;
  background: #fff;
  font-size: 0.82rem;
  line-height: 1.15;
  font-weight: 750;
  transition: transform 0.18s ease, color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.homepage-rating-button strong {
  min-width: 22px;
  padding: 0.1rem 0.3rem;
  border-radius: 999px;
  background: rgba(15, 59, 94, 0.08);
  font-size: 0.7rem;
  text-align: center;
}

.homepage-rating-button:hover {
  transform: translateY(-1px);
}

.homepage-rating-like.is-selected {
  border-color: #198754;
  color: #fff;
  background: #198754;
}

.homepage-rating-dislike.is-selected {
  border-color: #dc3545;
  color: #fff;
  background: #dc3545;
}

.homepage-rating-button.is-selected strong {
  background: rgba(255, 255, 255, 0.2);
}

.homepage-rating-status {
  grid-column: 1 / -1;
  color: #276c5d;
  font-size: 0.75rem;
  font-weight: 700;
}

.homepage-rating-status:empty {
  display: none;
}

@media (max-width: 767.98px) {
  .homepage-overview-rating {
    grid-template-columns: 1fr;
    gap: 0.55rem;
    padding: 0.7rem;
  }

  .homepage-overview-rating-actions {
    justify-content: flex-start;
  }

  .homepage-rating-button {
    flex: 1 1 0;
    justify-content: center;
  }
}

@media (max-width: 420px) {
  .homepage-overview-rating-actions {
    flex-wrap: wrap;
  }

  .homepage-rating-button {
    flex-basis: 100%;
  }
}

.home-hero-slide-frame {
  display: flex;
  flex-direction: column;
  min-height: 390px;
}

.home-hero-slide-copy {
  min-height: 130px;
  padding: 18px 56px 22px 22px;
  background: #fff;
  border-top: 1px solid rgba(15, 59, 94, 0.1);
  color: #203244;
  text-align: left;
}

.home-hero-slide-copy h2 {
  color: #0f3b5e;
  font-weight: 800;
}

.home-hero-slide-copy p {
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.45;
}

.home-hero-slider .carousel-indicators {
  margin-bottom: 8px;
}

.home-hero-slider .carousel-control-prev,
.home-hero-slider .carousel-control-next {
  top: 0;
  bottom: 130px;
  width: 11%;
}

.home-hero-slider .carousel-control-prev-icon,
.home-hero-slider .carousel-control-next-icon {
  filter: drop-shadow(0 1px 3px rgba(15, 43, 64, 0.45));
}

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

.home-page > .section-pad {
  padding-top: 24px;
  padding-bottom: 24px;
}

@media (max-width: 767.98px) {
  .home-page > .section-pad {
    padding-top: 18px;
    padding-bottom: 18px;
  }
}

.home-page > .hero {
  padding-top: 32px;
  padding-bottom: 24px;
}

.customer-demo-section {
  background:
    linear-gradient(135deg, rgba(49, 95, 159, 0.08), rgba(39, 108, 93, 0.08)),
    #fff;
}

.demo-showcase {
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 193, 7, 0.2), transparent 28%),
    linear-gradient(135deg, #fff 0%, #f6fbf9 54%, #eef4f1 100%);
  padding: clamp(24px, 4vw, 42px);
  box-shadow: var(--shadow-strong);
}

.demo-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  margin-bottom: 14px;
  padding: 6px 12px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-3));
  font-size: 0.85rem;
  font-weight: 850;
}

.demo-action-row,
.demo-proof-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.demo-proof-row span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 42px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--muted);
  font-weight: 750;
}

.demo-proof-row strong {
  color: var(--ink);
}

.demo-screen {
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--ink) 14%, transparent);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 28px 70px rgba(24, 33, 31, 0.18);
}

.demo-screen-top {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  background: #f8fafc;
}

.demo-screen-top div {
  display: flex;
  gap: 7px;
}

.demo-screen-top span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #c46b38;
}

.demo-screen-top span:nth-child(2) {
  background: #ffc107;
}

.demo-screen-top span:nth-child(3) {
  background: #198754;
}

.demo-screen-top strong {
  color: var(--ink);
  font-size: 0.95rem;
}

.demo-screen-top em {
  color: var(--muted);
  font-size: 0.82rem;
  font-style: normal;
  font-weight: 800;
}

.demo-screen-body {
  padding: 18px;
}

.demo-preview-shell {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  padding: 24px;
  box-shadow: var(--shadow-strong);
}

.demo-tabs {
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
}

.demo-tabs .nav-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-weight: 800;
  border-radius: 8px;
}

.demo-tabs .nav-link.active {
  background: var(--ink);
  color: #fff;
}

.demo-metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.demo-metric {
  display: flex;
  gap: 14px;
  min-height: 126px;
  padding: 18px;
  border-radius: 8px;
  color: #fff;
  box-shadow: 0 18px 40px rgba(24, 33, 31, 0.14);
}

.demo-metric-primary { background: linear-gradient(135deg, #0d6efd, #315f9f); }
.demo-metric-danger { background: linear-gradient(135deg, #dc3545, #9c2330); }
.demo-metric-success { background: linear-gradient(135deg, #198754, #276c5d); }
.demo-metric-dark { background: linear-gradient(135deg, #18211f, #2f4540); }

.demo-metric i {
  display: grid;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.2);
  font-size: 1.35rem;
}

.demo-metric span,
.demo-metric small,
.demo-metric strong {
  display: block;
}

.demo-metric span {
  font-size: 0.88rem;
  font-weight: 800;
}

.demo-metric strong {
  font-size: 2.1rem;
  line-height: 1.1;
}

.demo-metric small {
  max-width: 170px;
  color: rgba(255, 255, 255, 0.84);
  font-weight: 750;
}

.demo-table-wrap,
.demo-pie-panel,
.demo-registration-preview,
.demo-flow-panel,
.demo-ticket-card,
.demo-parking-board,
.demo-callout,
.demo-resident-tile {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 20px;
  box-shadow: var(--shadow);
}

.demo-pie {
  position: relative;
  width: min(100%, 240px);
  aspect-ratio: 1;
  margin-inline: auto;
  border-radius: 50%;
  background: conic-gradient(#198754 0deg 81deg, #ffc107 81deg 135deg, #dc3545 135deg 147deg, #0d6efd 147deg 360deg);
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.08), 0 18px 36px rgba(15, 23, 42, 0.16);
}

.demo-pie-center {
  position: absolute;
  inset: 25%;
  display: grid;
  place-content: center;
  text-align: center;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.16);
}

.demo-pie-center strong,
.demo-pie-center span {
  display: block;
}

.demo-pie-center strong {
  color: var(--ink);
  font-size: 2.6rem;
  line-height: 1;
}

.demo-pie-center span,
.demo-pie-legend span {
  color: var(--muted);
  font-weight: 800;
}

.demo-pie-legend {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.demo-pie-legend span {
  display: flex;
  align-items: center;
  gap: 7px;
}

.demo-pie-legend i {
  width: 14px;
  height: 14px;
  border-radius: 50%;
}

.demo-resident-tile {
  min-height: 190px;
}

.demo-resident-tile i {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 8px;
  background: var(--soft);
  color: var(--accent);
  font-size: 1.35rem;
}

.demo-resident-tile strong,
.demo-resident-tile span {
  display: block;
}

.demo-resident-tile strong {
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 1.1rem;
}

.demo-resident-tile span {
  color: var(--muted);
  font-weight: 700;
}

.demo-flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(150px, 1fr));
  gap: 12px;
}

.demo-flow::before {
  position: absolute;
  top: 38px;
  left: 8%;
  right: 8%;
  height: 3px;
  content: "";
  background: linear-gradient(90deg, #0d6efd, #ffc107, #198754, #6f42c1, #dc3545);
  opacity: 0.32;
}

.demo-flow-step {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 8px;
  min-height: 210px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.demo-flow-step > span {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #fff;
  border-radius: 50%;
  font-weight: 900;
}

.demo-flow-step i {
  color: var(--ink);
  font-size: 1.6rem;
}

.demo-flow-step strong,
.demo-flow-step small {
  display: block;
}

.demo-flow-step strong {
  color: var(--ink);
  line-height: 1.2;
}

.demo-flow-step small {
  color: var(--muted);
  font-weight: 700;
  line-height: 1.35;
}

.demo-flow-blue > span { background: #0d6efd; }
.demo-flow-gold > span { background: #ffc107; color: #18211f; }
.demo-flow-green > span { background: #198754; }
.demo-flow-purple > span { background: #6f42c1; }
.demo-flow-red > span { background: #dc3545; }

.demo-ticket-card {
  background: linear-gradient(180deg, #ffffff, #f8fafc);
}

.demo-trail-list {
  display: grid;
  gap: 12px;
}

.demo-trail-list > div {
  display: grid;
  gap: 5px;
  padding: 12px;
  border: 1px solid var(--line);
  border-left: 5px solid var(--accent);
  border-radius: 8px;
  background: #fff;
}

.demo-trail-list strong,
.demo-trail-list small {
  display: block;
}

.demo-trail-list small {
  color: var(--muted);
  font-weight: 700;
}

.demo-parking-tiles {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.demo-parking-tiles .btn {
  font-weight: 800;
}

.demo-callout {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(135deg, #18211f, #276c5d);
  color: #fff;
}

.demo-callout > i {
  margin-bottom: 16px;
  color: #ffc107;
  font-size: 2.4rem;
}

.demo-callout p {
  color: rgba(255, 255, 255, 0.78);
}

.portal-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 24px;
  box-shadow: var(--shadow);
}

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

.btn-dark {
  border-color: var(--ink);
  background: linear-gradient(135deg, var(--ink), #263d39);
  box-shadow: 0 12px 24px rgba(24, 33, 31, 0.16);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-weight: 700;
  letter-spacing: 0;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-outline-dark {
  border-color: rgba(24, 33, 31, 0.22);
  background: rgba(255, 255, 255, 0.64);
}

.btn-outline-dark:hover {
  color: #fff;
  border-color: var(--ink);
  background: var(--ink);
  box-shadow: 0 12px 24px rgba(24, 33, 31, 0.12);
}

.btn-hero {
  min-height: 52px;
  padding-inline: 22px;
}

.home-hero-action-row {
  align-items: stretch;
}

.home-trial-panel {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 18px;
  border: 1px solid rgba(216, 225, 220, 0.9);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(238, 244, 241, 0.92)),
    #fff;
  box-shadow: var(--shadow-strong);
}

.home-trial-panel .home-hero-slider {
  width: 100%;
  max-width: 520px;
  margin-inline: auto;
}

.home-trial-panel > .alert {
  width: 100%;
}

.home-trial-panel .home-live-widgets {
  margin-top: auto !important;
}

.home-community-heading {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, #2296a5 0%, #216f96 52%, #173f67 100%);
  box-shadow: 0 10px 24px rgba(23, 63, 103, 0.24);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 800;
  line-height: 1.2;
}

.home-community-heading i {
  font-size: 1.35em;
}

.hero h1.home-main-heading {
  max-width: none;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.4;
}

.home-main-description {
  max-width: 760px;
  font-size: clamp(0.92rem, 1.35vw, 1.05rem);
  line-height: 1.5;
}

.btn-promo-blink {
  animation: promoBlink 1.45s ease-in-out infinite;
  box-shadow: 0 0 0 0 rgba(13, 110, 253, 0.5);
}

.pricing-modal-dialog {
  max-width: min(1180px, calc(100vw - 32px));
}

.pricing-modal-no-setup,
.package-information-heading {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  min-height: 52px;
  padding: 0.75rem 1rem;
  border: 1px solid #e8bd45;
  border-radius: 8px;
  color: #493500;
  background: linear-gradient(135deg, #fff3bf, #f8d978);
  box-shadow: 0 10px 22px rgba(190, 140, 20, 0.16);
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  font-weight: 850;
  line-height: 1.2;
}

.pricing-modal-no-setup i,
.package-information-heading i {
  color: #b77900;
  font-size: 1.25em;
}

#pricingModal .modal-header > div,
#packageInterestModal .modal-header > div {
  flex: 1 1 auto;
  min-width: 0;
}

.promo-no-setup-tile {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, #0d6efd 0%, #6f42c1 58%, #d63384 100%);
  box-shadow: 0 14px 28px rgba(60, 54, 153, 0.24);
}

.promo-no-setup-icon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  color: #0d6efd;
  background: #fff;
  font-size: 1.55rem;
}

.promo-no-setup-copy {
  display: flex;
  align-items: baseline;
  gap: 7px;
  white-space: nowrap;
  line-height: 1.2;
}

.promo-no-setup-copy small {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.packages-header-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 20px;
}

.packages-heading-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  width: 100%;
  min-width: 0;
}

.packages-heading-copy {
  width: 100%;
  min-width: 0;
}

.packages-heading-copy .display-6 {
  font-size: clamp(1.65rem, 2.6vw, 2.3rem);
}

.packages-compare-button {
  white-space: nowrap;
}

@media (max-width: 991.98px) {
  .packages-header-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .packages-compare-button {
    justify-self: start;
  }
}

.promo-no-setup-copy strong {
  font-size: 1.25rem;
  font-weight: 900;
}

.promo-no-setup-check {
  margin-left: auto;
  color: #9cffc3;
  font-size: 1.35rem;
}

.home-promo-workflow {
  background: linear-gradient(135deg, #fd7e14 0%, #dc3545 55%, #d63384 100%);
  box-shadow: 0 14px 28px rgba(220, 53, 69, 0.24);
}

.home-promo-workflow .promo-no-setup-icon {
  color: #dc3545;
}

.home-promo-workflow .promo-no-setup-check {
  color: #fff3b0;
}

.home-promo-help {
  background: linear-gradient(135deg, #198754 0%, #0d9488 55%, #0dcaf0 100%);
  box-shadow: 0 14px 28px rgba(13, 148, 136, 0.24);
}

.home-promo-help .promo-no-setup-icon {
  color: #198754;
}

.home-promo-help .promo-no-setup-check {
  color: #d8fff0;
}

.contact-map-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow);
}

.contact-map-frame {
  display: block;
  flex: 1 1 auto;
  width: 100%;
  min-height: 300px;
  border: 0;
  background: #edf3f1;
}

.contact-map-details {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
}

.contact-map-label {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 5px;
  color: var(--accent);
  font-size: .82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-map-details address {
  color: var(--ink);
  font-size: .93rem;
  font-style: normal;
  font-weight: 650;
  line-height: 1.4;
}

.contact-map-directions {
  flex: 0 0 auto;
  white-space: nowrap;
}

.partner-home-cta-section {
  background: linear-gradient(135deg, #0d6efd 0%, #315f9f 48%, #198754 100%);
  color: #fff;
}

.partner-home-cta {
  display: flex;
  align-items: stretch;
  flex-direction: column;
  gap: 24px;
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 16px;
  background: rgba(8, 30, 54, .2);
  box-shadow: 0 20px 44px rgba(8, 30, 54, .22);
}

.partner-home-cta-body {
  display: flex;
  align-items: flex-start;
  gap: 24px;
}

.partner-program-heading {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 54px;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-weight: 850;
  line-height: 1.15;
  text-align: left;
  white-space: nowrap;
  background: #fff !important;
}

.partner-home-cta-icon,
.partner-hero-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 86px;
  height: 86px;
  border-radius: 18px;
  background: #fff;
  color: #0d6efd;
  box-shadow: 0 14px 30px rgba(8, 30, 54, .22);
}

.partner-home-cta-icon i,
.partner-hero-icon i {
  font-size: 2.6rem;
}

.partner-home-cta-button {
  align-self: flex-start;
  flex: 0 0 auto;
  margin-top: 24px;
  color: #0d6efd;
  font-weight: 800;
  white-space: nowrap;
}

.partner-hero {
  padding: clamp(28px, 5vw, 56px);
  overflow: hidden;
  background: linear-gradient(145deg, #f7fbff, #eef7f3);
}

.partner-hero-icon {
  width: min(180px, 100%);
  height: 180px;
  margin-inline: auto;
  color: #198754;
}

.partner-hero-icon i {
  font-size: 5rem;
}

.partner-step {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 58px;
}

.partner-step > span {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #0d6efd;
  color: #fff;
  font-weight: 800;
}

.partner-step > i {
  color: #198754;
  font-size: 2rem;
}

.partner-agreement-card {
  border-top: 5px solid #0d6efd;
}

.partner-agreement-meta dt {
  color: var(--muted);
}

.partner-agreement-meta dd {
  color: var(--ink);
  font-weight: 700;
}

.partner-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.partner-contact-action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 54px;
  font-weight: 800;
}

.partner-disclaimer {
  padding: 18px 20px;
  border-left: 5px solid #ffc107;
}

.contact-content-row > [class*="col-"] {
  min-width: 0;
}

.contact-form-card {
  height: 100%;
}

@media (max-width: 575.98px) {
  .contact-map-frame {
    flex: none;
    height: 240px;
    min-height: 240px;
  }

  .contact-map-details {
    align-items: stretch;
    flex-direction: column;
  }

  .partner-home-cta {
    align-items: stretch;
    flex-direction: column;
  }

  .partner-home-cta-body {
    align-items: stretch;
    flex-direction: column;
  }

  .partner-home-cta-icon {
    width: 68px;
    height: 68px;
  }

  .partner-home-cta-button {
    width: 100%;
    margin-top: 4px;
  }

  .partner-contact-grid {
    grid-template-columns: 1fr;
  }
}

.about-promo-xordigital {
  background: linear-gradient(135deg, #212529 0%, #343a40 48%, #6f42c1 100%);
  box-shadow: 0 14px 28px rgba(33, 37, 41, 0.24);
}

.about-promo-xordigital .promo-no-setup-icon {
  color: #6f42c1;
}

.about-promo-xordigital .promo-no-setup-check {
  color: #e2d4ff;
}

.about-promo-condosys {
  background: linear-gradient(135deg, #0d6efd 0%, #0d9488 55%, #20c997 100%);
  box-shadow: 0 14px 28px rgba(13, 110, 253, 0.22);
}

.about-promo-condosys .promo-no-setup-icon {
  color: #0d6efd;
}

.about-promo-condosys .promo-no-setup-check {
  color: #d8fff0;
}

.about-info-card {
  overflow: hidden;
}

.about-info-card > .promo-no-setup-tile {
  display: flex;
  width: auto;
  min-height: 76px;
  margin: -24px -24px 1.5rem !important;
  padding: 0.75rem 1.25rem;
  border-radius: 15px 15px 0 0;
  box-shadow: 0 10px 24px rgba(24, 33, 31, 0.2);
}

.about-info-card .promo-no-setup-copy {
  flex: 1 1 auto;
  justify-content: flex-start;
}

.about-info-card .promo-no-setup-copy strong {
  font-size: clamp(1.1rem, 1.55vw, 1.35rem);
}

@media (min-width: 992px) {
  .about-info-card > .promo-no-setup-tile {
    margin: -48px -48px 1.75rem !important;
    padding-right: 1.5rem;
    padding-left: 1.5rem;
  }
}

@media (max-width: 575.98px) {
  .about-info-card .promo-no-setup-copy {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
    white-space: normal;
  }
}

@media (max-width: 575.98px) {
  .packages-heading-copy .display-6 {
    max-width: 100%;
    font-size: 1.45rem;
    line-height: 1.18;
    overflow-wrap: anywhere;
  }

  .packages-heading-copy p {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .promo-no-setup-tile {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    gap: 10px;
    padding-right: 10px;
    padding-left: 10px;
    box-sizing: border-box;
  }

  .promo-no-setup-copy {
    align-items: flex-start;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    white-space: normal;
  }

  .promo-no-setup-copy strong,
  .promo-no-setup-copy small {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .promo-no-setup-icon {
    flex-basis: 46px;
    width: 46px;
    height: 46px;
  }
}

.pricing-package-card {
  min-height: 100%;
  border-color: #d4d8dc;
  box-shadow: 0 7px 0 #d8dde1, 0 18px 34px rgba(24, 33, 31, 0.16);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pricing-package-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 9px 0 #d8dde1, 0 22px 40px rgba(24, 33, 31, 0.2);
}

.pricing-package-card .display-6 {
  font-size: clamp(1.8rem, 2.6vw, 2.35rem);
  letter-spacing: 0;
  white-space: nowrap;
}

.pricing-package-card > .badge,
.pricing-package-card > p {
  white-space: nowrap;
}

.pricing-package-card > .badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-height: 54px;
  margin: -24px -24px 1rem !important;
  padding: 0.8rem 1rem;
  border-radius: 8px 8px 0 0;
  font-size: clamp(1.05rem, 1.45vw, 1.3rem);
  font-weight: 800;
  line-height: 1.15;
  white-space: nowrap;
}

.pricing-package-card.plan-free .pricing-plan-header {
  color: #342700 !important;
  background: #ffc107 !important;
}

.pricing-package-card.plan-basic .pricing-plan-header {
  color: #fff !important;
  background: #fd7e14 !important;
}

.pricing-package-card.plan-popular .pricing-plan-header {
  color: #fff !important;
  background: #198754 !important;
}

.pricing-package-card.plan-premium .pricing-plan-header {
  color: #fff !important;
  background: linear-gradient(135deg, #6f42c1 0%, #5a36a8 55%, #432874 100%) !important;
}

.pricing-modal-package-card > .pricing-plan-header {
  font-size: clamp(0.9rem, 1.15vw, 1.1rem);
}

.pricing-package-features {
  flex: 1 1 auto;
}

.pricing-package-footer {
  margin-right: -24px;
  margin-bottom: -24px;
  margin-left: -24px;
  padding: 1rem 24px 24px;
  border-top: 1px solid #d7dce0;
  border-radius: 0 0 8px 8px;
  background: #f1f3f5;
}

.package-info-message {
  padding: 1rem 1.15rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.2rem);
  font-weight: 300;
  line-height: 1.55;
  letter-spacing: 0.005em;
}

.package-info-message strong {
  color: var(--ink);
  font-weight: 700;
}

.packages-subtitle {
  margin-top: 0.35rem;
  font-size: clamp(1.12rem, 1.6vw, 1.35rem);
  font-weight: 500;
  line-height: 1.4;
}

@media (max-width: 575.98px) {
  .pricing-package-card > .badge {
    margin: -20px -20px 1rem !important;
    font-size: 1rem;
  }

  .pricing-package-footer {
    margin-right: -20px;
    margin-bottom: -20px;
    margin-left: -20px;
    padding: 1rem 20px 20px;
  }

  .package-info-message {
    padding: 0.85rem 0.95rem;
    font-size: 0.98rem;
  }

  .packages-subtitle {
    font-size: 1.05rem;
  }
}

.ai-capability-header {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.7rem 1rem;
  width: 100%;
  padding: 0.8rem 1rem;
  min-height: 88px;
  border-radius: 0;
  color: #fff;
  background: linear-gradient(135deg, #0d6efd, #198754);
  box-shadow: 0 10px 24px rgba(13, 110, 253, 0.2);
  font-size: clamp(1rem, 1.7vw, 1.3rem);
  font-weight: 700;
  line-height: 1.2;
}

.ai-capability-header strong {
  font-size: 1.1em;
  font-weight: 800;
}

.ai-capability-copy {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.ai-capability-copy small {
  font-size: 0.72em;
  font-weight: 600;
  letter-spacing: 0.02em;
  opacity: 0.85;
}

#ai-reporting {
  padding-top: 0;
}

#ai-reporting .ai-reporting-main {
  padding-top: 1rem !important;
}

#ai-reporting .ai-reporting-side {
  padding-top: 1rem !important;
}

.ai-capability-icon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  color: #0d6efd;
  background: #fff;
  font-size: 1.35rem;
}

.ai-coverage-header {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  width: 100%;
  padding: 0.8rem 1rem;
  min-height: 88px;
  border-radius: 0;
  color: #0d6efd;
  background: #fff;
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
  font-weight: 800;
  line-height: 1.2;
}

@media (max-width: 575.98px) {
  .ai-capability-header strong {
    width: auto;
  }
}

.pricing-package-features {
  max-height: 190px;
  overflow-y: auto;
  padding-right: 6px;
  scrollbar-width: thin;
}

.pricing-package-features::-webkit-scrollbar {
  width: 6px;
}

.pricing-package-features::-webkit-scrollbar-thumb {
  background: rgba(15, 59, 94, 0.28);
  border-radius: 999px;
}

.demo-callout-blink {
  display: block;
  color: #b42318;
  font-size: 1.05rem;
  animation: promoBlink 1.25s ease-in-out infinite;
}

.demo-callout-blink:hover {
  color: #7a1a12;
}

@keyframes promoBlink {
  0%,
  100% {
    filter: brightness(1);
    box-shadow: 0 0 0 0 rgba(13, 110, 253, 0.45);
  }

  50% {
    filter: brightness(1.18);
    box-shadow: 0 0 0 8px rgba(13, 110, 253, 0);
    transform: translateY(-1px) scale(1.03);
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn-promo-blink,
  .demo-callout-blink {
    animation: none;
  }
}

.mini-stat {
  min-height: 86px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.mini-stat strong,
.mini-stat span {
  display: block;
}

.mini-stat strong {
  color: var(--ink);
  font-size: 1.35rem;
  line-height: 1.1;
}

.mini-stat span {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.stat {
  display: block;
  color: var(--muted);
}

.eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.copyright-pill {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 12px;
  color: #fff;
  background: var(--accent);
  border-radius: 8px;
  font-weight: 800;
}

.portal-graphic {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 18px;
  overflow: hidden;
  border: 1px solid rgba(216, 225, 220, 0.9);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(238, 244, 241, 0.92)),
    #fff;
  box-shadow: var(--shadow-strong);
}

.portal-graphic::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, transparent 0 20%, rgba(49, 95, 159, 0.08) 20% 21%, transparent 21% 100%),
    linear-gradient(180deg, transparent 0 26%, rgba(39, 108, 93, 0.08) 26% 27%, transparent 27% 100%);
  pointer-events: none;
}

.graphic-topbar,
.graphic-header,
.graphic-grid,
.graphic-progress,
.copyright-pill {
  position: relative;
  z-index: 1;
}

.graphic-topbar {
  display: none;
  gap: 7px;
  margin-bottom: 18px;
}

.graphic-topbar span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--line);
}

.graphic-topbar span:first-child {
  background: var(--accent-2);
}

.graphic-topbar span:nth-child(2) {
  background: var(--accent);
}

.graphic-header {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0 6px 22px;
}

.graphic-title-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  min-width: 0;
  padding: 0.8rem 1rem;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, #2296a5 0%, #216f96 52%, #173f67 100%);
  box-shadow: 0 10px 24px rgba(23, 63, 103, 0.24);
}

.graphic-title-row > i {
  flex: 0 0 auto;
  font-size: 1.65rem;
}

.graphic-app-title {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 0;
  max-width: 100%;
  padding: 0;
  color: #fff;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  font-size: clamp(1.05rem, 1.7vw, 1.35rem);
  font-weight: 800;
  line-height: 1.3;
}

.graphic-app-title i {
  flex: 0 0 auto;
  font-size: 1.1em;
}

.graphic-app-features {
  width: 100%;
  margin-top: 0;
  color: var(--muted);
  font-size: clamp(.9rem, 1.35vw, 1.05rem);
  font-weight: 600;
  line-height: 1.45;
}

.graphic-brand-logo {
  width: 52px;
  height: 52px;
  min-width: 52px;
  max-width: 52px;
  flex: 0 0 auto;
  object-fit: contain;
  border-radius: 8px;
  padding: 3px;
  background: #fff;
  box-shadow: none;
}

.graphic-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 12px;
  align-items: stretch;
  flex: 0 0 auto;
}

.graphic-column {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.graphic-tile {
  display: flex;
  flex-direction: column;
  min-height: 0;
  align-self: stretch;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(216, 225, 220, 0.92);
  border-radius: 8px;
  background: #fff;
}

.graphic-tile.primary {
  background: #fff;
  color: #101817;
}

.graphic-tile-head {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 72px;
  padding: 10px 12px;
  color: #101817;
  background: #fff;
  border-bottom: 1px solid rgba(216, 225, 220, 0.92);
}

.graphic-tile-description {
  flex: 1 1 auto;
  padding: 14px;
  color: #5f6d69;
  background: #f8fbfa;
  font-size: 0.9rem;
  line-height: 1.5;
}

.graphic-tile-icon {
  display: inline-grid;
  width: 56px;
  height: 56px;
  place-items: center;
  flex: 0 0 auto;
  color: #fff;
  border-radius: 8px;
  box-shadow: 0 8px 18px rgba(15, 43, 64, 0.14);
}

.graphic-tile-icon i {
  color: inherit;
  font-size: 1.65rem;
  line-height: 1;
}

.graphic-tile-icon.icon-residents {
  background: #0d6efd;
}

.graphic-tile-icon.icon-vault {
  background: #198754;
}

.graphic-tile-icon.icon-notices {
  color: #181f1d;
  background: #ffc107;
}

.graphic-tile-icon.icon-operations {
  background: #dc3545;
}

.graphic-tile-icon.icon-payments {
  background: #6f42c1;
}

.graphic-tile-icon.icon-dashboard {
  background: #0dcaf0;
  color: #13211d;
}

.graphic-tile.primary .graphic-tile-icon {
  color: #fff;
  background: #0d6efd;
  box-shadow: 0 8px 18px rgba(15, 43, 64, 0.14);
}

.graphic-tile.primary .graphic-tile-icon i,
.graphic-tile.primary span {
  color: inherit;
}

.graphic-tile strong {
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.2;
}

.graphic-tile-description {
  color: var(--muted);
  font-size: .96rem;
  line-height: 1.45;
}

.graphic-progress {
  display: grid;
  gap: 10px;
  margin: 16px 0;
  padding: 15px;
  border: 1px solid rgba(216, 225, 220, 0.92);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.graphic-progress > div:first-child {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.graphic-progress strong {
  color: var(--ink);
}

.graphic-progress .progress {
  height: 9px;
  background: var(--soft);
  border-radius: 999px;
}

.graphic-progress .progress-bar {
  width: 92%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

.feature-card {
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.feature-card > i {
  display: inline-grid;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-3));
  border-radius: 8px;
  font-size: 1.25rem;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(39, 108, 93, 0.34);
  box-shadow: var(--shadow-strong);
}

.portal-band {
  color: #fff;
  background:
    linear-gradient(135deg, rgba(24, 33, 31, 0.96), rgba(39, 108, 93, 0.94)),
    var(--ink);
}

.workflow-step {
  min-height: 172px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.workflow-step strong,
.workflow-step p {
  display: block;
}

.workflow-step strong {
  margin-top: 14px;
  font-size: 1.1rem;
}

.workflow-step p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.notice-card {
  border-left: 5px solid var(--accent);
}

.contact-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-weight: 800;
  box-shadow: var(--shadow);
}

.contact-chip i {
  color: var(--accent);
  font-size: 1.15rem;
}

.permission-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.permission-check {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
  font-weight: 700;
}

.permission-check span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.permission-check i {
  color: var(--accent);
}

.rbac-form .form-select-sm,
.rbac-form .btn-sm {
  min-height: 38px;
}

.dashboard-role-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  max-width: 760px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(24, 33, 31, 0.08);
}

.dashboard-role-summary .stat {
  margin: 0;
}

.dashboard-role-summary strong {
  color: var(--ink);
}

.dashboard-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 24px;
  box-shadow: var(--shadow);
}

.dashboard-filter {
  display: grid;
  grid-template-columns: minmax(145px, auto) minmax(145px, auto) minmax(220px, 1fr) auto;
  gap: 10px;
  min-width: min(100%, 760px);
  margin-left: auto;
}

.dashboard-filter-compact {
  align-items: center;
  gap: 8px;
}

.dashboard-date-filter {
  grid-template-columns: minmax(145px, auto) minmax(145px, auto) auto auto;
  min-width: 0;
  margin-left: 0;
  justify-content: start;
}

.dashboard-filter-compact .form-control,
.dashboard-filter-compact .btn {
  min-height: 32px;
  padding-block: 0.25rem;
  font-size: 0.875rem;
  line-height: 1.25;
}

.dashboard-filter-compact .btn {
  padding-inline: 0.65rem;
  box-shadow: none;
}

.dashboard-people-filter {
  grid-template-columns: minmax(220px, 1fr) auto;
  min-width: min(100%, 430px);
}

.dashboard-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  justify-content: center;
  margin-inline: auto;
}

.dashboard-stat-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 0;
  min-height: 168px;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  box-shadow: 0 14px 32px rgba(24, 33, 31, 0.14);
  text-decoration: none;
  text-align: left;
  transition: transform 170ms ease, box-shadow 170ms ease, filter 170ms ease;
}

.dashboard-stat-card > span {
  min-width: 0;
}

.dashboard-stat-card:hover,
.dashboard-stat-card:focus {
  filter: saturate(1.08);
  transform: translateY(-4px);
  box-shadow: 0 24px 54px rgba(24, 33, 31, 0.2);
}

.dashboard-stat-card.stat-card-blue {
  color: #fff;
  background: linear-gradient(135deg, #0d6efd, #0b5ed7);
}

.dashboard-stat-card.stat-card-green {
  color: #fff;
  background: linear-gradient(135deg, #198754, #126b43);
}

.dashboard-stat-card.stat-card-amber {
  color: #1f2933;
  background: linear-gradient(135deg, #ffc107, #f59f00);
}

.dashboard-stat-card.stat-card-indigo {
  color: #fff;
  background: linear-gradient(135deg, #4f46e5, #3730a3);
}

.dashboard-stat-card.stat-card-charcoal {
  color: #fff;
  background: linear-gradient(135deg, #1f2937, #111827);
}

.dashboard-stat-card.stat-card-slate {
  color: #fff;
  background: linear-gradient(135deg, #6c757d, #495057);
}

.dashboard-stat-card.stat-card-violet {
  color: #fff;
  background: linear-gradient(135deg, #7c3aed, #5b21b6);
}

.dashboard-stat-card.stat-card-emerald {
  color: #fff;
  background: linear-gradient(135deg, #059669, #047857);
}

.dashboard-stat-card.stat-card-orange {
  color: #1f2933;
  background: linear-gradient(135deg, #fd7e14, #f76707);
}

.dashboard-stat-card.stat-card-plum {
  color: #fff;
  background: linear-gradient(135deg, #9f1239, #701a75);
}

.dashboard-stat-card.stat-card-gold {
  color: #1f2933;
  background: linear-gradient(135deg, #fbbf24, #d97706);
}

.dashboard-stat-card.stat-card-cyan {
  color: #102027;
  background: linear-gradient(135deg, #22d3ee, #06b6d4);
}

.dashboard-stat-card.stat-card-teal {
  color: #fff;
  background: linear-gradient(135deg, #0f766e, #115e59);
}

.dashboard-stat-card.stat-card-rose {
  color: #fff;
  background: linear-gradient(135deg, #dc3545, #b02a37);
}

.dashboard-stat-card.stat-card-forest {
  color: #fff;
  background: linear-gradient(135deg, #14532d, #052e16);
}

.dashboard-stat-card.stat-card-magenta {
  color: #fff;
  background: linear-gradient(135deg, #c026d3, #86198f);
}

.dashboard-stat-card.stat-card-steel {
  color: #fff;
  background: linear-gradient(135deg, #475569, #334155);
}

.dashboard-content-rotator { overflow: hidden; }
.dashboard-content-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.dashboard-content-controls { display: inline-flex; gap: 6px; }
.dashboard-content-controls .btn { display: inline-grid; width: 32px; height: 32px; padding: 0; place-items: center; border-radius: 50%; }
.dashboard-content-entry { max-height: 340px; padding: 16px; overflow-y: auto; border: 1px solid #dbe3df; border-radius: 12px; background: #fff; scrollbar-width: thin; }
.dashboard-content-entry.is-latest { border-width: 2px; }
.dashboard-content-announcements .dashboard-content-entry.is-latest { border-color: #f4b400; background: linear-gradient(145deg, #fff8dc, #fffdf5); }
.dashboard-content-news .dashboard-content-entry.is-latest { border-color: #0d6efd; background: linear-gradient(145deg, #eef6ff, #fbfdff); }
.dashboard-content-newsletters .dashboard-content-entry.is-latest { border-color: #198754; background: linear-gradient(145deg, #edf9f2, #fbfefc); }
.dashboard-content-announcements .dashboard-latest-badge { color: #1f2933; background: #ffc107; }
.dashboard-content-news .dashboard-latest-badge { color: #fff; background: #0d6efd; }
.dashboard-content-newsletters .dashboard-latest-badge { color: #fff; background: #198754; }
.dashboard-content-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; color: var(--muted); font-size: 0.78rem; }
.dashboard-content-summary { color: #3f4c49; font-weight: 600; }
.dashboard-content-copy { line-height: 1.55; }

.dashboard-stat-card.stat-card-lime {
  color: #1f2933;
  background: linear-gradient(135deg, #a3e635, #65a30d);
}

.dashboard-stat-card .stat-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 14px;
  background: rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.2;
}

.dashboard-stat-card .stat-card-header i {
  display: inline-grid;
  min-width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.2);
  font-size: 1rem;
}

.dashboard-stat-card .stat-card-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 7px;
  width: 100%;
  padding: 14px;
  min-width: 0;
}

.dashboard-stat-card .stat-title {
  display: block;
  min-height: 0;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.25;
}

.dashboard-stat-card .stat-breakdown {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 7px;
  margin-top: 0;
  color: currentColor;
  font-size: 0.82rem;
  font-weight: 850;
  line-height: 1.2;
  text-align: left;
  max-width: 100%;
  min-width: 0;
}

.dashboard-stat-card .stat-breakdown i {
  display: inline;
  min-width: auto;
  width: auto;
  height: auto;
  margin-top: 3px;
  place-items: initial;
  border-radius: 0;
  background: transparent;
  color: currentColor;
  font-size: 0.84rem;
  line-height: 1;
}

.dashboard-stat-card .stat-badge {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 2px 6px;
  max-width: 100%;
  min-height: 0;
  padding: 4px 7px;
  font-size: clamp(0.78rem, 0.72rem + 0.18vw, 0.92rem);
  color: currentColor;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.26);
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: normal;
  line-height: 1.18;
  text-align: left;
  vertical-align: middle;
}

.dashboard-stat-card.text-dark .stat-badge {
  background: rgba(255, 255, 255, 0.35);
  border-color: rgba(0, 0, 0, 0.12);
}

.dashboard-stat-card strong {
  display: block;
  font-size: 2.2rem;
  line-height: 1;
}

.dashboard-stat-card small {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  font-size: 0.82rem;
  font-weight: 850;
}

.dashboard-stat-card small i {
  display: inline;
  min-width: auto;
  height: auto;
  background: transparent;
  border-radius: 0;
  font-size: 0.9rem;
}

.people-results {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  justify-content: center;
  margin-inline: auto;
}

.people-result-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px;
  min-height: 76px;
  text-align: left;
}

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

.people-result-card span {
  color: currentColor;
  opacity: 0.82;
  font-size: 0.9rem;
}

.people-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.people-meta .badge {
  opacity: 1;
}

.people-result-card i {
  color: currentColor;
}

.person-record {
  padding: 18px;
  border: 1px solid rgba(39, 108, 93, 0.22);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(238, 244, 241, 0.78), rgba(255, 255, 255, 0.96));
}

#profileTabs {
  gap: 6px;
  border-bottom-color: rgba(39, 108, 93, 0.18);
}

#profileTabs .profile-tab-link {
  border: 1px solid transparent;
  border-radius: 8px 8px 0 0;
  font-weight: 800;
  transition: filter 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

#profileTabs .profile-tab-link:hover {
  filter: saturate(1.1);
  transform: translateY(-1px);
}

#profileTabs .profile-tab-info {
  color: #0d6efd;
  background: rgba(13, 110, 253, 0.1);
}

#profileTabs .profile-tab-cars {
  color: #198754;
  background: rgba(25, 135, 84, 0.12);
}

#profileTabs .profile-tab-pets {
  color: #c026d3;
  background: rgba(192, 38, 211, 0.12);
}

#profileTabs .profile-tab-lockers {
  color: #495057;
  background: rgba(73, 80, 87, 0.12);
}

#profileTabs .profile-tab-info.active {
  color: #fff;
  background: linear-gradient(135deg, #0d6efd, #0b5ed7);
  border-color: #0b5ed7;
}

#profileTabs .profile-tab-cars.active {
  color: #fff;
  background: linear-gradient(135deg, #198754, #126b43);
  border-color: #126b43;
}

#profileTabs .profile-tab-pets.active {
  color: #fff;
  background: linear-gradient(135deg, #c026d3, #86198f);
  border-color: #86198f;
}

#profileTabs .profile-tab-lockers.active {
  color: #fff;
  background: linear-gradient(135deg, #6c757d, #495057);
  border-color: #495057;
}

.record-item {
  align-items: center;
  min-height: 44px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.record-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 5px 9px;
  border-radius: 8px;
  color: #495057;
  background: var(--bs-light);
  border: 1px solid var(--line);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
}

.record-value {
  color: var(--ink);
  font-weight: 700;
  line-height: 1.35;
  min-width: 0;
  overflow-wrap: anywhere;
}

.table {
  --bs-table-bg: transparent;
}

.badge {
  border-radius: 8px;
}

.navbar-user-name {
  display: block;
  max-width: 260px;
  margin-top: 2px;
  overflow: hidden;
  color: #6c757d;
  font-size: 0.76rem;
  font-weight: 500;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-footer {
  margin-top: 56px;
  padding: 0;
  color: var(--footer-text, #fff);
  background: var(--footer-bg, #000);
  border-top: 4px solid var(--footer-accent, var(--bs-secondary));
  font-family: var(--footer-font, inherit);
}

.footer-main-row {
  border-top: 1px solid color-mix(in srgb, var(--footer-text, #fff) 18%, transparent);
}

.footer-details-column {
  text-align: right;
}

.footer-details-column > * {
  margin-left: auto;
}

@media (min-width: 992px) {
  .footer-details-column {
    padding-right: 4rem;
  }

  .footer-contact-column {
    border-left: 1px solid color-mix(in srgb, var(--footer-text, #fff) 22%, transparent);
    padding-left: 2rem;
  }
}

.site-footer .badge {
  display: none !important;
}

.footer-brand {
  margin: 0 0 8px;
  color: var(--footer-text, #fff);
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  font-weight: 850;
}

.footer-secondary-text {
  margin: -2px 0 10px;
  color: color-mix(in srgb, var(--footer-text, #fff) 82%, transparent);
  font-size: 0.98rem;
  font-weight: 650;
  line-height: 1.4;
}

.footer-company-sublines {
  margin: -2px 0 10px;
}

.footer-company-sublines .footer-secondary-text {
  margin: 0;
  color: var(--footer-text, #fff);
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.45;
}

.footer-company-sublines .footer-secondary-text + .footer-secondary-text {
  margin-top: 2px;
}

.footer-company-sublines .footer-rtl + .footer-secondary-text:not(.footer-rtl) {
  margin-top: 12px;
}

.footer-address,
.footer-muted {
  color: color-mix(in srgb, var(--footer-text, #fff) 78%, transparent);
}

.footer-secondary-address {
  color: var(--footer-text, #fff);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.55;
}

.site-footer .footer-rtl {
  direction: rtl;
  text-align: right;
  unicode-bidi: plaintext;
  width: fit-content;
  max-width: 100%;
  margin-left: auto;
}

.footer-company-sublines .footer-secondary-text.footer-rtl {
  font-size: 1.05rem;
  line-height: 1.55;
}

.footer-contact {
  display: grid;
  grid-template-columns: 1fr;
  gap: 7px;
  max-width: 520px;
  margin-left: auto;
}

.footer-pill {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 7px;
  width: fit-content;
  min-height: 0;
  padding: 3px 0;
  border-radius: 0;
  color: var(--footer-text, #fff);
  background: transparent;
  border: 0;
  text-decoration: none;
  user-select: text;
  transition: opacity 160ms ease;
}

.footer-pill:hover,
.footer-pill:focus {
  color: var(--footer-text, #fff);
  background: transparent;
  opacity: 0.82;
  text-decoration: underline;
}

.footer-contact i {
  color: var(--footer-accent, var(--bs-info));
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid color-mix(in srgb, var(--footer-text, #fff) 22%, transparent);
  padding: 14px 0 18px;
  color: color-mix(in srgb, var(--footer-text, #fff) 82%, transparent);
  font-size: 0.9rem;
}

.about-hero {
  background:
    linear-gradient(rgba(24, 33, 31, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(24, 33, 31, 0.04) 1px, transparent 1px),
    linear-gradient(120deg, #f7fbf9 0%, #eef6f2 58%, rgba(196, 107, 56, 0.14) 100%);
  background-size: 40px 40px, 40px 40px, auto;
}

.about-professional-hero {
  position: relative;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 18px;
  color: #fff;
  background:
    radial-gradient(circle at 88% 18%, rgba(32, 201, 151, 0.28), transparent 26%),
    linear-gradient(135deg, #122e4d 0%, #175f7d 52%, #0d806f 100%);
  box-shadow: 0 24px 54px rgba(18, 46, 77, 0.24);
}

.about-professional-content {
  padding: 1.25rem clamp(2rem, 5vw, 4.5rem) clamp(2rem, 5vw, 4.5rem);
}

.about-professional-hero::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -110px;
  width: 280px;
  height: 280px;
  border: 42px solid rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  pointer-events: none;
}

.about-professional-hero > * {
  position: relative;
  z-index: 1;
}

.about-professional-hero p {
  max-width: 900px;
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.65;
}

.about-hero-eyebrow {
  display: flex;
  align-items: center;
  width: 100%;
  margin: 0;
  padding: 1rem clamp(2rem, 5vw, 4.5rem);
  border: 0;
  border-bottom: 2px solid rgba(255, 255, 255, 0.38);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.1);
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about-hero-eyebrow::after {
  content: none;
}

.about-page > .section-pad {
  padding-top: 38px;
  padding-bottom: 38px;
}

.about-page > .about-hero {
  padding-top: 48px;
  padding-bottom: 48px;
}

@media (max-width: 767.98px) {
  .about-page > .section-pad,
  .about-page > .about-hero {
    padding-top: 30px;
    padding-bottom: 30px;
  }
}

.about-intro-preview,
.about-module-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.about-intro-preview {
  overflow: hidden;
}

.about-property-fit {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(135deg, #f7fbff 0%, #eef7f3 100%) !important;
}

.about-supports-panel {
  overflow: hidden;
  border: 1px solid #d7e0e5;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 20px 44px rgba(18, 46, 77, 0.13);
}

.about-supports-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  padding: 1.1rem 1.4rem;
  color: #fff;
  background: linear-gradient(135deg, #122e4d 0%, #175f7d 52%, #0d806f 100%);
}

.about-supports-header small {
  display: block;
  margin-bottom: 0.15rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about-supports-header h2 {
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  font-weight: 850;
}

.about-supports-icon {
  display: grid;
  place-items: center;
  flex: 0 0 54px;
  width: 54px;
  height: 54px;
  border-radius: 10px;
  color: #0d806f;
  background: #fff;
  font-size: 1.55rem;
}

.about-supports-intro {
  max-width: 980px;
  margin: 0;
  padding: 1.4rem 1.4rem 0;
  color: #56635f;
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.65;
}

.about-property-tile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px;
  padding: 1.4rem;
}

.about-property-label-tile {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.55rem;
  min-height: 54px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(135deg, #f8fafc, #f0f7f5);
  color: var(--ink);
  font-weight: 800;
  text-align: left;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06);
}

.about-property-label-tile i {
  flex: 0 0 auto;
  color: #198754;
}

.about-image-showcase {
  display: grid;
  gap: 14px;
}

.about-image-showcase-main,
.about-image-showcase-strip > div,
.about-real-screen {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.about-image-showcase-main img {
  display: block;
  width: 100%;
  height: 330px;
  object-fit: cover;
  object-position: top left;
}

.about-image-caption-clean {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  background: #fff;
}

.about-image-showcase-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.about-image-showcase-strip img {
  display: block;
  width: 100%;
  height: 118px;
  object-fit: cover;
  object-position: top left;
}

.about-image-strip-caption {
  display: block;
  padding: 5px 9px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  background: #fff;
  font-size: 0.78rem;
  font-weight: 800;
}

.about-preview-topbar {
  display: flex;
  gap: 8px;
  padding: 14px 16px;
  background: #17231f;
}

.about-preview-topbar span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #f45f5f;
}

.about-preview-topbar span:nth-child(2) {
  background: #f4c542;
}

.about-preview-topbar span:nth-child(3) {
  background: #54c878;
}

.about-preview-body {
  padding: 22px;
}

.about-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.about-mini-grid div,
.about-step {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.about-mini-grid div {
  padding: 14px;
}

.about-mini-grid strong {
  display: block;
  color: var(--accent);
  font-size: 1.7rem;
  line-height: 1;
}

.about-mini-grid span,
.about-step small {
  color: var(--muted);
}

.about-preview-line {
  height: 12px;
  width: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-3));
  opacity: 0.22;
}

.about-preview-line.short {
  width: 72%;
}

.about-preview-line.tiny {
  width: 48%;
}

.about-count-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-weight: 800;
}

.about-module-card {
  padding: 18px;
}

.about-screenshot {
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--line) 82%, #000 8%);
  border-radius: 8px;
  background: #f9fbfa;
}

.about-real-screen img {
  display: block;
  width: 100%;
  height: 245px;
  object-fit: cover;
  object-position: top left;
}

.about-real-screen-label-clean {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  background: #fff;
}

.about-real-screen-label-clean .small {
  color: var(--muted);
}

.about-screen-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.about-screen-icon {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 8px;
  font-size: 1.25rem;
}

.about-screen-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 14px 16px 0;
}

.about-screen-stats span {
  min-height: 42px;
  padding: 9px 10px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 800;
  text-align: center;
}

.about-screen-table {
  padding: 14px 16px 16px;
}

.about-screen-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
}

.about-screen-row:last-child {
  border-bottom: 0;
}

.about-process-band {
  background: linear-gradient(120deg, #ffffff 0%, #eef4f1 100%);
}

.about-step {
  display: grid;
  gap: 8px;
  height: 100%;
  padding: 18px;
}

.about-step span {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--accent);
  font-weight: 900;
}

.about-step strong {
  font-size: 1rem;
}

.home-live-widget {
  border: 1px solid rgba(13, 110, 253, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 35px rgba(15, 43, 64, 0.08);
  padding: 1rem;
}

.home-brand-time {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid #e2e8f0;
}

.home-brand-time-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  flex: 0 0 auto;
}

.home-brand-time-kicker,
.home-brand-time strong {
  display: block;
  letter-spacing: 0;
  line-height: 1.15;
}

.home-brand-time-kicker {
  color: #0f3b5e;
  font-size: 0.88rem;
  font-weight: 800;
}

.home-brand-time strong {
  color: #0f2b40;
  font-size: 1rem;
}

.home-live-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex: 0 0 auto;
}

.home-live-label,
.home-clock-date,
.home-weather-summary,
.home-weather-meta span {
  display: block;
  color: #64748b;
  font-size: 0.82rem;
}

.home-clock-time,
.home-weather-temp {
  display: block;
  color: #0f2b40;
  font-size: 1.35rem;
  line-height: 1.1;
}

.home-weather-meta {
  border-left: 1px solid #e2e8f0;
  padding-left: 1rem;
}

.worldcup-updates-section {
  background: #f8fafc;
}

.worldcup-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
  padding: 24px;
}

.worldcup-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}

.worldcup-card,
.worldcup-empty,
.worldcup-loading {
  border: 1px solid #dbe4ee;
  border-radius: 8px;
  background: #fff;
  padding: 16px;
}

.worldcup-loading {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #64748b;
}

.worldcup-team {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid #edf2f7;
}

.worldcup-team:last-child {
  border-bottom: 0;
}

.worldcup-team.is-winner .worldcup-team-name {
  color: #198754;
  font-weight: 800;
}

.worldcup-team-name {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.worldcup-team-name img,
.worldcup-team-placeholder {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
}

.worldcup-team-name img {
  object-fit: contain;
}

.worldcup-team-placeholder {
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  color: #0f3b5e;
  background: #eaf3f8;
}

.worldcup-score {
  color: #0f2b40;
  font-size: 1.35rem;
  line-height: 1;
}

.worldcup-date,
.worldcup-meta,
.worldcup-headline {
  color: #64748b;
  font-size: 0.9rem;
}

.worldcup-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
}

.worldcup-headline {
  margin-top: 10px;
}

.feature-page-hero {
  background: linear-gradient(135deg, #f8fafc 0%, #eef7fb 100%);
}

.feature-section-navigation .row > * {
  display: flex;
}

.feature-nav-tile {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 86px;
  gap: 12px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 12px;
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.25;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.feature-nav-tile:hover,
.feature-nav-tile:focus-visible {
  color: #fff;
  filter: brightness(1.06);
  transform: translateY(-3px);
  box-shadow: 0 14px 26px rgba(15, 43, 64, 0.18) !important;
}

.feature-nav-tile.text-bg-warning,
.feature-nav-tile.text-bg-info {
  color: #172126 !important;
}

.feature-nav-icon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.2);
  font-size: 1.25rem;
}

.feature-nav-arrow {
  margin-left: auto;
  font-size: 1.35rem;
  opacity: 0.8;
}

@media (max-width: 575.98px) {
  .feature-nav-tile {
    min-height: 72px;
  }
}

.feature-summary-card,
.feature-tile {
  border-radius: 8px;
  padding: 20px;
}

.feature-summary-icon,
.feature-tile-icon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
}

.feature-summary-icon {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  font-size: 1.65rem;
}

.feature-summary-number {
  display: block;
  color: var(--ink);
  font-size: 2.65rem;
  line-height: 1;
}

.feature-tile {
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.feature-tile:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 30px rgba(15, 43, 64, 0.12) !important;
}

.feature-tile-icon {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  font-size: 1.2rem;
}

.building-showcase {
  position: relative;
}

.building-showcase-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--accent);
  background: var(--soft);
  font-size: 0.92rem;
  font-weight: 800;
}

.building-image-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.building-image-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #eef4f1;
}

.building-image-card > div {
  padding: 1.25rem;
}

.building-image-card h3 {
  color: var(--ink);
}

.resident-list-table th:nth-child(2),
.resident-list-table td:nth-child(2) {
  text-align: left !important;
}

.resident-list-table .resident-detail-button {
  display: block;
  width: 100%;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
  text-align: left !important;
  line-height: 1.35;
}

@media (max-width: 767.98px) {
  .about-image-showcase-main img {
    height: 250px;
  }

  .about-image-showcase-strip {
    grid-template-columns: 1fr;
  }

  .about-image-showcase-strip img {
    height: 150px;
  }

  .about-image-caption-clean,
  .about-real-screen-label-clean {
    align-items: flex-start;
    flex-direction: column;
  }

  .about-real-screen img {
    height: 210px;
  }

  .hero {
    padding: 64px 0;
  }

  .home-hero-slider img {
    height: 210px;
  }

  .home-hero-slide-frame {
    min-height: 355px;
  }

  .home-hero-slide-copy {
    min-height: 145px;
    padding: 12px;
  }

  .home-hero-slide-copy h2 {
    font-size: 1rem;
  }

  .home-hero-slide-copy p {
    font-size: 0.82rem;
  }

  .home-hero-slider .carousel-control-prev,
  .home-hero-slider .carousel-control-next {
    bottom: 145px;
  }

  .portal-card {
    padding: 20px;
  }

  .graphic-grid {
    grid-template-columns: 1fr;
  }

  .navbar .nav-link,
  .btn-menu,
  .dropdown-item {
    width: 100%;
    justify-content: flex-start;
  }

  .navbar-nav {
    align-items: stretch;
    justify-content: flex-start;
  }

  .admin-menu {
    max-height: none;
    border: 0;
    box-shadow: none;
  }

  .permission-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-filter,
  .dashboard-stat-grid,
  .people-results {
    grid-template-columns: 1fr;
  }

  .demo-flow {
    grid-template-columns: 1fr;
  }

  .demo-flow::before {
    display: none;
  }

  .record-label {
    justify-content: flex-start;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .footer-contact {
    max-width: none;
    margin-left: 0;
  }

  .home-weather-meta {
    border-left: 0;
    border-top: 1px solid #e2e8f0;
    padding-left: 0;
    padding-top: 0.75rem;
    text-align: left !important;
    width: 100%;
  }
}

@media (min-width: 768px) and (max-width: 1199.98px) {
  .dashboard-stat-grid,
  .people-results {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .demo-flow::before {
    display: none;
  }
}

@media (max-width: 1199.98px) {
  .navbar-portal {
    z-index: 1040;
  }

  .navbar-portal .container {
    align-items: flex-start;
  }

  .navbar-brand {
    max-width: calc(100% - 58px);
    white-space: normal;
    line-height: 1.2;
  }

  .navbar-collapse {
    width: 100%;
    max-height: calc(100vh - 86px);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 0.75rem 0 1rem;
  }

  .navbar-nav {
    width: 100%;
    flex-wrap: nowrap;
    gap: 0.25rem;
  }

  .navbar .nav-item.dropdown {
    width: 100%;
  }

  .navbar .dropdown-menu {
    position: static !important;
    inset: auto !important;
    transform: none !important;
    width: 100%;
    min-width: 0;
    margin: 0.35rem 0 0;
  }

  .admin-menu {
    max-height: none;
    overflow: visible;
    padding: 0.35rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: none;
  }

  .admin-menu .dropdown-item {
    width: 100%;
    white-space: normal;
    line-height: 1.25;
  }

  .admin-menu .dropdown-item span {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .admin-menu .admin-menu-child {
    margin-left: 0;
  }

  .admin-menu .admin-submenu-menu {
    margin-left: 0;
    padding-left: 0.35rem;
  }
}

@media (max-width: 767.98px) {
  .resident-list-responsive {
    overflow: visible;
  }

  .resident-list-table,
  .resident-list-table tbody,
  .resident-list-table tr,
  .resident-list-table td {
    display: block;
    width: 100%;
  }

  .resident-list-table thead {
    display: none;
  }

  .resident-list-table tbody {
    padding: 1px;
  }

  .resident-list-table tbody tr {
    overflow: hidden;
    margin-bottom: 14px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 5px 16px rgba(15, 59, 94, 0.06);
  }

  .resident-list-table tbody td {
    display: grid;
    grid-template-columns: minmax(88px, 32%) minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    padding: 11px 14px;
    border-bottom: 1px solid var(--line);
    text-align: left !important;
    overflow-wrap: anywhere;
  }

  .resident-list-table tbody td:last-child {
    border-bottom: 0;
  }

  .resident-list-table tbody td::before {
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.035em;
    line-height: 1.5;
    text-transform: uppercase;
  }

  .resident-list-table tbody td:nth-child(1)::before { content: "Unit"; }
  .resident-list-table tbody td:nth-child(2)::before { content: "Name"; }
  .resident-list-table tbody td:nth-child(3)::before { content: "Type"; }
  .resident-list-table tbody td:nth-child(4)::before { content: "Email"; }
  .resident-list-table tbody td:nth-child(5)::before { content: "Phone"; }
  .resident-list-table tbody td:nth-child(6)::before { content: "Vehicle / Parking"; }
  .resident-list-table tbody td:nth-child(7)::before { content: "Status"; }
  .resident-list-table tbody td:nth-child(8)::before { content: "Actions"; }

  .resident-list-table td:last-child > .d-inline-flex {
    width: 100%;
    flex-wrap: wrap;
    justify-content: flex-start;
  }
}

.logged-out-building-showcase {
  padding: 24px 0 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.88)),
    linear-gradient(90deg, rgba(15, 59, 94, 0.055) 1px, transparent 1px),
    linear-gradient(0deg, rgba(15, 59, 94, 0.055) 1px, transparent 1px);
  background-size: auto, 64px 64px, 64px 64px;
}

.logged-out-building-carousel {
  overflow: hidden;
  border: 1px solid rgba(15, 59, 94, 0.14);
  border-radius: 8px;
  background: #eef6f8;
}

.logged-out-building-carousel .carousel-item {
  position: relative;
  height: clamp(210px, 26vw, 360px);
  background: #eef6f8;
}

.logged-out-building-carousel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.home-hero-slider .homepage-video-slide {
  background: radial-gradient(circle at center, #173d59 0%, #071c2d 72%);
}

.home-hero-slider .home-hero-video-frame {
  height: 390px;
  background: #071c2d;
}

.home-hero-slider .homepage-carousel-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #071c2d;
}

.home-hero-slider .homepage-carousel-pause {
  position: absolute;
  z-index: 6;
  top: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.24);
}

@media (max-width: 767.98px) {
  .home-hero-slider .homepage-carousel-pause {
    right: auto;
    left: 12px;
  }
}

.logged-out-building-caption {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 22px;
  max-width: 560px;
  padding: 14px 18px;
  border-radius: 8px;
  color: #fff;
  background: rgba(13, 32, 38, 0.74);
  box-shadow: 0 12px 34px rgba(2, 8, 12, 0.22);
}

.logged-out-building-caption strong,
.logged-out-building-caption span {
  display: block;
}

.logged-out-building-caption strong {
  font-size: clamp(1rem, 2vw, 1.4rem);
  line-height: 1.15;
}

.logged-out-building-caption span {
  margin-top: 4px;
  font-size: 0.95rem;
  line-height: 1.35;
}

.logged-out-building-carousel .carousel-indicators {
  margin-bottom: 8px;
}

@media (max-width: 767.98px) {
  .logged-out-building-showcase {
    padding-top: 16px;
  }

  .logged-out-building-carousel .carousel-item {
    height: 220px;
  }

  .logged-out-building-caption {
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 10px 12px;
  }

  .logged-out-building-caption span {
    display: none;
  }
}

.logged-out-building-showcase + .hero {
  padding-top: 18px;
}

.logged-out-building-showcase + .hero .home-hero-action-row {
  margin-top: 0;
}
.captcha-box {
  max-width: 100%;
  overflow-x: auto;
}
