:root {
      --forest: #0E4532;
      --forest-hover: #0A3325;
      --forest-light: #165D45;
      --cream: #FAF9F5;
      --mint: #EBF4F0;
      --sage: #D5E4DD;
      --white: #FFFFFF;
      --slate: #1F2937;
      --muted: #6B7280;
      --gold: #D97706;
      --gold-bg: #FEF3C7;
      --teal: #2B8A9C;
      --coral: #DC2626;
      --coral-bg: #FEE2E2;
      --radius: 14px;
      --shadow-sm: 0 1px 3px rgba(14, 69, 50, 0.06);
      --shadow-md: 0 8px 24px rgba(14, 69, 50, 0.09);
      --shadow-lg: 0 20px 45px rgba(10, 51, 37, 0.18);
    }

    * { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; }
    body {
      background: var(--cream);
      color: var(--slate);
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
      font-size: 14px;
      line-height: 1.5;
      -webkit-font-smoothing: antialiased;
    }
    h1, h2, h3, h4, .font-display {
      font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
      letter-spacing: -0.02em;
    }
    button, input, select, textarea { font-family: inherit; }
    button { cursor: pointer; }
    button:disabled, input:disabled, select:disabled, textarea:disabled { opacity: 0.55; cursor: not-allowed; }

    /* Layout Helpers */
    .container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
    .flex { display: flex; }
    .flex-col { flex-direction: column; }
    .flex-wrap { flex-wrap: wrap; }
    .items-center { align-items: center; }
    .items-start { align-items: flex-start; }
    .justify-between { justify-content: space-between; }
    .justify-end { justify-content: flex-end; }
    .justify-center { justify-content: center; }
    .gap-1 { gap: 4px; }
    .gap-2 { gap: 8px; }
    .gap-3 { gap: 12px; }
    .gap-4 { gap: 16px; }
    .gap-5 { gap: 20px; }
    .gap-6 { gap: 24px; }
    .flex-1 { flex: 1; min-width: 0; }
    .shrink-0 { flex-shrink: 0; }
    .w-full { width: 100%; }
    .mt-1 { margin-top: 4px; }
    .mt-2 { margin-top: 8px; }
    .mt-3 { margin-top: 12px; }
    .mt-4 { margin-top: 16px; }
    .mt-6 { margin-top: 24px; }
    .mb-2 { margin-bottom: 8px; }
    .mb-3 { margin-bottom: 12px; }
    .mb-4 { margin-bottom: 16px; }
    .mb-6 { margin-bottom: 24px; }
    .text-right { text-align: right; }
    .text-center { text-align: center; }

    /* Grids */
    .grid { display: grid; gap: 20px; }
    .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .grid-map { grid-template-columns: 7fr 5fr; }
    @media (max-width: 960px) {
      .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
      .grid-3, .grid-map { grid-template-columns: 1fr; }
    }
    @media (max-width: 680px) {
      .grid-2, .grid-4 { grid-template-columns: 1fr; }
    }

    /* Typography & Colors */
    .text-forest { color: var(--forest); }
    .text-muted { color: var(--muted); }
    .text-gold { color: var(--gold); }
    .text-teal { color: var(--teal); }
    .text-coral { color: var(--coral); }
    .text-xs { font-size: 12px; }
    .text-sm { font-size: 13px; }
    .text-base { font-size: 15px; }
    .text-lg { font-size: 18px; }
    .text-xl { font-size: 22px; }
    .text-2xl { font-size: 26px; }
    .font-bold { font-weight: 700; }
    .font-semibold { font-weight: 600; }
    .font-mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
    .uppercase { text-transform: uppercase; letter-spacing: 0.05em; }

    /* Cards & Surfaces */
    .card {
      background: var(--white);
      border: 1px solid var(--sage);
      border-radius: var(--radius);
      padding: 22px;
      box-shadow: var(--shadow-sm);
    }
    .card-cream {
      background: var(--cream);
      border: 1px solid var(--sage);
      border-radius: 12px;
      padding: 14px;
    }
    .card-mint {
      background: var(--mint);
      border: 1px solid var(--sage);
      border-radius: 12px;
      padding: 14px;
    }

    /* Buttons */
    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
      border-radius: 10px;
      padding: 9px 16px;
      font-size: 13px;
      font-weight: 700;
      border: 1px solid transparent;
      transition: background 0.15s, border-color 0.15s, color 0.15s, transform 0.1s;
      white-space: nowrap;
    }
    .btn:active:not(:disabled) { transform: translateY(1px); }
    .btn-sm { padding: 6px 11px; font-size: 12px; border-radius: 8px; }
    .btn-primary { background: var(--forest); color: var(--white); }
    .btn-primary:hover:not(:disabled) { background: var(--forest-hover); }
    .btn-gold { background: var(--gold); color: var(--white); }
    .btn-gold:hover:not(:disabled) { background: #B45309; }
    .btn-outline { background: var(--white); color: var(--forest); border-color: var(--sage); }
    .btn-outline:hover:not(:disabled) { border-color: var(--forest); background: var(--mint); }
    .btn-mint { background: var(--mint); color: var(--forest); border-color: var(--sage); }
    .btn-mint:hover:not(:disabled) { background: var(--sage); }
    .btn-danger { background: var(--white); color: var(--coral); border-color: #FECACA; }
    .btn-danger:hover:not(:disabled) { background: var(--coral-bg); }
    .btn-ghost { background: transparent; color: var(--muted); }
    .btn-ghost:hover:not(:disabled) { color: var(--forest); background: var(--mint); }

    /* Badges */
    .badge {
      display: inline-flex;
      align-items: center;
      gap: 4px;
      padding: 3px 10px;
      border-radius: 999px;
      font-size: 11px;
      font-weight: 700;
      white-space: nowrap;
    }
    .badge-mint { background: var(--mint); color: var(--forest); border: 1px solid var(--sage); }
    .badge-gold { background: var(--gold-bg); color: #92400E; border: 1px solid #FDE68A; }
    .badge-coral { background: var(--coral-bg); color: #991B1B; border: 1px solid #FECACA; }
    .badge-blue { background: #DBEAFE; color: #1E40AF; }
    .badge-purple { background: #F3E8FF; color: #6B21A8; }
    .badge-gray { background: #F3F4F6; color: #374151; }

    /* Form Controls */
    .field-label {
      display: block;
      font-size: 11px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.04em;
      color: var(--forest);
      margin-bottom: 5px;
    }
    .input, .select, .textarea {
      width: 100%;
      padding: 9px 12px;
      border-radius: 10px;
      border: 1px solid #D1D5DB;
      background: var(--white);
      color: var(--slate);
      font-size: 13px;
      outline: none;
      transition: border-color 0.15s, box-shadow 0.15s;
    }
    .input:focus, .select:focus, .textarea:focus {
      border-color: var(--forest);
      box-shadow: 0 0 0 3px rgba(14, 69, 50, 0.12);
    }
    .textarea { resize: vertical; line-height: 1.5; }
    .check-pill {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 7px 12px;
      border-radius: 10px;
      border: 1px solid var(--sage);
      background: var(--cream);
      font-size: 12px;
      font-weight: 600;
      color: var(--forest);
      cursor: pointer;
    }
    .check-pill:hover { background: var(--mint); }

    /* Public Header & Hero */
    .pub-header {
      position: sticky;
      top: 0;
      z-index: 40;
      background: rgba(255, 255, 255, 0.96);
      backdrop-filter: blur(8px);
      border-bottom: 1px solid var(--sage);
    }
    .pub-header-inner {
      max-width: 1240px;
      margin: 0 auto;
      padding: 0 18px;
      height: 66px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
    }
    .pub-nav { display: flex; align-items: center; gap: 2px; }
    .pub-nav-btn {
      background: transparent;
      border: none;
      padding: 7px 10px;
      border-radius: 8px;
      font-size: 13px;
      font-weight: 600;
      color: var(--slate);
      transition: background 0.15s, color 0.15s;
    }
    .pub-nav-btn:hover, .pub-nav-btn.active { background: var(--mint); color: var(--forest); }
    .mobile-toggle { display: none; }
    @media (max-width: 1060px) {
      .pub-nav { display: none; }
      .mobile-toggle { display: inline-flex; }
    }

    .hero-band {
      background: linear-gradient(135deg, #0A3325 0%, #0E4532 58%, #1E6B7A 100%);
      color: var(--white);
      position: relative;
      overflow: hidden;
      padding: 64px 0;
    }
    .hero-band-sm { padding: 44px 0; }
    .wave-bg {
      position: absolute;
      pointer-events: none;
      opacity: 0.16;
      right: -20px;
      top: 0;
      width: 420px;
    }

    /* Progress Bar */
    .progress-track {
      width: 100%;
      height: 10px;
      background: var(--mint);
      border-radius: 999px;
      overflow: hidden;
    }
    .progress-fill {
      height: 100%;
      background: var(--forest);
      border-radius: 999px;
      transition: width 0.3s ease;
    }

    /* Admin Shell (Single Top Header + Forest Left Sidebar) */
    .admin-shell { display: flex; min-height: 100vh; background: var(--cream); }
    .admin-sidebar {
      width: 260px;
      background: var(--forest);
      color: var(--white);
      display: flex;
      flex-direction: column;
      position: sticky;
      top: 0;
      height: 100vh;
      flex-shrink: 0;
    }
    .admin-sidebar-scroll { flex: 1; overflow-y: auto; padding: 14px; }
    .side-btn {
      width: 100%;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 10px 13px;
      border-radius: 10px;
      border: none;
      background: transparent;
      color: #D5E4DD;
      font-size: 13px;
      font-weight: 600;
      text-align: left;
      margin-bottom: 3px;
      transition: background 0.15s, color 0.15s;
    }
    .side-btn:hover { background: rgba(255, 255, 255, 0.1); color: var(--white); }
    .side-btn.active { background: var(--forest-light); color: var(--white); box-shadow: 0 2px 8px rgba(0,0,0,0.15); }
    .side-sub-wrap {
      margin: 2px 0 8px 14px;
      padding-left: 12px;
      border-left: 1px solid rgba(255, 255, 255, 0.18);
    }
    .side-sub-btn {
      width: 100%;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 7px 10px;
      border-radius: 8px;
      border: none;
      background: transparent;
      color: rgba(213, 228, 221, 0.85);
      font-size: 12px;
      font-weight: 600;
      text-align: left;
      margin-bottom: 2px;
    }
    .side-sub-btn:hover { background: rgba(255, 255, 255, 0.1); color: var(--white); }
    .side-sub-btn.active { background: rgba(255, 255, 255, 0.18); color: var(--white); }
    .draft-dot {
      width: 7px;
      height: 7px;
      border-radius: 50%;
      background: #F59E0B;
      display: inline-block;
      flex-shrink: 0;
    }

    .admin-main-col { flex: 1; min-width: 0; display: flex; flex-direction: column; }
    .admin-topbar {
      height: 64px;
      background: var(--white);
      border-bottom: 1px solid var(--sage);
      padding: 0 24px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      position: relative;
      overflow: hidden;
      flex-shrink: 0;
    }
    .admin-content { padding: 24px; max-width: 1220px; width: 100%; margin: 0 auto; }
    @media (max-width: 960px) {
      .admin-sidebar.desktop-only { display: none; }
      .admin-content { padding: 16px; }
    }
    .mobile-drawer-bg {
      position: fixed;
      inset: 0;
      z-index: 50;
      background: rgba(10, 51, 37, 0.55);
      display: flex;
    }

    /* Tables */
    .table-wrap { overflow-x: auto; }
    table { width: 100%; border-collapse: collapse; text-align: left; }
    th {
      padding: 12px 14px;
      font-size: 11px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.04em;
      color: var(--muted);
      background: var(--cream);
      border-bottom: 1px solid var(--sage);
    }
    td { padding: 13px 14px; border-bottom: 1px solid #F1F5F9; vertical-align: top; }
    tr.crm-row:hover { background: #F9FBF9; }
    tr.crm-row.expanded { background: var(--mint); }

    /* Modals & Toasts */
    .modal-backdrop {
      position: fixed;
      inset: 0;
      z-index: 60;
      background: rgba(10, 51, 37, 0.55);
      backdrop-filter: blur(2px);
      display: none;
      align-items: center;
      justify-content: center;
      padding: 16px;
    }
    .modal-backdrop.open { display: flex; }
    .modal-panel {
      background: var(--white);
      border-radius: 16px;
      border: 1px solid var(--sage);
      box-shadow: var(--shadow-lg);
      width: 100%;
      max-width: 660px;
      max-height: 90vh;
      display: flex;
      flex-direction: column;
      overflow: hidden;
    }
    .modal-header {
      background: var(--forest);
      color: var(--white);
      padding: 16px 22px;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }
    .modal-body { padding: 22px; overflow-y: auto; }
    .toast-wrap {
      position: fixed;
      bottom: 20px;
      right: 20px;
      z-index: 70;
      display: flex;
      flex-direction: column;
      gap: 8px;
      pointer-events: none;
    }
    .toast {
      pointer-events: auto;
      padding: 11px 16px;
      border-radius: 12px;
      font-size: 13px;
      font-weight: 600;
      color: var(--white);
      box-shadow: var(--shadow-md);
      animation: fadeUp 0.18s ease-out;
      max-width: 360px;
    }
    @keyframes fadeUp { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
    @keyframes pulsePin { 0%, 100% { transform: scale(1); opacity: 0.7; } 50% { transform: scale(1.75); opacity: 0; } }
    .pin-pulse { transform-box: fill-box; transform-origin: center; animation: pulsePin 2.3s infinite; }

    /* FAQ Accordion */
    details.faq-item {
      background: var(--white);
      border: 1px solid var(--sage);
      border-radius: 12px;
      padding: 14px 18px;
    }
    details.faq-item summary {
      font-family: 'Plus Jakarta Sans', sans-serif;
      font-weight: 700;
      color: var(--forest);
      cursor: pointer;
    }

    /* Sticky Editor Toolbar */
    .editor-bar {
      background: var(--white);
      border: 1px solid var(--sage);
      border-radius: 14px;
      padding: 14px 18px;
      margin-bottom: 20px;
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      box-shadow: var(--shadow-sm);
    }
