@import url('https://fonts.googleapis.com/css2?family=Fraunces:wght@600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --bg: #f5f1e8;
  --bg-deep: #efe7d8;
  --surface: rgba(255, 251, 244, 0.92);
  --surface-strong: #ffffff;
  --surface-soft: rgba(245, 239, 229, 0.88);
  --line: rgba(19, 38, 30, 0.1);
  --line-strong: rgba(19, 38, 30, 0.18);
  --ink: #12251d;
  --muted: #5f6f67;
  --brand: #08a85b;
  --brand-deep: #0b5b35;
  --brand-soft: rgba(8, 168, 91, 0.12);
  --accent: #c59a2d;
  --accent-soft: rgba(197, 154, 45, 0.18);
  --success: #117f4f;
  --warning: #b77214;
  --danger: #ba3b32;
  --info: #175cd3;
  --shadow-soft: 0 24px 55px rgba(18, 37, 29, 0.08);
  --shadow-panel: 0 20px 40px rgba(18, 37, 29, 0.1);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-xl: 36px;
  --content-width: min(1220px, calc(100% - 32px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Manrope', 'Trebuchet MS', sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(198, 167, 106, 0.2), transparent 36%),
    radial-gradient(circle at 85% 15%, rgba(15, 93, 70, 0.16), transparent 28%),
    linear-gradient(180deg, #f9f4ea 0%, #f2ebdf 48%, #f7f2e9 100%);
  position: relative;
}

body.no-scroll {
  overflow: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.32) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.32) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.18;
  pointer-events: none;
  z-index: -2;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(15, 93, 70, 0.02));
  pointer-events: none;
  z-index: -1;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700;
  letter-spacing: -0.03em;
}

p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

small {
  color: var(--muted);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: inherit;
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.page-title {
  font-size: clamp(2.1rem, 4vw, 3.6rem);
  line-height: 1.05;
}

.page-subtitle {
  max-width: 66ch;
  margin-top: 14px;
  font-size: 1.02rem;
}

.btn,
button,
input[type='submit'],
input[type='button'] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: none;
  border-radius: 999px;
  padding: 13px 20px;
  background: linear-gradient(135deg, var(--brand) 0%, #178260 100%);
  color: #fefaf1;
  font-family: inherit;
  font-size: 0.94rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease, opacity 0.22s ease, background 0.22s ease;
  box-shadow: 0 16px 30px rgba(15, 93, 70, 0.18);
}

.btn:hover,
button:hover,
input[type='submit']:hover,
input[type='button']:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(15, 93, 70, 0.24);
}

.btn:focus-visible,
button:focus-visible,
input[type='submit']:focus-visible,
input[type='button']:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(198, 167, 106, 0.38);
  outline-offset: 2px;
}

.btn-secondary {
  background: linear-gradient(135deg, rgba(255, 251, 244, 0.92), rgba(248, 240, 223, 0.96));
  color: var(--brand-deep);
  box-shadow: inset 0 0 0 1px rgba(198, 167, 106, 0.32), 0 14px 26px rgba(18, 37, 29, 0.08);
}

.btn-secondary:hover {
  box-shadow: inset 0 0 0 1px rgba(198, 167, 106, 0.42), 0 18px 30px rgba(18, 37, 29, 0.1);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #fcf8ef;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}

.btn-neutral {
  background: rgba(18, 37, 29, 0.06);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line);
}

