@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&display=swap');

:root {
  --moss-dark: #4a6741;
  --moss-light: #6b8f4e;
  --parchment: #f5f0e8;
  --parchment-dark: #ede8dc;
  --bark: #2c1f14;
  --sage: #8fad7c;
  --sage-light: #b5d4a3;
  --amber: #c4842d;
  --amber-light: #f0d9a8;
  --red-muted: #9b4d4d;
  --white-off: #faf8f4;
  --grey-warm: #8a7e72;
  --font-body: 'DM Sans', sans-serif;
  --radius-organic: 12px;
  --radius-pill: 50px;
  --shadow-soft: 0 2px 12px rgba(44, 31, 20, 0.08);
  --shadow-card: 0 4px 20px rgba(44, 31, 20, 0.06);
  --max-width: 1200px;
  --transition: 0.2s ease;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  color: var(--bark);
  background-color: var(--parchment);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  color: var(--moss-dark);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--moss-light);
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-body);
  font-weight: 600;
  line-height: 1.25;
  color: var(--bark);
}

h1 { font-size: 3rem; font-weight: 700; }
h2 { font-size: 2rem; font-weight: 600; }
h3 { font-size: 1.35rem; font-weight: 600; }

p { margin-bottom: 1rem; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-decoration: none;
  line-height: 1;
}

.btn-primary {
  background-color: var(--moss-dark);
  color: var(--parchment);
  border-color: var(--moss-dark);
}

.btn-primary:hover {
  background-color: var(--moss-light);
  border-color: var(--moss-light);
  color: var(--parchment);
}

.btn-secondary {
  background-color: transparent;
  color: var(--moss-dark);
  border-color: var(--moss-dark);
}

.btn-secondary:hover {
  background-color: var(--moss-dark);
  color: var(--parchment);
}

.btn-small {
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
}

.btn-danger {
  background-color: var(--red-muted);
  color: var(--parchment);
  border-color: var(--red-muted);
}

/* ─── Header ─── */

.site-header {
  background-color: var(--white-off);
  border-bottom: 1px solid var(--parchment-dark);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1rem 2rem;
}

.site-logo {
  display: flex;
  align-items: center;
  line-height: 1;
}

.site-logo img {
  height: 36px;
  width: auto;
  display: block;
}

.site-logo:hover { opacity: 0.85; }

.header-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}

.header-nav a {
  font-size: 0.925rem;
  font-weight: 500;
  color: var(--bark);
}

.header-nav a:hover {
  color: var(--moss-dark);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu-btn svg {
  width: 24px;
  height: 24px;
  stroke: var(--bark);
}

@media (max-width: 768px) {
  .header-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white-off);
    flex-direction: column;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--parchment-dark);
    gap: 1rem;
  }
  .header-nav.open { display: flex; }
  .mobile-menu-btn { display: block; }
}

/* ─── Footer ─── */

.site-footer {
  background-color: var(--bark);
  color: var(--parchment-dark);
  padding: 3.5rem 0 2rem;
  margin-top: 4rem;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.footer-logo {
  display: inline-flex;
  margin-bottom: 1.75rem;
  opacity: 0.9;
}

.footer-logo img {
  height: 30px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
}

.footer-logo:hover { opacity: 0.7; }

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  list-style: none;
  margin-bottom: 2rem;
}

.footer-nav a {
  color: var(--parchment-dark);
  font-size: 0.925rem;
}

.footer-nav a:hover {
  color: var(--sage-light);
}

.footer-tagline {
  font-size: 0.875rem;
  color: var(--sage);
  margin-bottom: 0.75rem;
  line-height: 1.5;
}

.footer-credit {
  font-size: 0.8rem;
  color: var(--grey-warm);
}

/* ─── SVG Divider ─── */

.organic-divider {
  width: 100%;
  height: 60px;
  overflow: hidden;
  line-height: 0;
}

.organic-divider svg {
  width: 100%;
  height: 100%;
}

/* ─── Hero ─── */

.hero {
  padding: 6rem 0 4rem;
  background-color: var(--parchment);
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background-size: cover;
  background-position: center;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.hero-subhead {
  font-size: 1.2rem;
  color: var(--bark);
  opacity: 0.85;
  margin-bottom: 2.5rem;
  line-height: 1.6;
  max-width: 560px;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .hero h1 { font-size: 2.25rem; }
  .hero { padding: 3.5rem 0 2.5rem; }
}

/* ─── How It Works ─── */

.how-it-works {
  padding: 5rem 0;
  background-color: var(--white-off);
}

.section-heading {
  text-align: center;
  margin-bottom: 3rem;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.step-card {
  background: var(--parchment);
  border: 1px solid var(--parchment-dark);
  border-radius: var(--radius-organic);
  padding: 2.25rem;
  text-align: center;
  transition: box-shadow var(--transition);
}

.step-card:hover {
  box-shadow: var(--shadow-card);
}

.step-number {
  width: 48px;
  height: 48px;
  background: var(--moss-dark);
  color: var(--parchment);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 1.25rem;
}

.step-card h3 {
  margin-bottom: 0.75rem;
}

.step-card p {
  font-size: 0.95rem;
  color: var(--bark);
  opacity: 0.8;
}

@media (max-width: 768px) {
  .steps-grid { grid-template-columns: 1fr; }
}

/* ─── Directory Preview ─── */

.directory-preview {
  padding: 5rem 0;
  background-color: var(--parchment);
}

.creators-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.creator-card {
  background: var(--white-off);
  border: 1px solid var(--parchment-dark);
  border-radius: var(--radius-organic);
  padding: 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: box-shadow var(--transition);
  text-decoration: none;
  color: var(--bark);
}

.creator-card:hover {
  box-shadow: var(--shadow-card);
  color: var(--bark);
}

.creator-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--parchment-dark);
}

