:root {
  color-scheme: light;
  --bg: #f8f4ee;
  --surface: #fffaf5;
  --text: #241d26;
  --muted: #6b616d;
  --border: #e7ddd7;
  --primary: #7a55cd;
  --primary-dark: #5f3fb1;
  --accent: #c9a0f6;
  --focus: #ead9ff;
  --shadow: 0 18px 36px rgba(104, 78, 138, 0.12);
  --radius: 16px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  background: var(--bg);
  color: var(--text);
}

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

a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); text-decoration: underline; }

.container {
  width: min(1100px, 92vw);
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus {
  position: static;
  width: auto;
  height: auto;
  padding: 0.75rem 1rem;
  background: var(--focus);
  color: #000;
  z-index: 10;
}

.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 1rem;
}

.logo {
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
  padding: 0.45rem 0.7rem;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(214, 202, 188, 0.8);
  box-shadow: 0 16px 32px rgba(58, 44, 72, 0.08);
}
.logo-img {
  width: auto;
  height: 92px;
  max-width: min(50vw, 330px);
  object-fit: contain;
  flex: 0 0 auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.site-nav a {
  font-weight: 600;
  color: var(--text);
}

.nav-cta {
  background: var(--primary);
  color: #fff !important;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  font-weight: 700;
}

.nav-cta:hover { background: var(--primary-dark); text-decoration: none; }

.nav-toggle {
  display: none;
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 0.5rem 0.75rem;
  border-radius: 10px;
  font-size: 1rem;
}

.hero {
  padding: 3.5rem 0 2rem;
}

.hero-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  align-items: center;
}

.hero-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.hero h1 {
  font-size: clamp(2rem, 3vw, 2.8rem);
  margin: 0 0 1rem;
}

.hero p { color: var(--muted); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.45rem;
  border-radius: 999px;
  border: 2px solid transparent;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(180deg, #4166c1 0%, var(--primary) 55%, #294a98 100%);
  color: #fff;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.28),
    inset 0 -2px 0 rgba(20, 38, 87, 0.22),
    0 10px 22px rgba(35, 67, 145, 0.22);
}
.btn-primary:hover {
  background: linear-gradient(180deg, #3a5db4 0%, var(--primary-dark) 58%, #203a79 100%);
  color: #fff;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.24),
    inset 0 -2px 0 rgba(15, 28, 68, 0.24),
    0 14px 28px rgba(35, 67, 145, 0.28);
}
.btn-outline {
  border-color: rgba(47, 86, 179, 0.26);
  color: var(--primary);
  background: linear-gradient(180deg, #fffdf9 0%, #f7f0ea 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.85),
    inset 0 -1px 0 rgba(47, 86, 179, 0.08),
    0 8px 18px rgba(24, 39, 75, 0.08);
}
.btn-outline:hover {
  color: var(--primary-dark);
  border-color: rgba(47, 86, 179, 0.4);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.9),
    inset 0 -1px 0 rgba(47, 86, 179, 0.12),
    0 12px 24px rgba(24, 39, 75, 0.12);
}

.section {
  padding: 2.5rem 0;
}

.section-title {
  font-size: 1.8rem;
  margin-bottom: 0.75rem;
}

.section-subtitle {
  color: var(--muted);
  max-width: 720px;
}

.grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: 0 12px 28px rgba(24, 39, 75, 0.10);
}

.card h3 { margin-top: 0; }

.steps {
  counter-reset: step;
}

.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  position: relative;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: -16px;
  left: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
}

.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.form-field label { font-weight: 600; }
.form-field input, .form-field select, .form-field textarea {
  padding: 0.75rem 0.9rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  font-size: 1rem;
}

.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: 3px solid rgba(255, 191, 71, 0.5);
  border-color: var(--focus);
}

.alert {
  padding: 1rem;
  border-radius: 12px;
  border: 1px solid #f1c0c0;
  background: #fff4f4;
  color: #7f1b1b;
  margin-bottom: 1rem;
}

.site-footer {
  border-top: 1px solid var(--border);
  background: #fff;
  padding: 2rem 0;
  margin-top: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.footer-title { font-weight: 700; margin-bottom: 0.5rem; }

.small-text { color: var(--muted); font-size: 0.95rem; }

.badge {
  display: inline-block;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: rgba(53, 89, 224, 0.12);
  color: var(--primary-dark);
  font-weight: 600;
  font-size: 0.85rem;
}

.home-hero {
  padding: 3rem 0 2.5rem;
  background: linear-gradient(180deg, #f7f1e9 0%, #f8f4ee 70%);
}

.home-hero-shell {
  background: rgba(255,255,255,0.96);
  border: 1px solid var(--border);
  border-radius: 34px;
  padding: clamp(1.4rem, 2vw, 2.2rem);
  box-shadow: 0 18px 40px rgba(24, 39, 75, 0.08);
}

.home-hero-top {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.9fr);
  gap: 1.5rem;
  align-items: start;
}

.home-hero-side {
  display: grid;
  gap: 1rem;
}

.home-hero-image-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 18px 38px rgba(24, 39, 75, 0.12);
  min-height: 170px;
  max-height: 190px;
}

.home-hero-image-card img {
  display: block;
  width: 100%;
  height: 190px;
  object-fit: cover;
  object-position: center 36%;
}

.home-hero-copy h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.9rem, 6vw, 5.1rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  max-width: 10.5ch;
  margin: 1rem 0 1.2rem;
}

.home-hero-copy p {
  font-size: 1.1rem;
  max-width: 52ch;
  color: var(--muted);
}

.home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

.home-hero-panel {
  background: linear-gradient(180deg, #ffffff 0%, #f7f9ff 100%);
  border: 1px solid var(--border);
  border-radius: 26px;
  padding: 1.75rem;
  box-shadow: 0 18px 36px rgba(35, 67, 145, 0.12);
}

.home-hero-panel h2,
.home-step-card h3,
.home-support-card h3 {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--text);
}

.home-hero-panel h2 {
  font-size: clamp(1.8rem, 2.4vw, 2.4rem);
  line-height: 1.05;
  margin: 0 0 1rem;
}

.home-hero-panel ul {
  margin: 0 0 1.4rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.8rem;
}

.home-hero-panel li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 1.05rem;
}

.home-hero-panel li::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  position: absolute;
  left: 0;
  top: 0.5rem;
}

.home-step-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}

.home-step-card {
  background: linear-gradient(135deg, var(--primary) 0%, #284ca0 58%, #8f52df 100%);
  color: #fff;
  border-radius: 26px;
  padding: 1.5rem;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 22px 40px rgba(35, 67, 145, 0.20);
}

.home-step-kicker {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.82);
}

.home-step-card h3 {
  margin: 1rem 0 0.75rem;
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  line-height: 1;
  color: #fff;
}

.home-step-card p {
  margin: 0;
  font-size: 1.06rem;
  line-height: 1.45;
  color: rgba(255,255,255,0.92);
  max-width: 28ch;
}

.home-support-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.home-support-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 1.5rem;
  box-shadow: 0 16px 32px rgba(24, 39, 75, 0.10);
}

.home-support-card p {
  color: var(--muted);
  margin-bottom: 1rem;
}

.home-support-card-alt {
  background: linear-gradient(180deg, #fcfcff 0%, #f5f7ff 100%);
}

.obituary-shell {
  background: linear-gradient(180deg, #f5f8ff 0%, #ffffff 28%);
}

.obituary-cover {
  min-height: 440px;
  background: linear-gradient(180deg, rgba(31, 45, 68, 0.88), rgba(31, 45, 68, 0.66));
  background-size: cover;
  background-position: center;
  color: #fff;
  display: flex;
  align-items: end;
}

.obituary-cover-inner {
  width: 100%;
  padding: 3rem 0 2rem;
}

.obituary-cover-card {
  max-width: 720px;
  background: rgba(12, 20, 44, 0.42);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 28px;
  padding: 2rem;
  backdrop-filter: blur(8px);
  box-shadow: 0 22px 60px rgba(12, 20, 44, 0.22);
}

.obituary-status-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.14);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.obituary-cover-card h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  line-height: 0.95;
  margin: 0 0 0.75rem;
}

.obituary-subtitle,
.obituary-dates {
  font-size: 1.08rem;
  color: rgba(255,255,255,0.92);
}

.obituary-cover-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.obituary-main {
  margin-top: -2rem;
  position: relative;
  z-index: 2;
  padding-bottom: 3rem;
}

.obituary-anchor-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  margin-bottom: 1.5rem;
  padding: 1rem 1.25rem;
}

.obituary-anchor-nav a {
  font-weight: 700;
  color: var(--text);
}

.obituary-grid {
  display: grid;
  grid-template-columns: minmax(280px, 340px) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.obituary-side-column,
.obituary-content-column {
  display: grid;
  gap: 1.5rem;
}

.obituary-portrait-card,
.obituary-content-card {
  padding: 1.5rem;
}

.obituary-portrait-img {
  width: 100%;
  border-radius: 24px;
  display: block;
  margin-bottom: 1.25rem;
  box-shadow: 0 18px 38px rgba(24,39,75,0.14);
}

.obituary-quote {
  margin: 0 0 1.2rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
  line-height: 1.5;
  color: #2c3d67;
}

.obituary-meta-row,
.obituary-side-panel {
  border-top: 1px solid var(--border);
  padding-top: 1rem;
  margin-top: 1rem;
}

.obituary-meta-row {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.obituary-side-panel h3,
.obituary-content-card h2 {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--text);
}

.obituary-summary {
  font-size: 1.08rem;
  color: #334564;
  margin-bottom: 1rem;
}

.obituary-story-body,
.obituary-service-notes {
  color: var(--muted);
}

.obituary-service-notes.muted {
  background: #f8faff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1rem;
}

.obituary-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.9rem;
  margin-top: 1.2rem;
}

