:root {
  --font-serif: 'Libre Baskerville', 'Newsreader', Georgia, serif;
  --font-display: 'Cinzel', 'Libre Baskerville', serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  --bg-page: #f8f6f0;
  --bg-card: #ffffff;
  --bg-card-featured: #fffbf4;
  --border-color: #e2dac4;
  --border-featured: #8a331f;
  
  --text-dark: #23201d;
  --text-muted: #6b645b;
  --accent-terra: #8a331f;
  --accent-terra-dark: #6e2716;
  --accent-gold: #b3820e;
  --accent-gold-bg: #fdf6e2;
  --accent-blue: #1c4b82;
  --accent-blue-bg: #edf3fa;

  --zf-pitch-bg: #221d19;
  --zf-pitch-text: #f7f4ee;
  
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 28px rgba(0,0,0,0.14);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-page);
  color: var(--text-dark);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* Site Header */
.site-header {
  background: #221d19;
  color: #f7f4ee;
  padding: 20px 32px;
  border-bottom: 3px solid var(--accent-terra);
  box-shadow: var(--shadow-md);
  text-align: center;
}

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.site-header h1 {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  letter-spacing: 0.5px;
  color: #ffffff;
  font-weight: 400;
}

/* Multi-Tenant Top Bar & Project Selector */
.header-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1400px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.88rem;
}

.project-picker-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.project-picker-label {
  color: #c4b5a5;
  font-weight: 500;
}

.project-select {
  background: #181412;
  color: #fff;
  border: 1px solid #4a3d34;
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 0.88rem;
  font-family: var(--font-sans);
  cursor: pointer;
}

.project-select:focus {
  outline: none;
  border-color: var(--accent-gold);
}