.creator-info h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.creator-meta {
  font-size: 0.8rem;
  color: var(--grey-warm);
  line-height: 1.4;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--moss-dark);
  background: rgba(74, 103, 65, 0.1);
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-pill);
}

.trust-badge svg {
  width: 14px;
  height: 14px;
}

.view-all-link {
  text-align: center;
}

@media (max-width: 768px) {
  .creators-grid {
    grid-template-columns: 1fr;
  }
}

/* ─── Mission ─── */

.mission {
  padding: 5rem 0;
  background-color: var(--white-off);
}

.mission-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.mission-text p {
  font-size: 1.1rem;
  line-height: 1.7;
}

.mission-image {
  border-radius: var(--radius-organic);
  overflow: hidden;
}

.mission-image img {
  width: 100%;
  border-radius: var(--radius-organic);
}

@media (max-width: 768px) {
  .mission-content {
    grid-template-columns: 1fr;
  }
}

/* ─── Editorial Strip ─── */

.editorial-strip {
  width: 100%;
  height: 280px;
  overflow: hidden;
  position: relative;
}

.editorial-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ─── Forms ─── */

.form-page {
  padding: 4rem 0;
}

.form-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: flex-start;
}

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

.form-container {
  max-width: 540px;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-weight: 500;
  font-size: 0.925rem;
  margin-bottom: 0.4rem;
  color: var(--bark);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--parchment-dark);
  border-radius: var(--radius-organic);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--bark);
  background: var(--white-off);
  transition: border-color var(--transition);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--moss-dark);
  box-shadow: 0 0 0 3px rgba(74, 103, 65, 0.1);
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
}

.char-counter {
  font-size: 0.8rem;
  color: var(--grey-warm);
  text-align: right;
  margin-top: 0.25rem;
}

.checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.checkbox-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

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

.checkbox-item label {
  font-size: 0.9rem;
  cursor: pointer;
}

.form-side-image {
  border-radius: var(--radius-organic);
  overflow: hidden;
  position: sticky;
  top: 5rem;
}

.form-side-image img {
  width: 100%;
  border-radius: var(--radius-organic);
}

/* ─── Messages ─── */

.alert {
  padding: 1rem 1.5rem;
  border-radius: var(--radius-organic);
  margin-bottom: 1.5rem;
  font-size: 0.925rem;
}

.alert-success {
  background: rgba(107, 143, 78, 0.15);
  color: var(--moss-dark);
  border: 1px solid rgba(107, 143, 78, 0.3);
}

.alert-error {
  background: rgba(155, 77, 77, 0.1);
  color: var(--red-muted);
  border: 1px solid rgba(155, 77, 77, 0.2);
}

.alert-info {
  background: rgba(143, 173, 124, 0.12);
  color: var(--moss-dark);
  border: 1px solid rgba(143, 173, 124, 0.25);
}

/* ─── Dashboard ─── */

.dashboard-layout {
  display: flex;
  min-height: calc(100vh - 70px);
}

.dashboard-sidebar {
  width: 240px;
  background: var(--white-off);
  border-right: 1px solid var(--parchment-dark);
  padding: 2rem 0;
  flex-shrink: 0;
}

.sidebar-nav {
  list-style: none;
}

.sidebar-nav li a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.925rem;
  color: var(--bark);
  transition: all var(--transition);
}

.sidebar-nav li a:hover,
.sidebar-nav li a.active {
  background: rgba(74, 103, 65, 0.08);
  color: var(--moss-dark);
}

.sidebar-nav li a.active {
  border-right: 3px solid var(--moss-dark);
  font-weight: 600;
}

.sidebar-nav svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.dashboard-main {
  flex: 1;
  padding: 2.5rem;
  background: var(--parchment);
  overflow-y: auto;
}

.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.stat-card {
  background: var(--white-off);
  border: 1px solid var(--parchment-dark);
  border-radius: var(--radius-organic);
  padding: 1.25rem;
}

.stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--moss-dark);
  line-height: 1;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--grey-warm);
  margin-top: 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

@media (max-width: 768px) {
  .dashboard-layout { flex-direction: column; }
  .dashboard-sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid var(--parchment-dark);
    padding: 1rem 0;
  }
  .sidebar-nav {
    display: flex;
    overflow-x: auto;
    padding: 0 1rem;
    gap: 0;
  }
  .sidebar-nav li a {
    padding: 0.5rem 1rem;
    white-space: nowrap;
    font-size: 0.85rem;
    border-right: none !important;
  }
  .sidebar-nav li a.active {
    border-right: none;
    border-bottom: 2px solid var(--moss-dark);
  }
  .dashboard-main { padding: 1.5rem; }
  .dashboard-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ─── Profile Edit ─── */

