:root {
  --bg: #f3f4f6;
  --card: #ffffff;
  --text: #1f2937;
  --muted: #6b7280;
  --border: #e5e7eb;
  --slate: #334155;
  --slate-dark: #1e293b;
  --cream: #fad6a4;
  --green: #3c7a14;
  --green-dark: #1a3d0c;
  --gold: #ffca4a;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
}

a { color: var(--slate); text-decoration: none; }
a:hover { text-decoration: underline; }

.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.5rem;
  background: var(--card);
  border-bottom: 1px solid var(--border);
}

.header-start {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
}

.sidebar-toggle {
  font-size: 1.25rem;
  line-height: 1;
  padding: 0.35rem 0.55rem;
  cursor: pointer;
}

.site-header .brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.site-header .brand img {
  height: 48px;
  width: auto;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
  font-size: 14px;
  font-weight: 400;
}

.site-nav .contact-bits {
  color: var(--muted);
}

.btn {
  display: inline-block;
  background: var(--slate);
  color: #fff !important;
  border: 0;
  padding: 0.55rem 1rem;
  border-radius: 4px;
  font: inherit;
  font-weight: 400;
  cursor: pointer;
  text-decoration: none !important;
}

.btn-secondary {
  background: transparent;
  color: var(--slate) !important;
  border: 1px solid var(--border);
}

.btn-ghost {
  background: transparent;
  color: var(--slate) !important;
  border: 0;
  padding: 0.35rem 0.5rem;
  font: inherit;
  cursor: pointer;
}

.btn-ghost:hover {
  text-decoration: underline;
}

main.page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
}

main.narrow {
  max-width: 42rem;
}

h1.page-title {
  font-size: 30px;
  font-weight: 500;
  margin: 0 0 0.75rem;
  color: var(--slate-dark);
}

h2 {
  font-size: 22px;
  font-weight: 500;
  margin: 2rem 0 0.75rem;
  color: var(--slate-dark);
}

h3 {
  font-size: 18px;
  font-weight: 500;
  margin: 0 0 0.5rem;
}

p, li { font-weight: 400; }
.muted { color: var(--muted); font-size: 14px; }

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1rem;
}

.hero {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 2.5rem 1.75rem;
  margin-bottom: 2rem;
}

.hero .tagline {
  font-size: 14px;
  color: var(--muted);
  margin-top: 0.35rem;
}

.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.25rem; }

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

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

.product-graphic {
  height: 120px;
  border-radius: 6px;
  background: linear-gradient(135deg, #e8edf2, #f3f4f6);
  border: 1px solid var(--border);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 14px;
}

.price {
  font-size: 22px;
  font-weight: 500;
  color: var(--slate-dark);
}

.price span,
.price .price-period {
  font-size: 14px;
  font-weight: 400;
  color: var(--muted);
}

.billing-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: 1rem;
  padding: 0.25rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
}

.billing-option {
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
  padding: 0.45rem 0.9rem;
  border-radius: 6px;
  cursor: pointer;
}

.billing-option.is-active {
  background: var(--green);
  color: #fff;
}

.billing-toggle-card {
  margin: 0.45rem 0 0.65rem;
  align-self: flex-start;
}

.billing-toggle-card .billing-option {
  font-size: 13px;
  padding: 0.3rem 0.7rem;
}

body.marketing .pricing-shell {
  position: relative;
  background-color: #f7f1e6;
  background-image:
    radial-gradient(ellipse 90% 55% at 10% 0%, rgba(60, 122, 20, 0.14), transparent 55%),
    radial-gradient(ellipse 70% 50% at 95% 20%, rgba(255, 202, 74, 0.18), transparent 50%),
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(26, 61, 12, 0.08), transparent 55%),
    repeating-linear-gradient(
      -18deg,
      transparent,
      transparent 11px,
      rgba(26, 61, 12, 0.025) 11px,
      rgba(26, 61, 12, 0.025) 12px
    );
  background-attachment: fixed;
}

