.fmkk19-root {
  --fmkk19-bg: #f6f3ee;
  --fmkk19-panel: #ffffff;
  --fmkk19-panel-soft: #fbfaf7;
  --fmkk19-border: #e8e0d5;
  --fmkk19-text: #22313a;
  --fmkk19-muted: #6a7882;
  --fmkk19-accent: #1e63b5;
  --fmkk19-accent-soft: #e7f0ff;
  --fmkk19-gold: #d89a2b;
  --fmkk19-gold-soft: #fff7e6;
  color: var(--fmkk19-text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* V20.0.9: kompaktere Übergangsverweise und stabile Ereigniszeilen */
.fmkk19-transition-badge {
  min-height: 24px;
}

.fmkk19-transition-badge .fm-symbol-img,
.fmkk19-transition-inline .fm-symbol-img,
.fmkk19-transition-overview-btn .fm-symbol-img {
  width: 18px;
  height: 18px;
  max-width: 18px;
  max-height: 18px;
  object-fit: contain;
}

.fmkk19-transition-badge .fm-symbol-img {
  width: 15px;
  height: 15px;
  max-width: 15px;
  max-height: 15px;
}

.fmkk19-transition-overview-btn > span:first-child,
.fmkk19-transition-inline > span:first-child {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  display: inline-grid;
  place-items: center;
}

.fmkk19-entry-pill.large {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px 12px;
  justify-content: stretch;
  padding: 12px 14px;
}

.fmkk19-entry-pill.large .fmkk19-entry-icon {
  grid-column: 1;
  grid-row: 1 / span 2;
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border-radius: 14px;
  background: #fff;
}

.fmkk19-entry-pill.large .fmkk19-entry-title {
  grid-column: 2;
  min-width: 0;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.fmkk19-entry-pill.large .fmkk19-entry-legacy-badge,
.fmkk19-entry-pill.large .fmkk19-transition-inline {
  grid-column: 2;
  justify-self: start;
  margin-left: 0;
}

.fmkk19-entry-pill.large .fmkk19-entry-delete {
  grid-column: 3;
  grid-row: 1 / span 2;
  width: auto;
  height: auto;
  min-width: 92px;
  padding: 9px 12px;
  opacity: 1;
  border-radius: 999px;
  background: #eef3f8;
  color: #4d6579;
  font-size: 13px;
  font-weight: 800;
}

.fmkk19-entry-pill.large .fmkk19-entry-delete:hover,
.fmkk19-entry-pill.large .fmkk19-entry-delete:focus-visible {
  background: #dfeaf3;
  color: #2f4a61;
}

@media (max-width: 560px) {
  .fmkk19-entry-pill.large {
    grid-template-columns: 42px minmax(0, 1fr);
  }

.fmkk19-entry-pill.large .fmkk19-entry-delete {
    grid-column: 1 / -1;
    grid-row: auto;
    justify-self: stretch;
  }
}

/* V20.0.10: Ereignisverknüpfungen im Planungsmodal gleichwertig darstellen */
.fmkk19-entry-pill.large .fmkk19-entry-linked-actions {
  grid-column: 2;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  min-width: 0;
}

.fmkk19-entry-pill.large .fmkk19-entry-linked-actions .fmkk19-transition-inline,
.fmkk19-entry-pill.large .fmkk19-entry-linked-actions .fmkk19-ritual-overview-btn {
  min-height: 32px;
  height: 32px;
  width: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 850;
  line-height: 1;
  white-space: nowrap;
  box-shadow: none;
}

.fmkk19-entry-pill.large .fmkk19-entry-linked-actions .fmkk19-ritual-overview-btn {
  border: 1px solid rgba(207, 132, 80, .28);
  background: #fff8ef;
  color: #8b4d2f;
}

.fmkk19-entry-pill.large .fmkk19-entry-linked-actions .fmkk19-ritual-overview-btn > span:first-child {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  border-radius: 8px;
  background: rgba(255,255,255,.86);
  border: 0;
}

.fmkk19-entry-pill.large .fmkk19-entry-linked-actions .fmkk19-ritual-img {
  width: 18px;
  height: 18px;
}

@media (max-width: 560px) {
  .fmkk19-entry-pill.large .fmkk19-entry-linked-actions {
    grid-column: 1 / -1;
  }
}

/* Shared Familymap module header: orientation, context and companion. */
.fmkk19-module-head {
  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%);
}

.fmkk19-module-head-text {
  display: flex;
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.fmkk19-module-overline {
  display: inline-flex;
  width: fit-content;
  padding: 7px 13px;
  margin-bottom: 10px;
  border-radius: 999px;
  color: #335f58;
  background: rgba(219, 240, 232, .78);
  font-weight: 850;
}

.fmkk19-module-title {
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  line-height: 1.12;
}

.fmkk19-module-head .fmkk19-help-strip {
  margin: 20px 0 0 !important;
}

.fmkk19-module-head .fmkk19-selector-wrap {
  grid-column: 1;
  grid-row: 2;
  width: 100%;
  margin-top: -12px;
}

.fmkk19-module-summary {
  display: grid;
  grid-column: 2;
  grid-row: 1 / span 2;
  gap: 12px;
  min-width: 0;
}

.fmkk19-summary-card,
.fmkk19-module-summary .fmkk19-context-companion {
  min-width: 0;
  max-width: none;
  padding: 16px;
  border: 1px solid rgba(220, 207, 184, .72);
  border-radius: 22px;
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 10px 24px rgba(42, 76, 67, .06);
}

.fmkk19-summary-card {
  display: flex;
  align-items: center;
  gap: 14px;
}

.fmkk19-summary-icon {
  display: grid;
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  place-items: center;
  overflow: hidden;
  border-radius: 20px;
  background: linear-gradient(180deg, #fff8e9, #f7ead1);
}

.fmkk19-summary-icon img,
.fmkk19-summary-icon svg {
  width: 88%;
  height: 88%;
  object-fit: contain;
}

.fmkk19-summary-copy {
  min-width: 0;
}

.fmkk19-summary-label {
  margin-bottom: 4px;
  color: #60756f;
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.fmkk19-summary-value {
  color: #1c2e3e;
  font-size: 1.05rem;
  font-weight: 850;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.fmkk19-module-summary .fmkk19-context-companion {
  grid-template-columns: minmax(0, 1fr) 112px;
  min-height: 132px;
}

.fmkk19-module-summary .fmkk19-context-companion-media {
  grid-column: 2;
  grid-row: 1;
  width: 112px;
  height: 112px;
}

.fmkk19-module-summary .fmkk19-context-companion-copy {
  grid-column: 1;
  grid-row: 1;
}

.fmkk19-context-bar {
  padding: 14px 16px;
  border: 1px solid rgba(220, 207, 184, .72);
  border-radius: 20px;
  background: rgba(255, 255, 255, .7);
}

@media (max-width: 980px) {
  .fmkk19-module-head {
    grid-template-columns: 1fr;
  }

  .fmkk19-module-head-text,
  .fmkk19-module-head .fmkk19-selector-wrap,
  .fmkk19-module-summary {
    grid-column: 1;
    grid-row: auto;
  }

  .fmkk19-module-head .fmkk19-selector-wrap {
    margin-top: 0;
  }
}

@media (max-width: 640px) {
  .fmkk19-module-head {
    padding: 20px;
    border-radius: 24px;
  }

  .fmkk19-module-summary .fmkk19-context-companion {
    grid-template-columns: minmax(0, 1fr) 88px;
    min-height: 108px;
  }

  .fmkk19-module-summary .fmkk19-context-companion-media {
    width: 88px;
    height: 88px;
  }

  .fmkk19-context-bar {
    align-items: stretch;
  }

  .fmkk19-week-stepper,
  .fmkk19-context-right {
    width: 100%;
  }
}

/* V20.0.11: Tagesreise zeigt Ritual und Übergang gleichwertig */
.fmkk19-journey-entry-transition-row {
  align-items: center;
  gap: 7px;
}

.fmkk19-journey-entry-transition-row .fmkk19-transition-overview-btn,
.fmkk19-journey-entry-transition-row .fmkk19-ritual-overview-btn {
  min-height: 32px;
  height: 32px;
  width: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 850;
  line-height: 1;
  white-space: nowrap;
  box-shadow: none;
}

.fmkk19-journey-entry-transition-row .fmkk19-ritual-overview-btn {
  border: 1px solid rgba(207, 132, 80, .28);
  background: #fff8ef;
  color: #8b4d2f;
}

.fmkk19-journey-entry-transition-row .fmkk19-ritual-overview-btn > span:first-child {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  border: 0;
  border-radius: 8px;
  background: rgba(255,255,255,.86);
}

.fmkk19-journey-entry-transition-row .fmkk19-ritual-img,
.fmkk19-journey-entry-transition-row .fmkk19-transition-overview-btn .fm-symbol-img {
  width: 18px;
  height: 18px;
}

/* V20.0.12: Tagesreise entlasten, Aktionen oben rechts */
.fmkk19-journey-entry-top-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 7px;
  margin-left: auto;
}

.fmkk19-journey-entry-top-actions .fmkk19-transition-overview-btn,
.fmkk19-journey-entry-top-actions .fmkk19-ritual-overview-btn {
  min-height: 32px;
  height: 32px;
  width: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 850;
  line-height: 1;
  white-space: nowrap;
  box-shadow: none;
}

.fmkk19-journey-entry-top-actions .fmkk19-ritual-overview-btn {
  border: 1px solid rgba(207, 132, 80, .28);
  background: #fff8ef;
  color: #8b4d2f;
}

.fmkk19-journey-entry-top-actions .fmkk19-ritual-overview-btn > span:first-child {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  border: 0;
  border-radius: 8px;
  background: rgba(255,255,255,.86);
}

.fmkk19-journey-entry-top-actions .fmkk19-ritual-img,
.fmkk19-journey-entry-top-actions .fmkk19-transition-overview-btn .fm-symbol-img {
  width: 18px;
  height: 18px;
}

@media (max-width: 720px) {
  .fmkk19-journey-entry-top-actions {
    width: 100%;
    justify-content: flex-start;
    margin-left: 0;
  }
}

.fmkk19-journey-day-marker.has-ritual {
  background: #d48756;
}

.fmkk19-parent-slot-row.has-ritual,
.fmkk19-slot-card.has-ritual,
.fmkk19-journey-station.has-ritual .fmkk19-journey-station-card {
  border-color: rgba(207, 132, 80, .38);
  box-shadow: 0 18px 44px rgba(207, 132, 80, .12);
}

.fmkk19-parent-ritual-row,
.fmkk19-ritual-callout-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.fmkk19-parent-ritual-row {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.fmkk19-rule-reminders {
  margin-top: 12px;
  padding: 10px 12px;
  border-left: 4px solid #2d7e71;
  border-radius: 0 12px 12px 0;
  background: #eef8f5;
}

.fmkk19-rule-reminders__label {
  margin-bottom: 7px;
  color: #286c62;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.fmkk19-rule-reminders__list {
  display: grid;
  gap: 6px;
}

.fmkk19-rule-reminder {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 5px 7px;
  border-radius: 9px;
  color: #173d4a;
  text-decoration: none;
}

.fmkk19-rule-reminder:hover {
  background: rgba(255, 255, 255, .78);
  color: #173d4a;
  text-decoration: none;
}

.fmkk19-rule-reminder__icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
}

.fmkk19-rule-reminder__icon img,
.fmkk19-rule-reminder__icon .fm-symbol-img,
.fmkk19-rule-reminder__icon .fm-rules-symbol-icon {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.fmkk19-rule-reminder__text {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.fmkk19-rule-reminder__text small {
  color: #5b756e;
  font-size: 10px;
  font-weight: 750;
}

.fmkk19-rule-reminder__text strong {
  display: -webkit-box;
  overflow: hidden;
  color: #173d4a;
  font-size: 14px;
  line-height: 1.3;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.fmkk19-rule-reminder__arrow {
  color: #2d7e71;
  font-size: 20px;
  line-height: 1;
}

.fmkk19-rule-reminders__more {
  display: inline-block;
  margin: 7px 0 0 43px;
  color: #286c62;
  font-size: 12px;
  font-weight: 750;
}

.fmkk19-ritual-callout {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border: 1px solid rgba(207, 132, 80, .24);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 247, 239, .96), rgba(244, 252, 246, .9));
}

.fmkk19-ritual-callout-icon,
.fmkk19-ritual-overview-btn > span:first-child {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: rgba(255, 255, 255, .82);
  border: 1px solid rgba(207, 132, 80, .18);
  overflow: hidden;
  flex: 0 0 auto;
}

.fmkk19-ritual-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.fmkk19-ritual-overline {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #a66238;
}

.fmkk19-ritual-title {
  font-size: 17px;
  font-weight: 850;
  color: #243240;
}

.fmkk19-ritual-description {
  margin-top: 2px;
  font-size: 13px;
  line-height: 1.45;
  color: #786555;
}

.fmkk19-ritual-badge,
.fmkk19-ritual-overview-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  border: 1px solid rgba(207, 132, 80, .28);
  background: #fff8ef;
  color: #8b4d2f;
  font-weight: 800;
}

.fmkk19-ritual-badge {
  padding: 5px 9px;
  font-size: 12px;
}

.fmkk19-ritual-badge .fmkk19-ritual-img {
  width: 22px;
  height: 22px;
}

.fmkk19-ritual-overview-btn {
  min-height: 46px;
  padding: 6px 14px 6px 6px;
  cursor: pointer;
}

.fmkk19-ritual-overview-btn:hover,
.fmkk19-ritual-overview-btn:focus-visible {
  background: #fff0df;
  transform: translateY(-1px);
}

@media (max-width: 720px) {
  .fmkk19-ritual-callout {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .fmkk19-ritual-callout .fmkk19-ritual-overview-btn {
    grid-column: 1 / -1;
    justify-content: center;
    width: 100%;
  }
}

/* Einheitliche Familymap-Modulorientierung */
.fmkk19-help-strip{display:flex!important;width:100%!important;max-width:none!important;align-items:center!important;justify-content:space-between!important;gap:14px!important;padding:10px!important;margin:0 0 18px!important;border:1px solid rgba(48,111,104,.14)!important;border-radius:24px!important;background:rgba(255,255,255,.72)!important;box-shadow:0 10px 24px rgba(32,73,69,.07)!important}
.fmkk19-help-strip__label{font-size:.95rem!important;font-weight:850!important}.fmkk19-help-links a{padding:9px 14px!important;border-radius:999px!important;background:#fff!important;box-shadow:none!important}
@media(max-width:640px){.fmkk19-help-strip{align-items:stretch!important;flex-direction:column!important}.fmkk19-help-links{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}.fmkk19-help-links a{justify-content:center!important}}

/* Eltern-Wochenblick */
.fmkk19-parent-week-shell {
  display: grid;
  gap: 18px;
  margin-bottom: 26px;
}

.fmkk19-parent-week-intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 22px;
  padding: 22px 24px;
  border: 1px solid #d9e4ed;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,.92) 0%, rgba(246,250,252,.88) 100%);
}

.fmkk19-parent-week-kicker,
.fmkk19-parent-detail-kicker {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #607386;
}

.fmkk19-parent-week-title {
  margin-top: 4px;
  font-size: 22px;
  font-weight: 800;
  color: #20364d;
}

.fmkk19-parent-week-note {
  max-width: 420px;
  color: #586b7d;
  font-size: 14px;
  line-height: 1.45;
}

.fmkk19-parent-day-card {
  min-height: 190px;
  border-radius: 18px;
}

.fmkk19-parent-load-row {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 10px;
  padding: 5px 9px;
  border-radius: 999px;
  background: #f4f7f4;
  color: #3f5f4a;
  font-size: 12px;
  font-weight: 800;
}

.fmkk19-parent-load-dot {
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: #75b67c;
}

.fmkk19-parent-day-card.load-normal .fmkk19-parent-load-row {
  background: #fff6df;
  color: #8a6418;
}

.fmkk19-parent-day-card.load-normal .fmkk19-parent-load-dot {
  background: #dcae42;
}

.fmkk19-parent-day-card.load-full .fmkk19-parent-load-row {
  background: #fff0ed;
  color: #9a4c3d;
}

.fmkk19-parent-day-card.load-full .fmkk19-parent-load-dot {
  background: #dc765f;
}

.fmkk19-parent-day-detail {
  display: grid;
  gap: 20px;
}

.fmkk19-focus-pill.load-calm {
  background: #edf8ef;
  color: #357145;
}

.fmkk19-focus-pill.load-normal {
  background: #fff6df;
  color: #8a6418;
}

.fmkk19-focus-pill.load-full {
  background: #fff0ed;
  color: #9a4c3d;
}

.fmkk19-parent-insight-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.fmkk19-parent-insight {
  display: grid;
  gap: 3px;
  padding: 14px 16px;
  border: 1px solid #e0e8ee;
  border-radius: 18px;
  background: #fff;
}

.fmkk19-parent-insight span,
.fmkk19-parent-insight small {
  color: #627486;
  font-size: 12px;
  font-weight: 700;
}

.fmkk19-parent-insight strong {
  color: #20364d;
  font-size: 26px;
  line-height: 1;
}

.fmkk19-parent-load-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, .75fr);
  gap: 16px;
  padding: 18px;
  border-radius: 20px;
  border: 1px solid #dce7ef;
  background: #f8fbfd;
}

.fmkk19-parent-load-panel.load-normal {
  border-color: #f0dba4;
  background: #fffaf0;
}

.fmkk19-parent-load-panel.load-full {
  border-color: #efc4ba;
  background: #fff7f4;
}

.fmkk19-parent-load-title {
  margin-bottom: 5px;
  font-size: 13px;
  font-weight: 800;
  color: #344a5f;
}

.fmkk19-parent-load-copy,
.fmkk19-parent-mental-note {
  color: #53687a;
  font-size: 14px;
  line-height: 1.45;
}

.fmkk19-parent-mental-note {
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255,255,255,.72);
  border: 1px dashed #ccd9e2;
}

.fmkk19-parent-slot-list {
  display: grid;
  gap: 12px;
}

.fmkk19-parent-slot-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  padding: 16px;
  border: 1px solid #e0e8ee;
  border-radius: 20px;
  background: #fff;
}

.fmkk19-parent-slot-row.has-transition {
  border-color: #cfe2f2;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.fmkk19-parent-slot-number {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: #eef5ff;
  color: #2f6599;
  font-weight: 800;
}

.fmkk19-parent-slot-main {
  min-width: 0;
  display: grid;
  gap: 12px;
}

.fmkk19-parent-slot-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.fmkk19-parent-slot-title-wrap {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 12px;
}

.fmkk19-parent-slot-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: #f4f7fa;
  flex: 0 0 38px;
}

.fmkk19-parent-slot-icon .fm-symbol-img,
.fmkk19-parent-entry-pill .fm-symbol-img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.fmkk19-parent-slot-label {
  font-size: 17px;
  font-weight: 800;
  color: #20364d;
}

.fmkk19-parent-slot-status {
  color: #64778a;
  font-size: 13px;
  font-weight: 700;
}

.fmkk19-parent-slot-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.fmkk19-parent-slot-actions button,
.fmkk19-parent-empty-slot {
  padding: 9px 13px;
  border-radius: 12px;
  background: #f3f7fa;
  color: #2f4e6a;
  font-weight: 800;
  font-size: 13px;
}

.fmkk19-parent-entry-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.fmkk19-parent-entry-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  padding: 8px 10px;
  border: 1px solid #dce8f4;
  border-radius: 14px;
  background: #f8fbff;
}

