/* Edzésterv edz2 — accordion + weekly calendar (factory) */
body.edzesterv-page {
  background: #FEEBD7 !important;
  background-image: none !important;
  min-height: 100vh;
}

.edz-page {
  max-width: 1360px;
  margin: 0 auto;
  padding: 12px 14px 48px;
}

.edz-shell {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}
.edz-cal-section,
.edz-sidebar {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

/* ---- Sidebar ---- */
.edz-sidebar {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 8px 24px rgba(61, 44, 41, 0.08);
  padding: 14px;
  position: sticky;
  top: 110px;
  max-height: calc(100vh - 130px);
  overflow: auto;
}

.edz-search-wrap { position: relative; margin-bottom: 12px; }
.edz-search-wrap input {
  width: 100%;
  padding: 11px 12px 11px 36px;
  border-radius: 999px;
  border: 1.5px solid rgba(231, 111, 81, 0.22);
  font: inherit;
  background: #fff8f2;
  box-sizing: border-box;
}
.edz-search-ico {
  position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  font-size: .9rem; opacity: .7; pointer-events: none;
}

.edz-side-hint {
  margin: 10px 4px 0;
  font-size: .82rem;
  color: rgba(0,0,0,.45);
  text-align: center;
}

.edz-acc { display: flex; flex-direction: column; gap: 6px; }

.edz-acc-item {
  border: 1px solid rgba(231,111,81,.12);
  border-radius: 14px;
  background: #fffaf6;
  overflow: hidden;
}
.edz-acc-item.is-open { background: #fff; box-shadow: 0 2px 10px rgba(61,44,41,.06); }

.edz-acc-head {
  display: flex; align-items: center; gap: 8px;
  width: 100%; border: none; background: transparent;
  padding: 11px 12px; cursor: pointer; font: inherit; text-align: left;
  font-weight: 700; color: #3d2c29;
}
.edz-acc-head:hover { background: #ffe8d6; }
.edz-acc-ico { font-size: 1.05rem; width: 1.4em; text-align: center; flex-shrink: 0; }
.edz-acc-title { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.edz-acc-count {
  font-size: .72rem; font-weight: 700; color: #c2410c;
  background: #ffe8d6; border-radius: 999px; padding: 2px 7px;
}
.edz-acc-chev { opacity: .55; transition: transform .15s; font-size: .85rem; }
.edz-acc-item.is-open .edz-acc-chev { transform: rotate(180deg); }

.edz-acc-body { display: none; padding: 0 6px 8px; }
.edz-acc-item.is-open .edz-acc-body { display: block; }

.edz-drag-row {
  display: flex; align-items: center; gap: 6px;
  padding: 7px 6px; border-radius: 10px;
  cursor: grab; user-select: none;
  border: 1px solid transparent;
}
.edz-drag-row:hover { background: #fff8f2; border-color: rgba(231,111,81,.16); }
.edz-drag-row.is-dragging { opacity: .55; }
.edz-drag-handle {
  color: rgba(61,44,41,.35); font-size: .85rem; letter-spacing: -1px;
  line-height: 1; cursor: grab; flex-shrink: 0;
  font-family: system-ui, sans-serif;
}
.edz-drag-title {
  flex: 1; min-width: 0;
  font-size: .82rem; font-weight: 650; color: #3d2c29;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.edz-eye {
  flex-shrink: 0; width: 28px; height: 28px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px; text-decoration: none;
  background: #fff; border: 1px solid rgba(231,111,81,.2);
  font-size: .85rem; color: inherit;
}
.edz-eye:hover { background: #ffe8d6; text-decoration: none; }

/* ---- Calendar toolbar ---- */
.edz-cal-section {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 8px 24px rgba(61, 44, 41, 0.08);
  padding: 16px 16px 20px;
}

.edz-cal-toolbar {
  display: flex; flex-wrap: wrap; align-items: flex-start;
  justify-content: space-between; gap: 12px;
  margin-bottom: 10px;
}
.edz-date-range {
  font-size: 1.55rem; font-weight: 800;
  color: #F4A394; letter-spacing: -.02em; line-height: 1.2;
}
.edz-help-link {
  display: inline-block; margin-top: 4px;
  font-size: .82rem; color: #c2410c; text-decoration: underline;
  text-underline-offset: 2px;
}
.edz-help-link:hover { color: #9a3412; }

.edz-cal-right {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
.edz-view-toggles {
  display: inline-flex; background: #fff8f2;
  border-radius: 999px; padding: 3px;
  border: 1px solid rgba(231,111,81,.16);
}
.edz-view-btn {
  border: none; background: transparent; cursor: pointer;
  font: inherit; font-weight: 700; font-size: .85rem;
  padding: 7px 14px; border-radius: 999px; color: #7c5c52;
}
.edz-view-btn.is-on {
  background: #F4A394; color: #fff;
  box-shadow: 0 4px 12px rgba(231,111,81,.35);
}

.edz-week-nav { display: flex; gap: 6px; }
.edz-nav-btn {
  width: 36px; height: 36px; border-radius: 999px;
  border: 1.5px solid rgba(231,111,81,.28);
  background: #fff; cursor: pointer; font-size: 1.2rem;
  color: #F4A394; line-height: 1;
  display: inline-flex; align-items: center; justify-content: center;
}
.edz-nav-btn:hover { background: #fff8f2; }

.edz-cal-actions {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-bottom: 14px;
}

.edz-btn-primary {
  border: none; cursor: pointer;
  background: linear-gradient(135deg, #FF8C42, #F4A394);
  color: #fff; font-weight: 800; font: inherit;
  padding: 11px 18px; border-radius: 999px;
  box-shadow: 0 6px 16px rgba(255, 140, 66, 0.35);
}
.edz-btn-primary:hover { filter: brightness(1.05); }
.edz-btn-outline {
  border: 1.5px solid rgba(231,111,81,.4); cursor: pointer;
  background: #fff; color: #c2410c; font-weight: 700; font: inherit;
  padding: 10px 16px; border-radius: 999px;
}
.edz-btn-outline:hover { background: #fff8f2; }
.edz-btn-ghost {
  border: none; background: transparent; cursor: pointer;
  color: #7c5c52; font: inherit; font-weight: 650; padding: 10px 14px;
}
.edz-btn-sm { padding: 8px 14px; font-size: .88rem; }

/* ---- Week grid ---- */
.edz-week-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
  min-height: 420px;
}

.edz-day {
  background: #fffaf6;
  border-radius: 16px;
  border: 1.5px solid rgba(231,111,81,.1);
  padding: 8px 7px 10px;
  min-height: 280px;
  display: flex; flex-direction: column; gap: 8px;
  transition: border-color .15s, background .15s, box-shadow .15s;
}
.edz-day.is-today {
  border-color: #F4A394;
  box-shadow: 0 0 0 2px rgba(231,111,81,.18);
  background: #fff;
}
.edz-day.is-drop {
  border-color: #FF8C42;
  background: #fff3e8;
  box-shadow: 0 0 0 3px rgba(255,140,66,.25);
}

.edz-day-head {
  position: relative;
  text-align: center;
  background: #ffe8d6;
  border-radius: 12px;
  padding: 8px 4px;
  font-weight: 800; font-size: .78rem;
  color: #3d2c29;
}
.edz-day.is-today .edz-day-head { background: #ffd4b8; }
.edz-ma-badge {
  position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
  background: #F4A394; color: #fff;
  font-size: .65rem; font-weight: 800;
  padding: 2px 8px; border-radius: 999px;
  white-space: nowrap;
}

.edz-day-body {
  flex: 1; display: flex; flex-direction: column; gap: 8px;
  min-height: 80px;
}

.edz-slot-empty {
  flex: 1; min-height: 72px;
  border-radius: 14px;
  background: #f3eee9;
  border: 1.5px dashed rgba(0,0,0,.08);
  display: flex; align-items: center; justify-content: center;
}
.edz-add-day {
  width: 36px; height: 36px; border-radius: 999px;
  border: none; background: #fff; color: #F4A394;
  font-size: 1.3rem; font-weight: 700; cursor: pointer;
  box-shadow: 0 2px 8px rgba(61,44,41,.08);
}
.edz-add-day:hover { background: #ffe8d6; }

/* Workout card in calendar */
.edz2-card {
  background: #fff;
  border-radius: 14px;
  border: 1px solid rgba(231,111,81,.14);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(61,44,41,.05);
  display: flex; flex-direction: column;
}
.edz2-card.is-done { opacity: .72; outline: 2px solid #22c55e; outline-offset: -2px; }

.edz2-thumb {
  width: 100%;
  height: auto;
  min-height: 96px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center center;
  display: block;
  background: #f3e7dc;
}
.edz2-thumb-ph {
  width: 100%;
  min-height: 96px;
  aspect-ratio: 16 / 9;
  background: #f3e7dc;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #b08978;
  font-size: .75rem;
  font-weight: 700;
}
.edz2-thumb-ph::after { content: "🎬"; font-size: 1.4rem; opacity: .55; }


.edz2-badge {
  display: inline-block;
  margin: 6px 8px 0;
  font-size: .65rem; font-weight: 800;
  padding: 2px 8px; border-radius: 999px;
  color: #fff; width: fit-content;
}
.edz2-badge.cat-zsiregeto { background: #f97316; }
.edz2-badge.cat-erosito { background: #8b5cf6; }
.edz2-badge.cat-care { background: #22c55e; }
.edz2-badge.cat-hiit { background: #ef4444; }
.edz2-badge.cat-default { background: #F4A394; }

.edz2-title {
  margin: 4px 8px 2px;
  font-size: .78rem; font-weight: 800; line-height: 1.25;
  color: #3d2c29;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}

.edz2-metrics {
  display: flex; flex-wrap: wrap; gap: 4px 8px;
  margin: 2px 8px 6px;
  font-size: .7rem; color: #7c5c52; font-weight: 650;
}
.edz2-kcal { color: #F4A394; font-weight: 800; }

.edz2-actions {
  display: flex; justify-content: center; gap: 6px;
  padding: 0 6px 8px;
}
.edz2-act {
  width: 28px; height: 28px; border-radius: 999px;
  border: 1.5px solid rgba(0,0,0,.08); background: #fff;
  cursor: pointer; font-size: .85rem;
  display: inline-flex; align-items: center; justify-content: center;
  text-decoration: none; color: inherit; padding: 0;
}
.edz2-act:hover { background: #fff8f2; text-decoration: none; }
.edz2-act.done { border-color: #22c55e; color: #16a34a; }
.edz2-act.done.is-on { background: #22c55e; color: #fff; border-color: #22c55e; }
.edz2-act.info { border-color: #a78bfa; color: #7c3aed; }
.edz2-act.rm { border-color: #fca5a5; color: #dc2626; }

/* Lista / Egyszerű */
.edz-week-list { display: flex; flex-direction: column; gap: 12px; }
.edz-list-day {
  background: #fffaf6; border-radius: 16px;
  border: 1px solid rgba(231,111,81,.12); padding: 12px;
}
.edz-list-day h3 {
  margin: 0 0 8px; font-size: .95rem; color: #F4A394;
}
.edz-list-day.is-today { border-color: #F4A394; }
.edz-list-row {
  display: flex; align-items: center; gap: 10px;
  padding: 8px; border-radius: 12px; background: #fff;
  margin-bottom: 6px; border: 1px solid rgba(0,0,0,.04);
}
.edz-list-row.is-done { opacity: .7; }
.edz-list-row .edz2-thumb,
.edz-list-row .edz2-thumb-ph { width: 56px; height: 40px; border-radius: 8px; flex-shrink: 0; }
.edz-simple-row {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 8px; font-size: .88rem; font-weight: 650;
}
.edz-simple-row .dot {
  width: 8px; height: 8px; border-radius: 999px; background: #F4A394; flex-shrink: 0;
}

/* Modals */
.edz-modal[hidden] { display: none !important; }
.edz-modal {
  position: fixed; inset: 0; z-index: 80;
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
}
.edz-modal-backdrop {
  position: absolute; inset: 0; background: rgba(40, 24, 18, .45);
}
.edz-modal-card {
  position: relative; z-index: 1;
  background: #fff; border-radius: 20px;
  width: min(480px, 100%);
  max-height: min(90vh, 720px);
  overflow: auto;
  padding: 18px 18px 16px;
  box-shadow: 0 20px 50px rgba(0,0,0,.25);
}
.edz-pick-card { width: min(520px, 100%); }
.edz-modal-head {
  display: flex; justify-content: space-between; gap: 12px;
  margin-bottom: 12px;
}
.edz-modal-head h3 { margin: 0; font-size: 1.15rem; color: #3d2c29; }
.edz-modal-sub { margin: 4px 0 0; font-size: .85rem; color: rgba(0,0,0,.5); }
.edz-modal-x {
  border: none; background: #fff8f2; width: 34px; height: 34px;
  border-radius: 999px; cursor: pointer; font-size: 1.2rem; color: #7c5c52;
}
.edz-wizard-form { display: flex; flex-direction: column; gap: 12px; }
.edz-wizard-form label { display: flex; flex-direction: column; gap: 4px; font-weight: 650; font-size: .9rem; }
.edz-wizard-form select {
  font: inherit; padding: 10px 12px; border-radius: 12px;
  border: 1.5px solid rgba(231,111,81,.25); background: #fffaf6;
}
.edz-focus {
  border: 1px solid rgba(231,111,81,.18); border-radius: 14px;
  padding: 10px 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px;
}
.edz-focus legend { font-weight: 800; padding: 0 4px; }
.edz-focus label {
  flex-direction: row; align-items: center; gap: 6px;
  font-weight: 600; font-size: .88rem;
}
.edz-wizard-actions {
  display: flex; justify-content: flex-end; gap: 8px; margin-top: 4px;
}
.edz-help-body { font-size: .92rem; line-height: 1.5; color: #3d2c29; }
.edz-help-body ol { margin: 0; padding-left: 1.2em; }

.edz-pick-q {
  width: 100%; box-sizing: border-box;
  padding: 10px 12px; border-radius: 12px;
  border: 1.5px solid rgba(231,111,81,.22);
  font: inherit; background: #fff8f2; margin-bottom: 10px;
}
.edz-pick-list { max-height: 50vh; overflow: auto; display: flex; flex-direction: column; gap: 4px; }
.edz-pick-item {
  display: flex; align-items: center; gap: 8px;
  width: 100%; text-align: left; border: none; cursor: pointer;
  background: #fffaf6; border-radius: 12px; padding: 10px 12px;
  font: inherit; font-weight: 650; font-size: .88rem;
}
.edz-pick-item:hover { background: #ffe8d6; }
.edz-pick-meta { margin-left: auto; font-size: .75rem; color: #7c5c52; font-weight: 600; }

/* Mobile */
@media (max-width: 980px) {
  .edz-shell { grid-template-columns: minmax(0, 1fr); }
  .edz-sidebar {
    position: static; max-height: none;
  }
  .edz-week-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .edz-date-range { font-size: 1.25rem; }
}
@media (max-width: 560px) {
  .edz-week-grid { grid-template-columns: 1fr; }
  .edz-week-list,
  .edz-list-day,
  .edz-list-row,
  .edz-simple-row {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
  }
  .edz-list-row {
    flex-wrap: wrap;
    gap: 8px;
  }
  .edz-list-row .edz2-actions {
    margin-left: auto;
    padding: 0;
  }
  .edz-simple-row {
    flex-wrap: wrap;
    gap: 6px 8px;
  }
  .edz-view-btn {
    padding: 6px 10px;
    font-size: .78rem;
  }
  .edz-cal-section { padding: 12px 10px 16px; }
}


/* edz3 — list/simple drop targets */
.edz-list-day.edz2-drop {
  border-radius: 18px;
  transition: background .15s, box-shadow .15s;
}
.edz-list-day.edz2-drop.is-drop {
  background: #fff5ec;
  box-shadow: inset 0 0 0 2px #ff8c42;
}
.edz-list-day .edz-slot-empty {
  pointer-events: none;
}
.edz-list-day .edz-slot-empty .edz-add-day,
.edz-list-day [data-add] {
  pointer-events: auto;
}


/* edz4 — AI / Egyéni modes */
.edz-cal-actions--modes {
  display: flex;
  flex-direction: column;
  gap: .65rem;
  align-items: stretch;
}
.edz-mode-tabs {
  display: inline-flex;
  align-self: flex-start;
  gap: .25rem;
  padding: .2rem;
  border-radius: 999px;
  background: #ffe8d6;
}
.edz-mode-tab {
  border: 0;
  background: transparent;
  border-radius: 999px;
  padding: .45rem .95rem;
  font-weight: 800;
  font-size: .82rem;
  color: #7a5a45;
  cursor: pointer;
}
.edz-mode-tab.is-on {
  background: #fff;
  color: #F4A394;
  box-shadow: 0 4px 12px rgba(180,80,20,.12);
}
.edz-mode-btns {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  align-items: center;
}
.edz-btn-ghost {
  border: 0;
  background: transparent;
  color: #c2492d;
  font-weight: 750;
  font-size: .82rem;
  padding: .4rem .6rem;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}
body.edz-mode-is-custom #edz-create-plan { opacity: .85; }
body.edz-mode-is-ai #edz-open-custom { opacity: .9; }


/* ---- Factory multi-step AI wizard (edz6) ---- */
.edz-wiz-card {
  max-width: 640px;
  width: min(640px, 96vw);
  padding: 18px 18px 14px;
  position: relative;
  background: linear-gradient(180deg, #fffaf6 0%, #fff 40%);
  border: 1px solid rgba(231,111,81,.14);
}
.edz-wiz-x { position: absolute; top: 10px; right: 10px; z-index: 2; }
.edz-wiz-progress { margin: 4px 28px 12px 0; }
.edz-wiz-progress-row {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: .82rem; font-weight: 700; color: #9a3412; margin-bottom: 6px;
}
.edz-wiz-progress-left { color: #c2410c; }
.edz-wiz-progress-right { color: rgba(61,44,41,.55); font-variant-numeric: tabular-nums; }
.edz-wiz-progress-bar {
  height: 8px; border-radius: 999px; background: #ffe8d6; overflow: hidden;
}
.edz-wiz-progress-bar > span {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, #FF8C42, #F4A394);
  border-radius: 999px; transition: width .25s ease;
}
.edz-wiz-body { min-height: 280px; }
.edz-wiz-error {
  margin: 8px 0 0; padding: 8px 12px; border-radius: 12px;
  background: #fff1f2; color: #9f1239; font-size: .86rem; font-weight: 650;
  border: 1px solid rgba(190,18,60,.18);
}
.edz-wiz-intro { text-align: left; padding-right: 12px; }
.edz-wiz-intro-icon { font-size: 1.6rem; margin-bottom: 4px; }
.edz-wiz-title {
  margin: 0 0 4px; font-size: 1.35rem; line-height: 1.25;
  color: #3d2c29; font-weight: 800;
}
.edz-wiz-sub { margin: 0 0 14px; color: rgba(61,44,41,.62); font-size: .95rem; }
.edz-wiz-summary-title {
  display: flex; align-items: center; gap: 6px;
  font-weight: 800; color: #c2410c; margin-bottom: 10px;
}
.edz-wiz-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.edz-tag {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 6px 12px; border-radius: 999px; font-size: .8rem; font-weight: 700;
  border: 1px solid transparent;
}
.edz-tag-orange { background: #ffe8d6; color: #9a3412; border-color: rgba(231,111,81,.2); }
.edz-tag-green { background: #ecfdf5; color: #047857; border-color: rgba(16,185,129,.2); }
.edz-tag-blue { background: #eff6ff; color: #1d4ed8; border-color: rgba(59,130,246,.22); }
.edz-wiz-note {
  font-size: .88rem; color: rgba(61,44,41,.55); margin: 0 0 12px;
}
.edz-wiz-warning {
  background: #fff7ed; border: 1px solid rgba(234,88,12,.25);
  border-radius: 14px; padding: 12px 14px; font-size: .82rem;
  color: #7c2d12; line-height: 1.45; margin-bottom: 4px;
}
.edz-wiz-step h3 {
  margin: 0 0 4px; font-size: 1.2rem; color: #3d2c29; font-weight: 800;
}
.edz-wiz-step h4 {
  margin: 16px 0 8px; font-size: .95rem; color: #9a3412; font-weight: 800;
}
.edz-wiz-step p { margin: 0 0 12px; color: rgba(61,44,41,.62); font-size: .92rem; }
.edz-wiz-info {
  background: #fff8f2; border-radius: 12px; padding: 10px 12px;
  font-size: .82rem; color: #7c5c52; margin-bottom: 12px;
  border: 1px solid rgba(231,111,81,.12);
}
.edz-chips {
  display: flex; flex-direction: column; gap: 8px;
}
.edz-chip {
  display: flex; align-items: center; gap: 10px;
  width: 100%; text-align: left; cursor: pointer;
  border: 1.5px solid rgba(231,111,81,.18);
  background: #fff; border-radius: 14px;
  padding: 12px 14px; font: inherit; font-weight: 650; color: #3d2c29;
  transition: background .12s, border-color .12s, box-shadow .12s;
}
.edz-chip:hover { background: #fff8f2; border-color: rgba(231,111,81,.35); }
.edz-chip.is-selected {
  background: linear-gradient(135deg, #fff1e6, #ffe4cc);
  border-color: #F4A394;
  box-shadow: 0 4px 14px rgba(231,111,81,.18);
  color: #9a3412;
}
.edz-chip-mark {
  width: 18px; height: 18px; border-radius: 999px; flex-shrink: 0;
  border: 2px solid rgba(231,111,81,.35); background: #fff;
  position: relative;
}
.edz-chips--multi .edz-chip-mark { border-radius: 5px; }
.edz-chip.is-selected .edz-chip-mark {
  background: #F4A394; border-color: #F4A394;
}
.edz-chip.is-selected .edz-chip-mark::after {
  content: ""; position: absolute; inset: 3px;
  border-radius: inherit; background: #fff;
  clip-path: polygon(14% 50%, 0 65%, 40% 100%, 100% 18%, 82% 0, 38% 62%);
}
.edz-chip-label { flex: 1; line-height: 1.3; }
.edz-secondary-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; margin: 16px 0 10px; font-weight: 650; color: #3d2c29;
}
.edz-secondary-row em { font-style: normal; color: rgba(61,44,41,.45); font-weight: 600; }
.edz-toggle {
  width: 48px; height: 28px; border-radius: 999px; border: none; cursor: pointer;
  background: #e7e5e4; position: relative; padding: 0; flex-shrink: 0;
}
.edz-toggle span {
  position: absolute; top: 3px; left: 3px; width: 22px; height: 22px;
  border-radius: 999px; background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.15);
  transition: transform .15s;
}
.edz-toggle.is-on { background: #F4A394; }
.edz-toggle.is-on span { transform: translateX(20px); }
.edz-wiz-footer {
  display: flex; justify-content: space-between; align-items: center;
  gap: 10px; margin-top: 18px; padding-top: 8px;
}
.edz-wiz-ready {
  display: flex; flex-direction: column; gap: 4px;
  background: #ecfdf5; border: 1px solid rgba(16,185,129,.25);
  border-radius: 14px; padding: 12px 14px; margin-bottom: 12px;
  color: #065f46; font-size: .9rem;
}
.edz-wiz-summary-list {
  display: flex; flex-direction: column; gap: 6px;
  max-height: 280px; overflow: auto; padding-right: 4px;
}
.edz-wiz-sum-row {
  display: grid; grid-template-columns: 120px 1fr; gap: 8px;
  padding: 8px 10px; border-radius: 10px; background: #fffaf6;
  font-size: .84rem;
}
.edz-wiz-sum-row span { color: rgba(61,44,41,.55); font-weight: 650; }
.edz-wiz-sum-row strong { color: #3d2c29; font-weight: 750; }
.edz-wiz-gen {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px; min-height: 260px; text-align: center; padding: 24px 12px;
}
.edz-wiz-peach {
  width: 72px; height: 72px; border-radius: 24px;
  display: grid; place-items: center; font-size: 2.2rem;
  background: linear-gradient(145deg, #ffe8d6, #ffd0b0);
  box-shadow: 0 10px 24px rgba(231,111,81,.25);
  animation: edz-pulse 1.1s ease-in-out infinite;
}
.edz-wiz-gen--done .edz-wiz-peach { animation: none; }
.edz-wiz-gen-title { font-size: 1.25rem; font-weight: 800; color: #9a3412; }
.edz-wiz-gen-bar {
  width: min(280px, 80%); height: 8px; border-radius: 999px; background: #ffe8d6; overflow: hidden;
}
.edz-wiz-gen-bar > span {
  display: block; height: 100%; width: 40%;
  background: linear-gradient(90deg, #FF8C42, #F4A394);
  border-radius: 999px;
  animation: edz-load 1.1s ease-in-out infinite;
}
@keyframes edz-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}
@keyframes edz-load {
  0% { transform: translateX(-80%); }
  100% { transform: translateX(280%); }
}
@media (max-width: 560px) {
  .edz-wiz-sum-row { grid-template-columns: 1fr; gap: 2px; }
  .edz-wiz-card { padding: 14px 12px 12px; }
}


/* scroll2 — sidebar együtt görget */
.et2-sidebar, .edz-sidebar {
  position: static !important;
  top: auto !important;
  max-height: none !important;
}


/* p8g thumb cap */
.edz2-thumb, .edz2-thumb-ph {
  max-height: 160px;
  background: #f3e7dc !important;
  background-image: none !important;
}
.edz2-card { overflow: hidden; max-width: 100%; }


/* p8h contain */
.edz-week-list { min-width: 0; max-width: 100%; }
.edz-list-row,
.edz-simple-row { min-width: 0; max-width: 100%; }
.edz-list-row .edz2-actions { flex-shrink: 0; }


/* p8i thumb-ph hide */
.edz2-thumb-ph[style*="display:none"],
.edz2-thumb-ph[style*="display: none"] {
  display: none !important;
  min-height: 0 !important;
  height: 0 !important;
  max-height: 0 !important;
  aspect-ratio: auto !important;
}
