.fmfr-shell {
  --fmfr-cream: #fff8ef;
  --fmfr-card: #ffffff;
  --fmfr-ink: #3f342b;
  --fmfr-muted: #7a6a5d;
  --fmfr-soft: #f7eadb;
  --fmfr-soft-2: #edf7f1;
  --fmfr-line: rgba(86, 64, 43, .13);
  --fmfr-accent: #c7784d;
  --fmfr-accent-dark: #90512f;
  --fmfr-green: #799b78;
  max-width: 1180px;
  margin: 0 auto;
  color: var(--fmfr-ink);
  font-family: inherit;
}

body.fmfr-embed-mode #wpadminbar,
body.fmfr-embed-mode .site-header,
body.fmfr-embed-mode header,
body.fmfr-embed-mode .main-header-bar,
body.fmfr-embed-mode .entry-title {
  display: none !important;
}

body.fmfr-embed-mode {
  background: #fffaf3;
}

body.fmfr-embed-mode.admin-bar {
  padding-top: 0 !important;
}

body.fmfr-embed-mode .site-content,
body.fmfr-embed-mode .content-area,
body.fmfr-embed-mode .ast-container,
body.fmfr-embed-mode article,
body.fmfr-embed-mode .entry-content {
  margin: 0 !important;
  padding: 0 !important;
  max-width: none !important;
}

.fmfr-shell.fmfr-shell-embed {
  max-width: none;
  padding: 18px;
}

.fmfr-shell.fmfr-shell-embed .fmfr-run-hero {
  margin-top: 0;
}
.fmfr-shell * { box-sizing: border-box; }
.fmfr-hero,
.fmfr-card,
.fmfr-run-hero,
.fmfr-run-card,
.fmfr-core-context,
.fmfr-softnotice,
.fmfr-message {
  border-radius: 28px;
  border: 1px solid var(--fmfr-line);
  background: var(--fmfr-card);
  box-shadow: 0 16px 45px rgba(95, 72, 52, .08);
}
.fmfr-card,
.fmfr-run-card,
.fmfr-anchor-box {
  border-width: 1.5px;
  box-shadow: 0 18px 44px rgba(86, 64, 43, .10);
}
.fmfr-hero {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: stretch;
  padding: 34px;
  background: linear-gradient(135deg, #fff8ef 0%, #eef8f2 100%);
  margin: 18px 0;
}
.fmfr-hero-main { max-width: 700px; }
.fmfr-hero h1,
.fmfr-card h2,
.fmfr-run-hero h2 { margin: .1em 0 .25em; line-height: 1.05; }
.fmfr-hero p,
.fmfr-card p,
.fmfr-run-hero p { color: var(--fmfr-muted); }
.fmfr-kicker {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 750;
  color: var(--fmfr-accent-dark) !important;
  margin: 0 0 6px;
}
.fmfr-context-card {
  min-width: 220px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding: 18px 20px;
  border-radius: 22px;
  background: rgba(255, 255, 255, .72);
  border: 1px solid var(--fmfr-line);
}
.fmfr-context-card span { font-size: 1.12rem; }
.fmfr-context-card small { color: var(--fmfr-muted); }
.fmfr-core-context {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 18px;
  margin: 18px 0;
  background:
    radial-gradient(circle at 12% 20%, rgba(255, 224, 185, .32), transparent 30%),
    linear-gradient(135deg, #ffffff 0%, #f5fbf7 100%);
}
.fmfr-core-context-select {
  min-width: 0;
}
.fmfr-context-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  align-items: stretch;
}
.fmfr-context-family,
.fmfr-context-person {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 64px;
  padding: 10px 13px;
  border-radius: 22px;
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(213,185,150,.52);
  box-shadow: 0 10px 24px rgba(95,72,52,.06);
}
.fmfr-context-family {
  min-width: 170px;
}
.fmfr-context-label,
.fmfr-context-summary strong {
  display: block;
}
.fmfr-context-label {
  color: var(--fmfr-muted);
  font-size: .74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.fmfr-context-summary strong {
  color: var(--fmfr-ink);
  line-height: 1.12;
}
.fmfr-context-avatar,
.fmfr-context-companion-media {
  position: relative;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 18px;
  background: #fff8ef;
}
.fmfr-context-avatar-fallback {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fmfr-accent-dark);
  font-size: .68rem;
  font-weight: 900;
}
.fmfr-context-avatar .fm-symbol-image,
.fmfr-context-avatar img,
.fmfr-context-companion-media img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.fmfr-context-companion-media {
  background: transparent;
}
.fmfr-help-box {
  margin-top: 22px;
  width: min(620px, 100%);
  padding: 16px;
  border-radius: 26px;
  background:
    radial-gradient(circle at 8% 10%, rgba(255, 222, 178, .42), transparent 32%),
    rgba(255,255,255,.82);
  border: 1px solid rgba(213,185,150,.62);
  box-shadow: 0 18px 42px rgba(95,72,52,.09);
}
.fmfr-help-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 850;
  color: var(--fmfr-accent-dark);
  margin-bottom: 14px;
}
.fmfr-help-title strong,
.fmfr-help-title small {
  display: block;
}
.fmfr-help-title small {
  margin-top: 2px;
  color: var(--fmfr-muted);
  font-weight: 520;
}
.fmfr-help-title-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 58px;
  height: 58px;
  border-radius: 0;
  background: transparent;
  color: inherit;
}
.fmfr-help-title-icon .fmfr-icon-image {
  width: 100%;
  height: 100%;
}
.fmfr-help-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.fmfr-help-button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  border: 1px solid rgba(213,185,150,.36);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,.86) 0%, rgba(255,246,235,.82) 100%);
  color: var(--fmfr-ink);
  font: inherit;
  font-weight: 850;
  padding: 12px 18px 12px 14px;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(95,72,52,.045);
}
.fmfr-help-button span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: rgba(255, 232, 204, .9);
  color: var(--fmfr-accent-dark);
  font-size: .9rem;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.72);
}
.fmfr-help-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 42px 16px;
  background: rgba(47,38,30,.34);
  overflow-y: auto;
}
.fmfr-help-overlay.is-open { display: flex; }
.fmfr-help-card {
  width: min(760px, 100%);
  position: relative;
  border-radius: 26px;
  padding: 28px;
  background: #fffdf8;
  border: 1px solid rgba(86,64,43,.16);
  box-shadow: 0 28px 80px rgba(47,38,30,.24);
}
.fmfr-help-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  background: #f1e5d8;
  color: var(--fmfr-ink);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}