.project-badge-public {
  background: #1b4332;
  color: #b7e4c7;
  font-size: 0.72rem;
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.project-badge-private {
  background: #4a1515;
  color: #f8d7da;
  font-size: 0.72rem;
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.header-user-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-header-action {
  background: rgba(255, 255, 255, 0.1);
  color: #f7f4ee;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  padding: 4px 12px;
  font-size: 0.82rem;
  cursor: pointer;
  transition: all 0.15s;
  text-decoration: none;
}

.btn-header-action:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-header-action.highlight {
  background: var(--accent-terra);
  border-color: var(--accent-terra-dark);
}

.btn-header-action.highlight:hover {
  background: var(--accent-terra-dark);
}

/* Tab Navigation */
.header-nav-tabs {
  display: flex;
  gap: 8px;
  margin-top: 14px;
  background: rgba(0, 0, 0, 0.25);
  padding: 4px;
  border-radius: 8px;
}

.nav-tab-btn {
  background: transparent;
  color: #c9c0b5;
  border: none;
  padding: 8px 18px;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-tab-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.nav-tab-btn.active {
  background: var(--accent-terra);
  color: #ffffff;
  font-weight: 600;
}

.tab-badge {
  background: rgba(0, 0, 0, 0.35);
  font-size: 0.75rem;
  padding: 2px 7px;
  border-radius: 10px;
}

/* Main Container */
.main-content {
  max-width: 1560px;
  margin: 0 auto;
  padding: 32px 24px 80px;
}

.main-content.no-padding {
  padding: 0;
  max-width: 100%;
}

/* ================================================================
   Zippyflash-Style Split-Screen Landing & Auth (The Editorial Desk)
   ================================================================ */
.zf-split-page {
  display: flex;
  min-height: calc(100vh - 120px);
  background-color: var(--bg-page);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  margin-top: 10px;
}

@media (max-width: 960px) {
  .zf-split-page {
    flex-direction: column;
  }
}

.zf-pitch-panel {
  flex: 1.15;
  background-color: var(--zf-pitch-bg);
  color: var(--zf-pitch-text);
  padding: 4.5rem 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (max-width: 768px) {
  .zf-pitch-panel {
    padding: 2.5rem 1.5rem;
  }
}

.zf-brand-badge {
  font-family: var(--font-serif);
  font-size: 0.82rem;
  letter-spacing: 0.2em;
  color: #c99e4b;
  text-transform: uppercase;
  margin-bottom: 1rem;
  font-weight: 700;
}

.zf-pitch-panel h1 {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  font-weight: 400;
  line-height: 1.25;
  color: #ffffff;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.zf-tagline {
  font-size: 1.1rem;
  color: #c4b7a6;
  margin-bottom: 2.5rem;
  line-height: 1.55;
  max-width: 580px;
}

.zf-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  margin-bottom: 2.5rem;
}

.zf-feature-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.zf-feature-icon {
  flex-shrink: 0;
  width: 2.2rem;
  height: 2.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  font-size: 1.1rem;
}

.zf-feature-text h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #f7f4ee;
  margin-bottom: 0.2rem;
}

.zf-feature-text p {
  font-size: 0.88rem;
  color: #a89d8f;
  line-height: 1.4;
  margin: 0;
}

.zf-feature-text code {
  background: rgba(0, 0, 0, 0.35);
  color: #e5cfb3;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.82rem;
}

.zf-demo-link-wrap {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.25rem;
  font-size: 0.9rem;
  color: #a89d8f;
  display: flex;
  align-items: center;
  gap: 10px;
}

.zf-demo-link {
  color: #e3a953;
  text-decoration: none;
  font-weight: 600;
}

.zf-demo-link:hover {
  text-decoration: underline;
}

/* Right Form Panel */
.zf-form-panel {
  flex: 1;
  background: #ffffff;
  padding: 4rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

@media (max-width: 768px) {
  .zf-form-panel {
    padding: 2.5rem 1.5rem;
  }
}

.zf-form-container {
  width: 100%;
  max-width: 420px;
}

.zf-tabs {
  display: flex;
  background: #ede6d8;
  border-radius: 8px;
  padding: 4px;
  margin-bottom: 1.75rem;
}

.zf-tab-btn {
  flex: 1;
  border: none;
  background: transparent;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #6b645b;
  cursor: pointer;
  transition: all 0.15s;
}

.zf-tab-btn.active {
  background: #ffffff;
  color: #23201d;
  box-shadow: var(--shadow-sm);
}

.zf-form-container h2 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 400;
  color: #23201d;
  margin-bottom: 0.35rem;
}

.zf-form-subtitle {
  color: #6b645b;
  font-size: 0.88rem;
  margin-bottom: 1.5rem;
}

.zf-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.zf-form-group {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.zf-form-group label {
  font-size: 0.84rem;
  font-weight: 600;
  color: #332d27;
}

.zf-input {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid #dcd1be;
  border-radius: 6px;
  font-size: 0.92rem;
  font-family: var(--font-sans);
  background: #fdfbf7;
  transition: border-color 0.15s;
}

.zf-input:focus {
  outline: none;
  border-color: var(--accent-terra);
  background: #ffffff;
}

.zf-field-help {
  color: #746b61;
  font-size: 0.76rem;
  line-height: 1.4;
}

textarea.zf-input {
  line-height: 1.45;
  resize: vertical;
}

.zf-disclaimer-notice {
  background: #fff8eb;
  border: 1px solid #ebd2aa;
  border-radius: 6px;
  padding: 10px 12px;
  font-size: 0.78rem;
  color: #70470b;
  line-height: 1.4;
  margin-top: 4px;
}

.zf-submit-btn {
  background: var(--accent-terra);
  color: #ffffff;
  border: none;
  border-radius: 6px;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
  width: 100%;
  margin-top: 0.5rem;
}

.zf-submit-btn:hover {
  background: var(--accent-terra-dark);
}

/* Key reveal box */
.key-reveal-box {
  background: #23201d;
  color: #f7f4ee;
  border-radius: 6px;
  padding: 12px;
  font-family: monospace;
  font-size: 0.88rem;
  word-break: break-all;
  user-select: all;
  margin: 10px 0;
}

/* Tree & Cards */
.tab-view {
  display: none;
}

.tab-view.active {
  display: block;
}

.tree-wrapper {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.tree-generation-row {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.gen-header-bar {
  display: flex;
  align-items: center;
  gap: 16px;
}

.gen-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--accent-terra);
  white-space: nowrap;
}

.gen-bar-line {
  flex: 1;
  height: 1px;
  background: var(--border-color);
}

.couples-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-start;
}

.couple-unit {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fcfbfa;
  border: 1px solid #eae2d1;
  border-radius: 10px;
  padding: 12px;
}

.marriage-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.marriage-line {
  width: 2px;
  height: 16px;
  background: var(--border-color);
}

.marriage-icon {
  font-size: 1.2rem;
  color: var(--accent-terra);
}

.person-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  width: 280px;
  padding: 14px;
  box-shadow: var(--shadow-sm);
}

.card-header {
  border-bottom: 1px solid #f0eae1;
  padding-bottom: 8px;
  margin-bottom: 8px;
}

.person-name {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--text-dark);
}