.btn-danger {
  background: linear-gradient(135deg, #c8483f 0%, #a8322a 100%);
  color: #fff7f3;
  box-shadow: 0 16px 30px rgba(168, 50, 42, 0.2);
}

.btn-sm {
  padding: 10px 14px;
  font-size: 0.82rem;
}

.btn-block {
  width: 100%;
}

.link-button {
  text-decoration: none;
}

.gold-text {
  color: var(--accent);
}

input:not([type='hidden']),
select,
textarea {
  width: 100%;
  border: 1px solid rgba(18, 37, 29, 0.1);
  border-radius: 18px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
  font: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

input:not([type='hidden'])::placeholder,
textarea::placeholder {
  color: #809188;
}

input:not([type='hidden']):focus,
select:focus,
textarea:focus {
  border-color: rgba(15, 93, 70, 0.36);
  box-shadow: 0 0 0 4px rgba(15, 93, 70, 0.08);
  background: #ffffff;
  outline: none;
}

label,
.field-label {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.panel {
  position: relative;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.64);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 251, 244, 0.9), rgba(255, 255, 255, 0.8));
  box-shadow: var(--shadow-panel);
  backdrop-filter: blur(18px);
  overflow: hidden;
}

.panel::before {
  content: '';
  position: absolute;
  inset: 1px;
  border-radius: calc(var(--radius-lg) - 2px);
  border: 1px solid rgba(255, 255, 255, 0.34);
  pointer-events: none;
}

.panel-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.panel-title {
  font-size: 1.46rem;
}

.panel-copy {
  max-width: 70ch;
}

.panel-actions,
.quick-actions,
.button-row,
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.empty-state {
  padding: 24px;
  border: 1px dashed rgba(18, 37, 29, 0.18);
  border-radius: 22px;
  text-align: center;
  background: rgba(255, 255, 255, 0.5);
  color: var(--muted);
}

.status-badge,
.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.pending,
.status-pending {
  background: rgba(183, 114, 20, 0.14);
  color: #9d5f14;
}

.approved,
.status-approved {
  background: rgba(17, 127, 79, 0.14);
  color: #0f7648;
}

.rejected,
.status-rejected {
  background: rgba(186, 59, 50, 0.14);
  color: #a3312b;
}

.completed,
.status-completed {
  background: rgba(23, 92, 211, 0.14);
  color: #134eb6;
}

.alert {
  margin-bottom: 20px;
  padding: 16px 18px;
  border-radius: 20px;
  border: 1px solid transparent;
  box-shadow: 0 18px 30px rgba(18, 37, 29, 0.06);
}

.alert-success {
  background: rgba(17, 127, 79, 0.1);
  border-color: rgba(17, 127, 79, 0.12);
  color: #0f6d42;
}

.alert-error {
  background: rgba(186, 59, 50, 0.1);
  border-color: rgba(186, 59, 50, 0.12);
  color: #97302a;
}

.dashboard-shell {
  display: flex;
  min-height: 100vh;
}

.dashboard-sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 292px;
  padding: 28px 22px 26px;
  background:
    radial-gradient(circle at top right, rgba(198, 167, 106, 0.28), transparent 26%),
    linear-gradient(180deg, #0f5d46 0%, #0b4736 48%, #082d23 100%);
  color: #f9f6ef;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 24px 0 55px rgba(8, 45, 35, 0.18);
  overflow-y: auto;
  z-index: 20;
}

.dashboard-sidebar::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 52px 52px;
  opacity: 0.34;
  pointer-events: none;
}

.sidebar-stack {
  position: relative;
  display: grid;
  gap: 18px;
}