body.marketing .pricing-hero {
  background:
    linear-gradient(145deg, rgba(18, 44, 8, 0.96), rgba(26, 61, 12, 0.9) 40%, rgba(60, 122, 20, 0.88)),
    linear-gradient(120deg, var(--green-dark), var(--green) 60%, #4a8a1c);
  color: #fff;
  padding: 4.25rem 0 3.5rem;
  text-align: center;
  border-bottom: 4px solid var(--gold);
  box-shadow: inset 0 -1px 0 rgba(255, 202, 74, 0.35);
}

body.marketing .pricing-hero .page-title {
  color: #fff;
  font-size: clamp(38px, 6.5vw, 52px);
  max-width: none;
  margin: 0.35rem 0 0.9rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}

body.marketing .pricing-hero .tagline {
  color: var(--gold);
  letter-spacing: 0.12em;
}

body.marketing .pricing-hero .pricing-hero-lead {
  max-width: 34rem;
  margin: 0 auto;
  text-align: center;
  color: rgba(255, 255, 255, 0.93);
  font-size: 17px;
  line-height: 1.55;
}

body.marketing .pricing-hero .billing-toggle {
  margin-top: 1.6rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 0.3rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

body.marketing .pricing-hero .billing-option {
  color: rgba(255, 255, 255, 0.88);
  border-radius: 999px;
  padding: 0.5rem 1.15rem;
}

body.marketing .pricing-hero .billing-option.is-active {
  background: var(--gold);
  color: var(--green-dark);
  font-weight: 600;
}

body.marketing .pricing-page {
  padding-top: 2.75rem;
  padding-bottom: 3.5rem;
}

body.marketing .pricing-product {
  margin-bottom: 3rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(26, 61, 12, 0.12);
  position: relative;
}

body.marketing .pricing-product::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 4.5rem;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
}

body.marketing .pricing-product:first-of-type {
  border-top: 0;
  padding-top: 0;
}

body.marketing .pricing-product:first-of-type::before {
  display: none;
}

body.marketing .pricing-product-head {
  margin-bottom: 1.5rem;
  max-width: 42rem;
}

body.marketing .pricing-product-head h2 {
  margin: 0 0 0.4rem;
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

body.marketing .pricing-product-head .muted {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
}

body.marketing .pricing-grid .pricing-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid rgba(26, 61, 12, 0.1);
  background: #fff;
  padding: 1.6rem 1.55rem 1.45rem;
  border-radius: 12px;
  box-shadow: 0 4px 18px rgba(26, 61, 12, 0.05);
}

body.marketing .pricing-grid .pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(26, 61, 12, 0.12);
}

body.marketing .pricing-card h3 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

body.marketing .pricing-card .billing-toggle-card {
  border-color: rgba(26, 61, 12, 0.14);
  background: #faf7f1;
}

body.marketing .pricing-card .price {
  font-size: clamp(18px, 4.2vw, 24px);
  margin: 0.15rem 0 0.85rem;
  letter-spacing: -0.03em;
  font-weight: 600;
  color: var(--green-dark);
  white-space: nowrap;
}

body.marketing .pricing-card .price-period {
  display: inline;
  margin-top: 0;
  font-size: 0.55em;
  font-weight: 500;
}

body.marketing .pricing-custom-note {
  margin: 0.25rem 0 0.5rem;
  font-size: 13px;
}

body.marketing .pricing-grid .plan-featured {
  position: relative;
  border: 2px solid var(--green);
  box-shadow: 0 10px 28px rgba(60, 122, 20, 0.14);
}

body.marketing .pricing-grid .plan-featured:hover {
  box-shadow: 0 18px 40px rgba(60, 122, 20, 0.18);
}

ul.feature-list {
  padding-left: 1.1rem;
  margin: 0.75rem 0;
  font-size: 14px;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.pricing-card .feature-list {
  flex: 0 0 auto;
  margin-bottom: 0.35rem;
}

.pricing-card .feature-list-extra {
  margin-top: 0;
}

.pricing-card .btn {
  margin-top: auto;
}

.feature-toggle {
  align-self: flex-start;
  margin: 0.15rem 0 0.75rem;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  color: var(--slate-dark);
  cursor: pointer;
  text-align: left;
  user-select: none;
}

.feature-toggle:hover {
  color: var(--green-dark);
}

.pricing-card .feature-collapse {
  align-self: stretch;
  margin: 0.75rem 0 0;
  text-align: center;
}

table.data {
  width: 100%;
  border-collapse: collapse;
  background: var(--card);
  font-size: 14px;
}

table.data th, table.data td {
  text-align: left;
  padding: 0.65rem 0.75rem;
  border-bottom: 1px solid var(--border);
  font-weight: 400;
}

table.data th {
  font-weight: 500;
  color: var(--muted);
}

form p {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin: 0 0 1rem;
}

input, select, textarea {
  font: inherit;
  font-weight: 400;
  padding: 0.5rem 0.65rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: #fff;
}

.errorlist { color: #991b1b; padding-left: 1rem; font-size: 14px; }
.error { color: #991b1b; font-size: 14px; }

.layout-app {
  display: grid;
  grid-template-columns: 220px 1fr;
  height: calc(100vh - 70px);
  min-height: 0;
  transition: grid-template-columns 0.15s ease;
}

.side-nav {
  background: var(--card);
  border-right: 1px solid var(--border);
  padding: 0.75rem 0.65rem 1.25rem;
  font-size: 14px;
  overflow-y: auto;
  overflow-x: hidden;
  min-height: 0;
}

.side-nav-toprow {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-bottom: 0.15rem;
}

.side-nav-toprow .sidebar-toggle {
  flex-shrink: 0;
  margin-left: auto;
  padding: 0.45rem 0.4rem;
}

.side-nav-lead {
  flex: 1;
  min-width: 0;
}

.side-nav-lead .side-link {
  width: 100%;
}

.side-nav a,
.side-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 0.5rem;
  color: var(--text);
  border-radius: 4px;
  white-space: nowrap;
  overflow: hidden;
}

.side-nav a:hover,
.side-link:hover {
  background: var(--bg);
  text-decoration: none;
}

.side-nav .section {
  margin-top: 1rem;
  margin-bottom: 0.25rem;
  padding: 0 0.5rem;
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
}

.side-link::before {
  content: "";
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
  background-color: currentColor;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.side-icon-home::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 9.5 12 3l9 6.5V20a1 1 0 0 1-1 1h-5v-7H9v7H4a1 1 0 0 1-1-1V9.5z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 9.5 12 3l9 6.5V20a1 1 0 0 1-1 1h-5v-7H9v7H4a1 1 0 0 1-1-1V9.5z'/%3E%3C/svg%3E");
}

.side-icon-account::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 20a8 8 0 0 1 16 0'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 20a8 8 0 0 1 16 0'/%3E%3C/svg%3E");
}

.side-icon-users::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M22 21v-2a4 4 0 0 0-3-3.87'/%3E%3Cpath d='M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M22 21v-2a4 4 0 0 0-3-3.87'/%3E%3Cpath d='M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E");
}

