:root {
  --forest: #173c34;
  --forest-deep: #102e29;
  --forest-soft: #eaf1eb;
  --lime: #d3ef7b;
  --lime-strong: #c8e86c;
  --ink: #18231f;
  --muted: #77827c;
  --line: #e7ebe6;
  --canvas: #f5f7f3;
  --white: #fff;
  --orange: #e9a95e;
  --red: #c65348;
  --shadow: 0 16px 48px rgba(20, 47, 39, .12);
  --radius: 15px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  font-synthesis: none;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body { min-width: 320px; background: var(--canvas); font-size: 13px; -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid rgba(149, 194, 92, .36); outline-offset: 2px; }
.app-shell { min-height: 100vh; display: grid; grid-template-columns: 250px minmax(0, 1fr); }
.mobile-scrim { display: none; }
.sidebar { height: 100vh; min-height: 680px; position: sticky; top: 0; z-index: 20; display: flex; flex-direction: column; padding: 24px 15px 16px; color: #f3f6f0; background: var(--forest); overflow: hidden; }
.brand-lockup { display: flex; align-items: center; padding: 1px 10px 23px; gap: 10px; }
.brand-mark { width: 35px; height: 35px; display: grid; place-items: center; color: var(--lime); }
.brand-mark svg { display: block; width: 35px; height: 35px; }
.brand-copy { display: flex; flex-direction: column; gap: 1px; }
.brand-name { font-size: 22px; font-weight: 750; letter-spacing: -.9px; line-height: 1.05; }
.brand-dot { color: var(--lime); }
.brand-subtitle { color: rgba(231, 241, 234, .52); font-size: 8px; letter-spacing: 1.5px; font-weight: 700; margin-top: 3px; }
.mobile-close { display: none !important; }
.workspace-switcher { height: 55px; padding: 8px 9px; display: flex; align-items: center; gap: 9px; border: 1px solid rgba(232, 245, 234, .13); border-radius: 11px; background: rgba(255, 255, 255, .045); margin-bottom: 22px; }
.workspace-emblem { width: 32px; height: 32px; flex: 0 0 32px; display: grid; place-items: center; border-radius: 9px; color: var(--forest-deep); background: var(--lime); font-weight: 800; font-size: 14px; }
.workspace-copy { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.workspace-copy strong { color: #f2f5ef; font-size: 11px; font-weight: 650; white-space: nowrap; }
.workspace-copy span { color: rgba(235, 243, 235, .53); font-size: 9px; }
.workspace-chevron { color: rgba(237, 244, 237, .6); margin-left: auto; margin-right: 5px; font-size: 14px; }
.primary-nav { overflow-y: auto; flex: 1; scrollbar-width: none; }
.primary-nav::-webkit-scrollbar { display: none; }
.nav-group { margin-bottom: 19px; }
.nav-heading { padding: 0 11px 7px; color: rgba(236, 246, 236, .42); font-size: 9px; font-weight: 750; text-transform: uppercase; letter-spacing: 1.18px; }
.nav-item { border: 0; background: transparent; color: rgba(236, 245, 236, .72); width: 100%; height: 39px; padding: 0 11px; border-radius: 9px; display: flex; align-items: center; gap: 12px; text-align: left; font-size: 11px; font-weight: 530; margin: 2px 0; transition: .18s ease; }
.nav-item:hover { color: #fff; background: rgba(255,255,255,.075); }
.nav-item.active { color: #193c34; font-weight: 700; background: var(--lime); box-shadow: 0 5px 15px rgba(4, 20, 16, .12); }
.nav-icon { width: 17px; height: 17px; display: inline-flex; flex: 0 0 17px; align-items: center; justify-content: center; }
.nav-icon svg { width: 17px; height: 17px; stroke: currentColor; }
.nav-count { margin-left: auto; min-width: 19px; height: 19px; display: grid; place-items: center; border-radius: 8px; color: var(--forest); background: var(--lime); font-size: 9px; font-weight: 800; }
.nav-item.active .nav-count { color: var(--forest); background: rgba(23,60,52,.12); }
.nav-item.nav-restricted { opacity: .37; }
.nav-item.nav-restricted:hover { opacity: .75; }
.sidebar-bottom { padding-top: 8px; }
.sidebar-support { display: flex; align-items: center; gap: 9px; padding: 11px 9px 14px; margin: 0 2px 10px; border-bottom: 1px solid rgba(236, 246, 236, .11); }
.support-icon { width: 22px; height: 22px; display: grid; place-items: center; border: 1px solid rgba(227, 241, 227, .33); color: rgba(234, 242, 232, .85); border-radius: 50%; font-weight: 600; font-size: 11px; }
.sidebar-support div { display: flex; flex-direction: column; gap: 3px; }
.sidebar-support strong { color: rgba(245, 248, 244, .86); font-size: 10px; font-weight: 650; }
.sidebar-support span:not(.support-icon) { color: rgba(234, 243, 232, .48); font-size: 9px; }
.support-arrow { margin-left: auto; color: rgba(234, 243, 232, .48); font-size: 12px; }
.sidebar-profile { display: flex; align-items: center; width: 100%; padding: 7px 8px; gap: 9px; border: 0; border-radius: 10px; color: #eff5ee; background: transparent; text-align: left; }
.sidebar-profile:hover { background: rgba(255,255,255,.065); }
.avatar { width: 32px; height: 32px; flex: 0 0 32px; display: grid; place-items: center; border-radius: 50%; color: #244338; background: #e4eddb; font-weight: 750; font-size: 10px; }
.avatar.avatar-lime { color: #274336; background: #dcf092; }
.profile-meta { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.profile-meta strong { font-size: 10px; font-weight: 650; white-space: nowrap; }
.profile-meta span { color: rgba(238, 246, 237, .52); font-size: 9px; white-space: nowrap; }
.profile-menu-chevron { margin-left: auto; color: rgba(238, 246, 237, .62); font-size: 14px; }
.main-area { min-width: 0; display: flex; flex-direction: column; height: 100vh; overflow: hidden; }
.topbar { position: sticky; top: 0; z-index: 10; height: 70px; min-height: 70px; display: flex; align-items: center; justify-content: space-between; padding: 0 37px; background: rgba(255,255,255,.96); border-bottom: 1px solid #edf0ec; }
.topbar-left, .topbar-right { display: flex; align-items: center; }
.topbar-left { gap: 13px; }
.breadcrumb { color: #98a19b; font-size: 11px; }
.breadcrumb-slash { padding: 0 7px; color: #bdc5bf; }
.breadcrumb-current { color: #35413a; font-weight: 650; }
.topbar-right { gap: 14px; }
.search-box { height: 35px; width: 210px; display: flex; align-items: center; gap: 8px; padding: 0 10px; border: 1px solid #e8ece7; border-radius: 8px; background: #fbfcfa; color: #9aa49d; transition: .18s ease; }
.search-box:focus-within { border-color: #b3cc8a; box-shadow: 0 0 0 3px rgba(179,204,138,.16); }
.search-box svg { width: 14px; height: 14px; flex: 0 0 14px; }
.search-box input { min-width: 0; width: 100%; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 10px; }
.search-box input::placeholder { color: #9ba49d; }
.search-shortcut { white-space: nowrap; border: 1px solid #e9ece8; border-radius: 4px; padding: 2px 4px; color: #9da79f; font-size: 8px; }
.topbar-divider { height: 23px; width: 1px; background: #e8ece8; }
.icon-button { width: 34px; height: 34px; display: grid; place-items: center; border: 0; color: #637069; background: transparent; border-radius: 9px; position: relative; }
.icon-button:hover { background: #f2f5f1; color: var(--forest); }
.icon-button svg { width: 17px; height: 17px; stroke: currentColor; }
.notification-dot { width: 6px; height: 6px; position: absolute; top: 6px; right: 7px; border-radius: 50%; border: 1px solid white; background: #e47d56; }
.top-profile { display: flex; align-items: center; gap: 9px; padding: 2px 4px; border: 0; color: var(--ink); background: transparent; text-align: left; border-radius: 8px; }
.top-profile:hover { background: #f6f8f5; }
.top-profile .avatar { width: 30px; height: 30px; flex-basis: 30px; font-size: 9px; }
.top-profile .profile-meta strong { color: #36413b; font-size: 10px; }
.top-profile .profile-meta span { color: #8a948e; font-size: 9px; }
.top-profile .profile-menu-chevron { color: #8b958e; }
.mobile-menu-button { display: none; }
.page-content { min-height: 0; flex: 1; overflow-y: auto; padding: 30px 37px 45px; scrollbar-color: #d5ddd5 transparent; scrollbar-width: thin; }
.page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 23px; }
.page-heading-copy { min-width: 0; }
.page-eyebrow { color: #8b988f; font-size: 10px; font-weight: 650; letter-spacing: .1px; margin-bottom: 7px; }
.page-title { margin: 0; color: #1c2a24; font-size: 26px; line-height: 1.16; font-weight: 690; letter-spacing: -.8px; }
.page-description { margin: 8px 0 0; color: #839087; font-size: 11px; line-height: 1.55; }
.heading-actions { display: flex; gap: 9px; align-items: center; flex-shrink: 0; }
.button { min-height: 35px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; border: 1px solid transparent; border-radius: 8px; padding: 0 13px; color: var(--ink); background: #fff; font-weight: 650; font-size: 10px; transition: .16s ease; white-space: nowrap; }
.button:hover { transform: translateY(-1px); }
.button svg { width: 14px; height: 14px; stroke: currentColor; }
.button-primary { color: #1c382e; background: var(--lime); border-color: var(--lime); box-shadow: 0 3px 7px rgba(153, 187, 88, .13); }
.button-primary:hover { background: #c9e86d; }
.button-dark { color: #fff; background: var(--forest); border-color: var(--forest); }
.button-dark:hover { background: #234c40; }
.button-secondary { color: #49564e; background: #fff; border-color: #e2e8e1; }
.button-secondary:hover { background: #f8faf7; border-color: #cdd8ce; }
.button-ghost { color: #67736b; background: transparent; border-color: transparent; }
.button-danger { color: #9a3c34; background: #fff2f0; border-color: #f4d9d4; }
.button-small { min-height: 29px; padding: 0 9px; font-size: 9px; }
.button-icon { padding: 0; width: 32px; height: 32px; min-height: 32px; border-color: #e6ebe5; color: #718078; }
.button:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.inline-link { padding: 0; border: 0; background: transparent; color: #516b4e; font-weight: 700; font-size: 10px; }
.inline-link:hover { color: #254f3e; text-decoration: underline; }
.card { background: #fff; border: 1px solid #ebefea; border-radius: var(--radius); box-shadow: 0 3px 11px rgba(24, 55, 43, .025); }
.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; margin-bottom: 17px; }
.stat-card { min-height: 122px; padding: 16px 17px 14px; position: relative; overflow: hidden; }
.stat-top { display: flex; align-items: center; justify-content: space-between; gap: 7px; }
.stat-label { color: #77837b; font-size: 10px; font-weight: 540; }
.stat-icon { width: 29px; height: 29px; display: grid; place-items: center; border-radius: 9px; color: #49684e; background: #eff5e6; }
.stat-icon svg { width: 15px; height: 15px; stroke: currentColor; }
.stat-icon.icon-sky { color: #50748a; background: #edf4f6; }
.stat-icon.icon-peach { color: #ab7250; background: #fbf1e8; }
.stat-icon.icon-lilac { color: #766c95; background: #f0eef8; }
.stat-value { color: #1b2a23; font-size: 23px; font-weight: 690; letter-spacing: -.75px; line-height: 1; margin-top: 13px; white-space: nowrap; }
.stat-foot { display: flex; align-items: center; gap: 6px; margin-top: 10px; color: #89948c; font-size: 9px; }
.stat-change { display: inline-flex; align-items: center; gap: 3px; color: #4f885f; font-size: 9px; font-weight: 700; }
.stat-change.down { color: #bb6b5d; }
.stat-change svg { width: 11px; height: 11px; }
.stat-subtle { color: #9aa39c; }
.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(275px, .86fr); gap: 15px; align-items: stretch; margin-bottom: 15px; }
.card-header { min-height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 17px 9px; }
.card-title { margin: 0; color: #26352e; font-size: 12px; font-weight: 700; letter-spacing: -.1px; }
.card-subtitle { color: #8d9890; font-size: 9px; margin-top: 4px; }
.card-heading-group { min-width: 0; }
.select-mini { min-width: 96px; height: 29px; padding: 0 23px 0 9px; border: 1px solid #e8ede7; border-radius: 7px; color: #637067; background: #fff; font-size: 9px; outline: 0; }
.growth-card { min-height: 306px; }
.chart-legend { display: flex; align-items: center; gap: 14px; color: #89948c; font-size: 9px; }
.legend-key { display: inline-flex; align-items: center; gap: 5px; }
.legend-dot { width: 7px; height: 7px; border-radius: 50%; background: #678b5d; }
.legend-dot.legend-lime { background: #c8df8b; }
.chart-wrap { height: 200px; padding: 3px 13px 0; }
.chart-wrap svg { display: block; width: 100%; height: 100%; overflow: visible; }
.chart-gridline { stroke: #eff2ee; stroke-width: 1; }
.chart-axis-label { fill: #a2aba4; font-size: 9px; font-family: inherit; }
.chart-line { fill: none; stroke: #63855b; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.chart-area { fill: url(#chartFade); }
.chart-point { fill: #fff; stroke: #62855a; stroke-width: 2; }
.chart-foot { display: flex; align-items: center; justify-content: space-between; padding: 0 18px 15px; color: #939d95; font-size: 9px; }
.chart-foot strong { color: #556b51; font-weight: 700; }
.goal-card { min-height: 306px; padding-bottom: 8px; }
.goal-card .card-header { padding-bottom: 7px; }
.goal-list { padding: 0 17px; }
.goal-item { padding: 11px 0 12px; border-bottom: 1px solid #f0f2ef; }
.goal-item:last-child { border-bottom: 0; }
.goal-item-top { display: flex; align-items: center; gap: 9px; }
.goal-emoji { width: 29px; height: 29px; display: grid; place-items: center; flex: 0 0 29px; border-radius: 9px; font-size: 14px; background: #f5f5e8; }
.goal-emoji.education { background: #edf3df; }
.goal-emoji.enterprise { background: #fcf0e8; }
.goal-emoji.agriculture { background: #eaf3e9; }
.goal-emoji.housing { background: #edf0f6; }
.goal-name-wrap { min-width: 0; flex: 1; }
.goal-name { color: #36433b; font-size: 10px; font-weight: 680; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.goal-project { color: #97a098; font-size: 8px; margin-top: 3px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.goal-percent { color: #4e6749; font-size: 10px; font-weight: 730; }
.progress-track { width: 100%; height: 5px; margin-top: 9px; overflow: hidden; border-radius: 5px; background: #edf0eb; }
.progress-fill { height: 100%; border-radius: inherit; background: #97ba69; transition: width .4s ease; }
.progress-fill.progress-warm { background: #e5b773; }
.progress-fill.progress-soft { background: #7ea9a1; }
.goal-item-foot { display: flex; justify-content: space-between; gap: 6px; margin-top: 6px; color: #9aa39b; font-size: 8px; }
.goal-item-foot strong { color: #748079; font-weight: 650; }
.dashboard-bottom { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(260px,.85fr); gap: 15px; }
.recent-card, .distribution-card { min-height: 270px; }
.card-header .view-all { display: inline-flex; align-items: center; gap: 4px; color: #71806f; font-size: 9px; font-weight: 650; border: 0; background: none; white-space: nowrap; }
.view-all:hover { color: var(--forest); }
.activity-list { padding: 0 17px 9px; }
.activity-row { min-height: 49px; display: flex; align-items: center; gap: 10px; border-top: 1px solid #f1f3f0; }
.activity-coin { width: 29px; height: 29px; flex: 0 0 29px; display: grid; place-items: center; color: #58764f; background: #eff4e8; border-radius: 9px; }
.activity-coin svg { width: 14px; height: 14px; stroke: currentColor; }
.activity-coin.loan-coin { color: #bc794c; background: #fbf0e6; }
.activity-coin.repay-coin { color: #577c80; background: #edf5f4; }
.activity-copy { min-width: 0; flex: 1; }
.activity-main { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: #46524a; font-size: 9px; font-weight: 620; }
.activity-secondary { margin-top: 4px; color: #a0a9a2; font-size: 8px; }
.activity-amount { text-align: right; white-space: nowrap; color: #334039; font-size: 9px; font-weight: 700; }
.activity-amount.in { color: #4a7351; }
.activity-amount .activity-date { margin-top: 4px; color: #a1aaa2; font-size: 8px; font-weight: 450; }
.allocation-wrap { padding: 6px 17px 14px; }
.allocation-total { display: flex; align-items: center; justify-content: space-between; padding: 8px 10px 12px; border-radius: 10px; background: #f7f9f5; }
.allocation-total span { color: #87928a; font-size: 9px; }
.allocation-total strong { color: #344b3e; font-size: 13px; letter-spacing: -.2px; }
.allocation-row { margin-top: 12px; }
.allocation-top { display: flex; justify-content: space-between; gap: 7px; color: #707d74; font-size: 9px; }
.allocation-top strong { color: #435049; font-size: 9px; font-weight: 650; }
.allocation-bar { display: flex; height: 7px; overflow: hidden; gap: 3px; margin-top: 7px; }
.allocation-bar span { min-width: 5px; border-radius: 7px; background: #82a06d; }
.allocation-bar span:nth-child(3n+2) { background: #adc889; }
.allocation-bar span:nth-child(3n+3) { background: #d5dfb8; }
/* Data pages */
.toolbar-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.toolbar-left, .toolbar-right { display: flex; align-items: center; gap: 8px; }
.search-field { height: 34px; width: 235px; display: flex; align-items: center; gap: 8px; border: 1px solid #e5eae4; background: #fff; border-radius: 8px; padding: 0 10px; color: #96a097; }
.search-field svg { width: 14px; height: 14px; flex: 0 0 14px; }
.search-field input { min-width: 0; width: 100%; border: 0; outline: 0; background: transparent; font-size: 10px; color: var(--ink); }
.search-field input::placeholder { color: #a2aaa4; }
.filter-select { height: 34px; border: 1px solid #e5eae4; border-radius: 8px; background: #fff; padding: 0 26px 0 10px; color: #657169; font-size: 10px; outline: 0; }
.toolbar-note { color: #929c95; font-size: 9px; }
.table-card { overflow: hidden; }
.table-headline { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 15px 17px; border-bottom: 1px solid #edf0ec; }
.table-headline-title { color: #35423a; font-size: 11px; font-weight: 700; }
.table-headline-sub { color: #949e96; font-size: 9px; margin-top: 4px; }
.table-scroll { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; white-space: nowrap; }
.data-table th { height: 38px; padding: 0 14px; text-align: left; color: #929c95; background: #fbfcfa; border-bottom: 1px solid #edf0ec; font-size: 8px; font-weight: 700; letter-spacing: .55px; text-transform: uppercase; }
.data-table td { height: 58px; padding: 8px 14px; color: #627067; border-bottom: 1px solid #f0f2ef; font-size: 9px; }
.data-table tr:last-child td { border-bottom: 0; }
.data-table tbody tr:hover { background: #fcfdfb; }
.table-primary { color: #344139; font-size: 10px; font-weight: 660; }
.table-secondary { color: #9aa49d; font-size: 8px; margin-top: 4px; }
.table-link { padding: 0; border: 0; background: none; text-align: left; color: #344139; font-size: 10px; font-weight: 680; }
.table-link:hover { color: #567d49; }
.group-table-name { display: flex; align-items: center; gap: 9px; }
.group-initial { width: 31px; height: 31px; flex: 0 0 31px; display: grid; place-items: center; color: #4f6b45; background: #eff4e6; border-radius: 9px; font-size: 11px; font-weight: 730; }
.group-initial.tone-1 { background: #f9f0e7; color: #ac7953; }
.group-initial.tone-2 { background: #eaf3ef; color: #4e8275; }
.group-initial.tone-3 { background: #efedf6; color: #777294; }
.group-initial.tone-4 { background: #f7ebed; color: #a96f76; }
.cell-progress { min-width: 124px; }
.cell-progress-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: #657168; font-size: 9px; }
.cell-progress-top strong { color: #425449; }
.cell-progress .progress-track { width: 96px; height: 4px; margin-top: 6px; }
.badge { display: inline-flex; align-items: center; gap: 5px; border-radius: 20px; padding: 4px 8px; color: #577158; background: #eff5e9; font-size: 8px; font-weight: 680; line-height: 1; }
.badge::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.badge.pending { color: #a67843; background: #fbf3e6; }
.badge.review { color: #8a709b; background: #f3eef8; }
.badge.rejected, .badge.inactive { color: #a9564e; background: #fbefed; }
.badge.invited { color: #637b8e; background: #edf3f6; }
.badge.posted { color: #577158; background: #eff5e9; }
.badge.neutral { color: #78847c; background: #f0f2ef; }
.row-actions { display: flex; align-items: center; justify-content: flex-end; gap: 5px; }
.row-action { width: 27px; height: 27px; display: grid; place-items: center; border: 0; border-radius: 7px; color: #89948c; background: transparent; }
.row-action:hover { color: var(--forest); background: #f0f4ed; }
.row-action svg { width: 14px; height: 14px; stroke: currentColor; }
.pagination { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 12px 16px; border-top: 1px solid #edf0ec; color: #96a098; font-size: 9px; }
.pagination-pages { display: flex; gap: 4px; }
.pagination-pages button { width: 25px; height: 25px; border: 1px solid #e8ece7; border-radius: 6px; color: #667269; background: #fff; font-size: 9px; }
.pagination-pages button.current { color: #fff; border-color: var(--forest); background: var(--forest); }
.summary-strip { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; margin-bottom: 15px; }
.summary-mini { padding: 13px 15px; min-height: 76px; }
.summary-mini span { color: #8c978f; font-size: 9px; }
.summary-mini strong { display: block; margin-top: 9px; color: #35443b; font-size: 16px; font-weight: 680; letter-spacing: -.3px; }
.summary-mini strong small { color: #87938a; font-size: 9px; font-weight: 550; letter-spacing: 0; }
.page-grid { display: grid; grid-template-columns: minmax(0,1fr) 295px; gap: 15px; align-items: start; }
.side-panel { padding: 16px; }
.side-panel + .side-panel { margin-top: 13px; }
.side-panel h3 { margin: 0; color: #334239; font-size: 11px; font-weight: 700; }
.side-panel p { margin: 6px 0 0; color: #8b978e; font-size: 9px; line-height: 1.55; }
.quick-stat-list { margin-top: 15px; }
.quick-stat-row { display: flex; align-items: center; justify-content: space-between; gap: 7px; padding: 9px 0; border-top: 1px solid #f0f2ef; color: #839087; font-size: 9px; }
.quick-stat-row strong { color: #45544a; font-size: 10px; }
.empty-state { display: flex; min-height: 150px; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: #8b968e; text-align: center; padding: 20px; }
.empty-state strong { color: #46554b; font-size: 11px; }
.empty-state span { font-size: 9px; }
.empty-state-icon { width: 37px; height: 37px; display: grid; place-items: center; border-radius: 12px; background: #f0f4eb; color: #6c8b5b; font-size: 17px; }
/* KYC */
.kyc-summary { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-bottom: 15px; }
.kyc-count { padding: 15px 17px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.kyc-count-copy span { display: block; color: #87928a; font-size: 9px; }
.kyc-count-copy strong { display: block; margin-top: 7px; color: #32443a; font-size: 20px; font-weight: 700; }
.kyc-count .stat-icon { width: 34px; height: 34px; }
.kyc-review-card { padding: 14px; }
.kyc-review-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 13px; }
.kyc-review-top h3 { margin: 0; font-size: 11px; color: #37463d; }
.kyc-person { display: flex; align-items: center; gap: 9px; min-width: 160px; }
.kyc-details-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px 12px; margin-top: 12px; }
.kyc-detail { color: #939d96; font-size: 8px; }
.kyc-detail strong { display: block; color: #536159; font-size: 9px; font-weight: 600; margin-top: 3px; overflow-wrap: anywhere; }
/* Reports */
.report-summary { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; margin: 15px 0; }
.report-total-card { padding: 14px 15px; }
.report-total-card span { color: #8b958e; font-size: 9px; }
.report-total-card strong { display: block; color: #33433a; margin-top: 8px; font-size: 17px; letter-spacing: -.25px; }
.report-total-card em { color: #89948c; font-style: normal; font-size: 8px; display: block; margin-top: 4px; }
.report-progress { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(#779768 0deg, #d3e5bd 210deg, #edf1e9 210deg); position: relative; }
.report-progress::before { content:''; position:absolute; width:54px; height:54px; border-radius:50%; background:#fff; }
.report-progress span { position:relative; color:#385141; font-size:13px; font-weight:750; }
/* Access control */
.access-highlight { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 15px; padding: 17px 19px; color: #eef3eb; border-radius: 14px; background: var(--forest); overflow: hidden; position: relative; }
.access-highlight::after { content:''; position:absolute; right:12%; top:-65px; width:220px; height:220px; border:1px solid rgba(219,239,173,.12); border-radius:50%; box-shadow:0 0 0 28px rgba(219,239,173,.025),0 0 0 57px rgba(219,239,173,.025); }
.access-highlight-copy { position:relative; z-index:1; }
.access-highlight .eyebrow { color: #bbd49f; font-size: 9px; letter-spacing: .7px; font-weight: 700; text-transform: uppercase; }
.access-highlight h2 { margin: 6px 0 4px; color: #f5f8f1; font-size: 16px; letter-spacing: -.3px; }
.access-highlight p { margin: 0; color: rgba(238,246,235,.66); font-size: 9px; }
.access-highlight .admin-shield { width: 43px; height: 43px; flex: 0 0 43px; position: relative; z-index: 1; display: grid; place-items: center; border-radius: 13px; background: var(--lime); color: #36503e; }
.admin-shield svg { width: 21px; height: 21px; stroke: currentColor; }
.access-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(260px,.72fr); gap: 15px; align-items: start; }
.role-card { padding: 15px 16px; }
.role-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:10px; }
.role-heading h3 { margin:0; color:#34443a; font-size:11px; }
.role-description { margin:5px 0 13px; color:#8c978f; font-size:8px; line-height:1.45; }
.permission-label { color:#97a098; font-size:8px; font-weight:700; text-transform:uppercase; letter-spacing:.5px; margin:9px 0 7px; }
.permission-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:6px; }
.permission-chip { display:flex; align-items:center; gap:6px; min-height:26px; padding:5px 7px; border:1px solid #edf0ec; border-radius:7px; color:#718077; background:#fbfcfa; font-size:8px; }
.permission-chip input { accent-color:#617f57; width:12px; height:12px; margin:0; }
.permission-chip.locked { color:#53644f; background:#f6f8f2; }
.access-users { min-width:0; }
.user-line { display:flex; align-items:center; gap:9px; padding:10px 0; border-top:1px solid #f0f2ef; }
.user-line:first-child { border-top:0; }
.user-line-copy { min-width:0; flex:1; }
.user-line-copy strong { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:#3d4b42; font-size:9px; }
.user-line-copy span { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:#9aa39c; font-size:8px; margin-top:3px; }
.user-role-select { max-width:125px; height:27px; padding:0 22px 0 7px; border:1px solid #e8ece7; border-radius:6px; color:#657168; background:#fff; font-size:8px; }
/* Modal, menu, notifications */
.modal-backdrop { position:fixed; z-index:80; inset:0; display:flex; align-items:center; justify-content:center; padding:22px; background:rgba(14,33,27,.47); backdrop-filter:blur(3px); animation:fadeIn .15s ease; }
.modal-card { width:min(530px,100%); max-height:min(88vh,820px); display:flex; flex-direction:column; overflow:hidden; border-radius:16px; background:#fff; box-shadow:0 24px 90px rgba(10,34,24,.26); animation:riseIn .2s ease; }
.modal-card.modal-wide { width:min(720px,100%); }
.modal-card.modal-narrow { width:min(450px,100%); }
.modal-header { display:flex; align-items:flex-start; justify-content:space-between; gap:16px; padding:20px 22px 15px; border-bottom:1px solid #eff1ee; }
.modal-header-copy h2 { margin:0; color:#26362d; font-size:16px; letter-spacing:-.3px; }
.modal-header-copy p { margin:6px 0 0; color:#8c978f; font-size:9px; line-height:1.5; }
.modal-close { width:27px; height:27px; display:grid; place-items:center; border:0; border-radius:7px; color:#8b958e; background:#f4f6f3; font-size:17px; line-height:1; }
.modal-close:hover { color:#304238; background:#ecf1e9; }
.modal-body { overflow-y:auto; padding:17px 22px 19px; }
.modal-footer { display:flex; justify-content:flex-end; gap:8px; padding:13px 22px; border-top:1px solid #eff1ee; background:#fcfdfb; }
.form-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px 13px; }
.form-field { min-width:0; display:flex; flex-direction:column; gap:6px; }
.form-field.full { grid-column:1/-1; }
.form-label { color:#637067; font-size:9px; font-weight:650; }
.form-label .required { color:#d27c62; }
.form-input, .form-select, .form-textarea { width:100%; min-width:0; height:36px; padding:0 10px; border:1px solid #e3e9e2; border-radius:7px; outline:0; color:#37453c; background:#fff; font-size:10px; }
.form-input::placeholder, .form-textarea::placeholder { color:#adb5ae; }
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color:#a9c47b; box-shadow:0 0 0 3px rgba(169,196,123,.15); }
.form-textarea { height:70px; resize:vertical; padding:9px 10px; line-height:1.5; }
.form-hint { color:#9aa49d; font-size:8px; line-height:1.4; }
.form-section-title { grid-column:1/-1; display:flex; align-items:center; gap:8px; margin:5px 0 -2px; color:#62726a; font-size:9px; font-weight:750; letter-spacing:.45px; text-transform:uppercase; }
.form-section-title::after { content:''; height:1px; flex:1; background:#eef1ed; }
.form-error { display:none; padding:8px 9px; border-radius:6px; color:#9a423b; background:#fff0ed; font-size:9px; }
.form-error.show { display:block; }
.modal-tabs { display:flex; gap:4px; padding:4px; background:#f2f5f1; border-radius:9px; margin-bottom:15px; }
.modal-tab { flex:1; height:29px; border:0; border-radius:7px; color:#7e8981; background:transparent; font-size:9px; font-weight:650; }
.modal-tab.active { color:#365044; background:#fff; box-shadow:0 1px 4px rgba(20,40,28,.08); }
.group-detail-hero { display:flex; gap:13px; align-items:center; padding:3px 0 15px; }
.group-detail-hero .group-initial { width:45px; height:45px; flex-basis:45px; border-radius:13px; font-size:15px; }
.group-detail-hero h3 { margin:0; color:#2e4035; font-size:14px; }
.group-detail-hero p { margin:5px 0 0; color:#8c978e; font-size:9px; }
.group-detail-metrics { display:grid; grid-template-columns:repeat(3,1fr); gap:8px; margin-bottom:16px; }
.detail-metric { padding:10px; border-radius:9px; background:#f6f8f4; }
.detail-metric span { color:#8c978e; font-size:8px; }
.detail-metric strong { display:block; color:#405347; margin-top:6px; font-size:12px; }
.detail-member-row { display:flex; align-items:center; gap:8px; padding:9px 0; border-top:1px solid #eff2ed; }
.detail-member-row .avatar { width:27px; height:27px; flex-basis:27px; font-size:8px; }
.detail-member-name { flex:1; color:#46544b; font-size:9px; font-weight:650; }
.detail-member-sub { color:#9aa49d; font-size:8px; }
.menu-popover { position:fixed; z-index:70; right:24px; top:61px; width:235px; padding:8px; border:1px solid #e8ece6; border-radius:12px; background:#fff; box-shadow:0 12px 34px rgba(19,43,34,.15); animation:fadeIn .12s ease; }
.global-search-menu { right:280px; top:58px; width:min(310px,calc(100vw - 24px)); max-height:390px; overflow-y:auto; }
.user-role-select:disabled { color:#87928a; background:#f8faf7; opacity:.8; }
.menu-label { color:#99a39b; padding:7px 8px 5px; font-size:8px; font-weight:750; letter-spacing:.7px; text-transform:uppercase; }
.menu-user { width:100%; display:flex; align-items:center; gap:8px; padding:8px; border:0; border-radius:8px; background:transparent; text-align:left; }
.menu-user:hover { background:#f5f7f3; }
.menu-user .avatar { width:28px; height:28px; flex-basis:28px; font-size:8px; }
.menu-user-copy { min-width:0; flex:1; }
.menu-user-copy strong { display:block; color:#46544b; font-size:9px; }
.menu-user-copy span { display:block; margin-top:3px; color:#9aa49c; font-size:8px; }
.menu-check { color:#71915c; font-weight:800; }
.menu-divider { height:1px; margin:6px 1px; background:#edf0ec; }
.notification-popover { position:fixed; z-index:70; right:190px; top:61px; width:290px; padding:13px; border:1px solid #e8ece6; border-radius:12px; background:#fff; box-shadow:0 12px 34px rgba(19,43,34,.15); }
.notification-popover h3 { margin:1px 0 10px; font-size:11px; color:#36463b; }
.notice-line { display:flex; gap:9px; padding:9px 0; border-top:1px solid #f0f2ef; }
.notice-icon { width:26px; height:26px; flex:0 0 26px; display:grid; place-items:center; border-radius:8px; color:#54734d; background:#f0f5e8; font-size:12px; }
.notice-copy { color:#647168; font-size:9px; line-height:1.45; }
.notice-copy strong { color:#425147; }
.notice-time { display:block; color:#a0a9a2; font-size:8px; margin-top:4px; }
.toast-root { position:fixed; z-index:110; right:22px; bottom:20px; display:flex; flex-direction:column; gap:8px; pointer-events:none; }
.toast { display:flex; align-items:center; gap:9px; min-width:250px; max-width:390px; padding:12px 15px; color:#f8fbf6; background:#193d34; border-radius:10px; box-shadow:0 8px 28px rgba(22,52,39,.24); font-size:10px; animation:riseIn .2s ease; }
.toast-symbol { width:17px; height:17px; display:grid; place-items:center; flex:0 0 17px; border-radius:50%; color:#244332; background:#d3ef7b; font-size:10px; font-weight:800; }
.toast.toast-error { background:#783c34; }
.toast.toast-error .toast-symbol { color:#763d36; background:#ffb4a8; }
/* Responsive */
@keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
@keyframes riseIn { from { opacity:0; transform:translateY(7px); } to { opacity:1; transform:translateY(0); } }
@media (max-width: 1180px) {
  .page-content { padding-left:26px; padding-right:26px; }
  .topbar { padding-left:26px; padding-right:26px; }
  .stats-grid { gap:10px; }
  .stat-card { padding-left:13px; padding-right:13px; }
  .stat-value { font-size:20px; }
  .dashboard-grid { grid-template-columns:minmax(0,1.35fr) minmax(255px,.9fr); }
}
@media (max-width: 980px) {
  .app-shell { grid-template-columns:220px minmax(0,1fr); }
  .sidebar { padding-left:12px; padding-right:12px; }
  .page-content { padding:24px 20px 34px; }
  .topbar { padding:0 20px; }
  .top-profile .profile-meta { display:none; }
  .stats-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .dashboard-grid { grid-template-columns:minmax(0,1.2fr) minmax(235px,.8fr); }
  .dashboard-bottom { grid-template-columns:minmax(0,1.2fr) minmax(230px,.8fr); }
  .page-grid, .access-layout { grid-template-columns:minmax(0,1fr) 255px; gap:11px; }
}
@media (max-width: 760px) {
  .app-shell { display:block; }
  .sidebar { position:fixed; left:0; top:0; width:270px; height:100dvh; min-height:0; transform:translateX(-103%); transition:transform .22s ease; box-shadow:none; }
  .sidebar.mobile-open { transform:translateX(0); box-shadow:14px 0 50px rgba(15,38,30,.24); }
  .mobile-close { display:grid !important; margin-left:auto; color:rgba(240,246,237,.7); font-size:20px; }
  .mobile-scrim { position:fixed; z-index:18; inset:0; display:none; background:rgba(11,31,23,.36); }
  .mobile-scrim.visible { display:block; }
  .main-area { height:100dvh; }
  .topbar { height:62px; min-height:62px; padding:0 17px; }
  .mobile-menu-button { display:grid; margin-left:-6px; }
  .topbar-left { gap:7px; }
  .breadcrumb { font-size:10px; }
  .topbar-right { gap:8px; }
  .topbar-right > .search-box { width:34px; padding:0 9px; border-color:transparent; background:transparent; }
  .topbar-right > .search-box input, .search-shortcut { display:none; }
  .topbar-right > .search-box:focus-within { width:170px; padding:0 8px; border-color:#e8ece7; background:#fbfcfa; }
  .topbar-right > .search-box:focus-within input { display:block; }
  .topbar-divider { display:none; }
  .top-profile { padding:2px; }
  .top-profile .avatar { width:28px; height:28px; flex-basis:28px; }
  .top-profile .profile-menu-chevron { display:none; }
  .page-content { padding:21px 16px 34px; }
  .page-heading { align-items:flex-start; margin-bottom:17px; }
  .page-title { font-size:22px; }
  .page-description { max-width:420px; }
  .heading-actions { padding-top:3px; }
  .dashboard-grid, .dashboard-bottom { grid-template-columns:1fr; }
  .growth-card { min-height:290px; }
  .goal-card { min-height:0; }
  .dashboard-bottom .recent-card, .distribution-card { min-height:0; }
  .page-grid, .access-layout { grid-template-columns:1fr; }
  .page-grid aside { display:grid; grid-template-columns:1fr 1fr; gap:11px; }
  .side-panel + .side-panel { margin-top:0; }
  .summary-strip, .report-summary { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .menu-popover { right:12px; top:56px; }
  .notification-popover { right:12px; top:56px; }
  .global-search-menu { right:12px; top:56px; width:min(310px,calc(100vw - 24px)); }
  .search-box { width:190px; }
}
@media (max-width: 520px) {
  .topbar { padding:0 11px; }
  .topbar-left { gap:4px; }
  .breadcrumb-slash { padding:0 4px; }
  .topbar-right { gap:4px; }
  .topbar-right > .search-box { width:31px; padding:0 7px; }
  .topbar-right > .search-box:focus-within { position:absolute; right:119px; width:min(190px,52vw); }
  .page-content { padding:18px 12px 28px; }
  .page-heading { flex-direction:column; align-items:stretch; gap:12px; }
  .heading-actions { justify-content:flex-start; }
  .page-title { font-size:21px; }
  .button { min-height:33px; padding-left:10px; padding-right:10px; }
  .stats-grid { gap:8px; }
  .stat-card { min-height:110px; padding:12px 11px; }
  .stat-value { font-size:18px; }
  .stat-label { font-size:9px; }
  .stat-icon { width:26px; height:26px; }
  .stat-foot { gap:4px; font-size:8px; }
  .chart-wrap { height:175px; padding-left:5px; padding-right:5px; }
  .card-header { padding-left:13px; padding-right:13px; }
  .goal-list, .activity-list { padding-left:13px; padding-right:13px; }
  .toolbar-row { align-items:stretch; flex-direction:column; }
  .toolbar-left { width:100%; }
  .toolbar-right { justify-content:space-between; }
  .search-field { width:100%; }
  .filter-select { max-width:49%; }
  .summary-mini { padding:11px; }
  .summary-mini strong { font-size:14px; }
  .kyc-summary { grid-template-columns:1fr; gap:8px; }
  .kyc-count { padding:11px 13px; }
  .page-grid aside { grid-template-columns:1fr; }
  .page-grid aside .side-panel + .side-panel { margin-top:0; }
  .access-highlight { padding:14px; }
  .access-highlight h2 { font-size:14px; }
  .access-layout { gap:11px; }
  .permission-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .modal-backdrop { align-items:flex-end; padding:0; }
  .modal-card, .modal-card.modal-wide, .modal-card.modal-narrow { width:100%; max-height:91dvh; border-radius:17px 17px 0 0; }
  .modal-header { padding:17px 17px 13px; }
  .modal-body { padding:15px 17px; }
  .modal-footer { padding:12px 17px; }
  .form-grid { gap:10px; }
  .form-field { gap:5px; }
  .form-input, .form-select { height:35px; }
  .modal-body .form-grid { grid-template-columns:1fr; }
  .modal-body .form-field.full, .form-section-title { grid-column:1; }
  .group-detail-metrics { gap:6px; }
  .detail-metric { padding:8px; }
  .detail-metric strong { font-size:10px; }
  .toast-root { right:10px; left:10px; bottom:10px; }
  .toast { min-width:0; max-width:none; }
}

/* Authentication screens */
#auth-root { display:none; }
.auth-mode { background:#f5f7f3; }
.auth-mode .app-shell { display:none !important; }
.auth-mode #auth-root { display:block; min-height:100vh; }
.auth-layout { min-height:100vh; display:grid; grid-template-columns:minmax(0,1.04fr) minmax(410px,.96fr); background:#f5f7f3; }
.auth-showcase { min-height:100vh; position:relative; display:flex; flex-direction:column; justify-content:space-between; overflow:hidden; padding:36px clamp(32px,5vw,76px) 27px; color:#eff6e9; background:#173c34; }
.auth-showcase::before,.auth-showcase::after { content:''; position:absolute; z-index:0; pointer-events:none; border:1px solid rgba(223,241,195,.11); border-radius:50%; }
.auth-showcase::before { width:440px;height:440px;right:-185px;top:17%;box-shadow:0 0 0 35px rgba(220,239,194,.025),0 0 0 75px rgba(220,239,194,.025); }
.auth-showcase::after { width:290px;height:290px;left:-150px;bottom:-135px;box-shadow:0 0 0 28px rgba(220,239,194,.028),0 0 0 62px rgba(220,239,194,.022); }
.auth-showcase-top,.auth-showcase-content,.auth-showcase-footer { position:relative;z-index:1; }
.auth-showcase-top { display:flex;align-items:center;justify-content:space-between;gap:14px; }
.auth-brand { display:flex;align-items:center;gap:10px; }
.auth-brand-mark { width:37px;height:37px;display:grid;place-items:center;border-radius:12px;color:#244632;background:#d3ef7b; }
.auth-brand-mark svg { stroke:currentColor; }
.auth-brand strong { display:block;color:#f4f7ef;font-size:21px;line-height:1;font-weight:760;letter-spacing:-.7px; }
.auth-brand strong span { color:#d3ef7b; }
.auth-brand small { display:block;margin-top:4px;color:rgba(235,244,232,.5);font-size:8px;font-weight:700;letter-spacing:1.3px; }
.auth-secure-pill { display:flex;align-items:center;gap:6px;padding:7px 9px;border:1px solid rgba(237,246,232,.15);border-radius:20px;color:rgba(238,247,232,.67);font-size:8px;font-weight:700;letter-spacing:.65px; }
.auth-secure-pill svg { color:#d3ef7b; }
.auth-showcase-content { max-width:550px;margin:48px auto 32px;width:100%; }
.auth-kicker { color:#c7e889;font-size:9px;font-weight:750;letter-spacing:1.8px; }
.auth-showcase-content h1 { margin:14px 0 14px;color:#f7f8f3;font-size:clamp(36px,4.2vw,58px);line-height:1.08;letter-spacing:-2.1px;font-weight:675; }
.auth-showcase-content h1 span { color:#d3ef7b; }
.auth-showcase-content>p { max-width:420px;margin:0;color:rgba(236,245,231,.66);font-size:13px;line-height:1.8; }
.auth-goal-chips { display:flex;flex-wrap:wrap;gap:8px;margin-top:25px; }
.auth-goal-chips span { padding:9px 12px;border:1px solid rgba(230,244,219,.16);border-radius:9px;color:rgba(243,247,239,.91);background:rgba(255,255,255,.055);font-size:9px; }
.auth-mini-analytics { display:grid;grid-template-columns:1fr 1fr;gap:10px;max-width:420px;margin-top:38px; }
.auth-mini-analytics>div { display:flex;flex-direction:column;gap:7px;padding:14px 15px;border:1px solid rgba(235,244,229,.12);border-radius:12px;background:rgba(255,255,255,.055); }
.auth-mini-analytics span { color:rgba(237,244,232,.58);font-size:8px; }
.auth-mini-analytics strong { color:#f4f7ee;font-size:17px;letter-spacing:-.3px; }
.auth-mini-analytics small { color:rgba(237,244,232,.48);font-size:8px; }
.auth-showcase-footer { display:flex;justify-content:space-between;gap:12px;color:rgba(236,245,231,.45);font-size:8px;letter-spacing:.25px; }
.auth-panel { min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:38px 30px 20px; }
.auth-card { width:min(100%,420px);padding:28px 30px;border:1px solid #e8ede6;border-radius:18px;background:#fff;box-shadow:0 14px 42px rgba(34,57,42,.065); }
.auth-card-icon,.auth-success-icon { width:38px;height:38px;display:grid;place-items:center;margin-bottom:17px;border-radius:12px;color:#426647;background:#eff5e7; }
.auth-success-icon { width:48px;height:48px;color:#31513b;background:#e3f1d8; }
.auth-eyebrow { color:#779267;font-size:8px;font-weight:800;letter-spacing:1.1px; }
.auth-card h2 { margin:7px 0 7px;color:#24352b;font-size:23px;font-weight:700;letter-spacing:-.75px; }
.auth-card-copy { margin:0 0 20px;color:#89948c;font-size:10px;line-height:1.6; }
.auth-form { display:grid;gap:13px; }
.auth-field { display:flex;flex-direction:column;gap:6px;color:#526158;font-size:9px;font-weight:650; }
.auth-field small { margin-left:4px;color:#9aa49c;font-size:8px;font-weight:450; }
.auth-field input { width:100%;height:42px;padding:0 12px;border:1px solid #e1e8df;border-radius:8px;outline:0;color:#324137;background:#fff;font-size:10px;font-weight:450;transition:.15s; }
.auth-field input::placeholder { color:#a9b2aa; }
.auth-field input:focus { border-color:#a6c37d;box-shadow:0 0 0 3px rgba(166,195,125,.16); }
.auth-password-wrap { display:flex;align-items:center;gap:4px;height:42px;border:1px solid #e1e8df;border-radius:8px; }
.auth-password-wrap:focus-within { border-color:#a6c37d;box-shadow:0 0 0 3px rgba(166,195,125,.16); }
.auth-password-wrap input { height:38px;border:0;box-shadow:none !important; }
.auth-password-wrap button { height:33px;margin-right:5px;padding:0 8px;border:0;border-radius:6px;color:#738174;background:#f5f7f3;font-size:8px;font-weight:700; }
.auth-submit { width:100%;height:42px;margin-top:4px;font-size:10px; }
.auth-submit svg { margin-left:auto; }
.auth-alert { margin:0 0 15px;padding:10px 11px;border:1px solid #f2d9d3;border-radius:8px;color:#914d41;background:#fff4f1;font-size:9px;line-height:1.45; }
.auth-form-error { display:none;color:#b34e43;font-size:9px;line-height:1.4; }
.auth-form-error.show { display:block; }
.auth-demo-note { display:flex;gap:8px;align-items:flex-start;margin-top:15px;padding:10px 11px;border-radius:8px;color:#68766d;background:#f7f9f5;font-size:8px;line-height:1.55; }
.auth-demo-note strong { color:#50644e; }
.auth-demo-note code { color:#3b5743;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:8px;font-weight:700; }
.auth-demo-dot { width:7px;height:7px;flex:0 0 7px;margin-top:3px;border-radius:50%;background:#84a866;box-shadow:0 0 0 3px #e5efd9; }
.auth-switch { margin-top:16px;text-align:center;color:#87928a;font-size:9px; }
.auth-switch button { padding:0;border:0;color:#547247;background:transparent;font-weight:730; }
.auth-switch button:hover { text-decoration:underline; }
.auth-smallprint { margin-top:12px;color:#a0a9a2;font-size:8px;line-height:1.5;text-align:center; }
.auth-panel-footer { margin-top:19px;color:#a1aaa3;font-size:8px;text-align:center; }
.auth-panel-footer span { padding:0 4px;color:#cad1c9; }
.auth-mobile-brand { display:none; }
.auth-pending-card { text-align:center; }
.auth-pending-card .auth-success-icon { margin-left:auto;margin-right:auto; }
/* Dashboard analytics with real group and ledger values */
.dashboard-analytics-grid { grid-template-columns:minmax(0,1.26fr) minmax(315px,.86fr); }
.group-analytics-card,.purpose-analytics-card { min-height:370px; }
.analytics-group-list { padding:0 17px; }
.analytics-group-row { min-height:42px;display:grid;grid-template-columns:minmax(150px,1fr) minmax(130px,.9fr) 82px;align-items:center;gap:10px;border-top:1px solid #f0f2ef; }
.analytics-group-row:first-child { border-top:0; }
.analytics-group-info { min-width:0;display:flex;align-items:center;gap:8px; }
.analytics-group-info .group-initial { width:27px;height:27px;flex-basis:27px;border-radius:8px;font-size:9px; }
.analytics-group-copy { min-width:0; }
.analytics-group-copy strong { display:block;overflow:hidden;color:#445248;font-size:9px;font-weight:680;text-overflow:ellipsis;white-space:nowrap; }
.analytics-group-copy small { display:block;overflow:hidden;margin-top:3px;color:#9aa39c;font-size:7px;text-overflow:ellipsis;white-space:nowrap; }
.analytics-group-values { display:flex;justify-content:space-between;gap:5px;color:#8c978f;font-size:8px; }
.analytics-group-values strong { color:#4c664a;font-size:9px; }
.analytics-group-bar .progress-track { height:4px;margin-top:5px; }
.analytics-group-target { overflow:hidden;color:#909b93;font-size:8px;text-align:right;text-overflow:ellipsis;white-space:nowrap; }
.analytics-card-foot { display:flex;justify-content:space-between;gap:8px;margin:8px 17px 0;padding-top:10px;border-top:1px solid #edf0ec;color:#89948c;font-size:8px; }
.analytics-card-foot strong { color:#576a54;font-weight:680; }
.purpose-overview { display:flex;align-items:center;gap:14px;margin:2px 17px 12px;padding:12px;border:1px solid #edf1e9;border-radius:11px;background:#fafbf8; }
.target-ring { width:68px;height:68px;flex:0 0 68px;display:grid;place-items:center;position:relative;border-radius:50%; }
.target-ring::before { content:'';position:absolute;width:51px;height:51px;border-radius:50%;background:#fff; }
.target-ring span { position:relative;color:#39533d;font-size:14px;font-weight:780; }
.purpose-overview-copy { min-width:0;display:flex;flex-direction:column;gap:4px; }
.purpose-overview-copy span { color:#849087;font-size:8px; }
.purpose-overview-copy strong { color:#385041;font-size:14px;font-weight:730; }
.purpose-overview-copy small { color:#9ba49d;font-size:8px; }
.purpose-list { padding:0 17px 13px; }
.purpose-row { padding:10px 0;border-top:1px solid #f0f2ef; }
.purpose-row-top { display:flex;align-items:center;gap:8px; }
.purpose-icon { width:26px;height:26px;flex:0 0 26px;display:grid;place-items:center;border-radius:8px;background:#f0f4e7;font-size:12px; }
.purpose-tone-1 { background:#fbf0e8; }
.purpose-tone-2 { background:#eaf3ef; }
.purpose-tone-3 { background:#efedf6; }
.purpose-copy { min-width:0;flex:1; }
.purpose-copy strong { display:block;color:#546158;font-size:9px;font-weight:650; }
.purpose-copy small { display:block;margin-top:2px;color:#a0a9a2;font-size:7px; }
.purpose-amount { color:#42554a;font-size:9px;font-weight:700;white-space:nowrap; }
.purpose-track { height:4px;margin:7px 0 4px 34px;overflow:hidden;border-radius:4px;background:#edf1e9; }
.purpose-track span { display:block;height:100%;border-radius:4px;background:#97b672; }
.purpose-foot { display:flex;justify-content:space-between;gap:5px;margin-left:34px;color:#a0a9a2;font-size:7px; }
.dashboard-analytics-bottom { grid-template-columns:minmax(0,.95fr) minmax(370px,1.05fr);margin-top:15px; }
.monthly-analytics-card { min-height:286px;padding-bottom:11px; }
.monthly-analytics-card .card-header { min-height:52px;padding-bottom:3px; }
.monthly-legend { justify-content:flex-end;gap:10px;padding:0 17px;color:#89948c;font-size:8px; }
.monthly-legend .legend-key { gap:4px; }
.monthly-legend .legend-dot { width:6px;height:6px; }
.legend-dot.legend-loan { background:#d9a56c; }
.legend-dot.legend-repay { background:#77a6a0; }
.legend-dot.legend-expense { background:#c58772; }
.monthly-chart-wrap { height:145px;padding:3px 12px 0; }
.monthly-chart-wrap svg { overflow:visible; }
.monthly-kpis { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:0 17px; }
.monthly-kpis>div { display:flex;flex-direction:column;gap:4px;padding:8px 9px;border-radius:8px;background:#f7f9f5; }
.monthly-kpis span { color:#8e9991;font-size:7px; }
.monthly-kpis strong { overflow:hidden;color:#415448;font-size:9px;font-weight:720;text-overflow:ellipsis;white-space:nowrap; }
.access-user-status { display:flex !important;align-items:center;gap:6px;margin-top:5px; }
.access-user-status .badge { font-size:7px;padding:3px 6px; }
.access-user-status .badge::before { width:4px;height:4px; }
.access-user-status small { color:#98a29a;font-size:7px; }
@media (max-width:980px) {
  .auth-layout { grid-template-columns:minmax(0,.88fr) minmax(390px,1.12fr); }
  .auth-showcase { padding-left:28px;padding-right:28px; }
  .auth-showcase-content h1 { font-size:38px; }
  .dashboard-analytics-grid { grid-template-columns:minmax(0,1.2fr) minmax(270px,.9fr); }
  .dashboard-analytics-bottom { grid-template-columns:1fr; }
}
@media (max-width:760px) {
  .auth-layout { display:block; }
  .auth-showcase { min-height:0;padding:18px 20px 21px; }
  .auth-showcase-top { align-items:flex-start; }
  .auth-secure-pill { margin-top:3px;font-size:7px; }
  .auth-showcase-content { margin:23px auto 0; }
  .auth-kicker { font-size:8px; }
  .auth-showcase-content h1 { margin:9px 0;font-size:29px;letter-spacing:-1.1px; }
  .auth-showcase-content>p { font-size:10px;line-height:1.55; }
  .auth-goal-chips { gap:6px;margin-top:13px; }
  .auth-goal-chips span { padding:7px 8px;font-size:8px; }
  .auth-mini-analytics { display:none; }
  .auth-showcase-footer { display:none; }
  .auth-panel { min-height:0;padding:22px 15px 15px; }
  .auth-mobile-brand { display:none; }
  .auth-card { width:min(100%,450px);padding:23px 20px;border-radius:15px; }
  .auth-card h2 { font-size:21px; }
  .auth-panel-footer { margin-top:12px; }
  .dashboard-analytics-grid,.dashboard-analytics-bottom { grid-template-columns:1fr; }
  .group-analytics-card,.purpose-analytics-card { min-height:0; }
  .dashboard-analytics-bottom { margin-top:12px; }
}
@media (max-width:520px) {
  .auth-showcase { padding:15px 15px 18px; }
  .auth-showcase-top { gap:6px; }
  .auth-brand-mark { width:31px;height:31px;border-radius:9px; }
  .auth-brand-mark svg { width:18px;height:18px; }
  .auth-brand strong { font-size:18px; }
  .auth-secure-pill { padding:6px 7px;font-size:6px;letter-spacing:.3px; }
  .auth-showcase-content h1 { font-size:25px; }
  .auth-panel { padding:16px 11px 13px; }
  .auth-card { padding:20px 17px; }
  .analytics-group-row { grid-template-columns:minmax(110px,1fr) minmax(88px,.78fr) 57px;gap:6px;min-height:43px; }
  .analytics-group-list { padding:0 10px; }
  .analytics-group-info { gap:6px; }
  .analytics-group-info .group-initial { width:23px;height:23px;flex-basis:23px; }
  .analytics-group-copy strong { font-size:8px; }
  .analytics-group-copy small { font-size:6px; }
  .analytics-group-values { font-size:7px; }
  .analytics-group-values strong { font-size:8px; }
  .analytics-group-target { font-size:7px; }
  .analytics-card-foot { margin-left:10px;margin-right:10px;flex-direction:column; }
  .purpose-overview { margin-left:10px;margin-right:10px; }
  .purpose-list { padding-left:10px;padding-right:10px; }
  .dashboard-analytics-bottom { grid-template-columns:minmax(0,1fr); }
  .monthly-analytics-card .card-header { flex-wrap:wrap; }
  .monthly-analytics-card .select-mini { min-width:100px; }
  .monthly-legend { justify-content:flex-start;flex-wrap:wrap;padding:0 12px; }
  .monthly-chart-wrap { padding-left:4px;padding-right:4px; }
  .monthly-kpis { margin:0 11px;gap:5px; }
  .monthly-kpis>div { padding:7px 6px; }
  .monthly-kpis strong { font-size:8px; }
}