.sidebar-brand {
  padding: 18px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.sidebar-brand h1 {
  margin-top: 14px;
  font-size: 2rem;
}

.sidebar-brand p,
.sidebar-profile p,
.sidebar-card p {
  color: rgba(249, 246, 239, 0.78);
}

.sidebar-profile,
.sidebar-card {
  padding: 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.sidebar-card--accent {
  background: rgba(198, 167, 106, 0.14);
}

.sidebar-profile {
  display: flex;
  align-items: center;
  gap: 14px;
}

.sidebar-avatar {
  width: 64px;
  height: 64px;
  border-radius: 22px;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 12px 22px rgba(8, 45, 35, 0.22);
}

.sidebar-profile strong {
  display: block;
  color: #fffaf2;
  font-size: 1rem;
}

.sidebar-profile span {
  display: block;
  margin-top: 4px;
  color: rgba(249, 246, 239, 0.66);
  font-size: 0.84rem;
}

.sidebar-nav {
  display: grid;
  gap: 10px;
}

.sidebar-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  color: #f8f4ec;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.sidebar-nav button.sidebar-link {
  width: 100%;
  border: 0;
  box-shadow: none;
  font: inherit;
  line-height: normal;
  text-align: left;
}

.sidebar-nav button.sidebar-link,
.sidebar-nav button.sidebar-link:hover {
  color: #f8f4ec;
}

.sidebar-link:hover,
.sidebar-link.is-active {
  transform: translateX(4px);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.dashboard-main {
  flex: 1;
  margin-left: 292px;
  padding: 30px;
}

.dashboard-inner {
  width: min(1240px, 100%);
  margin: 0 auto;
}

.dashboard-topbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 26px;
}

.topbar-copy {
  max-width: 72ch;
}

.topbar-copy .eyebrow {
  color: var(--brand);
  background: rgba(15, 93, 70, 0.08);
  border-color: rgba(15, 93, 70, 0.12);
}

.topbar-copy h2 {
  margin-top: 16px;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
}

.topbar-copy p {
  margin-top: 14px;
  font-size: 1rem;
}

.topbar-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(18, 37, 29, 0.08);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand);
  box-shadow: 0 16px 28px rgba(18, 37, 29, 0.05);
}

.topbar-pill::before {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 8px rgba(198, 167, 106, 0.14);
}

.dashboard-menu-btn,
.icon-btn {
  display: none;
  min-width: 52px;
  min-height: 52px;
  padding: 0 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.85);
  color: var(--brand-deep);
  box-shadow: 0 14px 26px rgba(18, 37, 29, 0.08);
}

.dashboard-overlay {
  display: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.35fr repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 24px;
}

.hero-panel {
  background:
    radial-gradient(circle at top right, rgba(198, 167, 106, 0.4), transparent 30%),
    linear-gradient(135deg, #115d46 0%, #0b4332 52%, #082d23 100%);
  color: #fff8f0;
  min-height: 100%;
}

.hero-panel::before {
  border-color: rgba(255, 255, 255, 0.14);
}

.hero-panel p {
  color: rgba(255, 248, 240, 0.8);
}

.hero-panel .eyebrow {
  border-color: rgba(255, 255, 255, 0.16);
}

.hero-value {
  margin-top: 18px;
  font-size: clamp(2.5rem, 5vw, 4rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.metric-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  min-height: 220px;
}

.metric-label {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.metric-value {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.04;
  color: var(--ink);
}

.metric-note {
  font-size: 0.92rem;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 18px;
}

.admin-workspace {
  display: block;
}

.admin-workspace > .stack {
  display: contents;
}

.admin-section {
  display: none;
}

.admin-section.is-active {
  display: block;
}

.admin-workspace .admin-section.is-active {
  margin-bottom: 18px;
}

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

.admin-tool-card {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 20px;
  border: 1px solid rgba(18, 37, 29, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.58);
}

.admin-tool-card--wide {
  grid-column: 1 / -1;
}

.member-edit-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(145px, 1fr));
  gap: 10px;
  min-width: 520px;
}

.member-edit-form button {
  grid-column: 1 / -1;
  justify-self: start;
}

.stack {
  display: grid;
  gap: 18px;
}

.stack-compact {
  display: grid;
  gap: 14px;
}

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

.stat-tile {
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(18, 37, 29, 0.08);
}

.stat-tile strong {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.stat-tile span {
  display: block;
  margin-top: 10px;
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.42rem;
  color: var(--ink);
}

.form-stack,
.form-grid {
  display: grid;
  gap: 14px;
}

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

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

.support-list-item {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.52);
  border: 1px solid rgba(18, 37, 29, 0.06);
}

.support-list-item strong,
.detail-card strong {
  color: var(--ink);
}

.support-list-item span,
.detail-card span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.table-wrap {
  overflow-x: auto;
  border-radius: 22px;
  border: 1px solid rgba(18, 37, 29, 0.08);
  background: rgba(255, 255, 255, 0.58);
}

.data-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
}

