/* Shared brand tokens + base primitives for every LM engine.
   Imported by checklist / assessment / calculator / template / guide / swipe. */

@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Source+Serif+4:ital,opsz,wght@0,8..60,400..700;1,8..60,400..700&display=swap');

/* Smooth scroll for anchor jumps + general navigation feel.
   Respect user's reduced-motion preference. */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Global eyebrow/meta-label harmonization across all engines (2026-05-22).
   Per brand audit 2026-05-17 — reference site has NO monospace anywhere.
   Force every uppercase small-caps eyebrow to Source Serif 4 600 so
   checklist/calculator/guide/assessment/swipe/stack-picker/architecture/
   ai-walkthrough/n8n-workflow all read as one editorial system. */
.lmc-badge, .lmc-meta-chip, .lmc-tier-pill, .lmc-big-unit,
.lmc-celebration-badge, .lmc-toc-label, .lmc-section-title-line.label,
.lmc-intro-badge, .lmc-tier-label, .lmc-next-label,
.lmc-impact, .lmc-section-toggle, .lmc-progress-inner,
.lmc-card h2, .lmc-field > label, .lmc-output-row .label, .lmc-recs h3,
.lmw-badge, .lma-badge, .lms-badge, .lmg-badge,
.lma-drawer-eyebrow, .lma-drawer-section-h, .lma-chip,
.lmw-pill, .lmw-tool-chip,
.lms-ex-tag,
.lmc-rec strong,
.lmc-meta-chip-text, .lmc-sens-pct, .lmc-bench-you {
  font-family: 'Source Serif 4', Georgia, serif !important;
  font-weight: 600 !important;
  letter-spacing: .08em !important;
}

/* Global brand override — the per-LM HTML wrapper still ships an inline
   `body { font-family: 'Space Grotesk' }` from the legacy n8n template. The
   `html body` selector beats single-element specificity without !important. */
