@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&family=Manrope:wght@400;500;600;650;700;750;800&display=swap");
:root {
  font-family: "DM Sans", "Segoe UI", sans-serif;
  color: #24362f;
  background: #f7f8f5;
  font-synthesis: none;
  --green: #235746;
  --deep: #153d34;
  --mint: #eaf2ec;
  --gold: #bc8d46;
  --border: #e6e9e2;
  --muted: #7c877f;
  --red: #ac4b40;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
a {
  color: inherit;
  text-decoration: none;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid #8ebda7;
  outline-offset: 3px;
}
button {
  color: inherit;
}
h1,
h2,
h3,
h4,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-family: "Manrope", "Segoe UI", sans-serif;
}
h1 {
  font-size: 29px;
  letter-spacing: -1px;
  font-weight: 750;
  line-height: 1.3;
}
h2 {
  font-size: 16px;
  letter-spacing: -0.35px;
  font-weight: 750;
}
h3 {
  font-size: 15px;
}
small {
  font-size: 11px;
}
svg {
  flex-shrink: 0;
}
input,
select,
textarea {
  width: 100%;
  min-height: 42px;
  border: 1px solid #dfe5dd;
  background: white;
  border-radius: 7px;
  padding: 10px 12px;
  color: #263b31;
  outline: none;
  font-size: 13px;
}
input:focus,
select:focus,
textarea:focus {
  border-color: #7fa58f;
  box-shadow: 0 0 0 3px #2357460c;
}
input::placeholder,
textarea::placeholder {
  color: #9aa198;
}
textarea {
  min-height: 82px;
  resize: vertical;
}
select {
  padding-right: 24px;
}
button {
  border: 0;
  background: transparent;
}
input[type="checkbox"] {
  width: 16px;
  min-height: 16px;
  height: 16px;
  accent-color: var(--green);
  flex-shrink: 0;
}
button svg {
  vertical-align: middle;
}
[data-install-app][hidden] {
  display: none !important;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 7px;
  min-height: 41px;
  padding: 10px 16px;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.4;
  white-space: nowrap;
  border: 1px solid transparent;
  transition:
    background 0.18s,
    transform 0.18s;
}
.button:active {
  transform: translateY(1px);
}
.primary {
  color: white;
  background: var(--green);
  box-shadow: 0 2px 3px #1234210c;
}
.primary:hover {
  background: #194735;
}
.secondary {
  border-color: #dfe5dd;
  background: #fff;
}
.secondary:hover {
  background: #f3f6f0;
}
.full {
  width: 100%;
}
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  padding: 7px;
  color: #718077;
}
.icon-button:hover {
  background: #eaf0e7;
  color: var(--green);
}
.text-link {
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--green);
  font-weight: 650;
  padding: 0;
}
.text-link:hover {
  text-decoration: underline;
}
.danger-text {
  color: var(--red);
}
.muted {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}
.mono {
  font-family: ui-monospace, Consolas, monospace;
  font-size: 12px;
}
.right {
  text-align: right !important;
}
.positive {
  color: var(--green);
}
.badge {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  padding: 5px 9px;
  background: #f0f2ed;
  color: #6d786d;
  border-radius: 5px;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.2;
  text-transform: capitalize;
}
.badge.green {
  background: #e9f3e9;
  color: #42724a;
}
.badge.gold {
  background: #faf1dd;
  color: #937337;
}
.badge.blue {
  background: #edf1fa;
  color: #60759b;
}
.badge.red {
  background: #fbece9;
  color: #aa4f45;
}
.small-text {
  font-size: 11px;
}
.eyebrow {
  font-size: 9px;
  letter-spacing: 1.7px;
  font-weight: 700;
  color: #8a978d;
  margin-bottom: 9px;
}
.avatar {
  height: 34px;
  width: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #f0f0e6;
  color: #7b8167;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}
.avatar.small {
  width: 30px;
  height: 30px;
  background: #dde9dc;
  color: #536e54;
}
.avatar.large {
  width: 64px;
  height: 64px;
  background: #e9f0e5;
  font-size: 21px;
}
.brand-mark {
  width: 38px;
  height: 38px;
  background: var(--deep);
  color: #edeeda;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.app-shell {
  min-height: 100vh;
}
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 248px;
  background: #fff;
  border-right: 1px solid var(--border);
  padding: 28px 20px 18px;
  z-index: 30;
  display: flex;
  flex-direction: column;
  overflow: auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 8px;
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  font-size: 23px;
  letter-spacing: -0.6px;
}
.brand span {
  display: block;
  font-family: "DM Sans", sans-serif;
  font-size: 7px;
  letter-spacing: 1.4px;
  margin-top: 3px;
  color: #7e8a7c;
}
.workspace-card {
  margin-top: 29px;
  margin-bottom: 29px;
  background: #f8f9f5;
  border: 1px solid #e9ece3;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 9px;
  font-size: 11px;
}
.workspace-card > div:nth-child(2) {
  flex: 1;
  min-width: 0;
}
.workspace-card strong {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.workspace-card span {
  display: block;
  font-size: 9px;
  color: #8c978a;
  margin-top: 5px;
}
.workspace-card svg {
  color: #93a28c;
}
.workspace-avatar {
  width: 31px;
  height: 33px;
  border: 1px solid #dce4d4;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  color: #577048;
  font-weight: 700;
}
.nav-caption {
  font-size: 8px;
  letter-spacing: 1.6px;
  color: #a0a899;
  font-weight: 700;
  padding-left: 14px;
  margin-bottom: 10px;
}
.sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.sidebar nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 13px;
  border-radius: 7px;
  color: #718074;
  font-size: 11px;
  font-weight: 500;
}
.sidebar nav a svg {
  stroke-width: 1.65;
}
.sidebar nav a:hover {
  background: #f8faf5;
}
.sidebar nav a.active {
  background: #eaf1e8;
  color: #31543d;
  font-weight: 700;
}
.sidebar nav a.active svg {
  stroke-width: 2;
}
.sidebar nav a small {
  margin-left: auto;
  font-size: 9px;
  color: #78866d;
  background: #f1f3ee;
  min-width: 19px;
  border-radius: 4px;
  text-align: center;
  padding: 3px;
}
.sidebar-bottom {
  margin-top: auto;
  padding-top: 32px;
}
.public-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  padding: 12px 9px;
  color: #6b7e6c;
}
.public-link > span {
  margin-left: auto;
}
.help-card {
  margin-top: 15px;
  background: #f7f7f0;
  border: 1px solid #eeeee0;
  padding: 14px 11px;
  border-radius: 8px;
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: #8c9172;
}
.help-card strong {
  font-size: 10px;
  color: #656f54;
  line-height: 1.6;
  display: block;
}
.help-card p {
  font-size: 9px;
  line-height: 1.8;
  color: #969b84;
  margin-top: 3px;
}
.admin-card {
  margin-top: 22px;
  border-top: 1px solid var(--border);
  padding: 20px 4px 0;
  display: flex;
  gap: 9px;
  align-items: center;
}
.admin-card > div:nth-child(2) {
  flex: 1;
}
.admin-card strong {
  font-size: 10px;
  display: block;
}
.admin-card span {
  font-size: 9px;
  display: block;
  color: #89937f;
  margin-top: 5px;
}
.workspace {
  margin-left: 248px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.topbar {
  height: 69px;
  border-bottom: 1px solid var(--border);
  background: #fdfefb;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 34px;
  font-size: 10px;
  color: #879080;
}
.topbar > div {
  display: flex;
  align-items: center;
  gap: 12px;
}
.topbar-context {
  color: #677464;
}
.topbar-context span {
  margin: 0 10px;
  color: #bdc4b6;
}
.topbar-right {
  gap: 9px !important;
}
.topbar-right > .avatar {
  margin-left: 12px;
}
.live-dot {
  height: 6px;
  width: 6px;
  border-radius: 50%;
  display: inline-block;
  background: #82a36e;
}
.demo-banner {
  background: #f1f3e8;
  border-bottom: 1px solid #e5e8dc;
  padding: 7px 35px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: #7b836b;
  font-size: 9px;
}
.demo-banner > span {
  font-size: 7px;
  letter-spacing: 0.9px;
  border: 1px solid #ccd4b8;
  padding: 2px 4px;
  border-radius: 3px;
}
.demo-banner > a {
  margin-left: auto;
  display: flex;
  gap: 5px;
  align-items: center;
  color: #667750;
}
.main {
  padding: 34px 35px 30px;
  max-width: 1660px;
  width: 100%;
  margin: 0 auto;
  flex: 1;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 27px;
}
.page-heading p {
  margin-top: 9px;
  font-size: 11px;
  color: #899180;
  line-height: 1.6;
}
.heading-action {
  display: flex;
  gap: 9px;
  align-items: center;
}
.date-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  white-space: nowrap;
  padding: 10px 13px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: #74806c;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
  margin-bottom: 25px;
}
.stat {
  background: white;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px 19px;
  min-width: 0;
  box-shadow: 0 2px 3px #213a1c02;
}
.stat-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10px;
  font-weight: 500;
  color: #7c8976;
  gap: 10px;
}
.stat-icon {
  color: #8b9e7f;
  background: #f5f7ef;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 7px;
}
.stat-icon svg {
  width: 17px;
  height: 17px;
  stroke-width: 1.6;
}
.stat > strong {
  font-family: "Manrope", sans-serif;
  font-size: 25px;
  letter-spacing: -0.8px;
  display: block;
  margin: 13px 0 12px;
  font-weight: 750;
}
.stat-detail {
  font-size: 9px;
  color: #98a18f;
}
.stat.featured {
  background: var(--deep);
  color: #fafcf5;
  border-color: var(--deep);
  position: relative;
  overflow: hidden;
}
.stat.featured:after {
  content: "";
  position: absolute;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  border: 1px solid #ffffff07;
  right: -56px;
  bottom: -93px;
  box-shadow:
    0 0 0 24px #ffffff03,
    0 0 0 48px #ffffff02;
  pointer-events: none;
}
.featured .stat-top {
  color: #b2c4b7;
}
.featured .stat-icon {
  background: #ffffff0b;
  color: #c2d1be;
}
.featured .stat-detail {
  color: #95b59f;
}
.panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 22px;
  box-shadow: 0 2px 3px #20301b02;
}
.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 23px 23px 18px;
  gap: 10px;
}
.panel-heading p {
  font-size: 10px;
  color: #939d8a;
  margin-top: 6px;
  line-height: 1.6;
}
.panel-heading > svg {
  color: #c5d6c8;
}
.panel-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  background: #fdfefb;
  border-top: 1px solid #eff1e9;
  padding: 14px 23px;
  font-size: 9px;
  color: #a0a894;
}
.panel-footer a {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #587447;
  font-weight: 650;
}
.panel-body {
  padding: 22px;
}
.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(285px, 1fr);
  gap: 22px;
}
.collection-panel {
  min-width: 0;
}
.progress-overview {
  padding: 4px 25px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}