.side-icon-chama::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E");
}

.side-icon-welfare::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.8 4.6a5.5 5.5 0 0 0-7.8 0L12 5.6l-1-1a5.5 5.5 0 0 0-7.8 7.8l1 1L12 21l7.8-7.6 1-1a5.5 5.5 0 0 0 0-7.8z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.8 4.6a5.5 5.5 0 0 0-7.8 0L12 5.6l-1-1a5.5 5.5 0 0 0-7.8 7.8l1 1L12 21l7.8-7.6 1-1a5.5 5.5 0 0 0 0-7.8z'/%3E%3C/svg%3E");
}

.side-icon-groups::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='7' height='7' rx='1'/%3E%3Crect x='14' y='3' width='7' height='7' rx='1'/%3E%3Crect x='3' y='14' width='7' height='7' rx='1'/%3E%3Crect x='14' y='14' width='7' height='7' rx='1'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='7' height='7' rx='1'/%3E%3Crect x='14' y='3' width='7' height='7' rx='1'/%3E%3Crect x='3' y='14' width='7' height='7' rx='1'/%3E%3Crect x='14' y='14' width='7' height='7' rx='1'/%3E%3C/svg%3E");
}

.side-icon-sacco::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 21h18'/%3E%3Cpath d='M5 21V7l7-4 7 4v14'/%3E%3Cpath d='M9 21v-6h6v6'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 21h18'/%3E%3Cpath d='M5 21V7l7-4 7 4v14'/%3E%3Cpath d='M9 21v-6h6v6'/%3E%3C/svg%3E");
}

.side-icon-loans::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='6' width='20' height='12' rx='2'/%3E%3Ccircle cx='12' cy='12' r='2.5'/%3E%3Cpath d='M6 12h.01M18 12h.01'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='6' width='20' height='12' rx='2'/%3E%3Ccircle cx='12' cy='12' r='2.5'/%3E%3Cpath d='M6 12h.01M18 12h.01'/%3E%3C/svg%3E");
}

.side-icon-crm::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M23 21v-2a4 4 0 0 0-3-3.87'/%3E%3Cpath d='M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M23 21v-2a4 4 0 0 0-3-3.87'/%3E%3Cpath d='M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E");
}

.side-icon-ledger::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 19.5A2.5 2.5 0 0 1 6.5 17H20'/%3E%3Cpath d='M6.5 2H20v20H6.5A2.5 2.5 0 0 1 4 19.5v-15A2.5 2.5 0 0 1 6.5 2z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 19.5A2.5 2.5 0 0 1 6.5 17H20'/%3E%3Cpath d='M6.5 2H20v20H6.5A2.5 2.5 0 0 1 4 19.5v-15A2.5 2.5 0 0 1 6.5 2z'/%3E%3C/svg%3E");
}

.side-icon-reports::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 20V10M12 20V4M6 20v-6'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 20V10M12 20V4M6 20v-6'/%3E%3C/svg%3E");
}

.side-icon-accounting::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='2' width='16' height='20' rx='2'/%3E%3Cpath d='M8 6h8M8 10h8M8 14h5'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='2' width='16' height='20' rx='2'/%3E%3Cpath d='M8 6h8M8 10h8M8 14h5'/%3E%3C/svg%3E");
}

.side-icon-bank::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 10h18L12 3 3 10z'/%3E%3Cpath d='M5 10v8M9 10v8M15 10v8M19 10v8M3 18h18'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 10h18L12 3 3 10z'/%3E%3Cpath d='M5 10v8M9 10v8M15 10v8M19 10v8M3 18h18'/%3E%3C/svg%3E");
}

.side-icon-mpesa::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='7' y='2' width='10' height='20' rx='2'/%3E%3Cpath d='M11 18h2'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='7' y='2' width='10' height='20' rx='2'/%3E%3Cpath d='M11 18h2'/%3E%3C/svg%3E");
}

.side-icon-messaging::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z'/%3E%3C/svg%3E");
}

.side-icon-aml::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/%3E%3C/svg%3E");
}