.fmkk19-parent-entry-pill strong {
  color: #21384f;
  font-size: 13px;
}

.fmkk19-parent-entry-pill em {
  color: #66798a;
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
  text-transform: uppercase;
}

.fmkk19-parent-reflection-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: #657789;
  font-size: 13px;
}

.fmkk19-parent-reflection-line strong {
  color: #374f67;
}

.fmkk19-parent-transition-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.fmkk19-parent-week-strip .fmkk19-day-chip-preview-icons {
  gap: 6px;
  margin-bottom: 8px;
}

.fmkk19-parent-week-strip .fmkk19-mini-event-bubble {
  width: 24px;
  height: 24px;
  flex-basis: 24px;
  border-radius: 9px;
}

.fmkk19-parent-week-strip .fmkk19-mini-event-bubble .fm-symbol-img {
  width: 18px;
  height: 18px;
}

.fmkk19-parent-week-strip .fmkk19-mini-event {
  gap: 7px;
  padding: 6px 8px;
}

.fmkk19-parent-week-strip .fmkk19-mini-event-icon {
  width: 22px;
  height: 22px;
  flex-basis: 22px;
}

.fmkk19-parent-week-strip .fmkk19-mini-event-icon .fm-symbol-img,
.fmkk19-parent-entry-pill .fm-symbol-img {
  width: 20px;
  height: 20px;
}

.fmkk19-parent-entry-pill {
  min-height: 34px;
}

.fmkk19-parent-entry-pill > span:first-child {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  display: inline-grid;
  place-items: center;
}

.fmkk19-parent-entry-pill > span:first-child .fm-symbol-img {
  width: 20px;
  height: 20px;
}

.fmkk19-parent-slot-row .fmkk19-transition-overview-btn,
.fmkk19-parent-entry-pill .fmkk19-transition-overview-btn {
  gap: 4px;
  padding: 4px 7px;
  font-size: 10px;
  line-height: 1;
  box-shadow: none;
}

.fmkk19-parent-slot-row .fmkk19-transition-overview-btn > span:first-child,
.fmkk19-parent-entry-pill .fmkk19-transition-overview-btn > span:first-child {
  width: 16px;
  height: 16px;
  display: inline-grid;
  place-items: center;
}

.fmkk19-parent-slot-row .fmkk19-transition-overview-btn .fm-symbol-img,
.fmkk19-parent-entry-pill .fmkk19-transition-overview-btn .fm-symbol-img {
  width: 14px;
  height: 14px;
}

.fmkk19-entry-pill.large .fmkk19-entry-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: inline-grid;
  place-items: center;
}

.fmkk19-entry-pill.large .fmkk19-entry-icon .fm-symbol-img {
  width: 36px;
  height: 36px;
}

