/* 직접 만드는 AI 챗봇 · 웹 슬라이드
   레이아웃: 1920×1080 무대를 화면에 맞춰 축소. 크림 바탕 + 네이비 글자, Part별 강조색.
   색과 크기는 아래 :root 값만 바꾸면 전체에 반영됩니다. */
:root {
  --cream: #F3EDE6;
  --cream2: #E9E1D5;
  --paper: #FBFAF7;
  --navy: #0F1B3D;
  --navy2: #3A4766;
  --night: #0A1020;
  --green: #12B07A;
  --green-d: #4BE3A6;
  --blue: #2F6BFF;
  --purple: #7C5CFF;
  --red: #EF4B4B;
  --amber: #F5A524;
  --line: rgba(15, 27, 61, 0.12);
  --font: "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", system-ui, sans-serif;
  --mono: "JetBrains Mono", "SF Mono", Menlo, Consolas, "D2Coding", monospace;
  --serif: "Hahmlet", "AppleMyungjo", "Batang", serif;
  --big: "Anton", Impact, "Arial Narrow", var(--font);
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: var(--night); overflow: hidden; }
body { font-family: var(--font); color: var(--navy); -webkit-font-smoothing: antialiased; }

/* 무대 */
#viewport { position: fixed; inset: 0; }
#stage {
  position: absolute; left: 50%; top: 50%;
  width: 1920px; height: 1080px;
  transform: translate(-50%, -50%) scale(0.5);
  transform-origin: center center;
  overflow: hidden; background: var(--cream);
}