.side-icon-workflows::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='6' cy='6' r='2.5'/%3E%3Ccircle cx='18' cy='12' r='2.5'/%3E%3Ccircle cx='6' cy='18' r='2.5'/%3E%3Cpath d='M8.5 7.5 15.5 11M8.5 16.5 15.5 13'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='6' cy='6' r='2.5'/%3E%3Ccircle cx='18' cy='12' r='2.5'/%3E%3Ccircle cx='6' cy='18' r='2.5'/%3E%3Cpath d='M8.5 7.5 15.5 11M8.5 16.5 15.5 13'/%3E%3C/svg%3E");
}

.side-icon-procurement::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='20' r='1.5'/%3E%3Ccircle cx='18' cy='20' r='1.5'/%3E%3Cpath d='M3 4h2l2.5 12h11l2-8H7'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='20' r='1.5'/%3E%3Ccircle cx='18' cy='20' r='1.5'/%3E%3Cpath d='M3 4h2l2.5 12h11l2-8H7'/%3E%3C/svg%3E");
}

.side-icon-investors::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2v20M17 5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2v20M17 5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6'/%3E%3C/svg%3E");
}

.side-icon-audit::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E");
}

.side-icon-assistant::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v2M12 19v2M4.9 4.9l1.4 1.4M17.7 17.7l1.4 1.4M3 12h2M19 12h2M4.9 19.1l1.4-1.4M17.7 6.3l1.4-1.4'/%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v2M12 19v2M4.9 4.9l1.4 1.4M17.7 17.7l1.4 1.4M3 12h2M19 12h2M4.9 19.1l1.4-1.4M17.7 6.3l1.4-1.4'/%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3C/svg%3E");
}

.side-icon-billing::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='5' width='20' height='14' rx='2'/%3E%3Cpath d='M2 10h20'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='5' width='20' height='14' rx='2'/%3E%3Cpath d='M2 10h20'/%3E%3C/svg%3E");
}

.side-icon-hr::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M22 11h-6M19 8v6'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M22 11h-6M19 8v6'/%3E%3C/svg%3E");
}

.side-icon-dashboard::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='7' height='9' rx='1'/%3E%3Crect x='14' y='3' width='7' height='5' rx='1'/%3E%3Crect x='14' y='12' width='7' height='9' rx='1'/%3E%3Crect x='3' y='16' width='7' height='5' rx='1'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='7' height='9' rx='1'/%3E%3Crect x='14' y='3' width='7' height='5' rx='1'/%3E%3Crect x='14' y='12' width='7' height='9' rx='1'/%3E%3Crect x='3' y='16' width='7' height='5' rx='1'/%3E%3C/svg%3E");
}

.side-icon-companies::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 21h18'/%3E%3Cpath d='M5 21V8l5-3 4 2.5L19 5v16'/%3E%3Cpath d='M9 21v-5h4v5'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 21h18'/%3E%3Cpath d='M5 21V8l5-3 4 2.5L19 5v16'/%3E%3Cpath d='M9 21v-5h4v5'/%3E%3C/svg%3E");
}

.side-icon-onboard::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M19 8v6M22 11h-6'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M19 8v6M22 11h-6'/%3E%3C/svg%3E");
}

.side-icon-pending::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 6v6l4 2'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 6v6l4 2'/%3E%3C/svg%3E");
}

.side-icon-contacts::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4h16v16H4z'/%3E%3Cpath d='m22 6-10 7L2 6'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4h16v16H4z'/%3E%3Cpath d='m22 6-10 7L2 6'/%3E%3C/svg%3E");
}

.side-icon-invoices::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 2v6h6M8 13h8M8 17h5'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 2v6h6M8 13h8M8 17h5'/%3E%3C/svg%3E");
}

.side-icon-anomalies::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10.3 3.9 1.8 18a2 2 0 0 0 1.7 3h17a2 2 0 0 0 1.7-3L13.7 3.9a2 2 0 0 0-3.4 0z'/%3E%3Cpath d='M12 9v4M12 17h.01'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10.3 3.9 1.8 18a2 2 0 0 0 1.7 3h17a2 2 0 0 0 1.7-3L13.7 3.9a2 2 0 0 0-3.4 0z'/%3E%3Cpath d='M12 9v4M12 17h.01'/%3E%3C/svg%3E");
}

.side-icon-pages::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 19.5A2.5 2.5 0 0 1 6.5 17H20'/%3E%3Cpath d='M6.5 2H20v20H6.5A2.5 2.5 0 0 1 4 19.5v-15A2.5 2.5 0 0 1 6.5 2z'/%3E%3Cpath d='M8 7h8M8 11h6'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 19.5A2.5 2.5 0 0 1 6.5 17H20'/%3E%3Cpath d='M6.5 2H20v20H6.5A2.5 2.5 0 0 1 4 19.5v-15A2.5 2.5 0 0 1 6.5 2z'/%3E%3Cpath d='M8 7h8M8 11h6'/%3E%3C/svg%3E");
}

.side-icon-chart::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 20V10M12 20V4M6 20v-6'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 20V10M12 20V4M6 20v-6'/%3E%3C/svg%3E");
}