.person-relationship {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.person-vitals {
  font-size: 0.82rem;
  margin-bottom: 10px;
}

.vital-row {
  display: flex;
  gap: 6px;
  margin-bottom: 2px;
}

.vital-label {
  color: var(--text-muted);
  font-weight: 500;
}

.vital-val {
  color: var(--text-dark);
}

.facts-list {
  list-style: none;
  font-size: 0.8rem;
  color: #3b3530;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 10px;
}

.fact-item {
  line-height: 1.35;
}

.inline-doc-link {
  background: var(--accent-gold-bg);
  border: 1px solid #ebd2aa;
  color: #633c04;
  padding: 1px 5px;
  border-radius: 3px;
  font-size: 0.74rem;
  cursor: pointer;
  margin-left: 2px;
}

.person-docs-section {
  border-top: 1px solid #f0eae1;
  padding-top: 8px;
}

.docs-section-heading {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.doc-badges-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.doc-badge-btn {
  background: #fdfbf7;
  border: 1px solid #ebe2d0;
  border-radius: 4px;
  padding: 4px 8px;
  font-size: 0.76rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  text-align: left;
}

.doc-badge-btn:hover {
  background: #f5eedf;
}

.doc-badge-unavailable {
  cursor: default;
  color: var(--text-muted);
}

.doc-badge-unavailable:hover {
  background: #fdfbf7;
}

.badge-status {
  color: var(--text-muted);
  font-size: 0.68rem;
  margin-left: 8px;
  white-space: nowrap;
}

.place-doc-citation {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 9px;
  color: var(--text-muted);
  font-size: 0.8rem;
}

.place-doc-citation > span:last-child {
  white-space: nowrap;
  font-size: 0.68rem;
}

.badge-tag {
  font-weight: bold;
  color: var(--accent-terra);
  margin-right: 6px;
}

.badge-title {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Map tab */
.map-tab-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.map-controls-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.region-selector {
  display: flex;
  gap: 6px;
}

.region-btn {
  background: #ede6d8;
  border: none;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #6b645b;
  cursor: pointer;
}

.region-btn.active {
  background: var(--accent-terra);
  color: #ffffff;
}

.map-layout-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 16px;
}

@media (max-width: 900px) {
  .map-layout-grid {
    grid-template-columns: 1fr;
  }
}

.map-canvas-card {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  height: 600px;
}

#leaflet-map {
  width: 100%;
  height: 100%;
}

.map-sidebar {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 20px;
  overflow-y: auto;
  max-height: 600px;
}

/* Changelog */
.changelog-container {
  max-width: 900px;
  margin: 0 auto;
}

.changelog-header {
  margin-bottom: 24px;
}

.changelog-header h2 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--text-dark);
}

.changelog-timeline {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  padding-left: 24px;
}

.changelog-timeline::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #dcd1be;
}

.changelog-item {
  position: relative;
}

.changelog-dot {
  position: absolute;
  left: -24px;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent-terra);
  border: 2px solid #ffffff;
}

.changelog-content {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 16px;
  box-shadow: var(--shadow-sm);
}