.obituary-highlight-pill {
  background: linear-gradient(180deg, #f9fbff 0%, #f3f6ff 100%);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1rem;
}

.obituary-highlight-pill .label {
  color: var(--muted);
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.obituary-highlight-pill .value {
  color: var(--text);
  font-weight: 800;
  margin-top: 0.3rem;
}

.obituary-service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.9rem;
  margin-bottom: 1rem;
}

.obituary-service-item {
  background: #fbf5ee;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.obituary-service-address {
  line-height: 1.7;
  margin-bottom: 1rem;
  color: #334564;
}

.obituary-service-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1rem;
}

.obituary-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.obituary-gallery-tile img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 14px 30px rgba(24,39,75,0.12);
}

.obituary-placeholder-box {
  border: 1px dashed rgba(47, 86, 179, 0.35);
  border-radius: 20px;
  padding: 1.2rem;
  background: #f8faff;
  color: var(--muted);
}

.obit-template-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.obit-template-option {
  display: block;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 1rem;
  background: #fff;
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(24,39,75,0.08);
}

.obit-template-option input { display: none; }
.obit-template-option.active {
  border-color: rgba(47, 86, 179, 0.45);
  box-shadow: 0 16px 30px rgba(35, 67, 145, 0.16);
}

.obit-template-preview {
  height: 170px;
  border-radius: 18px;
  margin-bottom: 0.9rem;
  border: 1px solid var(--border);
}

.obit-template-preview-classic {
  background: linear-gradient(180deg, rgba(31,45,68,0.78), rgba(31,45,68,0.32)), linear-gradient(135deg, #5a6fa9 0%, #d9e3fb 100%);
}

.obit-template-preview-dove {
  background: linear-gradient(180deg, rgba(255,255,255,0.25), rgba(255,255,255,0.05)), linear-gradient(135deg, #f5f8ff 0%, #e8edff 40%, #f9f4ff 100%);
}

.obit-template-preview-harvest {
  background: linear-gradient(180deg, rgba(84,56,32,0.32), rgba(84,56,32,0.08)), linear-gradient(135deg, #e7d3ba 0%, #f8efe2 45%, #dcc2a5 100%);
}

.obit-template-preview-meadow {
  background: linear-gradient(180deg, rgba(30,84,54,0.30), rgba(30,84,54,0.08)), linear-gradient(135deg, #dcebdc 0%, #f4fbf4 45%, #b9d2b7 100%);
}

.obit-template-preview-violet {
  background: linear-gradient(180deg, rgba(70,45,110,0.34), rgba(70,45,110,0.10)), linear-gradient(135deg, #ede5fb 0%, #faf7ff 50%, #d9c7f5 100%);
}

.obit-template-title {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--text);
  font-size: 1.2rem;
  margin-bottom: 0.3rem;
}

.obit-submit-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin-bottom: 2rem;
}

.obit-media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.obit-media-card,
.obit-gallery-manager-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(24,39,75,0.08);
}

.obit-media-card img,
.obit-gallery-manager-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.obit-media-card-body,
.obit-gallery-manager-controls {
  padding: 1rem;
}

.obit-gallery-manager {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.obit-upload-card {
  height: 100%;
  border: 1px solid rgba(121, 140, 177, 0.22);
  border-radius: 24px;
  padding: 1.2rem;
  background: linear-gradient(180deg, #fffdf9 0%, #f7f0ea 100%);
  box-shadow: 0 12px 28px rgba(24,39,75,0.06);
}

.obit-upload-meta {
  margin-top: 0.65rem;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
}

.obit-upload-thumb,
.obit-gallery-upload-strip {
  margin-top: 0.9rem;
}

.obit-upload-thumb img {
  width: 100%;
  max-height: 220px;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid rgba(121, 140, 177, 0.22);
  box-shadow: 0 10px 24px rgba(24,39,75,0.08);
}

.obit-gallery-upload-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 0.85rem;
}

.obit-gallery-upload-thumb img {
  width: 100%;
  height: 110px;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid rgba(121, 140, 177, 0.22);
  box-shadow: 0 8px 20px rgba(24,39,75,0.08);
}

.obituary-live-preview-callout {
  border: 1px dashed rgba(47, 86, 179, 0.35);
  border-radius: 18px;
  padding: 1rem 1.15rem;
  background: #f7f1ea;
  color: #355071;
}

.obit-live-preview {
  border: 1px solid rgba(121, 140, 177, 0.22);
  border-radius: 28px;
  overflow: hidden;
  background: #f9f3ed;
  box-shadow: 0 16px 36px rgba(24,39,75,0.08);
}

.obit-live-preview-cover {
  min-height: 280px;
  padding: 1.75rem;
  background: linear-gradient(180deg, rgba(19, 34, 73, 0.40), rgba(19, 34, 73, 0.76)), linear-gradient(135deg, #5b6fa7 0%, #dbe4fb 100%);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: end;
}

.obit-live-preview-cover-card {
  max-width: 720px;
  background: rgba(255,255,255,0.86);
  backdrop-filter: blur(8px);
  border-radius: 24px;
  padding: 1.4rem 1.5rem;
  box-shadow: 0 18px 38px rgba(24,39,75,0.14);
}

.obit-live-preview-cover-card h2 {
  margin: 0.35rem 0;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--text);
  font-size: clamp(1.8rem, 3vw, 2.7rem);
}

.obit-live-preview-subtitle,
.obit-live-preview-dates {
  color: #4e5f79;
}

.obit-live-preview-subtitle.is-placeholder,
.obit-live-preview-dates.is-placeholder {
  color: #8594ab;
}

.obit-live-preview-body {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.35fr);
  gap: 1.25rem;
  padding: 1.35rem;
}

.obit-live-preview-main,
.obit-live-preview-side {
  display: grid;
  gap: 1.25rem;
  align-content: start;
}

.obit-live-preview-panel {
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(121, 140, 177, 0.20);
  border-radius: 24px;
  padding: 1.2rem;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.8), 0 12px 28px rgba(24,39,75,0.05);
}

.obit-live-preview-portrait-wrap {
  margin-bottom: 1rem;
}

.obit-live-preview-portrait {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 14px 32px rgba(24,39,75,0.12);
}

.obit-live-preview-quote {
  font-style: italic;
  color: #324763;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.obit-live-preview-meta {
  display: grid;
  gap: 0.25rem;
  color: var(--text);
  margin-bottom: 1rem;
}

.obit-live-preview-meta-block {
  border-top: 1px solid rgba(121, 140, 177, 0.18);
  padding-top: 1rem;
}

.obit-live-preview-copy {
  color: var(--text);
  line-height: 1.75;
  margin-top: 0.9rem;
}

.obit-live-preview-copy.muted {
  color: var(--muted);
}

.obit-live-preview-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.85rem;
  margin-top: 1rem;
}

.obit-live-preview-highlight {
  border-radius: 18px;
  padding: 0.9rem 1rem;
  background: #f7efe8;
  border: 1px solid rgba(121, 140, 177, 0.16);
}

.obit-live-preview-highlight .label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 0.25rem;
}

.obit-live-preview-highlight .value {
  color: var(--text);
  font-weight: 700;
}

.obit-live-preview-service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.85rem;
  margin-top: 0.9rem;
}

.obit-live-preview-service-item {
  padding: 0.9rem 1rem;
  border-radius: 18px;
  background: #f9f3ed;
  border: 1px solid rgba(121, 140, 177, 0.18);
}

.obit-live-preview-service-item strong {
  display: block;
  color: var(--muted);
  margin-bottom: 0.35rem;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.obit-live-preview-service-address {
  margin-top: 1rem;
  padding: 1rem 1.05rem;
  border-radius: 18px;
  background: #fffaf5;
  border: 1px solid rgba(121, 140, 177, 0.18);
}

.obit-live-preview-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.9rem;
}

.obit-live-preview-gallery-item img {
  width: 100%;
  height: 145px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(24,39,75,0.10);
}

.obit-live-preview-empty {
  border: 1px dashed rgba(121, 140, 177, 0.28);
  border-radius: 18px;
  padding: 1rem;
  color: var(--muted);
  background: #fcf7f1;
}

.obituary-guestbook-section {
  overflow: hidden;
}

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

.obituary-guestbook-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: flex-end;
}

.obituary-guestbook-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  background: rgba(47, 86, 179, 0.12);
  color: var(--primary-dark);
  font-size: 0.82rem;
  font-weight: 700;
}

.obituary-guestbook-badge-soft {
  background: rgba(111, 76, 186, 0.10);
  color: #5e43a9;
}

.obituary-guestbook-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1.25fr);
  gap: 1.25rem;
  align-items: start;
}

.obituary-guestbook-panel {
  background: linear-gradient(180deg, #fffdf9 0%, #f7f0ea 100%);
  border: 1px solid rgba(121, 140, 177, 0.22);
  border-radius: 24px;
  padding: 1.35rem;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.8), 0 16px 36px rgba(24,39,75,0.06);
}

.obituary-guestbook-panel h3 {
  margin-bottom: 0.35rem;
}

.obituary-guestbook-form {
  padding: 0;
}

.obituary-guestbook-form-panel .form-control {
  border-radius: 16px;
}

.obituary-guestbook-form-actions {
  display: flex;
  gap: 0.85rem;
  align-items: center;
  flex-wrap: wrap;
}

.obituary-guestbook-list-panel {
  min-height: 100%;
}

.obituary-guestbook-list-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.obituary-guestbook-list {
  display: grid;
  gap: 1rem;
}