.side-icon-expenses::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 2v20l2-1 2 1 2-1 2 1 2-1 2 1 2-1 2 1V2l-2 1-2-1-2 1-2-1-2 1-2-1-2 1z'/%3E%3Cpath d='M8 10h8M8 14h5'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 2v20l2-1 2 1 2-1 2 1 2-1 2 1 2-1 2 1V2l-2 1-2-1-2 1-2-1-2 1-2-1-2 1z'/%3E%3Cpath d='M8 10h8M8 14h5'/%3E%3C/svg%3E");
}

.side-icon-product-users::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M22 21v-2a4 4 0 0 0-3-3.87'/%3E%3Cpath d='M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M22 21v-2a4 4 0 0 0-3-3.87'/%3E%3Cpath d='M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E");
}

.app-main {
  padding: 1.5rem;
  overflow-y: auto;
  overflow-x: auto;
  min-height: 0;
}

body.sidebar-collapsed .layout-app {
  grid-template-columns: 56px 1fr;
}

body.sidebar-collapsed .side-nav {
  padding-left: 0.35rem;
  padding-right: 0.35rem;
}

body.sidebar-collapsed .side-nav-toprow {
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
}

body.sidebar-collapsed .side-nav-toprow .sidebar-toggle {
  margin-left: 0;
  order: -1;
  text-align: center;
  padding: 0.35rem 0.25rem;
}

body.sidebar-collapsed .side-nav-lead {
  width: 100%;
}

body.sidebar-collapsed .side-nav .section {
  display: none;
}

body.sidebar-collapsed .side-link {
  justify-content: center;
  gap: 0;
  font-size: 0;
  line-height: 0;
  padding: 0.55rem 0.35rem;
}

body.sidebar-collapsed .side-link::before {
  margin: 0;
}

.profile-menu {
  position: relative;
}

.profile-menu > summary {
  list-style: none;
  cursor: pointer;
  padding: 0.35rem 0.5rem;
  border-radius: 4px;
  font: inherit;
  font-size: 14px;
  color: var(--slate);
}

.profile-menu > summary::-webkit-details-marker { display: none; }

.profile-menu > summary:hover {
  background: var(--bg);
}

.profile-menu-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 0.35rem);
  min-width: 12rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.5rem;
  z-index: 40;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
}

.profile-menu-email {
  font-size: 12px;
  color: var(--muted);
  padding: 0.35rem 0.5rem 0.5rem;
  word-break: break-all;
}

.profile-menu-panel a,
.profile-menu-panel .btn-ghost {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.4rem 0.5rem;
  font-size: 14px;
  color: var(--slate);
  cursor: pointer;
  text-decoration: none;
  border-radius: 4px;
}

.profile-menu-panel a:hover,
.profile-menu-panel .btn-ghost:hover {
  background: var(--bg);
  text-decoration: underline;
}

.profile-menu-panel form { margin: 0; }

.stat {
  font-size: 24px;
  font-weight: 500;
  color: var(--slate-dark);
}

.chart-empty {
  height: 140px;
  border: 1px dashed var(--border);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 14px;
  background: #fafafa;
}

.chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 0.5rem;
  height: 140px;
  padding: 0.5rem 0;
}

.chart-bars .bar {
  flex: 1;
  background: var(--slate);
  opacity: 0.35;
  min-height: 4px;
  border-radius: 3px 3px 0 0;
}

.invoice-sheet {
  max-width: 720px;
  margin: 1.5rem auto;
  background: #fff;
  border: 1px solid var(--border);
  padding: 2rem;
}

.invoice-sheet h1 {
  font-size: 22px;
  font-weight: 500;
  margin: 0 0 1rem;
}

.etims-block {
  margin-top: 1.5rem;
  padding: 1rem;
  border: 1px dashed var(--border);
  border-radius: 6px;
  background: #fafafa;
}

.etims-block h3 {
  margin: 0 0 0.5rem;
  font-size: 14px;
  font-weight: 500;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem;
  text-align: center;
  font-size: 14px;
  color: var(--muted);
  background: var(--card);
}

@media (max-width: 800px) {
  .layout-app {
    grid-template-columns: 220px 1fr;
    height: calc(100vh - 70px);
  }

  body:not(.sidebar-collapsed) .layout-app {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
  }

  body:not(.sidebar-collapsed) .side-nav {
    border-right: 0;
    border-bottom: 1px solid var(--border);
    max-height: 50vh;
  }

  body.sidebar-collapsed .layout-app {
    grid-template-columns: 56px 1fr;
    grid-template-rows: 1fr;
  }

  body.sidebar-collapsed .side-nav {
    max-height: none;
    border-right: 1px solid var(--border);
    border-bottom: 0;
  }

  .profile-menu-panel {
    right: 0;
    left: auto;
  }
}

body.marketing {
  background: #f7f4ef;
  padding-top: var(--marketing-header-h, 5.5rem);
}

body.marketing .site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: var(--cream);
  border-bottom: 1px solid rgba(26, 61, 12, 0.12);
  padding: 0.4rem 1.75rem;
}

body.marketing .brand-name {
  color: var(--green-dark);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}

body.marketing .site-header .brand img {
  height: 76px;
}