.data-table th,
.data-table td {
  padding: 16px 18px;
  text-align: left;
  vertical-align: top;
}

.data-table th {
  border-bottom: 1px solid rgba(18, 37, 29, 0.08);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.data-table td {
  border-bottom: 1px solid rgba(18, 37, 29, 0.06);
  font-size: 0.94rem;
}

.data-table tr:last-child td {
  border-bottom: none;
}

.data-table a {
  color: var(--brand);
  font-weight: 700;
  text-decoration: none;
}

.table-form-grid {
  display: grid;
  gap: 10px;
  min-width: 260px;
}

.table-form-grid input,
.table-form-grid textarea {
  width: 100%;
}

.checkbox-row {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 600;
}

.checkbox-row input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--brand);
}

.chart-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
}

.chart-card {
  padding: 18px;
  border-radius: 20px;
  border: 1px solid rgba(18, 37, 29, 0.08);
  background: rgba(255, 255, 255, 0.62);
}

.chart-bars {
  min-height: 180px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 14px;
  padding: 12px 0 18px;
}

.chart-bar {
  width: 26px;
  border-radius: 14px 14px 6px 6px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.22);
}

.chart-bar--deposit {
  background: linear-gradient(180deg, rgba(15, 93, 70, 0.88), rgba(11, 67, 50, 0.98));
}

.chart-bar--maturity {
  background: linear-gradient(180deg, rgba(198, 167, 106, 0.95), rgba(161, 122, 41, 0.98));
}

.chart-meta {
  display: grid;
  gap: 8px;
  text-align: center;
}

.note-strip {
  padding: 16px 18px;
  border-radius: 20px;
  background: rgba(198, 167, 106, 0.12);
  color: #7a5823;
  border: 1px solid rgba(198, 167, 106, 0.18);
}

.bank-panel {
  background:
    radial-gradient(circle at top right, rgba(198, 167, 106, 0.22), transparent 28%),
    linear-gradient(180deg, rgba(255, 251, 244, 0.92), rgba(247, 240, 228, 0.88));
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.detail-card {
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(18, 37, 29, 0.08);
}

.copy-chip {
  margin-top: 14px;
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(15, 93, 70, 0.08);
  color: var(--brand);
  box-shadow: inset 0 0 0 1px rgba(15, 93, 70, 0.1);
}

.copy-chip:hover {
  box-shadow: inset 0 0 0 1px rgba(15, 93, 70, 0.14), 0 12px 24px rgba(15, 93, 70, 0.12);
}

.panel-note {
  margin-top: 18px;
  color: #7a5c34;
}

.profile-shell,
.page-shell {
  width: var(--content-width);
  margin: 36px auto 54px;
}

.page-hero {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-end;
  margin-bottom: 24px;
}

.page-hero .eyebrow {
  color: var(--brand);
  background: rgba(15, 93, 70, 0.08);
  border-color: rgba(15, 93, 70, 0.12);
}

.page-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 20px;
}

.profile-summary {
  display: grid;
  gap: 18px;
}

.profile-summary-card {
  text-align: center;
}

.profile-avatar-lg {
  width: 136px;
  height: 136px;
  margin: 0 auto 18px;
  border-radius: 34px;
  object-fit: cover;
  border: 4px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 20px 36px rgba(18, 37, 29, 0.12);
}

.profile-meta {
  display: grid;
  gap: 12px;
}

.meta-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(15, 93, 70, 0.08);
  color: var(--brand);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.auth-page {
  min-height: 100vh;
}

.auth-shell {
  width: var(--content-width);
  min-height: calc(100vh - 92px);
  margin: 16px auto 32px;
  display: flex;
  align-items: center;
}