.profile-section {
  background: var(--white-off);
  border: 1px solid var(--parchment-dark);
  border-radius: var(--radius-organic);
  padding: 2rem;
  margin-bottom: 2rem;
}

.profile-section h3 {
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--parchment-dark);
}

.attestation-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--moss-dark);
  background: rgba(74, 103, 65, 0.08);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
}

.attestation-badge svg {
  width: 18px;
  height: 18px;
}

.read-only-field {
  background: var(--parchment);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-organic);
  font-size: 0.925rem;
  color: var(--bark);
  border: 1px solid var(--parchment-dark);
}

.photo-upload {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.photo-preview {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--parchment-dark);
  object-fit: cover;
}

/* ─── Code of Practice ─── */

.cop-page {
  padding: 4rem 0;
}

.cop-content {
  max-width: 720px;
  margin: 0 auto;
}

.cop-content h1 {
  margin-bottom: 2rem;
}

.cop-item {
  margin-bottom: 2rem;
}

.cop-item h3 {
  color: var(--moss-dark);
  margin-bottom: 0.5rem;
}

.cop-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1.5rem;
  background: rgba(74, 103, 65, 0.06);
  border-radius: var(--radius-organic);
  margin: 2rem 0;
}

.cop-checkbox input[type="checkbox"] {
  accent-color: var(--moss-dark);
  width: 20px;
  height: 20px;
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.cop-checkbox label {
  font-weight: 500;
  line-height: 1.5;
}

/* ─── Email Verification ─── */

.centered-message {
  text-align: center;
  padding: 6rem 2rem;
  max-width: 560px;
  margin: 0 auto;
}

.centered-message h1 {
  margin-bottom: 1rem;
}

.centered-message p {
  font-size: 1.1rem;
  color: var(--bark);
  opacity: 0.8;
}

/* ─── Pill Tags ─── */

.pill {
  display: inline-block;
  padding: 0.2rem 0.7rem;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 500;
  background: rgba(74, 103, 65, 0.1);
  color: var(--moss-dark);
}

.pill-amber {
  background: rgba(196, 132, 45, 0.15);
  color: var(--amber);
}

.link-amber {
  color: var(--amber);
  text-decoration: underline;
}

.pill-red {
  background: rgba(155, 77, 77, 0.12);
  color: var(--red-muted);
}

.pill-green {
  background: rgba(107, 143, 78, 0.15);
  color: var(--moss-dark);
}

/* ─── Table ─── */

.data-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--white-off);
  border-radius: var(--radius-organic);
  overflow: hidden;
  border: 1px solid var(--parchment-dark);
}

.data-table th {
  background: var(--parchment);
  padding: 0.85rem 1rem;
  text-align: left;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--grey-warm);
  border-bottom: 1px solid var(--parchment-dark);
}

.data-table td {
  padding: 0.85rem 1rem;
  font-size: 0.925rem;
  border-bottom: 1px solid var(--parchment-dark);
}

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

/* ─── Pagination ─── */

.pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.pagination a,
.pagination span {
  padding: 0.5rem 1rem;
  border-radius: var(--radius-organic);
  font-size: 0.9rem;
  border: 1px solid var(--parchment-dark);
}

.pagination a {
  color: var(--bark);
  background: var(--white-off);
}

.pagination a:hover {
  background: var(--parchment-dark);
}

.pagination .current {
  background: var(--moss-dark);
  color: var(--parchment);
  border-color: var(--moss-dark);
}

/* ─── Placeholder / Coming Soon ─── */

.placeholder-page {
  text-align: center;
  padding: 6rem 2rem;
}

.placeholder-page h1 {
  margin-bottom: 1rem;
}

.placeholder-page p {
  color: var(--grey-warm);
  font-size: 1.1rem;
}

/* ─── Login Page ─── */

.login-page {
  padding: 6rem 0;
  display: flex;
  justify-content: center;
}

.login-form {
  max-width: 400px;
  width: 100%;
}

.login-form h1 {
  text-align: center;
  margin-bottom: 2rem;
}

/* ─── Verification Page ─── */

.verify-page {
  background: var(--parchment);
}

.verify-banner {
  background: var(--bark);
  padding: 0;
  overflow: hidden;
}

.verify-banner-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.verify-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 3rem 0;
}

.verify-card {
  background: var(--white-off);
  border: 1px solid var(--parchment-dark);
  border-radius: var(--radius-organic);
  overflow: hidden;
}

.verify-header {
  padding: 2rem 2rem 1.5rem;
  border-bottom: 1px solid var(--parchment-dark);
}

.verify-header h1 {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

.verify-meta {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.verify-details {
  padding: 1.5rem 2rem;
}

.verify-row {
  display: flex;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--parchment-dark);
}

.verify-row:last-child {
  border-bottom: none;
}

.verify-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--grey-warm);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  min-width: 140px;
  flex-shrink: 0;
}