body.marketing .site-nav a,
body.marketing .site-nav .nav-dropdown > summary {
  color: var(--green-dark);
  padding-bottom: 0.15rem;
}

body.marketing .site-nav a.active,
body.marketing .site-nav .nav-dropdown.active > summary {
  color: var(--green);
  box-shadow: inset 0 -2px 0 var(--gold);
  text-decoration: none;
}

body.marketing .site-nav a:hover,
body.marketing .site-nav .nav-dropdown > summary:hover {
  text-decoration: none;
  color: var(--green);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown > summary {
  list-style: none;
  cursor: pointer;
  font: inherit;
  font-size: inherit;
  font-weight: inherit;
}

.nav-dropdown > summary::-webkit-details-marker {
  display: none;
}

.nav-dropdown > summary::after {
  content: "";
  display: inline-block;
  margin-left: 0.35rem;
  border: 0.3em solid transparent;
  border-top-color: currentColor;
  border-bottom: 0;
  vertical-align: 0.15em;
}

.nav-dropdown-panel {
  position: absolute;
  top: calc(100% + 0.45rem);
  left: 0;
  z-index: 40;
  min-width: 14rem;
  max-width: min(20rem, calc(100vw - 2rem));
  padding: 0.4rem 0;
  background: var(--cream);
  border: 1px solid rgba(26, 61, 12, 0.12);
  border-radius: 6px;
  box-shadow: 0 8px 20px rgba(26, 61, 12, 0.12);
}

.nav-dropdown-panel a {
  display: block;
  padding: 0.45rem 0.9rem;
  color: var(--green-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-shadow: none !important;
}

.nav-dropdown-panel a:hover {
  background: rgba(60, 122, 20, 0.08);
  color: var(--green);
  text-decoration: none;
}

@media (max-width: 800px) {
  .nav-dropdown-panel {
    left: 0;
    right: auto;
  }
}

body.marketing .btn {
  background: var(--green);
  border-radius: 6px;
}

body.marketing .btn-secondary {
  background: #fff;
  color: var(--green) !important;
  border: 1px solid var(--green);
}

body.marketing .btn-ghost {
  color: var(--green-dark) !important;
}

body.marketing .page-title,
body.marketing h2,
body.marketing h3 {
  color: var(--green-dark);
}

body.marketing .page-intro {
  border-left: 4px solid var(--gold);
  padding-left: 1rem;
  margin-bottom: 1.5rem;
}

body.marketing .hero-band {
  background: var(--cream);
  border-bottom: 3px solid var(--gold);
  padding: 3.25rem 0 2.75rem;
}

body.marketing .hero-band-photo {
  position: relative;
  min-height: min(88vh, 720px);
  padding: 0;
  border-bottom: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--green-dark);
}

body.marketing .hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

body.marketing .hero-overlay {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 1.25rem;
  background: linear-gradient(
    180deg,
    rgba(26, 61, 12, 0.72) 0%,
    rgba(26, 61, 12, 0.78) 55%,
    rgba(26, 61, 12, 0.88) 100%
  );
}

body.marketing .hero-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

body.marketing .hero-band .page-title {
  font-size: 40px;
  max-width: 16ch;
  line-height: 1.15;
}

body.marketing .brand-hero {
  margin: 0;
  font-size: clamp(42px, 8vw, 64px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: #fff;
}

body.marketing .hero-band-photo .tagline {
  color: var(--gold);
}

body.marketing .tagline {
  margin: 0 0 0.6rem;
  color: var(--green);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.marketing .hero-lead {
  max-width: 34rem;
  margin: 0.85rem 0 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 18px;
}

body.marketing .hero-actions {
  justify-content: center;
  margin-top: 1.5rem;
}

body.marketing .hero-band-photo .btn {
  background: var(--gold);
  color: var(--green-dark) !important;
}

body.marketing .hero-band-photo .btn-secondary {
  background: transparent;
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.55);
}

body.marketing .home-main {
  text-align: center;
}

body.marketing .section-centre {
  max-width: 40rem;
  margin: 0 auto 1.5rem;
}

body.marketing .section-centre h2 {
  margin-bottom: 0.5rem;
}

body.marketing .audience-grid {
  text-align: center;
  gap: 1.25rem;
  margin-bottom: 3rem;
}

body.marketing .audience-card {
  display: block;
  background: #fff;
  border: 1px solid rgba(26, 61, 12, 0.1);
  border-top: 3px solid var(--gold);
  border-radius: 10px;
  padding: 1.5rem 1.25rem 1.35rem;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(26, 61, 12, 0.06);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

body.marketing .audience-card:hover {
  text-decoration: none;
  transform: translateY(-3px);
  border-color: rgba(60, 122, 20, 0.35);
  border-top-color: var(--gold);
  box-shadow: 0 10px 22px rgba(26, 61, 12, 0.1);
}

body.marketing .audience-card h3 {
  margin: 0 0 0.45rem;
  color: var(--green-dark);
  font-weight: 600;
}

body.marketing .audience-card p {
  margin: 0;
}

body.marketing .custom-systems {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 1.75rem;
  align-items: center;
  text-align: left;
  margin-top: 1rem;
}

body.marketing .custom-systems-media {
  width: 100%;
  height: min(360px, 48vw);
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(26, 61, 12, 0.1);
}

body.marketing .custom-systems-copy h2 {
  margin-top: 0;
}

body.marketing .card {
  border-color: rgba(26, 61, 12, 0.1);
}

body.marketing .card h2 {
  margin-top: 0;
}

body.marketing .product-card {
  padding-top: 0;
  overflow: hidden;
  scroll-margin-top: 1.25rem;
}

body.marketing .product-media {
  display: block;
  width: calc(100% + 3rem);
  max-width: none;
  margin: 0 -1.5rem 1.15rem;
  height: min(280px, 42vw);
  object-fit: cover;
  border-bottom: 1px solid rgba(26, 61, 12, 0.1);
}

body.marketing .plan-featured {
  border: 2px solid var(--green);
  box-shadow: 0 10px 24px rgba(60, 122, 20, 0.12);
}

body.marketing .site-footer {
  background: var(--green-dark);
  color: var(--cream);
  border-top: 0;
}

body.marketing .site-footer a {
  color: #fff;
}

body.marketing .site-footer p {
  margin: 0.2rem 0;
}

.legal-footer-links {
  margin-top: 0.75rem;
  line-height: 1.6;
}

.legal-footer-links a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-page {
  max-width: 860px;
  margin: 0 auto;
}

.legal-doc {
  padding: 1.5rem 1.75rem 2rem;
}

.legal-doc header {
  border-bottom: 2px solid var(--green-dark, #1b3d16);
  padding-bottom: 1rem;
  margin-bottom: 1.25rem;
}

.legal-doc .kicker {
  color: var(--green-dark, #1b3d16);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 0.35rem;
}

.legal-doc h1 {
  font-size: 1.75rem;
  font-weight: 500;
  margin: 0 0 0.35rem;
}

.legal-doc .meta {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
}

.legal-doc h2 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 1.5rem 0 0.6rem;
}

.legal-doc h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 1.1rem 0 0.45rem;
}

.legal-doc table {
  width: 100%;
  border-collapse: collapse;
  margin: 0.75rem 0 1.25rem;
  font-size: 13px;
}

.legal-doc th {
  background: #0f172a;
  color: #fff;
  text-align: left;
  padding: 0.5rem 0.65rem;
  vertical-align: top;
  width: 32%;
}

.legal-doc td {
  padding: 0.5rem 0.65rem;
  border: 1px solid var(--border);
  vertical-align: top;
}

.legal-doc footer {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 12px;
}

.auth-legal {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--muted);
}

.auth-legal .legal-footer-links {
  margin: 0;
  text-align: left;
}

.auth-legal a {
  color: var(--green-dark, #1b3d16);
}

.signup-accept {
  margin: 1rem 0;
  font-size: 14px;
  line-height: 1.45;
}

.signup-accept label {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
}

.signup-accept input[type="checkbox"] {
  margin-top: 0.25rem;
}

body.auth-card-page,
body.auth-split {
  min-height: 100vh;
  background: #f8fafc;
}

body.auth-card-page {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.auth-card-shell {
  width: min(440px, 100%);
}

.auth-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.75rem 1.5rem 1.25rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.auth-card-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.auth-card-brand img {
  height: 44px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
}

.auth-card-org-name {
  margin: 0;
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: #1f2937;
  text-align: center;
}

.auth-card .page-title {
  text-align: center;
  margin: 0 0 0.35rem;
  color: #0f172a;
}

.auth-card > .muted {
  text-align: center;
  margin: 0 0 1.25rem;
}

.auth-card form p {
  margin: 0 0 0.9rem;
}

.auth-card form label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.auth-card form input[type="text"],
.auth-card form input[type="email"],
.auth-card form input[type="password"],
.auth-card form input[type="tel"],
.auth-card form select,
.auth-card form textarea {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font: inherit;
}

.auth-card .btn {
  width: 100%;
  margin-top: 0.35rem;
  background: #16a34a;
  border: 0;
  color: #0f172a;
  font-weight: 700;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  cursor: pointer;
}

.auth-card .auth-links {
  justify-content: center;
}

.auth-left {
  position: relative;
  height: 100vh;
  background: var(--cream);
  overflow: hidden;
}

.auth-left img {
  position: absolute;
  inset: 8%;
  width: calc(100% - 16%);
  height: calc(100% - 16%);
  object-fit: contain;
  object-position: center;
}

.auth-right {
  height: 100vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  padding: 2.5rem 2rem;
}

.auth-panel {
  width: min(420px, 100%);
  margin: auto;
}

.password-field {
  display: flex;
  align-items: stretch;
  gap: 0.5rem;
}

.password-field input {
  flex: 1;
  min-width: 0;
}

.password-toggle {
  flex: 0 0 auto;
  align-self: center;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.35rem 0.25rem;
}

.password-toggle:hover {
  opacity: 0.75;
}

.password-strength {
  margin: 0.35rem 0 0.85rem;
}

.password-strength-bar {
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
}

.password-strength-bar span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--gold);
}

.password-strength.is-strong .password-strength-bar span {
  background: var(--green);
}

.password-strength-label {
  margin: 0.25rem 0 0;
  font-size: 13px;
  color: var(--muted);
}

.password-strength.is-strong .password-strength-label {
  color: var(--green-dark);
}

body.auth-card-page .page-title,
body.auth-split .page-title {
  color: #0f172a;
}

body.auth-split .btn {
  background: var(--green);
  border-radius: 6px;
}

.auth-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.25rem;
}

.auth-links a {
  color: var(--green);
  font-weight: 600;
}

body.marketing .why-hero {
  min-height: min(52vh, 420px);
}

@keyframes why-hero-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

body.marketing .why-hero-content {
  animation: why-hero-in 0.55s ease-out both;
}

body.marketing .why-main {
  padding-top: 2.5rem;
  padding-bottom: 2rem;
}

body.marketing .why-grid {
  gap: 1.25rem;
}

body.marketing .why-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(26, 61, 12, 0.1);
  border-radius: 10px;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(26, 61, 12, 0.06);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

body.marketing .why-card:hover {
  text-decoration: none;
  transform: translateY(-3px);
  border-color: rgba(60, 122, 20, 0.35);
  box-shadow: 0 10px 22px rgba(26, 61, 12, 0.1);
}

body.marketing .why-card-media {
  display: block;
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-bottom: 3px solid var(--gold);
}

body.marketing .why-card-body {
  padding: 1.15rem 1.25rem 1.35rem;
}

body.marketing .why-card-body h3 {
  margin: 0 0 0.45rem;
  color: var(--green-dark);
  font-weight: 600;
}

body.marketing .why-card-body p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

body.marketing .why-closing {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--green-dark);
}