@media (max-width: 760px) {
  .fmkk19-parent-week-intro,
  .fmkk19-parent-load-panel,
  .fmkk19-parent-slot-head {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

  .fmkk19-parent-insight-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fmkk19-parent-slot-row {
    grid-template-columns: 1fr;
  }

  .fmkk19-parent-slot-actions {
    justify-content: flex-start;
  }
}

body.fmkk19-modal-open {
  overflow: hidden;
}

.fmkk19-shell {
  width: 100%;
}

.fmkk19-app {
  background: linear-gradient(180deg, #f8f6f1 0%, #f4efe8 100%);
  border: 1px solid var(--fmkk19-border);
  border-radius: 28px;
  padding: 28px;
  box-shadow: 0 14px 40px rgba(40, 54, 70, 0.08);
  position: relative;
  overflow: hidden;
}

.fmkk19-context-bar,
.fmkk19-focus-header,
.fmkk19-slot-head,
.fmkk19-modal-head,
.fmkk19-modal-footer,
.fmkk19-day-chip-head,
.fmkk19-day-chip-meta,
.fmkk19-pane-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.fmkk19-context-bar {
  margin-bottom: 22px;
  gap: 20px;
  flex-wrap: wrap;
}

.fmkk19-context-left,
.fmkk19-context-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.fmkk19-context-right {
  margin-left: auto;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.fmkk19-context-badge {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: linear-gradient(180deg, #f6c96e 0%, #e9ae35 100%);
  display: grid;
  place-items: center;
  font-size: 26px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.65);
}

.fmkk19-context-companion {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-width: min(100%, 260px);
  max-width: 360px;
  padding: 10px 12px;
  border-radius: 22px;
  border: 1px solid rgba(120, 151, 140, .18);
  background: linear-gradient(135deg, rgba(255,255,255,.86), rgba(238,248,244,.76));
  box-shadow: 0 10px 22px rgba(42, 76, 67, .06);
}

.fmkk19-context-companion-media {
  width: 74px;
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.fmkk19-context-companion-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 10px 16px rgba(40, 68, 61, .12));
}

.fmkk19-context-companion-placeholder {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 20px;
  color: #4f7b6f;
  background: rgba(255,255,255,.84);
  border: 1px solid rgba(120, 151, 140, .2);
  font-size: 24px;
  font-weight: 900;
}

.fmkk19-context-companion-copy {
  min-width: 0;
}

.fmkk19-context-companion-kicker {
  margin-bottom: 2px;
  color: #4f7b6f;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.fmkk19-context-companion-name {
  overflow: hidden;
  color: #1f3b35;
  font-size: 15px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fmkk19-context-companion-text {
  margin-top: 4px;
  color: #527069;
  font-size: 12px;
  font-weight: 760;
  line-height: 1.32;
}

.fmkk19-context-title,
.fmkk19-focus-title,
.fmkk19-slot-title,
.fmkk19-modal-title {
  font-weight: 700;
  color: #1c2e3e;
}

.fmkk19-context-title { font-size: 18px; }
.fmkk19-context-subtitle,
.fmkk19-focus-subtitle,
.fmkk19-slot-subtitle,
.fmkk19-reflection-comment,
.fmkk19-empty-slot,
.fmkk19-reflection-empty,
.fmkk19-core-empty,
.fmkk19-slot-note-preview,
.fmkk19-context-hint {
  color: var(--fmkk19-muted);
}

.fmkk19-context-hint {
  font-size: 13px;
  margin-top: 6px;
}

.fmkk19-week-stepper {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 8px 12px;
  background: rgba(255,255,255,.72);
  border: 1px solid var(--fmkk19-border);
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(40,54,70,.05);
}

.fmkk19-week-stepper button,
.fmkk19-slot-actions button,
.fmkk19-modal-mode-switch button,
.fmkk19-modal-close,
.fmkk19-primary,
.fmkk19-template-card,
.fmkk19-day-chip,
.fmkk19-entry-delete,
.fmkk19-stars-input button {
  border: 0;
  cursor: pointer;
}

.fmkk19-week-stepper button,
.fmkk19-slot-actions button,
.fmkk19-modal-close,
.fmkk19-primary,
.fmkk19-entry-delete {
  border-radius: 999px;
}

.fmkk19-week-stepper button {
  position: relative;
  width: 36px;
  height: 36px;
  overflow: hidden;
  color: transparent;
  background: linear-gradient(180deg, #eef8f4 0%, #dcefe8 100%);
  border: 1px solid rgba(79, 123, 111, .18);
  box-shadow: 0 6px 14px rgba(40,54,70,.08);
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
}

.fmkk19-week-stepper button::before {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #335f58;
  font-size: 18px;
  font-weight: 950;
  line-height: 1;
}

.fmkk19-week-stepper button[data-action="week-prev"]::before {
  content: "\2039";
}

.fmkk19-week-stepper button[data-action="week-next"]::before {
  content: "\203A";
}

.fmkk19-week-stepper button:hover,
.fmkk19-week-stepper button:focus-visible {
  transform: translateY(-1px);
  background: linear-gradient(180deg, #e5f4ef 0%, #cfe7dd 100%);
  box-shadow: 0 9px 18px rgba(40,54,70,.12);
  outline: 2px solid rgba(79, 123, 111, .18);
}

.fmkk19-week-label { font-weight: 600; }

.fmkk19-core-status,
.fmkk19-template-status,
.fmkk19-pane-chip {
  font-size: 13px;
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 600;
}

.fmkk19-core-status.is-ready,
.fmkk19-template-status.has-data,
.fmkk19-pane-chip.has-data {
  color: #1f7a4b;
  background: #e8f7ef;
}

.fmkk19-core-status.is-missing,
.fmkk19-template-status,
.fmkk19-pane-chip {
  color: #8c5a0b;
  background: #fff2d8;
}

.fmkk19-warning {
  background: #fff4e5;
  color: #87560a;
  border: 1px solid #f3d29b;
  border-radius: 18px;
  padding: 14px 16px;
  margin-bottom: 20px;
}

.fmkk19-week-strip {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 26px;
}

.fmkk19-day-chip {
  text-align: left;
  background: rgba(255,255,255,.8);
  border: 1px solid var(--fmkk19-border);
  border-radius: 24px;
  padding: 16px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.fmkk19-day-chip:hover,
.fmkk19-day-chip.is-active {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(40,54,70,.08);
  border-color: #d7cab8;
}

.fmkk19-day-chip.is-active {
  background: linear-gradient(180deg, #ffffff 0%, #faf6ef 100%);
  border-color: #c7d8eb;
  box-shadow: 0 12px 28px rgba(30,99,181,.10);
}

.fmkk19-day-chip.is-today {
  outline: 2px solid rgba(30,99,181,.18);
}

.fmkk19-day-chip-head {
  align-items: flex-start;
}

.fmkk19-day-chip-head span:first-child {
  font-weight: 800;
  color: #1f4267;
}

.fmkk19-day-chip-head span:last-child {
  color: #4f6477;
  font-weight: 600;
}

.fmkk19-day-chip-meta {
  margin-top: 12px;
  font-size: 14px;
  color: var(--fmkk19-muted);
  display: grid;
  gap: 4px;
  justify-items: start;
}

.fmkk19-day-chip-slots {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.fmkk19-slot-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #d7d9dc;
}

.fmkk19-slot-dot.has-entry { background: #77aef3; }
.fmkk19-slot-dot.has-reflection { box-shadow: 0 0 0 3px rgba(216,154,43,.2) inset; }

.fmkk19-focus-day {
  background: rgba(255,255,255,.7);
  border: 1px solid var(--fmkk19-border);
  border-radius: 30px;
  padding: 28px;
}

.fmkk19-focus-title { font-size: 22px; margin-bottom: 6px; }
.fmkk19-focus-pill {
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--fmkk19-accent-soft);
  color: var(--fmkk19-accent);
  font-weight: 600;
  font-size: 13px;
}

.fmkk19-slot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.fmkk19-slot-card {
  background: var(--fmkk19-panel);
  border: 1px solid var(--fmkk19-border);
  border-radius: 26px;
  padding: 20px;
  box-shadow: 0 8px 18px rgba(40,54,70,.04);
}

.fmkk19-slot-icon { font-size: 26px; }
.fmkk19-slot-title-wrap { display:flex; align-items:flex-start; gap:14px; }
.fmkk19-slot-title { font-size: 18px; margin-bottom: 4px; }
.fmkk19-slot-actions { display:flex; flex-direction:column; gap:8px; }
.fmkk19-slot-actions button {
  background: #f4f7fa;
  color: #254768;
  padding: 10px 16px;
  font-weight: 600;
}

.fmkk19-slot-body { margin-top: 18px; }
.fmkk19-entry-list { display:flex; flex-wrap:wrap; gap:10px; }
.fmkk19-entry-list.stacked { flex-direction:column; }

.fmkk19-entry-pill {
  display:inline-flex;
  align-items:center;
  gap:10px;
  background: #f7fafc;
  border: 1px solid #e2e9ef;
  border-radius: 16px;
  padding: 10px 12px;
}

.fmkk19-entry-pill.large { justify-content: space-between; width: 100%; }
.fmkk19-entry-title { font-weight: 600; }
.fmkk19-entry-delete {
  background: #eef3f8;
  color: #4d6579;
  padding: 6px 10px;
  font-size: 13px;
}

.fmkk19-reflection-box {
  margin-top: 16px;
  border-radius: 18px;
  background: var(--fmkk19-gold-soft);
  border: 1px solid #f1d59b;
  padding: 16px;
}

.fmkk19-reflection-label {
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #92671a;
  margin-bottom: 10px;
}

.fmkk19-reflection-stars { font-size: 19px; color: #ca8a12; margin-bottom: 8px; }
.fmkk19-slot-note-preview {
  margin-top: 12px;
  padding: 12px 14px;
  background: #f8f5ef;
  border: 1px dashed #ddcfba;
  border-radius: 16px;
}

.fmkk19-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(31, 44, 58, 0.18);
  backdrop-filter: blur(2px);
  display: flex;
  justify-content: flex-end;
  z-index: 99999;
}

.fmkk19-modal {
  width: min(660px, 100%);
  height: 100%;
  background: #fff;
  box-shadow: -10px 0 40px rgba(25,39,53,.15);
  padding: 34px 30px 24px;
  overflow-y: auto;
}

.fmkk19-modal-head { margin-bottom: 20px; align-items:flex-start; }
.fmkk19-modal-overline {
  color: var(--fmkk19-muted);
  font-size: 14px;
  margin-bottom: 8px;
}
.fmkk19-modal-title { font-size: 22px; }
.fmkk19-modal-close {
  width: 44px;
  height: 44px;
  background: #1e63b5;
  color: #fff;
  font-size: 24px;
}

.fmkk19-modal-mode-switch {
  display: inline-flex;
  background: #f3f6f8;
  border-radius: 18px;
  padding: 6px;
  gap: 6px;
  margin-bottom: 26px;
}

.fmkk19-modal-mode-switch button {
  padding: 12px 18px;
  border-radius: 14px;
  background: transparent;
  color: #27425e;
  font-weight: 600;
}

.fmkk19-modal-mode-switch button.is-active {
  background: #fff;
  box-shadow: 0 4px 12px rgba(40,54,70,.08);
}

.fmkk19-pane-section + .fmkk19-pane-section { margin-top: 26px; }
.fmkk19-pane-title { display:block; font-weight: 700; margin-bottom: 12px; }
.fmkk19-pane-title-row .fmkk19-pane-title { margin-bottom: 0; }

.fmkk19-template-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.fmkk19-template-card {
  display:flex;
  align-items:center;
  gap:12px;
  padding: 14px;
  border-radius: 18px;
  background: #f8fbff;
  border: 1px solid #dbe8f6;
  text-align:left;
}

.fmkk19-template-title { font-weight:600; color:#203449; }
.fmkk19-template-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: inline-grid;
  place-items: center;
  border-radius: 15px;
  background: #ffffff;
  font-size: 22px;
  box-shadow: inset 0 0 0 1px rgba(40,54,70,.06);
}
.fmkk19-root .fm-symbol-img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.fmkk19-context-badge .fm-symbol-img,
.fmkk19-transition-box-icon .fm-symbol-img,
.fmkk19-journey-transition-icon .fm-symbol-img,
.fmkk19-journey-entry-icon .fm-symbol-img,
.fmkk19-slot-icon .fm-symbol-img,
.fmkk19-entry-focus-icon .fm-symbol-img,
.fmkk19-entry-icon .fm-symbol-img,
.fmkk19-template-icon .fm-symbol-img,
.fmkk19-mini-event-icon .fm-symbol-img,
.fmkk19-mini-event-bubble .fm-symbol-img {
  width: 100%;
  height: 100%;
}
.fmkk19-mini-event-icon .fm-symbol-img {
  width: 24px;
  height: 24px;
}
.fmkk19-mini-event-bubble .fm-symbol-img {
  width: 26px;
  height: 26px;
}
.fmkk19-journey-slot-icon .fm-symbol-img {
  width: 52px;
  height: 52px;
}
.fmkk19-core-empty {
  color: var(--fmkk19-muted);
  padding: 16px 0;
}
.fmkk19-core-empty.is-warning {
  color: #87560a;
}

.fmkk19-textarea {
  width: 100%;
  min-height: 120px;
  border-radius: 18px;
  border: 1px solid var(--fmkk19-border);
  padding: 14px 16px;
  font: inherit;
  color: var(--fmkk19-text);
  resize: vertical;
  box-sizing: border-box;
}

.fmkk19-modal-footer { margin-top: 14px; justify-content:flex-end; }
.fmkk19-primary {
  background: linear-gradient(180deg, #2a74ca 0%, #1e63b5 100%);
  color: #fff;
  padding: 12px 18px;
  font-weight: 700;
}

.fmkk19-stars-input {
  display: flex;
  gap: 8px;
}
.fmkk19-stars-input button {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: #f6f1e7;
  color: #b89a63;
  font-size: 24px;
}
.fmkk19-stars-input button.is-on {
  background: #ffefc8;
  color: #d39a1f;
}

@media (max-width: 1100px) {
  .fmkk19-week-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .fmkk19-slot-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .fmkk19-app { padding: 18px; border-radius: 22px; }
  .fmkk19-context-bar { align-items: stretch; }
  .fmkk19-context-right { margin-left: 0; justify-content: flex-start; }
  .fmkk19-week-strip {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    padding-bottom: 4px;
  }
  .fmkk19-day-chip {
    min-width: 190px;
    scroll-snap-align: start;
  }
  .fmkk19-focus-day { padding: 18px; border-radius: 24px; }
  .fmkk19-slot-card { padding: 16px; }
  .fmkk19-slot-head { align-items:flex-start; flex-direction:column; }
  .fmkk19-slot-actions { width: 100%; flex-direction: row; }
  .fmkk19-slot-actions button { flex: 1; }
  .fmkk19-modal {
    width: 100%;
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
    padding: 24px 18px 20px;
    margin-top: auto;
    max-height: 92vh;
    height: auto;
  }
  .fmkk19-modal-backdrop { align-items: flex-end; }
  .fmkk19-template-grid { grid-template-columns: 1fr; }
}


.fmkk19-debug-card {
  margin-top: 16px;
  border-radius: 18px;
  border: 1px dashed #d8c8ae;
  background: #fbf7ef;
  padding: 16px;
}

.fmkk19-debug-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  color: var(--fmkk19-muted);
  font-size: 14px;
  margin-top: 12px;
}

.fmkk19-debug-grid strong {
  color: #354654;
}

.fmkk19-debug-notes {
  margin-top: 12px;
  color: #6a5d43;
  display: grid;
  gap: 6px;
}

.fmkk19-debug-details {
  margin-top: 12px;
  color: var(--fmkk19-muted);
}

.fmkk19-debug-details summary {
  cursor: pointer;
  font-weight: 600;
  color: #354654;
}

.fmkk19-shell {
  display: grid;
  gap: 18px;
}

.fmkk19-module-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 24px;
  border: 1px solid var(--fmkk19-border);
  border-radius: 26px;
  background: linear-gradient(180deg, #fffdf9 0%, #f8f3eb 100%);
  box-shadow: 0 10px 30px rgba(40, 54, 70, 0.06);
  flex-wrap: wrap;
}

.fmkk19-module-overline {
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--fmkk19-muted);
  margin-bottom: 6px;
}

.fmkk19-module-title {
  font-size: 22px;
  font-weight: 700;
  color: #1c2e3e;
}

.fmkk19-help-strip {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding: 10px;
  border-radius: 24px;
  background: rgba(255, 255, 255, .68);
  border: 1px solid rgba(88, 112, 126, .16);
  box-shadow: 0 10px 24px rgba(40, 54, 70, .06);
}

.fmkk19-help-strip__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 4px 0 2px;
  color: var(--fmkk19-muted);
  font-size: 13px;
  font-weight: 800;
}

.fmkk19-help-strip__label span,
.fmkk19-help-steps span {
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, #1e63b5, #3b8fcf);
  box-shadow: 0 8px 18px rgba(30, 99, 181, .16);
}

.fmkk19-help-strip__label span {
  width: 28px;
  height: 28px;
  border-radius: 999px;
}

.fmkk19-help-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.fmkk19-help-links a,
.fmkk19-help-links a:visited {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 8px 13px;
  border-radius: 999px;
  color: #225782;
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
  background: rgba(255, 255, 255, .9);
  border: 1px solid rgba(88, 112, 126, .16);
  box-shadow: 0 8px 18px rgba(40, 54, 70, .05);
  transition: transform .18s ease, background .18s ease;
}

.fmkk19-help-links a:hover,
.fmkk19-help-links a:focus-visible {
  transform: translateY(-1px);
  background: #fff;
}

.fmkk19-help-links span {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  color: #225782;
  background: #e7f0ff;
  font-size: 13px;
  line-height: 1;
}

.fmkk19-help-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 4vw, 46px);
}

.fmkk19-help-overlay:target {
  display: flex;
}

.fmkk19-help-backdrop {
  position: absolute;
  inset: 0;
  display: block;
  background: rgba(34, 49, 58, .46);
  backdrop-filter: blur(8px);
}

.fmkk19-help-panel {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
  max-height: min(84vh, 820px);
  overflow: auto;
  padding: clamp(22px, 4vw, 42px);
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, .86);
  background: linear-gradient(145deg, rgba(255, 255, 255, .98), rgba(252, 248, 240, .96));
  box-shadow: 0 30px 90px rgba(34, 49, 58, .24);
}

.fmkk19-help-close,
.fmkk19-help-close:visited {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  color: var(--fmkk19-text);
  text-decoration: none;
  font-size: 26px;
  line-height: 1;
  background: rgba(255, 255, 255, .88);
  border: 1px solid var(--fmkk19-border);
}

.fmkk19-help-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 6px 12px;
  border-radius: 999px;
  color: #225782;
  background: #e7f0ff;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.fmkk19-help-panel h2 {
  margin: 12px 48px 12px 0;
  max-width: 780px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.05;
}

.fmkk19-help-lead {
  max-width: 760px;
  margin: 0 0 22px;
  color: var(--fmkk19-muted);
  font-size: 17px;
  line-height: 1.65;
}

.fmkk19-help-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.fmkk19-help-grid > div,
.fmkk19-help-steps > div {
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, .78);
  border: 1px solid rgba(88, 112, 126, .14);
}