.fmfr-help-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}
.fmfr-help-grid div,
.fmfr-help-note {
  border-radius: 18px;
  background: #fff7ed;
  border: 1px solid var(--fmfr-line);
  padding: 14px;
}
.fmfr-help-grid strong,
.fmfr-help-grid span { display: block; }
.fmfr-help-grid span,
.fmfr-help-steps,
.fmfr-help-note { color: var(--fmfr-muted); }
.fmfr-help-steps li { margin: 9px 0; }
.fmfr-core-context,
.fmfr-softnotice,
.fmfr-message {
  padding: 14px 18px;
  margin: 14px 0;
}
.fmfr-softnotice { background: #fffdf9; color: var(--fmfr-muted); }
.fmfr-message { background: #edf7f1; color: #436847; font-weight: 650; }
.fmfr-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 22px;
}
.fmfr-tab {
  text-decoration: none !important;
  color: var(--fmfr-ink);
  background: #fff;
  border: 1px solid var(--fmfr-line);
  padding: 11px 16px;
  border-radius: 999px;
  font-weight: 680;
}
.fmfr-tab.is-active,
.fmfr-tab:hover {
  background: var(--fmfr-soft);
  color: var(--fmfr-accent-dark);
}
.fmfr-start-focus {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, .72fr);
  align-items: stretch;
  gap: 16px;
  margin: 0 0 18px;
  padding: 18px 20px;
  border: 1.5px solid rgba(121, 155, 120, .28);
  border-left: 7px solid var(--fmfr-green);
  border-radius: 20px;
  background: linear-gradient(135deg, #f7fbf8 0%, #fff8eb 100%);
  box-shadow: 0 14px 30px rgba(86, 64, 43, .10);
}
.fmfr-start-focus-copy {
  display: grid;
  align-content: center;
  gap: 7px;
  min-width: 0;
}
.fmfr-start-focus-copy span {
  color: #5f7e5f;
  font-size: 11px;
  font-weight: 1000;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.fmfr-start-focus-copy strong {
  color: var(--fmfr-ink);
  font-size: clamp(18px, 2.2vw, 23px);
  font-weight: 950;
  line-height: 1.24;
}
.fmfr-start-focus-copy p {
  max-width: 760px;
  margin: 0;
  color: var(--fmfr-muted);
  font-size: 14px;
  font-weight: 720;
  line-height: 1.48;
}
.fmfr-start-focus-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  align-items: stretch;
}
.fmfr-start-focus-steps a {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 8px;
  min-height: 86px;
  padding: 12px 10px;
  border: 1.5px solid rgba(121, 155, 120, .18);
  border-radius: 16px;
  background: rgba(255, 255, 255, .78);
  color: var(--fmfr-ink);
  text-align: center;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(86, 64, 43, .05);
}
.fmfr-start-focus-steps a.is-active {
  border-color: rgba(199, 120, 77, .42);
  background: linear-gradient(180deg, #fff7df 0%, #fff1c7 100%);
  box-shadow: 0 10px 22px rgba(151, 108, 28, .12);
}
.fmfr-start-focus-steps a:hover,
.fmfr-start-focus-steps a:focus-visible {
  transform: translateY(-1px);
  outline: 2px solid transparent;
  box-shadow: 0 12px 24px rgba(86, 64, 43, .10);
}
.fmfr-start-focus-steps span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #e8f3e8;
  color: #456d47;
  font-size: 13px;
  font-weight: 1000;
}
.fmfr-start-focus-steps strong {
  color: var(--fmfr-ink);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.24;
}
.fmfr-grid { display: grid; gap: 18px; margin: 18px 0; align-items: start; }
.fmfr-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fmfr-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fmfr-ritual-atmosphere {
  display: grid;
  grid-template-columns: minmax(260px, 420px) 1fr;
  gap: 28px;
  align-items: center;
  margin: 20px 0;
  padding: 28px;
  border-radius: 28px;
  border: 1px solid rgba(86,64,43,.13);
  background: linear-gradient(135deg, #fffaf0 0%, #f1f8f1 56%, #eef7fb 100%);
  box-shadow: 0 18px 46px rgba(95,72,52,.08);
}
.fmfr-ritual-scene {
  position: relative;
  min-height: 230px;
  border-radius: 26px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255,255,255,.62), rgba(255,255,255,.18)),
    radial-gradient(circle at 76% 24%, rgba(255,214,116,.75) 0 11%, transparent 12%),
    linear-gradient(160deg, #ccebdc 0%, #f8e1b8 72%);
  border: 1px solid rgba(86,64,43,.12);
}
.fmfr-scene-sun {
  position: absolute;
  right: 34px;
  top: 28px;
  width: 54px;
  height: 54px;
  border-radius: 999px;
  background: #ffd36d;
  box-shadow: 0 0 0 14px rgba(255,211,109,.18);
}
.fmfr-scene-path {
  position: absolute;
  left: 18%;
  right: -8%;
  bottom: -18px;
  height: 110px;
  border-radius: 70% 0 0 0;
  background: rgba(255,255,255,.58);
  transform: rotate(-8deg);
}
.fmfr-scene-family {
  position: absolute;
  left: 46%;
  bottom: 56px;
  width: 118px;
  height: 78px;
  transform: translateX(-50%);
}
.fmfr-scene-family:before,
.fmfr-scene-family:after {
  content: '';
  position: absolute;
  bottom: 0;
  border-radius: 999px 999px 18px 18px;
  background: #d8845c;
  box-shadow: 0 12px 24px rgba(95,72,52,.12);
}
.fmfr-scene-family:before {
  left: 8px;
  width: 48px;
  height: 66px;
}
.fmfr-scene-family:after {
  right: 8px;
  width: 58px;
  height: 78px;
  background: #789b78;
}
.fmfr-ritual-copy h2 {
  max-width: 680px;
  margin: 0 0 10px;
}
.fmfr-ritual-copy p {
  max-width: 720px;
  color: var(--fmfr-muted);
}
.fmfr-ritual-path {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
  margin: 22px 0 26px;
  padding: 22px;
  border-radius: 32px;
  background:
    linear-gradient(90deg, transparent 9%, rgba(213,185,150,.34) 9%, rgba(213,185,150,.34) 91%, transparent 91%) center 93px / 100% 8px no-repeat,
    radial-gradient(circle at 16% 34%, rgba(255, 224, 185, .28), transparent 32%),
    radial-gradient(circle at 84% 66%, rgba(220, 240, 226, .52), transparent 36%),
    linear-gradient(180deg, #fffdf9 0%, #f3faf5 100%);
  border: 1px solid rgba(213,185,150,.58);
  box-shadow: 0 18px 44px rgba(95,72,52,.08);
  overflow: hidden;
}
.fmfr-phase-node {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-height: 166px;
  padding: 18px 16px 17px;
  border-radius: 28px;
  background: rgba(255,255,255,.84);
  border: 1px solid rgba(213,185,150,.58);
  box-shadow: 0 14px 34px rgba(95,72,52,.08);
  backdrop-filter: blur(4px);
}
.fmfr-phase-node::before {
  content: '';
  position: absolute;
  top: 48px;
  left: 50%;
  width: 18px;
  height: 18px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #fff8ef;
  border: 3px solid rgba(213,185,150,.42);
  box-shadow: 0 0 0 7px rgba(255,255,255,.74);
  z-index: -1;
}
.fmfr-phase-arrive {
  background: linear-gradient(180deg, rgba(255,255,255,.9) 0%, rgba(255,249,240,.86) 100%);
}
.fmfr-phase-moment {
  background: linear-gradient(180deg, rgba(255,255,255,.9) 0%, rgba(244,250,246,.9) 100%);
}
.fmfr-phase-close {
  background: linear-gradient(180deg, rgba(255,255,255,.9) 0%, rgba(255,250,241,.88) 100%);
}
.fmfr-phase-afterglow {
  background: linear-gradient(180deg, rgba(255,255,255,.9) 0%, rgba(241,248,251,.9) 100%);
}
.fmfr-ritual-path span,
.fmfr-ritual-path strong,
.fmfr-ritual-path small {
  display: block;
}
.fmfr-ritual-path span {
  width: 82px;
  height: 82px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  background: transparent;
  margin: 0;
}
.fmfr-ritual-path strong {
  font-size: 1.08rem;
  line-height: 1.16;
  text-align: center;
  overflow-wrap: normal;
  word-break: keep-all;
  hyphens: none;
}
.fmfr-ritual-path small {
  color: var(--fmfr-muted);
  margin-top: 3px;
  text-align: center;
}
.fmfr-card {
  padding: 24px;
  margin: 18px 0;
}
.fmfr-card-large { min-height: 230px; }
.fmfr-difference-card { background: linear-gradient(180deg, #ffffff 0%, #fff7ef 100%); }
.fmfr-link-card {
  text-decoration: none !important;
  color: inherit !important;
  display: block;
  transition: transform .16s ease, box-shadow .16s ease;
}
.fmfr-link-card:hover { transform: translateY(-2px); box-shadow: 0 22px 50px rgba(95, 72, 52, .13); }
.fmfr-startcards .fmfr-link-card {
  min-height: 300px;
  background: linear-gradient(180deg, #ffffff 0%, #fff8ef 100%);
}
.fmfr-startcards .fmfr-link-card:nth-child(2) {
  background: linear-gradient(180deg, #ffffff 0%, #edf7f1 100%);
}
.fmfr-startcards .fmfr-link-card:nth-child(3) {
  background: linear-gradient(180deg, #ffffff 0%, #eef7fb 100%);
}
.fmfr-startcards .fmfr-template-head {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-right: 64px;
  align-items: flex-start;
  min-height: 100%;
}
.fmfr-startcards .fmfr-icon-bubble {
  width: 142px;
  height: 142px;
  margin-bottom: 6px;
}
.fmfr-startcards .fmfr-template-title h3 {
  max-width: 100%;
  margin-top: 0;
  line-height: 1.16;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}
.fmfr-startcards .fmfr-template-title p {
  max-width: 100%;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}
.fmfr-icon-bubble,
.fmfr-run-phase-icon,
.fmfr-run-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 18px;
  background: var(--fmfr-soft);
  font-size: 1.65rem;
  margin-bottom: 12px;
}
.fmfr-run-icon { width: 74px; height: 74px; border-radius: 26px; font-size: 2.3rem; }
.fmfr-icon-image {
  display: block;
  width: 92%;
  height: 92%;
  object-fit: contain;
}
.fmfr-inline-icon {
  display: inline-block;
  width: 1.45em;
  height: 1.45em;
  object-fit: contain;
  vertical-align: -.35em;
  margin-right: 6px;
}
.fmfr-run-icon .fmfr-icon-image {
  width: 88%;
  height: 88%;
}
.fmfr-ritual-path .fmfr-icon-image {
  width: 100%;
  height: 100%;
}
.fmfr-ritual-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(circle at 20% 8%, rgba(255, 224, 185, .36), transparent 34%),
    linear-gradient(180deg, #fffdf9 0%, #fff8ef 100%);
  border-color: rgba(213, 185, 150, .72);
  box-shadow: 0 18px 44px rgba(94, 69, 43, .09);
}
.fmfr-ritual-card .fmfr-card-topline {
  align-items: flex-start;
  justify-content: flex-start;
  margin-bottom: 8px;
}
.fmfr-template-head {
  display: grid;
  grid-template-columns: 134px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  padding-right: 108px;
}
.fmfr-template-card .fmfr-template-head,
.fmfr-ritual-card:not(.fmfr-difference-card):not(.fmfr-link-card) .fmfr-template-head {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-right: 94px;
}
.fmfr-template-card .fmfr-template-title,
.fmfr-ritual-card:not(.fmfr-difference-card):not(.fmfr-link-card) .fmfr-template-title {
  width: 100%;
  min-width: 0;
}
.fmfr-ritual-card .fmfr-icon-bubble {
  width: 124px;
  height: 124px;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  margin-bottom: 10px;
}
.fmfr-ritual-card .fmfr-icon-bubble .fmfr-icon-image {
  width: 100%;
  height: 100%;
}
.fmfr-template-title h3 {
  margin: 12px 0 6px;
  font-size: 1.28rem;
  line-height: 1.18;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}
.fmfr-library-grid .fmfr-template-title h3 {
  min-height: 2.5em;
  display: flex;
  align-items: flex-end;
}
.fmfr-template-title p {
  color: var(--fmfr-muted);
  margin-top: 0;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}
.fmfr-library-grid .fmfr-template-title p {
  min-height: 7.9em;
}
.fmfr-ritual-card .fmfr-meta-row {
  padding-top: 10px;
}

.fmfr-run-history {
  margin-top: 16px;
  border-top: 1px solid rgba(109, 91, 72, .12);
  border-bottom: 1px solid rgba(109, 91, 72, .12);
}

.fmfr-run-history summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 2px;
  color: #654a3c;
  font-weight: 750;
  cursor: pointer;
}

.fmfr-run-history summary small {
  color: #887369;
  font-size: 12px;
  font-weight: 650;
}

.fmfr-run-history-list {
  display: grid;
  gap: 10px;
  padding: 0 0 14px;
}

.fmfr-run-history-list article {
  padding: 12px 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .62);
}

.fmfr-run-history-list article div {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 12px;
}

.fmfr-run-history-list article span {
  color: #75675e;
  font-size: 13px;
}

.fmfr-run-history-list article p {
  margin: 7px 0 0;
  color: #594e48;
  line-height: 1.5;
}
.fmfr-library-grid .fmfr-meta-row {
  min-height: 100px;
  align-content: flex-start;
  align-items: flex-start;
}
.fmfr-ritual-card .fmfr-details {
  background: rgba(255,255,255,.74);
}
.fmfr-library-grid .fmfr-template-card > form {
  margin-top: 16px;
}
.fmfr-corner-chip {
  position: absolute;
  top: 26px;
  right: 24px;
  z-index: 1;
}
.fmfr-clean-list { padding-left: 1.1em; color: var(--fmfr-muted); }
.fmfr-clean-list li { margin: 8px 0; }
.fmfr-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
}
.fmfr-head-copy { max-width: 420px; margin-top: 0; }
.fmfr-muted { color: var(--fmfr-muted); font-size: .95rem; }
.fmfr-anchor-box {
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 224, 185, .28), transparent 38%),
    linear-gradient(180deg, #fffdf9 0%, #fff8ef 100%);
  border: 1px solid var(--fmfr-line);
  border-radius: 24px;
  padding: 20px;
  box-shadow: 0 16px 36px rgba(94, 69, 43, .07);
}
.fmfr-anchors .fmfr-grid {
  align-items: stretch;
}
.fmfr-anchor-box .fmfr-compact-form {
  display: flex;
  flex: 1;
  flex-direction: column;
}
.fmfr-anchor-box > p {
  min-height: 52px;
}
.fmfr-anchor-box .fmfr-compact-form label {
  min-height: 22px;
}
.fmfr-anchor-box .fmfr-compact-form select,
.fmfr-anchor-box .fmfr-compact-form input[type="text"] {
  margin-bottom: 0;
}
.fmfr-anchor-box .fmfr-compact-form textarea {
  margin-bottom: 16px;
}
.fmfr-anchor-box .fmfr-button[type="submit"] {
  align-self: flex-start;
  margin-top: auto;
}
.fmfr-current-anchor,
.fmfr-empty-small {
  display: block;
  background: rgba(255,255,255,.72);
  border: 1px solid var(--fmfr-line);
  border-radius: 18px;
  padding: 14px;
  margin: 12px 0;
}
.fmfr-current-anchor strong,
.fmfr-current-anchor span { display: block; }
.fmfr-current-anchor span { color: var(--fmfr-muted); margin-top: 4px; }
.fmfr-form label { display: block; font-weight: 700; margin: 12px 0 6px; }
.fmfr-form small { display:block; color: var(--fmfr-muted); font-weight: 400; margin-top: 4px; }
.fmfr-form input[type="text"],
.fmfr-form input[type="number"],
.fmfr-form select,
.fmfr-form textarea,
.fmfr-inline-status select {
  width: 100%;
  border: 1px solid var(--fmfr-line);
  border-radius: 16px;
  padding: 13px 14px;
  background: #fff;
  color: var(--fmfr-ink);
  font: inherit;
  line-height: 1.35;
}
.fmfr-form input[type="text"],
.fmfr-form input[type="number"],
.fmfr-form select,
.fmfr-inline-status select {
  min-height: 50px;
}
.fmfr-form select,
.fmfr-inline-status select {
  padding-top: 0;
  padding-bottom: 0;
}
.fmfr-form textarea {
  display: block;
  min-height: 76px;
  margin-top: 10px;
}
.fmfr-form textarea { resize: vertical; }
.fmfr-compact-form { margin-top: 12px; }
.fmfr-button,
.fmfr-button:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: var(--fmfr-accent);
  color: #fff !important;
  padding: 12px 18px;
  min-height: 44px;
  font-weight: 780;
  text-decoration: none !important;
  cursor: pointer;
  transition: transform .14s ease, opacity .14s ease;
}
.fmfr-button:hover { transform: translateY(-1px); opacity: .94; }
.fmfr-button-secondary,
.fmfr-button-secondary:visited { background: var(--fmfr-green); }
.fmfr-button-ghost,
.fmfr-button-ghost:visited {
  background: #fff;
  color: var(--fmfr-accent-dark) !important;
  border: 1px solid var(--fmfr-line);
}
.fmfr-card-topline,
.fmfr-actions,
.fmfr-meta-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.fmfr-card-topline { justify-content: space-between; }
.fmfr-actions { margin-top: 16px; }
.fmfr-inline-action { margin: 0; }
.fmfr-template-card .fmfr-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}
.fmfr-template-card .fmfr-actions .fmfr-button,
.fmfr-template-card .fmfr-actions .fmfr-inline-action,
.fmfr-template-card .fmfr-actions .fmfr-inline-action .fmfr-button {
  width: 100%;
}
.fmfr-template-card .fmfr-actions .fmfr-inline-action {
  display: flex;
  height: 100%;
}
.fmfr-template-card .fmfr-actions .fmfr-button {
  min-height: 48px;
  padding-left: 12px;
  padding-right: 12px;
  text-align: center;
}
.fmfr-library-grid .fmfr-template-card > form > .fmfr-button {
  min-height: 77px;
  width: 100%;
}
.fmfr-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--fmfr-soft-2);
  color: #436847;
  font-size: .82rem;
  font-weight: 750;
}
.fmfr-meta-row span {
  padding: 8px 10px;
  border-radius: 12px;
  background: #fff8ef;
  color: var(--fmfr-muted);
  font-size: .9rem;
}
.fmfr-details {
  margin: 14px 0;
  padding: 14px;
  border-radius: 20px;
  border: 1px solid var(--fmfr-line);
  background: rgba(255,255,255,.72);
}
.fmfr-details summary {
  cursor: pointer;
  font-weight: 850;
  padding: 10px 12px;
  margin: -4px -4px 4px;
  border-radius: 14px;
  color: var(--fmfr-accent-dark);
  background: rgba(255,255,255,.72);
  list-style-position: inside;
}
.fmfr-details summary:focus {
  outline: 2px solid rgba(199,120,77,.32);
  outline-offset: 3px;
}
.fmfr-details[open] summary {
  background: #fff4e8;
}
.fmfr-idea-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}
.fmfr-idea-item {
  padding: 14px;
  border-radius: 18px;
  background: linear-gradient(180deg, #fffdf9 0%, #fff4e8 100%);
  border: 1px solid rgba(213,185,150,.62);
}
.fmfr-idea-wide {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, #fffdf9 0%, #edf7f1 100%);
}
.fmfr-idea-item span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .8rem;
  font-weight: 850;
  color: var(--fmfr-accent-dark);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 7px;
}
.fmfr-idea-item p {
  margin: 0;
  color: var(--fmfr-ink);
  line-height: 1.45;
}
.fmfr-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0;
}
.fmfr-mini-grid span {
  background: #fff8ef;
  border-radius: 16px;
  padding: 11px 12px;
  color: var(--fmfr-muted);
}
.fmfr-mini-grid strong { display: block; color: var(--fmfr-ink); font-size: .82rem; }
.fmfr-inline-status {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
  margin-top: 14px;
}
.fmfr-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 18px;
}
.fmfr-edit-form {
  background: linear-gradient(180deg, #fffdf9 0%, #fff8ef 100%);
}
.fmfr-form-section {
  padding: 20px;
  margin: 18px 0;
  border: 1px solid rgba(213, 185, 150, .72);
  border-radius: 24px;
  background: rgba(255,255,255,.68);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.42);
}
.fmfr-form-section:first-of-type { margin-top: 0; }
.fmfr-form-section-head {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  margin-bottom: 16px;
}
.fmfr-form-section-head .fmfr-icon-bubble {
  width: 82px;
  height: 82px;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  margin: 0;
}
.fmfr-form-section-head h3 {
  margin: 2px 0 5px;
}
.fmfr-form-section-head p:not(.fmfr-kicker) {
  margin: 0;
  color: var(--fmfr-muted);
}
.fmfr-check-row,
.fmfr-check-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 18px 0;
}
.fmfr-child-scope {
  grid-column: 1 / -1;
  min-width: 0;
  margin: 12px 0 6px;
  padding: 0;
  border: 0;
}
.fmfr-calendar-toggle {
  display: flex !important;
  align-items: flex-start;
  gap: 12px;
  min-height: 76px;
  padding: 14px;
  border: 1px solid var(--fmfr-line);
  border-radius: 16px;
  background: #fff;
  cursor: pointer;
}
.fmfr-calendar-toggle input {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin: 3px 0 0;
  accent-color: var(--fmfr-accent);
}
.fmfr-calendar-toggle strong,
.fmfr-calendar-toggle small {
  display: block;
}
.fmfr-calendar-toggle small {
  margin-top: 4px;
}
.fmfr-calendar-toggle:has(input:checked) {
  border-color: rgba(201, 113, 70, .72);
  background: #fff5e9;
  box-shadow: 0 0 0 2px rgba(201, 113, 70, .12);
}
.fmfr-child-scope legend {
  margin-bottom: 10px;
  color: var(--fmfr-ink);
  font-weight: 700;
}
.fmfr-child-scope-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
}
.fmfr-child-choice {
  position: relative;
  display: flex !important;
  align-items: center;
  gap: 12px;
  min-height: 76px;
  margin: 0 !important;
  padding: 10px 12px;
  border: 1px solid var(--fmfr-line);
  border-radius: 16px;
  background: #fff;
  cursor: pointer;
}
.fmfr-child-choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.fmfr-child-choice:has(input:checked) {
  border-color: rgba(201, 113, 70, .72);
  background: #fff5e9;
  box-shadow: 0 0 0 2px rgba(201, 113, 70, .12);
}
.fmfr-child-choice__visual {
  display: grid;
  place-items: center;
  flex: 0 0 54px;
  width: 54px;
  height: 54px;
  overflow: hidden;
  border-radius: 50%;
  background: #f5efe7;
  color: var(--fmfr-accent);
  font-size: 1.45rem;
}
.fmfr-child-choice__visual img,
.fmfr-child-choice__visual svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.fmfr-child-choice strong,
.fmfr-child-choice small {
  display: block;
}
.fmfr-child-choice small {
  margin-top: 2px;
}
.fmfr-check-grid label,
.fmfr-check-row label {
  margin: 0;
  padding: 12px 14px;
  border: 1px solid var(--fmfr-line);
  border-radius: 16px;
  background: #fffdf8;
}
.fmfr-run-hero {
  text-align: center;
  padding: 34px 24px;
  margin: 22px 0;
  background: linear-gradient(180deg, #fff8ef 0%, #ffffff 100%);
}
.fmfr-run-card {
  padding: 20px;
  margin: 18px 0;
  background: #fffdf8;
}
.fmfr-run-phase {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  padding: 20px;
  margin: 14px 0;
  border-radius: 26px;
  background: #fff;
  border: 1px solid var(--fmfr-line);
}
.fmfr-run-phase h3 { margin: 0 0 8px; }
.fmfr-run-phase p { color: var(--fmfr-muted); margin-top: 0; }
.fmfr-phase-button {
  border: 1px solid var(--fmfr-line);
  background: var(--fmfr-soft-2);
  color: #456c49;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 750;
  cursor: pointer;
}
.fmfr-run-phase.is-soft-done { opacity: .78; background: #fbfaf6; }
.fmfr-run-phase.is-soft-done .fmfr-phase-button { background: #fff; }

/* Kompakte Ritualdurchführung innerhalb des Kalender-Modals. */
.fmfr-shell.fmfr-shell-embed {
  padding: 14px 18px 24px;
}
.fmfr-shell.fmfr-shell-embed .fmfr-run-hero {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 16px;
  align-items: center;
  text-align: left;
  padding: 18px 22px;
  margin: 0 0 18px;
  border-radius: 22px;
}
.fmfr-shell.fmfr-shell-embed .fmfr-run-hero .fmfr-run-icon {
  grid-row: 1 / span 3;
  width: 66px;
  height: 66px;
  margin: 0;
  border-radius: 20px;
}
.fmfr-shell.fmfr-shell-embed .fmfr-run-hero .fmfr-kicker,
.fmfr-shell.fmfr-shell-embed .fmfr-run-hero h2,
.fmfr-shell.fmfr-shell-embed .fmfr-run-hero p {
  margin: 0;
}
.fmfr-shell.fmfr-shell-embed .fmfr-run-hero h2 {
  margin-top: 2px;
}
.fmfr-shell.fmfr-shell-embed .fmfr-run-card {
  display: grid;
  gap: 18px;
  padding: 0;
  margin: 0 0 22px;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.fmfr-shell.fmfr-shell-embed .fmfr-run-phase {
  grid-template-columns: 82px minmax(0, 1fr);
  align-items: center;
  gap: 22px;
  min-height: 150px;
  padding: 24px 26px;
  margin: 0;
  border-radius: 22px;
  box-shadow: 0 12px 32px rgba(95, 72, 52, .07);
}
.fmfr-shell.fmfr-shell-embed .fmfr-run-phase-icon {
  width: 76px;
  height: 76px;
  margin: 0;
  border-radius: 22px;
  align-self: center;
}
.fmfr-shell.fmfr-shell-embed .fmfr-run-phase-icon .fmfr-icon-image {
  width: 88%;
  height: 88%;
}
.fmfr-shell.fmfr-shell-embed .fmfr-run-phase p {
  margin-bottom: 14px;
}
.fmfr-shell.fmfr-shell-embed .fmfr-reflection {
  margin: 0;
  padding: 24px 26px;
  border-radius: 22px;
}

@media (max-width: 620px) {
  .fmfr-shell.fmfr-shell-embed {
    padding: 10px;
  }
  .fmfr-shell.fmfr-shell-embed .fmfr-run-hero {
    grid-template-columns: 54px 1fr;
    gap: 12px;
    padding: 15px;
  }
  .fmfr-shell.fmfr-shell-embed .fmfr-run-hero .fmfr-run-icon {
    width: 54px;
    height: 54px;
    border-radius: 17px;
  }
  .fmfr-shell.fmfr-shell-embed .fmfr-run-phase {
    grid-template-columns: 62px minmax(0, 1fr);
    gap: 14px;
    min-height: 0;
    padding: 18px;
  }
  .fmfr-shell.fmfr-shell-embed .fmfr-run-phase-icon {
    width: 58px;
    height: 58px;
    border-radius: 18px;
  }
}

.fmfr-icon-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.fmfr-icon-entry {
  border: 1px solid var(--fmfr-line);
  border-radius: 18px;
  padding: 14px;
  background: #fffdf8;
}
.fmfr-icon-entry span { display: block; font-size: 1.6rem; margin-bottom: 8px; }
.fmfr-icon-entry strong { display: block; }
.fmfr-icon-entry code {
  display: block;
  margin-top: 8px;
  white-space: normal;
  color: var(--fmfr-muted);
  font-size: .78rem;
}
.fmfr-prepared { background: linear-gradient(135deg, #fff 0%, #edf7f1 100%); }
.fmfr-empty { text-align: center; }
@media (max-width: 900px) {
  .fmfr-hero,
  .fmfr-section-head { flex-direction: column; }
  .fmfr-grid-2,
  .fmfr-grid-3,
  .fmfr-ritual-atmosphere,
  .fmfr-ritual-path,
  .fmfr-form-grid,
  .fmfr-idea-grid,
  .fmfr-icon-grid { grid-template-columns: 1fr; }
  .fmfr-help-actions,
  .fmfr-help-grid { grid-template-columns: 1fr; }
  .fmfr-inline-status { grid-template-columns: 1fr; }
  .fmfr-start-focus,
  .fmfr-start-focus-steps { grid-template-columns: 1fr; }
  .fmfr-start-focus-steps a {
    min-height: 0;
    grid-template-columns: 28px minmax(0, 1fr);
    justify-items: start;
    text-align: left;
  }
}
@media (min-width: 901px) {
  .fmfr-startcards .fmfr-link-card {
    padding: 28px;
  }
}
@media (max-width: 560px) {
  .fmfr-hero,
  .fmfr-card,
  .fmfr-run-card { border-radius: 20px; padding: 18px; }
  .fmfr-run-phase { grid-template-columns: 1fr; }
  .fmfr-tabs { gap: 8px; }
  .fmfr-tab { width: 100%; text-align: center; }
  .fmfr-template-head {
    grid-template-columns: 1fr;
    gap: 8px;
    padding-right: 0;
  }
  .fmfr-ritual-card .fmfr-icon-bubble {
    width: 112px;
    height: 112px;
  }
  .fmfr-ritual-path {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 16px;
    background:
      linear-gradient(180deg, transparent 9%, rgba(213,185,150,.28) 9%, rgba(213,185,150,.28) 91%, transparent 91%) 54px center / 8px 100% no-repeat,
      radial-gradient(circle at 20% 20%, rgba(255, 224, 185, .24), transparent 32%),
      linear-gradient(180deg, #fffdf9 0%, #f3faf5 100%);
  }
  .fmfr-phase-node,
  .fmfr-phase-arrive,
  .fmfr-phase-moment,
  .fmfr-phase-close,
  .fmfr-phase-afterglow {
    position: relative;
    inset: auto;
    width: 100%;
    transform: none;
    display: grid;
    grid-template-columns: 74px minmax(0, 1fr);
    justify-items: start;
    text-align: left;
    margin: 0 0 12px;
  }
  .fmfr-phase-node::before {
    left: 38px;
    top: 50%;
    transform: translate(-50%, -50%);
  }
  .fmfr-phase-afterglow { margin-bottom: 0; }
  .fmfr-ritual-path span {
    width: 70px;
    height: 70px;
  }
  .fmfr-ritual-path strong,
  .fmfr-ritual-path small {
    text-align: left;
  }
  .fmfr-form-section {
    padding: 16px;
    border-radius: 20px;
  }
  .fmfr-form-section-head {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .fmfr-form-section-head .fmfr-icon-bubble {
    width: 92px;
    height: 92px;
  }
  .fmfr-corner-chip {
    position: static;
    align-self: flex-start;
    margin-bottom: 8px;
  }
  .fmfr-template-card .fmfr-actions {
    grid-template-columns: 1fr;
  }
}

/* Shared Familymap module header */
.fmfr-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, .8fr);
  align-items: stretch;
  gap: 28px;
  padding: 30px;
  border-radius: 30px;
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 224, 153, .28), transparent 34%),
    linear-gradient(145deg, #fffdf8 0%, #f2f9f6 100%);
}
.fmfr-hero-main {
  display: flex;
  max-width: none;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}
.fmfr-hero-main > .fmfr-kicker {
  display: inline-flex;
  width: fit-content;
  padding: 7px 13px;
  margin-bottom: 10px;
  border-radius: 999px;
  color: #335f58 !important;
  background: rgba(219, 240, 232, .78);
  letter-spacing: 0;
}
.fmfr-hero h1 {
  color: #1c2e3e;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  line-height: 1.12;
}
.fmfr-help-box {
  width: 100%;
  margin-top: 20px;
  padding: 10px;
  border-radius: 24px;
  background: rgba(255, 255, 255, .72);
  border: 1px solid rgba(48, 111, 104, .14);
  box-shadow: 0 10px 24px rgba(32, 73, 69, .07);
}
.fmfr-help-title {
  margin: 0;
}
.fmfr-help-title-icon {
  width: 38px;
  height: 38px;
}
.fmfr-help-title small {
  display: none;
}
.fmfr-help-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.fmfr-help-button {
  min-height: 40px;
  padding: 8px 13px 8px 9px;
  justify-content: center;
}
.fmfr-help-button span {
  width: 24px;
  height: 24px;
}
.fmfr-hero-context {
  display: grid;
  gap: 12px;
  min-width: 0;
}
.fmfr-hero-context .fmfr-core-context-select,
.fmfr-hero-context .fmfr-context-family,
.fmfr-hero-context .fmfr-context-person {
  border: 1px solid rgba(220, 207, 184, .72);
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 10px 24px rgba(42, 76, 67, .06);
}
.fmfr-hero-context .fmfr-core-context-select {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.fmfr-hero-main > .fmfr-core-context-select {
  margin-top: 18px;
  padding: 12px;
  border: 1px solid rgba(204, 224, 214, .82);
  border-radius: 17px;
  background: rgba(245, 251, 248, .8);
}
.fmfr-core-context-select .fm-context-selector,
.fmfr-core-context-select .fm-context-selector.is-compact {
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.fmfr-core-context-select .fm-context-form,
.fmfr-core-context-select .fm-context-selector.is-compact .fm-context-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.fmfr-core-context-select .fm-context-field label {
  display: block;
  margin: 0 0 5px;
  color: #6f5d4b;
  font-size: 12px;
  font-weight: 750;
}
.fmfr-core-context-select select {
  width: 100%;
  min-height: 46px;
  padding: 9px 38px 9px 12px;
  border: 1px solid #d7e4dc;
  border-radius: 13px;
  background-color: #f8fcf9;
  color: #17304a;
  font: inherit;
}
.fmfr-hero-context .fmfr-context-summary {
  display: grid;
  gap: 12px;
  justify-content: stretch;
  margin-top: 12px;
}
.fmfr-hero-context .fmfr-context-family,
.fmfr-hero-context .fmfr-context-person {
  width: 100%;
  min-width: 0;
  min-height: 74px;
  border-radius: 22px;
}
@media (max-width: 980px) {
  .fmfr-hero {
    grid-template-columns: 1fr;
  }
}
@media (min-width: 761px) and (max-width: 980px) {
  .fmfr-hero {
    grid-template-columns: minmax(0, 1.1fr) minmax(260px, .9fr);
    gap: 22px;
  }

  .fmfr-hero-main {
    justify-content: center;
  }

  .fmfr-hero-main > .fmfr-core-context-select {
    margin-top: 14px;
  }

  .fmfr-hero-context .fmfr-context-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 0;
  }

  .fmfr-hero-context .fmfr-context-family,
  .fmfr-hero-context .fmfr-context-person {
    min-height: 0;
    padding: 12px;
  }

  .fmfr-hero-context .fmfr-context-companion {
    grid-column: 1 / -1;
  }
}
@media (max-width: 640px) {
  .fmfr-hero {
    padding: 20px;
    border-radius: 24px;
  }
  .fmfr-help-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }
  .fmfr-core-context-select .fm-context-form,
  .fmfr-core-context-select .fm-context-selector.is-compact .fm-context-form {
    grid-template-columns: 1fr;
  }
}
.fmfr-public {
  max-width: 1120px;
  margin: 0 auto;
  padding: 28px 18px 48px;
  color: #1f2420;
}

.fmfr-public-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, .75fr);
  gap: 24px;
  align-items: stretch;
  padding: clamp(24px, 5vw, 46px);
  border-radius: 8px;
  border: 1px solid rgba(121, 92, 47, .18);
  background: linear-gradient(135deg, #fffaf0 0%, #f4f8ef 56%, #eef7f5 100%);
  box-shadow: 0 18px 44px rgba(74, 58, 35, .08);
}

.fmfr-public-kicker {
  display: block;
  margin-bottom: 10px;
  color: #7a6232;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.fmfr-public h1 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.05;
}

.fmfr-public p {
  font-size: 1.02rem;
  line-height: 1.65;
}

.fmfr-public-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.fmfr-public .fmfr-public-test-note {
  max-width: 620px;
  margin: 1.45rem 0 0;
  color: #60736a;
  font-size: .95rem;
  line-height: 1.5;
}

.fmfr-public-button,
.fmfr-public-overview {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border-radius: 999px;
  border: 1px solid rgba(122, 98, 50, .32);
  color: #684f25;
  font-weight: 800;
  text-decoration: none;
}

.fmfr-public-button--primary {
  background: #7a6232;
  color: #fff;
  border-color: #7a6232;
}

.fmfr-public-visual {
  display: grid;
  gap: 12px;
  align-content: center;
}

.fmfr-public-visual span {
  display: block;
  padding: 14px 16px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .78);
  border-left: 5px solid #5f8d78;
  font-weight: 800;
}

.fmfr-public-grid,
.fmfr-public-flow {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

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

.fmfr-public-flow {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 0;
  list-style: none;
}

.fmfr-public-grid article,
.fmfr-public-flow li {
  border: 1px solid rgba(121, 92, 47, .14);
  border-radius: 8px;
  background: #fff;
  padding: 18px;
  box-shadow: 0 10px 28px rgba(74, 58, 35, .06);
}

.fmfr-public-grid h2 {
  margin: 0 0 8px;
  font-size: 1.08rem;
}

.fmfr-public-grid p {
  margin: 0;
  font-size: .96rem;
}

.fmfr-public-flow li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
}

.fmfr-public-flow strong {
  display: inline-flex;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #7a6232;
  color: #fff;
  font-size: .9rem;
}

.fmfr-public-overview {
  margin-top: 18px;
  background: #fff;
}

@media (max-width: 820px) {
  .fmfr-public-hero,
  .fmfr-public-grid,
  .fmfr-public-flow {
    grid-template-columns: 1fr;
  }
}
.fmfr-public-promo {
  max-width: 560px;
  margin: 0 auto 20px;
}

.fmfr-public-promo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(30, 47, 42, .14);
}

/* UI-Fokus: kompakter Einstieg, klarere Kontraste, weniger Scrollballast. */
.fmfr-shell {
  --fmfr-line-strong: rgba(74, 58, 35, .2);
}

.fmfr-hero,
.fmfr-card,
.fmfr-run-hero,
.fmfr-run-card,
.fmfr-core-context,
.fmfr-softnotice,
.fmfr-message,
.fmfr-anchor-box {
  border-color: var(--fmfr-line-strong);
  box-shadow: 0 16px 38px rgba(68, 52, 35, .095);
}

.fmfr-hero {
  gap: 18px;
  padding: 24px;
  margin: 14px 0 12px;
  border-width: 1.5px;
}

.fmfr-hero-main {
  display: grid;
  align-content: start;
  gap: 10px;
  max-width: none;
}

.fmfr-hero-main > p:not(.fmfr-kicker) {
  max-width: 720px;
  margin: 0;
}

.fmfr-help-box {
  width: 100%;
  margin-top: 4px;
  padding: 12px 14px;
  border-radius: 20px;
  border-width: 1.5px;
}

.fmfr-help-title {
  gap: 10px;
  margin-bottom: 10px;
}

.fmfr-help-title-icon {
  width: 44px;
  height: 44px;
}

.fmfr-help-actions {
  gap: 8px;
}

.fmfr-help-button {
  min-height: 42px;
  padding: 9px 14px 9px 12px;
  border-radius: 16px;
}

.fmfr-hero-context .fmfr-context-summary {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.fmfr-hero-context .fmfr-context-family,
.fmfr-hero-context .fmfr-context-person {
  min-height: 56px;
  border-width: 1.5px;
}

.fmfr-context-avatar,
.fmfr-context-companion-media {
  width: 42px;
  height: 42px;
  flex-basis: 42px;
}

.fmfr-tabs {
  margin: 12px 0 14px;
  gap: 8px;
}

.fmfr-tab {
  padding: 9px 13px;
  border-width: 1.5px;
}

.fmfr-start-focus {
  margin-bottom: 14px;
  border-color: rgba(121, 155, 120, .36);
  box-shadow: 0 14px 30px rgba(70, 88, 56, .11);
}

.fmfr-start-focus-steps a {
  min-height: 72px;
  border-width: 1.5px;
}

.fmfr-ritual-atmosphere {
  grid-template-columns: minmax(220px, 330px) 1fr;
  gap: 22px;
  margin: 14px 0 18px;
  padding: 22px;
  border-width: 1.5px;
}

.fmfr-ritual-scene {
  min-height: 190px;
}

.fmfr-ritual-copy h2 {
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  line-height: 1.15;
}

.fmfr-ritual-path {
  margin: 16px 0 18px;
  padding: 16px;
  border-width: 1.5px;
}

.fmfr-phase-node {
  min-height: 136px;
  border-width: 1.5px;
}

.fmfr-ritual-path span {
  width: 62px;
  height: 62px;
}

.fmfr-startcards .fmfr-link-card {
  min-height: 230px;
}

.fmfr-startcards .fmfr-template-head {
  gap: 8px;
  padding-right: 48px;
}

.fmfr-startcards .fmfr-icon-bubble {
  width: 96px;
  height: 96px;
}

.fmfr-ritual-card {
  border-width: 1.5px;
}

.fmfr-card {
  padding: 22px;
}

@media (min-width: 761px) and (max-width: 980px) {
  .fmfr-hero {
    grid-template-columns: minmax(0, 1.18fr) minmax(230px, .82fr);
  }

  .fmfr-ritual-atmosphere {
    grid-template-columns: minmax(210px, 280px) minmax(0, 1fr);
  }

  .fmfr-startcards .fmfr-link-card {
    min-height: 220px;
  }
}

@media (max-width: 760px) {
  .fmfr-hero,
  .fmfr-ritual-atmosphere,
  .fmfr-start-focus {
    padding: 16px;
  }

  .fmfr-ritual-atmosphere,
  .fmfr-start-focus {
    grid-template-columns: 1fr;
  }

  .fmfr-start-focus-steps {
    grid-template-columns: 1fr;
  }
}

.fmfr-hero .fmfr-help-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  margin-top: 0;
  padding: 10px 12px;
}

.fmfr-hero .fmfr-help-title {
  min-width: 0;
  margin: 0;
}

.fmfr-hero .fmfr-help-actions {
  flex-wrap: nowrap;
  margin-top: 0;
}

.fmfr-hero .fmfr-help-button {
  white-space: nowrap;
}

.fmfr-hero-main > .fmfr-core-context-select {
  margin-top: 0;
  padding: 8px;
}

.fmfr-core-context-select .fm-context-field label {
  margin-bottom: 2px;
  font-size: 11px;
}

.fmfr-core-context-select select {
  min-height: 38px;
  padding-top: 7px;
  padding-bottom: 7px;
}

.fmfr-hero-context .fmfr-context-family,
.fmfr-hero-context .fmfr-context-person {
  min-height: 54px;
  padding: 9px 12px;
}

@media (max-width: 760px) {
  .fmfr-hero .fmfr-help-box,
  .fmfr-hero .fmfr-help-actions {
    grid-template-columns: 1fr;
  }

  .fmfr-hero .fmfr-help-actions {
    display: grid;
  }
}