.obituary-guestbook-entry {
  background: linear-gradient(180deg, #fcfdff 0%, #f3f7ff 100%);
  border: 1px solid rgba(121, 140, 177, 0.22);
  border-radius: 20px;
  padding: 1.1rem 1.15rem;
  box-shadow: 0 10px 28px rgba(24,39,75,0.05);
}

.obituary-guestbook-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 0.7rem;
  color: var(--text);
}

.obituary-guestbook-date {
  color: var(--muted);
  font-size: 0.85rem;
  margin-top: 0.15rem;
}

.obituary-guestbook-message {
  color: var(--text);
  line-height: 1.7;
}

.obituary-template-soft-dove .obituary-cover {
  background: linear-gradient(180deg, rgba(235,241,255,0.92), rgba(248,245,255,0.88));
  color: var(--text);
}

.obituary-template-soft-dove .obituary-cover-card {
  background: rgba(255,255,255,0.72);
  border-color: rgba(47, 86, 179, 0.12);
}

.obituary-template-soft-dove .obituary-status-pill {
  background: rgba(47, 86, 179, 0.10);
  color: var(--primary-dark);
}

.obituary-template-soft-dove .obituary-cover-card h1,
.obituary-template-soft-dove .obituary-subtitle,
.obituary-template-soft-dove .obituary-dates {
  color: var(--text);
}

.obituary-template-warm-harvest .obituary-cover,
.obituary-template-warm-harvest .obit-live-preview-cover {
  background-color: #dbc0a1;
}

.obituary-template-warm-harvest .obituary-cover-card,
.obituary-template-warm-harvest .obit-live-preview-cover-card,
.obituary-template-warm-harvest .obit-live-preview-panel {
  background: rgba(255, 248, 240, 0.88);
  border-color: rgba(140, 102, 67, 0.16);
}

.obituary-template-warm-harvest .obituary-status-pill {
  background: rgba(140, 102, 67, 0.12);
  color: #7a5332;
}