body.marketing .why-closing-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.marketing .why-closing-overlay {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 2.75rem 1.25rem;
  background: linear-gradient(
    180deg,
    rgba(26, 61, 12, 0.78) 0%,
    rgba(26, 61, 12, 0.88) 100%
  );
}

body.marketing .why-closing-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

body.marketing .why-closing-line {
  margin: 0;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 600;
}

body.marketing .why-closing .btn {
  background: var(--gold);
  color: var(--green-dark) !important;
}

body.marketing .why-closing .btn-secondary {
  background: transparent;
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.55);
}

body.marketing .contact-hero {
  min-height: min(48vh, 400px);
}

body.marketing .contact-hero-content {
  animation: why-hero-in 0.55s ease-out both;
}

body.marketing .contact-hero-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.55rem 0.75rem;
}

body.marketing .contact-hero-links a {
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 202, 74, 0.55);
}

body.marketing .contact-hero-links a:hover {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

body.marketing .contact-hero-links span {
  color: rgba(255, 255, 255, 0.55);
}

body.marketing .contact-main {
  display: flex;
  justify-content: center;
  padding-top: 2rem;
  padding-bottom: 3rem;
}

body.marketing .contact-panel {
  width: 100%;
  max-width: 32rem;
  background: #fff;
  border: 1px solid rgba(26, 61, 12, 0.1);
  border-top: 3px solid var(--gold);
  border-radius: 10px;
  padding: 1.75rem 1.5rem 1.85rem;
  box-shadow: 0 8px 22px rgba(26, 61, 12, 0.08);
  animation: why-hero-in 0.55s ease-out 0.08s both;
}

body.marketing .contact-address {
  margin: 0 0 0.35rem;
  font-size: 14px;
}

body.marketing .contact-panel h2 {
  margin: 0 0 1.15rem;
  font-size: 1.35rem;
}

body.marketing .contact-field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin: 0 0 1rem;
}