/* 슬라이드 공통 */
.slide {
  position: absolute; inset: 0;
  padding: 96px 120px 120px;
  display: flex; flex-direction: column;
  background: var(--cream); color: var(--navy);
  opacity: 0; visibility: hidden;
  transition: opacity .45s ease, visibility 0s linear .45s;
  word-break: keep-all; overflow-wrap: anywhere;
}
.slide.active { opacity: 1; visibility: visible; transition: opacity .45s ease; }
.slide.dark { background: var(--navy); color: #fff; }
.slide.night { background: var(--night); color: #fff; }
.slide .notes { display: none; }

/* Part 색 */
.p0 { --pc: var(--blue); }
.p1 { --pc: var(--green); }
.p2 { --pc: var(--blue); }
.p3 { --pc: var(--purple); }
.p4 { --pc: var(--green); }
.dark.p1, .dark.p4, .night.p1, .night.p4 { --pc: var(--green-d); }
.dark.p2, .night.p2, .dark.p0, .night.p0 { --pc: #8FB0FF; }
.dark.p3, .night.p3 { --pc: #B9A6FF; }

/* 글자 */
.kicker { font-size: 26px; font-weight: 800; letter-spacing: .08em; color: var(--pc); display: flex; align-items: center; gap: 14px; }
.kicker::before { content: ""; width: 44px; height: 6px; border-radius: 3px; background: var(--pc); }
.h1 { font-size: 120px; line-height: 1.1; font-weight: 900; letter-spacing: -0.04em; margin: 28px 0 0; }
.h2 { font-size: 72px; line-height: 1.15; font-weight: 900; letter-spacing: -0.035em; margin: 14px 0 0; }
.lead { font-size: 38px; line-height: 1.42; color: var(--navy2); margin: 12px 0 0; letter-spacing: -0.02em; }
.dark .lead, .night .lead { color: rgba(255, 255, 255, .78); }
.hl { color: var(--pc); }
.mark { background: linear-gradient(transparent 62%, rgba(18, 176, 122, .28) 62%); }
.dark .mark { background: linear-gradient(transparent 62%, rgba(75, 227, 166, .3) 62%); }
.small { font-size: 28px; color: var(--navy2); }
.dark .small { color: rgba(255,255,255,.7); }
code, .code { font-family: var(--mono); font-size: .86em; background: rgba(15, 27, 61, .07); padding: 2px 10px; border-radius: 8px; }
.dark code { background: rgba(255, 255, 255, .12); }
b, strong { font-weight: 800; }

/* 본문 영역 */
.body { flex: 1; min-height: 0; margin-top: 34px; display: flex; flex-direction: column; gap: 28px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.grid5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; }
.split { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: center; flex: 1; min-height: 0; }
.split.wide-right { grid-template-columns: 0.85fr 1.25fr; }
.split.wide-left { grid-template-columns: 1.3fr 0.8fr; }
.split > * { min-width: 0; }
.center { display: grid; place-items: center; flex: 1; }

/* 카드 */
.card {
  background: var(--paper); border: 2px solid rgba(15, 27, 61, .07); border-radius: 26px;
  padding: 34px 36px; box-shadow: 0 18px 36px -24px rgba(15, 27, 61, .45);
  display: flex; flex-direction: column; gap: 12px; min-width: 0;
}
.card h3 { margin: 0; font-size: 44px; line-height: 1.2; letter-spacing: -0.03em; }
.card p { margin: 0; font-size: 34px; line-height: 1.45; color: var(--navy2); }
.card .q { font-size: 28px; font-weight: 700; color: var(--pc); letter-spacing: .02em; }
.card .key { font-family: var(--mono); font-size: 28px; color: var(--navy2); }
.card.accent { border-color: var(--pc); box-shadow: 0 0 0 4px color-mix(in srgb, var(--pc) 18%, transparent), 0 18px 36px -24px rgba(15, 27, 61, .45); }
.card.tint { background: color-mix(in srgb, var(--pc) 10%, var(--paper)); }
.dark .card { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .12); box-shadow: none; color: #fff; }
.dark .card p { color: rgba(255, 255, 255, .78); }
.bignum { font-family: var(--big); font-size: 110px; line-height: .9; color: var(--pc); letter-spacing: -0.01em; }

/* 칩·상태 */
.chips { display: flex; flex-wrap: wrap; gap: 14px; }
.chip { font-size: 30px; padding: 10px 22px; border-radius: 999px; background: var(--cream2); font-weight: 700; }
.chip.pc { background: var(--pc); color: #fff; }
.dark .chip { background: rgba(255, 255, 255, .12); color: #fff; }
.ok { color: var(--green); font-weight: 900; }
.no { color: var(--red); font-weight: 900; }
.dark .ok { color: var(--green-d); }

/* 안내 상자 */
.note { border-radius: 22px; padding: 24px 32px; font-size: 34px; line-height: 1.45; background: var(--cream2); }
.note.warn { background: rgba(245, 165, 36, .16); border-left: 10px solid var(--amber); }
.note.bad { background: rgba(239, 75, 75, .1); border-left: 10px solid var(--red); }
.note.good { background: rgba(18, 176, 122, .12); border-left: 10px solid var(--green); }
.note b:first-child { margin-right: 6px; }
.dark .note { background: rgba(255, 255, 255, .08); }

/* 단계 목록 */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; counter-reset: st; }
.steps > li { counter-increment: st; position: relative; padding-left: 88px; min-height: 64px; font-size: 38px; line-height: 1.4; padding-top: 4px; }
.steps > li::before {
  content: counter(st); position: absolute; left: 0; top: 0; width: 64px; height: 64px; border-radius: 50%;
  background: var(--pc); color: #fff; font-weight: 900; font-size: 32px;
  display: grid; place-items: center;
}
.steps > li small { display: block; font-size: 29px; color: var(--navy2); margin-top: 4px; line-height: 1.4; }
.dark .steps > li small { color: rgba(255,255,255,.7); }
.steps.tight > li { font-size: 35px; }
.steps.tight { gap: 16px; }

/* 체크 목록 */
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.checks li { font-size: 35px; line-height: 1.4; position: relative; padding-left: 62px; min-height: 46px; padding-top: 2px; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 46px; height: 46px; border-radius: 12px; background: color-mix(in srgb, var(--pc) 16%, transparent); color: var(--pc); font-weight: 900; display: grid; place-items: center; font-size: 28px; }

/* 스크린샷 */
.shot { margin: 0; background: var(--paper); border-radius: 24px; padding: 14px; box-shadow: 0 22px 44px -26px rgba(15, 27, 61, .55); display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.shot img { display: block; width: 100%; height: auto; border-radius: 12px; cursor: zoom-in; }
.split .shot img, .body > .shot img { max-height: 540px; object-fit: contain; }
.shot figcaption { font-size: 27px; color: var(--navy2); padding: 0 8px 4px; line-height: 1.4; }
.shots { display: flex; flex-direction: column; gap: 22px; align-items: stretch; min-height: 0; }
.shotrow { display: grid; gap: 26px; align-items: start; }
.swap { display: grid; align-items: start; }
.swap > * { grid-area: 1 / 1; transition: opacity .45s ease; }
.swap > *:has(~ .on) { opacity: 0; }
.steps > li.hl::before, .steps > li[data-hl]:not(.hl) { }
.steps > li[data-hl]:not(.hl) { opacity: .45; }

/* 코드 창 */
.win { background: var(--navy); border-radius: 24px; overflow: hidden; box-shadow: 0 22px 44px -26px rgba(15, 27, 61, .6); min-width: 0; }
.dark .win { background: #16244D; }
.win .bar { height: 50px; display: flex; align-items: center; gap: 10px; padding: 0 22px; background: rgba(255, 255, 255, .06); }
.win .bar i { width: 15px; height: 15px; border-radius: 50%; background: #EF4B4B; display: block; }
.win .bar i:nth-child(2) { background: #F5A524; } .win .bar i:nth-child(3) { background: #12B07A; }
.win .bar span { margin-left: 12px; font-family: var(--mono); font-size: 22px; color: rgba(255, 255, 255, .6); }
.win pre { margin: 0; padding: 24px 34px 30px; font-family: var(--font); font-size: 30px; line-height: 1.45; color: #E9EEF9; white-space: pre-wrap; word-break: keep-all; }
.win pre.mono { font-family: var(--mono); font-size: 29px; }
.win .c1 { color: #4BE3A6; } .win .c2 { color: #8FB0FF; } .win .c3 { color: #B9A6FF; } .win .c4 { color: #FFC35A; }
.win .dim { color: rgba(233, 238, 249, .5); }
.win .del { color: #FF8B8B; text-decoration: line-through; }
.win .add { color: #4BE3A6; }
.win pre.typing::after { content: "▍"; color: #4BE3A6; animation: caret 1s steps(1) infinite; margin-left: 2px; }
@keyframes caret { 50% { opacity: 0; } }

/* 흐름 */
.flow { display: flex; align-items: stretch; gap: 0; }
.flow .node { flex: 1; }
.flow .arr { width: 74px; display: grid; place-items: center; font-size: 46px; color: var(--pc); font-weight: 900; flex: none; }

/* 표 */
.tbl { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 33px; line-height: 1.4; }
.tbl th { text-align: left; font-size: 25px; letter-spacing: .06em; color: var(--navy2); padding: 12px 20px; border-bottom: 3px solid var(--navy); }
.tbl td { padding: 18px 20px; border-bottom: 1.5px solid var(--line); vertical-align: top; }
.tbl td:first-child { font-weight: 800; }
.tbl tr.hl td { background: color-mix(in srgb, var(--pc) 12%, transparent); }
.dark .tbl th { color: rgba(255,255,255,.7); border-color: #fff; }
.dark .tbl td { border-color: rgba(255,255,255,.15); }

/* 대화 말풍선 */
.chat { display: flex; flex-direction: column; gap: 18px; }
.bub { max-width: 90%; padding: 20px 26px; border-radius: 26px; font-size: 33px; line-height: 1.45; }
.bub.me { align-self: flex-end; background: var(--blue); color: #fff; border-bottom-right-radius: 8px; }
.bub.bot { align-self: flex-start; background: var(--paper); border: 2px solid rgba(15,27,61,.08); border-bottom-left-radius: 8px; }
.bub.bot.bad { border: 3px dashed var(--red); }
.bub.bot.good { border: 3px solid var(--green); }
.verdict { font-size: 31px; font-weight: 800; }
.verdict.bad { color: var(--red); } .verdict.good { color: var(--green); }
.colhead { font-size: 32px; font-weight: 900; padding: 10px 22px; border-radius: 14px; display: inline-block; align-self: flex-start; }
.colhead.bad { background: rgba(239, 75, 75, .14); color: #C42C2C; }
.colhead.good { background: rgba(18, 176, 122, .14); color: #0B7D56; }

/* 질문 화면 */
.quiz { font-size: 82px; line-height: 1.2; font-weight: 900; letter-spacing: -0.035em; margin: 34px 0 0; }
.opts { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 54px; }
.opt { border: 3px solid rgba(255, 255, 255, .22); border-radius: 24px; padding: 26px 34px; font-size: 42px; line-height: 1.35; display: flex; gap: 22px; align-items: baseline; transition: background .4s, color .4s, border-color .4s, opacity .4s; }
.opt .k { font-family: var(--big); font-size: 44px; color: var(--pc); }
.opts.dim-others.hl-on .opt:not(.hl) { opacity: .45; }
.opt.hl { background: var(--pc); border-color: var(--pc); color: var(--navy); }
.opt.hl .k { color: var(--navy); }
.answer { margin-top: 34px; font-size: 40px; line-height: 1.45; color: rgba(255, 255, 255, .85); }

/* 표지·전환 */
.cover-grid { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 70px; align-items: center; flex: 1; }
.sub { font-size: 40px; line-height: 1.45; color: var(--navy2); margin-top: 34px; }
.partno { font-family: var(--big); font-size: 300px; line-height: .85; color: var(--pc); letter-spacing: -0.01em; }
.part-title { font-size: 92px; font-weight: 900; line-height: 1.15; letter-spacing: -0.04em; margin-top: 30px; }
.part-line { width: 100%; height: 6px; margin-top: 60px; }
.part-line line { stroke: var(--pc); stroke-width: 6; stroke-linecap: round; stroke-dasharray: 1700; stroke-dashoffset: 1700; }
.slide.active .part-line line { animation: draw 1.1s ease .2s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* 목차 */
.toc-list { display: grid; gap: 26px; margin-top: 50px; }
.toc-item { display: grid; grid-template-columns: 150px 12px 1fr auto; gap: 34px; align-items: center; }
.toc-item .n { font-family: var(--big); font-size: 92px; line-height: 1; color: var(--pc); }
.toc-item .bar { width: 12px; height: 100px; border-radius: 6px; background: var(--pc); }
.toc-item h3 { margin: 0; font-size: 46px; letter-spacing: -0.03em; }
.toc-item p { margin: 6px 0 0; font-size: 31px; color: var(--navy2); }
.toc-item .t { font-size: 32px; font-weight: 800; color: var(--navy2); }

/* 시간표 */
.timeline { display: flex; height: 120px; border-radius: 20px; overflow: hidden; margin-top: 70px; }
.timeline > div { display: flex; flex-direction: column; justify-content: center; padding: 0 22px; color: #fff; font-size: 31px; font-weight: 800; line-height: 1.25; min-width: 0; }
.timeline > div small { font-size: 22px; font-weight: 600; opacity: .9; }
.ticks { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 24px; color: var(--navy2); margin-top: 14px; }

/* 구조도 */
.arch { display: grid; grid-template-columns: 1fr 230px 1fr 230px 1fr; align-items: center; }
.arch .card { min-height: 300px; justify-content: center; }
.arch .zone { font-size: 27px; font-weight: 800; letter-spacing: .04em; color: var(--navy2); }
.arch .pipe { display: grid; gap: 34px; padding: 0 16px; }
.arch .pipe div { font-size: 29px; font-weight: 800; line-height: 1.3; text-align: center; }
.arch .pipe .go { color: var(--blue); } .arch .pipe .back { color: var(--green); }
.arch .pipe .go::after { content: "⟶"; display: block; font-size: 52px; line-height: .8; }
.arch .pipe .back::before { content: "⟵"; display: block; font-size: 52px; line-height: .8; }
.keybox { border: 3px dashed var(--amber); background: rgba(245, 165, 36, .1); }

/* 공개 단계 */
[data-step] { opacity: 0; transform: translateY(26px); transition: opacity .5s ease, transform .5s ease; }
[data-step].on { opacity: 1; transform: none; }

/* 장 들어올 때 */
.slide.active .a { animation: rise .6s ease both; animation-delay: calc(var(--i, 0) * .1s); }
@keyframes rise { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }

/* 하단 막대 */
#bar { position: absolute; left: 120px; right: 120px; bottom: 34px; height: 40px; display: flex; align-items: center; gap: 24px; font-size: 21px; color: var(--navy2); z-index: 5; pointer-events: none; }
#bar .part { font-weight: 800; letter-spacing: .04em; white-space: nowrap; }
#bar .track { flex: 1; height: 4px; border-radius: 2px; background: rgba(15, 27, 61, .12); overflow: hidden; }
#bar .fill { height: 100%; width: 0; background: var(--navy); transition: width .4s ease; }
#bar .num { font-family: var(--mono); white-space: nowrap; }
#stage.on-dark #bar { color: rgba(255, 255, 255, .7); }
#stage.on-dark #bar .track { background: rgba(255, 255, 255, .2); }
#stage.on-dark #bar .fill { background: #fff; }

/* 보조 화면 (실제 화면 크기 기준) */
.overlay { position: fixed; inset: 0; z-index: 20; display: none; }
.overlay.open { display: block; }
/* 목차: 왼쪽에서 나오는 서랍 (웹 교재의 목차처럼 Part별로) */
#toc { display: block; right: auto; width: min(420px, 90vw); z-index: 21; background: #10182E; color: #fff; overflow: auto; padding: 26px 18px 40px; font-family: var(--font);
  transform: translateX(-102%); visibility: hidden; transition: transform .28s ease, visibility 0s linear .28s; box-shadow: 12px 0 40px rgba(0,0,0,.35); }
#toc.open { transform: none; visibility: visible; transition: transform .28s ease; }
#toc .top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 0 8px 14px; border-bottom: 1px solid rgba(255,255,255,.12); margin-bottom: 14px; }
#toc .top b { font-size: 19px; letter-spacing: -.01em; }
#toc .top span { font-size: 13px; color: rgba(255,255,255,.55); }
#toc .grp { margin-bottom: 14px; }
#toc .grp > button.ph { width: 100%; display: flex; justify-content: space-between; gap: 8px; font-size: 13px; font-weight: 800; letter-spacing: .04em; color: #8FB0FF; background: none; border: 0; padding: 6px 8px; }
#toc .grp > button.ph .rg { font-family: var(--mono); font-weight: 600; color: rgba(255,255,255,.4); }
#toc .grp ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
#toc .grp ol button { width: 100%; display: grid; grid-template-columns: 34px 1fr; gap: 6px; align-items: baseline; font-size: 15px; line-height: 1.4; color: rgba(255,255,255,.88); background: none; border: 0; border-left: 3px solid transparent; border-radius: 0 8px 8px 0; padding: 7px 10px 7px 8px; }
#toc button { text-align: left; font-family: inherit; cursor: pointer; }
#toc .grp ol button b { font-family: var(--mono); font-size: 13px; font-weight: 600; color: rgba(255,255,255,.45); }
#toc .grp.here > button.ph { color: #4BE3A6; }
#toc .grp ol button:hover { background: rgba(143,176,255,.14); }
#toc button:focus-visible { outline: 2px solid #8FB0FF; outline-offset: -2px; }
#toc .grp ol button.cur { background: rgba(75,227,166,.14); border-left-color: #4BE3A6; color: #fff; font-weight: 700; }
#toc .grp ol button.cur b { color: #4BE3A6; }
#tocShade { position: fixed; inset: 0; z-index: 20; background: rgba(6,10,22,.35); opacity: 0; pointer-events: none; transition: opacity .28s ease; }
#tocShade.open { opacity: 1; pointer-events: auto; }
#tocBtn { position: fixed; top: 16px; left: 16px; z-index: 16; display: flex; align-items: center; gap: 8px; height: 46px; padding: 0 16px 0 13px; border: 0; border-radius: 23px;
  background: rgba(15, 27, 61, .72); color: #fff; font: 700 15px var(--font); cursor: pointer; box-shadow: 0 8px 24px rgba(0,0,0,.22);
  opacity: 0; pointer-events: none; transform: translateY(-6px); transition: opacity .25s ease, transform .25s ease, background .2s ease; }
#tocBtn svg { width: 20px; height: 20px; }
#tocBtn.show { opacity: 1; pointer-events: auto; transform: none; }
#tocBtn:hover { background: rgba(47, 107, 255, .9); }
#tocBtn:focus-visible { opacity: 1; pointer-events: auto; transform: none; outline: 3px solid #8FB0FF; outline-offset: 3px; }
#notes { top: auto; height: 36vh; background: #FBFAF7; color: var(--navy); border-top: 4px solid var(--blue); padding: 18px 28px; overflow: auto; font-size: 17px; line-height: 1.6; box-shadow: 0 -10px 30px rgba(0,0,0,.3); }
#notes h4 { margin: 0 0 6px; font-size: 15px; letter-spacing: .04em; color: var(--navy2); }
#notes .body { margin: 0; display: block; }
#notes p { margin: 0 0 8px; }
#black { background: #000; z-index: 30; }
#zoom { background: rgba(10, 16, 32, .92); z-index: 25; cursor: zoom-out; }
#zoom img { position: absolute; inset: 3vh 3vw; margin: auto; max-width: 94vw; max-height: 94vh; object-fit: contain; border-radius: 10px; background: #fff; }
#help { background: rgba(10, 16, 32, .95); color: #fff; padding: 40px; font-size: 17px; line-height: 1.8; z-index: 22; }
#help kbd { font-family: var(--mono); background: rgba(255,255,255,.12); padding: 2px 8px; border-radius: 6px; margin-right: 6px; }


/* 양쪽 끝 이전·다음 버튼 (실제 화면 크기 기준) */
.edge-btn {
  position: fixed; top: 50%; z-index: 15; width: 64px; height: 64px; margin-top: -32px;
  border: 0; border-radius: 50%; background: rgba(15, 27, 61, .62); color: #fff;
  display: grid; place-items: center; cursor: pointer; padding: 0;
  opacity: 0; pointer-events: none; transition: opacity .25s ease, background .2s ease, transform .25s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
}
.edge-btn svg { width: 30px; height: 30px; }
.edge-btn.left { left: 18px; transform: translateX(-8px); }
.edge-btn.right { right: 18px; transform: translateX(8px); }
.edge-btn.show { opacity: 1; pointer-events: auto; transform: none; }
.edge-btn:hover { background: rgba(47, 107, 255, .9); }
.edge-btn:focus-visible { outline: 3px solid #8FB0FF; outline-offset: 3px; opacity: 1; pointer-events: auto; }
#stage { cursor: pointer; }
#stage .shot img { cursor: zoom-in; }

/* 움직임 줄이기 */
@media (prefers-reduced-motion: reduce) {
  .slide, [data-step], .opt, #bar .fill, .edge-btn, #toc, #tocShade, #tocBtn { transition: none !important; }
  .slide.active .a { animation: none !important; }
  [data-step] { transform: none; }
  .slide.active .part-line line { animation: none; stroke-dashoffset: 0; }
}

/* 인쇄: 장마다 한 페이지, 모든 공개 내용 표시 */
@media print {
  @page { size: 1920px 1080px; margin: 0; }
  html, body { background: #fff; overflow: visible; height: auto; }
  #viewport { position: static; }
  #stage { position: static; transform: none !important; width: 1920px; height: auto; overflow: visible; background: none; }
  .slide { position: relative; inset: auto; width: 1920px; height: 1080px; opacity: 1 !important; visibility: visible !important; break-after: page; page-break-after: always; transition: none; }
  .slide .a { animation: none !important; }
  [data-step] { opacity: 1 !important; transform: none !important; }
  .part-line line { stroke-dashoffset: 0 !important; animation: none !important; }
  #bar, .overlay, .edge-btn, #tocBtn, #tocShade { display: none !important; }
  .shot img { cursor: auto; }
  .swap { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .swap > * { grid-area: auto; opacity: 1 !important; }
  .steps > li[data-hl] { opacity: 1 !important; }
}

/* 꾸미기 장: 꾸민 챗봇 미리보기 (실제 템플릿과 같은 규칙) */
.deco-pv { --b: #f59e0b; --ob: #1c1f24; border-radius: 28px; overflow: hidden; background: #fff; box-shadow: 0 24px 60px rgba(15, 27, 61, .16); border: 2px solid rgba(15, 27, 61, .08); color: #1c1f24; }
.dp-head { display: flex; align-items: center; gap: 18px; padding: 22px 26px; background: var(--b); color: var(--ob); }
.dp-head b { display: block; font-size: 36px; }
.dp-head small { display: block; font-size: 24px; opacity: .85; margin-top: 4px; }
.dp-av { flex: none; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-size: 32px; background: #eef0f4; line-height: 1; }
.dp-head .dp-av { width: 72px; height: 72px; font-size: 42px; background: rgba(255,255,255,.9); }
.dp-log { display: flex; flex-direction: column; gap: 18px; padding: 28px 26px; background: color-mix(in srgb, var(--b) 7%, #fff); min-height: 340px; }
.dp-row { display: flex; align-items: flex-end; gap: 12px; align-self: flex-start; max-width: 94%; }
.dp-msg { padding: 16px 22px; border-radius: 24px; font-size: 30px; line-height: 1.4; }
.dp-msg.bot { background: #eef0f4; border-bottom-left-radius: 8px; }
.dp-msg.user { align-self: flex-end; background: var(--b); color: var(--ob); border-bottom-right-radius: 8px; max-width: 86%; }
.dp-form { display: flex; gap: 14px; padding: 20px 26px; border-top: 2px solid #e3e6eb; font-size: 26px; }
.dp-form span { flex: 1; border: 2px solid #e3e6eb; border-radius: 16px; padding: 12px 18px; color: #9aa1ad; }
.dp-form b { background: var(--b); color: var(--ob); border-radius: 16px; padding: 12px 22px; }

/* 참고 정보 입력 장: 공고 카드의 칸 */
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
.fields span { font-size: 29px; font-weight: 700; padding: 10px 20px; border-radius: 14px; background: var(--cream2); border: 2px solid rgba(15, 27, 61, .08); }
.fields span.w { grid-column: span 2; padding-bottom: 22px; }
.fields span.hl2 { background: #FFF1CC; border-color: #F0B400; }