.auth-card {
  width: 100%;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: rgba(255, 251, 244, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: 0 28px 70px rgba(18, 37, 29, 0.12);
  backdrop-filter: blur(20px);
}

.auth-brand {
  position: relative;
  padding: 44px;
  background:
    radial-gradient(circle at top right, rgba(198, 167, 106, 0.44), transparent 28%),
    linear-gradient(160deg, #115d46 0%, #0a4332 54%, #072d22 100%);
  color: #fdf8f0;
}

.auth-brand::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  opacity: 0.32;
  pointer-events: none;
}

.auth-brand > * {
  position: relative;
}

.auth-brand p,
.auth-brand li {
  color: rgba(253, 248, 240, 0.82);
}

.auth-brand .page-title {
  margin-top: 18px;
  max-width: 12ch;
}

.feature-list,
.brand-stats {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.feature-item,
.brand-stat {
  padding: 16px 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.feature-item strong,
.brand-stat strong {
  display: block;
  color: #fff9f1;
}

.brand-stat span {
  display: block;
  margin-top: 6px;
  color: rgba(253, 248, 240, 0.72);
}

.auth-panel {
  padding: 38px;
  display: grid;
  align-content: center;
  gap: 22px;
}

.auth-panel .eyebrow {
  color: var(--brand);
  background: rgba(15, 93, 70, 0.08);
  border-color: rgba(15, 93, 70, 0.12);
}

.auth-switch {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(18, 37, 29, 0.05);
}

.auth-trigger {
  background: transparent;
  color: var(--muted);
  box-shadow: none;
}

.auth-trigger:hover {
  transform: none;
  box-shadow: none;
}

.auth-trigger.is-active {
  background: linear-gradient(135deg, var(--brand) 0%, #178260 100%);
  color: #fff8f0;
  box-shadow: 0 12px 24px rgba(15, 93, 70, 0.16);
}

.auth-form {
  display: none;
}

.auth-form.is-active {
  display: block;
}

.auth-form h3 {
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.form-caption {
  margin-bottom: 18px;
}

.form-footnote {
  font-size: 0.92rem;
  text-align: center;
}

.form-link {
  color: var(--brand);
  font-weight: 800;
  text-decoration: none;
}

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

.support-card {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(18, 37, 29, 0.08);
}

.support-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
}

.landing-shell {
  width: var(--content-width);
  margin: 24px auto 56px;
}

.landing-hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 22px;
  align-items: stretch;
}

.landing-brand-panel {
  position: relative;
  padding: 34px;
  border-radius: 34px;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(197, 154, 45, 0.34), transparent 28%),
    linear-gradient(145deg, #0c7d46 0%, #0a5f36 46%, #083322 100%);
  color: #fff9f0;
  box-shadow: 0 28px 60px rgba(8, 51, 34, 0.2);
}

.landing-brand-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 54px 54px;
  opacity: 0.28;
  pointer-events: none;
}

.landing-brand-panel > * {
  position: relative;
}

.landing-brand-panel p {
  color: rgba(255, 249, 240, 0.8);
}

.landing-logo-lockup {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.landing-logo-lockup img,
.brand-logo-lg {
  width: 168px;
  height: 86px;
  object-fit: contain;
  padding: 8px 12px;
  border-radius: 24px;
  background: #fffdf6;
  border: 2px solid rgba(197, 154, 45, 0.38);
  box-shadow: 0 18px 34px rgba(8, 51, 34, 0.22);
}

.brand-logo-lg {
  display: block;
  margin-bottom: 16px;
}

.landing-logo-lockup strong {
  display: block;
  font-size: 1.18rem;
  color: #fff9f0;
}

.landing-logo-lockup span {
  display: block;
  margin-top: 6px;
  color: rgba(255, 249, 240, 0.72);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.landing-slogan {
  margin-top: 22px;
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(2.4rem, 4.8vw, 4.4rem);
  line-height: 1.02;
  color: #fff9f0;
}

.landing-slogan em {
  font-style: normal;
  color: #f4d48e;
}

.landing-copy {
  margin-top: 18px;
  max-width: 60ch;
  font-size: 1rem;
}

.landing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.landing-trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.trust-card {
  padding: 16px 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.trust-card span {
  display: block;
  color: rgba(255, 249, 240, 0.68);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.trust-card strong {
  display: block;
  margin-top: 8px;
  color: #fff9f0;
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.2rem;
}

.landing-side-stack {
  display: grid;
  gap: 18px;
}

.showcase-card {
  position: relative;
  min-height: 260px;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 26px 50px rgba(18, 37, 29, 0.14);
}

.showcase-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.showcase-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 36, 23, 0.06), rgba(11, 36, 23, 0.6));
}

.showcase-copy {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 1;
}

.showcase-copy h3 {
  color: #fff9f0;
  font-size: 1.7rem;
}

.showcase-copy p {
  margin-top: 8px;
  color: rgba(255, 249, 240, 0.78);
}

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

.brand-stat-card {
  padding: 22px;
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(255, 251, 244, 0.92), rgba(246, 237, 220, 0.88));
  border: 1px solid rgba(197, 154, 45, 0.16);
  box-shadow: 0 22px 38px rgba(18, 37, 29, 0.08);
}

.brand-stat-card span {
  display: block;
  color: var(--muted);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.brand-stat-card strong {
  display: block;
  margin-top: 10px;
  color: var(--ink);
  font-family: 'Fraunces', Georgia, serif;
  font-size: 2rem;
}

.brand-stat-card p {
  margin-top: 10px;
  font-size: 0.94rem;
}

.public-section {
  margin-top: 26px;
}

.section-shell {
  padding: 28px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.68);
  background: linear-gradient(180deg, rgba(255, 251, 244, 0.9), rgba(255, 255, 255, 0.82));
  box-shadow: var(--shadow-panel);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-end;
  margin-bottom: 20px;
}

.section-head h2 {
  text-align: left;
  font-size: clamp(1.9rem, 4vw, 2.7rem);
}

.section-head p {
  max-width: 64ch;
}

.public-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.public-card,
.plan-card,
.step-card,
.branch-card {
  padding: 22px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(18, 37, 29, 0.08);
}

.public-card h3,
.plan-card h3,
.step-card h3,
.branch-card h3 {
  font-size: 1.38rem;
}

.public-card p,
.plan-card p,
.step-card p,
.branch-card p {
  margin-top: 10px;
}

.plan-card {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(197, 154, 45, 0.2), transparent 32%),
    linear-gradient(180deg, rgba(255, 251, 244, 0.94), rgba(255, 255, 255, 0.84));
}

.plan-pill {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(8, 168, 91, 0.1);
  color: var(--brand-deep);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.plan-figure {
  margin-top: 16px;
  font-family: 'Fraunces', Georgia, serif;
  font-size: 2rem;
  color: var(--ink);
}

.plan-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.plan-list div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(248, 241, 228, 0.78);
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--brand) 0%, #1fc06d 100%);
  color: #fff8f0;
  font-weight: 800;
}