.verify-value {
  font-size: 0.95rem;
}

.verify-attestation {
  background: rgba(74, 103, 65, 0.04);
  border-top: 1px solid var(--parchment-dark);
  padding: 2.5rem 2rem;
  text-align: center;
}

.verify-stamp-container {
  display: inline-block;
  width: 180px;
  margin-bottom: 1.5rem;
}

.verify-stamp-container svg {
  width: 100%;
  height: auto;
}

.verify-statement {
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 480px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .verify-row {
    flex-direction: column;
    gap: 0.25rem;
  }
  .verify-label {
    min-width: auto;
  }
}

/* ─── Watermark Position Selector ─── */

.position-selector {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.position-option {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.position-option input[type="radio"] {
  display: none;
}

.position-preview {
  width: 80px;
  height: 60px;
  background: var(--parchment-dark);
  border-radius: 8px;
  position: relative;
  border: 2px solid transparent;
  transition: border-color var(--transition);
}

.position-option input[type="radio"]:checked + .position-preview {
  border-color: var(--moss-dark);
  background: rgba(74, 103, 65, 0.08);
}

.position-dot {
  position: absolute;
  width: 12px;
  height: 12px;
  background: var(--moss-dark);
  border-radius: 50%;
  opacity: 0.6;
}

.position-label {
  font-size: 0.8rem;
  color: var(--grey-warm);
}

/* ─── Range Input ─── */

.form-range {
  width: 100%;
  height: 6px;
  -webkit-appearance: none;
  appearance: none;
  background: var(--parchment-dark);
  border-radius: 3px;
  outline: none;
  margin: 0.5rem 0;
}

.form-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--moss-dark);
  cursor: pointer;
  border: 2px solid var(--white-off);
  box-shadow: 0 1px 4px rgba(0,0,0,0.15);
}

.form-range::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--moss-dark);
  cursor: pointer;
  border: 2px solid var(--white-off);
  box-shadow: 0 1px 4px rgba(0,0,0,0.15);
}

/* ─── Public Profile ─── */

.profile-page {
  padding: 3rem 2rem;
}

.profile-header {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  margin-bottom: 3rem;
}

.profile-photo-large {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--parchment-dark);
}

.profile-photo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--grey-warm);
}

.profile-photo-placeholder svg {
  width: 48px;
  height: 48px;
}

.profile-info-section h1 {
  margin-bottom: 0;
}

.profile-works-section {
  margin-top: 2rem;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.work-card {
  background: var(--white-off);
  border: 1px solid var(--parchment-dark);
  border-radius: var(--radius-organic);
  padding: 1.5rem;
  text-decoration: none;
  color: var(--bark);
  transition: box-shadow var(--transition);
}

.work-card:hover {
  box-shadow: var(--shadow-card);
  color: var(--bark);
}

.work-card-title {
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.work-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

@media (max-width: 768px) {
  .profile-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .works-grid {
    grid-template-columns: 1fr;
  }
}

/* ─── Badge Page ─── */

@media (max-width: 768px) {
  .dashboard-main [style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr;
  }
}

.link-back {
  color: var(--moss-dark);
  font-size: 0.9rem;
}

.flags-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.flag-card {
  background: var(--parchment-light);
  border: 1px solid var(--sage-light);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
}

.flag-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.flag-note {
  color: var(--bark);
  font-size: 0.9rem;
  margin: 0;
}

.directory-banner {
  margin-bottom: 0;
}

.directory-banner-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 200px;
}

.directory-page h1 {
  margin: 2rem 0 1.5rem;
}

.directory-controls {
  margin-bottom: 1.5rem;
}

.directory-search-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}

.directory-search-input {
  flex: 2;
  min-width: 200px;
}

.directory-location-input {
  flex: 1;
  min-width: 150px;
}

.directory-sort-select {
  min-width: 140px;
}

.directory-filters {
  margin-bottom: 1rem;
}

.directory-filters-toggle {
  cursor: pointer;
  color: var(--moss-dark);
  font-weight: 500;
  padding: 0.5rem 0;
}

.directory-discipline-checkboxes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 0.75rem 0;
}

.discipline-checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.9rem;
  cursor: pointer;
}

.directory-count {
  color: var(--grey-warm);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.directory-empty {
  text-align: center;
  padding: 4rem 2rem;
  background: var(--parchment-dark);
  border-radius: var(--radius-organic);
}

.directory-empty p {
  color: var(--grey-warm);
}

.creator-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 2rem;
}

@media (max-width: 900px) {
  .creator-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .creator-grid {
    grid-template-columns: 1fr;
  }
}

.creator-card {
  display: block;
  background: var(--white-off);
  border: 1px solid var(--parchment-dark);
  border-radius: var(--radius-organic);
  padding: 1.25rem;
  text-decoration: none;
  color: var(--bark);
  transition: box-shadow var(--transition), border-color var(--transition);
}

.creator-card:hover {
  box-shadow: var(--shadow-card);
  border-color: var(--sage);
}

