/* Laser Hair Removal CE — course styling.
   Layered on platform.css (emerald #04352A / gold / ivory). Carries the
   look the owner approved in the Lesson 1 preview: Read · Listen ·
   Watch trio at the top, gold icon cards, objectives on gold, the
   §118.25 honest line, interactions and Watch elements in the lesson
   body. Scoped to laser pages only (they are the only pages that link
   this sheet). */

/* ---- honest line + timer pill ---- */
.lz-honest {
  display: inline-block; background: var(--ivory); border: 1.5px solid var(--gold);
  color: var(--emerald); border-radius: 999px; padding: 6px 16px;
  font-size: 14px; font-weight: 600; letter-spacing: .01em; margin: 4px 0 10px;
}
.lz-rule-line { font-size: 14px; color: var(--gold-deep); margin: 0 0 14px; }

/* ---- "In this lesson" + objectives ---- */
.lz-objectives {
  background: linear-gradient(180deg, #FBF3DC, #F6EAC8);
  border: 1.5px solid var(--gold); border-radius: 12px;
  padding: 18px 22px; margin: 18px 0;
}
.lz-objectives h2 { margin-top: 0; }
.lz-objectives ul { margin-bottom: 0; }

/* ---- key facts ---- */
.lz-keyfact {
  background: var(--emerald); color: var(--gold-soft);
  border-left: 5px solid var(--gold); border-radius: 10px;
  padding: 14px 18px; margin: 18px 0; font-size: 15.5px; line-height: 1.55;
}
.lz-keyfact strong { color: #fff; }

/* ---- icon cards ---- */
.lz-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin: 18px 0; }
.lz-card {
  background: #FFF9E9; border: 1px solid var(--gold); border-radius: 14px;
  padding: 14px 16px; text-align: center;
}
.lz-card .lz-ico { font-size: 26px; display: block; margin-bottom: 6px; }
.lz-card strong { display: block; color: var(--emerald); font-size: 15.5px; margin-bottom: 4px; }
.lz-card span { font-size: 14px; color: var(--muted, #40584F); line-height: 1.45; display: block; }
.lz-card.crossed { position: relative; }
.lz-card.crossed::after {
  content: ""; position: absolute; left: 10px; right: 10px; top: 50%;
  border-top: 2px solid rgba(4, 53, 42, .45); transform: rotate(-4deg);
}

/* ---- diagrams ---- */
.lz-diagram {
  background: #FFFDF6; border: 1.5px solid var(--gold); border-radius: 12px;
  padding: 16px 20px; margin: 18px 0;
}
.lz-diagram .lz-diagram-title { font-family: Georgia, serif; color: var(--emerald); font-size: 17px; margin-bottom: 8px; }
.lz-diagram p { font-size: 15px; line-height: 1.55; margin: 0; }
.lz-diagram .lz-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; margin-top: 12px; }
.lz-diagram .lz-step {
  background: var(--ivory); border: 1px solid #E9D9A6; border-radius: 10px; padding: 10px 12px; font-size: 14px;
}
.lz-diagram .lz-step b { color: var(--gold-deep); display: block; margin-bottom: 3px; }

/* ---- tables ---- */
.lz-table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 15px; }
.lz-table th { background: var(--emerald); color: var(--gold-soft); text-align: left; padding: 9px 12px; font-weight: 600; }
.lz-table td { border-bottom: 1px solid #EEE8D6; padding: 9px 12px; vertical-align: top; }
.lz-table tr:nth-child(even) td { background: #FFFDF6; }
@media (max-width: 640px) {
  .lz-table, .lz-table tbody, .lz-table tr, .lz-table td { display: block; width: 100%; }
  .lz-table thead { display: none; }
  .lz-table td { border-bottom: none; padding: 4px 12px; }
  .lz-table tr { border-bottom: 1px solid #EEE8D6; padding: 8px 0; }
}

/* ---- interactions (shared) ---- */
.lz-interact {
  background: #FFFDF6; border: 2px solid var(--gold); border-radius: 14px;
  padding: 18px 20px; margin: 20px 0;
}
.lz-interact > .lz-ia-title { font-family: Georgia, serif; color: var(--emerald); font-size: 18px; margin: 0 0 6px; }
.lz-interact > .lz-ia-intro { font-size: 15px; color: var(--muted, #40584F); margin: 0 0 12px; }
.lz-ia-feedback { font-size: 15px; line-height: 1.55; background: var(--ivory); border: 1px solid #E9D9A6; border-radius: 10px; padding: 12px 14px; margin-top: 12px; }
.lz-ia-feedback:empty { display: none; }
.lz-choice-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; }
.lz-choice {
  font: inherit; font-size: 14.5px; cursor: pointer;
  background: #fff; border: 1.5px solid var(--emerald); color: var(--emerald);
  border-radius: 999px; padding: 8px 16px;
}
.lz-choice:hover { background: var(--ivory); }
.lz-choice.picked-right { background: var(--emerald); color: var(--gold-soft); border-color: var(--emerald); }
.lz-choice.picked-wrong { background: #F7E8E8; border-color: #9B2C2C; color: #9B2C2C; }
.lz-choice:disabled { cursor: default; opacity: .92; }
.lz-reveal-btn {
  font: inherit; font-size: 14.5px; cursor: pointer;
  background: var(--gold); color: var(--emerald-deep); border: none;
  border-radius: 999px; padding: 9px 18px; font-weight: 600;
}
.lz-answer { border-top: 1px dashed var(--gold); margin-top: 12px; padding-top: 12px; font-size: 15px; line-height: 1.6; }
.lz-case { margin: 14px 0; padding: 14px 16px; background: #fff; border: 1px solid #E9D9A6; border-radius: 12px; }
.lz-case h4 { margin: 0 0 8px; color: var(--emerald); font-size: 16px; }
.lz-case .lz-q { font-weight: 600; color: var(--emerald); }

/* sliders */
.lz-slider-row { margin: 14px 0; }
.lz-slider-row label { display: flex; justify-content: space-between; font-weight: 600; color: var(--emerald); font-size: 15px; margin-bottom: 6px; }
.lz-slider-row input[type="range"] { width: 100%; accent-color: var(--emerald); }
.lz-slider-line { font-size: 14.5px; margin-top: 6px; min-height: 1.4em; }

/* matcher */
.lz-matcher { display: flex; flex-wrap: wrap; gap: 14px; }
.lz-matcher label { font-size: 14.5px; font-weight: 600; color: var(--emerald); display: block; }
.lz-matcher select { font: inherit; margin-top: 6px; padding: 8px 10px; border: 1px solid var(--gold); border-radius: 8px; background: #fff; }

/* gates checklist */
.lz-gates { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.lz-gate {
  font: inherit; text-align: left; cursor: pointer; background: #FFF9E9;
  border: 1.5px solid var(--gold); border-radius: 12px; padding: 12px 14px; font-size: 14.5px;
}
.lz-gate strong { display: block; color: var(--emerald); margin-bottom: 4px; }
.lz-gate.done { background: var(--emerald); color: var(--gold-soft); border-color: var(--emerald); }
.lz-gate.done strong { color: #fff; }
.lz-gate-count { font-size: 14px; color: var(--gold-deep); font-weight: 600; margin-top: 10px; }

/* Fitzpatrick band */
.lz-fitz { display: flex; gap: 6px; flex-wrap: wrap; margin: 10px 0; }
.lz-fitz button {
  font: inherit; cursor: pointer; flex: 1 1 90px; border-radius: 10px; padding: 12px 6px;
  border: 1.5px solid var(--gold-deep); color: #2A2010; font-weight: 700;
}
.lz-fitz button.active { outline: 3px solid var(--emerald); }

/* five moves */
.lz-moves { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; }
.lz-move {
  font: inherit; text-align: left; cursor: pointer; border-radius: 12px; padding: 12px 14px;
  background: var(--emerald); color: var(--gold-soft); border: 2px solid var(--emerald); font-size: 14.5px;
}
.lz-move strong { display: block; color: #fff; margin-bottom: 4px; }
.lz-move.locked { opacity: .45; }
.lz-move.open { border-color: var(--gold); opacity: 1; }

/* subject grid */
.lz-grid-row {
  display: flex; gap: 10px; align-items: flex-start; width: 100%; text-align: left;
  font: inherit; font-size: 15px; cursor: pointer; background: #fff;
  border: 1px solid #E9D9A6; border-radius: 10px; padding: 10px 14px; margin: 6px 0;
}
.lz-grid-row .lz-box { flex: 0 0 22px; height: 22px; border: 2px solid var(--gold-deep); border-radius: 6px; text-align: center; line-height: 19px; color: var(--emerald); font-weight: 700; }
.lz-grid-row.done { background: #EDF3EC; }
.lz-grid-row .lz-lesson-tag { margin-left: auto; font-size: 13px; color: var(--gold-deep); white-space: nowrap; }

/* eyewear match */
.lz-match-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 10px 0; font-size: 15px; }
.lz-match-row .lz-device { font-weight: 600; color: var(--emerald); min-width: 170px; }
.lz-match-row select { font: inherit; padding: 7px 9px; border: 1px solid var(--gold); border-radius: 8px; background: #fff; max-width: 100%; }
.lz-match-row .lz-verdict { font-size: 14px; font-weight: 600; }
.lz-verdict.ok { color: #1E6B3A; } .lz-verdict.no { color: #9B2C2C; }

/* ---- Watch: animations + clip slots ---- */
.lz-watch-stage {
  background: var(--emerald-deep); border: 2px solid var(--gold); border-radius: 14px;
  padding: 18px; color: var(--gold-soft); margin: 6px 0 12px;
}
.lz-watch-stage h3 { color: #fff; margin: 0 0 4px; font-family: Georgia, serif; font-weight: normal; }
.lz-watch-stage .lz-watch-sub { font-size: 14px; margin: 0 0 12px; }
.lz-anim-canvas { background: #0A4633; border-radius: 10px; padding: 14px; }
.lz-anim-caption { min-height: 3.2em; font-size: 15.5px; line-height: 1.5; margin-top: 12px; }
.lz-anim-controls { display: flex; gap: 10px; align-items: center; margin-top: 10px; }
.lz-anim-controls button {
  font: inherit; cursor: pointer; background: var(--gold); color: var(--emerald-deep);
  border: none; border-radius: 999px; padding: 8px 18px; font-weight: 700;
}
.lz-anim-progress { flex: 1; height: 8px; background: #175442; border-radius: 99px; overflow: hidden; }
.lz-anim-progress > div { height: 100%; background: var(--gold); width: 0%; transition: width .5s linear; }
/* photothermolysis scene */
.lz-scene { position: relative; }
.lz-scene .lz-thermo { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 12px; }
.lz-thermo-box { flex: 1 1 180px; background: #06281F; border: 1px solid var(--gold); border-radius: 10px; padding: 10px 12px; font-size: 14px; }
.lz-thermo-bar { height: 10px; background: #175442; border-radius: 99px; overflow: hidden; margin-top: 6px; }
.lz-thermo-bar > div { height: 100%; width: 8%; background: linear-gradient(90deg, #E8D9B0, #E4572E); transition: width 1.2s ease; }
.lz-thermo-mark { font-size: 12px; color: var(--gold-soft); }
/* appointment phases */
.lz-phases { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.lz-phase { background: #06281F; border: 2px solid #175442; border-radius: 12px; padding: 12px 14px; font-size: 14.5px; opacity: .55; transition: opacity .4s, border-color .4s; }
.lz-phase strong { display: block; color: #fff; margin-bottom: 4px; }
.lz-phase.active { opacity: 1; border-color: var(--gold); }

.lz-clip-slot {
  border: 2px dashed var(--gold); border-radius: 14px; background: #FFFDF6;
  padding: 22px; text-align: center; margin: 6px 0 12px;
}
.lz-clip-slot .play-ring {
  width: 64px; height: 64px; margin: 0 auto 10px; border-radius: 50%;
  border: 2px solid var(--gold); color: var(--gold-deep); font-size: 24px;
  display: flex; align-items: center; justify-content: center; background: var(--ivory);
}
.lz-clip-slot h3 { font-family: Georgia, serif; color: var(--emerald); font-weight: normal; margin: 0 0 6px; }
.lz-clip-slot p { font-size: 14.5px; color: var(--muted, #40584F); max-width: 560px; margin: 6px auto; line-height: 1.55; }
.lz-clip-slot .lz-clip-tag { display: inline-block; background: var(--gold); color: var(--emerald-deep); font-size: 12.5px; font-weight: 700; border-radius: 999px; padding: 3px 12px; letter-spacing: .03em; }

/* ---- key points card ---- */
.lz-keypoints { background: var(--ivory); border: 1.5px solid var(--gold); border-radius: 12px; padding: 18px 22px; margin: 22px 0 6px; }
.lz-bridge { font-size: 15.5px; margin-top: 16px; }

/* ---- exam ---- */
.lz-exam-q { background: #fff; border: 1px solid #E9D9A6; border-radius: 12px; padding: 16px 18px; margin: 14px 0; }
.lz-exam-q legend, .lz-exam-q .lz-q-text { font-weight: 600; color: var(--emerald); font-size: 16px; margin-bottom: 10px; }
.lz-exam-q label { display: block; font-size: 15px; padding: 7px 10px; border-radius: 8px; cursor: pointer; }
.lz-exam-q label:hover { background: var(--ivory); }
.lz-exam-q input[type="radio"] { margin-right: 9px; accent-color: var(--emerald); }
.lz-result-pass { border: 2px solid var(--gold); background: #EDF3EC; border-radius: 12px; padding: 20px 22px; }
.lz-result-fail { border: 2px solid #9B2C2C; background: #FBF1F1; border-radius: 12px; padding: 20px 22px; }

/* ---- course page (public, direct-URL only) ---- */
.lz-hero { background: var(--emerald); color: var(--gold-soft); border-radius: 16px; padding: 30px 28px; margin-bottom: 22px; }
.lz-hero h1 { color: #fff; margin: 0 0 8px; }
.lz-hero .lz-honest { background: transparent; color: var(--gold-soft); }
.lz-price { font-size: 21px; color: #fff; font-weight: 700; }
.lz-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin: 16px 0; }
.lz-step-card { background: #FFF9E9; border: 1px solid var(--gold); border-radius: 14px; padding: 16px; }
.lz-step-card .lz-step-num { width: 34px; height: 34px; border-radius: 50%; background: var(--gold); color: var(--emerald-deep); font-weight: 800; display: flex; align-items: center; justify-content: center; margin-bottom: 8px; }
.lz-step-card strong { color: var(--emerald); display: block; margin-bottom: 4px; }
.lz-step-card p { margin: 0; font-size: 14.5px; line-height: 1.5; }

/* payband on platform pages (the standard block's own styles, scoped) */
.lz-payband { background: var(--emerald); border-radius: 16px; padding: 28px 18px; text-align: center; margin: 22px 0; }
.lz-payband h2 { color: #F3EFE4; font-size: 26px; margin-bottom: 18px; }
.lz-payband .payband-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: 18px 22px; max-width: 74rem; margin-inline: auto; }
.lz-payband a.payband-item { display: flex; flex-direction: column; align-items: center; text-decoration: none; color: #F3EFE4; border-radius: 18px; }
.lz-payband .payband-chip { background: #fff; border: 1px solid var(--gold); border-radius: 12px; padding: 8px 12px; display: flex; align-items: center; min-height: 56px; }
.lz-payband .payband-chip img { height: 36px; width: auto; max-width: 140px; object-fit: contain; display: block; }
.lz-payband .payband-word { font-family: Georgia, serif; font-size: 1.6rem; font-weight: 600; line-height: 1; letter-spacing: .08em; color: var(--emerald); height: 36px; display: flex; align-items: center; }
.lz-payband .payband-name { display: block; margin-top: 8px; font-size: 14.5px; font-weight: 600; color: #F3EFE4; max-width: 10rem; }
.lz-payband .payband-note { margin: 16px auto 0; font-size: 15px; color: var(--gold-soft); max-width: 40rem; }
.lz-payband .payband-note a { color: var(--gold-soft); }
/* phone: same 3-across chip grid as the standard payband (fix 126) */
@media (max-width: 640px) {
  .lz-payband .payband-row { gap: 18px 11px; }
  .lz-payband a.payband-item { flex: 0 0 calc((100% - 22px) / 3); }
  .lz-payband .payband-chip { width: 100%; min-height: 56px; padding: 8px 6px; justify-content: center; }
  .lz-payband .payband-chip img { height: 30px; max-width: 100%; }
  .lz-payband .payband-word { font-size: 1.3rem; height: 30px; }
  .lz-payband .payband-name { font-size: 13.5px; max-width: 100%; overflow-wrap: break-word; }
}
.lz-pay-open { font-size: 15.5px; margin: 18px 0 0; }

/* --- generator widget additions (spec-schema pass) --- */
.lz-match-why { font-size: 14px; color: #7A4A21; }
.lz-match-fails { margin-top: 12px; border-top: 1px dashed var(--gold); padding-top: 10px; font-size: 14.5px; }
.lz-match-fails p { margin: 6px 0; }
.lz-move-line { display: block; font-size: 13.5px; line-height: 1.45; }
.lz-beam { transition: opacity .6s ease; }
.lz-anim-stage { margin-top: 10px; font-weight: 600; color: var(--gold); font-size: 15px; }
.lz-case { margin: 14px 0; }
/* --- Belle assistant tokens (fix 158) ---
   Belle (assistant.css) is styled with the marketing template's design
   tokens, which the platform template does not define. These are
   style.css's own values, scoped to the widget so nothing else on the
   laser pages changes. --gold / --gold-soft come from platform.css. */
.ce-assistant {
  --emerald-700: #0A4A38;
  --emerald-800: #07402F;
  --emerald-950: #02251C;
  --bg: #04352A;
  --bg-alt: #02251C;
  --surface: rgba(255, 255, 255, 0.045);
  --surface-2: rgba(255, 255, 255, 0.07);
  --text: #F3EFE4;
  --text-muted: rgba(243, 239, 228, 0.74);
  --text-faint: rgba(243, 239, 228, 0.55);
  --text-sm: clamp(0.875rem, 0.84rem + 0.2vw, 0.9375rem);
  --line: rgba(200, 169, 106, 0.28);
  --line-soft: rgba(243, 239, 228, 0.14);
  --accent: var(--gold);
  --accent-strong: var(--gold-soft);
  --btn-text-on-gold: #06281F;
  --font-display: 'Cormorant Garamond', 'Iowan Old Style', Georgia, serif;
  --font-body: 'Switzer', 'Inter', system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --space-3: 0.75rem;
  --space-4: 1rem;
}

/* ---- Watch & Listen: full-length synced visual track (fix 182) ---- */
.wl {
  background: var(--emerald-deep); border: 2px solid var(--gold); border-radius: 14px;
  padding: 18px; color: var(--gold-soft); margin: 6px 0 14px;
}
.wl h3 { color: #fff; margin: 0 0 4px; font-family: Georgia, serif; font-weight: normal; }
.wl .wl-sub { font-size: 14px; margin: 0 0 12px; line-height: 1.55; }
.wl-stage { position: relative; background: #0A4633; border-radius: 10px; min-height: 330px; overflow: hidden; }
.wl-scene {
  position: absolute; inset: 0; padding: 22px 24px; overflow-y: auto;
  opacity: 0; pointer-events: none; transition: opacity .6s ease;
  display: flex; flex-direction: column;
}
.wl-scene.active { opacity: 1; pointer-events: auto; }
.wl-kicker { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.wl-title { font-family: Georgia, serif; font-size: 27px; line-height: 1.25; color: #fff; margin: 0 0 12px; font-weight: normal; }
.wl-kind-title .wl-title { font-size: 31px; }
.wl-beam {
  height: 3px; border-radius: 99px; flex: none;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  background-size: 200% 100%; margin: 2px 0 14px; opacity: .85;
}
.wl-playing .wl-beam { animation: wl-sweep 3.2s linear infinite; }
@keyframes wl-sweep { from { background-position: 200% 0; } to { background-position: -100% 0; } }
.wl-lines { list-style: none; margin: 0; padding: 0; }
.wl-lines li {
  font-size: 16.5px; line-height: 1.5; margin: 0 0 9px; padding-left: 20px;
  position: relative; color: var(--gold-soft);
  opacity: 0; transform: translateY(6px);
  transition: opacity .5s ease, transform .5s ease;
}
.wl-lines li::before { content: '✦'; position: absolute; left: 0; color: var(--gold); font-size: 12px; top: 4px; }
.wl-scene.active .wl-lines li { opacity: 1; transform: none; }
.wl-scene.active .wl-lines li:nth-child(2) { transition-delay: .15s; }
.wl-scene.active .wl-lines li:nth-child(3) { transition-delay: .3s; }
.wl-scene.active .wl-lines li:nth-child(4) { transition-delay: .45s; }
.wl-scene.active .wl-lines li:nth-child(5) { transition-delay: .6s; }
.wl-scene.active .wl-lines li:nth-child(6) { transition-delay: .75s; }
.wl-kind-keyfact { box-shadow: inset 0 0 0 2px rgba(200, 169, 106, .55); border-radius: 10px; }
.wl-kind-keyfact .wl-title { color: var(--gold); }
.wl-kind-keyfact .wl-lines li { font-size: 18.5px; color: #fff; }
.wl-html { background: var(--ivory); border-radius: 10px; padding: 4px 14px; overflow-x: auto; }
.wl-html .lz-table { margin: 8px 0; font-size: 13.5px; }
.wl-html .lz-cards { margin: 10px 0; }
.wl-now { min-height: 1.5em; font-size: 14px; margin: 10px 0 0; }
.wl-controls { display: flex; gap: 10px; align-items: center; margin-top: 8px; }
.wl-play {
  font: inherit; cursor: pointer; background: var(--gold); color: var(--emerald-deep);
  border: none; border-radius: 999px; padding: 9px 20px; font-weight: 700; white-space: nowrap;
}
.wl-play:disabled { opacity: .5; cursor: default; }
.wl-progress { flex: 1; height: 10px; background: #175442; border-radius: 99px; overflow: hidden; cursor: pointer; }
.wl-progress > div { height: 100%; background: var(--gold); width: 0%; }
.wl-time { font-size: 13.5px; white-space: nowrap; }
.wl-note { font-size: 13px; margin: 10px 0 0; opacity: .85; line-height: 1.5; }
.wl-loading { padding: 26px; font-size: 15px; }
@media (max-width: 640px) {
  .wl-stage { min-height: 400px; }
  .wl-scene { padding: 18px; }
  .wl-title { font-size: 22px; }
  .wl-kind-title .wl-title { font-size: 25px; }
  .wl-lines li { font-size: 15px; }
  .wl-kind-keyfact .wl-lines li { font-size: 16.5px; }
  .wl-controls { flex-wrap: wrap; }
}