.progress-overview > div > strong {
  font-size: 25px;
  font-family: "Manrope", sans-serif;
  display: block;
  margin: 8px 0 12px;
  letter-spacing: -0.8px;
}
.progress-overview strong small {
  color: #a4ac9c;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0;
}
.progress-overview .muted {
  font-size: 10px;
}
.mini-good {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 9px;
  color: #789765;
}
.ring {
  width: 97px;
  height: 97px;
  border-radius: 50%;
  padding: 8px;
  flex-shrink: 0;
}
.ring > div {
  width: 100%;
  height: 100%;
  background: white;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.ring strong {
  font-family: "Manrope", sans-serif;
  font-size: 23px;
  font-weight: 750;
  letter-spacing: -0.5px;
}
.ring span {
  font-size: 8px;
  color: #9aa390;
  margin-top: 3px;
}
.fund-progress-list {
  padding: 0 24px 20px;
  min-height: 115px;
}
.fund-progress {
  margin-bottom: 18px;
}
.fund-progress > div:first-child {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  gap: 8px;
  margin-bottom: 10px;
}
.fund-progress > div:first-child > span:first-child {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #65765b;
}
.fund-progress > div:first-child > span:last-child {
  font-size: 9px;
  font-weight: 550;
}
.fund-progress small {
  font-size: 9px;
  color: #9da793;
  font-weight: 400;
}
.color-dot {
  display: inline-block;
  height: 6px;
  width: 6px;
  border-radius: 2px;
  background: #3e6b4e;
  flex-shrink: 0;
}
.color-dot.gold {
  background: #c0a773;
}
.bar {
  height: 6px;
  background: #f1f3ec;
  border-radius: 10px;
  overflow: hidden;
}
.bar i {
  display: block;
  height: 100%;
  background: #527b57;
  border-radius: 10px;
}
.bar i.gold {
  background: #c5ae7a;
}
.balance-panel {
  background: #f0f2e7;
  border: 1px solid #e1e6d2;
  border-radius: 10px;
  margin-bottom: 22px;
  padding-bottom: 20px;
}
.balance-panel .panel-heading {
  padding-bottom: 19px;
}
.balance-panel .panel-heading p {
  color: #909f7e;
}
.balance-panel .panel-heading > svg {
  color: #87977a;
}
.wallet-row {
  margin: 0 23px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 0;
  border-bottom: 1px solid #dce2d0;
}
.wallet-icon {
  border: 1px solid #d5dfc9;
  width: 39px;
  height: 39px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f7ec;
  color: #829c6d;
}
.wallet-icon svg {
  stroke-width: 1.6;
}
.wallet-row > div:nth-child(2) {
  flex: 1;
}
.wallet-row span {
  font-size: 9px;
  color: #8b997c;
  display: block;
}
.wallet-row strong {
  font-size: 18px;
  font-family: "Manrope", sans-serif;
  display: block;
  margin-top: 5px;
  letter-spacing: -0.4px;
}
.wallet-row .wallet-status {
  width: 5px;
  height: 5px;
  background: #98ac7f;
  border-radius: 50%;
}
.balance-flow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 20px 24px 17px;
}
.balance-flow > div {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px;
  align-items: center;
  color: #8b9c7c;
  font-size: 9px;
}
.balance-flow > div + div {
  border-left: 1px solid #dce3d0;
  padding-left: 17px;
}
.balance-flow strong {
  grid-column: 2;
  font-size: 12px;
  font-weight: 650;
  color: #697f58;
}
.balance-link {
  display: flex;
  margin: 0 22px;
  background: #e6ebda;
  color: #597446;
  border: 1px solid #d9e2cc;
  font-size: 10px;
  min-height: 35px;
  padding: 8px 12px;
  justify-content: space-between;
}
.table-wrap {
  overflow: auto;
  width: 100%;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11px;
  text-align: left;
  white-space: nowrap;
}
th {
  background: #fafbf7;
  border-top: 1px solid #eff1e9;
  border-bottom: 1px solid #eff1e9;
  color: #9ca68f;
  font-size: 8px;
  letter-spacing: 0.65px;
  font-weight: 550;
  padding: 12px 23px;
}
td {
  padding: 15px 23px;
  border-bottom: 1px solid #f0f2ec;
  color: #6d7b63;
  line-height: 1.5;
}
tr:last-child td {
  border-bottom: 0;
}
tbody tr:hover {
  background: #fdfefb;
}
td strong {
  font-size: 11px;
  font-weight: 600;
  color: #566b4b;
}
td small {
  display: block;
  font-size: 9px;
  color: #a4ad99;
  margin-top: 3px;
}
.record-id {
  color: #57754c;
  font-weight: 600;
  font-size: 10px;
}
.record-id:hover {
  text-decoration: underline;
}
.person {
  display: flex;
  align-items: center;
  gap: 10px;
}
.person strong {
  display: block;
}
.person .avatar {
  background: #f0f0e5;
  color: #8c8c68;
}
.person > div {
  min-width: 0;
}
.amount {
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  font-size: 11px;
  color: #47613d;
}
.row-arrow {
  color: #a2ad95;
  padding: 4px;
}
.app-footer {
  padding: 0 35px 22px;
  display: flex;
  justify-content: space-between;
  color: #a7b09b;
  font-size: 8px;
  gap: 15px;
}
.app-footer > span:first-child {
  display: flex;
  align-items: center;
  gap: 5px;
}
.floating-payment {
  display: none;
}
.mobile-menu,
.mobile-close {
  display: none;
}
.assessment-alert {
  display: flex;
  align-items: center;
  gap: 13px;
  border: 1px solid #e6e4cb;
  border-radius: 8px;
  background: #fbfaec;
  padding: 15px 18px;
  margin-bottom: 23px;
  color: #8a8059;
}
.assessment-alert strong {
  font-size: 11px;
  font-weight: 600;
}
.assessment-alert p {
  font-size: 10px;
  margin-top: 4px;
  color: #a09976;
}
.assessment-alert a {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  white-space: nowrap;
}
.notice-icon {
  padding: 7px;
  background: #f2edd1;
  border-radius: 6px;
}
.toolbar {
  padding: 17px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.toolbar > select {
  width: auto;
  min-width: 130px;
}
.filters {
  display: flex;
  align-items: center;
  gap: 10px;
}
.filters select {
  width: auto;
  font-size: 11px;
  max-width: 200px;
}
.search-input {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 0 11px;
  min-width: 220px;
  background: #fff;
  color: #9aab8c;
}
.search-input input {
  border: 0;
  box-shadow: none;
  padding: 10px 0;
  font-size: 11px;
  min-height: 38px;
}
.tabs {
  display: flex;
  align-items: center;
  gap: 22px;
}
.tabs button {
  font-size: 12px;
  color: #8c9880;
  font-weight: 500;
  padding: 10px 0 13px;
  border-bottom: 2px solid transparent;
  display: flex;
  gap: 6px;
  align-items: center;
  white-space: nowrap;
}
.tabs button.active {
  color: #3e673e;
  border-color: #497544;
  font-weight: 650;
}
.tabs span {
  background: #f2f4ed;
  padding: 2px 5px;
  border-radius: 4px;
  font-size: 9px;
}
.page-tabs {
  margin-bottom: 22px;
  border-bottom: 1px solid var(--border);
}
.pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 22px;
  border-top: 1px solid var(--border);
  font-size: 9px;
  color: #97a089;
}
.pagination > div {
  display: flex;
  align-items: center;
  gap: 13px;
}
.directory-summary {
  display: flex;
  gap: 35px;
  margin: 5px 0 27px;
}
.directory-summary > div {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: #929c86;
}
.directory-summary strong {
  color: #57774a;
  font-size: 17px;
}
.directory-summary svg {
  width: 17px;
  color: #9aaa8e;
}
.record-button {
  text-align: left;
  padding: 0;
}
.record-button:hover strong {
  color: var(--green);
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  color: #607453;
  margin-bottom: 17px;
  min-width: 0;
}
.field > small {
  color: #96a08c;
  line-height: 1.5;
  font-size: 10px;
  font-weight: 400;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 18px;
}
.check {
  font-size: 12px;
  display: flex;
  gap: 8px;
  align-items: center;
  color: #748268;
  margin: 15px 0;
  line-height: 1.6;
}
.form-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 22px;
  padding-top: 17px;
  border-top: 1px solid #e8ecdf;
}
.form-content {
  display: flex;
  flex-direction: column;
}
.hint-box {
  background: #f3f6ed;
  border: 1px solid #e5eadc;
  border-radius: 7px;
  padding: 13px 15px;
  color: #829171;
  font-size: 11px;
  line-height: 1.7;
  margin-top: 17px;
}
.hint-box.amber {
  background: #fff7e7;
  color: #a08448;
  border-color: #f0e6cd;
}
.hint-box p {
  margin: 7px 0;
}
.alert {
  padding: 13px 16px;
  font-size: 12px;
  line-height: 1.7;
  border-radius: 7px;
  margin-bottom: 18px;
}
.alert.danger {
  background: #fcefe9;
  border: 1px solid #f1d9cf;
  color: #b36451;
}
.form-content > .alert {
  margin-top: 12px;
  margin-bottom: 0;
}
.empty {
  padding: 45px 20px;
  text-align: center;
  color: #93a086;
}
.empty-icon {
  font-size: 28px;
  color: #a8bb96;
  margin-bottom: 14px;
}
.empty h3 {
  font-size: 15px;
  color: #748367;
}
.empty p {
  font-size: 12px;
  margin: 8px 0 16px;
  line-height: 1.6;
}
.empty a {
  font-size: 12px;
  color: var(--green);
}
dialog {
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 24px 100px #09251725;
  padding: 0;
  width: min(510px, calc(100vw - 32px));
  max-height: 90vh;
  color: #283b2a;
  background: #fff;
}
dialog.wide {
  width: min(720px, calc(100vw - 32px));
}
dialog::backdrop {
  background: #132d2555;
  backdrop-filter: blur(3px);
}
.dialog-head {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  background: white;
  z-index: 2;
}
.dialog-head h2 {
  font-size: 18px;
}
.dialog-content {
  padding: 22px 24px 24px;
}
.dialog-content > p {
  font-size: 13px;
  color: #819172;
  line-height: 1.7;
  margin-bottom: 12px;
}
.profile-heading {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border);
}
.profile-heading > div:nth-child(2) {
  flex: 1;
}
.profile-heading h2 {
  font-size: 22px;
  margin-bottom: 8px;
}
.profile-heading span {
  font-size: 11px;
  color: #93a084;
}
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin: 25px 0;
}
.detail-grid span {
  display: block;
  font-size: 10px;
  color: #9da88d;
  margin-bottom: 7px;
}
.detail-grid strong {
  font-size: 12px;
  font-weight: 550;
  color: #657b53;
}
.timeline {
  font-size: 12px;
  color: #7c8e69;
  margin-top: 15px;
}
.timeline > div {
  padding: 13px;
  border-left: 2px solid #dce8cc;
  display: flex;
  gap: 17px;
}
.timeline span {
  font-size: 10px;
  color: #a0aa92;
}
.timeline strong {
  font-weight: 500;
}
.fund-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.fund-card {
  padding: 22px;
  margin: 0;
}
.fund-card-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 21px;
}
.fund-card-top > .badge {
  margin-left: auto;
}
.fund-icon {
  color: #7d9665;
  background: #f0f5e8;
  padding: 11px;
  border-radius: 10px;
  display: flex;
}
.fund-card h2 {
  font-size: 17px;
}
.fund-card > p {
  font-size: 11px;
  color: #9ba58c;
  margin-top: 7px;
  text-transform: capitalize;
}
.fund-card > p span {
  margin: 0 6px;
}
.fund-price {
  font-size: 23px;
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  color: #456539;
  margin: 25px 0;
}
.fund-price small {
  display: block;
  font-size: 9px;
  font-family: "DM Sans", sans-serif;
  font-weight: 400;
  color: #a0aa90;
  margin-top: 6px;
}
.fund-card-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--border);
  padding: 18px 0;
}
.fund-card-summary span {
  display: block;
  font-size: 9px;
  color: #9fab8f;
  margin-bottom: 7px;
}
.fund-card-summary strong {
  font-size: 13px;
  color: #607b50;
}
.voluntary-note {
  font-size: 10px;
  padding: 12px 0;
  line-height: 1.6;
  color: #a1ac92;
}
.generation-preview {
  text-align: center;
  background: #f6f8f1;
  padding: 22px;
  border-radius: 8px;
  color: #859675;
  margin: 20px 0;
}
.generation-preview strong {
  font-size: 36px;
  display: block;
  color: var(--green);
}
.generation-preview > span {
  font-size: 12px;
  display: block;
  margin: 6px;
}
.generation-preview p {
  font-size: 11px;
  line-height: 1.7;
  margin-top: 10px;
}
.preview-list > div {
  font-size: 11px;
  padding: 10px 3px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.preview-list small {
  color: #93a281;
  overflow-wrap: anywhere;
}
.payment-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 24px;
}
.form-panel {
  padding: 25px;
}
.section-step {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}
.section-step > span {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eff4e8;
  color: #86a170;
  border: 1px solid #e2ead8;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 650;
}
.section-step p {
  font-size: 11px;
  color: #a0aa90;
  margin-top: 5px;
}
.segmented {
  display: flex;
  border-radius: 7px;
  background: #f2f5ed;
  padding: 4px;
  margin: 5px 0 22px;
  gap: 4px;
}
.segmented > button {
  flex: 1;
  padding: 10px 8px;
  border-radius: 5px;
  font-size: 11px;
  color: #8c9a7c;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.segmented > button.active {
  background: #fff;
  box-shadow: 0 1px 5px #27391909;
  color: #4b6e3e;
  font-weight: 600;
}
.payer-info {
  padding: 14px;
  background: #f7f8f2;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  color: #97a687;
}
.payer-info strong {
  font-size: 14px;
  margin-left: auto;
  color: #5d7e4b;
}
.payer-info .badge {
  margin-left: 8px;
}
.payment-line {
  border-bottom: 1px dashed #e2e8d8;
  margin-bottom: 20px;
  padding-bottom: 3px;
}
.line-remove {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-bottom: 15px;
}
.payment-summary {
  padding: 25px;
  align-self: start;
  position: sticky;
  top: 20px;
}
.receipt-summary-icon {
  background: #f2f5ea;
  display: inline-flex;
  padding: 13px;
  border-radius: 11px;
  color: #83a06e;
  margin-bottom: 16px;
}
.payment-summary h2 {
  font-size: 20px;
}
.payment-summary > p {
  font-size: 11px;
  color: #9fa98f;
  margin-top: 6px;
}
.summary-payer {
  font-size: 14px;
  font-weight: 650;
  padding: 24px 0 18px;
  margin-top: 13px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.summary-payer small {
  display: block;
  font-size: 10px;
  margin-top: 7px;
  color: #a4ad98;
  font-weight: 400;
}
.summary-lines {
  padding: 20px 0;
}
.summary-lines > div {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 15px;
  font-size: 11px;
  margin-bottom: 16px;
  color: #80966d;
}
.summary-lines small {
  display: block;
  font-size: 9px;
  margin-top: 5px;
  color: #a7b497;
}
.summary-lines strong {
  font-size: 11px;
  white-space: nowrap;
  color: #5d794d;
}
.summary-total {
  border-top: 1px dashed #d9e1ce;
  padding: 20px 0;
  margin-bottom: 10px;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #839572;
}
.summary-total strong {
  font-size: 23px;
  letter-spacing: -0.8px;
  font-family: "Manrope", sans-serif;
  color: #406331;
}
.summary-change {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  margin-bottom: 20px;
  color: #94a483;
}
.secure-note {
  display: flex;
  gap: 7px;
  align-items: center;
  font-size: 9px;
  color: #a6b399;
  line-height: 1.6;
  margin-top: 15px;
}
.back-link {
  font-size: 11px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #8f9e80;
  margin-bottom: 20px;
}
.wallet-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 25px;
}
.wallet-card {
  padding: 22px;
  margin: 0;
}
.wallet-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #7a9767;
  margin-bottom: 22px;
}
.wallet-card > span {
  font-size: 12px;
  color: #8f9f7e;
  display: block;
}
.wallet-card > strong {
  font-family: "Manrope", sans-serif;
  font-size: 27px;
  color: #4a6a3a;
  display: block;
  margin: 10px 0;
}
.wallet-card > small {
  color: #a1ae92;
  font-size: 9px;
}
.add-wallet {
  border: 1px dashed #ccd8bc;
  min-height: 180px;
  border-radius: 9px;
  color: #97ab84;
  font-size: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: #f4f7ee;
}
.report-filters {
  padding: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 15px;
}
.report-filters label {
  font-size: 10px;
  color: #8c9e7a;
}
.report-filters input,
.report-filters select {
  margin-top: 7px;
  font-size: 11px;
}
.report-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 22px;
}
.sub-chart {
  padding: 5px 24px 22px;
}
.sub-chart > div {
  display: grid;
  grid-template-columns: 110px 1fr 85px;
  align-items: center;
  gap: 14px;
  margin: 19px 0;
  font-size: 10px;
  color: #899e76;
}
.sub-chart strong {
  text-align: right;
  font-size: 10px;
  color: #6f895b;
}
.sub-chart .bar {
  height: 9px;
}
.fund-report {
  padding: 0 23px;
}
.fund-report > div {
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: #729060;
}
.fund-report small {
  display: block;
  font-size: 9px;
  color: #a3b393;
  margin-top: 7px;
}
.report-grid .hint-box {
  margin: 20px;
}
.table-note {
  font-size: 10px;
  color: #9dac8b;
  margin: 0 23px 18px;
}
.settings-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 22px;
}
.settings-divider {
  height: 1px;
  background: var(--border);
  margin: 18px 0 23px;
}
.settings-grid h3 {
  margin-bottom: 10px;
}
.sub-list {
  padding: 0 22px 18px;
}
.sub-list > div {
  display: flex;
  gap: 13px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #eef2e7;
}
.sub-list > div:last-child {
  border: 0;
}
.sub-list strong {
  flex: 1;
  font-size: 11px;
  font-weight: 500;
  color: #6c845b;
}
.sub-number {
  font-size: 9px;
  color: #a5b498;
  background: #f4f7ed;
  border-radius: 5px;
  padding: 5px;
}
.connection-card {
  padding: 24px;
  color: #84a46e;
}
.connection-card h2 {
  margin: 16px 0 10px;
}
.connection-card > p {
  font-size: 11px;
  line-height: 1.8;
  color: #98ac87;
}
.setup-check {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  margin-top: 12px;
  color: #8ca877;
}
.connection-card > a {
  margin: 20px 0;
}
.connection-card > .button {
  margin-top: 18px;
}
.import-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 22px;
}
.template-link {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.upload-zone {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  gap: 13px;
  width: 100%;
  border: 1px dashed #cad9bd;
  border-radius: 9px;
  min-height: 158px;
  background: #f9fbf5;
  color: #97b181;
  margin: 16px 0 22px;
}
.upload-zone strong {
  font-size: 12px;
  color: #7d9868;
}
.upload-zone span {
  font-size: 10px;
  color: #a4b796;
}
.mapping-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 15px;
  margin-top: 18px;
}
.validation-errors {
  background: #fff6ee;
  border-radius: 6px;
  padding: 15px;
  font-size: 11px;
  color: #b88b6b;
  margin-top: 14px;
  max-height: 250px;
  overflow: auto;
  line-height: 1.8;
}
.backup-card {
  padding: 25px;
  background: #f1f5e9;
}
.backup-icon {
  margin-bottom: 17px;
  color: #8ba776;
}
.backup-card > p {
  font-size: 11px;
  line-height: 1.8;
  color: #99a988;
  margin: 12px 0 20px;
}
.backup-date {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: #8a9b78;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid #dce5cd;
}
.backup-date strong {
  color: #729060;
  font-weight: 500;
}
.import-order {
  padding-left: 18px;
  font-size: 11px;
  color: #92a580;
  line-height: 2.6;
}
.toast {
  position: fixed;
  bottom: 24px;
  left: calc(50% + 100px);
  transform: translateX(-50%);
  background: #244a35;
  color: #edf6e6;
  box-shadow: 0 6px 30px #162e2420;
  padding: 14px 21px;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 8px;
  z-index: 100;
  max-width: 80vw;
}
.loading {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  color: #9bb486;
  font-size: 13px;
}
.spinner {
  width: 28px;
  height: 28px;
  border: 2px solid #e1ead7;
  border-top-color: #6c9760;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.setup-card {
  text-align: center;
  max-width: 600px;
  margin: 80px auto;
  color: #7e9b6a;
}
.setup-card h1 {
  margin: 20px;
}
.setup-card p {
  font-size: 14px;
  line-height: 1.8;
  margin: 20px;
}
.standalone {
  max-width: 980px;
  padding: 40px 25px;
  margin: auto;
}
.print-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 35px;
  gap: 15px;
}
.print-toolbar > div {
  display: flex;
  gap: 10px;
}
.print-toolbar .back-link {
  margin: 0;
}
.receipt-paper {
  background: white;
  width: 397px;
  max-width: 100%;
  margin: 0 auto;
  padding: 26px 28px;
  border: 1px solid #e3e8db;
  box-shadow: 0 8px 40px #19312308;
  color: #314929;
  font-family: "DM Sans", sans-serif;
}
.receipt-brand {
  text-align: center;
}
.receipt-brand img {
  max-width: 55px;
  max-height: 55px;
  margin-bottom: 8px;
}
.receipt-brand h2 {
  font-size: 23px;
  color: #284520;
}
.receipt-brand p {
  font-size: 10px;
  margin-top: 5px;
  color: #8c9d7c;
}
.receipt-caption {
  border-top: 1px solid #dce5d0;
  border-bottom: 1px solid #dce5d0;
  text-align: center;
  font-size: 9px;
  letter-spacing: 2px;
  padding: 10px 0;
  margin: 19px 0;
}
.receipt-meta {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: #789663;
}
.receipt-payer {
  padding: 20px 0;
}
.receipt-payer > small {
  font-size: 8px;
  color: #a3b48e;
  letter-spacing: 1.3px;
}
.receipt-payer > strong {
  display: block;
  font-size: 16px;
  margin: 8px 0;
}
.receipt-payer > p {
  font-size: 10px;
  margin-top: 5px;
  color: #8ca778;
}
.receipt-paper table {
  font-size: 10px;
  white-space: normal;
}
.receipt-paper td,
.receipt-paper th {
  padding: 11px 0;
  background: white;
  color: #79946b;
  font-size: 10px;
  border-color: #e7eddf;
}
.receipt-paper th {
  font-size: 9px;
}
.receipt-paper td:first-child {
  padding-right: 10px;
}
.receipt-paper td small {
  font-size: 8px;
}
.receipt-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f0f5e8;
  padding: 15px 12px;
  margin: 12px -3px 8px;
  font-size: 11px;
}
.receipt-total strong {
  font-size: 20px;
  color: #4b6d3a;
  white-space: nowrap;
}
.receipt-method {
  font-size: 9px;
  color: #9bb187;
  text-align: right;
  margin: 7px 0 20px;
}
.receipt-bottom {
  border-top: 1px dashed #d9e5cd;
  padding-top: 19px;
  display: flex;
  align-items: center;
  gap: 15px;
}
.receipt-bottom strong {
  font-size: 9px;
  font-weight: 550;
  color: #789363;
}
.receipt-bottom p {
  font-size: 8px;
  line-height: 1.8;
  color: #a1b28f;
  margin-top: 5px;
}
.receipt-bottom small {
  font-size: 8px;
  font-weight: 600;
  display: block;
  margin-top: 6px;
  color: #7f9b6b;
}
.void-label {
  color: #b1594c;
  display: inline-block;
  margin-left: 9px;
  letter-spacing: 1px;
}
.print-help {
  text-align: center;
  font-size: 10px;
  color: #98ae83;
  margin: 25px 0;
}
.id-card {
  width: 85.6mm;
  height: 54mm;
  margin: 30px auto;
  background: #fff;
  border: 1px solid #dce4d1;
  border-radius: 10px;
  overflow: hidden;
  color: #4b6c36;
  box-shadow: 0 8px 30px #2342180a;
}
.id-card-brand {
  padding: 14px 18px;
  background: #204937;
  color: #f0f7e5;
  display: flex;
  gap: 10px;
  align-items: center;
}
.id-card-brand strong {
  font-size: 14px;
  display: block;
}
.id-card-brand small {
  font-size: 6px;
  letter-spacing: 1.7px;
  display: block;
  margin-top: 4px;
  color: #b9cfac;
}
.id-card-body {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 17px 17px 12px;
  align-items: center;
}
.id-card-body h2 {
  font-size: 14px;
  max-width: 165px;
}
.id-card-body .mono {
  font-size: 10px;
  display: block;
  margin-top: 7px;
  color: #8fa878;
}
.id-card-body p {
  font-size: 9px;
  line-height: 1.6;
  margin-top: 7px;
  color: #a4b993;
}
.id-card > footer {
  font-size: 7px;
  text-align: center;
  padding: 8px;
  color: #b4c4a4;
  border-top: 1px solid #ecf1e5;
}
.public-app {
  min-height: 100vh;
  background: #f7f8f3;
}
.public-header {
  max-width: 1200px;
  margin: auto;
  padding: 24px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}