.fmkk19-help-grid h3 {
  margin: 0 0 10px;
  font-size: 17px;
}

.fmkk19-help-grid p,
.fmkk19-help-grid li,
.fmkk19-help-steps p {
  color: var(--fmkk19-muted);
  line-height: 1.56;
}

.fmkk19-help-grid ul {
  margin: 0;
  padding-left: 20px;
}

.fmkk19-help-grid li + li {
  margin-top: 6px;
}

.fmkk19-help-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.fmkk19-help-steps > div {
  display: grid;
  align-content: start;
  gap: 8px;
}

.fmkk19-help-steps span {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  font-weight: 850;
}

.fmkk19-help-steps strong {
  font-size: 16px;
  line-height: 1.25;
}

.fmkk19-help-steps p {
  margin: 0;
  font-size: 14px;
}

.fmkk19-help-visual-placeholder {
  background: linear-gradient(145deg, rgba(255, 255, 255, .84), rgba(231, 240, 255, .72));
}

.fmkk19-help-visual-placeholder > span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 12px;
  border-radius: 16px;
  color: #225782;
  background: #e7f0ff;
  font-size: 20px;
  font-weight: 850;
}

.fmkk19-selector-wrap {
  min-width: min(100%, 420px);
  flex: 1 1 320px;
  display: flex;
  justify-content: flex-end;
}

.fmkk19-selector-wrap.is-empty {
  display: none;
}

.fmkk19-selector-wrap form,
.fmkk19-selector-wrap .fm-core-context-selector,
.fmkk19-selector-wrap .familymap-core-context-selector {
  width: 100%;
}

.fmkk19-selector-fallback {
  display: none;
}

.fmkk19-warning.is-soft {
  background: #f7f5f0;
  color: #5b6770;
  border-color: #e2ddd4;
}

.fmkk19-entry-legacy-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 4px 9px;
  font-size: 11px;
  font-weight: 600;
  background: #f3ede4;
  color: #6f604e;
}

.fmkk19-entry-pill.is-legacy,
.fmkk19-entry-pill.large.is-legacy {
  border-style: dashed;
}

.fmkk19-debug-card {
  margin-top: 12px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid #eadfcd;
  background: #fffaf2;
}

.fmkk19-debug-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 14px;
  font-size: 13px;
}

.fmkk19-debug-notes {
  margin-top: 10px;
  color: var(--fmkk19-muted);
  font-size: 13px;
  display: grid;
  gap: 4px;
}

.fmkk19-debug-details {
  margin-top: 12px;
}

.fmkk19-debug-details summary {
  cursor: pointer;
  font-weight: 600;
  color: #6b5a43;
}

@media (max-width: 980px) {
  .fmkk19-module-head,
  .fmkk19-context-bar {
    align-items: flex-start;
  }

  .fmkk19-slot-grid,
  .fmkk19-debug-grid {
    grid-template-columns: 1fr;
  }

  .fmkk19-context-companion {
    order: 3;
    width: 100%;
    max-width: none;
  }

  .fmkk19-selector-wrap {
    min-width: 100%;
    justify-content: stretch;
  }

  .fmkk19-help-grid,
  .fmkk19-help-steps {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .fmkk19-module-head,
  .fmkk19-app,
  .fmkk19-focus-day {
    padding: 18px;
    border-radius: 22px;
  }

  .fmkk19-module-title {
    font-size: 18px;
  }

  .fmkk19-context-companion {
    grid-template-columns: 62px minmax(0, 1fr);
  }

  .fmkk19-context-companion-media {
    width: 62px;
    height: 62px;
  }

  .fmkk19-help-strip {
    display: grid;
    width: 100%;
    gap: 9px;
  }

  .fmkk19-help-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .fmkk19-help-links a,
  .fmkk19-help-links a:visited {
    padding: 8px 10px;
    font-size: 13px;
  }

  .fmkk19-help-panel {
    border-radius: 24px;
    padding: 22px;
  }

  .fmkk19-help-panel h2 {
    margin-right: 42px;
  }

  .fmkk19-week-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* V19.0.4 desktop event focus refinement */
.fmkk19-week-strip {
  align-items: stretch;
}

.fmkk19-day-chip {
  display: flex;
  flex-direction: column;
  min-height: 160px;
}

.fmkk19-day-chip-preview-wrap {
  margin-top: 12px;
  min-height: 58px;
}

.fmkk19-day-chip-preview-list {
  display: grid;
  gap: 8px;
}

.fmkk19-mini-event {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 9px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid #e2e9ef;
}

.fmkk19-mini-event-icon {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  display: inline-grid;
  place-items: center;
  font-size: 16px;
  line-height: 1;
}

.fmkk19-mini-event-title {
  font-size: 13px;
  font-weight: 600;
  color: #243748;
}

.fmkk19-day-chip-preview-empty {
  min-height: 58px;
  display: grid;
  place-items: center start;
  color: var(--fmkk19-muted);
  font-size: 13px;
}

.fmkk19-day-chip-footer {
  margin-top: auto;
  display: grid;
  gap: 10px;
}

.fmkk19-day-chip-meta-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12px;
  color: var(--fmkk19-muted);
}

.fmkk19-focus-day {
  padding: 30px;
}

.fmkk19-day-story-intro {
  margin-top: 10px;
  color: var(--fmkk19-muted);
  font-size: 14px;
}

.fmkk19-slot-grid {
  grid-template-columns: 1fr;
  gap: 16px;
}

.fmkk19-slot-card {
  position: relative;
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  padding: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfaf7 100%);
}

.fmkk19-slot-sequence {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-weight: 700;
  color: #2a5c94;
  background: #eef5ff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7);
}

.fmkk19-slot-main {
  display: grid;
  gap: 16px;
}

.fmkk19-slot-head {
  align-items: start;
}

.fmkk19-slot-eyebrow {
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--fmkk19-muted);
  margin-bottom: 4px;
}

.fmkk19-slot-actions.is-secondary {
  flex-direction: row;
  gap: 10px;
}