.creator-card-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--parchment-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
  color: var(--grey-warm);
}

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

.creator-card-avatar svg {
  width: 24px;
  height: 24px;
}

.creator-card-name {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.creator-card-disciplines {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-bottom: 0.4rem;
}

.creator-card-location {
  font-size: 0.8rem;
  color: var(--grey-warm);
  margin-bottom: 0.5rem;
}

.creator-card-stats {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: var(--grey-warm);
  flex-wrap: wrap;
}

.trust-badge-small {
  font-size: 0.7rem;
  padding: 0.15rem 0.5rem;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1.5rem 0;
}

.pagination-link {
  color: var(--moss-dark);
  font-weight: 500;
}

.pagination-info {
  color: var(--grey-warm);
  font-size: 0.9rem;
}

.breadcrumbs {
  font-size: 0.9rem;
  color: var(--grey-warm);
  margin-bottom: 1rem;
  padding-top: 1.5rem;
}

.breadcrumbs a {
  color: var(--moss-dark);
}

.discipline-intro {
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 720px;
  margin-bottom: 2rem;
  color: var(--bark);
}

.content-page {
  padding: 2rem 0 4rem;
}

.content-page h1 {
  margin-bottom: 1.5rem;
  padding-top: 1rem;
}

.content-section {
  margin-bottom: 2.5rem;
}

.content-section h2 {
  margin-bottom: 1rem;
  color: var(--moss-dark);
}

.content-section h3 {
  margin-bottom: 0.75rem;
}

.content-section p {
  line-height: 1.7;
  max-width: 720px;
}

.content-lead {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 720px;
}

.content-list {
  list-style: none;
  padding: 0;
  max-width: 720px;
}

.content-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

.content-list li::before {
  content: "\2022";
  color: var(--moss-dark);
  position: absolute;
  left: 0;
  font-weight: bold;
}

.content-updated {
  color: var(--grey-warm);
  font-size: 0.85rem;
  margin-top: 3rem;
  font-style: italic;
}

.cop-section {
  border-left: 3px solid var(--sage-light);
  padding-left: 1.5rem;
}

.about-person {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.about-person-info h3 {
  margin-bottom: 0.25rem;
}

.about-person-role {
  color: var(--grey-warm);
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

@media (max-width: 600px) {
  .about-person {
    flex-direction: column;
  }
}

.profile-stats-row {
  display: flex;
  gap: 1.25rem;
  margin-top: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.profile-stat {
  font-size: 0.9rem;
}

.trust-badge-wrapper {
  cursor: help;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.trust-verified-indicator {
  font-size: 0.75rem;
  color: var(--moss-dark);
  font-weight: 500;
}

.trust-verified-small {
  font-size: 0.65rem;
  color: var(--moss-dark);
  font-weight: 500;
  white-space: nowrap;
}

.work-card-flag {
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--parchment-dark);
}

.flag-link-small {
  font-size: 0.75rem;
  color: var(--grey-warm);
  text-decoration: none;
}

.flag-link-small:hover {
  color: var(--bark);
  text-decoration: underline;
}

.parchment-light {
  background: var(--parchment);
}

.trust-tier-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.trust-badge-seedling {
  color: var(--grey-warm);
  background: rgba(138, 126, 114, 0.1);
}

.trust-badge-rooted {
  color: var(--moss-dark);
  background: rgba(74, 103, 65, 0.12);
}

.trust-badge-canopy {
  color: #3a7a3a;
  background: rgba(58, 122, 58, 0.12);
}

.trust-badge-old-growth {
  color: #2c5f2c;
  background: rgba(44, 95, 44, 0.15);
  border: 1px solid rgba(44, 95, 44, 0.2);
}

.foaf-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin: 2rem 0;
  padding: 1.5rem;
  background: var(--white-off);
  border-radius: var(--radius-organic);
  border: 1px solid var(--parchment-dark);
}

.foaf-group h3 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--grey-warm);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.foaf-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.foaf-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--bark);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color var(--transition);
}

.foaf-item:hover {
  color: var(--moss-dark);
}

.foaf-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--parchment-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.foaf-avatar svg {
  width: 16px;
  height: 16px;
  color: var(--grey-warm);
}

.foaf-name {
  font-weight: 500;
}

.foaf-more {
  font-size: 0.8rem;
  color: var(--grey-warm);
  font-style: italic;
}

@media (max-width: 768px) {
  .foaf-section {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.flag-section {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--parchment-dark);
}

.flag-notice {
  font-size: 0.85rem;
  color: var(--grey-warm);
  font-style: italic;
}

.flag-details {
  margin-top: 0.5rem;
}

.flag-toggle {
  font-size: 0.85rem;
  color: var(--grey-warm);
  cursor: pointer;
  user-select: none;
}

.flag-toggle:hover {
  color: var(--red-muted);
}

.flag-form {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 400px;
}

.btn-outline-danger {
  color: var(--red-muted);
  border: 1px solid var(--red-muted);
  background: transparent;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.85rem;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-pill);
  transition: background var(--transition), color var(--transition);
}

