:root {
  /* Default Palette (Deep Rest) — warm cream + calming sage */
  --cream: #f4f5ef;
  --cream-soft: #fcfdfb;
  --sage: #aed4b1;
  --sage-deep: #5c9668;
  --sage-deeper: #4a7d54;
  --ink: #3a4038;
  --ink-soft: #6b7168;
  --line: #dcdcc2;
  --card-bg: #fcfdfb;
  --slider-track: #e5eadf;
  
  --shadow: 0 8px 24px rgba(92, 110, 92, 0.12);
  --shadow-hover: 0 12px 32px rgba(92, 110, 92, 0.20);
  --radius: 16px;
  --radius-sm: 10px;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Nunito Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Theme: Focus (Cool Slate) */
.theme-focus {
  --cream: #f0f2f5;
  --cream-soft: #fbfcfd;
  --sage: #b8c5d1;
  --sage-deep: #6a7f96;
  --sage-deeper: #4a5d73;
  --ink: #2c333a;
  --ink-soft: #5e6b77;
  --line: #d4dce3;
  --card-bg: #fbfcfd;
  --slider-track: #e1e6ec;
  --shadow: 0 8px 24px rgba(74, 93, 115, 0.12);
  --shadow-hover: 0 12px 32px rgba(74, 93, 115, 0.20);
}

/* Theme: Breathwork (Earth/Sand) */
.theme-breathwork {
  --cream: #f7f2ed;
  --cream-soft: #fdfcfb;
  --sage: #d1b399;
  --sage-deep: #9c7a5f;
  --sage-deeper: #7a5c46;
  --ink: #40362f;
  --ink-soft: #7a6c62;
  --line: #e3d5c8;
  --card-bg: #fdfcfb;
  --slider-track: #ede3da;
  --shadow: 0 8px 24px rgba(122, 92, 70, 0.10);
  --shadow-hover: 0 12px 32px rgba(122, 92, 70, 0.18);
}

/* Theme: Sleep (Khaki/Ochre) */
.theme-sleep {
  --cream: #f8f7f2;
  --cream-soft: #fdfdfc;
  --sage: #d4c685;
  --sage-deep: #a69547;
  --sage-deeper: #807231;
  --ink: #3d3b2c;
  --ink-soft: #757158;
  --line: #e6e3ce;
  --card-bg: #fdfdfc;
  --slider-track: #ece8db;
  --shadow: 0 8px 24px rgba(128, 114, 49, 0.10);
  --shadow-hover: 0 12px 32px rgba(128, 114, 49, 0.18);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  background-color: var(--cream);
  font-family: var(--sans);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.4s ease, color 0.4s ease;
}

/* Moving the radial gradients to a pseudo-element so they inherit variables smoothly */
body::before {
  content: "";
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: -1;
  background:
    radial-gradient(1200px 600px at 15% -10%, var(--sage), transparent 60%),
    radial-gradient(1000px 500px at 110% 10%, var(--sage), transparent 55%);
  opacity: 0.35;
  pointer-events: none;
  transition: background 0.4s ease;
}

/* noUiSlider theming — elegant, thin track + small handles */
.noUi-target {
  background: var(--slider-track);
  border: none;
  box-shadow: none;
  height: 4px;
  border-radius: 999px;
}
.noUi-connect { background: var(--sage); }
.noUi-handle {
  border: 1px solid var(--sage-deep);
  border-radius: 50%;
  background: #fff;
  box-shadow: none;
  width: 16px !important;
  height: 16px !important;
  right: -8px !important;
  top: -6px !important;
  cursor: grab;
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.noUi-handle:before, .noUi-handle:after { display: none; }
.noUi-handle:hover, .noUi-active {
  transform: scale(1.15);
  border-color: var(--sage-deeper);
}
.noUi-handle:active { cursor: grabbing; }
/* Tooltips: hidden at rest, shown while dragging a handle */
.noUi-tooltip {
  display: none;
  border: none;
  background: var(--sage-deeper);
  color: #fff;
  font-family: var(--sans);
  font-size: 12px;
  padding: 3px 8px;
  border-radius: 999px;
  bottom: 150%;
}
.noUi-active .noUi-tooltip { display: block; }

/* ---- Layout ---- */
.app {
  max-width: 1180px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

/* ---- Header ---- */
.site-header {
  margin-bottom: 44px;
}
.header-line {
  display: flex;
  align-items: center;   /* centre the lotus against the title line */
  gap: 14px;
  flex-wrap: wrap;
}
.mode-toggles {
  display: flex;
  gap: 16px;
  margin-left: auto;
}
.mode-btn {
  border: none;
  background: transparent;
  padding: 4px 8px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.2s ease, color 0.2s ease;
  position: relative;
}
.mode-btn:hover {
  opacity: 1;
}
.mode-btn.active {
  color: var(--ink);
  opacity: 1;
}
.mode-btn.active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 2px;
  background: var(--sage-deep);
  border-radius: 2px;
}
.logo-link {
  display: block;
  cursor: pointer;
  text-decoration: none;
}
.logo {
  height: 30px;
  width: 48px;
  flex: 0 0 auto;
  display: block;
  -webkit-mask: url("/logo.svg") no-repeat center;
  mask: url("/logo.svg") no-repeat center;
  transform-origin: center;
  animation: breathe 7s ease-in-out infinite;
}
/* Slow inhale/exhale — a calm 7s cycle. */
@keyframes breathe {
  0%, 100% { transform: scale(1); opacity: 0.85; }
  50%      { transform: scale(1.06); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .logo { animation: none; }
}

/* --- Magical Spectrum Logo Gradients --- */
/* Deep Rest Logo (Sage -> Lilac fade) */
.theme-deep-rest .logo {
  background: linear-gradient(to right, 
    var(--sage-deeper) 0%, 
    var(--sage-deeper) 50%, 
    #a39baf 85%, 
    rgba(163, 155, 175, 0) 100%
  );
}

/* Focus Logo (Slate -> Electric Cyan) */
.theme-focus .logo {
  background: linear-gradient(to right, 
    var(--sage-deeper) 0%, 
    var(--sage-deeper) 50%, 
    #7bb2d9 75%, 
    #4fc3f7 100%
  );
}

/* Breathwork Logo (Terracotta -> Airy Coral) */
.theme-breathwork .logo {
  background: linear-gradient(to right, 
    var(--sage-deeper) 0%, 
    var(--sage-deeper) 50%, 
    #e69a83 75%, 
    #ffbca6 100%
  );
}

/* Sleep Logo (Ochre -> Golden Glow) */
.theme-sleep .logo {
  background: linear-gradient(to right, 
    var(--sage-deeper) 0%, 
    var(--sage-deeper) 50%, 
    #e8c15a 75%, 
    #ffd54f 100%
  );
}

.site-header h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 42px;
  letter-spacing: 1.5px;
  text-transform: lowercase;
  line-height: 1;
  margin: 0;
  color: var(--sage-deeper);
}
.tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  color: var(--ink-soft);
  margin: 6px 0 0;
}

.status {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  color: var(--ink-soft);
  padding: 56px 0;
  text-align: center;
}

/* ---- Buttons (touch-friendly: min 44px) ---- */
.btn {
  min-height: 44px;
  padding: 0 20px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.1s;
}
.btn:hover { background: var(--cream-soft); box-shadow: var(--shadow); }
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--sage-deep);
  color: #fff;
  border-color: var(--sage-deep);
}
.btn-primary:hover { background: var(--sage-deeper); border-color: var(--sage-deeper); }
.btn-toggle.active,
.btn-small.active {
  background: var(--sage);
  color: var(--ink);
  border-color: var(--sage-deep);
}
.btn-small {
  min-height: 38px;
  padding: 0 14px;
  font-size: 14px;
}