.fmkk19-slot-actions.is-secondary button {
  padding: 9px 14px;
  background: #f3f6f9;
  color: #33506e;
  font-size: 14px;
}

.fmkk19-slot-stage {
  display: grid;
  gap: 12px;
}

.fmkk19-slot-stage-label {
  font-size: 13px;
  font-weight: 700;
  color: #44535f;
}

.fmkk19-entry-focus-list {
  display: grid;
  gap: 12px;
}

.fmkk19-entry-focus-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border-radius: 20px;
  background: #f8fbff;
  border: 1px solid #dce8f4;
  box-shadow: 0 6px 16px rgba(44, 73, 104, 0.05);
}

.fmkk19-entry-focus-card.is-legacy {
  border-style: dashed;
}

.fmkk19-entry-focus-main {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.fmkk19-entry-focus-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: #ffffff;
  font-size: 24px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7);
}

.fmkk19-entry-focus-meta {
  min-width: 0;
}

.fmkk19-entry-focus-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.fmkk19-entry-focus-title {
  font-size: 19px;
  font-weight: 700;
  color: #1d2f3f;
}

.fmkk19-entry-focus-category {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 4px 9px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: #5e6d79;
  background: #eef3f7;
}

.fmkk19-entry-focus-subtitle {
  margin-top: 3px;
  color: var(--fmkk19-muted);
  font-size: 13px;
}

.fmkk19-slot-empty-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 72px;
  border-radius: 20px;
  border: 1px dashed #d8deea;
  background: #fcfdff;
  color: #5e7388;
  font-weight: 600;
}

.fmkk19-slot-empty-stage-icon {
  font-size: 22px;
  line-height: 1;
}

.fmkk19-slot-note-preview {
  margin-top: 0;
}

.fmkk19-slot-footer {
  display: flex;
  align-items: stretch;
}

.fmkk19-reflection-inline {
  width: 100%;
  display: grid;
  gap: 4px;
  text-align: left;
  padding: 14px 16px;
  border-radius: 18px;
  background: #fbf6ea;
  border: 1px solid #ecd9ae;
  color: #6c5423;
}

.fmkk19-reflection-inline.has-reflection {
  background: #fff6df;
}

.fmkk19-reflection-inline-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 700;
}

.fmkk19-reflection-inline-value {
  font-size: 14px;
  font-weight: 700;
  color: #5b4c1e;
}

.fmkk19-reflection-inline-detail {
  font-size: 13px;
  color: #7a6540;
}

@media (max-width: 760px) {
  .fmkk19-day-chip {
    min-height: 148px;
  }

  .fmkk19-slot-card {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .fmkk19-slot-sequence {
    width: 42px;
    height: 42px;
    border-radius: 14px;
  }

  .fmkk19-slot-actions.is-secondary {
    width: 100%;
  }

  .fmkk19-entry-focus-card {
    align-items: flex-start;
  }

  .fmkk19-entry-focus-title {
    font-size: 17px;
  }
}

/* V19.0.5 desktop child-centered refinement */
.fmkk19-day-chip {
  min-height: 176px;
  justify-content: flex-start;
}

.fmkk19-day-chip.is-active {
  background: linear-gradient(180deg, #ffffff 0%, #f7f2e8 100%);
  border-color: #c7d8eb;
  box-shadow: 0 14px 28px rgba(30,99,181,.10);
}

.fmkk19-day-chip-head span:first-child {
  font-size: 15px;
  color: #1f4267;
  font-weight: 800;
}

.fmkk19-day-chip-head span:last-child {
  color: #4f6477;
  font-weight: 600;
}

.fmkk19-day-chip-preview-wrap {
  min-height: 82px;
}

.fmkk19-day-chip-preview-icons {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}

.fmkk19-mini-event-bubble {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  display: inline-grid;
  place-items: center;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #e2e6ea;
  box-shadow: 0 4px 10px rgba(40,54,70,.06);
  font-size: 18px;
}

.fmkk19-mini-event {
  gap: 10px;
  padding: 8px 10px;
  border-radius: 14px;
  background: #fdfcf8;
}

.fmkk19-mini-event-icon {
  width: 28px;
  height: 28px;
  flex-basis: 28px;
  font-size: 18px;
}

.fmkk19-mini-event-title {
  font-size: 13px;
  font-weight: 700;
}

.fmkk19-day-chip-preview-empty {
  font-size: 13px;
  min-height: 82px;
  color: #55697b;
}

.fmkk19-day-chip-meta-inline {
  gap: 12px;
  font-size: 11px;
}

.fmkk19-day-chip-count {
  font-weight: 700;
  color: #3b5167;
}

.fmkk19-focus-day {
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(255,255,255,.88) 0%, rgba(255,251,244,.82) 100%);
}

.fmkk19-focus-title {
  font-size: 24px;
}

.fmkk19-focus-subtitle {
  font-size: 15px;
}

.fmkk19-day-story-intro {
  font-size: 15px;
}

.fmkk19-slot-card {
  border-radius: 28px;
  grid-template-columns: 58px 1fr;
  gap: 20px;
  background: linear-gradient(180deg, #ffffff 0%, #fcfaf5 100%);
}

.fmkk19-slot-sequence {
  width: 58px;
  height: 58px;
  border-radius: 20px;
  font-size: 18px;
  color: #25588f;
  background: linear-gradient(180deg, #eef6ff 0%, #e3efff 100%);
}

.fmkk19-slot-icon {
  font-size: 30px;
}

.fmkk19-slot-title {
  font-size: 20px;
}

.fmkk19-slot-actions.is-secondary button {
  padding: 8px 12px;
  font-size: 13px;
  background: #f6f7f8;
  color: #46627c;
}

.fmkk19-slot-stage {
  gap: 14px;
}

.fmkk19-slot-stage-label {
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #566874;
}

.fmkk19-entry-focus-list {
  gap: 10px;
}

.fmkk19-entry-focus-card {
  padding: 18px 18px;
  border-radius: 22px;
  gap: 14px;
  background: linear-gradient(180deg, #fefefe 0%, #f8fbff 100%);
}

.fmkk19-entry-focus-main {
  align-items: flex-start;
  gap: 16px;
}

.fmkk19-entry-focus-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  font-size: 28px;
  background: linear-gradient(180deg, #ffffff 0%, #fbf7ef 100%);
  border: 1px solid #edf0f3;
}

.fmkk19-entry-sequence-badge {
  display: inline-flex;
  align-items: center;
  margin-bottom: 8px;
  border-radius: 999px;
  padding: 4px 9px;
  font-size: 11px;
  font-weight: 700;
  color: #315779;
  background: #eef5ff;
}

.fmkk19-entry-focus-title-row {
  gap: 10px;
  align-items: baseline;
}

.fmkk19-entry-focus-title {
  font-size: 21px;
  line-height: 1.18;
}

.fmkk19-entry-focus-category {
  padding: 3px 8px;
  font-size: 10px;
  letter-spacing: .04em;
  color: #7a8791;
  background: #f3f5f6;
}

.fmkk19-entry-focus-subtitle {
  margin-top: 6px;
  font-size: 12px;
}

.fmkk19-entry-delete {
  width: 28px;
  height: 28px;
  padding: 0;
  display: inline-grid;
  place-items: center;
  background: transparent;
  color: #99a8b4;
  border-radius: 999px;
  opacity: .45;
  transition: opacity .16s ease, background-color .16s ease, color .16s ease;
}

.fmkk19-entry-focus-card:hover .fmkk19-entry-delete,
.fmkk19-entry-delete:focus-visible {
  opacity: 1;
  background: #edf2f6;
  color: #5a7083;
}

.fmkk19-slot-empty-stage {
  min-height: 78px;
  justify-content: flex-start;
  padding: 0 18px;
  color: #62798d;
  font-weight: 700;
}

.fmkk19-slot-note-preview {
  padding: 10px 14px;
  font-size: 13px;
}

.fmkk19-reflection-inline {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 16px;
  background: #fcf8ec;
}

.fmkk19-reflection-inline-label {
  font-size: 10px;
  margin-right: 2px;
}

.fmkk19-reflection-inline-value {
  font-size: 13px;
  white-space: nowrap;
}

.fmkk19-reflection-inline-detail {
  font-size: 12px;
  color: #8a744e;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 760px) {
  .fmkk19-day-chip-preview-icons {
    margin-bottom: 8px;
  }

  .fmkk19-mini-event-bubble {
    width: 28px;
    height: 28px;
    font-size: 16px;
  }

  .fmkk19-entry-focus-title {
    font-size: 18px;
  }

  .fmkk19-reflection-inline {
    display: grid;
    gap: 4px;
  }
}


.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* V19.1.0 Core/Übergangsmodul-Verzahnung */
.fmkk19-slot-dot.has-transition {
  background: #8ec5a7;
  box-shadow: 0 0 0 3px rgba(111, 165, 134, .18);
}

.fmkk19-slot-card.has-transition {
  border-color: #d8e8d7;
}

.fmkk19-transition-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  width: fit-content;
  margin-top: 7px;
  border-radius: 999px;
  padding: 4px 9px;
  background: #eef8f1;
  color: #2f6d4a;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .02em;
}

.fmkk19-transition-box {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  border: 1px solid #d7e8d9;
  border-radius: 22px;
  padding: 16px;
  background: linear-gradient(180deg, #f7fcf8 0%, #eff8f1 100%);
  box-shadow: 0 8px 18px rgba(60, 112, 78, .06);
}

.fmkk19-transition-box-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid #dfeee1;
  font-size: 24px;
}

.fmkk19-transition-box-main {
  min-width: 0;
}

.fmkk19-transition-overline {
  margin-bottom: 4px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: #4a7a5b;
}

.fmkk19-transition-title {
  font-size: 16px;
  font-weight: 800;
  color: #1e3d2a;
}

.fmkk19-transition-description {
  margin-top: 5px;
  font-size: 13px;
  line-height: 1.35;
  color: #526a5b;
}

.fmkk19-transition-start,
.fmkk19-transition-inline {
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  font-weight: 800;
  white-space: nowrap;
}

.fmkk19-transition-start {
  padding: 11px 15px;
  background: #2f7a52;
  color: #fff;
  box-shadow: 0 8px 16px rgba(47, 122, 82, .16);
}

.fmkk19-transition-inline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  background: #eef8f1;
  color: #2f6d4a;
  font-size: 12px;
}

.fmkk19-transition-inline.is-missing,
.fmkk19-transition-url-missing {
  color: #7b6a48;
  background: #fbf4df;
}

.fmkk19-transition-url-missing {
  border-radius: 999px;
  padding: 8px 11px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.fmkk19-entry-pill.large .fmkk19-transition-inline {
  margin-left: auto;
}

.fmkk19-entry-pill.large .fmkk19-entry-delete {
  margin-left: 6px;
}

@media (max-width: 760px) {
  .fmkk19-transition-box {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .fmkk19-transition-start,
  .fmkk19-transition-url-missing {
    grid-column: 1 / -1;
    width: 100%;
    text-align: center;
  }

  .fmkk19-entry-pill.large {
    flex-wrap: wrap;
  }

  .fmkk19-entry-pill.large .fmkk19-transition-inline {
    margin-left: 0;
  }
}

/* V19.1.2 Kalender-Popup/Embed-Start für Übergänge */
.fmkk19-transition-overview-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 7px;
}

.fmkk19-entry-transition-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 8px;
}

.fmkk19-transition-overview-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  width: fit-content;
  border: 1px solid #d9eadb;
  border-radius: 999px;
  padding: 5px 9px;
  background: #f7fcf8;
  color: #2f6d4a;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.1;
  cursor: pointer;
  box-shadow: 0 3px 8px rgba(47, 122, 82, .06);
}

.fmkk19-transition-overview-btn:hover,
.fmkk19-transition-overview-btn:focus-visible {
  background: #eef8f1;
  border-color: #bddfc5;
  transform: translateY(-1px);
  outline: none;
}

.fmkk19-transition-overview-btn.is-missing {
  cursor: default;
  color: #7b6a48;
  background: #fbf4df;
  border-color: #ead9aa;
  box-shadow: none;
}

.fmkk19-entry-focus-card .fmkk19-transition-badge {
  margin-top: 0;
}

.fmkk19-transition-success-notice {
  margin: -8px 0 18px;
  border: 1px solid #d7e8d9;
  border-radius: 18px;
  padding: 12px 14px;
  background: #f7fcf8;
  color: #2f6d4a;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(60, 112, 78, .06);
}

.fmkk19-transition-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(14px, 2vw, 28px);
  background: rgba(31, 44, 58, .26);
  backdrop-filter: blur(3px);
}