.changelog-meta {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.changelog-headline {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.changelog-desc {
  font-size: 0.88rem;
  color: #3b3530;
  line-height: 1.45;
}

.changelog-docs {
  margin-top: 8px;
}

/* Modals */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(20, 16, 13, 0.75);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
}

.modal-backdrop.active {
  display: flex;
}

.modal-dialog {
  background: #ffffff;
  border-radius: 10px;
  width: 100%;
  max-width: 900px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.modal-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-title-wrap h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.modal-title-wrap {
  min-width: 0;
  padding-right: 16px;
}

.modal-actions {
  flex: 0 0 auto;
}

.btn-close {
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--text-muted);
}

.modal-body {
  padding: 20px;
  overflow-y: auto;
}

.image-stage {
  background: #111;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 480px;
  border-radius: 6px;
}

.image-wrapper img {
  max-width: 100%;
  max-height: 480px;
  display: block;
}

.zoom-controls {
  position: absolute;
  bottom: 12px;
  right: 12px;
  display: flex;
  gap: 4px;
}

.ctrl-btn {
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 4px 10px;
  border-radius: 4px;
  cursor: pointer;
}

.modal-caption {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 12px;
}

/* Footer */
.site-footer {
  text-align: center;
  padding: 28px;
  border-top: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 0.85rem;
  background: #fdfbf7;
}

.custom-map-pin {
  background: var(--accent-terra);
  color: white;
  border: 2px solid #ffffff;
  border-radius: 50%;
  text-align: center;
  font-weight: bold;
  font-size: 12px;
  line-height: 24px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.3);
  cursor: pointer;
}

/* Guide Modal & Step-by-Step Box */
.guide-step-card {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  align-items: flex-start;
}

.guide-step-number {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent-terra);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
}

.guide-step-body h4 {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.guide-step-body p {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 6px;
}

.guide-prompt-copy-box {
  position: relative;
  background: #221d19;
  color: #f7f4ee;
  border-radius: 6px;
  padding: 12px 14px;
  margin-top: 6px;
}

.guide-prompt-copy-box pre {
  font-size: 0.78rem;
  font-family: monospace;
  white-space: pre-wrap;
  margin: 0;
  color: #e6dfd5;
}

.btn-copy-prompt {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(255, 255, 255, 0.15);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 4px;
  padding: 3px 8px;
  font-size: 0.72rem;
  cursor: pointer;
  transition: background 0.15s;
}

.btn-copy-prompt:hover {
  background: rgba(255, 255, 255, 0.3);
}

.guide-tip-box {
  background: #fdf8eb;
  border-left: 3px solid var(--accent-gold);
  border-radius: 4px;
  padding: 10px 12px;
  font-size: 0.82rem;
  color: #634309;
  line-height: 1.4;
  margin-top: 14px;
}

/* Share Modal Styles */
.share-warning-box {
  background: #fff8f0;
  border: 1px solid #f0b784;
  border-left: 4px solid var(--accent-terra);
  border-radius: 6px;
  padding: 12px 14px;
  margin-bottom: 18px;
  color: #632d16;
  font-size: 0.88rem;
  line-height: 1.45;
}

.share-warning-box strong {
  color: #4a1d0b;
  display: block;
  margin-bottom: 4px;
}

.share-links-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
}

.share-link-item {
  background: #ffffff;
  border: 1px solid #e2dad0;
  border-radius: 6px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.share-link-item.expired {
  opacity: 0.65;
  background: #fbf9f6;
}

.share-link-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.share-link-label {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-dark);
}

.share-link-meta {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.share-link-input-wrap {
  display: flex;
  gap: 8px;
  align-items: center;
}

.share-link-input {
  flex: 1;
  font-family: monospace;
  font-size: 0.82rem;
  padding: 6px 10px;
  background: #f7f3ee;
  border: 1px solid #dcd4c7;
  border-radius: 4px;
  color: #2c2520;
}

.btn-copy-link {
  background: var(--accent-terra);
  color: #ffffff;
  border: none;
  border-radius: 4px;
  padding: 6px 12px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.15s;
}

.btn-copy-link:hover {
  opacity: 0.9;
}

.btn-revoke-link {
  background: transparent;
  color: #a83232;
  border: 1px solid #e0bebe;
  border-radius: 4px;
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
}

.btn-revoke-link:hover {
  background: #fee;
}
.zf-terms-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid rgba(45, 82, 61, 0.24);
  border-radius: 8px;
  background: rgba(45, 82, 61, 0.06);
  color: var(--text-dark);
  font-size: 0.82rem;
  line-height: 1.45;
}

.zf-terms-consent input {
  width: 17px;
  height: 17px;
  margin-top: 2px;
  flex: 0 0 auto;
  accent-color: var(--forest, #2d523d);
}

.zf-terms-consent a {
  color: var(--forest, #2d523d);
  font-weight: 600;
}