/* ---- Controls row: creators (left) + favourites & search (right) ---- */
.controls-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.controls-bar .creator-bar { margin: 0; }
.controls-right {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;   /* push favourites + search to the far right */
}

/* Collapsible search: a magnifier button that expands into a full input. */
.search-box {
  display: flex;
  align-items: center;
  height: 44px;
}
.search-icon-btn {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  padding: 0;
  cursor: pointer;
  background-color: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: background 0.2s, border-color 0.2s;
  position: relative;
}
.search-icon-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: var(--sage-deep);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cline x1='16.5' y1='16.5' x2='21' y2='21'/%3E%3C/svg%3E") no-repeat center;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cline x1='16.5' y1='16.5' x2='21' y2='21'/%3E%3C/svg%3E") no-repeat center;
  -webkit-mask-size: 20px 20px;
  mask-size: 20px 20px;
}
.search-icon-btn:hover { background-color: var(--cream-soft); }

.search-box .search-input {
  width: 0;
  min-width: 0;
  padding: 0;
  margin-left: 0;
  border: none;
  opacity: 0;
  pointer-events: none;
  transition: width 0.25s ease, opacity 0.2s ease, padding 0.25s ease, margin 0.25s ease;
}
.search-box.open .search-input {
  width: 240px;
  min-height: 44px;
  padding: 10px 18px;
  margin-left: -44px;      /* slide out from behind the icon button */
  padding-left: 46px;      /* leave room for the magnifier on the left */
  border: 1px solid var(--line);
  opacity: 1;
  pointer-events: auto;
}
.search-box.open .search-icon-btn {
  background-color: transparent;
  border-color: transparent;
  position: relative;
  z-index: 1;              /* sits over the input's left padding, stays clickable to collapse */
}