.fmkk19-transition-modal {
  width: min(1180px, calc(100vw - 44px));
  height: min(920px, calc(100vh - 44px));
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 30px;
  background: #ffffff;
  border: 1px solid #e6eadf;
  box-shadow: 0 28px 80px rgba(22, 34, 42, .22);
}

.fmkk19-transition-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 22px 12px;
  border-bottom: 1px solid #eef1e8;
  background: linear-gradient(180deg, #fbfdf9 0%, #f4faf5 100%);
}

.fmkk19-transition-modal-overline {
  margin-bottom: 5px;
  color: #4a7a5b;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.fmkk19-transition-modal-title {
  color: #1e3d2a;
  font-size: 19px;
  font-weight: 900;
}

.fmkk19-transition-modal-close {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: #2f7a52;
  color: #ffffff;
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 8px 16px rgba(47, 122, 82, .18);
}

.fmkk19-transition-frame-wrap {
  flex: 1;
  min-height: 0;
  background: #fbfdf9;
}

.fmkk19-transition-frame {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
  background: #ffffff;
}

@media (max-width: 760px) {
  .fmkk19-transition-modal-backdrop {
    align-items: stretch;
    padding: 0;
  }

  .fmkk19-transition-modal {
    width: 100%;
    height: 100dvh;
    border-radius: 0;
    border: 0;
  }

  .fmkk19-transition-modal-head {
    padding: 15px 16px 12px;
  }

  .fmkk19-transition-modal-title {
    font-size: 17px;
  }

  .fmkk19-transition-overview-actions,
  .fmkk19-entry-transition-row {
    width: 100%;
  }
}


/* v19.1.3 – Belohnungs-Embed im bestehenden Popup */
.fmkk19-transition-frame.is-reward-frame {
  background: #fffdf7;
}


/* V20.0.0 – zusätzliche Kalenderansicht „Tagesreise“ */
.fmkk19-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(73, 124, 110, .24);
  border-left: 7px solid #4f8b76;
  border-radius: 20px;
  background: linear-gradient(135deg, #f7fbf8 0%, #fff8eb 100%);
  box-shadow: 0 14px 30px rgba(38, 75, 67, .10);
}

.fmkk19-start-focus-copy {
  display: grid;
  align-content: center;
  gap: 7px;
  min-width: 0;
}

.fmkk19-start-focus-copy span {
  color: #4f7d70;
  font-size: 11px;
  font-weight: 1000;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.fmkk19-start-focus-copy strong {
  color: #1f2d3d;
  font-size: clamp(18px, 2.2vw, 23px);
  font-weight: 950;
  line-height: 1.24;
}

.fmkk19-start-focus-copy p {
  max-width: 760px;
  margin: 0;
  color: #5e706a;
  font-size: 14px;
  font-weight: 720;
  line-height: 1.48;
}

.fmkk19-start-focus-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  align-items: stretch;
}

.fmkk19-start-focus-steps div {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 8px;
  min-height: 86px;
  padding: 12px 10px;
  border: 1.5px solid rgba(73, 124, 110, .16);
  border-radius: 16px;
  background: rgba(255, 255, 255, .76);
  box-shadow: 0 8px 18px rgba(38, 75, 67, .05);
  text-align: center;
}

.fmkk19-start-focus-steps span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #e4f2ed;
  color: #315c51;
  font-size: 13px;
  font-weight: 1000;
}

.fmkk19-start-focus-steps strong {
  color: #2c4842;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.24;
}

.fmkk19-compass-impulse {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  margin: 0 0 18px;
  padding: 18px 20px;
  border: 1px solid rgba(128, 151, 115, .34);
  border-left: 7px solid #7d9b6d;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(246, 251, 241, .96), rgba(255, 252, 244, .92));
  box-shadow: 0 12px 28px rgba(45, 68, 54, .08);
}

.fmkk19-compass-impulse-copy {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.fmkk19-compass-impulse-kicker {
  color: #59734d;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.fmkk19-compass-impulse-focus {
  display: grid;
  gap: 3px;
}

.fmkk19-compass-impulse-focus span {
  color: #647268;
  font-size: 12px;
  font-weight: 800;
}

.fmkk19-compass-impulse-focus strong {
  color: #263b2d;
  font-size: clamp(17px, 2.2vw, 22px);
  font-weight: 900;
  line-height: 1.25;
}

.fmkk19-compass-impulse p {
  margin: 0;
  color: #4e6255;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
}

.fmkk19-compass-impulse-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid rgba(98, 127, 87, .3);
  border-radius: 999px;
  background: #fff;
  color: #405d38;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 8px 18px rgba(45, 68, 54, .08);
}

.fmkk19-compass-impulse-action:hover,
.fmkk19-compass-impulse-action:focus-visible {
  border-color: rgba(98, 127, 87, .52);
  color: #2f4f2d;
  outline: 2px solid transparent;
  box-shadow: 0 10px 22px rgba(45, 68, 54, .12);
  transform: translateY(-1px);
}

.fmkk19-view-switch-wrap {
  display: grid;
  grid-template-columns: minmax(180px, .36fr) minmax(0, 1fr);
  align-items: center;
  gap: 20px;
  margin: 0 0 24px;
  padding: 18px;
  border: 1.5px solid rgba(73, 124, 110, .22);
  border-radius: 22px;
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 235, 188, .34), transparent 34%),
    linear-gradient(135deg, rgba(255, 253, 248, .94), rgba(241, 249, 246, .88));
  box-shadow: 0 14px 32px rgba(35, 63, 58, .09);
}

.fmkk19-view-switch-heading {
  min-width: 0;
}

.fmkk19-view-switch-kicker {
  margin-bottom: 4px;
  color: #4f7b6f;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.fmkk19-view-switch-label {
  color: #203c36;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.25;
}

.fmkk19-view-switch {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  min-width: 0;
}

