/* Lucent design CSS. Template HTML owns structure; this file owns visual treatment. */

:root {
  --bg-frame: #07111f;
  --bg-page: #f7f9fc;
  --bg-page-alt: #eef3f9;
  --surface: #ffffff;
  --surface-tint: #f1f6fc;
  --surface-blue: #e7f0fb;
  --text-primary: #101a2b;
  --text-secondary: #42526a;
  --text-muted: #7b8aa0;
  --line: rgba(44, 70, 108, 0.14);
  --line-strong: rgba(44, 70, 108, 0.28);
  --accent-primary: #315eea;
  --accent-secondary: #6e5df6;
  --accent-cyan: #18a8d8;
  --accent-coral: #f06370;
  --accent-soft: #dbe8ff;
  --shadow-soft: rgba(30, 65, 130, 0.13);
  --font-display: DengXian, "Microsoft YaHei", "PingFang SC", Arial, ui-sans-serif, sans-serif;
  --font-body: DengXian, "Microsoft YaHei", "PingFang SC", Arial, ui-sans-serif, sans-serif;
  --grid-margin-x: 72px;
  --grid-margin-y: 56px;
  --grid-columns: 12;
  --grid-gutter: 24px;
  --grid-safe-top: 56px;
  --grid-safe-bottom: 64px;
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 48px;
  --space-6: 72px;
  --font-size-caption: 16px;
  --font-size-body: 22px;
  --font-size-body-small: 18px;
  --font-size-h3: 31px;
  --font-size-h2: 52px;
  --font-size-hero: 104px;
  --surface-radius: 8px;
  --surface-radius-large: 12px;
}