body.marketing .contact-field label {
  font-size: 14px;
  font-weight: 500;
  color: var(--green-dark);
}

body.marketing .contact-input {
  width: 100%;
  box-sizing: border-box;
  padding: 0.65rem 0.75rem;
  border: 1px solid rgba(26, 61, 12, 0.18);
  border-radius: 6px;
  background: #fff;
  color: var(--text);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

body.marketing .contact-input:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(60, 122, 20, 0.15);
}

body.marketing .contact-errors {
  color: #991b1b;
  font-size: 13px;
}

body.marketing .contact-submit {
  width: 100%;
  margin-top: 0.35rem;
  background: var(--gold) !important;
  color: var(--green-dark) !important;
  font-weight: 600;
  padding: 0.7rem 1rem;
}

body.marketing .contact-submit:hover {
  filter: brightness(0.97);
}

@media (max-width: 800px) {
  body.marketing .hero-band .page-title { font-size: 32px; }
  body.marketing .hero-band-photo { min-height: min(92vh, 640px); }
  body.marketing .why-hero { min-height: min(48vh, 380px); }
  body.marketing .contact-hero { min-height: min(44vh, 360px); }
  body.marketing .custom-systems {
    grid-template-columns: 1fr;
    text-align: center;
  }
  body.marketing .custom-systems .actions { justify-content: center; }
  body.auth-card-page {
    align-items: flex-start;
    padding-top: 2rem;
  }
}