.fmkk19-view-switch button {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-width: 0;
  min-height: 82px;
  padding: 13px 14px;
  border: 1.5px solid rgba(121, 166, 154, .38);
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fcfa 100%);
  color: #314d48;
  cursor: pointer;
  font: inherit;
  text-align: left;
  transition: transform .16s ease, background-color .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.fmkk19-view-switch button[data-view="journey"].is-active {
  border-color: #dfb85f;
  background: linear-gradient(180deg, #fff7df 0%, #fff1c7 100%);
  box-shadow: 0 10px 22px rgba(151, 108, 28, .12);
}

.fmkk19-view-switch button[data-view="week"].is-active {
  border-color: #82afd8;
  background: linear-gradient(180deg, #eef7ff 0%, #dfeefd 100%);
  box-shadow: 0 10px 22px rgba(42, 100, 155, .12);
}

.fmkk19-view-switch button:hover,
.fmkk19-view-switch button:focus-visible {
  transform: translateY(-1px);
  border-color: #87aaa0;
  outline: 2px solid transparent;
  box-shadow: 0 8px 18px rgba(40,54,70,.08);
}

.fmkk19-view-switch-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 15px;
  background: #f2f7f5;
  color: #467369;
  font-size: 21px;
  font-weight: 900;
}

.fmkk19-view-switch button[data-view="journey"].is-active .fmkk19-view-switch-icon {
  background: #fff0c9;
  color: #9a6817;
}

.fmkk19-view-switch button[data-view="week"].is-active .fmkk19-view-switch-icon {
  background: #dfeefd;
  color: #2d669d;
}

.fmkk19-view-switch-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.fmkk19-view-switch-copy strong {
  color: #203c36;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.2;
}

.fmkk19-view-switch-copy small {
  color: #637873;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.35;
}

.fmkk19-main-layout.is-journey .fmkk19-desktop-panel {
  display: block;
}

.fmkk19-journey-shell {
  display: grid;
  gap: 22px;
}

.fmkk19-journey-day-picker {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 12px;
}

.fmkk19-journey-day-tab {
  min-height: 86px;
  display: grid;
  align-content: center;
  gap: 4px;
  border: 1px solid var(--fmkk19-border);
  border-radius: 22px;
  padding: 12px 10px;
  background: rgba(255,255,255,.8);
  color: #314c66;
  cursor: pointer;
  text-align: center;
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease, background-color .16s ease;
}

.fmkk19-journey-day-tab:hover,
.fmkk19-journey-day-tab:focus-visible,
.fmkk19-journey-day-tab.is-active {
  transform: translateY(-1px);
  outline: none;
  border-color: #c7d8eb;
  box-shadow: 0 12px 24px rgba(30,99,181,.09);
}

.fmkk19-journey-day-tab.is-active {
  background: linear-gradient(180deg, #ffffff 0%, #edf5ff 100%);
}

.fmkk19-journey-day-tab.is-today {
  outline: 2px solid rgba(30,99,181,.14);
}

.fmkk19-journey-day-weekday {
  font-size: 14px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.fmkk19-journey-day-date {
  color: #607387;
  font-size: 12px;
  font-weight: 700;
}

.fmkk19-journey-day-markers {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  min-height: 10px;
  margin-top: 3px;
}

.fmkk19-journey-day-marker {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #d8dde2;
}

.fmkk19-journey-day-marker.has-plan {
  background: #77aef3;
}

.fmkk19-journey-day-marker.has-transition {
  background: #8ec5a7;
}

.fmkk19-journey-hero {
  border: 1px solid #eadfce;
  border-radius: 34px;
  padding: clamp(22px, 3vw, 34px);
  background: linear-gradient(135deg, rgba(255,255,255,.96) 0%, rgba(255,248,235,.92) 55%, rgba(238,246,255,.86) 100%);
  box-shadow: 0 16px 36px rgba(54,63,73,.08);
}

.fmkk19-journey-hero-overline {
  margin-bottom: 10px;
  color: #6d7f90;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.fmkk19-journey-hero-main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.fmkk19-journey-hero-title {
  color: #1d3348;
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1.08;
  font-weight: 900;
}

.fmkk19-journey-hero-date {
  margin-top: 7px;
  color: #53687a;
  font-size: 16px;
  font-weight: 700;
}

.fmkk19-journey-hero-pills {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.fmkk19-journey-hero-pills span {
  border-radius: 999px;
  padding: 10px 13px;
  background: rgba(255,255,255,.9);
  border: 1px solid #e8ddcd;
  color: #37526b;
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(40,54,70,.05);
}

.fmkk19-journey-hero-story {
  margin-top: 16px;
  color: #233a50;
  font-size: 17px;
  font-weight: 800;
}

.fmkk19-journey-hero-intro {
  margin-top: 6px;
  color: var(--fmkk19-muted);
  font-size: 14px;
  line-height: 1.5;
}

.fmkk19-journey-companion {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 132px;
  align-items: center;
  gap: 18px;
  margin-top: 20px;
  padding: 16px 18px;
  border-radius: 28px;
  border: 1px solid rgba(120, 151, 140, .18);
  background: linear-gradient(135deg, rgba(255,255,255,.86), rgba(238,248,244,.78));
  box-shadow: 0 12px 28px rgba(42, 76, 67, .07);
}

.fmkk19-journey-companion-copy {
  min-width: 0;
}

.fmkk19-journey-companion-kicker {
  margin-bottom: 4px;
  color: #4f7b6f;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.fmkk19-journey-companion-name {
  color: #1f3b35;
  font-size: 18px;
  font-weight: 900;
}

.fmkk19-journey-companion-bubble {
  display: inline-flex;
  max-width: 100%;
  margin-top: 9px;
  padding: 10px 13px;
  border-radius: 18px 18px 18px 6px;
  color: #38564d;
  background: rgba(255,255,255,.9);
  border: 1px solid rgba(120, 151, 140, .18);
  font-size: 14px;
  font-weight: 760;
  line-height: 1.42;
}

.fmkk19-journey-companion-media {
  width: 132px;
  height: 132px;
  justify-self: end;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.fmkk19-journey-companion-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 14px 22px rgba(40, 68, 61, .13));
}

.fmkk19-journey-companion-placeholder {
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  border-radius: 32px;
  color: #4f7b6f;
  background: rgba(255,255,255,.84);
  border: 1px solid rgba(120, 151, 140, .2);
  font-size: 34px;
  font-weight: 900;
}

.fmkk19-journey-road {
  display: grid;
  gap: 18px;
  width: min(100%, 1060px);
  margin: 0 auto;
}

.fmkk19-journey-station {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
}

.fmkk19-journey-rail {
  display: grid;
  grid-template-rows: auto 1fr;
  justify-items: center;
  gap: 10px;
}

.fmkk19-journey-rail-number {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  background: linear-gradient(180deg, #edf5ff 0%, #ddeeff 100%);
  color: #25588f;
  font-size: 22px;
  font-weight: 900;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7), 0 10px 20px rgba(30,99,181,.08);
}

.fmkk19-journey-rail-line {
  width: 4px;
  min-height: 42px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(154,191,230,.82) 0%, rgba(220,230,239,.36) 100%);
}

.fmkk19-journey-station:last-child .fmkk19-journey-rail-line {
  opacity: .25;
}

.fmkk19-journey-station-card {
  display: grid;
  gap: 18px;
  border: 1px solid #e5ddd2;
  border-radius: 32px;
  padding: clamp(18px, 2.5vw, 26px);
  background: linear-gradient(180deg, rgba(255,255,255,.98) 0%, rgba(252,250,245,.94) 100%);
  box-shadow: 0 14px 32px rgba(40,54,70,.07);
}

.fmkk19-journey-station.has-transition .fmkk19-journey-station-card {
  border-color: #d8e8d7;
}

.fmkk19-journey-station-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  flex-wrap: wrap;
}

.fmkk19-journey-station-title-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.fmkk19-journey-slot-icon {
  width: 62px;
  height: 62px;
  flex: 0 0 62px;
  display: grid;
  place-items: center;
  border-radius: 21px;
  background: linear-gradient(180deg, #ffffff 0%, #f7f0e5 100%);
  border: 1px solid #ece1d1;
  font-size: 32px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.72);
}

.fmkk19-journey-station-eyebrow {
  margin-bottom: 4px;
  color: #718293;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.fmkk19-journey-station-title {
  color: #1d3348;
  font-size: 25px;
  line-height: 1.15;
  font-weight: 900;
}

.fmkk19-journey-station-subtitle {
  margin-top: 6px;
  color: #607387;
  font-size: 14px;
  font-weight: 700;
}

.fmkk19-journey-station-actions button {
  border: 0;
  border-radius: 999px;
  padding: 10px 15px;
  background: #f3f6f9;
  color: #33506e;
  cursor: pointer;
  font-size: 14px;
  font-weight: 900;
  transition: transform .16s ease, background-color .16s ease;
}

.fmkk19-journey-station-actions button:hover,
.fmkk19-journey-station-actions button:focus-visible {
  outline: none;
  transform: translateY(-1px);
  background: #e9f1f8;
}

.fmkk19-journey-transition-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  border: 1px solid #d7e8d9;
  border-radius: 24px;
  padding: 16px;
  background: linear-gradient(180deg, #f7fcf8 0%, #eff8f1 100%);
  box-shadow: 0 8px 18px rgba(60,112,78,.06);
}

.fmkk19-journey-transition-copy {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  flex: 1 1 360px;
}

.fmkk19-journey-transition-icon {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid #dfeee1;
  border-radius: 21px;
  background: #ffffff;
  font-size: 32px;
}

.fmkk19-journey-transition-icon .fm-symbol-img {
  width: 54px;
  height: 54px;
}

.fmkk19-journey-transition-text {
  min-width: 0;
}

.fmkk19-journey-transition-overline {
  margin-bottom: 4px;
  color: #4a7a5b;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.fmkk19-journey-transition-title {
  color: #1e3d2a;
  font-size: 16px;
  font-weight: 900;
}

.fmkk19-journey-transition-description {
  margin-top: 5px;
  color: #526a5b;
  font-size: 13px;
  line-height: 1.35;
}

.fmkk19-journey-transition-start,
.fmkk19-journey-transition-missing {
  border-radius: 999px;
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.fmkk19-journey-transition-start {
  border: 0;
  background: #2f7a52;
  color: #ffffff;
  cursor: pointer;
  box-shadow: 0 8px 16px rgba(47,122,82,.16);
  transition: transform .16s ease, background-color .16s ease;
}

.fmkk19-journey-transition-start:hover,
.fmkk19-journey-transition-start:focus-visible {
  outline: none;
  transform: translateY(-1px);
  background: #286a47;
}

.fmkk19-journey-transition-missing {
  color: #7b6a48;
  background: #fbf4df;
}

.fmkk19-journey-stage {
  display: grid;
  gap: 12px;
}

.fmkk19-journey-entry-list {
  display: grid;
  gap: 12px;
}

.fmkk19-journey-entry-card {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid #dce8f4;
  border-radius: 24px;
  padding: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 8px 18px rgba(44,73,104,.05);
}

.fmkk19-journey-entry-card.is-legacy {
  border-style: dashed;
}

.fmkk19-journey-entry-main {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  min-width: 0;
}

.fmkk19-journey-entry-icon {
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid #edf0f3;
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #fbf7ef 100%);
  font-size: 40px;
}

.fmkk19-journey-entry-icon .fm-symbol-img {
  width: 74px;
  height: 74px;
}

.fmkk19-journey-entry-meta {
  min-width: 0;
}

.fmkk19-journey-entry-sequence {
  display: inline-flex;
  align-items: center;
  margin-bottom: 8px;
  border-radius: 999px;
  padding: 4px 9px;
  background: #eef5ff;
  color: #315779;
  font-size: 11px;
  font-weight: 900;
}

.fmkk19-journey-entry-title-row {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 14px;
}

.fmkk19-journey-entry-title {
  color: #1d2f3f;
  font-size: 22px;
  line-height: 1.18;
  font-weight: 900;
}

.fmkk19-journey-entry-category {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 3px 8px;
  background: #f3f5f6;
  color: #7a8791;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.fmkk19-journey-entry-subtitle {
  margin-top: 6px;
  color: var(--fmkk19-muted);
  font-size: 12px;
  font-weight: 700;
}

.fmkk19-journey-entry-transition-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 8px;
}

.fmkk19-journey-entry-top-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 7px;
  margin-left: auto;
}

.fmkk19-journey-empty-stage {
  width: 100%;
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  border: 1px dashed #d8deea;
  border-radius: 24px;
  padding: 0 18px;
  background: #fcfdff;
  color: #62798d;
  cursor: pointer;
  font-weight: 900;
  text-align: left;
}

.fmkk19-journey-empty-icon {
  color: #54718a;
  font-size: 24px;
  line-height: 1;
}

.fmkk19-journey-note {
  border-radius: 18px;
  padding: 12px 14px;
  background: #f7f2ea;
  color: #5e6c78;
  font-size: 13px;
  font-weight: 700;
}

.fmkk19-journey-station-footer {
  display: flex;
}

.fmkk19-journey-reflection {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #ecd9ae;
  border-radius: 18px;
  padding: 12px 15px;
  background: #fcf8ec;
  color: #6c5423;
  cursor: pointer;
  text-align: left;
}

.fmkk19-journey-reflection.has-reflection {
  background: #fff6df;
}