.obituary-template-warm-harvest .obituary-anchor-nav,
.obituary-template-warm-harvest .obituary-content-card,
.obituary-template-warm-harvest .obituary-portrait-card,
.obituary-template-warm-harvest .obituary-side-panel,
.obituary-template-warm-harvest .obituary-service-item,
.obituary-template-warm-harvest .obituary-highlight-pill {
  background: linear-gradient(180deg, #fffaf4 0%, #f7ede0 100%);
  border-color: rgba(140, 102, 67, 0.14);
}

.obituary-template-warm-harvest .obituary-service-notes.muted,
.obituary-template-warm-harvest .obituary-placeholder-box,
.obituary-template-warm-harvest .obit-live-preview-empty,
.obituary-template-warm-harvest .obit-live-preview-highlight,
.obituary-template-warm-harvest .obit-live-preview-service-item,
.obituary-template-warm-harvest .obit-live-preview-service-address {
  background: #fcf4ea;
  border-color: rgba(140, 102, 67, 0.14);
}

.obituary-template-meadow-grace .obituary-cover,
.obituary-template-meadow-grace .obit-live-preview-cover {
  background-color: #b8d2be;
}

.obituary-template-meadow-grace .obituary-cover-card,
.obituary-template-meadow-grace .obit-live-preview-cover-card,
.obituary-template-meadow-grace .obit-live-preview-panel {
  background: rgba(247, 252, 247, 0.88);
  border-color: rgba(50, 110, 77, 0.16);
}

.obituary-template-meadow-grace .obituary-status-pill {
  background: rgba(50, 110, 77, 0.12);
  color: #2e6a4b;
}

.obituary-template-meadow-grace .obituary-anchor-nav,
.obituary-template-meadow-grace .obituary-content-card,
.obituary-template-meadow-grace .obituary-portrait-card,
.obituary-template-meadow-grace .obituary-side-panel,
.obituary-template-meadow-grace .obituary-service-item,
.obituary-template-meadow-grace .obituary-highlight-pill {
  background: linear-gradient(180deg, #f8fdf8 0%, #eef8ef 100%);
  border-color: rgba(50, 110, 77, 0.14);
}

.obituary-template-meadow-grace .obituary-service-notes.muted,
.obituary-template-meadow-grace .obituary-placeholder-box,
.obituary-template-meadow-grace .obit-live-preview-empty,
.obituary-template-meadow-grace .obit-live-preview-highlight,
.obituary-template-meadow-grace .obit-live-preview-service-item,
.obituary-template-meadow-grace .obit-live-preview-service-address {
  background: #eff8f0;
  border-color: rgba(50, 110, 77, 0.14);
}

.obituary-template-violet-remembrance .obituary-cover,
.obituary-template-violet-remembrance .obit-live-preview-cover {
  background-color: #d5c0f0;
}

.obituary-template-violet-remembrance .obituary-cover-card,
.obituary-template-violet-remembrance .obit-live-preview-cover-card,
.obituary-template-violet-remembrance .obit-live-preview-panel {
  background: rgba(251, 248, 255, 0.88);
  border-color: rgba(101, 72, 151, 0.16);
}

.obituary-template-violet-remembrance .obituary-status-pill {
  background: rgba(101, 72, 151, 0.12);
  color: #654897;
}

.obituary-template-violet-remembrance .obituary-anchor-nav,
.obituary-template-violet-remembrance .obituary-content-card,
.obituary-template-violet-remembrance .obituary-portrait-card,
.obituary-template-violet-remembrance .obituary-side-panel,
.obituary-template-violet-remembrance .obituary-service-item,
.obituary-template-violet-remembrance .obituary-highlight-pill {
  background: linear-gradient(180deg, #fcf9ff 0%, #f3ecfb 100%);
  border-color: rgba(101, 72, 151, 0.14);
}

.obituary-template-violet-remembrance .obituary-service-notes.muted,
.obituary-template-violet-remembrance .obituary-placeholder-box,
.obituary-template-violet-remembrance .obit-live-preview-empty,
.obituary-template-violet-remembrance .obit-live-preview-highlight,
.obituary-template-violet-remembrance .obit-live-preview-service-item,
.obituary-template-violet-remembrance .obit-live-preview-service-address {
  background: #f6f0fd;
  border-color: rgba(101, 72, 151, 0.14);
}

.app body, body.app {
  background: #f5f0ea;
}

.app .navbar {
  border-bottom: 1px solid var(--border) !important;
  background: #ffffff !important;
  box-shadow: 0 6px 20px rgba(24, 39, 75, 0.06);
}

.app .navbar-brand {
  font-weight: 700;
  color: var(--text) !important;
}

.app .nav-link {
  font-weight: 600;
  color: var(--text) !important;
}

.app .nav-link.active,
.app .nav-link:hover {
  color: var(--primary) !important;
}

.app .container {
  max-width: 1100px;
}

.app .card {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: 0 8px 20px rgba(24, 39, 75, 0.08);
}

.app .card h5,
.app .card h6 {
  font-weight: 700;
}

.app .text-muted {
  color: var(--muted) !important;
}

.app .btn-primary {
  background: linear-gradient(180deg, #4166c1 0%, var(--primary) 55%, #294a98 100%);
  border-color: #274a98;
  color: #fff;
  font-weight: 700;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.28),
    inset 0 -2px 0 rgba(20, 38, 87, 0.22),
    0 10px 22px rgba(35, 67, 145, 0.18);
}

.app .btn-primary:hover {
  background: linear-gradient(180deg, #3a5db4 0%, var(--primary-dark) 58%, #203a79 100%);
  border-color: #203a79;
  color: #fff;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.24),
    inset 0 -2px 0 rgba(15, 28, 68, 0.24),
    0 14px 28px rgba(35, 67, 145, 0.24);
}

.app .btn-outline-primary,
.app .btn-outline-light {
  border-color: rgba(47, 86, 179, 0.26);
  color: var(--primary);
  font-weight: 700;
  background: linear-gradient(180deg, #fffdf9 0%, #f7f0ea 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.85),
    inset 0 -1px 0 rgba(47, 86, 179, 0.08),
    0 8px 18px rgba(24, 39, 75, 0.08);
}

.app .btn-outline-primary:hover,
.app .btn-outline-light:hover {
  background: linear-gradient(180deg, #ffffff 0%, #eef3ff 100%);
  border-color: rgba(47, 86, 179, 0.4);
  color: var(--primary-dark);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.9),
    inset 0 -1px 0 rgba(47, 86, 179, 0.12),
    0 12px 24px rgba(24, 39, 75, 0.12);
}

.app .form-control,
.app .form-select,
.app .form-check-input {
  border-radius: 10px;
  border-color: var(--border);
  font-size: 1rem;
}

.app .form-control:focus,
.app .form-select:focus,
.app .form-check-input:focus {
  border-color: var(--focus);
  box-shadow: 0 0 0 0.2rem rgba(255, 191, 71, 0.35);
}

.app table {
  border-color: var(--border);
}

.app .table thead th {
  background: #f0e8e2;
  font-weight: 700;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}

.app .alert {
  border-radius: 12px;
}

/* Modern logged-in app shell */
body.app-modern {
  background: #f6f1ea;
  color: #241d26;
  font-family: Inter, "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif;
}

.app-modern .app-shell {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  min-height: 100vh;
}

.app-modern .app-sidebar {
  background: linear-gradient(180deg, #f8f2eb 0%, #f2ecf8 100%);
  border-right: 1px solid #dbe4f8;
  padding: 2rem 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
}

.app-modern .app-brand {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
  width: 100%;
  max-width: 270px;
  margin: 0 auto 2rem;
  color: #241d26;
  text-decoration: none;
  padding: 0.9rem 0.95rem 0.8rem;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(218, 205, 231, 0.92);
  box-shadow: 0 16px 30px rgba(61, 45, 78, 0.08);
}
.app-modern .app-brand img {
  width: 100%;
  max-width: 248px;
  height: auto;
  object-fit: contain;
  border-radius: 0;
  background: transparent;
  padding: 0;
  box-shadow: none;
}
.app-modern .app-brand-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
  font-weight: 700;
}
.app-modern .app-brand-subtitle,
.app-modern .app-sidebar-section,
.app-modern .app-user-role,
.app-modern .app-topbar-kicker {
  color: #7a687f;
  font-size: 0.9rem;
}
.app-modern .app-sidebar-section {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.8rem;
}
.app-modern .app-brand-title {
  display: none;
}
.app-modern .app-brand-subtitle {
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: center;
}
.app-modern .app-nav {
  display: grid;
  gap: 0.45rem;
}
.app-modern .app-nav-link {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: #2c4050;
  padding: 0.9rem 1rem;
  border-radius: 18px;
  font-weight: 600;
  text-decoration: none;
}
.app-modern .app-nav-link:hover,
.app-modern .app-nav-link.active {
  background: #fffaf5;
  color: #183547;
  box-shadow: 0 12px 26px rgba(111, 73, 198, 0.12);
  text-decoration: none;
}
.app-modern .app-nav-icon {
  width: 28px;
  text-align: center;
  opacity: 0.75;
}
.app-modern .app-user-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: rgba(255,255,255,0.72);
  border: 1px solid #ddd3c4;
  padding: 0.9rem 1rem;
  border-radius: 20px;
}
.app-modern .app-user-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0A64FF 0%, #B23BFF 100%);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
}
.app-modern .app-user-name {
  font-weight: 700;
  color: #241d26;
}
.app-modern .app-logout {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 0.9rem;
  padding: 0.9rem 1.1rem;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f6f8fc 100%);
  border: 1px solid rgba(121, 140, 177, 0.28);
  color: #24485d;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(24,39,75,0.08);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
.app-modern .app-logout:hover {
  color: #163344;
  text-decoration: none;
  background: linear-gradient(180deg, #ffffff 0%, #eef4ff 100%);
  border-color: rgba(47, 86, 179, 0.28);
  box-shadow: 0 14px 30px rgba(24,39,75,0.12);
  transform: translateY(-1px);
}

.app-modern .app-main-shell {
  padding: 1.75rem 2rem 1.5rem;
}
.app-modern .app-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.app-modern .app-topbar-title {
  font-family: Georgia, "Times New Roman", serif;
  color: #241d26;
  font-size: clamp(2rem, 3.4vw, 2.7rem);
  margin: 0.15rem 0 0;
}
.app-modern .app-topbar-actions {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.app-modern .app-topbar-alerts {
  position: relative;
}
.app-modern .app-topbar-alert-button {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  border: 1px solid rgba(123, 85, 205, 0.16);
  background: rgba(255,255,255,0.92);
  color: #2f2740;
  border-radius: 999px;
  padding: 0.8rem 1rem;
  font-weight: 700;
  box-shadow: 0 16px 34px rgba(93, 67, 122, 0.12);
}
.app-modern .app-topbar-alert-button:hover {
  background: #fff;
}
.app-modern .app-topbar-alert-icon {
  font-size: 1rem;
  line-height: 1;
}
.app-modern .app-topbar-alert-badge {
  min-width: 1.45rem;
  height: 1.45rem;
  border-radius: 999px;
  padding: 0 0.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #7a55cd;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
}
.app-modern .app-topbar-alert-panel {
  position: absolute;
  top: calc(100% + 0.8rem);
  right: 0;
  width: min(24rem, 88vw);
  background: rgba(255,255,255,0.98);
  border: 1px solid #eadfd8;
  border-radius: 1.35rem;
  box-shadow: 0 24px 50px rgba(73, 51, 104, 0.18);
  padding: 1rem;
  z-index: 30;
}
.app-modern .app-topbar-alert-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.9rem;
}
.app-modern .app-topbar-alert-panel-kicker {
  color: #907c73;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.15rem;
}
.app-modern .app-topbar-alert-panel-title {
  color: #241d26;
  font-size: 1rem;
  font-weight: 700;
}
.app-modern .app-topbar-alert-text-button {
  border: 0;
  background: transparent;
  color: #7a55cd;
  font-weight: 700;
  padding: 0;
}
.app-modern .app-topbar-alert-list {
  display: grid;
  gap: 0.7rem;
}
.app-modern .app-topbar-alert-item {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  padding: 0.8rem;
  border-radius: 1rem;
  background: #fbf8f5;
  border: 1px solid #efe5de;
}
.app-modern .app-topbar-alert-item.unread {
  background: #f5f0ff;
  border-color: #dbcafc;
}
.app-modern .app-topbar-alert-item.severity-warning {
  background: #fff7eb;
  border-color: #f2d8ad;
}
.app-modern .app-topbar-alert-item.severity-urgent {
  background: #fff0ef;
  border-color: #f3c2bc;
}
.app-modern .app-topbar-alert-link {
  display: flex;
  gap: 0.7rem;
  flex: 1;
  color: inherit;
  text-decoration: none;
}
.app-modern .app-topbar-alert-link:hover {
  color: inherit;
  text-decoration: none;
}
.app-modern .app-topbar-alert-dot {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 999px;
  background: #7a55cd;
  margin-top: 0.3rem;
  box-shadow: 0 0 0 5px rgba(122, 85, 205, 0.12);
  flex: 0 0 auto;
}
.app-modern .app-topbar-alert-item.severity-success .app-topbar-alert-dot { background: #3f8c5a; box-shadow: 0 0 0 5px rgba(63, 140, 90, 0.12); }
.app-modern .app-topbar-alert-item.severity-warning .app-topbar-alert-dot { background: #c18a27; box-shadow: 0 0 0 5px rgba(193, 138, 39, 0.12); }
.app-modern .app-topbar-alert-item.severity-urgent .app-topbar-alert-dot { background: #cf5b50; box-shadow: 0 0 0 5px rgba(207, 91, 80, 0.12); }
.app-modern .app-topbar-alert-copy {
  display: grid;
  gap: 0.2rem;
}
.app-modern .app-topbar-alert-title {
  color: #241d26;
  font-weight: 700;
  line-height: 1.3;
}
.app-modern .app-topbar-alert-body {
  color: #6f5c56;
  font-size: 0.92rem;
  line-height: 1.4;
}
.app-modern .app-topbar-alert-meta {
  color: #9a877e;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.app-modern .app-topbar-alert-dismiss {
  border: 0;
  background: transparent;
  color: #a38f86;
  font-size: 1.15rem;
  line-height: 1;
  padding: 0.15rem 0.1rem;
}
.app-modern .app-topbar-alert-empty {
  padding: 1rem 0.25rem 0.35rem;
  color: #7e6b64;
  font-size: 0.95rem;
}
.app-modern .is-hidden {
  display: none !important;
}
.app-modern .app-main-content { padding-bottom: 1.5rem; }
.app-modern .app-footer {
  color: #8a7971;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0 0.5rem;
  font-size: 0.92rem;
}

.app-modern .container {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
}
.app-modern .py-5 { padding-top: 0 !important; padding-bottom: 0 !important; }
.app-modern .card {
  border: 1px solid #e7ddd7;
  border-radius: 26px;
  box-shadow: 0 18px 36px rgba(104, 78, 138, 0.10);
  background: rgba(255,255,255,0.98);
}
.app-modern .btn {
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.app-modern .btn:hover {
  transform: translateY(-1px);
  text-decoration: none;
}
.app-modern .btn-primary,
.app-modern .btn-success {
  background: linear-gradient(180deg, #4166c1 0%, var(--primary) 55%, #294a98 100%);
  border-color: #274a98;
  color: #fff;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.28),
    inset 0 -2px 0 rgba(20, 38, 87, 0.22),
    0 10px 22px rgba(35, 67, 145, 0.18);
}
.app-modern .btn-primary:hover,
.app-modern .btn-success:hover {
  background: linear-gradient(180deg, #3a5db4 0%, var(--primary-dark) 58%, #203a79 100%);
  border-color: #203a79;
  color: #fff;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.24),
    inset 0 -2px 0 rgba(15, 28, 68, 0.24),
    0 14px 28px rgba(35, 67, 145, 0.24);
}
.app-modern .btn-outline-light,
.app-modern .btn-outline-secondary,
.app-modern .btn-outline-info,
.app-modern .btn-outline-danger {
  background: linear-gradient(180deg, #fffdf9 0%, #f7f0ea 100%);
  border-color: rgba(47, 86, 179, 0.26);
  color: var(--primary);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.85),
    inset 0 -1px 0 rgba(47, 86, 179, 0.08),
    0 8px 18px rgba(24, 39, 75, 0.08);
}
.app-modern .btn-outline-light:hover,
.app-modern .btn-outline-secondary:hover,
.app-modern .btn-outline-info:hover,
.app-modern .btn-outline-danger:hover {
  background: linear-gradient(180deg, #ffffff 0%, #eef3ff 100%);
  border-color: rgba(47, 86, 179, 0.4);
  color: var(--primary-dark);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.9),
    inset 0 -1px 0 rgba(47, 86, 179, 0.12),
    0 12px 24px rgba(24, 39, 75, 0.12);
}
.app-modern .form-control,
.app-modern .form-select {
  border-radius: 16px;
  border-color: #e7ddd7;
  min-height: 48px;
}
.app-modern .table {
  --bs-table-bg: transparent;
  border-collapse: separate;
  border-spacing: 0 10px;
}
.app-modern .table thead th {
  background: transparent;
  border: none;
  color: #8a7971;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.app-modern .table tbody tr {
  background: #fff;
  box-shadow: 0 10px 30px rgba(37,52,66,0.05);
}
.app-modern .table tbody td {
  border-top: none;
  border-bottom: none;
  vertical-align: middle;
}
.app-modern .table tbody tr td:first-child {
  border-top-left-radius: 18px;
  border-bottom-left-radius: 18px;
}
.app-modern .table tbody tr td:last-child {
  border-top-right-radius: 18px;
  border-bottom-right-radius: 18px;
}

.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.9fr);
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}
.page-hero-main,
.page-hero-side,
.panel-card,
.section-card,
.stat-card-modern,
.quick-card {
  background: rgba(255,255,255,0.94);
  border: 1px solid #ebe3d7;
  border-radius: 28px;
  box-shadow: 0 16px 40px rgba(76,49,207,0.08);
}
.page-hero-main,
.page-hero-side,
.panel-card,
.section-card,
.quick-card { padding: 1.6rem; }
.page-overline {
  color: #8a7971;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.82rem;
  margin-bottom: 0.7rem;
}
.page-title-modern {
  font-family: Georgia, "Times New Roman", serif;
  color: #241d26;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1.05;
  margin: 0 0 0.8rem;
}
.page-text-modern { color: #6b7380; max-width: 62ch; }
.pill-row,
.quick-links-grid,
.stats-modern,
.message-summary-grid,
.message-board-grid { display: grid; gap: 1rem; }
.pill-row {
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  margin-top: 1.1rem;
}
.stat-pill {
  background: rgba(255,255,255,0.96);
  border: 1px solid #e8dfd6;
  border-radius: 22px;
  padding: 0.9rem 1rem;
  box-shadow: 0 12px 28px rgba(76,49,207,0.06);
}
.stat-pill .label,
.metric-label {
  color: #8a7971;
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.stat-pill .value,
.metric-value { font-size: 1.45rem; font-weight: 800; color: #241d26; }
.sidebar-note {
  background: rgba(255,255,255,0.96);
  border-radius: 22px;
  padding: 1rem 1.1rem;
  border: 1px solid #e8dfd6;
  box-shadow: 0 12px 28px rgba(76,49,207,0.06);
}
.stats-modern { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 1.5rem; }
.stat-card-modern { padding: 1.4rem; }
.metric-trend { color: #6b7380; font-size: 0.95rem; margin-top: 0.5rem; }
.quick-links-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.quick-card-title { font-family: Georgia, "Times New Roman", serif; color: #241d26; font-size: 1.35rem; margin-bottom: 0.55rem; }
.quick-card p { color: #6f6872; min-height: 72px; }
.quick-card a.btn { margin-top: 0.45rem; }
.feature-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #efe5fb;
  color: #8e42f8;
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-size: 0.85rem;
  font-weight: 700;
}
.section-card h3,
.panel-card h3 {
  font-family: Georgia, "Times New Roman", serif;
  color: #241d26;
  margin-bottom: 0.8rem;
}
.message-board-grid { grid-template-columns: minmax(0, 1.6fr) minmax(290px, 0.9fr); margin-top: 1.4rem; }
.message-summary-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 1.2rem; }
.message-summary-card {
  background: rgba(255,255,255,0.96);
  border-radius: 22px;
  padding: 1.1rem;
  border: 1px solid #e8dfd6;
  box-shadow: 0 12px 28px rgba(76,49,207,0.06);
}
.inline-panel-card {
  background: rgba(255,255,255,0.96);
  border: 1px solid #e8dfd6;
  border-radius: 22px;
  box-shadow: 0 12px 28px rgba(76,49,207,0.06);
}
.message-list-card { padding: 1.4rem; }
.message-list-card + .message-list-card { margin-top: 1rem; }
.compose-stack { display: grid; gap: 0.85rem; }
.compose-stack .btn { justify-content: center; }
.helper-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.75rem; }
.helper-list li {
  background: #f9f3ed;
  border-radius: 18px;
  padding: 0.95rem 1rem;
  border: 1px solid #e7ddd7;
}
.message-type-pill {
  display: inline-flex;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: #f2ebe8;
  color: #30576b;
  font-weight: 700;
  font-size: 0.82rem;
}
.message-status-pill {
  display: inline-flex;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: #f0e6ff;
  color: #7a55cd;
  font-weight: 700;
  font-size: 0.82rem;
}
.message-status-pill.pending { background: #efe5fb; color: #8e42f8; }
.message-status-pill.success { background: #e8f6ee; color: #26724a; }
.message-status-pill.warning { background: #fff1e8; color: #b35a1f; }
.message-actions-inline { display: flex; flex-wrap: wrap; gap: 0.5rem; }

/* Direct obituary editor */
.obituary-editor-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(340px, 0.85fr);
  gap: 1.25rem;
  align-items: start;
}

.obituary-editor-canvas-shell,
.obituary-editor-inspector {
  padding: 1.25rem;
}

.obituary-editor-canvas-topbar,
.obituary-editor-inspector-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.obituary-editor-inspector {
  position: sticky;
  top: 1.25rem;
}

.obituary-editor-active-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, #eef4ff 0%, #f4ecff 100%);
  color: #30576b;
  font-weight: 800;
  padding: 0.45rem 0.85rem;
  white-space: nowrap;
}

.obituary-editor-panel-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.obituary-editor-panel-tab {
  border: 1px solid #e7ddd7;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  color: #2f4f72;
  border-radius: 999px;
  padding: 0.55rem 0.9rem;
  font-weight: 700;
}

.obituary-editor-panel-tab.active {
  background: linear-gradient(135deg, #eaf2ff 0%, #f5edff 100%);
  border-color: rgba(47, 86, 179, 0.34);
  box-shadow: 0 10px 22px rgba(35, 67, 145, 0.10);
}

.obituary-editor-panel {
  display: none;
}

.obituary-editor-panel.is-active {
  display: block;
}

.obituary-editor-panel-title {
  font-family: Georgia, "Times New Roman", serif;
  color: #241d26;
  font-size: 1.35rem;
  margin-bottom: 0.9rem;
}

.obituary-editor-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.obituary-editor-field-span-2 {
  grid-column: span 2;
}

.obituary-editor-field-stack {
  display: grid;
  gap: 1rem;
}

.obituary-editor-highlights-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.obituary-editor-highlight-card,
.obituary-editor-upload-box,
.obituary-editor-publish-box {
  background: linear-gradient(180deg, #fffdf9 0%, #f7f0ea 100%);
  border: 1px solid #e7ddd7;
  border-radius: 20px;
  padding: 1rem;
}

.obituary-editor-upload-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.obituary-editor-upload-box-full {
  grid-column: span 2;
}

.obituary-editor-submit-bar {
  margin-top: 1.25rem;
  margin-bottom: 0;
  padding-top: 1rem;
  border-top: 1px solid #e4eaf6;
}

.obituary-editor-share-stack {
  display: grid;
  gap: 0.6rem;
}

.obituary-editor-share-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: center;
}

.obituary-editor-qr-wrap {
  margin-top: 1rem;
  border: 1px solid #e7ddd7;
  border-radius: 24px;
  background: linear-gradient(180deg, #fffdf9 0%, #f7f0ea 100%);
  padding: 1rem;
  display: grid;
  place-items: center;
  min-height: 252px;
}

.obituary-editor-qr-wrap img {
  width: 220px;
  max-width: 100%;
  border-radius: 18px;
  background: #fff;
  padding: 0.5rem;
  border: 1px solid rgba(121, 140, 177, 0.22);
}

.obituary-editor-qr-wrap.is-empty {
  color: var(--muted);
}

.obituary-editor-qr-wrap.is-empty::before {
  content: "QR code will appear after save";
}

.obituary-editor-qr-wrap.is-empty img {
  display: none;
}

.obituary-editor-theme-strip-wrap {
  margin-bottom: 1rem;
}

.obituary-editor-theme-strip {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.obituary-editor-theme-strip .obit-template-option {
  padding: 0.8rem;
}

.obituary-editor-theme-strip .obit-template-preview {
  height: 120px;
}

.obituary-editor-canvas {
  overflow: visible;
}

.obituary-editor-target {
  position: relative;
  cursor: pointer;
  transition: box-shadow 0.18s ease, outline-color 0.18s ease, transform 0.18s ease;
}

.obituary-editor-target:hover {
  outline: 2px dashed rgba(47, 86, 179, 0.28);
  outline-offset: 6px;
}

.is-active-edit-target {
  outline: 2px solid rgba(47, 86, 179, 0.30);
  outline-offset: 6px;
}

.obituary-editor-image-target {
  position: relative;
}

.obituary-editor-image-chip {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  z-index: 3;
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(12, 20, 44, 0.56);
  color: #fff;
  border-radius: 999px;
  padding: 0.5rem 0.85rem;
  font-weight: 700;
  backdrop-filter: blur(6px);
}

.obituary-editor-gallery-featured {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.obituary-editor-gallery-slot {
  position: relative;
  min-height: 170px;
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(180deg, #f9fbff 0%, #eff4ff 100%);
  border: 1px solid rgba(121, 140, 177, 0.20);
  display: flex;
  align-items: stretch;
}

.obituary-editor-gallery-slot img {
  width: 100%;
  height: 100%;
  min-height: 170px;
  object-fit: cover;
  display: none;
}

.obituary-editor-gallery-slot .obituary-placeholder-box {
  width: 100%;
  min-height: 170px;
  border: none;
  border-radius: 0;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 1rem;
}

.obituary-editor-gallery-slot-label {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 2;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.88);
  color: #30425c;
  font-size: 0.82rem;
  font-weight: 800;
}

.obituary-editor-gallery-action-row {
  margin-top: 1rem;
}

.obituary-editor-template-grid {
  grid-template-columns: 1fr;
}

.obituary-directory-hero-grid {
  align-items: stretch;
}

.obituary-directory-search {
  display: grid;
  gap: 0.85rem;
}

.obituary-directory-search-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.obituary-directory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.25rem;
}

.obituary-directory-card {
  background: #fff;
  border: 1px solid #e7ddd7;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(24,39,75,0.08);
}

.obituary-directory-card-cover {
  min-height: 220px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-start;
  padding: 1rem;
}

.obituary-directory-card-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: rgba(255,255,255,0.18);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(8px);
  padding: 0.45rem 0.8rem;
  font-size: 0.82rem;
  font-weight: 800;
}

.obituary-directory-card-body {
  padding: 1.2rem;
}

.obituary-directory-card-head {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  margin-bottom: 1rem;
}

.obituary-directory-card-portrait {
  width: 88px;
  height: 88px;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 14px 28px rgba(24,39,75,0.14);
}

.obituary-directory-card-head h2 {
  margin: 0 0 0.3rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
}

.obituary-directory-card-head h2 a {
  color: #241d26;
}

.obituary-directory-card-subtitle,
.obituary-directory-card-dates {
  color: var(--muted);
}

.obituary-directory-card-meta {
  display: grid;
  gap: 0.25rem;
  padding: 0.9rem 1rem;
  border-radius: 18px;
  background: linear-gradient(180deg, #f8fbff 0%, #f4f7ff 100%);
  border: 1px solid #e7ddd7;
  margin-bottom: 1rem;
}

.obituary-directory-card-summary {
  color: #324763;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.obituary-directory-card-summary.is-empty {
  color: var(--muted);
}

.obituary-directory-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.obituary-directory-empty {
  padding: 2rem;
}

/* Luxe homepage concept */
body.home-luxe {
  background:
    radial-gradient(circle at 15% 20%, rgba(171, 131, 230, 0.18), transparent 26%),
    radial-gradient(circle at 88% 38%, rgba(206, 166, 110, 0.14), transparent 28%),
    radial-gradient(circle at 18% 82%, rgba(146, 120, 224, 0.14), transparent 24%),
    linear-gradient(180deg, #f6f1e9 0%, #f8f5ef 48%, #f4efe7 100%);
  color: #221f22;
}

.home-luxe .site-header {
  background: rgba(250, 247, 242, 0.76);
  border-bottom: 1px solid rgba(94, 76, 126, 0.12);
  backdrop-filter: blur(10px);
}

.home-luxe .site-nav a,
.home-luxe .logo {
  color: #241f27;
}

.home-luxe .logo-img {
  width: auto;
  height: 92px;
  flex: 0 0 auto;
}

.home-luxe .logo {
  gap: 0;
  font-size: inherit;
}

.home-luxe .nav-cta,
.home-luxe .btn-primary {
  background: linear-gradient(135deg, #7f59d4 0%, #8a63d8 45%, #6f49c6 100%);
  border-color: #6f49c6;
  box-shadow: 0 12px 24px rgba(111, 73, 198, 0.22);
}

.home-luxe .nav-cta:hover,
.home-luxe .btn-primary:hover {
  background: linear-gradient(135deg, #724bc9 0%, #7c56cf 45%, #663ebe 100%);
}

.home-luxe .btn-outline {
  border-color: rgba(106, 84, 154, 0.22);
  color: #5f4a90;
  background: rgba(255,255,255,0.75);
}

.home-luxe-hero {
  padding: 3.5rem 0 2.5rem;
}

.home-luxe-intro {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 2rem;
}

.home-luxe-kicker,
.home-luxe-section-intro .badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  background: rgba(255,255,255,0.6);
  border: 1px solid rgba(111, 73, 198, 0.12);
  color: #6d58a4;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.home-luxe-intro h1,
.home-luxe-section-intro h2,
.home-luxe-stage-overlay h2,
.home-luxe-final-card h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -0.04em;
  color: #1f171d;
}

.home-luxe-intro h1 {
  font-size: clamp(3.3rem, 8vw, 5.9rem);
  line-height: 0.95;
  margin: 1rem 0 1rem;
}

.home-luxe-intro p {
  color: #5f575d;
  font-size: 1.12rem;
  max-width: 42rem;
  margin: 0 auto;
}

.home-luxe-stage {
  background: rgba(255,255,255,0.62);
  border: 1px solid rgba(114, 89, 170, 0.12);
  border-radius: 34px;
  overflow: hidden;
  box-shadow: 0 28px 60px rgba(83, 65, 112, 0.12);
}

.home-luxe-stage-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.4rem;
  background: rgba(255,255,255,0.86);
  border-bottom: 1px solid rgba(114, 89, 170, 0.10);
}

.home-luxe-stage-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: #281e2d;
}

.home-luxe-stage-brand img {
  width: 70px;
  height: 70px;
  object-fit: contain;
}

.home-luxe-stage-brand-name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  color: #231d26;
}

.home-luxe-stage-brand-tag {
  color: #665d67;
  font-size: 0.95rem;
}

.home-luxe-stage-top-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.home-luxe-stage-hero {
  min-height: 430px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.home-luxe-stage-overlay {
  max-width: 760px;
  text-align: center;
}

.home-luxe-soft-badge {
  background: rgba(255,255,255,0.72);
  color: #6c58a8;
  border: 1px solid rgba(111, 73, 198, 0.12);
}

.home-luxe-stage-overlay h2 {
  font-size: clamp(2.6rem, 6vw, 4.7rem);
  line-height: 0.94;
  margin: 1rem 0 1rem;
  text-shadow: 0 10px 24px rgba(255,255,255,0.18);
}

.home-luxe-stage-overlay p {
  color: rgba(41, 28, 39, 0.84);
  max-width: 38rem;
  margin: 0 auto;
}

.home-luxe-hero-actions {
  justify-content: center;
  margin-top: 1.4rem;
}

.home-luxe-feature-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding: 1.25rem;
  background: linear-gradient(180deg, rgba(247, 242, 235, 0.86) 0%, rgba(249, 245, 239, 0.96) 100%);
}

.home-luxe-feature-card,
.home-luxe-process-card,
.home-luxe-collection-card,
.home-luxe-plan-card,
.home-luxe-final-card {
  background: rgba(255,255,255,0.86);
  border: 1px solid rgba(114, 89, 170, 0.10);
  border-radius: 26px;
  box-shadow: 0 18px 36px rgba(70, 51, 97, 0.08);
}

.home-luxe-feature-card {
  padding: 1.2rem;
}

.home-luxe-feature-card-accent {
  background: linear-gradient(135deg, #b99af0 0%, #a983ea 100%);
  color: #17131a;
}

.home-luxe-feature-card-accent p,
.home-luxe-feature-card-accent h3,
.home-luxe-feature-card-accent .home-luxe-feature-icon {
  color: #17131a;
  text-shadow: none;
}

.home-luxe-feature-card-accent .home-luxe-feature-icon {
  background: rgba(255,255,255,0.34);
}

.home-luxe-feature-icon,
.home-luxe-process-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(116, 92, 181, 0.10);
  color: #7357b9;
  font-size: 1.2rem;
  margin-bottom: 0.85rem;
}

.home-luxe-process-section,
.home-luxe-collection-section,
.home-luxe-plan-section,
.home-luxe-final-section {
  padding: 3rem 0;
}

.home-luxe-section-intro {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 1.75rem;
}

.home-luxe-section-intro h2 {
  font-size: clamp(2.6rem, 5vw, 4.1rem);
  margin: 1rem 0 0.75rem;
}

.home-luxe-section-intro p {
  color: #5e565d;
}

.home-luxe-process-grid,
.home-luxe-collection-grid,
.home-luxe-plan-grid {
  display: grid;
  gap: 1.15rem;
}

.home-luxe-process-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-luxe-process-card,
.home-luxe-collection-card,
.home-luxe-plan-card {
  padding: 1.5rem;
}

.home-luxe-process-card p,
.home-luxe-collection-card p,
.home-luxe-plan-card p,
.home-luxe-feature-card p {
  color: #60585f;
}

.home-luxe-collection-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.home-luxe-collection-card-accent {
  background: linear-gradient(180deg, rgba(143, 111, 213, 0.14) 0%, rgba(255,255,255,0.9) 100%);
}

.home-luxe-plan-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.home-luxe-plan-name {
  color: #6e58a6;
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.home-luxe-plan-price {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.6rem;
  line-height: 1;
  margin: 0.8rem 0;
  color: #20181d;
}

.home-luxe-plan-price span {
  font-size: 1rem;
  color: #69606a;
}

.home-luxe-plan-card ul {
  padding-left: 1.1rem;
  color: #564f57;
}

.home-luxe-final-card {
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.home-luxe-final-card p {
  color: #5e565d;
  max-width: 40rem;
}

.home-luxe-final-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* Dashboard mockups */
.dashboard-mockup-shell {
  display: grid;
  gap: 1.25rem;
}

.dashboard-mockup-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.8fr);
  gap: 1rem;
  align-items: start;
}

.dashboard-mockup-hero-note,
.dashboard-mockup-main-card,
.dashboard-mockup-stat-card,
.dashboard-mockup-panel,
.dashboard-mockup-mini-card,
.dashboard-mockup-mini-stats,
.dashboard-mockup-panel-accent {
  background: rgba(255,250,245,0.94);
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow: 0 18px 38px rgba(96, 74, 122, 0.08);
}

.dashboard-mockup-hero-note,
.dashboard-mockup-main-card,
.dashboard-mockup-panel,
.dashboard-mockup-panel-accent { padding: 1.5rem; }

.dashboard-mockup-hero-note {
  color: var(--muted);
}

.dashboard-mockup-focus-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) 260px;
  gap: 1rem;
}

.dashboard-mockup-primary-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 1.25rem;
}

.dashboard-mockup-action-card {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  padding: 1rem;
  border-radius: 22px;
  background: linear-gradient(180deg, #fffdf9 0%, #f7efe8 100%);
  border: 1px solid var(--border);
  color: var(--text);
}

.dashboard-mockup-action-card:hover {
  text-decoration: none;
  box-shadow: 0 14px 28px rgba(96, 74, 122, 0.10);
}

.dashboard-mockup-action-card strong,
.dashboard-mockup-action-card span {
  display: block;
}

.dashboard-mockup-action-card span {
  color: var(--muted);
  font-size: 0.95rem;
}

.dashboard-mockup-action-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(122, 85, 205, 0.12);
  color: var(--primary);
  font-size: 1.1rem;
  flex: 0 0 42px;
}

.dashboard-mockup-side-stack {
  display: grid;
  gap: 0.85rem;
}

.dashboard-mockup-stat-card {
  padding: 1.15rem;
}

.dashboard-mockup-stat-card .label {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.82rem;
}

.dashboard-mockup-stat-card .value {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.9rem;
  color: var(--text);
}

.dashboard-mockup-secondary-grid,
.dashboard-mockup-guided-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.dashboard-mockup-chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.dashboard-mockup-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.05rem;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffffff 0%, #f3ebe6 100%);
  border: 1px solid rgba(122, 85, 205, 0.18);
  color: var(--text);
  font-weight: 800;
  box-shadow: 0 10px 20px rgba(96, 74, 122, 0.08);
}

.dashboard-mockup-chip:hover {
  text-decoration: none;
  color: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(96, 74, 122, 0.12);
}

.dashboard-mockup-guided-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 1rem;
}

.dashboard-mockup-panel-accent {
  background: linear-gradient(135deg, rgba(122,85,205,0.12) 0%, rgba(255,250,245,0.98) 100%);
}

.dashboard-mockup-mini-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  padding: 0.85rem;
}

.dashboard-mockup-mini-card {
  padding: 1rem;
  text-align: center;
}

.dashboard-mockup-mini-card span {
  display: block;
  color: var(--muted);
  font-size: 0.86rem;
  margin-bottom: 0.35rem;
}

.dashboard-mockup-mini-card strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.65rem;
  color: var(--text);
}

.dashboard-mockup-list-links {
  display: grid;
  gap: 0.75rem;
}

.dashboard-mockup-list-links a {
  display: block;
  padding: 1rem 1.05rem;
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff 0%, #f3ebe6 100%);
  border: 1px solid rgba(122, 85, 205, 0.18);
  color: var(--text);
  font-weight: 800;
  box-shadow: 0 10px 20px rgba(96, 74, 122, 0.08);
}

.dashboard-mockup-list-links a:hover {
  text-decoration: none;
  color: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(96, 74, 122, 0.12);
}

/* Customer dashboard refresh */
.dashboard-home {
  display: grid;
  gap: 1.25rem;
}

.dashboard-home-hero,
.dashboard-home-layout {
  display: grid;
  gap: 1rem;
}

.dashboard-home-hero {
  grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.95fr);
}

.dashboard-home-layout {
  grid-template-columns: minmax(0, 1.38fr) minmax(310px, 0.92fr);
  align-items: start;
}

.dashboard-home-main,
.dashboard-home-side {
  display: grid;
  gap: 1rem;
}

.dashboard-home-hero-copy,
.dashboard-home-hero-art,
.dashboard-section-card {
  background: rgba(255,250,245,0.95);
  border: 1px solid #ebe1d8;
  border-radius: 30px;
  box-shadow: 0 18px 40px rgba(96, 74, 122, 0.08);
}

.dashboard-home-hero-copy,
.dashboard-home-hero-art,
.dashboard-section-card {
  padding: 1.6rem;
}

.dashboard-home-title {
  font-family: Georgia, "Times New Roman", serif;
  color: #241d26;
  font-size: clamp(2.25rem, 4vw, 3.45rem);
  line-height: 1.04;
  margin: 0 0 0.9rem;
}

.dashboard-home-text,
.dashboard-side-copy,
.dashboard-section-note {
  color: #6f6872;
}

.dashboard-home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.25rem;
}

.dashboard-home-hero-art {
  position: relative;
  overflow: hidden;
  min-height: 320px;
  background: rgba(255,250,245,0.95);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.dashboard-home-hero-bloom {
  display: none;
}

.dashboard-home-hero-bloom.bloom-one {
  width: 220px;
  height: 220px;
  right: -40px;
  top: -70px;
  background: none;
}

.dashboard-home-hero-bloom.bloom-two {
  width: 180px;
  height: 180px;
  left: -34px;
  bottom: -70px;
  background: none;
}

.dashboard-home-hero-card {
  position: relative;
  z-index: 1;
  max-width: 320px;
  background: rgba(255,255,255,0.84);
  border: 1px solid rgba(122, 85, 205, 0.12);
  border-radius: 24px;
  padding: 1rem 1.1rem;
  box-shadow: 0 12px 28px rgba(96, 74, 122, 0.08);
}

.dashboard-home-hero-kicker,
.dashboard-action-eyebrow {
  display: block;
  color: #8b7770;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-size: 0.78rem;
  margin-bottom: 0.4rem;
}

.dashboard-home-hero-card strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.7rem;
  line-height: 1.1;
  color: #241d26;
  margin-bottom: 0.45rem;
}

.dashboard-home-hero-card p {
  margin: 0;
  color: #6f6872;
  font-size: 0.96rem;
}

.dashboard-home-badges {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.dashboard-home-badge {
  background: rgba(255,255,255,0.82);
  border: 1px solid rgba(122, 85, 205, 0.12);
  border-radius: 22px;
  padding: 0.9rem 1rem;
  box-shadow: 0 10px 24px rgba(96, 74, 122, 0.08);
}

.dashboard-home-badge span {
  display: block;
  color: #8b7770;
  font-size: 0.83rem;
  margin-bottom: 0.35rem;
}

.dashboard-home-badge strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.6rem;
  color: #241d26;
}

.dashboard-section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.1rem;
}

.dashboard-section-heading h3,
.dashboard-summary-panel h3,
.dashboard-usage-panel h3 {
  font-family: Georgia, "Times New Roman", serif;
  color: #241d26;
  margin: 0;
}

.dashboard-section-note {
  max-width: 26ch;
  margin: 0;
  font-size: 0.96rem;
}

.dashboard-action-grid,
.dashboard-suggestion-grid {
  display: grid;
  gap: 0.9rem;
}

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

.dashboard-suggestion-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.dashboard-action-card,
.dashboard-suggestion-card,
.dashboard-usage-card {
  border-radius: 24px;
  border: 1px solid #ebdfd4;
  background: rgba(255,255,255,0.96);
  box-shadow: 0 10px 24px rgba(96, 74, 122, 0.06);
}

.dashboard-action-card {
  display: flex;
  gap: 1rem;
  padding: 1.1rem;
  color: var(--text);
}

.dashboard-action-card:hover {
  text-decoration: none;
  color: var(--text);
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(96, 74, 122, 0.10);
}

.dashboard-action-icon {
  width: 50px;
  height: 50px;
  border-radius: 16px;
  flex: 0 0 50px;
  display: grid;
  place-items: center;
  background: rgba(122, 85, 205, 0.12);
  color: var(--primary);
  font-size: 1.25rem;
}

.dashboard-action-body h4,
.dashboard-suggestion-card h4 {
  font-family: Georgia, "Times New Roman", serif;
  color: #241d26;
  margin: 0 0 0.45rem;
  font-size: 1.25rem;
}

.dashboard-action-body p,
.dashboard-suggestion-card p,
.dashboard-tool-item span,
.dashboard-usage-note {
  color: #6f6872;
}

.dashboard-action-body p,
.dashboard-suggestion-card p {
  margin: 0 0 0.8rem;
}

.dashboard-inline-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--primary);
  font-weight: 800;
}

.dashboard-suggestion-card {
  padding: 1.15rem;
}

.dashboard-tool-list {
  display: grid;
  gap: 0.8rem;
}

.dashboard-tool-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.05rem;
  border-radius: 22px;
  background: rgba(255,255,255,0.96);
  border: 1px solid #ebdfd4;
  color: var(--text);
}

.dashboard-tool-item:hover {
  text-decoration: none;
  color: var(--text);
  box-shadow: 0 12px 24px rgba(96, 74, 122, 0.08);
}

.dashboard-tool-item strong,
.dashboard-tool-item span {
  display: block;
}

.dashboard-tool-item strong {
  margin-bottom: 0.2rem;
}

.dashboard-tool-item em {
  color: var(--primary);
  font-style: normal;
  font-weight: 800;
  white-space: nowrap;
}

.dashboard-usage-panel,
.dashboard-summary-panel {
  display: grid;
  gap: 1rem;
}

.dashboard-side-copy {
  margin: -0.3rem 0 0;
}

.dashboard-usage-list {
  display: grid;
  gap: 0.9rem;
}

.dashboard-usage-card {
  padding: 1rem;
}

.dashboard-usage-card.medium {
  background: rgba(255,255,255,0.96);
}

.dashboard-usage-card.warning {
  background: rgba(255,255,255,0.96);
}

.dashboard-usage-top {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  align-items: baseline;
  margin-bottom: 0.65rem;
}

.dashboard-usage-top strong {
  color: #241d26;
}

.dashboard-usage-top span {
  color: #6f6872;
  font-weight: 700;
  font-size: 0.96rem;
}

.dashboard-progress-track {
  width: 100%;
  height: 12px;
  border-radius: 999px;
  background: #efe6dc;
  overflow: hidden;
  margin-bottom: 0.7rem;
}

.dashboard-progress-fill {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #6d9ef4 0%, #7a55cd 100%);
}

.dashboard-progress-fill.medium {
  background: linear-gradient(90deg, #e3a64c 0%, #d58a2b 100%);
}

.dashboard-progress-fill.warning {
  background: linear-gradient(90deg, #ea8f72 0%, #d95f5f 100%);
}

.dashboard-summary-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.8rem;
}

.dashboard-summary-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: 0.9rem 1rem;
  border-radius: 20px;
  background: rgba(255,255,255,0.96);
  border: 1px solid #ebdfd4;
}

.dashboard-summary-list span {
  color: #8b7770;
  font-size: 0.92rem;
}

.dashboard-summary-list strong {
  color: #241d26;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
  text-align: right;
}

@media (max-width: 1180px) {
  .dashboard-home-hero,
  .dashboard-home-layout,
  .dashboard-suggestion-grid { grid-template-columns: 1fr; }
  .dashboard-section-heading { flex-direction: column; }
  .dashboard-section-note { max-width: none; }
}

@media (max-width: 860px) {
  .dashboard-action-grid,
  .dashboard-home-badges { grid-template-columns: 1fr; }
  .dashboard-tool-item,
  .dashboard-summary-list li { align-items: flex-start; }
  .dashboard-tool-item { flex-direction: column; }
}

@media (max-width: 640px) {
  .dashboard-home-hero-copy,
  .dashboard-home-hero-art,
  .dashboard-section-card { padding: 1.2rem; border-radius: 24px; }
  .dashboard-home-title { font-size: clamp(2rem, 11vw, 2.8rem); }
  .dashboard-home-hero-actions { flex-direction: column; }
  .dashboard-action-grid { grid-template-columns: 1fr; }
  .dashboard-usage-top,
  .dashboard-summary-list li { flex-direction: column; align-items: flex-start; }
  .dashboard-summary-list strong { text-align: left; }
}

@media (max-width: 1180px) {
  .app-modern .app-shell { grid-template-columns: 230px minmax(0, 1fr); }
  .page-hero,
  .message-board-grid,
  .quick-links-grid,
  .stats-modern,
  .message-summary-grid,
  .home-hero-top,
  .home-support-row,
  .obituary-editor-layout,
  .home-luxe-process-grid,
  .home-luxe-collection-grid,
  .home-luxe-feature-row,
  .dashboard-mockup-hero,
  .dashboard-mockup-focus-grid,
  .dashboard-mockup-secondary-grid,
  .dashboard-mockup-guided-grid,
  .dashboard-mockup-guided-top { grid-template-columns: 1fr; }
  .obituary-editor-inspector { position: static; }
  .home-luxe-stage-top { flex-direction: column; align-items: flex-start; }
  .home-luxe-final-card { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 980px) {
  .obituary-cover { min-height: 380px; }
  .obituary-grid { grid-template-columns: 1fr; }
  .obituary-main { margin-top: -1rem; }
  .obit-template-grid { grid-template-columns: 1fr; }
  .obituary-anchor-nav { justify-content: flex-start; }
  .obituary-guestbook-grid { grid-template-columns: 1fr; }
  .obituary-guestbook-header { flex-direction: column; }
  .obituary-guestbook-meta { justify-content: flex-start; }
  .obit-live-preview-body { grid-template-columns: 1fr; }
  .obituary-editor-theme-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .obituary-editor-gallery-featured,
  .obituary-editor-upload-grid,
  .obituary-editor-field-grid,
  .obituary-editor-highlights-grid { grid-template-columns: 1fr; }
  .obituary-editor-field-span-2,
  .obituary-editor-upload-box-full { grid-column: span 1; }
}

@media (max-width: 860px) {
  .app-modern .app-shell { grid-template-columns: 1fr; }
  .app-modern .app-sidebar { border-right: none; border-bottom: 1px solid #e0d8ca; }
  .app-modern .app-main-shell { padding: 1.25rem; }
  .app-modern .app-topbar { flex-direction: column; align-items: flex-start; }
  .app-modern .app-topbar-actions { width: 100%; justify-content: flex-start; }
  .app-modern .app-topbar-alert-panel { left: 0; right: auto; width: min(100%, 26rem); }

  .site-nav { display: none; }
  .site-nav.open {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    padding: 1rem 0;
  }
  .nav-toggle { display: inline-flex; }
  .header-inner { flex-wrap: wrap; }

  .home-step-grid { grid-template-columns: 1fr; }
  .home-hero-copy h1 { max-width: 11.5ch; }
  .obituary-editor-canvas-topbar,
  .obituary-editor-inspector-head { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  .hero { padding-top: 2rem; }
  .home-hero-shell { border-radius: 24px; padding: 1rem; }
  .home-hero-copy h1 { font-size: clamp(2.4rem, 12vw, 3.5rem); }
  .home-step-card,
  .home-support-card,
  .home-hero-panel { border-radius: 20px; }
  .btn { width: 100%; justify-content: center; }
  .home-hero-actions { flex-direction: column; }
  .obituary-cover { min-height: 320px; }
  .obituary-cover-inner { padding: 2rem 0 1.25rem; }
  .obituary-cover-card { padding: 1.25rem; border-radius: 22px; }
  .obituary-cover-card h1 { font-size: clamp(2.1rem, 13vw, 3rem); line-height: 1; }
  .obituary-subtitle,
  .obituary-dates { font-size: 0.98rem; }
  .obituary-cover-actions,
  .obituary-service-actions,
  .obituary-guestbook-form-actions { flex-direction: column; align-items: stretch; }
  .obituary-anchor-nav {
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .obituary-anchor-nav a { white-space: nowrap; }
  .obituary-editor-panel-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .obituary-editor-share-row { grid-template-columns: 1fr; }
  .obituary-directory-grid { grid-template-columns: 1fr; }
  .obituary-directory-card-cover { min-height: 180px; }
  .obituary-directory-card-head { grid-template-columns: 1fr; }
  .obituary-directory-card-portrait { width: 100%; height: 220px; }
  .obituary-directory-empty { padding: 1.25rem; }
  .home-luxe-intro h1 { font-size: clamp(2.8rem, 14vw, 4.4rem); }
  .home-luxe-stage-hero { min-height: 340px; padding: 1.5rem; }
  .home-luxe-stage-overlay h2 { font-size: clamp(2.15rem, 12vw, 3.15rem); }
  .home-luxe-stage-brand { align-items: flex-start; }
  .home-luxe-stage-brand img { width: 84px; height: 84px; }
  .home-luxe-stage-top-actions,
  .home-luxe-final-actions { width: 100%; }
  .dashboard-mockup-primary-actions,
  .dashboard-mockup-mini-stats { grid-template-columns: 1fr; }
}

/* Reminder workspace */
.reminders-grid {
  align-items: start;
}

.reminders-list-card,
.reminder-form-card {
  border-radius: 28px;
}

.reminder-empty-state {
  padding: 1.35rem;
  border: 1px dashed #dfd0c4;
  border-radius: 22px;
  background: linear-gradient(180deg, #fffdf9 0%, #f8f1ea 100%);
}

.reminder-empty-state h4 {
  margin-bottom: 0.45rem;
  color: #241d26;
}

.reminder-list {
  display: grid;
  gap: 1rem;
}

.reminder-card {
  display: grid;
  gap: 1rem;
  padding: 1.2rem;
  border-radius: 24px;
  border: 1px solid #eaded4;
  background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(248,241,234,0.95) 100%);
}

.reminder-card-highlighted {
  border-color: #cdb8f8;
  box-shadow: 0 16px 34px rgba(111, 73, 198, 0.12);
}

.reminder-card-muted {
  opacity: 0.76;
}

.reminder-card-topline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.7rem;
}

.reminder-type-pill,
.reminder-cycle-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  font-size: 0.78rem;
  font-weight: 700;
}

.reminder-type-pill {
  background: #f3eefe;
  color: #6a4cc2;
}

.reminder-cycle-pill {
  background: #f5efe8;
  color: #6f5c56;
}

.reminder-cycle-pill-once {
  background: #eef6ff;
  color: #336799;
}

.reminder-cycle-pill-paused {
  background: #f4efef;
  color: #8a6e67;
}

.reminder-card h4 {
  margin: 0 0 0.45rem;
  color: #241d26;
  font-family: Georgia, "Times New Roman", serif;
}

.reminder-card-copy {
  margin: 0 0 1rem;
  color: #6f5c56;
}

.reminder-meta-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin-bottom: 0.9rem;
}

.reminder-meta-row div {
  background: rgba(255,255,255,0.8);
  border: 1px solid #ebe1d8;
  border-radius: 18px;
  padding: 0.8rem 0.9rem;
}

.reminder-meta-row strong {
  display: block;
  color: #8c776e;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.25rem;
}

.reminder-meta-row span {
  color: #241d26;
  font-weight: 700;
}

.reminder-notes {
  color: #6f5c56;
  line-height: 1.55;
}

.reminder-actions {
  align-items: center;
}

.reminder-form-card .form-text {
  color: #8d7a72;
}

@media (max-width: 860px) {
  .reminder-meta-row {
    grid-template-columns: 1fr;
  }
}