.public-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #2a4e37;
}
.public-brand > strong {
  font-family: "Manrope", sans-serif;
  font-size: 18px;
  letter-spacing: -0.5px;
}
.public-brand small {
  display: block;
  font-family: "DM Sans", sans-serif;
  font-size: 7px;
  letter-spacing: 1.8px;
  color: #8eaa78;
  margin-top: 5px;
}
.public-header .button {
  font-size: 11px;
}
.public-hero {
  position: relative;
  background: #163e32;
  padding: 60px max(calc((100vw - 1080px) / 2), 50px) 125px;
  overflow: hidden;
  color: #f5f8e9;
}
.public-kicker {
  font-size: 9px;
  letter-spacing: 2px;
  color: #a9c39a;
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 20px;
}
.public-hero h1 {
  font-size: 56px;
  letter-spacing: -2px;
  line-height: 1.17;
  font-weight: 600;
  position: relative;
  z-index: 1;
}
.public-hero h1 em {
  font-style: normal;
  color: #b9cca0;
}
.public-hero > p {
  font-size: 13px;
  line-height: 1.9;
  color: #97b498;
  margin-top: 24px;
  position: relative;
  z-index: 1;
}
.hero-pattern {
  position: absolute;
  right: 12%;
  top: 15%;
  opacity: 0.09;
  transform: rotate(-10deg);
  color: #e7e9b7;
  border: 1px solid currentColor;
  border-radius: 50%;
  padding: 40px;
}
.lookup-main {
  max-width: 1080px;
  margin: -62px auto 0;
  position: relative;
  padding: 0 20px;
}
.lookup-panel {
  padding: 31px;
  box-shadow: 0 12px 40px #153b2110;
}
.lookup-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 23px;
  gap: 16px;
}
.lookup-heading h2 {
  font-size: 20px;
}
.lookup-heading p {
  font-size: 11px;
  color: #98a986;
  margin-top: 7px;
}
.lookup-panel .segmented {
  max-width: 275px;
  margin-bottom: 20px;
}
.lookup-form {
  display: flex;
  gap: 10px;
}
.lookup-form select {
  width: 150px;
  flex-shrink: 0;
  font-size: 12px;
}
.lookup-form .search-input {
  flex: 1;
  min-width: 0;
}
.lookup-tip {
  font-size: 10px;
  color: #a2b38f;
  margin-top: 14px;
  line-height: 1.6;
}
.search-results {
  margin-top: 25px;
  border-top: 1px solid var(--border);
}
.search-result {
  display: flex;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid #e8efdf;
  padding: 18px 5px;
}
.search-result > div:nth-child(2) {
  flex: 1;
}
.search-result strong {
  font-size: 13px;
  color: #698759;
}
.search-result small {
  display: block;
  font-size: 10px;
  color: #9bb286;
  margin-top: 6px;
}
.search-result > svg {
  color: #98b381;
}
.search-result:hover {
  background: #f9fcf3;
}
.public-features {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  padding: 39px 12px 65px;
}
.public-features svg {
  color: #85a56c;
  width: 25px;
  height: 25px;
  stroke-width: 1.6;
  margin-bottom: 18px;
}
.public-features h3 {
  font-size: 13px;
  color: #698555;
}
.public-features p {
  font-size: 11px;
  line-height: 1.8;
  color: #a0b18e;
  margin-top: 9px;
}
.public-footer {
  max-width: 1080px;
  margin: auto;
  padding: 24px 20px;
  border-top: 1px solid #e3ead9;
  font-size: 10px;
  color: #a0b38d;
  display: flex;
  justify-content: space-between;
  gap: 15px;
}
.public-profile {
  max-width: 1050px;
  padding: 30px 25px 60px;
  margin: auto;
}
.profile-card {
  padding: 27px;
}
.profile-card h1 {
  font-size: 28px;
  margin: 6px 0;
}
.profile-card .detail-grid {
  margin-bottom: 0;
}
.profile-totals {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  margin-bottom: 22px;
}
.profile-totals > div {
  background: #eef3e7;
  padding: 23px 20px;
  border: 1px solid #e3ebd8;
  border-radius: 8px;
}
.profile-totals span {
  font-size: 10px;
  color: #93aa7d;
  display: block;
}
.profile-totals strong {
  font-size: 22px;
  font-family: "Manrope", sans-serif;
  display: block;
  margin-top: 9px;
  color: #587e44;
}
.public-receipts {
  padding: 0 22px 15px;
}
.public-receipts > a {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 17px 0;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: #809d68;
}
.public-receipts > a > div {
  flex: 1;
}
.public-receipts small {
  display: block;
  font-size: 10px;
  color: #a9bc97;
  margin-top: 6px;
}
.scanner-video {
  width: 100%;
  border-radius: 8px;
  background: #172a20;
  min-height: 200px;
}
.login-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px;
  background: radial-gradient(ellipse at top, #eaf1e0, transparent 65%);
}
.login-page > .public-brand {
  margin-bottom: 28px;
}
.login-panel {
  padding: 36px;
  width: 420px;
  max-width: 100%;
}
.login-icon {
  background: #ecf3e2;
  padding: 14px;
  display: inline-flex;
  border-radius: 12px;
  color: #8da978;
  margin-bottom: 25px;
}
.login-panel h1 {
  font-size: 29px;
  color: #476b33;
}
.login-panel > p {
  font-size: 12px;
  color: #9bae88;
  line-height: 1.8;
  margin: 10px 0 24px;
}
.login-panel .back-link {
  display: block;
  text-align: center;
  margin: 25px 0 0;
  font-size: 11px;
}
.login-panel .form-actions .button {
  width: 100%;
}
.login-page > small {
  color: #acbe98;
  font-size: 10px;
}
@media (min-width: 1550px) {
  .main {
    padding-top: 42px;
  }
  h1 {
    font-size: 32px;
  }
  .stat > strong {
    font-size: 29px;
  }
  .sidebar nav a {
    font-size: 12px;
  }
  .dashboard-grid {
    grid-template-columns: 1.75fr 1fr;
  }
  .stat {
    padding: 24px;
  }
  .fund-progress-list {
    padding-top: 8px;
  }
}
@media (max-width: 1250px) {
  .sidebar {
    width: 224px;
    padding-left: 14px;
    padding-right: 14px;
  }
  .workspace {
    margin-left: 224px;
  }
  .main {
    padding: 28px 23px;
  }
  .topbar,
  .demo-banner {
    padding-left: 23px;
    padding-right: 23px;
  }
  .page-heading {
    align-items: flex-start;
  }
  .heading-action {
    flex-wrap: wrap;
    justify-content: flex-end;
  }
  .date-chip {
    display: none;
  }
  h1 {
    font-size: 26px;
  }
  .stat {
    padding: 17px 14px;
  }
  .stat > strong {
    font-size: 22px;
  }
  .stat-detail {
    font-size: 8px;
  }
  .stat-top {
    font-size: 9px;
  }
  .dashboard-grid {
    gap: 15px;
    grid-template-columns: minmax(0, 1.45fr) minmax(270px, 1fr);
  }
  .fund-progress-list {
    padding-left: 20px;
    padding-right: 20px;
  }
  .stats-grid {
    gap: 11px;
  }
  .payment-layout {
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 18px;
  }
  .payment-summary {
    padding: 20px;
  }
  .fund-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .settings-grid,
  .import-grid {
    grid-template-columns: 1.5fr 1fr;
  }
  .sub-chart > div {
    grid-template-columns: 95px 1fr 76px;
    gap: 9px;
  }
  .report-grid {
    grid-template-columns: 1.3fr 1fr;
  }
  .toolbar .filters {
    flex-wrap: wrap;
  }
  .toolbar > .tabs {
    width: 100%;
  }
  .public-hero {
    padding-left: 8%;
    padding-right: 8%;
  }
}
@media (max-width: 1020px) {
  .sidebar {
    width: 200px;
    padding-left: 10px;
    padding-right: 10px;
  }
  .workspace {
    margin-left: 200px;
  }
  .sidebar nav a {
    font-size: 10px;
    gap: 8px;
  }
  .brand {
    font-size: 21px;
  }
  .brand span {
    font-size: 6px;
  }
  .brand-mark {
    width: 34px;
    height: 34px;
  }
  .workspace-card {
    margin-top: 23px;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat > strong {
    font-size: 27px;
  }
  .stat-top {
    font-size: 11px;
  }
  .stat-detail {
    font-size: 10px;
  }
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
  .balance-panel {
    display: none;
  }
  .payment-layout,
  .settings-grid,
  .import-grid {
    grid-template-columns: 1fr;
  }
  .payment-summary {
    position: static;
  }
  .payment-summary .summary-lines {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .wallet-grid {
    grid-template-columns: 1fr 1fr;
  }
  .report-grid {
    grid-template-columns: 1fr;
  }
  .report-filters {
    grid-template-columns: 1fr 1fr;
  }
  .page-heading {
    flex-direction: column;
  }
  .heading-action {
    justify-content: flex-start;
  }
  .directory-summary {
    gap: 20px;
    flex-wrap: wrap;
  }
  .progress-overview {
    padding-right: 35px;
  }
  .fund-progress-list {
    padding: 0 25px 25px;
  }
  .fund-progress {
    margin-top: 10px;
  }
  .demo-banner > a {
    display: none;
  }
  .public-hero h1 {
    font-size: 48px;
  }
}
@media (max-width: 760px) {
  .sidebar {
    transform: translateX(-100%);
    transition: transform 0.2s;
    width: 250px;
    padding: 23px 18px;
  }
  .sidebar.open {
    transform: translateX(0);
  }
  .sidebar-scrim {
    position: fixed;
    inset: 0;
    background: #16312755;
    z-index: 29;
    backdrop-filter: blur(2px);
  }
  .workspace {
    margin: 0;
  }
  .mobile-menu {
    display: flex;
  }
  .mobile-close {
    display: flex;
    position: absolute;
    right: 9px;
    top: 13px;
  }
  .sidebar nav a {
    font-size: 12px;
  }
  .workspace-card {
    margin-top: 25px;
  }
  .brand {
    font-size: 24px;
  }
  .brand span {
    font-size: 7px;
  }
  .main {
    padding: 25px 18px 55px;
  }
  .topbar {
    padding: 0 15px;
    height: 60px;
  }
  .topbar-context {
    font-size: 9px;
  }
  .topbar-context span {
    margin: 0 6px;
  }
  .topbar-right > span:not(.avatar) {
    display: none;
  }
  .demo-banner {
    padding: 8px 17px;
    font-size: 8px;
    line-height: 1.6;
  }
  .page-heading {
    gap: 18px;
    margin-bottom: 23px;
  }
  .page-heading h1 {
    font-size: 27px;
  }
  .page-heading p {
    font-size: 12px;
    max-width: 350px;
  }
  .eyebrow {
    font-size: 8px;
  }
  .heading-action {
    gap: 8px;
  }
  .button {
    font-size: 11px;
  }
  .stats-grid {
    gap: 10px;
    margin-bottom: 20px;
  }
  .stat {
    padding: 17px 14px;
  }
  .stat > strong {
    font-size: 23px;
    margin: 10px 0;
  }
  .stat-detail {
    font-size: 8px;
    line-height: 1.6;
  }
  .stat-top {
    font-size: 10px;
  }
  .stat-icon {
    width: 25px;
    height: 25px;
  }
  .stat-icon svg {
    width: 15px;
    height: 15px;
  }
  .panel-heading {
    padding: 21px 18px 16px;
  }
  .panel-heading h2 {
    font-size: 15px;
  }
  .panel-heading .text-link {
    font-size: 10px;
  }
  .panel-heading p {
    font-size: 10px;
  }
  .progress-overview {
    padding: 4px 20px 23px;
  }
  .progress-overview > div > strong {
    font-size: 24px;
  }
  .progress-overview strong small {
    font-size: 11px;
  }
  .ring {
    width: 80px;
    height: 80px;
    padding: 6px;
  }
  .ring strong {
    font-size: 21px;
  }
  .fund-progress-list {
    padding: 0 20px 16px;
  }
  .panel-footer {
    padding: 14px 18px;
    font-size: 8px;
    line-height: 1.6;
  }
  .fund-progress > div:first-child {
    font-size: 10px;
  }
  .fund-progress small {
    font-size: 8px;
  }
  .assessment-alert {
    padding: 13px;
    font-size: 10px;
    flex-wrap: wrap;
  }
  .assessment-alert a {
    margin-left: 39px;
  }
  .assessment-alert p {
    font-size: 9px;
    line-height: 1.6;
  }
  .assessment-alert strong {
    font-size: 10px;
  }
  .assessment-alert > div:nth-child(2) {
    flex: 1;
  }
  .table-wrap {
    scrollbar-width: thin;
  }
  .table-wrap th,
  .table-wrap td {
    padding-left: 18px;
    padding-right: 18px;
  }
  .app-footer {
    padding: 0 18px 18px;
    font-size: 8px;
  }
  .app-footer > span:last-child {
    display: none;
  }
  .floating-payment {
    position: fixed;
    bottom: 19px;
    right: 18px;
    background: var(--green);
    color: white;
    border-radius: 50%;
    width: 51px;
    height: 51px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 14px #21462d30;
    z-index: 20;
  }
  .floating-payment > svg:first-child {
    display: none;
  }
  .toolbar {
    padding: 15px 17px;
    gap: 14px;
  }
  .toolbar .filters {
    width: 100%;
    gap: 10px;
  }
  .filters .search-input {
    flex: 1;
  }
  .search-input {
    min-width: 160px;
  }
  .filters select {
    max-width: none;
    flex: 1;
  }
  .filters .search-input input {
    font-size: 11px;
  }
  .tabs {
    gap: 22px;
  }
  .directory-summary {
    gap: 15px;
    margin-bottom: 20px;
  }
  .directory-summary > div {
    font-size: 9px;
    gap: 5px;
  }
  .directory-summary strong {
    font-size: 15px;
  }
  .directory-summary > div:last-child {
    display: none;
  }
  .fund-grid {
    grid-template-columns: 1fr;
  }
  .fund-card {
    padding: 23px;
  }
  .form-panel {
    padding: 20px;
  }
  .form-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0 13px;
  }
  .field {
    font-size: 11px;
  }
  input,
  select,
  textarea {
    font-size: 16px;
  }
  .field small {
    font-size: 9px;
  }
  .form-panel select {
    font-size: 12px;
  }
  .section-step h2 {
    font-size: 15px;
  }
  .section-step p {
    font-size: 10px;
  }
  .dialog-content {
    padding: 20px;
  }
  .dialog-head {
    padding: 16px 20px;
  }
  .dialog-head h2 {
    font-size: 17px;
  }
  .dialog-content input,
  .dialog-content select,
  .dialog-content textarea {
    font-size: 14px;
  }
  .form-actions {
    gap: 8px;
    flex-wrap: wrap;
  }
  .payer-info {
    flex-wrap: wrap;
  }
  .payer-info .badge {
    margin-left: 0;
  }
  .wallet-grid {
    gap: 13px;
  }
  .wallet-card {
    padding: 18px;
  }
  .wallet-card > strong {
    font-size: 23px;
  }
  .wallet-card > span {
    font-size: 11px;
  }
  .add-wallet {
    min-height: 110px;
  }
  .report-filters {
    gap: 12px;
    padding: 16px;
  }
  .report-filters input,
  .report-filters select {
    font-size: 12px;
    min-width: 0;
  }
  .sub-chart > div {
    grid-template-columns: 100px 1fr 77px;
    gap: 10px;
  }
  .sub-chart {
    padding: 0 18px 20px;
  }
  .report-grid .hint-box {
    margin: 15px;
  }
  .settings-grid .panel-body {
    padding: 19px;
  }
  .toast {
    left: 50%;
    bottom: 24px;
    max-width: 90vw;
    width: max-content;
    font-size: 11px;
    z-index: 100;
    line-height: 1.5;
  }
  .public-header {
    padding: 18px 20px;
  }
  .public-brand > strong {
    font-size: 15px;
  }
  .public-brand small {
    font-size: 6px;
  }
  .public-header .button {
    font-size: 10px;
    padding: 8px 11px;
    min-height: 35px;
  }
  .public-hero {
    padding: 45px 27px 112px;
  }
  .public-hero h1 {
    font-size: 42px;
    letter-spacing: -1.6px;
  }
  .public-hero > p {
    font-size: 12px;
    max-width: 290px;
  }
  .public-kicker {
    font-size: 8px;
    letter-spacing: 1.6px;
  }
  .hero-pattern {
    right: -90px;
    top: 23%;
    padding: 20px;
  }
  .hero-pattern svg {
    width: 180px;
    height: 180px;
  }
  .lookup-main {
    padding: 0 16px;
  }
  .lookup-panel {
    padding: 23px 18px;
  }
  .lookup-heading {
    align-items: flex-start;
    gap: 12px;
    flex-direction: column;
  }
  .lookup-heading h2 {
    font-size: 19px;
  }
  .lookup-heading p {
    font-size: 11px;
  }
  .lookup-heading .button {
    font-size: 10px;
    min-height: 34px;
    padding: 7px 10px;
  }
  .lookup-form {
    flex-wrap: wrap;
  }
  .lookup-form select {
    width: 100px;
    font-size: 12px;
    padding-left: 9px;
  }
  .lookup-form .search-input {
    width: calc(100% - 110px);
  }
  .lookup-form .button {
    width: 100%;
  }
  .lookup-panel .segmented {
    max-width: none;
  }
  .lookup-tip {
    font-size: 9px;
  }
  .public-features {
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 22px 9px 42px;
  }
  .public-features > div {
    display: grid;
    grid-template-columns: 32px 1fr;
    gap: 3px 13px;
  }
  .public-features svg {
    grid-row: 1/3;
    margin: 0;
  }
  .public-features h3 {
    font-size: 13px;
  }
  .public-features p {
    font-size: 11px;
    margin-top: 4px;
  }
  .public-footer {
    flex-direction: column;
    font-size: 9px;
    padding: 22px;
  }
  .public-profile {
    padding: 22px 16px 45px;
  }
  .profile-card {
    padding: 23px 18px;
  }
  .profile-card h1 {
    font-size: 22px;
  }
  .profile-heading {
    gap: 12px;
    flex-wrap: wrap;
  }
  .profile-heading > .badge {
    margin-left: 75px;
  }
  .avatar.large {
    width: 53px;
    height: 53px;
    font-size: 19px;
  }
  .profile-totals {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .profile-totals > div {
    padding: 20px 17px;
  }
  .profile-totals strong {
    font-size: 23px;
  }
  .detail-grid {
    gap: 20px;
  }
  .detail-grid strong {
    font-size: 11px;
    line-height: 1.6;
  }
  .profile-heading svg {
    width: 60px;
    height: 60px;
  }
  .standalone {
    padding: 25px 15px;
  }
  .receipt-paper {
    padding: 23px 25px;
  }
  .print-toolbar {
    flex-wrap: wrap;
    gap: 12px;
  }
  .print-toolbar .button {
    font-size: 10px;
    padding: 9px 11px;
  }
  .print-toolbar > div {
    gap: 7px;
  }
  .receipt-paper table {
    white-space: normal;
  }
  .receipt-paper th,
  .receipt-paper td {
    padding-left: 0;
    padding-right: 0;
  }
  .login-panel {
    padding: 28px;
  }
  .login-panel h1 {
    font-size: 28px;
  }
  .login-panel .field input {
    font-size: 15px;
  }
  .mapping-grid {
    gap: 0 12px;
  }
  .mapping-grid select {
    font-size: 12px;
  }
  .import-grid .panel-body {
    padding: 18px;
  }
  .import-grid .form-grid {
    grid-template-columns: 1fr;
  }
  .template-link {
    justify-content: flex-start;
    margin-bottom: 8px;
  }
  .desktop-only {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}
@page {
  size: 105mm 148mm;
  margin: 0;
}
@page report {
  size: A4 portrait;
  margin: 12mm;
}
@page card {
  size: 85.6mm 54mm;
  margin: 0;
}
@media print {
  body {
    background: #fff;
    color: #000;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .print-toolbar,
  .print-help,
  .sidebar,
  .topbar,
  .demo-banner,
  .app-footer,
  .heading-action,
  .floating-payment,
  .toast,
  .page-tabs,
  .report-filters,
  .back-link {
    display: none !important;
  }
  .receipt-page {
    margin: 0;
    padding: 0;
    max-width: none;
  }
  .receipt-paper {
    width: 105mm;
    max-width: none;
    min-height: 0;
    border: 0;
    box-shadow: none;
    padding: 5mm;
    break-after: page;
    font-size: 9px;
  }
  .receipt-brand h2 {
    font-size: 18px;
  }
  .receipt-brand img {
    float: left;
    max-width: 24px;
    max-height: 24px;
    margin: 0 4px 0 0;
    object-fit: contain;
  }
  .receipt-brand p {
    font-size: 8px;
  }
  .receipt-paper table td {
    padding-top: 7px;
    padding-bottom: 7px;
    font-size: 9px;
  }
  .receipt-payer {
    padding: 8px 0;
  }
  .receipt-payer > strong {
    font-size: 14px;
    margin: 4px 0;
  }
  .receipt-method {
    font-size: 8px;
    margin: 4px 0;
  }
  .receipt-paper td,
  .receipt-paper th {
    padding: 4px 0 !important;
  }
  .receipt-caption {
    margin: 8px 0;
    padding: 5px 0;
  }
  .receipt-total {
    margin-top: 7px;
    padding: 7px;
  }
  .receipt-total strong {
    font-size: 17px;
  }
  .receipt-bottom {
    padding-top: 8px;
  }
  .receipt-bottom svg {
    width: 50px;
    height: 50px;
  }
  .receipt-paper tr {
    break-inside: avoid;
  }
  .receipt-paper thead {
    display: table-header-group;
  }
  .receipt-bottom,
  .receipt-total {
    break-inside: avoid;
  }
  .app-shell {
    page: report;
  }
  .workspace {
    margin: 0;
  }
  .main {
    max-width: none;
    margin: 0;
    padding: 0;
  }
  .page-heading h1 {
    font-size: 22px;
  }
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .stat {
    padding: 12px;
  }
  .stat > strong {
    font-size: 17px;
  }
  .report-grid {
    grid-template-columns: 1fr;
  }
  .panel {
    break-inside: avoid;
    border-color: #ccc;
  }
  .table-wrap {
    overflow: visible;
  }
  td,
  th {
    white-space: normal;
    font-size: 9px;
    padding: 8px !important;
  }
  .table-note {
    font-size: 9px;
  }
  .card-page {
    page: card;
    padding: 0;
    margin: 0;
  }
  .id-card {
    margin: 0;
    border: 0;
    box-shadow: none;
    border-radius: 0;
  }
  .dialog-head,
  .dialog-content {
    display: none;
  }
}
/* Native module UI additions. */
[hidden] {
  display: none !important;
}
.native-dialog {
  padding: 0;
  width: min(560px, calc(100vw - 32px));
  max-height: 90vh;
  border: 1px solid var(--border);
  border-radius: 18px;
  color: inherit;
  box-shadow: 0 24px 80px #153d342e;
}
.native-dialog.wide {
  width: min(790px, calc(100vw - 32px));
}
.native-dialog::backdrop {
  background: #112e2477;
  backdrop-filter: blur(3px);
}
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 26px;
  border-bottom: 1px solid var(--border);
}
.modal-header h2 {
  margin: 0;
}
.modal-body {
  padding: 24px 26px;
}
.modal-body .form-actions {
  position: sticky;
  bottom: -24px;
  background: white;
  padding-top: 16px;
  padding-bottom: 8px;
}
.check-field {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 15px 0;
  line-height: 1.5;
}
.check-field input {
  width: 17px;
  height: 17px;
  margin-top: 3px;
  flex-shrink: 0;
}
.overview-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.lookup-controls {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 12px;
  margin-top: 20px;
}
.lookup-panel .form-actions {
  margin-top: 12px;
}
.login-divider {
  text-align: center;
  color: var(--muted);
  font-size: 12px;
  padding-top: 14px;
}
.brand > span > small {
  display: block;
  font-size: 9px;
  letter-spacing: 2px;
  margin-top: 5px;
}
.public-brand > span > small {
  display: block;
  font-size: 9px;
  letter-spacing: 2px;
  margin-top: 5px;
}
.mapping-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 20px;
}
.panel-body > .panel,
.public-profile > .panel,
.public-profile > div > .panel {
  margin-bottom: 20px;
}
.scanner-video {
  width: 100%;
  max-height: 400px;
  background: #10261d;
  border-radius: 10px;
}
#toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
  padding: 14px 20px;
  background: var(--deep);
  color: white;
  border-radius: 12px;
  max-width: calc(100vw - 48px);
}
select,
input {
  min-width: 0;
}
@media (max-width: 700px) {
  .lookup-controls,
  .mapping-grid {
    grid-template-columns: 1fr;
  }
  .modal-header,
  .modal-body {
    padding: 18px;
  }
  .payment-summary {
    position: static;
  }
}
@media print {
  .native-dialog,
  #toast {
    display: none !important;
  }
}

/* Designed ID cards: the exact same canvas is used in PNG, PDF and print. */
.card-page { max-width: 1140px; }
.generated-id-card { display: block; width: 100%; height: auto; border-radius: 28px; box-shadow: 0 12px 35px #153d3420; }
.generated-card-sheet { margin: 24px 0; }
.generated-card-sheet .print-toolbar { margin: 18px 0 32px; }
.directory-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.bulk-card-filters { border: 0; padding: 0; margin: 0; min-width: 0; }
.house-members { margin-top: 24px; }
@media print {
  .card-page { width: 85.6mm; max-width: none; }
  .generated-id-card { width: 85.6mm; height: 54mm; border-radius: 0; box-shadow: none; }
  .generated-card-sheet { margin: 0; page: card; break-after: page; break-inside: avoid; }
  .generated-card-sheet:last-child { break-after: auto; }
  .card-page > .alert, .card-page .print-toolbar, .card-page .print-help { display: none !important; }
}