.btn-outline-danger:hover {
  background: var(--red-muted);
  color: white;
}

.alert-warning {
  background: var(--amber-light);
  border: 1px solid var(--amber);
  color: var(--bark);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-organic);
}

.mod-page {
  padding: 2rem 0 4rem;
}

.mod-page h1 {
  margin-bottom: 0.5rem;
}

.mod-items {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mod-card {
  background: var(--white-off);
  border: 1px solid var(--parchment-dark);
  border-radius: var(--radius-organic);
  padding: 1.5rem;
}

.mod-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.mod-work-title {
  font-size: 1.15rem;
  margin-bottom: 0.25rem;
}

.mod-work-title a {
  color: var(--bark);
}

.mod-work-title a:hover {
  color: var(--moss-dark);
}

.mod-work-meta {
  font-size: 0.85rem;
  color: var(--grey-warm);
}

.mod-work-meta a {
  color: var(--moss-dark);
}

.mod-flags {
  margin-bottom: 1.25rem;
}

.mod-flags h3 {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--grey-warm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.mod-flag-item {
  background: var(--parchment);
  border: 1px solid var(--parchment-dark);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  margin-bottom: 0.5rem;
}

.mod-flag-header {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
  font-size: 0.85rem;
}

.mod-flag-reason {
  font-weight: 600;
  color: var(--amber);
}

.mod-flag-by {
  color: var(--grey-warm);
}

.mod-flag-by a {
  color: var(--moss-dark);
}

.mod-flag-date {
  color: var(--grey-warm);
  font-size: 0.8rem;
}

.mod-flag-note {
  font-size: 0.85rem;
  color: var(--bark);
  margin: 0.4rem 0 0;
  font-style: italic;
}

.mod-foaf-status {
  margin-top: 0.4rem;
}

.foaf-indicator {
  font-size: 0.75rem;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-pill);
  font-weight: 500;
}

.foaf-connected {
  color: var(--moss-dark);
  background: rgba(74, 103, 65, 0.1);
}

.foaf-unconnected {
  color: var(--amber);
  background: rgba(196, 132, 45, 0.1);
}

.foaf-mixed {
  color: var(--grey-warm);
  background: rgba(138, 126, 114, 0.1);
}

.mod-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: flex-start;
}

.mod-action-form {
  display: inline;
}

.mod-action-details {
  display: inline-block;
}

.mod-inline-form {
  margin-top: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-width: 400px;
}

.btn-outline {
  color: var(--moss-dark);
  border: 1px solid var(--moss-dark);
  background: transparent;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.85rem;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-pill);
  transition: background var(--transition), color var(--transition);
}

.btn-outline:hover {
  background: var(--moss-dark);
  color: white;
}

.btn-outline-warning {
  color: var(--amber);
  border: 1px solid var(--amber);
  background: transparent;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.85rem;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-pill);
  transition: background var(--transition), color var(--transition);
}

.btn-outline-warning:hover {
  background: var(--amber);
  color: white;
}

.btn-warning {
  background: var(--amber);
  color: white;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.85rem;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-pill);
}

.btn-danger {
  background: var(--red-muted);
  color: white;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.85rem;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-pill);
}

.admin-layout {
  display: flex;
  min-height: 100vh;
}

.admin-sidebar {
  width: 220px;
  background: var(--bark);
  color: var(--parchment);
  padding: 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
  flex-shrink: 0;
}

.admin-sidebar-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.admin-logo {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--sage);
  text-decoration: none;
}

.admin-badge {
  font-size: 0.65rem;
  background: var(--moss-dark);
  color: white;
  padding: 0.15rem 0.5rem;
  border-radius: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.admin-nav {
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1;
}

.admin-nav li {
  margin-bottom: 0.25rem;
}

.admin-nav-link {
  display: block;
  padding: 0.6rem 0.75rem;
  color: var(--parchment-dark);
  text-decoration: none;
  border-radius: 8px;
  font-size: 0.9rem;
  transition: background 0.15s;
}

.admin-nav-link:hover {
  background: rgba(255,255,255,0.08);
  color: white;
}

.admin-sidebar-footer {
  margin-top: auto;
}

.admin-signed-in-as {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.65rem 0.75rem;
  background: rgba(255,255,255,0.06);
  border-radius: 8px;
  margin-bottom: 0.75rem;
}
.admin-signed-in-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}
.admin-signed-in-email {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.75);
  word-break: break-all;
  line-height: 1.3;
}

.admin-logout-btn {
  background: none;
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--parchment-dark);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.85rem;
  width: 100%;
}

.admin-logout-btn:hover {
  background: rgba(255,255,255,0.08);
}

.admin-content {
  flex: 1;
  padding: 2rem 2.5rem;
  background: var(--parchment-light);
  overflow-x: auto;
}

.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 1rem;
}

.admin-stat-card {
  background: var(--parchment);
  border: 1px solid var(--parchment-dark);
  border-radius: 12px;
  padding: 1.25rem 1rem;
  text-align: center;
}

.admin-stat-value {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--bark);
  line-height: 1;
}