.branch-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.branch-card {
  text-align: center;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.note-banner {
  margin-top: 18px;
  padding: 18px 20px;
  border-radius: 22px;
  background: rgba(197, 154, 45, 0.12);
  border: 1px solid rgba(197, 154, 45, 0.18);
  color: #79591f;
}

.public-footer {
  margin-top: 34px;
  padding: 28px 0 34px;
  background: linear-gradient(180deg, #0b5b35 0%, #083321 100%);
  color: #fff9f0;
}

.public-footer__inner {
  width: var(--content-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
}

.public-footer__brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.public-footer__brand img {
  width: 128px;
  height: 66px;
  object-fit: contain;
  padding: 6px 10px;
  border-radius: 18px;
  background: #fffdf6;
  border: 2px solid rgba(197, 154, 45, 0.34);
}

.public-footer__brand strong {
  display: block;
  color: #fff9f0;
  font-size: 1.05rem;
}

.public-footer__brand p,
.public-footer__meta p,
.public-footer__meta small {
  color: rgba(255, 249, 240, 0.76);
}

.public-footer__meta {
  text-align: right;
}

.public-page-hero {
  width: var(--content-width);
  margin: 24px auto 0;
  padding: 28px;
  border-radius: 32px;
  background:
    radial-gradient(circle at top right, rgba(197, 154, 45, 0.28), transparent 28%),
    linear-gradient(145deg, #0d7a45 0%, #0a5f36 46%, #083321 100%);
  color: #fff9f0;
  box-shadow: 0 26px 52px rgba(8, 51, 34, 0.18);
}

.public-page-hero h1 {
  color: #fff9f0;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
}

.public-page-hero p {
  margin-top: 14px;
  max-width: 68ch;
  color: rgba(255, 249, 240, 0.8);
}

.public-page-grid {
  width: var(--content-width);
  margin: 24px auto 50px;
  display: grid;
  gap: 18px;
}

.toast-stack {
  position: fixed;
  right: 18px;
  bottom: 18px;
  display: grid;
  gap: 12px;
  z-index: 90;
}

.toast {
  min-width: 220px;
  max-width: 320px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(18, 37, 29, 0.92);
  color: #fff8f0;
  box-shadow: 0 20px 36px rgba(18, 37, 29, 0.24);
  animation: toastIn 0.28s ease forwards;
}

[data-reveal] {
  animation: riseIn 0.62s cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

[data-reveal='2'] {
  animation-delay: 0.06s;
}

[data-reveal='3'] {
  animation-delay: 0.12s;
}

[data-reveal='4'] {
  animation-delay: 0.18s;
}

[data-reveal='5'] {
  animation-delay: 0.24s;
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1180px) {
  .hero-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-panel {
    grid-column: span 2;
  }

  .public-grid,
  .step-grid,
  .branch-grid,
  .landing-hero {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .landing-brand-panel {
    grid-column: span 2;
  }
}

@media (max-width: 1060px) {
  .dashboard-grid,
  .page-grid,
  .auth-card,
  .landing-hero,
  .public-grid,
  .step-grid,
  .branch-grid {
    grid-template-columns: 1fr;
  }

  .form-grid.columns-2,
  .admin-tool-grid,
  .member-edit-form,
  .detail-grid,
  .mini-grid,
  .support-grid,
  .showcase-mini-grid,
  .landing-trust-strip {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  .dashboard-sidebar {
    transform: translateX(-100%);
    transition: transform 0.24s ease;
  }

  .dashboard-sidebar.is-open {
    transform: translateX(0);
  }

  .dashboard-overlay.is-active {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(7, 28, 21, 0.42);
    z-index: 15;
  }

  .dashboard-main {
    margin-left: 0;
    padding: 24px 16px 32px;
  }

  .dashboard-topbar {
    flex-direction: column;
    align-items: stretch;
  }

  .dashboard-menu-btn,
  .icon-btn {
    display: inline-flex;
  }

  .topbar-copy h2 {
    font-size: 2.2rem;
  }
}

@media (max-width: 760px) {
  .dashboard-shell,
  .auth-shell {
    width: 100%;
  }

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

  .hero-panel {
    grid-column: auto;
  }

  .panel,
  .auth-brand,
  .auth-panel {
    padding: 22px;
  }

  .page-shell,
  .profile-shell,
  .landing-shell,
  .public-page-grid,
  .public-page-hero {
    width: min(100%, calc(100% - 24px));
    margin: 22px auto 40px;
  }

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

  .page-title {
    font-size: 2rem;
  }

  .panel-title {
    font-size: 1.28rem;
  }

  .section-shell,
  .landing-brand-panel,
  .public-page-hero {
    padding: 22px;
  }

  .public-footer__inner,
  .public-footer__meta {
    text-align: left;
  }
}