* { box-sizing: border-box; }
html { scroll-snap-type: y mandatory; overflow-y: scroll; height: 100%; }
body { margin: 0; background: var(--bg-frame, #07111f); color: var(--text-primary, #101a2b); font-family: var(--font-body, Arial, sans-serif); -webkit-font-smoothing: antialiased; }
.slide { min-height: 100dvh; scroll-snap-align: start; display: flex; align-items: center; justify-content: center; overflow: hidden; background: var(--bg-frame, #07111f); }
.slide-canvas { width: 1920px; height: 1080px; flex-shrink: 0; transform-origin: center center; position: relative; overflow: hidden; }
.template-slide .slide-canvas {
  background:
    radial-gradient(circle at 82% 16%, rgba(49, 94, 234, 0.11), transparent 29%),
    linear-gradient(135deg, var(--bg-page), var(--bg-page-alt));
  color: var(--text-primary);
  padding: 72px;
  box-sizing: border-box;
}
.template-frame { width: 100%; height: 100%; display: flex; flex-direction: column; gap: 34px; }
.template-frame--catalog { gap: 26px; }
.template-eyebrow { margin: 0 0 14px; font-size: 16px; text-transform: uppercase; letter-spacing: 0.18em; color: var(--text-muted); font-weight: 700; }
.template-frame header { flex: 0 0 auto; padding-bottom: 8px; overflow: visible; }
.template-title { margin: 0; max-width: 1320px; font-family: var(--font-display); font-size: 62px; line-height: 1.22; color: var(--text-primary); padding-bottom: 6px; overflow: visible; }
.template-body { flex: 1; min-height: 0; }
.template-grid { display: grid; gap: 24px; height: 100%; }
.template-grid.cols-2 { grid-template-columns: 0.95fr 1.05fr; }
.template-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.template-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.template-chart-layout { grid-template-columns: 2fr 1fr; }
.template-card { background: rgba(255,255,255,0.82); border: 1px solid var(--line); border-radius: var(--surface-radius); padding: 28px; box-shadow: 0 18px 44px var(--shadow-soft); }
.template-card h2, .template-card h3 { margin: 0 0 12px; font-size: 28px; line-height: 1.32; padding-bottom: 4px; overflow: visible; }
.template-card p { margin: 10px 0; font-size: 21px; line-height: 1.42; color: var(--text-secondary); }
.template-key-message-panel { display: flex; flex-direction: column; justify-content: flex-start; gap: 24px; padding: 0; background: transparent; border-radius: 0; box-shadow: none; }
.template-key-message-kicker { margin: 0; max-width: 720px; font-size: 32px; line-height: 1.24; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-primary); font-weight: 800; padding-bottom: 6px; overflow: visible; }
.template-key-message-panel p { margin: 0; max-width: 760px; font-size: 25px; line-height: 1.5; color: var(--text-secondary); }
.template-evidence-grid { display: grid; gap: 24px; min-height: 0; }
.template-evidence-card { min-height: 0; }
.template-claim-text-panel { min-height: 0; display: flex; flex-direction: column; justify-content: flex-start; align-items: flex-start; gap: 18px; padding: 0; background: transparent; border: 0; border-radius: 0; box-shadow: none; }
.template-claim-text-title { margin: 0; max-width: 760px; font-size: 31px; line-height: 1.26; color: var(--text-primary); padding-bottom: 4px; overflow: visible; }
.template-claim-text-body { margin: 0; max-width: 760px; font-size: 22px; line-height: 1.48; color: var(--text-secondary); }
.template-claim-text-panel .template-list { margin-top: 4px; }
.template-list { display: grid; gap: 18px; margin: 0; padding: 0; list-style: none; }
.template-list li { position: relative; padding-left: 24px; font-size: 24px; line-height: 1.38; color: var(--text-secondary); }
.template-list li::before { content: ""; position: absolute; left: 0; top: 14px; width: 7px; height: 7px; background: var(--accent-primary); }
.template-hero { margin: 0; max-width: none; justify-content: center; align-items: flex-start; }
.template-hero > [data-template-slot="hero"] { width: 100%; }
.template-hero header { padding-bottom: 0; }
.template-hero-title { font-size: 120px; line-height: 1.18; color: white; font-weight: 800; opacity: 0.8; padding: 12px 0 20px; max-width: 1320px; }
.template-hero .template-eyebrow { color: rgba(255,255,255,0.78); }
.template-hero--cover, .template-hero--section-divider { justify-content: center; align-items: flex-start; }
.template-hero--closing { justify-content: flex-end; align-items: flex-end; }
.template-hero--closing > [data-template-slot="hero"] { display: flex; justify-content: flex-end; text-align: right; }
.template-hero--closing .template-hero-title { max-width: 1120px; }
.template-slide[data-template="agenda"] .template-frame { display: grid; grid-template-rows: 1fr auto; gap: 28px; }
.template-slide[data-template="cover"] .slide-canvas,
.template-slide[data-template="section-divider"] .slide-canvas,
.template-slide[data-template="closing"] .slide-canvas {
  background:
    radial-gradient(circle at 80% 14%, rgba(24,168,216,0.32), transparent 28%),
    linear-gradient(135deg, #07111f, #101a2b 62%, #243a73);
}

.template-slide[data-template="cover"] .slide-canvas {
  background:
    linear-gradient(90deg, rgba(7,17,31,0.82), rgba(7,17,31,0.42) 52%, rgba(7,17,31,0.24)),
    url("./assets/cover-background.jpg") center center / cover no-repeat;
}
.template-slide[data-template="agenda"] .slide-canvas {
  background:
    linear-gradient(90deg, rgba(7,17,31,0.86), rgba(7,17,31,0.58) 52%, rgba(7,17,31,0.32)),
    url("./assets/cover-background.jpg") center center / cover no-repeat;
}
.template-slide[data-template="section-divider"] .slide-canvas {
  background:
    linear-gradient(90deg, rgba(7,17,31,0.86), rgba(16,26,43,0.62) 58%, rgba(36,58,115,0.36)),
    url("./assets/cover-background.jpg") center center / cover no-repeat;
}
.template-slide[data-template="closing"] .slide-canvas { background: linear-gradient(135deg, #07111f, #315eea 58%, #18a8d8); }

.template-slide[data-template="closing"] .slide-canvas {
  background:
    linear-gradient(90deg, rgba(7,17,31,0.82), rgba(49,94,234,0.42) 58%, rgba(24,168,216,0.24)),
    url("./assets/closing-background.jpg") center center / cover no-repeat;
}
.template-agenda-panel { height: 100%; min-height: 0; display: flex; overflow: hidden; color: white; }
.template-agenda-inner { width: 100%; display: grid; grid-template-columns: 37% minmax(0, 1fr); align-items: stretch; gap: 76px; }
.template-agenda-header { display: flex; flex-direction: column; min-height: 0; padding: 10px 0 0; }
.template-agenda-header .template-eyebrow { color: rgba(255,255,255,0.64); }
.template-agenda-header .template-title { max-width: 440px; font-family: var(--font-display); font-size: 54px; line-height: 1.16; letter-spacing: 0; text-transform: uppercase; color: white; padding-bottom: 8px; overflow: visible; }
.template-agenda-footer { margin: auto 0 0; font-family: var(--font-body); font-size: 13px; line-height: 1.4; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 800; color: rgba(255,255,255,0.84); }
.template-agenda-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; justify-content: center; gap: 40px; height: 100%; }
.template-agenda-item { display: grid; grid-template-columns: 86px minmax(0, 1fr); gap: 44px; align-items: center; min-height: 58px; overflow: visible; }
.template-agenda-item span { font-family: var(--font-display); font-size: 44px; line-height: 1; letter-spacing: 0.03em; color: var(--accent-cyan, #18a8d8); font-weight: 800; font-variant-numeric: tabular-nums; }
.template-agenda-item strong { font-family: var(--font-body); font-size: 18px; line-height: 1.45; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 700; color: rgba(255,255,255,0.92); }
.template-metric-layout { height: 100%; min-height: 0; display: grid; gap: 26px; }
.template-metric-layout--insight-top { grid-template-rows: auto minmax(0, 1fr); }
.template-metric-layout--insight-bottom { grid-template-rows: minmax(0, 1fr) auto; }
.template-stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.template-stat-value { display: block; min-height: 96px; font-size: 58px; line-height: 1.42; color: var(--accent-primary); font-weight: 800; margin-bottom: 18px; padding-bottom: 14px; overflow: visible; }
.template-chart-panel { min-height: 520px; display: grid; place-items: center; border: 1px solid var(--line); background: rgba(255,255,255,0.72); }
.template-chart-placeholder { width: 76%; height: 56%; border-left: 2px solid var(--line-strong); border-bottom: 2px solid var(--line-strong); display: flex; align-items: end; gap: 28px; padding: 0 28px 24px; }
.template-visual-slot-panel { width: 100%; min-height: 520px; border: 1px dashed var(--line-strong); border-radius: var(--surface-radius); background: linear-gradient(135deg, rgba(49,94,234,0.08), rgba(24,168,216,0.08)); display: grid; place-items: center; padding: 0; }
.template-visual-slot-label { font-size: 13px; line-height: 1.35; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); font-weight: 800; }
.template-text-panel.template-chart-takeaway-panel { gap: 28px; }
.template-text-panel--plain { background: rgba(255,255,255,0.74); border: 1px solid transparent; box-shadow: none; }
.template-text-panel--clear { background: transparent; border: 0; border-radius: 0; box-shadow: none; padding-left: 0; padding-right: 0; }
.template-text-panel--color { background: linear-gradient(135deg, #5f82c8 0%, var(--accent-primary) 58%, #18a8d8 115%); color: white; box-shadow: 0 22px 56px rgba(49,94,234,0.24); }
.template-text-panel--color .template-text-panel-title { color: white; }
.template-text-panel--color .template-text-panel-body { color: rgba(255,255,255,0.78); }
.template-text-panel-quote { margin: 2px 0 0; font-size: 22px; line-height: 1.44; font-style: italic; color: var(--text-secondary); }
.template-text-panel--color .template-text-panel-quote { color: rgba(255,255,255,0.82); }
.template-text-panel-formula { margin: 0; width: 100%; display: grid; gap: 8px; color: var(--text-primary); }
.template-text-panel--color .template-text-panel-formula { color: white; }
.template-text-panel-formula .katex-display { margin: 0; overflow: visible; }
.template-text-panel-formula .katex { font-size: 1.08em; color: inherit; }
.template-text-panel-formula-fallback { display: block; white-space: normal; overflow-wrap: anywhere; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.82em; line-height: 1.35; color: inherit; }
.template-text-panel-formula-caption { margin: 0; font-size: 14px; line-height: 1.35; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); }
.template-text-panel--color .template-text-panel-formula-caption { color: rgba(255,255,255,0.72); }
.text-panel-quote { margin: 0; font-style: italic; line-height: 1.46; color: var(--text-secondary); }
.text-panel-formula { margin: 0; display: grid; gap: 8px; color: var(--text-primary); }
.text-panel-formula .katex-display { margin: 0; overflow: visible; }
.text-panel-formula .katex { color: inherit; }
.text-panel-formula-fallback { display: block; white-space: normal; overflow-wrap: anywhere; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.82em; line-height: 1.35; color: inherit; }
.text-panel-formula-caption { margin: 0; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); }
.template-chart-takeaway-list { display: grid; gap: 22px; width: 100%; }
.template-chart-takeaway-item { display: grid; gap: 7px; padding-top: 18px; border-top: 1px solid var(--line); }
.template-text-panel--color .template-chart-takeaway-item { border-top-color: rgba(255,255,255,0.24); }
.template-chart-takeaway-item:first-child { padding-top: 0; border-top: 0; }
.template-chart-takeaway-item h3 { margin: 0; font-size: 25px; line-height: 1.24; color: var(--text-primary); }
.template-text-panel--color .template-chart-takeaway-item h3 { color: white; }
.template-chart-takeaway-item p { margin: 0; font-size: 20px; line-height: 1.46; color: var(--text-secondary); }
.template-text-panel--color .template-chart-takeaway-item p { color: rgba(255,255,255,0.78); }
.template-bar { flex: 1; background: linear-gradient(180deg, var(--accent-primary), var(--accent-cyan)); min-height: 80px; }
.template-table-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 34px; height: 100%; align-items: stretch; }
.template-table-layout .template-side-panel { grid-column: 1; grid-row: 1; }
.template-table-region { grid-column: 2; grid-row: 1; min-width: 0; min-height: 0; height: 100%; }
.template-table-region .template-table-wrap { height: 100%; }
.template-table-wrap { display: grid; grid-template-rows: minmax(0, auto) auto; gap: 22px; height: 100%; align-content: start; }
.template-table { width: 100%; border-collapse: collapse; background: rgba(255,255,255,0.86); box-shadow: 0 18px 44px var(--shadow-soft); }
.template-table th, .template-table td { padding: 22px 24px; border-bottom: 1px solid var(--line); text-align: left; font-size: 21px; }
.template-table th { color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.12em; font-size: 15px; }
.template-text-panel { min-height: 0; display: flex; flex-direction: column; justify-content: flex-start; align-items: flex-start; gap: 20px; border-radius: var(--surface-radius); padding: 42px; }
.template-text-panel-title { margin: 0; font-size: 34px; line-height: 1.28; color: var(--text-primary); padding-bottom: 4px; overflow: visible; }
.template-text-panel-body { margin: 0; font-size: 23px; line-height: 1.52; color: var(--text-secondary); }
.template-side-panel { align-self: stretch; }
.template-side-panel-title { margin: 0; }
.template-side-panel-body { margin: 0; }
.template-insight-panel { display: grid; gap: 10px; background: rgba(255,255,255,0.88); border: 1px solid var(--line); border-radius: var(--surface-radius); padding: 22px 24px; box-shadow: 0 14px 34px var(--shadow-soft); }
.template-insight-title { margin: 0; display: flex; align-items: center; gap: 12px; font-size: 24px; line-height: 1.24; color: var(--text-primary); }
.template-insight-icon { width: 24px; height: 24px; color: var(--accent-primary); stroke-width: 2.2; flex: 0 0 auto; }
.template-insight-body { margin: 0; font-size: 20px; line-height: 1.42; color: var(--text-secondary); }
.template-metric-layout .template-insight-panel { border: 0; box-shadow: none; background: rgba(255,255,255,0.74); padding: 24px 28px; }
.template-metric-layout .template-insight-title { font-size: 18px; line-height: 1.22; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-muted); }
.template-metric-layout .template-insight-icon { width: 20px; height: 20px; }
.template-metric-layout .template-insight-body { font-size: 24px; line-height: 1.42; color: var(--text-primary); }
.template-timeline { position: relative; height: 100%; display: grid; align-items: center; }
.template-timeline-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 34px; height: 100%; align-items: stretch; }
.template-timeline-layout--left { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
.template-timeline-layout--left .template-side-panel { grid-column: 1; grid-row: 1; }
.template-timeline-layout--left .template-timeline { grid-column: 2; grid-row: 1; }
.template-timeline-layout--right { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.template-timeline-layout--right .template-timeline { grid-column: 1; grid-row: 1; }
.template-timeline-layout--right .template-side-panel { grid-column: 2; grid-row: 1; }
.template-timeline-layout .template-text-panel--color { background: linear-gradient(135deg, #7a7fe8 0%, #5f82c8 58%, #315eea 115%); color: white; box-shadow: 0 22px 56px rgba(49,94,234,0.22); }
.template-timeline--horizontal { grid-template-columns: repeat(var(--timeline-count), 1fr); column-gap: 18px; align-items: stretch; --timeline-axis-y: 86%; }
.template-timeline--horizontal::before { content: ""; position: absolute; left: 4%; right: 4%; top: var(--timeline-axis-y); border-top: 2px solid var(--line-strong); transform: translateY(-1px); }
.template-timeline-item { position: relative; min-height: 400px; display: grid; justify-items: center; align-items: center; }
.template-timeline--horizontal .template-timeline-item { grid-template-rows: minmax(0, 1fr) 42px 86px; align-items: stretch; }
.template-timeline-dot { z-index: 2; width: 22px; height: 22px; border-radius: 999px; background: var(--accent-primary); box-shadow: 0 0 0 8px rgba(49,94,234,0.12); }
.template-timeline-copy { z-index: 2; width: 86%; padding: 18px 4px; background: transparent; border: 0; box-shadow: none; }
.template-timeline--horizontal .template-timeline-copy.template-card { width: 94%; height: calc(100% - 55px); min-height: 254px; align-self: end; justify-self: center; display: flex; flex-direction: column; justify-content: flex-start; padding: 28px 24px 24px; margin-bottom: 22px; }
.template-timeline--horizontal .template-timeline-item--highlight .template-timeline-copy.template-card { height: calc(100% - 22px); min-height: 254px; }
.template-timeline--horizontal .template-insight-icon { width: 28px; height: 28px; margin: 0 auto 28px; color: var(--accent-primary); stroke-width: 2; flex: 0 0 auto; }
.template-timeline--horizontal .template-timeline-item--highlight .template-insight-icon { color: #f37021; }
.template-timeline--horizontal .template-timeline-item--highlight .template-timeline-copy h3 { color: #f37021; }
.template-timeline--horizontal .template-timeline-dot { grid-row: 2; align-self: center; justify-self: center; }
.template-timeline--horizontal .template-timeline-date { grid-row: 3; align-self: start; justify-self: center; margin: 8px 0 0; font-size: 38px; line-height: 1; font-weight: 300; letter-spacing: 0.03em; color: var(--text-muted); }
.template-timeline-date { margin: 0 0 8px; font-size: 15px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--accent-primary); font-weight: 800; }
.template-timeline-copy h3 { margin: 0 0 8px; font-size: 27px; line-height: 1.28; padding-bottom: 4px; overflow: visible; }
.template-timeline-copy p:last-child { margin: 0; font-size: 19px; color: var(--text-secondary); }
.template-timeline--vertical { grid-template-columns: 1fr; align-items: stretch; padding: 18px 0; }
.template-timeline--vertical::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; border-left: 2px solid var(--line-strong); }
.template-timeline--vertical .template-timeline-item { min-height: 128px; grid-template-columns: 1fr 56px 1fr; justify-items: stretch; }
.template-timeline--vertical .template-timeline-dot { grid-column: 2; grid-row: 1; justify-self: center; align-self: center; }
.template-timeline--vertical .template-timeline-copy { grid-row: 1; width: auto; align-self: center; background: transparent; border: 0; box-shadow: none; }
.template-timeline--vertical .template-timeline-item:nth-child(odd) .template-timeline-copy { grid-column: 1; text-align: right; align-self: center; }
.template-timeline--vertical .template-timeline-item:nth-child(even) .template-timeline-copy { grid-column: 3; text-align: left; align-self: center; }
.template-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.template-step-number { font-size: 48px; color: var(--accent-primary); font-weight: 800; margin-bottom: 30px; }
.template-team-grid { height: 100%; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.template-team-card { min-width: 0; min-height: 0; display: grid; grid-template-rows: 330px minmax(0, 1fr); overflow: hidden; background: rgba(255,255,255,0.86); border: 1px solid var(--line); border-radius: var(--surface-radius); box-shadow: 0 18px 44px var(--shadow-soft); }
.template-team-photo { margin: 0; width: 100%; height: 100%; overflow: hidden; background: linear-gradient(135deg, var(--accent-soft), rgba(24,168,216,0.16)); display: grid; place-items: center; }
.template-team-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.template-team-photo span { font-family: var(--font-display); font-size: 72px; line-height: 1; color: var(--accent-primary); font-weight: 800; }
.template-team-copy { min-height: 0; display: flex; flex-direction: column; gap: 12px; padding: 26px; }
.template-team-name { margin: 0; font-size: 30px; line-height: 1.18; color: var(--text-primary); padding-bottom: 3px; overflow: visible; }
.template-team-role { margin: 0; font-size: 15px; line-height: 1.35; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-primary); font-weight: 800; }
.template-team-highlights { margin: 4px 0 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.template-team-highlights li { position: relative; padding-left: 18px; font-size: 17px; line-height: 1.36; color: var(--text-secondary); }
.template-team-highlights li::before { content: ""; position: absolute; left: 0; top: 9px; width: 6px; height: 6px; background: var(--accent-primary); border-radius: 999px; }
.template-team-education { margin: auto 0 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.35; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); font-weight: 800; }
.template-free-stage { height: 100%; display: grid; grid-template-columns: minmax(0, 1fr); }
.template-free-placeholder { min-width: 0; min-height: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 16px; padding: 42px; border: 1px dashed var(--line-strong); border-radius: var(--surface-radius); background: linear-gradient(135deg, rgba(49,94,234,0.06), rgba(24,168,216,0.07)); overflow: hidden; }
.template-free-placeholder-label { align-self: flex-start; font-size: 13px; line-height: 1; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-primary); font-weight: 800; }
.template-free-placeholder h2 { margin: 0; font-size: 38px; line-height: 1.18; color: var(--text-primary); padding-bottom: 4px; overflow: visible; }
.template-free-placeholder p { margin: 0; max-width: 980px; font-size: 23px; line-height: 1.42; color: var(--text-secondary); }
.template-free-placeholder-hints { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.template-free-placeholder-hint { display: inline-flex; align-items: center; min-height: 32px; padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; line-height: 1; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); font-weight: 800; background: rgba(255,255,255,0.58); }
.template-image-card { width: 100%; margin: 18px 0 0; display: grid; gap: 8px; }
.template-image-frame { width: 100%; height: 128px; border-radius: var(--surface-radius); overflow: hidden; background: var(--surface-tint, #f1f6fc); border: 1px solid var(--line); }
.template-image-frame img { display: block; width: 100%; height: 100%; object-fit: cover; }
.template-image-caption { margin: 0; font-size: 13px; line-height: 1.35; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; }
.template-visual-placeholder { width: 100%; margin: 18px 0 0; display: grid; gap: 8px; }
.template-visual-placeholder-frame { width: 100%; height: 148px; border-radius: var(--surface-radius); border: 1px dashed var(--line-strong); background: linear-gradient(135deg, rgba(49,94,234,0.08), rgba(24,168,216,0.08)); display: grid; place-items: center; }
.template-visual-placeholder-label { font-size: 13px; line-height: 1.35; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); font-weight: 800; }
.template-page-number { position: absolute; right: 72px; bottom: 52px; font-size: 15px; color: var(--text-muted); letter-spacing: 0.18em; }
.template-catalog-panel { flex: 0 0 auto; margin-top: auto; background: rgba(255,255,255,0.9); border: 1px solid var(--line); border-radius: var(--surface-radius); box-shadow: 0 18px 44px var(--shadow-soft); padding: 16px 22px; color: var(--text-primary); }
.template-hero .template-catalog-panel { background: rgba(247,249,252,0.92); }
.template-catalog-kicker { margin: 0 0 4px; font-size: 12px; text-transform: uppercase; letter-spacing: 0.16em; color: var(--accent-primary); font-weight: 800; }
.template-catalog-title { margin: 0 0 10px; font-size: 20px; line-height: 1.28; font-weight: 800; }
.template-catalog-grid { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 16px; }
.template-catalog-section { min-width: 0; }
.template-catalog-section h3 { margin: 0 0 6px; font-size: 13px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--text-muted); }
.template-catalog-section p { margin: 0; font-size: 15px; line-height: 1.36; color: var(--text-secondary); }
.template-catalog-list { margin: 0; padding-left: 16px; display: grid; gap: 2px; }
.template-catalog-list li { font-size: 14px; line-height: 1.3; color: var(--text-secondary); }
.template-frame--catalog .template-title { font-size: 52px; line-height: 1.18; }
.template-slide[data-template="agenda"] .template-frame--catalog .template-title { font-size: 54px; line-height: 1.04; }
.template-frame--catalog .template-card { padding: 22px; }
.template-frame--catalog .template-card h2,
.template-frame--catalog .template-card h3 { font-size: 24px; line-height: 1.22; margin-bottom: 8px; }
.template-frame--catalog .template-card p { font-size: 18px; line-height: 1.32; }
.template-frame--catalog .template-key-message-panel { gap: 16px; }
.template-frame--catalog .template-key-message-kicker { font-size: 23px; line-height: 1.2; }
.template-frame--catalog .template-key-message-panel p { font-size: 19px; line-height: 1.42; }
.template-frame--catalog .template-claim-text-panel { gap: 12px; }
.template-frame--catalog .template-claim-text-title { font-size: 24px; line-height: 1.24; }
.template-frame--catalog .template-claim-text-body { font-size: 18px; line-height: 1.36; }
.template-frame--catalog .template-evidence-grid { gap: 18px; }
.template-frame--catalog .template-list { gap: 12px; }
.template-frame--catalog .template-list li { font-size: 20px; line-height: 1.28; }
.template-frame--catalog .template-metric-layout { gap: 18px; }
.template-frame--catalog .template-metric-layout .template-card { padding: 20px; }
.template-frame--catalog .template-metric-layout .template-stat-value { min-height: 70px; font-size: 48px; line-height: 1.24; margin-bottom: 10px; padding-bottom: 8px; }
.template-frame--catalog .template-metric-layout .template-insight-panel { padding: 18px 22px; gap: 7px; }
.template-frame--catalog .template-metric-layout .template-insight-title { font-size: 13px; line-height: 1.22; }
.template-frame--catalog .template-metric-layout .template-insight-icon { width: 16px; height: 16px; }
.template-frame--catalog .template-metric-layout .template-insight-body { font-size: 19px; line-height: 1.34; }
.template-frame--catalog .template-chart-panel { min-height: 360px; }
.template-frame--catalog .template-visual-slot-panel { min-height: 360px; }
.template-frame--catalog .template-visual-slot-label { font-size: 11px; }
.template-frame--catalog .template-chart-takeaway-panel { padding: 24px; gap: 16px; }
.template-frame--catalog .template-chart-takeaway-list { gap: 13px; }
.template-frame--catalog .template-chart-takeaway-item { gap: 4px; padding-top: 11px; }
.template-frame--catalog .template-chart-takeaway-item h3 { font-size: 19px; line-height: 1.2; }
.template-frame--catalog .template-chart-takeaway-item p { font-size: 15px; line-height: 1.3; }
.template-frame--catalog .template-table-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 22px; }
.template-frame--catalog .template-table-layout .template-text-panel { padding: 22px; gap: 10px; }
.template-frame--catalog .template-table-layout .template-text-panel-title { font-size: 25px; line-height: 1.3; }
.template-frame--catalog .template-table-layout .template-text-panel-body { font-size: 18px; line-height: 1.4; }
.template-frame--catalog .template-table-wrap { gap: 16px; }
.template-frame--catalog .template-table th,
.template-frame--catalog .template-table td { padding: 14px 18px; font-size: 17px; line-height: 1.32; }
.template-frame--catalog .template-table th { font-size: 12px; }
.template-frame--catalog .template-insight-panel { padding: 16px 18px; gap: 6px; }
.template-frame--catalog .template-insight-title { font-size: 20px; line-height: 1.2; }
.template-frame--catalog .template-insight-icon { width: 20px; height: 20px; }
.template-frame--catalog .template-insight-body { font-size: 16px; line-height: 1.32; }
.template-frame--catalog .template-timeline--vertical { padding: 6px 0; }
.template-frame--catalog .template-timeline--vertical .template-timeline-item { min-height: 96px; }
.template-frame--catalog .template-timeline-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 22px; }
.template-frame--catalog .template-timeline-layout--left { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
.template-frame--catalog .template-timeline-layout--right { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.template-frame--catalog .template-timeline-layout .template-text-panel { padding: 22px; gap: 10px; }
.template-frame--catalog .template-timeline-layout .template-text-panel-title { font-size: 25px; line-height: 1.3; }
.template-frame--catalog .template-timeline-layout .template-text-panel-body { font-size: 18px; line-height: 1.4; }
.template-frame--catalog .template-timeline--horizontal .template-timeline-item { grid-template-rows: minmax(0, 1fr) 32px 58px; min-height: 330px; }
.template-frame--catalog .template-timeline--horizontal .template-timeline-copy.template-card { height: calc(100% - 51px); min-height: 178px; padding: 20px 18px 18px; margin-bottom: 18px; }
.template-frame--catalog .template-timeline--horizontal .template-timeline-item--highlight .template-timeline-copy.template-card { height: calc(100% - 18px); min-height: 178px; }
.template-frame--catalog .template-timeline--horizontal .template-insight-icon { width: 22px; height: 22px; margin-bottom: 18px; }
.template-frame--catalog .template-timeline--horizontal .template-timeline-date { font-size: 28px; }
.template-frame--catalog .template-timeline-copy { padding: 8px 4px; }
.template-frame--catalog .template-timeline-copy h3 { font-size: 21px; line-height: 1.18; margin-bottom: 4px; }
.template-frame--catalog .template-timeline-date { font-size: 12px; margin-bottom: 4px; }
.template-frame--catalog .template-timeline-copy p:last-child { font-size: 15px; line-height: 1.24; }
.template-frame--catalog .template-steps { gap: 16px; }
.template-frame--catalog .template-step-number { font-size: 40px; margin-bottom: 20px; }
.template-frame--catalog .template-team-grid { gap: 16px; }
.template-frame--catalog .template-team-card { grid-template-rows: 230px minmax(0, 1fr); }
.template-frame--catalog .template-team-copy { padding: 18px; gap: 8px; }
.template-frame--catalog .template-team-name { font-size: 22px; line-height: 1.14; }
.template-frame--catalog .template-team-role { font-size: 11px; line-height: 1.25; }
.template-frame--catalog .template-team-highlights { gap: 6px; }
.template-frame--catalog .template-team-highlights li { font-size: 13px; line-height: 1.25; padding-left: 14px; }
.template-frame--catalog .template-team-highlights li::before { top: 7px; width: 5px; height: 5px; }
.template-frame--catalog .template-team-education { font-size: 10px; line-height: 1.25; padding-top: 9px; }
.template-frame--catalog .template-free-placeholder { padding: 28px; gap: 10px; }
.template-frame--catalog .template-free-placeholder-label { font-size: 10px; }
.template-frame--catalog .template-free-placeholder h2 { font-size: 28px; line-height: 1.16; }
.template-frame--catalog .template-free-placeholder p { font-size: 17px; line-height: 1.3; }
.template-frame--catalog .template-free-placeholder-hint { min-height: 26px; padding: 6px 9px; font-size: 10px; }
.template-frame--catalog .template-image-frame { height: 86px; }
.template-frame--catalog .template-image-caption { font-size: 11px; }
.template-frame--catalog .template-visual-placeholder-frame { height: 110px; }
.template-frame--catalog .template-visual-placeholder-label { font-size: 11px; }


/* Lucent Dark overrides. Structure stays owned by page templates; this file only skins DOM classes. */
:root {
  --bg-frame: #020815;
  --bg-page: #07111f;
  --bg-page-alt: #0d1730;
  --surface: #101b31;
  --surface-tint: #15233c;
  --surface-blue: #17294a;
  --text-primary: #f6f9ff;
  --text-secondary: #c7d3e8;
  --text-muted: #8ea2c3;
  --line: rgba(178, 201, 255, 0.14);
  --line-strong: rgba(178, 201, 255, 0.28);
  --accent-primary: #75a7ff;
  --accent-secondary: #9a8cff;
  --accent-cyan: #35d6f2;
  --accent-coral: #ff7a98;
  --accent-soft: rgba(117, 167, 255, 0.18);
  --shadow-soft: rgba(0, 0, 0, 0.34);
}
body { background: var(--bg-frame); color: var(--text-primary); }
.template-slide .slide-canvas {
  background:
    radial-gradient(circle at 82% 16%, rgba(117, 167, 255, 0.18), transparent 29%),
    radial-gradient(circle at 12% 84%, rgba(53, 214, 242, 0.11), transparent 28%),
    linear-gradient(135deg, var(--bg-page), var(--bg-page-alt));
  color: var(--text-primary);
}
.template-card,
.template-table,
.template-insight-panel,
.template-catalog-panel,
.template-team-card {
  background: rgba(12, 22, 40, 0.82);
  border-color: var(--line);
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.34);
}
.template-team-photo { background: linear-gradient(135deg, rgba(117,167,255,0.18), rgba(53,214,242,0.12)); }
.template-team-photo img { filter: saturate(0.9) contrast(1.08) brightness(0.86); }
.template-free-placeholder { background: linear-gradient(135deg, rgba(117,167,255,0.12), rgba(53,214,242,0.06)), rgba(12, 22, 40, 0.7); border-color: var(--line-strong); }
.template-free-placeholder-hint { background: rgba(16, 27, 49, 0.82); }
.template-card h2,
.template-card h3,
.template-title,
.template-claim-text-title,
.template-text-panel-title,
.template-insight-title,
.template-catalog-title,
.template-table td,
.template-table th {
  color: var(--text-primary);
}
.template-card p,
.template-list li,
.template-key-message-panel p,
.template-claim-text-body,
.template-text-panel-body,
.template-insight-body,
.template-catalog-section p,
.template-catalog-list li,
.template-timeline-copy p:last-child {
  color: var(--text-secondary);
}
.template-eyebrow,
.template-catalog-section h3,
.template-visual-slot-label,
.template-visual-placeholder-label,
.template-page-number,
.template-image-caption {
  color: var(--text-muted);
}
.template-text-panel--plain,
.template-metric-layout .template-insight-panel {
  background: rgba(13, 25, 47, 0.78);
  border: 1px solid var(--line);
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.28);
}
.template-text-panel--clear {
  background: transparent;
  border: 0;
  box-shadow: none;
}
.template-key-message-panel,
.template-claim-text-panel {
  background: transparent;
  border: 0;
  box-shadow: none;
}
.template-visual-slot-panel,
.template-visual-placeholder-frame,
.template-image-frame,
.template-chart-panel {
  background: linear-gradient(135deg, rgba(117, 167, 255, 0.13), rgba(53, 214, 242, 0.08));
  border-color: var(--line-strong);
}
.template-table th,
.template-table td,
.template-chart-takeaway-item {
  border-color: var(--line);
}
.template-stat-value,
.template-step-number,
.template-timeline-date,
.template-key-message-kicker,
.template-catalog-kicker {
  color: var(--accent-primary);
}
.template-timeline-dot {
  background: var(--accent-primary);
  box-shadow: 0 0 0 8px rgba(117, 167, 255, 0.16);
}
.template-timeline--horizontal::before,
.template-timeline--vertical::before {
  border-color: var(--line-strong);
}
.template-text-panel--color,
.template-timeline-layout .template-text-panel--color {
  background: linear-gradient(135deg, #6f73e8 0%, #4d78d7 52%, #0ba4cf 115%);
  color: white;
  box-shadow: 0 24px 66px rgba(35, 83, 190, 0.32);
}
.template-text-panel--color .template-text-panel-title,
.template-text-panel--color .template-chart-takeaway-item h3,
.template-timeline-layout .template-text-panel--color .template-text-panel-title {
  color: white;
}
.template-text-panel--color .template-chart-takeaway-item p,
.template-timeline-layout .template-text-panel--color .template-text-panel-body {
  color: rgba(255, 255, 255, 0.78);
}
.template-slide[data-template="cover"] .slide-canvas,
.template-slide[data-template="agenda"] .slide-canvas,
.template-slide[data-template="section-divider"] .slide-canvas {
  background:
    linear-gradient(90deg, rgba(2,8,21,0.9), rgba(2,8,21,0.62) 52%, rgba(2,8,21,0.36)),
    url("./assets/cover-background.jpg") center center / cover no-repeat;
}
.template-slide[data-template="closing"] .slide-canvas {
  background:
    linear-gradient(90deg, rgba(2,8,21,0.86), rgba(49,94,234,0.42) 58%, rgba(24,168,216,0.24)),
    url("./assets/closing-background.jpg") center center / cover no-repeat;
}