.admin-stat-label {
  font-size: 0.75rem;
  color: var(--grey-warm);
  margin-top: 0.4rem;
}

.admin-activity-feed {
  background: var(--parchment);
  border: 1px solid var(--parchment-dark);
  border-radius: 12px;
  overflow: hidden;
}

.admin-activity-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--parchment-dark);
  font-size: 0.85rem;
}

.admin-activity-item:last-child {
  border-bottom: none;
}

.admin-activity-time {
  color: var(--grey-warm);
  font-size: 0.8rem;
  white-space: nowrap;
  min-width: 90px;
}

.admin-activity-actor {
  font-weight: 600;
  white-space: nowrap;
}

.admin-activity-action {
  color: var(--grey-warm);
}

.admin-activity-target {
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-activity-link {
  margin-left: auto;
  color: var(--moss-dark);
  text-decoration: none;
  font-size: 0.8rem;
  white-space: nowrap;
}

.admin-filter-bar {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.admin-input {
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--parchment-dark);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  background: white;
}

.admin-input:focus {
  outline: none;
  border-color: var(--moss-dark);
}

.admin-select {
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--parchment-dark);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  background: white;
}

.admin-table-wrap {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--parchment);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--parchment-dark);
}

.admin-table th {
  background: var(--parchment-dark);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--grey-warm);
  padding: 0.6rem 0.75rem;
  text-align: left;
  font-weight: 600;
}

.admin-table td {
  padding: 0.6rem 0.75rem;
  border-bottom: 1px solid var(--parchment-dark);
  font-size: 0.85rem;
}

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

.admin-table a {
  color: var(--moss-dark);
  text-decoration: none;
}

.admin-table a:hover {
  text-decoration: underline;
}

.admin-status-pill {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  border-radius: 10px;
  font-size: 0.75rem;
  background: var(--parchment-dark);
  color: var(--bark);
  white-space: nowrap;
}

.admin-status-active {
  background: #d5f0d0;
  color: #2d6a2e;
}

.admin-status-suspended {
  background: #fce4e4;
  color: #c0392b;
}

.admin-status-revoked {
  background: #e0e0e0;
  color: #555;
}

.admin-status-under-review {
  background: #fef3cd;
  color: #856404;
}

.admin-status-escalated {
  background: #f8d7da;
  color: #721c24;
}

.admin-status-email-verified {
  background: #d1ecf1;
  color: #0c5460;
}

.admin-status-pending-attestation {
  background: #fff3cd;
  color: #856404;
}

.admin-action-link {
  color: var(--moss-dark);
  text-decoration: none;
  font-size: 0.85rem;
}

.admin-action-link:hover {
  text-decoration: underline;
}

.admin-pagination {
  display: flex;
  gap: 0.35rem;
  margin-top: 1.5rem;
  justify-content: center;
}

.admin-page-link {
  display: inline-block;
  padding: 0.35rem 0.65rem;
  border: 1px solid var(--parchment-dark);
  border-radius: 6px;
  text-decoration: none;
  color: var(--bark);
  font-size: 0.85rem;
}

.admin-page-link.active {
  background: var(--moss-dark);
  color: white;
  border-color: var(--moss-dark);
}

.admin-tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--parchment-dark);
  margin-bottom: 1.5rem;
}

.admin-tab {
  padding: 0.65rem 1.25rem;
  text-decoration: none;
  color: var(--grey-warm);
  font-size: 0.9rem;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
}

.admin-tab.active {
  color: var(--moss-dark);
  border-bottom-color: var(--moss-dark);
  font-weight: 600;
}

.admin-card {
  background: var(--parchment);
  border: 1px solid var(--parchment-dark);
  border-radius: 12px;
  padding: 1.5rem;
}

.admin-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.admin-form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: 0.3rem;
  color: var(--grey-warm);
}

.admin-crm-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.admin-crm-item {
  padding: 0.6rem 0.75rem;
  background: var(--parchment-light);
  border-radius: 8px;
  font-size: 0.85rem;
}

.admin-crm-date {
  color: var(--grey-warm);
  font-size: 0.8rem;
  margin-right: 0.5rem;
}

.admin-simple-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.admin-simple-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--parchment-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.admin-simple-list li:last-child {
  border-bottom: none;
}

.admin-simple-list a {
  color: var(--moss-dark);
  text-decoration: none;
}

.admin-actions-cell {
  display: flex;
  gap: 0.35rem;
  align-items: center;
  flex-wrap: wrap;
}

.admin-action-btn {
  padding: 0.25rem 0.5rem;
  border: 1px solid var(--parchment-dark);
  border-radius: 6px;
  background: white;
  cursor: pointer;
  font-size: 0.75rem;
  font-family: var(--font-body);
}

.admin-action-btn:hover {
  background: var(--parchment-dark);
}

.admin-action-danger {
  color: #c0392b;
  border-color: #c0392b22;
}

.admin-action-danger:hover {
  background: #fce4e4;
}

.admin-input-inline {
  padding: 0.25rem 0.5rem;
  border: 1px solid var(--parchment-dark);
  border-radius: 6px;
  font-size: 0.75rem;
  font-family: var(--font-body);
  width: 120px;
}

