/* AI Workshop Kit — mayai.kr 과 같은 디자인 언어 (Pretendard · 남색 · 파랑 · 청록, 가는 선)
   수강생 · 슬라이드: mayai.kr 본문처럼 각진 면과 가는 선 / 강사: admin.mayai.kr 처럼 어두운 사이드바 + 둥근 카드 */
@font-face { font-family: "Pretendard"; src: url("fonts/PretendardVariable.woff2") format("woff2"); font-weight: 45 920; font-display: swap; }
:root {
  --night: #050D1C; --navy: #0A1830; --ink: #0B1628; --text: #46526B; --muted: #7B869D;
  --line: #E3E7EE; --line-2: #EEF1F6; --stone: #F3F5F9; --blue: #1F57E7; --cyan: #35C6DA; --on-dark: #A9B4C8;
  --orange: #B45309; --orange-bg: #FFF7E6; --ok: #067647; --bad: #B42318;
  --shadow: 0 1px 2px rgba(16,24,40,.04), 0 4px 14px rgba(16,24,40,.05);
  --sans: "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  --mono: Consolas, "D2Coding", ui-monospace, monospace;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); color: var(--text); background: var(--stone); font-size: 15px; line-height: 1.65; word-break: keep-all; -webkit-font-smoothing: antialiased; }
a { color: var(--blue); }
h1, h2, h3 { margin: 0; color: var(--ink); letter-spacing: -.035em; }
[hidden] { display: none !important; }
.muted { color: var(--muted); }
.err { color: var(--bad); font-weight: 600; font-size: 14px; margin: 10px 0 0; }
.err:empty { display: none; }
.link { background: none; border: 0; color: inherit; font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }

/* mayai.kr 라벨: 앞에 짧은 선 */
.label { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; font-size: 12.5px; font-weight: 700; letter-spacing: .22em; color: var(--blue); }
.label::before { content: ""; width: 28px; height: 1.5px; background: currentColor; }
.mark { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; flex: none; background: linear-gradient(135deg, #1F57E7, #1C98E6 55%, #22CBD6); box-shadow: 0 6px 16px rgba(31,87,231,.35), inset 0 1px 0 rgba(255,255,255,.25); }
.mark svg { width: 15px; height: 15px; }

/* 단추 (mayai.kr: 각진 면) */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font: inherit; font-size: 15px; font-weight: 700; padding: 13px 22px; border: 1px solid #CDD4E0; background: #fff; color: var(--ink); cursor: pointer; transition: background .2s, border-color .2s, color .2s; white-space: nowrap; }
.btn svg { width: 18px; height: 18px; transition: transform .25s; }
.btn:hover svg { transform: translateX(4px); }
.btn:hover:not(:disabled) { border-color: var(--ink); }
.btn:disabled { opacity: .45; cursor: default; }
.btn-ink { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-ink:hover:not(:disabled) { background: #13274A; border-color: #13274A; }
.btn-blue { background: var(--blue); border-color: var(--blue); color: #fff; }
.btn-blue:hover:not(:disabled) { background: #1846C2; border-color: #1846C2; }
.btn-block { width: 100%; }
.btn-sm { font-size: 13px; padding: 8px 14px; }
.btn-danger { color: var(--bad); border-color: #F5C6C0; }
.btn-danger:hover:not(:disabled) { border-color: var(--bad); background: #FEF3F2; }
.btn-copy { font: inherit; font-size: 12.5px; font-weight: 700; padding: 6px 12px; border: 1px solid #C9D4F5; background: #fff; color: var(--blue); cursor: pointer; }
.btn-copy:hover { background: #EEF3FE; }

/* 입력 (mayai.kr 상담 신청과 같은 칸) */
.fld { display: grid; gap: 7px; margin: 0 0 18px; font-size: 13.5px; font-weight: 700; color: var(--ink); }
.fld > span small { font-weight: 500; color: var(--muted); margin-left: 4px; }
.fld input, .fld textarea, .fld select { font: inherit; font-size: 15.5px; font-weight: 500; color: var(--ink); background: #FAFBFD; border: 1px solid var(--line); padding: 13px 14px; width: 100%; min-width: 0; border-radius: 0; transition: border-color .2s, background .2s, box-shadow .2s; }
.fld textarea { resize: vertical; min-height: 110px; line-height: 1.65; }
.fld input::placeholder, .fld textarea::placeholder { color: #A5AEC0; }
.fld input:hover, .fld textarea:hover, .fld select:hover { border-color: #C9D2E3; }
.fld input:focus, .fld textarea:focus, .fld select:focus { outline: 0; background: #fff; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(31,87,231,.12); }
.agree { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; line-height: 1.6; margin: 4px 0 18px; padding: 14px 16px; background: var(--stone); cursor: pointer; }
.agree input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--blue); flex: none; }
.hint { font-size: 13px; color: var(--muted); margin: 16px 0 0; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); max-width: calc(100% - 32px); background: var(--ink); color: #fff; padding: 13px 20px; font-size: 14px; box-shadow: 0 16px 40px rgba(5,13,28,.35); z-index: 60; }

/* ── 입구 (수강생 들어오기 · 강사 로그인): mayai.kr 상담 신청 창 모양 ── */
.gate { min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; padding: 80px 16px 40px; position: relative;
  background: radial-gradient(1100px 600px at 85% -10%, rgba(31,87,231,.45), transparent 60%), radial-gradient(800px 500px at -10% 110%, rgba(53,198,218,.18), transparent 60%), var(--night); }
.gate-logo { position: absolute; top: 22px; left: 26px; display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-size: 19px; font-weight: 800; letter-spacing: .04em; }
.gate-shell { width: min(100%, 940px); display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); background: #fff; box-shadow: 0 40px 100px rgba(3,10,25,.5); }
.gate-side { position: relative; overflow: hidden; color: #fff; padding: 46px 40px 38px; display: flex; flex-direction: column; background: radial-gradient(120% 90% at 100% 0%, #1C4FBF 0%, #0C2253 45%, #050D1C 100%); }
.gate-side::after { content: ""; position: absolute; right: -70px; bottom: -90px; width: 280px; height: 280px; border-radius: 50%; background: radial-gradient(circle, rgba(53,198,218,.35), transparent 65%); pointer-events: none; }
.gate-side .label { color: var(--cyan); }
.gate-side h1 { color: #fff; font-size: 36px; line-height: 1.25; font-weight: 750; letter-spacing: -.045em; }
.gate-lede { margin: 16px 0 0; color: #C7D2E6; font-size: 15px; }
.gate-steps { list-style: none; margin: 30px 0 0; padding: 0; position: relative; z-index: 1; }
.gate-steps li { display: flex; gap: 16px; padding: 14px 0; border-top: 1px solid rgba(255,255,255,.12); }
.gate-steps li:last-child { border-bottom: 1px solid rgba(255,255,255,.12); }
.gate-steps b { font-size: 12px; letter-spacing: .14em; color: var(--cyan); padding-top: 3px; }
.gate-steps strong { display: block; color: #fff; font-size: 15px; }
.gate-steps span { display: block; font-size: 13px; color: #A9B7D0; }
.gate-foot { margin: auto 0 0; padding-top: 26px; font-size: 13px; color: #C7D2E6; position: relative; z-index: 1; }
.gate-main { padding: 46px 44px 36px; display: flex; flex-direction: column; justify-content: center; }
.gate-center { justify-content: center; }
.hint-top { margin: 0 0 16px; color: var(--muted); }
.code-in { font-family: var(--mono) !important; font-size: 26px !important; font-weight: 800 !important; letter-spacing: .32em; text-transform: uppercase; text-align: center; padding: 16px 14px !important; }
.code-in::placeholder { letter-spacing: 0; font-family: var(--sans); font-size: 16px; font-weight: 500; }
.host-link { margin: 22px 0 0; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }
@media (max-width: 760px) {
  .gate { padding-top: 70px; place-items: start center; }
  .gate-shell { grid-template-columns: minmax(0, 1fr); }
  .gate-side { padding: 30px 24px 26px; }
  .gate-side h1 { font-size: 28px; }
  .gate-steps, .gate-foot { display: none; }
  .gate-main { padding: 28px 22px 26px; }
}

/* ── 참여 중 (수강생) ── */
.room { min-height: 100vh; }
.room-top { position: sticky; top: 0; z-index: 10; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; padding: 10px 22px; background: var(--night); color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.06); }
.room-id { display: flex; align-items: center; gap: 12px; min-width: 0; }
.room-id b { display: block; color: #fff; font-size: 15px; }
.room-id span { display: block; font-size: 12.5px; color: var(--on-dark); }
.room-nav { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.room-nav #pos { font-size: 13.5px; font-weight: 700; color: #fff; font-variant-numeric: tabular-nums; min-width: 52px; text-align: center; }
.nb { display: inline-grid; place-items: center; height: 34px; min-width: 34px; padding: 0 10px; font: inherit; font-size: 13px; font-weight: 700; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16); color: #fff; cursor: pointer; }
.nb svg { width: 16px; height: 16px; }
.nb:hover:not(:disabled) { background: rgba(255,255,255,.12); }
.nb:disabled { opacity: .35; cursor: default; }
.btn-follow.on { background: rgba(53,198,218,.16); border-color: rgba(53,198,218,.55); color: #BDF3FA; }
.room-me { display: flex; align-items: center; gap: 10px; margin-left: 8px; padding-left: 12px; border-left: 1px solid rgba(255,255,255,.16); font-size: 13px; color: var(--on-dark); }
.room-main { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; padding: 26px 22px 40px; max-width: 1440px; margin: 0 auto; }
.has-work .room-main { grid-template-columns: minmax(0, 1.3fr) minmax(330px, .7fr); align-items: start; }
.stage { min-width: 0; }
.work { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--blue); padding: 24px 22px; position: sticky; top: 76px; box-shadow: 0 18px 40px rgba(11,22,40,.06); }
.work h3 { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 18px; margin-bottom: 18px; }
.work h3 span { font-size: 12px; font-weight: 700; padding: 3px 10px; background: var(--stone); color: var(--muted); }
.work h3 span.done { background: #ECFDF3; color: var(--ok); }
.work .btn { width: 100%; background: var(--ink); color: #fff; border-color: var(--ink); }
@media (max-width: 960px) { .has-work .room-main { grid-template-columns: minmax(0, 1fr); } .work { position: static; } .room-me { margin-left: 0; padding-left: 0; border-left: 0; } }

/* ── 슬라이드 (mayai.kr 본문 모양) ── */
.sl { position: relative; background: #fff; border: 1px solid var(--line); padding: clamp(26px, 3.6vw, 52px); min-height: 440px; }
.sl::before { content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 3px; background: var(--blue); }
.sl h2 { font-size: clamp(24px, 2.6vw, 36px); margin: 0 0 26px; line-height: 1.3; letter-spacing: -.04em; }
.sl-kicker { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; font-size: 12.5px; font-weight: 700; letter-spacing: .12em; color: var(--blue); }
.sl-kicker::before { content: ""; width: 24px; height: 1.5px; background: currentColor; }
.sl b { color: var(--ink); }
.sl-dark { border: 0; color: #fff; display: flex; flex-direction: column; justify-content: center; overflow: hidden;
  background: radial-gradient(900px 420px at 90% 0%, rgba(31,87,231,.5), transparent 60%), radial-gradient(600px 360px at 0% 120%, rgba(53,198,218,.22), transparent 60%), var(--night); }
.sl-dark::before { display: none; }
.sl-dark h1 { color: #fff; font-size: clamp(32px, 4.4vw, 58px); line-height: 1.18; font-weight: 750; letter-spacing: -.045em; }
.sl-dark .sl-sub { color: #C9D4E8; font-size: clamp(16px, 1.7vw, 22px); margin: 20px 0 0; max-width: 34em; }
.sl-dark .sl-meta { color: var(--on-dark); font-size: 14px; margin: 34px 0 0; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.14); }
.sl-brand { display: flex; align-items: center; gap: 12px; color: var(--cyan); font-weight: 700; letter-spacing: .22em; font-size: 13px; margin: 0 0 22px; }
.sl-brand::before { content: ""; width: 28px; height: 1.5px; background: currentColor; }
.sl-no { color: var(--cyan); font-weight: 300; font-size: clamp(56px, 7vw, 96px); margin: 0 0 6px; line-height: 1; letter-spacing: -.04em; }
.sl-big { text-align: center; align-items: center; }
.sl-ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.sl-ul li { position: relative; padding: 16px 0 16px 26px; border-bottom: 1px solid var(--line); font-size: clamp(16px, 1.6vw, 21px); }
.sl-ul li::before { content: ""; position: absolute; left: 2px; top: 1.45em; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); }
.sl-note { margin: 26px 0 0; padding: 15px 18px; border-left: 3px solid var(--blue); background: #F4F7FE; color: #1A3A8F; font-size: 15.5px; }
.sl-tw { overflow-x: auto; }
.sl-tb { width: 100%; border-collapse: collapse; font-size: clamp(14px, 1.35vw, 17.5px); border-top: 2px solid var(--ink); }
.sl-tb th { text-align: left; padding: 12px 14px; font-size: .86em; letter-spacing: .02em; color: var(--muted); border-bottom: 1px solid var(--line); }
.sl-tb td { padding: 14px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--text); }
.sl-cmp { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--ink); }
.sl-col { padding: 22px 26px 6px; font-size: clamp(14.5px, 1.4vw, 17.5px); line-height: 1.85; }
.sl-col + .sl-col { border-left: 1px solid var(--line); }
.sl-col h3 { color: var(--c); font-size: clamp(17px, 1.7vw, 21px); margin-bottom: 12px; }
.sl-code { position: relative; background: var(--stone); border-left: 3px solid var(--ink); padding: 22px 24px; }
.sl-code pre, .sl-mat pre { margin: 0; white-space: pre-wrap; font-family: var(--sans); font-size: 15.5px; color: #1F2A44; line-height: 1.7; }
.sl-code .btn-copy { position: absolute; top: 14px; right: 14px; }
.sl-badge { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; font-size: 12.5px; font-weight: 800; letter-spacing: .06em; color: var(--orange); }
.sl-badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #F59E0B; box-shadow: 0 0 0 4px rgba(245,158,11,.18); }
.sl-practice::before { background: #F59E0B; }
.sl-steps { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.sl-steps li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; align-items: baseline; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: clamp(15.5px, 1.55vw, 20px); }
.sl-steps li > span { font-size: 13px; font-weight: 800; letter-spacing: .1em; color: var(--blue); }
.sl-steps li > span::before { content: "0"; }
.sl-tip { margin: 22px 0 0; padding: 14px 18px; background: var(--orange-bg); border-left: 3px solid #F59E0B; color: #7A3E06; font-size: 15px; }
.sl-mat { margin-top: 22px; border: 1px solid var(--line); background: #FAFBFD; padding: 16px 20px 18px; }
.sl-mat-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--line); font-size: 14px; }
@media (max-width: 640px) { .sl-cmp { grid-template-columns: minmax(0, 1fr); } .sl-col + .sl-col { border-left: 0; border-top: 1px solid var(--line); } .sl { min-height: 0; } }

/* 보강 슬라이드: 큰 숫자 · 막대 · 2×2 · 흐름 · 전후 비교 · 사례 */
.sl-src { margin: 14px 0 0; font-size: 12.5px; color: var(--muted); }
.sl-stats { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); border-top: 2px solid var(--ink); }
.sl-stat { padding: 22px 22px 18px 0; }
.sl-stat + .sl-stat { padding-left: 22px; border-left: 1px solid var(--line); }
.sl-stat b { display: block; font-size: clamp(36px, 4.4vw, 60px); font-weight: 300; letter-spacing: -.04em; color: var(--blue); line-height: 1.05; }
.sl-stat strong { display: block; margin-top: 12px; font-size: clamp(15px, 1.4vw, 18px); color: var(--ink); }
.sl-stat span { display: block; margin-top: 6px; font-size: 14px; color: var(--muted); line-height: 1.55; }
.sl-chart-w { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 28px; align-items: stretch; }
.sl-chart { border-top: 2px solid var(--ink); padding-top: 12px; }
.sl-legend { margin: 0 0 10px; font-size: 13px; font-weight: 700; color: var(--muted); }
.sl-legend i { display: inline-block; width: 10px; height: 10px; margin: 0 6px 0 10px; vertical-align: -1px; }
.sl-bars { height: 260px; display: flex; align-items: flex-end; gap: 24px; border-bottom: 1px solid var(--line); padding: 0 8px; }
.sl-bar-g { flex: 1; height: 100%; display: flex; align-items: flex-end; justify-content: center; gap: 6px; position: relative; }
.sl-bar-g > span { position: absolute; bottom: -28px; left: 0; right: 0; text-align: center; font-size: 14px; color: var(--text); }
.sl-bar { width: min(80px, 60%); height: var(--h); position: relative; }
.sl-bar em { position: absolute; top: -24px; left: 50%; transform: translateX(-50%); font-style: normal; font-weight: 800; font-size: 14px; color: var(--ink); white-space: nowrap; }
.s0, .sl-legend i.s0 { background: var(--blue); } .s1, .sl-legend i.s1 { background: var(--cyan); }
.sl-chart { padding-bottom: 34px; }
.sl-side { margin: 0; padding: 18px 20px; background: #F7F9FC; border-left: 3px solid var(--blue); font-size: 15.5px; line-height: 1.7; }
.sl-mx { display: grid; grid-template-columns: 28px minmax(0, 1fr); grid-template-rows: auto auto; gap: 8px; }
.sl-mx-y { writing-mode: vertical-rl; transform: rotate(180deg); text-align: center; font-size: 12.5px; font-weight: 700; color: var(--muted); }
.sl-mx-g { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.sl-mx-c { border-left: 3px solid var(--c); background: #F7F9FC; padding: 16px 18px; }
.sl-mx-c h3 { color: var(--c); font-size: clamp(16px, 1.6vw, 20px); margin-bottom: 6px; }
.sl-mx-c p { margin: 0; font-size: 14.5px; line-height: 1.6; }
.sl-mx-x { grid-column: 2; text-align: center; font-size: 12.5px; font-weight: 700; color: var(--muted); }
.sl-flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; counter-reset: f; }
.sl-flow li { position: relative; border: 1px solid var(--line); background: #fff; }
.sl-flow li b { display: block; background: var(--navy); color: #fff; padding: 10px 14px; font-size: 15px; }
.sl-flow li p { margin: 0; padding: 12px 14px 16px; font-size: 14.5px; line-height: 1.6; }
.sl-flow li + li::before { content: "→"; position: absolute; left: -14px; top: 8px; width: 14px; text-align: center; color: var(--cyan); font-weight: 800; }
.sl-loop { margin: 14px 0 0; padding: 10px 14px; background: #EEF3FE; color: #1A3A8F; font-weight: 700; font-size: 14.5px; text-align: center; }
.sl-cmp2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.sl-ba { border: 1px solid var(--line); border-top: 3px solid var(--c); padding: 14px 16px; }
.sl-ba.bad { --c: #B42318; } .sl-ba.good { --c: #067647; }
.sl-ba h3 { color: var(--c); font-size: 16px; margin-bottom: 8px; }
.sl-ba-p { margin: 0 0 10px; padding: 8px 10px; background: var(--stone); font-size: 13px; }
.sl-ba pre { margin: 0; white-space: pre-wrap; font-family: var(--sans); font-size: 14px; line-height: 1.6; color: var(--ink); }
.sl-ba-v { margin: 12px 0 0; font-weight: 700; font-size: 14px; color: var(--c); }
.sl-cases { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.sl-case { border: 1px solid var(--line); border-top: 3px solid #B42318; padding: 16px 18px; display: flex; flex-direction: column; }
.sl-case h3 { font-size: 17px; margin-bottom: 8px; }
.sl-case p { margin: 0; font-size: 14.5px; line-height: 1.6; }
.sl-case .sl-case-l { margin-top: 12px; padding: 10px 12px; background: #FEF3F2; color: #8A1C14; font-weight: 700; }
.sl-case span { margin-top: auto; padding-top: 10px; font-size: 12px; color: var(--muted); }
@media (max-width: 760px) { .sl-chart-w, .sl-cmp2, .sl-mx-g { grid-template-columns: minmax(0, 1fr); } .sl-stats { grid-template-columns: minmax(0, 1fr); } .sl-stat + .sl-stat { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); } }
.present .sl-stat b { font-size: clamp(48px, 5.4vw, 84px); } .present .sl-mx-c p, .present .sl-flow li p, .present .sl-case p, .present .sl-ba pre { font-size: clamp(16px, 1.5vw, 21px); }

/* ── 덮는 창 (결과 모음 · 보고서) ── */
.sheet { position: fixed; inset: 0; background: rgba(5,13,28,.6); backdrop-filter: blur(3px); z-index: 40; overflow: auto; padding: 28px 14px; }
.sheet-in { max-width: 900px; margin: 0 auto; background: #fff; padding: 30px 32px; box-shadow: 0 40px 100px rgba(3,10,25,.45); }
.sheet-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px; padding-bottom: 18px; margin-bottom: 18px; border-bottom: 2px solid var(--ink); }
.sheet-head .label { margin-bottom: 8px; }
.sheet-head h2 { font-size: 26px; }
.sheet-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.mine-item, .sub { padding: 16px 0; border-bottom: 1px solid var(--line); }
.mine-item.empty { opacity: .55; }
.mine-item h3 { font-size: 16.5px; margin-bottom: 4px; }
.mine-k, .sub-k { margin: 12px 0 4px; font-size: 12.5px; font-weight: 700; letter-spacing: .04em; color: var(--muted); }
.mine-item pre, .sub pre { margin: 0; white-space: pre-wrap; font-family: var(--sans); font-size: 14.5px; color: var(--ink); line-height: 1.65; }
#report-body h1 { font-size: 28px; margin-bottom: 4px; }
#report-body h3 { margin: 28px 0 8px; font-size: 17px; }

/* ── 강사: admin.mayai.kr 과 같은 뼈대 ── */
.h-body { background: #F3F5F9; }
.app { display: grid; grid-template-columns: 248px minmax(0, 1fr); min-height: 100vh; }
.side { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; padding: 22px 14px 18px; color: #fff;
  background: radial-gradient(420px 260px at 0% 0%, rgba(31,87,231,.28), transparent 70%), linear-gradient(180deg, #0C1830, var(--night)); border-right: 1px solid rgba(255,255,255,.06); }
.side-brand { display: flex; align-items: center; gap: 10px; padding: 2px 10px 24px; }
.wm { font-size: 19px; font-weight: 800; letter-spacing: .03em; }
.tag { font-size: 10px; font-weight: 700; letter-spacing: .16em; padding: 2px 7px; border-radius: 5px; color: var(--on-dark); background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); }
.side-nav { display: flex; flex-direction: column; gap: 3px; }
.side-item { position: relative; display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 10px; color: #B9C3D6; text-decoration: none; font-size: 14.5px; font-weight: 600; cursor: pointer; }
.side-item svg { width: 19px; height: 19px; opacity: .8; }
.side-item:hover { background: rgba(255,255,255,.06); color: #fff; }
.side-item[aria-current] { color: #fff; background: linear-gradient(90deg, rgba(53,198,218,.18), rgba(31,87,231,.14)); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.side-item[aria-current]::before { content: ""; position: absolute; left: -14px; top: 9px; bottom: 9px; width: 3px; border-radius: 0 3px 3px 0; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }
.side-item[aria-current] svg { opacity: 1; color: var(--cyan); }
.side-foot { margin-top: auto; padding: 14px 10px 0; border-top: 1px solid rgba(255,255,255,.08); display: grid; gap: 8px; font-size: 12.5px; color: var(--on-dark); }
.side-who { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #D5DCE8; }
.logout { justify-self: start; font: inherit; color: #fff; font-weight: 600; padding: 6px 12px; border-radius: 8px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); cursor: pointer; }
.panes { min-width: 0; padding: 34px clamp(16px, 3vw, 40px) 56px; }
.pane-head { margin-bottom: 22px; max-width: 980px; }
.pane-head h1 { font-size: clamp(24px, 2.4vw, 30px); font-weight: 760; }
.pane-head p { margin: 8px 0 0; font-size: 14px; color: var(--muted); }
.card { background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
.h-body .btn { border-radius: 9px; }
.h-body .fld input, .h-body .fld select { border-radius: 9px; background: #fff; border-color: #D5DCE8; }
.new-card { max-width: 980px; padding: 22px 24px 6px; margin-bottom: 22px; }
.new-card h2 { font-size: 17px; margin-bottom: 14px; }
.new-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) auto; gap: 0 14px; align-items: end; }
.new-grid .btn { margin-bottom: 18px; }
.ws-list { max-width: 980px; display: grid; gap: 10px; }
.ws-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 16px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; text-decoration: none; color: inherit; box-shadow: var(--shadow); transition: box-shadow .2s, transform .2s; }
.ws-row:hover { box-shadow: 0 2px 4px rgba(16,24,40,.05), 0 12px 28px rgba(16,24,40,.09); transform: translateY(-1px); }
.ws-row b { display: block; color: var(--ink); font-size: 16px; }
.ws-row span { font-size: 13.5px; }
.pill, .run-state { font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--stone); color: var(--muted); white-space: nowrap; }
.pill.on, .run-state.on { background: #ECFDF3; color: var(--ok); }
.pill.mid, .run-state.mid { background: #FFFAEB; color: #B54708; }
.run-head { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 16px; margin-bottom: 20px; }
.crumb { margin: 0 0 4px; font-size: 13px; font-weight: 700; color: var(--blue); }
.run-head h1 { font-size: clamp(22px, 2.2vw, 28px); }
.run-head .run-state { margin-bottom: 6px; }
.run-actions { margin-left: auto; display: flex; flex-wrap: wrap; gap: 6px; }
.run-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 18px; align-items: start; }
@media (max-width: 1100px) { .run-grid { grid-template-columns: minmax(0, 1fr); } }
.code-card { display: flex; align-items: center; justify-content: space-between; gap: 18px; color: #fff; border-radius: 14px; padding: 18px 22px; margin-bottom: 14px;
  background: radial-gradient(600px 240px at 95% 0%, rgba(31,87,231,.42), transparent 60%), linear-gradient(160deg, #0E1C38, var(--night)); box-shadow: 0 10px 30px rgba(5,13,28,.22); }
.code-card .label { color: var(--cyan); margin-bottom: 6px; }
.code { margin: 0; font-family: var(--mono); font-size: 40px; font-weight: 800; letter-spacing: .2em; }
.code-url { margin: 2px 0 0; color: var(--on-dark); font-size: 13px; }
.qr { background: #fff; padding: 8px; border-radius: 8px; line-height: 0; }
.qr svg { width: 92px; height: 92px; }
.ctrl { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; margin-bottom: 14px; }
.ctrl span { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--ink); }
.mini { border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); }
.mini .sl { min-height: 300px; font-size: 88%; border-radius: 0; }
.notes { margin-top: 14px; background: #FFFBEB; border: 1px solid #FDE68A; border-radius: 14px; padding: 16px 18px; }
.notes-h { margin: 0 0 6px; font-size: 12.5px; font-weight: 700; letter-spacing: .06em; color: #B54708; }
.notes #notes { white-space: pre-wrap; font-size: 14.5px; color: #5B3A06; line-height: 1.7; }
.run-right { padding: 18px 20px; }
.live-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.live-head h2 { font-size: 18px; }
.seg { display: inline-flex; flex-wrap: wrap; gap: 4px; background: #E9EDF4; padding: 4px; border-radius: 11px; }
.seg button { font: inherit; font-size: 13px; font-weight: 600; border: 0; background: transparent; padding: 6px 11px; border-radius: 8px; cursor: pointer; color: var(--text); }
.seg button.on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(16,24,40,.12); }
.seg em { font-style: normal; font-size: 11.5px; color: var(--blue); font-weight: 800; margin-left: 2px; }
.tb { width: 100%; border-collapse: collapse; font-size: 14px; }
.tb th { text-align: left; padding: 9px 10px; font-size: 12.5px; color: var(--muted); border-bottom: 1px solid var(--line); }
.tb td { padding: 10px; border-bottom: 1px solid var(--line-2); color: var(--ink); }
.tb td:not(:first-child), .tb th:not(:first-child) { text-align: center; }
.run-right .sub { border-bottom: 1px solid var(--line-2); }
.sub-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.sub-h b { color: var(--ink); }
.spot-now { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: #EEF3FE; border: 1px solid #C9D4F5; color: #1A3A8F; padding: 10px 14px; border-radius: 10px; margin-bottom: 12px; font-size: 14px; }
@media (max-width: 900px) {
  .app { grid-template-columns: minmax(0, 1fr); }
  .side { position: sticky; z-index: 10; height: auto; flex-direction: row; flex-wrap: wrap; align-items: center; padding: 10px 16px; }
  .side-brand { padding: 0 12px 0 0; }
  .side-nav { flex-direction: row; }
  .side-item { padding: 8px 10px; }
  .side-item[aria-current]::before { display: none; }
  .side-foot { margin: 0 0 0 auto; padding: 0; border: 0; display: flex; align-items: center; }
  .side-who { display: none; }
  .new-grid { grid-template-columns: minmax(0, 1fr); }
}

/* ── 발표 화면 (빔프로젝터) ── */
.present { background: var(--night); min-height: 100vh; display: grid; place-items: center; padding: 3vh 3vw; }
.p-stage { width: min(100%, 1560px); }
.present .sl { min-height: 86vh; }
.present .sl h2 { font-size: clamp(30px, 3.4vw, 50px); }
.present .sl-ul li, .present .sl-steps li { font-size: clamp(19px, 2.1vw, 30px); }
.present .sl-tb { font-size: clamp(17px, 1.8vw, 26px); }
.present .sl-col, .present .sl-code pre, .present .sl-mat pre { font-size: clamp(17px, 1.7vw, 24px); }
.present .sl-note, .present .sl-tip { font-size: clamp(16px, 1.5vw, 21px); }
.present-join { position: fixed; right: 4vw; bottom: 5vh; display: flex; align-items: center; gap: 24px; background: #fff; color: var(--ink); padding: 20px 26px; box-shadow: 0 30px 80px rgba(0,0,0,.4); }
.present-join .qr { padding: 0; }
.present-join .qr svg { width: 150px; height: 150px; }
.present-join p { margin: 0; color: var(--blue); font-weight: 700; letter-spacing: .2em; font-size: 13px; }
.present-join b { display: block; font-family: var(--mono); font-size: 56px; letter-spacing: .16em; line-height: 1.15; }
.present-join span { color: var(--muted); }
.p-spot { position: fixed; inset: 0; background: rgba(5,13,28,.84); backdrop-filter: blur(4px); display: grid; place-items: center; padding: 4vh 4vw; }
.spot-card { background: #fff; padding: 38px 44px; width: min(100%, 1240px); max-height: 90vh; overflow: auto; border-top: 4px solid var(--cyan); }
.spot-card .kicker { margin: 0 0 8px; font-size: 14px; font-weight: 700; color: var(--blue); }
.spot-card h2 { font-size: 36px; margin-bottom: 16px; }
.spot-card pre { white-space: pre-wrap; font-family: var(--sans); font-size: clamp(18px, 1.8vw, 25px); color: var(--ink); margin: 0; line-height: 1.7; }
.present-msg { color: #fff; font-size: 20px; }

/* 개인정보 안내 */
.doc { max-width: 780px; margin: 0 auto; padding: 46px 22px 90px; background: #fff; min-height: 100vh; }
.kicker { margin: 0 0 8px; font-size: 13px; font-weight: 700; color: var(--blue); }

@media print {
  body > :not(.sheet) { display: none !important; }
  .sheet { position: static; background: none; padding: 0; backdrop-filter: none; }
  .sheet-in { box-shadow: none; padding: 0; }
  .sheet-actions { display: none !important; }
}