.search-input,
.sync-input {
  min-height: 48px;
  padding: 10px 18px;
  font-family: var(--sans);
  font-size: 16px;
  color: var(--ink);
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: 999px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.search-input:focus,
.sync-input:focus {
  border-color: var(--sage-deep);
  box-shadow: 0 0 0 4px rgba(174, 212, 177, 0.35);
}
.search-input::placeholder,
.sync-input::placeholder { color: #a7ad9d; }

/* ---- Filter ---- */
.filter-bar {
  margin: 0 0 28px;
  padding: 24px 28px 28px;
  background: rgba(255, 254, 247, 0.7);
  backdrop-filter: blur(4px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.filter-header {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.filter-header h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 22px;
  color: var(--ink);
}
.duration-presets {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-left: auto;   /* push presets to the far right of the header row */
}
.slider { margin-top: 24px; padding: 0 6px; }

/* ---- Creator filter ---- */
.creator-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin: 0 0 32px;
}
.creator-label {
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  color: var(--ink-soft);
}
.creator-buttons { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---- Tag filter & badges ---- */
.controls-left {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1 1 auto;
}
.tag-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.tag-label {
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  color: var(--ink-soft);
}
.tag-buttons { display: flex; gap: 8px; flex-wrap: wrap; }

/* Card Tag Badges */
.card-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: -2px;
}
.tag-badge {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  color: var(--sage-deeper);
  background: var(--cream-soft);
  border: 1px solid var(--line);
  padding: 2px 8px;
  border-radius: 999px;
}

/* Admin Tags Inputs */
.admin-tags-input {
  min-width: 130px;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  font-family: var(--sans);
  font-size: 13px;
  background: white;
}
.bulk-tags-input {
  flex: 1 1 200px;
  min-width: 180px;
}

/* ---- Load more ---- */
.load-more {
  display: flex;
  justify-content: center;
  margin: 40px 0 8px;
}
.load-more .btn { min-width: 200px; }
.load-more .btn:disabled { opacity: 0.6; cursor: default; }

/* ---- Footer (device sync) ---- */
.site-footer {
  margin-top: 64px;
  text-align: center;
}
.footer-title {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 26px;
  color: var(--sage-deeper);
}
.footer-hint {
  margin: 0 auto;
  max-width: 400px;
  color: var(--ink-soft);
  font-size: 15px;
}
.sync-choices, .sync-generate, .sync-redeem {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.sync-code.large {
  font-size: 24px;
  letter-spacing: 2px;
  padding: 12px 24px;
  margin-bottom: 24px;
  display: inline-block;
}
.sync-code {
  font-family: var(--sans);
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--sage-deeper);
  background: rgba(174, 212, 177, 0.4);
  padding: 8px 14px;
  border-radius: 999px;
}

/* ---- Grid of cards ---- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 26px;
}
.card {
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card:hover {
  transform: translateY(-3px);
  /* diffuse, soft green glow instead of a hard shadow */
  box-shadow: 0 14px 40px rgba(127, 181, 135, 0.25);
}
.card-embed {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: none;
  display: block;
  position: relative;
  border-radius: 12px 12px 0 0;
  overflow: hidden;
}
/* The YouTube IFrame API injects an <iframe> in place of our inner div. */
.card-embed > div,
.card-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}
.card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 12px; }
.card-title {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 21px;
  line-height: 1.3;
  color: var(--ink);
}
.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--ink-soft);
  font-size: 14px;
}
.meta-stats { display: inline-flex; align-items: center; }

/* ============================================================
   Mobile: gracefully adjust. Desktop keeps its wider layout.
   ============================================================ */
@media (max-width: 640px) {
  .app { padding: 32px 16px 56px; }
  .site-header { gap: 12px; }
  .site-header h1 { font-size: 30px; }
  .tagline { font-size: 15px; }
  .mode-toggles { margin-left: 0; width: 100%; justify-content: flex-start; margin-top: 10px; flex-wrap: wrap; gap: 8px; }

  /* Stack creators above the favourites/search row */
  .controls-bar { flex-direction: column; align-items: stretch; }
  .controls-right { margin-left: 0; justify-content: flex-end; }
  .search-box.open .search-input { width: 200px; }

  /* Sync controls stack full-width */
  .sync-choices, .sync-generate, .sync-redeem { flex-direction: column; align-items: stretch; }

  /* Single column of cards */
  .grid { grid-template-columns: 1fr; }
}