.admin-charts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

@media (max-width: 900px) {
  .admin-layout {
    flex-direction: column;
  }
  .admin-sidebar {
    width: 100%;
    height: auto;
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 0.75rem 1rem;
    align-items: center;
  }
  .admin-sidebar-header {
    margin-bottom: 0;
    margin-right: 1rem;
  }
  .admin-nav {
    display: flex;
    gap: 0.25rem;
    flex-wrap: wrap;
  }
  .admin-nav li {
    margin-bottom: 0;
  }
  .admin-sidebar-footer {
    margin-top: 0;
    margin-left: auto;
  }
  .admin-content {
    padding: 1.5rem 1rem;
  }
  .admin-charts-grid {
    grid-template-columns: 1fr;
  }
  .admin-form-grid {
    grid-template-columns: 1fr;
  }
}

/* ---- Vouches page ---- */
.vouches-page-header {
  margin-bottom: 2rem;
}
.vouches-page-header h1 {
  margin-bottom: 0.35rem;
}
.vouches-page-intro {
  color: var(--grey-warm);
  font-size: 0.95rem;
  max-width: 56ch;
  line-height: 1.55;
}

.vouches-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.vouches-panel {
  background: var(--parchment-light);
  border: 1px solid var(--parchment-dark);
  border-radius: 14px;
  overflow: hidden;
}

.vouches-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem 0.875rem;
  border-bottom: 1px solid var(--parchment-dark);
  background: var(--parchment-dark);
}

.vouches-panel-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--bark);
  opacity: 0.7;
}

.vouches-count-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.6rem;
  height: 1.6rem;
  padding: 0 0.45rem;
  border-radius: 999px;
  background: var(--moss-dark);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
}

.vouch-list-v2 {
  list-style: none;
  margin: 0;
  padding: 0;
}

.vouch-card-v2 {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--parchment-dark);
}
.vouch-card-v2:last-child {
  border-bottom: none;
}

.vouch-avatar {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  color: #fff;
  transition: opacity 0.15s;
}
.vouch-avatar:hover { opacity: 0.85; }
.vouch-avatar--seedling  { background: var(--sage); }
.vouch-avatar--rooted    { background: var(--moss-light); }
.vouch-avatar--canopy    { background: var(--moss-dark); }
.vouch-avatar--old-growth { background: var(--bark); }

.vouch-body {
  flex: 1;
  min-width: 0;
}

.vouch-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.3rem;
}

.vouch-creator-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--bark);
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.vouch-creator-name:hover { color: var(--moss-dark); }

.vouch-tier-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  flex-shrink: 0;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: capitalize;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  line-height: 1;
}
.vouch-tier-badge .trust-tier-icon {
  width: 0.85rem;
  height: 0.85rem;
}
.vouch-tier-badge--seedling  { background: #e8f4e4; color: #4a6741; }
.vouch-tier-badge--rooted    { background: #ddeedd; color: #3d6b3d; }
.vouch-tier-badge--canopy    { background: #d4e8c8; color: #2f5c2f; }
.vouch-tier-badge--old-growth { background: #c8d8b8; color: #2c1f14; }

.vouch-disciplines-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-bottom: 0.35rem;
}

.vouch-pill {
  display: inline-block;
  font-size: 0.72rem;
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
  background: rgba(107, 143, 78, 0.12);
  color: var(--moss-dark);
  font-weight: 500;
}
.vouch-pill--more {
  background: var(--parchment-dark);
  color: var(--grey-warm);
}

.vouch-date {
  font-size: 0.75rem;
  color: var(--grey-warm);
  display: block;
}

.vouches-empty {
  padding: 2.5rem 1.5rem;
  text-align: center;
  color: var(--grey-warm);
}
.vouches-empty p {
  margin: 0.4rem 0;
  font-size: 0.9rem;
}
.vouches-empty a {
  color: var(--moss-dark);
  text-decoration: underline;
}
.vouches-empty-icon {
  width: 2.75rem;
  height: 2.75rem;
  color: var(--sage);
  margin: 0 auto 0.75rem;
  display: block;
  opacity: 0.6;
}
.vouches-empty-sub {
  font-size: 0.82rem;
  opacity: 0.8;
}

@media (max-width: 700px) {
  .vouches-columns {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

.settings-section h2 {
  font-size: 1.15rem;
  margin-bottom: 1rem;
  color: var(--bark);
  border-bottom: 1px solid var(--parchment-dark);
  padding-bottom: 0.5rem;
}
.settings-info-grid {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.settings-info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--parchment-dark);
}
.settings-label {
  font-weight: 500;
  color: var(--grey-warm);
  font-size: 0.9rem;
}
.settings-value {
  color: var(--bark);
  font-size: 0.9rem;
}
.section-intro {
  color: var(--grey-warm);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}
.empty-state {
  color: var(--grey-warm);
  padding: 1.5rem;
  text-align: center;
  background: var(--parchment-light);
  border-radius: 8px;
  border: 1px dashed var(--parchment-dark);
}
.empty-state a {
  color: var(--moss-dark);
}