html body {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 17px;
  line-height: 1.55;
  color: #1A1A1A;
  background: #F7F4EF;
  margin: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Per-LM HTML wrapper still emits a top sticky nav (.im-nav with logo +
   "Let's Talk" CTA). Hidden globally 2026-05-21 — the content is the CTA. */
.im-nav { display: none !important; }

/* Per-LM HTML wrapper also emits a generic footer CTA card. Flatten the
   shadow-card chrome and apply editorial brand typography. The inner copy is
   rewritten at runtime by shared.js → LM.rebrandFooter(). */
.im-footer {
  background: #1A1A1A !important;
  color: #F7F4EF !important;
  padding: 4.5rem 1.5rem 2.5rem !important;
  border-top: none !important;
  margin-top: 4rem !important;
}
.im-footer-inner { max-width: 860px !important; margin: 0 auto !important; }
.im-footer-cta {
  background: transparent !important;
  color: #F7F4EF !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 0 3rem !important;
  text-align: left !important;
}
.im-footer-label {
  display: block;
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(247, 244, 239, 0.55);
  margin-bottom: 1.25rem;
}
.im-footer-cta h2,
.im-footer-h {
  font-family: 'DM Serif Display', Georgia, serif !important;
  font-size: clamp(2rem, 4vw, 3rem) !important;
  font-weight: 400 !important;
  line-height: 1.1 !important;
  letter-spacing: -0.01em !important;
  margin: 0 0 1.25rem !important;
  color: #F7F4EF !important;
  max-width: 32rem;
  text-align: left !important;
}
.im-footer-cta h2 em,
.im-footer-h em {
  font-family: 'DM Serif Display', Georgia, serif !important;
  font-style: italic !important;
  font-weight: 400 !important;
  color: #2A8F65 !important;
}
.im-footer-cta p,
.im-footer-p {
  font-family: 'Source Serif 4', Georgia, serif !important;
  font-size: 1.0625rem !important;
  line-height: 1.65 !important;
  font-weight: 400 !important;
  margin: 0 0 1.75rem !important;
  max-width: 38rem;
  margin-left: 0 !important;
  margin-right: 0 !important;
  color: rgba(247, 244, 239, 0.82) !important;
  text-align: left !important;
}
.im-footer-cta a,
.im-footer-btn {
  display: inline-block !important;
  padding: 14px 28px !important;
  background: #F7F4EF !important;
  color: #1A1A1A !important;
  font-family: 'Source Serif 4', Georgia, serif !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  border: none !important;
  box-shadow: none !important;
  text-decoration: none !important;
  border-radius: 0 !important;
  transition: background 80ms;
}
.im-footer-cta a:hover,
.im-footer-btn:hover {
  background: #FFFFFF !important;
  color: #1A1A1A !important;
}
.im-footer-meta {
  font-family: 'Source Serif 4', Georgia, serif !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: .08em !important;
  color: rgba(247, 244, 239, 0.45) !important;
  padding-top: 2rem !important;
  border-top: 1px solid rgba(247, 244, 239, 0.12) !important;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.im-footer-meta a {
  color: rgba(247, 244, 239, 0.7) !important;
  text-decoration: none !important;
}
.im-footer-meta a:hover { color: #F7F4EF !important; }

:root {
  --paper: #F7F4EF;
  --paper-sunk: #EFEBE3;
  --paper-raise: #FFFFFF;
  --ink: #1A1A1A;
  --ink-soft: #3D3D3B;
  --ink-mute: #4D4A45;
  --hairline: rgba(26, 26, 26, 0.12);
  --hairline-bold: rgba(26, 26, 26, 0.22);
  /* Sage = THE brand accent. Moss `#4C6E3D` retired 2026-05-20 — was creating
     two-greens-on-one-page (sage punctuation + moss chrome). Brand rule §1
     says ONE accent per surface. */
  --accent: #2A8F65;
  --accent-light: #4FB286;
  --accent-ink: #1F6D4D;
  --accent-soft: rgba(42, 143, 101, 0.08);
  --shadow-subtle: 0 1px 3px rgba(26,26,26,0.06), 0 1px 2px rgba(26,26,26,0.04);
  --shadow-lift: 0 8px 24px rgba(26,26,26,0.10), 0 2px 6px rgba(26,26,26,0.05);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Body texture (fractal noise) — engines opt in by applying .lmc-root */
.lmc-root {
  font-family: 'Source Serif 4', Georgia, serif;
  color: var(--ink);
  background: var(--paper);
  position: relative;
}
.lmc-root::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
}
.lmc-container { max-width: 860px; margin: 0 auto; padding: 2rem 1.5rem; position: relative; z-index: 1; }

/* ── Shared hero ─────────────────────────────────────────────────────── */
.lmc-hero {
  padding: 5rem 1.5rem 3rem;
  background: var(--paper);
  background-size: 40px 40px;
  background-image:
    linear-gradient(to right, rgba(26,26,26,0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(26,26,26,0.03) 1px, transparent 1px);
  position: relative;
  z-index: 1;
  overflow: hidden;
}
/* Sage radial backdrop on every engine's hero (matches ivanmanfredi.com
   sage cursor-spotlight feel, static version). The brand-visual-system rule
   §4 calls for sage as punctuation — one moment per surface. The h1 italic
   pivot is the punctuation; this gradient is the ambient context. */
.lmc-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(ellipse 70% 50% at 85% 30%, rgba(42,143,101,0.10), transparent 65%);
}
.lmc-hero > * { position: relative; z-index: 1; }
.lmc-hero-inner { max-width: 860px; margin: 0 auto; }
.lmc-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  background: transparent;
  color: var(--ink);
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 1.5rem;
  border: none;
}
.lmc-badge::before { content: ""; width: 6px; height: 6px; background: #2A8F65; display: inline-block; }
.lmc-h1 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(2.25rem, 6vw, 3.75rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0 0 1.25rem;
  max-width: 42rem;
  color: var(--ink);
}
.lmc-h1 em { font-family: 'DM Serif Display', Georgia, serif; font-style: italic; font-weight: 400; color: #2A8F65; letter-spacing: 0; }
.lmc-sub {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 38rem;
  margin: 0 0 2rem;
  padding-left: 0;
  border-left: none;
}
.lmc-meta { display: flex; gap: 1.5rem; flex-wrap: wrap; font-size: 13px; color: var(--ink); font-family: 'Source Serif 4', Georgia, serif; font-weight: 600; }
.lmc-meta-chip { display: inline-flex; align-items: center; gap: 6px; letter-spacing: .08em; text-transform: uppercase; }
.lmc-meta-chip::before { content: ""; width: 6px; height: 6px; background: #2A8F65; display: inline-block; }

/* ── Shared intro / welcome block ─────────────────────────────────────── */
.lmc-intro {
  position: relative;
  background: var(--paper-sunk);
  padding: 3.5rem 1.5rem;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  z-index: 1;
}
.lmc-intro-inner { position: relative; max-width: 860px; margin: 0 auto; display: grid; grid-template-columns: auto 1fr; gap: 2.5rem; align-items: start; }
@media (max-width: 640px) { .lmc-intro-inner { grid-template-columns: 1fr; gap: 1.75rem; } }
.lmc-intro-avatar {
  flex-shrink: 0;
  width: 148px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top;
  border: 1px solid var(--hairline-bold);
  border-radius: var(--radius-lg);
  box-shadow: none;
  filter: saturate(0.45) sepia(0.18) contrast(1.1) brightness(0.95);
}
.lmc-intro-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  background: transparent;
  color: var(--ink);
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 1rem;
  border: none;
}
.lmc-intro-badge::before { content: ""; width: 6px; height: 6px; background: #2A8F65; display: inline-block; }
.lmc-intro-h { font-family: 'DM Serif Display', Georgia, serif; font-size: clamp(1.6rem, 3.2vw, 2.15rem); font-weight: 400; line-height: 1.1; margin: 0 0 .85rem; color: var(--ink); letter-spacing: -0.01em; }
.lmc-intro-h em { font-family: 'DM Serif Display', Georgia, serif; font-style: italic; font-weight: 400; color: #2A8F65; letter-spacing: 0; }
.lmc-intro-p { font-family: 'Source Serif 4', Georgia, serif; font-size: 1.05rem; line-height: 1.6; color: var(--ink-soft); margin: 0 0 1.5rem; max-width: 38rem; }
.lmc-intro-points { list-style: none; padding: 0; margin: 0 0 1.75rem; display: flex; flex-direction: column; gap: .65rem; font-size: .96rem; color: var(--ink); }
.lmc-intro-points li { display: flex; gap: .8rem; align-items: center; }
.lmc-intro-icon { display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; background: var(--ink); color: var(--paper); font-family: 'Source Serif 4', Georgia, serif; font-size: .85rem; font-weight: 600; flex-shrink: 0; border-radius: var(--radius-sm); }
.lmc-intro-icon.a { background: var(--accent); color: var(--paper); }
.lmc-intro-icon.b { background: var(--ink); color: var(--paper); }
.lmc-intro-icon.c { background: transparent; color: var(--ink); border: 1px solid var(--hairline-bold); }
.lmc-intro-start {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: 14px 28px;
  background: #1A1A1A;
  color: #F7F4EF;
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 17px; font-weight: 600; letter-spacing: 0;
  border: none; cursor: pointer; text-decoration: none;
  border-radius: 0;
  box-shadow: none;
  transition: background 80ms;
}
.lmc-intro-start:hover { background: #000; color: #F7F4EF; }
.lmc-intro-note { font-family: 'Source Serif 4', Georgia, serif; font-size: .82rem; color: var(--ink-mute); margin-top: 1rem; max-width: 34rem; }

/* ── Welcome-block bio (hoisted from "Who Am I?" sections) ───────────── */
.lmc-intro-bio { max-width: 38rem; margin: 0 0 1.5rem; font-family: 'Source Serif 4', Georgia, serif; color: var(--ink); font-size: 1rem; line-height: 1.6; }
.lmc-intro-bio .lmg-bio > *:first-child { margin-top: 0; }
.lmc-intro-bio .lmg-bio > *:last-child { margin-bottom: 0; }
.lmc-intro-bio p { margin: 0 0 .75rem; color: var(--ink-soft); }
.lmc-intro-bio ul, .lmc-intro-bio ol { margin: 0 0 .75rem; padding-left: 1.25rem; }
.lmc-intro-bio li { margin: 0 0 .35rem; color: var(--ink); }
.lmc-intro-bio li::marker { color: var(--accent); }
.lmc-intro-bio strong { color: var(--ink); font-weight: 600; }

/* ── Shared buttons ──────────────────────────────────────────────────── */
.lmc-btn {
  padding: 14px 28px;
  background: #1A1A1A;
  color: #F7F4EF;
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 17px; font-weight: 600; letter-spacing: 0;
  border: none; cursor: pointer;
  border-radius: 0;
  box-shadow: none;
  transition: background 80ms;
}
.lmc-btn:hover { background: #000; color: #F7F4EF; }
.lmc-btn-secondary { background: transparent; color: #344B29; border: 1px solid #344B29; box-shadow: none; }
.lmc-btn-secondary:hover { background: rgba(42,143,101,0.08); color: #1a2914; }

/* ── Shared results panel tokens (tier / gaps / next move) ───────────── */
.lmc-tier {
  display: grid; gap: .85rem;
  padding: 2.5rem 2rem;
  background: transparent;
  border: none;
  border-left: 4px solid #2A8F65;
  border-radius: 0;
  box-shadow: none;
  margin-bottom: 2.5rem;
}
.lmc-tier-critical { border-left-color: var(--ink); }
.lmc-tier-growth { border-left-color: #2A8F65; }
.lmc-tier-optimized { border-left-color: #2A8F65; }
.lmc-tier-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.lmc-tier-label { font-family: 'Source Serif 4', Georgia, serif; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; color: var(--ink); }
.lmc-tier-score { display: inline-flex; align-items: baseline; gap: .15rem; color: var(--ink); }
.lmc-tier-score em { font-family: 'DM Serif Display', Georgia, serif; font-style: italic; font-weight: 400; font-size: 3.25rem; line-height: 1; color: #2A8F65; letter-spacing: 0; }
.lmc-tier-score span { font-family: 'Source Serif 4', Georgia, serif; font-size: .85rem; color: var(--ink-mute); font-weight: 600; }
.lmc-tier-note { font-family: 'Source Serif 4', Georgia, serif; margin: 0; color: var(--ink-soft); font-size: 1rem; line-height: 1.55; }

.lmc-results-h { font-family: 'DM Serif Display', Georgia, serif; font-size: 1.65rem; font-weight: 400; margin: 0 0 1.25rem; letter-spacing: -0.01em; color: var(--ink); }
.lmc-results-h em { font-family: 'DM Serif Display', Georgia, serif; font-style: italic; font-weight: 400; color: #2A8F65; }
.lmc-gap-list { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; gap: .85rem; }
.lmc-gap {
  display: grid; grid-template-columns: auto 1fr; gap: 1.25rem;
  padding: 1.5rem 0;
  background: transparent;
  border: none;
  border-top: 1px solid rgba(26,26,26,0.08);
  border-radius: 0;
  box-shadow: none;
  transition: background .15s;
}
.lmc-gap:first-child { border-top: none; }
.lmc-gap:hover { background: rgba(26,26,26,0.02); }
.lmc-gap-rank { font-family: 'DM Serif Display', Georgia, serif; font-style: italic; font-weight: 400; font-size: 2.25rem; line-height: 1; color: #2A8F65; letter-spacing: 0; min-width: 1.5ch; }
.lmc-gap-body { min-width: 0; }
.lmc-gap-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.lmc-gap-text { font-family: 'Source Serif 4', Georgia, serif; font-weight: 600; color: var(--ink); font-size: 1.02rem; line-height: 1.45; }
.lmc-gap-fix { font-family: 'Source Serif 4', Georgia, serif; margin-top: .6rem; font-size: .92rem; line-height: 1.55; color: var(--ink-soft); padding-left: .9rem; border-left: 2px solid rgba(42, 143, 101, 0.35); }
.lmc-gap-fix-label { display: inline-block; font-family: 'Source Serif 4', Georgia, serif; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #2A8F65; margin-right: .5rem; }

.lmc-next-move { font-family: 'Source Serif 4', Georgia, serif; display: block; padding: 1.5rem 1.5rem; background: var(--ink); color: var(--paper); border-radius: 0; font-size: 1rem; line-height: 1.55; margin: 0 0 1.5rem; box-shadow: none; }
.lmc-next-label { font-family: 'Source Serif 4', Georgia, serif; display: block; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #2A8F65; margin-bottom: .35rem; }

/* ── Shared impact pills ─────────────────────────────────────────────── */
.lmc-impact { display: inline-block; padding: .22rem .6rem; font-size: 12px; font-weight: 600; font-family: 'Source Serif 4', Georgia, serif; text-transform: uppercase; letter-spacing: .08em; margin-top: .6rem; margin-right: .4rem; border-radius: 2px; }
.lmc-impact-high { background: var(--accent); color: var(--paper); }
.lmc-impact-medium { background: var(--ink); color: var(--paper); }
.lmc-impact-low { background: transparent; color: var(--ink-mute); border: 1px solid var(--hairline-bold); }

/* ── Shared capture block — paper-flat editorial style (2026-05-21) ───── */
/* Unified across every engine. Per-engine .lmc-capture overrides are
   neutralized by the !important rules below. */
.lmc-capture {
  padding: 3rem 0 2.5rem !important;
  background: transparent !important;
  color: var(--ink) !important;
  margin: 3rem auto 2rem !important;
  max-width: 38rem !important;
  border: none !important;
  border-top: 1px solid rgba(26, 26, 26, 0.08) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  position: relative;
  overflow: visible !important;
  text-align: left;
}
.lmc-capture::before { content: none !important; }
.lmc-capture > * { position: relative; z-index: 1; }
.lmc-capture h2 {
  font-family: 'DM Serif Display', Georgia, serif !important;
  font-size: clamp(1.75rem, 3.2vw, 2.4rem) !important;
  font-weight: 400 !important;
  margin: 0 0 .9rem !important;
  letter-spacing: -0.01em !important;
  line-height: 1.15 !important;
  color: var(--ink) !important;
  max-width: 32rem;
}
.lmc-capture h2 em {
  font-family: 'DM Serif Display', Georgia, serif !important;
  font-style: italic !important;
  font-weight: 400 !important;
  color: #2A8F65 !important;
}
.lmc-capture p {
  font-family: 'Source Serif 4', Georgia, serif !important;
  font-size: 1.0625rem !important;
  margin: 0 0 1.75rem !important;
  max-width: 34rem;
  color: var(--ink-soft) !important;
  line-height: 1.65 !important;
}
.lmc-form { display: flex !important; flex-direction: column !important; gap: .6rem !important; align-items: stretch !important; max-width: 32rem !important; }
.lmc-input,
.lmc-form .lmc-input,
.lmc-form-input,
.lmc-form .lmc-form-input {
  flex: 0 0 auto !important;
  width: 100% !important;
  height: auto !important;
  padding: .9rem 1rem !important;
  border: 1px solid rgba(26, 26, 26, 0.2) !important;
  background: rgba(255, 255, 255, 0.5) !important;
  color: var(--ink) !important;
  font-family: 'Source Serif 4', Georgia, serif !important;
  font-size: 1rem !important;
  line-height: 1.4 !important;
  border-radius: 0 !important;
  box-sizing: border-box !important;
}
.lmc-input::placeholder,
.lmc-form-input::placeholder {
  color: rgba(26, 26, 26, 0.4) !important;
}
.lmc-input:focus,
.lmc-form-input:focus {
  outline: none !important;
  border-color: #2A8F65 !important;
  box-shadow: 0 0 0 3px rgba(42, 143, 101, 0.15) !important;
  background: #fff !important;
}
.lmc-form .lmc-btn { width: 100% !important; }
.lmc-note {
  font-family: 'Source Serif 4', Georgia, serif !important;
  font-size: .85rem !important;
  color: var(--ink-mute) !important;
  margin-top: 1rem !important;
  letter-spacing: 0 !important;
}
/* Secondary CTA inside capture cards (injected by shared.js enhanceCapture).
   Lets high-intent readers jump to calendly without scrolling past the
   email gate to the editorial footer. */
.lmc-capture-alt {
  display: inline-block;
  margin-top: 1rem;
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: .95rem;
  color: var(--ink-soft);
  text-decoration: none;
  border-bottom: 1px solid rgba(26, 26, 26, 0.18);
  padding-bottom: 2px;
  transition: color 120ms, border-color 120ms;
}
.lmc-capture-alt strong { color: var(--ink); font-weight: 600; }
.lmc-capture-alt:hover { color: #2A8F65; border-bottom-color: #2A8F65; }
.lmc-capture-alt:hover strong { color: #2A8F65; }

/* ── Shared toast ────────────────────────────────────────────────────── */
.lmc-toast { position: fixed; bottom: 1.25rem; right: 1.25rem; padding: .85rem 1.35rem; background: var(--ink); color: var(--paper); font-family: 'Source Serif 4', Georgia, serif; font-weight: 600; font-size: .9rem; border-radius: var(--radius-md); box-shadow: var(--shadow-lift); z-index: 100; opacity: 0; pointer-events: none; transition: opacity .3s var(--ease), transform .3s var(--ease); transform: translateY(12px); }
.lmc-toast.show { opacity: 1; pointer-events: auto; transform: translateY(0); }

/* ── Editorial tables (hairline, no brutal grid) — per audit 2026-05-17 ── */
.lmc-root table, .lmg-root table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5em 0;
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 16px;
  border: none;
  background: transparent;
}
.lmc-root thead th, .lmg-root thead th {
  text-align: left;
  font-weight: 600;
  color: #1A1A1A;
  text-transform: none;
  letter-spacing: 0;
  padding: 18px 12px;
  border: none;
  border-bottom: 1px solid #2A8F65;
  background: transparent;
}
.lmc-root tbody td, .lmg-root tbody td {
  padding: 18px 12px;
  border: none;
  border-bottom: 1px solid rgba(26, 26, 26, 0.08);
  color: #3D3D3B;
  vertical-align: top;
  font-family: 'Source Serif 4', Georgia, serif;
}
.lmc-root tbody tr:last-child td, .lmg-root tbody tr:last-child td { border-bottom: none; }
.lmc-root table td.num, .lmc-root table th.num,
.lmg-root table td.num, .lmg-root table th.num {
  text-align: right; font-feature-settings: "tnum"; font-variant-numeric: tabular-nums;
}

/* ── Motion-safe ─────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after { animation: none !important; transition: none !important; }
}

/* ─── Phase B: only WhatsApp share button remains. Sticky progress header
   and resource tracker widget removed — engines own their own progress UI. ── */

/* Share buttons removed 2026-05-21 — Ivan said they're not needed.
   Hide all wrappers + WhatsApp class + any link pointing at sharing URLs. */
.lmc-share,
.lmg-share,
.lm-share-whatsapp,
a[href*="linkedin.com/sharing"],
a[href*="wa.me"] {
  display: none !important;
}