/* ---- Favourite: inline icon in the meta row ---- */
.card-meta .meta-dot { margin: 0 6px; opacity: 0.5; }
.fav-btn {
  border: none;
  background: none;
  cursor: pointer;
  padding: 0 2px;
  font-size: 20px;
  line-height: 1;
  color: var(--sage-deep);
  transition: transform 0.15s ease, color 0.15s ease;
}
.fav-btn:hover { transform: scale(1.18); }
.fav-btn:active { transform: scale(0.85); }
.fav-btn.active { color: var(--sage-deeper); }

/* ---- Footer Bottom Links ---- */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  text-align: left;
}
.footer-left p {
  margin: 0 0 4px;
  color: var(--ink-soft);
  font-size: 14px;
}
.footer-right {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-right a,
.footer-right .link-btn {
  color: var(--sage-deeper);
  text-decoration: none;
  font-size: 14px;
  font-family: var(--sans);
  font-weight: 600;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}
.footer-right a:hover,
.footer-right .link-btn:hover {
  text-decoration: underline;
}

/* ---- FAQ Modal ---- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(58, 64, 56, 0.4);
  backdrop-filter: blur(4px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal-content {
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px;
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  position: relative;
}
.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 28px;
  line-height: 1;
  color: var(--ink-soft);
  cursor: pointer;
  padding: 4px;
}
.modal-content h2 {
  font-family: var(--serif);
  color: var(--sage-deeper);
  font-size: 32px;
  margin: 0 0 32px;
}
.modal-content h3 {
  font-family: var(--sans);
  font-size: 18px;
  margin: 24px 0 8px;
}
.modal-content p {
  color: var(--ink-soft);
  margin: 0 0 16px;
  line-height: 1.6;
}

@media (max-width: 640px) {
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }
  .footer-right {
    justify-content: center;
  }
  .modal-content {
    padding: 32px 24px;
  }
}

/* ---- Admin Interface ---- */
.admin-login-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 50vh;
  gap: 16px;
  text-align: center;
}
.admin-login-container input {
  width: 100%;
  max-width: 400px;
}
.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.admin-header h2 {
  font-family: var(--serif);
  color: var(--sage-deeper);
  margin: 0;
}
.admin-tabs {
  display: flex;
  gap: 8px;
}
.admin-tabs .btn.active {
  background: var(--sage-deep);
  color: white;
  border-color: var(--sage-deep);
}
.admin-logout-btn {
  margin-left: 12px;
  color: var(--ink-soft);
  border-color: var(--line);
  font-size: 13px;
}
.admin-logout-btn:hover {
  color: #c0392b;
  border-color: #c0392b;
}
.admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 26px;
}
.admin-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}
.admin-select {
  flex: 1;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  font-family: var(--sans);
  background: white;
}
/* ---- Admin Table View ---- */
.admin-view-toggles {
  display: flex;
  gap: 8px;
  margin-right: auto;
  margin-left: 20px;
}
.admin-table-container {
  overflow-x: auto;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
.admin-table th, .admin-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}
.admin-table th {
  font-family: var(--sans);
  font-weight: 600;
  color: var(--ink-soft);
  background: var(--cream-soft);
}
.admin-table tr:last-child td {
  border-bottom: none;
}
.admin-table td.actions {
  display: flex;
  gap: 8px;
}
.admin-link {
  font-size: 12px;
  color: var(--sage-deeper);
  text-decoration: none;
  margin-left: 8px;
}
.admin-link:hover {
  text-decoration: underline;
}
/* ---- Admin Bulk Actions & Selection ---- */
.admin-bulk-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--cream-soft);
  padding: 12px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--sage-deep);
  margin-bottom: 24px;
}
.admin-bulk-actions span {
  font-family: var(--sans);
  font-weight: 600;
  color: var(--sage-deeper);
  margin-right: auto;
}
.checkbox-col {
  width: 40px;
  text-align: center;
}
.checkbox-col input[type="checkbox"],
.admin-card-select input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: var(--sage-deep);
}
.admin-row.selected {
  background-color: rgba(174, 212, 177, 0.2);
}
.card.admin-card {
  position: relative;
}
.card.admin-card.selected {
  border-color: var(--sage-deep);
  box-shadow: 0 0 0 2px rgba(92, 150, 104, 0.3);
}
.admin-card-select {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 10;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 4px;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---- Modal Details ---- */
.policy-intro {
  font-family: var(--serif);
  font-size: 18px !important;
  color: var(--ink);
  margin-bottom: 32px !important;
}
.modal-contact {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--ink-soft);
}
.link-btn.inline {
  display: inline;
  color: var(--sage-deeper);
  text-decoration: underline;
  padding: 0;
}