.fmkk19-journey-reflection-label {
  color: #6c5423;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.fmkk19-journey-reflection-value {
  color: #5b4c1e;
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.fmkk19-journey-reflection-detail {
  overflow: hidden;
  color: #8a744e;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fmkk19-journey-station.theme-morning .fmkk19-journey-slot-icon {
  background: linear-gradient(180deg, #fffdf5 0%, #fff3d9 100%);
}

.fmkk19-journey-station.theme-midday .fmkk19-journey-slot-icon {
  background: linear-gradient(180deg, #fffdf8 0%, #fdf1e1 100%);
}

.fmkk19-journey-station.theme-afternoon .fmkk19-journey-slot-icon {
  background: linear-gradient(180deg, #f8fdff 0%, #eaf5ff 100%);
}

.fmkk19-journey-station.theme-evening .fmkk19-journey-slot-icon {
  background: linear-gradient(180deg, #fbfaff 0%, #eceaff 100%);
}

@media (max-width: 980px) {
  .fmkk19-journey-day-picker {
    grid-template-columns: repeat(7, minmax(110px, 1fr));
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .fmkk19-journey-station {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 14px;
  }

  .fmkk19-journey-rail-number {
    width: 54px;
    height: 54px;
    border-radius: 19px;
    font-size: 20px;
  }
}

@media (max-width: 760px) {
  .fmkk19-start-focus {
    grid-template-columns: 1fr;
    padding: 16px;
  }

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

  .fmkk19-start-focus-steps div {
    min-height: 0;
    grid-template-columns: 28px minmax(0, 1fr);
    justify-items: start;
    text-align: left;
  }

  .fmkk19-compass-impulse {
    grid-template-columns: 1fr;
    align-items: stretch;
    gap: 14px;
    padding: 16px;
  }

  .fmkk19-compass-impulse-action {
    width: 100%;
    white-space: normal;
  }

  .fmkk19-view-switch-wrap {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 18px;
    padding: 14px;
  }

  .fmkk19-view-switch {
    grid-template-columns: 1fr;
  }

  .fmkk19-view-switch button {
    min-height: 74px;
  }

  .fmkk19-journey-hero {
    border-radius: 28px;
  }

  .fmkk19-journey-hero-main,
  .fmkk19-journey-station-head,
  .fmkk19-journey-transition-callout {
    align-items: stretch;
    flex-direction: column;
  }

  .fmkk19-journey-hero-pills {
    justify-content: flex-start;
  }

  .fmkk19-journey-companion {
    grid-template-columns: 1fr;
  }

  .fmkk19-journey-companion-media {
    width: 112px;
    height: 112px;
    justify-self: start;
  }

  .fmkk19-journey-station {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .fmkk19-journey-rail {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
  }

  .fmkk19-journey-rail-line {
    width: min(42vw, 170px);
    height: 4px;
    min-height: 4px;
  }

  .fmkk19-journey-station-card {
    border-radius: 28px;
  }

  .fmkk19-journey-station-title-wrap,
  .fmkk19-journey-entry-main,
  .fmkk19-journey-transition-copy {
    align-items: flex-start;
  }

  .fmkk19-journey-slot-icon {
    width: 56px;
    height: 56px;
    flex-basis: 56px;
    border-radius: 19px;
    font-size: 30px;
  }

  .fmkk19-journey-slot-icon .fm-symbol-img,
  .fmkk19-journey-transition-icon .fm-symbol-img {
    width: 48px;
    height: 48px;
  }

  .fmkk19-journey-station-title {
    font-size: 22px;
  }

  .fmkk19-journey-station-actions button,
  .fmkk19-journey-transition-start,
  .fmkk19-journey-transition-missing {
    width: 100%;
    text-align: center;
  }

  .fmkk19-journey-entry-card {
    align-items: flex-start;
  }

  .fmkk19-journey-entry-icon {
    width: 76px;
    height: 76px;
    flex-basis: 76px;
    border-radius: 22px;
    font-size: 36px;
  }

  .fmkk19-journey-entry-icon .fm-symbol-img {
    width: 68px;
    height: 68px;
  }

  .fmkk19-journey-entry-title {
    font-size: 19px;
  }

  .fmkk19-journey-reflection {
    display: grid;
    gap: 4px;
  }
}

/* V20.0.9 final override: kompakte Übergangsverweise und stabile Ereigniszeilen */
.fmkk19-transition-badge {
  min-height: 24px;
}

.fmkk19-transition-badge .fm-symbol-img,
.fmkk19-transition-inline .fm-symbol-img,
.fmkk19-transition-overview-btn .fm-symbol-img {
  width: 18px;
  height: 18px;
  max-width: 18px;
  max-height: 18px;
  object-fit: contain;
}

.fmkk19-transition-badge .fm-symbol-img {
  width: 15px;
  height: 15px;
  max-width: 15px;
  max-height: 15px;
}

.fmkk19-transition-overview-btn > span:first-child,
.fmkk19-transition-inline > span:first-child {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  display: inline-grid;
  place-items: center;
}

.fmkk19-entry-pill.large {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px 12px;
  justify-content: stretch;
  padding: 12px 14px;
}

.fmkk19-entry-pill.large .fmkk19-entry-icon {
  grid-column: 1;
  grid-row: 1 / span 2;
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border-radius: 14px;
  background: #fff;
}

.fmkk19-entry-pill.large .fmkk19-entry-title {
  grid-column: 2;
  min-width: 0;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.fmkk19-entry-pill.large .fmkk19-entry-legacy-badge,
.fmkk19-entry-pill.large .fmkk19-transition-inline {
  grid-column: 2;
  justify-self: start;
  margin-left: 0;
}

.fmkk19-entry-pill.large .fmkk19-entry-delete {
  grid-column: 3;
  grid-row: 1 / span 2;
  width: auto;
  height: auto;
  min-width: 92px;
  padding: 9px 12px;
  opacity: 1;
  border-radius: 999px;
  background: #eef3f8;
  color: #4d6579;
  font-size: 13px;
  font-weight: 800;
}

.fmkk19-entry-pill.large .fmkk19-entry-delete:hover,
.fmkk19-entry-pill.large .fmkk19-entry-delete:focus-visible {
  background: #dfeaf3;
  color: #2f4a61;
}

@media (max-width: 560px) {
  .fmkk19-entry-pill.large {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .fmkk19-entry-pill.large .fmkk19-entry-delete {
    grid-column: 1 / -1;
    grid-row: auto;
    justify-self: stretch;
  }
}

/* V20.0.10 final: Übergang und Ritual im Ereignisfeld gleichwertig */
.fmkk19-entry-pill.large .fmkk19-entry-linked-actions {
  grid-column: 2;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  min-width: 0;
}

.fmkk19-entry-pill.large .fmkk19-entry-linked-actions .fmkk19-transition-inline,
.fmkk19-entry-pill.large .fmkk19-entry-linked-actions .fmkk19-ritual-overview-btn {
  min-height: 32px;
  height: 32px;
  width: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 850;
  line-height: 1;
  white-space: nowrap;
  box-shadow: none;
}

.fmkk19-entry-pill.large .fmkk19-entry-linked-actions .fmkk19-ritual-overview-btn {
  border: 1px solid rgba(207, 132, 80, .28);
  background: #fff8ef;
  color: #8b4d2f;
}

.fmkk19-entry-pill.large .fmkk19-entry-linked-actions .fmkk19-ritual-overview-btn > span:first-child {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  border-radius: 8px;
  background: rgba(255,255,255,.86);
  border: 0;
}

.fmkk19-entry-pill.large .fmkk19-entry-linked-actions .fmkk19-ritual-img {
  width: 18px;
  height: 18px;
}

@media (max-width: 560px) {
  .fmkk19-entry-pill.large .fmkk19-entry-linked-actions {
    grid-column: 1 / -1;
  }
}

/* Final cascade placement for the shared module header. */
.fmkk19-public-shell,
.fmkk19-public-shell * {
  box-sizing: border-box;
}

.fmkk19-public-shell {
  max-width: 1180px;
  margin: 24px auto;
  padding: clamp(18px, 3vw, 42px);
  border: 1px solid rgba(88, 120, 133, .16);
  border-radius: 8px;
  background: #f8fbfb;
  color: #26333a;
  box-shadow: 0 18px 55px rgba(60, 83, 92, .11);
}

.fmkk19-public-shell h1,
.fmkk19-public-shell h2 {
  margin: 0 0 .55rem;
  color: #26333a;
  line-height: 1.12;
  letter-spacing: 0;
}

.fmkk19-public-shell p {
  margin: 0 0 1rem;
  color: #627078;
  line-height: 1.58;
}

.fmkk19-public-kicker {
  margin-bottom: .5rem !important;
  color: #4f7f78 !important;
  font-size: .76rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.fmkk19-public-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(240px, .72fr);
  gap: clamp(20px, 4vw, 48px);
  align-items: center;
  padding: clamp(1.2rem, 4vw, 2.2rem);
  border: 1px solid rgba(79, 127, 120, .18);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255,255,255,.96), rgba(231,244,241,.82));
}

.fmkk19-public-hero h1 {
  font-size: clamp(2.1rem, 6vw, 4.1rem);
}

.fmkk19-public-lead {
  max-width: 62ch;
  color: #26333a !important;
  font-size: clamp(1.05rem, 2vw, 1.22rem);
  font-weight: 720;
}

.fmkk19-public-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: 1.4rem;
}

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

.fmkk19-public-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: .82rem 1.05rem;
  border-radius: 999px;
  font-weight: 900;
  text-decoration: none !important;
  line-height: 1.15;
}

.fmkk19-public-button--primary {
  border: 1px solid rgba(79, 127, 120, .4);
  background: linear-gradient(135deg, #4f7f78, #73a59b);
  color: #fff !important;
  box-shadow: 0 12px 26px rgba(79, 127, 120, .22);
}

.fmkk19-public-button--ghost {
  border: 1px solid rgba(88, 120, 133, .18);
  background: rgba(255,255,255,.74);
  color: #4f7f78 !important;
}

.fmkk19-public-day-card {
  display: grid;
  gap: .55rem;
  padding: 1rem;
  border: 1px solid rgba(88, 120, 133, .14);
  border-radius: 8px;
  background: rgba(255,255,255,.78);
  box-shadow: 0 14px 32px rgba(60, 83, 92, .08);
}

.fmkk19-public-day-card span {
  color: #4f7f78;
  font-size: .75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.fmkk19-public-day-card strong {
  color: #26333a;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.fmkk19-public-day-card i {
  display: block;
  height: 1px;
  background: rgba(88, 120, 133, .14);
}

.fmkk19-public-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 1rem 0;
}

.fmkk19-public-grid article {
  min-height: 190px;
  padding: 1rem;
  border: 1px solid rgba(88, 120, 133, .13);
  border-radius: 8px;
  background: rgba(255,255,255,.82);
  box-shadow: 0 12px 26px rgba(60, 83, 92, .06);
}

.fmkk19-public-grid span {
  display: grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  margin-bottom: .8rem;
  border-radius: 999px;
  background: rgba(236, 173, 111, .18);
  color: #8b5b32;
  font-weight: 900;
}

.fmkk19-public-grid h2,
.fmkk19-public-flow h2,
.fmkk19-public-links h2 {
  font-size: clamp(1.22rem, 2.6vw, 1.85rem);
}

.fmkk19-public-flow {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  margin: 1rem 0;
  padding: 1rem;
  border: 1px solid rgba(236, 173, 111, .22);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255,249,240,.92), rgba(232,244,241,.66));
}

.fmkk19-public-flow ol {
  display: grid;
  gap: .7rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: calendarSteps;
}

.fmkk19-public-flow li {
  counter-increment: calendarSteps;
  display: grid;
  grid-template-columns: 2.1rem minmax(0, 1fr);
  grid-template-areas: "number title" "number text";
  gap: .18rem .75rem;
  align-items: start;
  padding: .8rem .85rem;
  border: 1px solid rgba(88, 120, 133, .12);
  border-radius: 8px;
  background: rgba(255,255,255,.78);
}

.fmkk19-public-flow li::before {
  content: counter(calendarSteps);
  display: grid;
  grid-area: number;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 999px;
  background: rgba(79, 127, 120, .15);
  color: #4f7f78;
  font-weight: 900;
}

.fmkk19-public-flow strong {
  display: block;
  grid-area: title;
  min-width: 0;
  color: #26333a;
  line-height: 1.22;
}

.fmkk19-public-flow span {
  display: block;
  grid-area: text;
  min-width: 0;
  color: #627078;
  line-height: 1.4;
}

.fmkk19-public-links {
  display: grid;
  gap: .6rem;
  justify-items: start;
  margin-top: 1rem;
  padding: clamp(1rem, 3vw, 1.4rem);
  border: 1px solid rgba(79, 127, 120, .2);
  border-left: 7px solid #4f7f78;
  border-radius: 8px;
  background: rgba(232,244,241,.7);
}

.fmkk19-public-links p {
  max-width: 72ch;
}

body:has(.fmkk19-public-shell) .entry-header {
  display: none;
}

.fmkk19-module-head {
  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%);
}

.fmkk19-module-head-text {
  grid-column: 1;
  grid-row: 1;
}

.fmkk19-module-head .fmkk19-selector-wrap {
  grid-column: 1 / -1;
  grid-row: 2;
  width: 100%;
  margin-top: -12px;
  justify-content: stretch;
}

.fmkk19-module-head .fmkk19-selector-wrap .fm-context-selector,
.fmkk19-module-head .fmkk19-selector-wrap .fm-context-form {
  width: 100%;
  max-width: none;
}

.fmkk19-module-head .fmkk19-selector-wrap .fm-context-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.fmkk19-module-head .fmkk19-selector-wrap .fm-context-field,
.fmkk19-module-head .fmkk19-selector-wrap label,
.fmkk19-module-head .fmkk19-selector-wrap select {
  width: 100%;
  max-width: none;
  min-width: 0;
}

.fmkk19-module-summary {
  grid-column: 2;
  grid-row: 1;
}

@media (max-width: 980px) {
  .fmkk19-public-hero,
  .fmkk19-public-flow {
    grid-template-columns: 1fr;
  }

  .fmkk19-public-grid {
    grid-template-columns: 1fr;
  }

  .fmkk19-module-head {
    grid-template-columns: 1fr;
  }

  .fmkk19-module-head-text,
  .fmkk19-module-head .fmkk19-selector-wrap,
  .fmkk19-module-summary {
    grid-column: 1;
    grid-row: auto;
  }

  .fmkk19-module-head .fmkk19-selector-wrap {
    margin-top: 0;
  }

  .fmkk19-module-head .fmkk19-selector-wrap .fm-context-form {
    grid-template-columns: 1fr;
  }
}
.fmkk19-public-promo {
    max-width: 560px;
    margin: 0 auto 20px;
}

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

@media (min-width: 761px) and (max-width: 980px) {
  .fmkk19-module-head {
    grid-template-columns: minmax(0, 1.15fr) minmax(260px, .85fr);
  }

  .fmkk19-module-head-text {
    grid-column: 1;
    grid-row: 1;
  }

  .fmkk19-module-summary {
    grid-column: 2;
    grid-row: 1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fmkk19-module-summary .fmkk19-summary-card {
    padding: 12px;
  }

  .fmkk19-module-summary .fmkk19-summary-icon {
    flex-basis: 48px;
    width: 48px;
    height: 48px;
    border-radius: 16px;
  }

  .fmkk19-module-head .fmkk19-selector-wrap {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .fmkk19-module-head .fmkk19-selector-wrap .fm-context-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fmkk19-module-summary .fmkk19-context-companion {
    grid-column: 1 / -1;
    grid-template-columns: minmax(0, 1fr) 82px;
    min-height: 104px;
    padding: 12px;
  }

  .fmkk19-module-summary .fmkk19-context-companion-media {
    width: 82px;
    height: 82px;
  }
}
