/* edu.drwon.kr — 노선도: 프로그램 = 노선, 7단계 = 역. 남색 레일 + 밝은 작업면, 노선색은 사업 구분 */
:root {
  --navy: #16243c; --navy2: #22345a; --navy-ink: #b9c4d9;
  --bg: #f5f6f8; --card: #ffffff; --soft: #eef1f5; --line: #dde2e9; --line2: #eceff3;
  --ink: #141a24; --muted: #5f6878; --faint: #98a0ad;
  --now: #e5673f; --now-soft: #fde6dc; --now-ink: #b84a24;
  --ok: #1e7f5c; --ok-soft: #e1f2ea; --warn: #b7791f; --warn-soft: #fbf0dc; --bad: #c2362c; --bad-soft: #fbe5e3;
  --l-dyd: #2c5bb8; --l-rise: #14907d; --l-hyeoksin: #c98a14; --l-etc: #7a5bb5;
  /* Dr. 시리즈 본문 글꼴(Pretendard). 굵기는 400·500·600·700만, 700이 상한 */
  --f: "Pretendard Variable", Pretendard, -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --r: 12px; --r-s: 8px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html, body { height: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--f); font-size: 14px; line-height: 1.55; letter-spacing: -.005em; -webkit-font-smoothing: antialiased; }
::selection { background: var(--now-soft); color: var(--ink); }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--l-dyd); text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--now); outline-offset: 2px; }
.num { font-variant-numeric: tabular-nums; }
[hidden] { display: none !important; }
* { scrollbar-color: #c3cad5 transparent; scrollbar-width: thin; }

/* 버튼·입력 */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 38px; padding: 0 14px; border-radius: var(--r-s);
  border: 1px solid var(--line); background: var(--card); font-weight: 700; font-size: 13px; cursor: pointer; white-space: nowrap; }
.btn:hover { border-color: #c3cad5; background: #fafbfc; }
.btn.pri { background: #c24d26; border-color: #c24d26; color: #fff; }   /* 흰 글씨 대비 4.5 이상 */
.btn.pri:hover { background: #a8411f; border-color: #a8411f; }
.btn.navy { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn.ghost { border-color: transparent; background: transparent; color: var(--muted); }
.btn.sm { min-height: 30px; padding: 0 10px; font-size: 12px; }
.btn:disabled { opacity: .45; cursor: default; }
.btn svg { width: 16px; height: 16px; }
.in, select.in, textarea.in { width: 100%; min-height: 38px; padding: 7px 10px; border: 1px solid var(--line); border-radius: var(--r-s); background: var(--card); }
textarea.in { min-height: 90px; resize: vertical; line-height: 1.6; }
.in:focus { outline: none; border-color: var(--l-dyd); box-shadow: 0 0 0 3px rgba(44, 91, 184, .14); }
.in::placeholder { color: var(--faint); }
label.f { display: grid; gap: 4px; font-size: 12px; color: var(--muted); font-weight: 600; }
.chk { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.chk input { width: 18px; height: 18px; accent-color: var(--now); }

/* 레이아웃 */
.shell { display: grid; grid-template-columns: 216px minmax(0, 1fr); min-height: 100%; }
.rail { background: var(--navy); color: var(--navy-ink); padding: 20px 12px; display: flex; flex-direction: column; gap: 2px; position: sticky; top: 0; height: 100vh; }
.brand { display: flex; align-items: center; gap: 10px; padding: 0 8px 20px; color: #fff; font-weight: 700; font-size: 16px; letter-spacing: -.01em; }
.brand svg { width: 30px; height: 30px; flex: none; }
.brand small { display: block; font-weight: 500; font-size: 11px; color: var(--navy-ink); }
.rail a.nav { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: var(--r-s); color: var(--navy-ink); text-decoration: none; font-weight: 600; }
.rail a.nav svg { width: 18px; height: 18px; flex: none; }
.rail a.nav:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.rail a.nav[aria-current="page"] { background: var(--navy2); color: #fff; }
.legend { margin-top: auto; padding: 12px 10px; font-size: 12px; line-height: 2; }
.legend i { display: inline-block; width: 20px; height: 5px; border-radius: 3px; margin-right: 8px; vertical-align: middle; }
.who { padding: 10px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 12px; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.who button { background: none; border: 0; color: var(--navy-ink); cursor: pointer; font-size: 12px; text-decoration: underline; text-underline-offset: 3px; }
.main { padding-block: 24px 64px; padding-left: max(16px, 28px, env(safe-area-inset-left, 0px)); padding-right: max(16px, 28px, env(safe-area-inset-right, 0px)); min-width: 0; }
.page { max-width: 1200px; display: grid; gap: 18px; }
.head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; }
h1 { font-size: 23px; font-weight: 700; letter-spacing: -.025em; margin: 0; text-wrap: balance; }
h2 { font-size: 15px; font-weight: 600; margin: 0; letter-spacing: -.01em; }
.sub { color: var(--muted); margin: 2px 0 0; font-size: 13px; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; min-width: 0; }
.row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.between { justify-content: space-between; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 16px; }
.span2 { grid-column: 1 / -1; }
.muted { color: var(--muted); }
.empty { padding: 28px; text-align: center; color: var(--muted); }

/* 필터 칩 */
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { min-height: 32px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); font-size: 13px; font-weight: 500; color: var(--muted); cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.chip:hover { border-color: #c3cad5; color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; font-weight: 600; }
.chip i { width: 14px; height: 4px; border-radius: 2px; display: inline-block; }

/* 노선도 */
.map { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 4px 22px 8px; }
.ln { display: grid; grid-template-columns: 272px minmax(0, 1fr) 132px; gap: 20px; align-items: center; min-height: 80px; border-top: 1px solid var(--line2); cursor: pointer; }
.grp + .ln { border-top: 0; }
.ln:hover { background: linear-gradient(90deg, transparent, var(--bg) 8%, var(--bg) 92%, transparent); }
.ln:hover .nm b { color: var(--l-dyd); }
.ln:focus-visible { outline-offset: -2px; border-radius: 8px; }
.nm b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 15px; font-weight: 600; line-height: 1.4; letter-spacing: -.015em; word-break: keep-all; }
.nm span { display: flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 400; color: var(--muted); margin-top: 3px; }
.nm span i { width: 12px; height: 4px; border-radius: 2px; flex: none; }
/* 진행 중 / 완료 묶음 제목 */
.grp { display: flex; align-items: baseline; gap: 8px; padding: 18px 0 8px; font-size: 13px; font-weight: 600; color: var(--ink); }
.grp span { font-size: 12px; font-weight: 500; color: var(--faint); font-variant-numeric: tabular-nums; }
.grp ~ .grp { border-top: 1px solid var(--line); margin-top: 6px; }
/* 끝난 비교과는 한 단계 흐리게 */
.ln.is-done .nm b { color: var(--muted); font-weight: 500; }
.ln.is-done .track { opacity: .55; }
.nm .xfer { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 11.5px; color: var(--muted); }
.nm .xfer::before { content: ""; width: 14px; border-top: 3px dotted var(--faint); }
.track { position: relative; height: 62px; --c: var(--l-dyd); }
.track .bed, .track .run { position: absolute; left: var(--edge, 7%); height: 7px; top: 20px; border-radius: 4px; background: var(--c); }
.track .bed { right: var(--edge, 7%); opacity: .2; }
.track .run { transition: width .7s cubic-bezier(.16, 1, .3, 1); }
.stops { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(7, 1fr); }
.stop { position: relative; text-align: center; background: none; border: 0; padding: 0; cursor: pointer; }
.stop i { position: absolute; left: 50%; top: 14px; width: 19px; height: 19px; margin-left: -9.5px; border-radius: 50%; background: var(--card); border: 4px solid var(--c); }
.stop.done i { background: var(--c); }
.stop.now i { width: 27px; height: 27px; margin-left: -13.5px; top: 10px; border: 5px solid var(--now); box-shadow: 0 0 0 5px var(--now-soft); }
.stop.now.pulse i { animation: pulse 1.1s cubic-bezier(.16, 1, .3, 1) 1; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(229, 103, 63, .55); } 100% { box-shadow: 0 0 0 5px var(--now-soft); } }
.stop span { position: absolute; top: 41px; left: -6px; right: -6px; font-size: 11px; color: var(--muted); font-weight: 500; line-height: 1.25; }
.stop.now span { color: var(--now-ink); font-weight: 700; }
.stop.late i { border-color: var(--bad); }
/* 전체보기 단계 막대: 칸마다 단계 이름 */
.sbar { display: grid; gap: 3px; --c: var(--l-dyd); }
.sbar .sb { min-width: 0; height: 40px; border-radius: 6px; background: var(--line2); display: flex; align-items: center; justify-content: center; padding: 0 3px; position: relative; }
.sbar .sb em { font-style: normal; font-size: 11px; line-height: 1.2; font-weight: 500; color: var(--muted); text-align: center; word-break: keep-all; overflow-wrap: anywhere; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.sbar .sb.done { background: color-mix(in srgb, var(--c) 82%, white); }
.sbar .sb.done em { color: #fff; font-weight: 600; }
.sbar .sb.now { background: #fff; box-shadow: inset 0 0 0 2px var(--c); }
.sbar .sb.now em { color: var(--ink); font-weight: 700; }
.sbar .sb.now.late { box-shadow: inset 0 0 0 2px var(--bad); }
.sbar .sb.now.late em { color: var(--bad); }
.sbar .sb.skip { background: repeating-linear-gradient(135deg, var(--bad-soft) 0 6px, #fff 6px 10px); box-shadow: inset 0 0 0 1px var(--bad); }
.sbar .sb.skip em { color: var(--bad); font-weight: 600; }
.ln.is-done .sbar { opacity: .55; }
@media (max-width: 760px) { .ln .sbar { grid-column: 1 / -1; grid-row: 2; } .sbar .sb { height: 34px; } .sbar .sb em { font-size: 10px; } }
.dl { text-align: right; font-size: 13px; font-weight: 600; color: var(--ink); line-height: 1.4; word-break: keep-all; }
.dl small { display: block; font-weight: 400; color: var(--muted); font-size: 12px; margin-top: 1px; }
.dl em { font-style: normal; }
.dl em.late { color: var(--bad); font-weight: 600; } .dl em.soon { color: var(--now-ink); font-weight: 600; }
.dl.done { color: var(--muted); font-weight: 500; }
.strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.strip .panel h2 { font-size: 13px; color: var(--muted); font-weight: 700; margin-bottom: 8px; }
.todo { display: grid; gap: 0; }
.todo a { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 8px; padding: 8px 0; border-top: 1px solid var(--line2); color: var(--ink); text-decoration: none; font-size: 13px; }
.todo a:first-child { border-top: 0; }
.todo a:hover span { text-decoration: underline; }
.todo b { font-size: 12px; color: var(--now-ink); }
.todo b.late { color: var(--bad); }

/* 프로그램 상세 */
.phead { display: grid; gap: 6px; }
.scheme { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; color: var(--muted); }
.scheme i { width: 22px; height: 6px; border-radius: 3px; }
.bigline { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 8px 26px 10px; }
.bigline .track { height: 74px; }
/* 상세 노선: 역 이름을 선 아래·위로 번갈아(폭 두 배), 두 줄까지 */
.bigline .track { height: 124px; }
.bigline .track .bed, .bigline .track .run { top: 58px; }
.bigline .stop i { top: 52px; }
.bigline .stop.now i { top: 48px; }
.bigline .stop span { font-size: 12px; line-height: 1.3; left: -50%; right: -50%; top: 82px; word-break: keep-all;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
/* 이름은 고른 역(아래)·지금 역(위, 고른 역과 다를 때)만 */
.bigline .stop span { display: none; left: -120%; right: -120%; -webkit-line-clamp: 1; white-space: nowrap; text-overflow: ellipsis; }
.bigline .stop[aria-selected="true"] span { display: block; font-size: 13px; }
.bigline .stop.now:not([aria-selected="true"]) span { display: block; top: auto; bottom: 76px; color: var(--now-ink); font-weight: 700; }
/* 양 끝 역 이름은 화면 밖으로 나가지 않게 안쪽으로 붙임 */
.bigline .stop:first-of-type span { left: -6px; right: auto; text-align: left; }
.bigline .stop:last-of-type span { left: auto; right: -6px; text-align: right; }
/* 목록 노선: 역 이름은 숨기고 오른쪽 칸에 지금 단계만, 높이도 낮게 */
.map .stop span { display: none; }
/* 목록 노선은 가늘게: 선 4px, 역 13px, 지금 역 19px */
.map .track { height: 40px; }
.map .track .bed, .map .track .run { top: 18px; height: 4px; }
.map .stop i { top: 13.5px; width: 13px; height: 13px; margin-left: -6.5px; border-width: 3px; }
.map .stop.now i { top: 10.5px; width: 19px; height: 19px; margin-left: -9.5px; border-width: 4px; box-shadow: 0 0 0 4px var(--now-soft); }
.map .ln { min-height: 78px; }
.bigline .stop[aria-selected="true"] span { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
/* 상세 노선도 가늘게: 선 5px, 역 16px, 지금 역 24px */
.bigline .track .bed, .bigline .track .run { height: 5px; top: 59px; }
.bigline .stop i { top: 53.5px; width: 16px; height: 16px; margin-left: -8px; border-width: 3px; }
.bigline .stop.now i { top: 49.5px; width: 24px; height: 24px; margin-left: -12px; border-width: 4px; box-shadow: 0 0 0 5px var(--now-soft); }
.bigline .stop.now:not([aria-selected="true"]) span { font-weight: 600; }
.station { display: grid; gap: 16px; }
.station > *, .page > * { min-width: 0; }   /* 넓은 표가 칸을 밀어내지 않게(표는 .tbl-wrap 안에서 스크롤) */
.st-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; }
.st-head h2 { font-size: 18px; font-weight: 600; letter-spacing: -.015em; }
.st-state { font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--soft); color: var(--muted); }
.st-state.now { background: var(--now-soft); color: var(--now-ink); }
.st-state.done { background: var(--ok-soft); color: var(--ok); }
.st-state.late { background: var(--bad-soft); color: var(--bad); }
.hwpx { display: inline-flex; align-items: center; gap: 8px; }
.hwpx::before { content: "HWPX"; font-size: 10px; font-weight: 700; letter-spacing: .02em; padding: 2px 5px; border-radius: 4px; background: var(--now); color: #fff; }
.btn.pri.hwpx::before { background: #fff; color: var(--now); }

/* 큰 단계 패널: 하위 단계(증빙) */
.f.inline { flex-direction: row; align-items: center; gap: 6px; display: inline-flex; white-space: nowrap; }
.f.inline .in { width: auto; min-height: 32px; }
.subs { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line2); }
.subs li { display: grid; grid-template-columns: minmax(180px, 1.2fr) minmax(0, 2fr) auto auto; gap: 10px; align-items: center; min-height: 52px; padding: 8px 4px; border-bottom: 1px solid var(--line2); }
.subs li .chk span { font-weight: 500; }
/* 끝난 항목은 칠하지 않고 흐리게 + 체크로만 */
.subs li.on .chk span { color: var(--muted); font-weight: 400; }
.subs li.on .chk input { accent-color: var(--ok); }
.sub-files { display: flex; flex-wrap: wrap; gap: 4px; min-width: 0; }
.sub-files .btn { max-width: 220px; overflow: hidden; text-overflow: ellipsis; color: var(--l-dyd); }
.sub-meta { font-size: 11.5px; color: var(--muted); white-space: nowrap; }
.ev { display: inline-block; margin-left: 8px; font-size: 11px; font-weight: 500; padding: 1px 7px; border-radius: 999px; vertical-align: 1px; }
.ev-auto { background: #e8eefb; color: #2a529f; } .ev-file { background: #fdeee7; color: var(--now-ink); } .ev-check { background: var(--soft); color: var(--muted); }
.ev-text { font-size: 13px; color: var(--ink); font-weight: 500; align-self: center; font-variant-numeric: tabular-nums; }
.tabs { display: flex; gap: 2px; flex-wrap: wrap; border-bottom: 1px solid var(--line); }
.tab { border: 0; background: none; padding: 10px 14px; font-weight: 500; font-size: 14px; color: var(--muted); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tab[aria-selected="true"] { color: var(--ink); font-weight: 600; border-bottom-color: var(--now); }
.tab:hover { color: var(--ink); }
@media (max-width: 640px) { .subs li { grid-template-columns: minmax(0, 1fr) auto; } .sub-files, .sub-meta { grid-column: 1 / -1; } }

/* 표 */
.tbl-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-s); }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th, td { padding: 8px 10px; border-bottom: 1px solid var(--line2); text-align: left; white-space: nowrap; }
th { background: #f8f9fb; color: var(--muted); font-weight: 600; font-size: 12px; position: sticky; top: 0; }
tr:last-child td { border-bottom: 0; }
td.c, th.c { text-align: center; }
td input.in { min-height: 32px; padding: 4px 8px; }
.pill { display: inline-block; font-size: 11.5px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--soft); color: var(--muted); }
.pill.ok { background: var(--ok-soft); color: var(--ok); } .pill.warn { background: var(--warn-soft); color: var(--warn); } .pill.bad { background: var(--bad-soft); color: var(--bad); } .pill.now { background: var(--now-soft); color: var(--now-ink); }
.att { width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--card); cursor: pointer; font-weight: 700; font-size: 12px; color: var(--faint); }
.att.on { background: var(--ok); border-color: var(--ok); color: #fff; }

/* 결과 수치 */
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.kpi { border: 1px solid var(--line); border-radius: var(--r-s); padding: 12px 14px; }
.kpi span { display: block; font-size: 12px; color: var(--muted); }
.kpi strong { font-size: 24px; font-weight: 700; letter-spacing: -.02em; }
.kpi em { font-style: normal; font-size: 12px; font-weight: 700; margin-left: 6px; }
.kpi em.ok { color: var(--ok); } .kpi em.bad { color: var(--bad); }
.meter { position: relative; height: 6px; border-radius: 3px; background: var(--line2); margin-top: 8px; }
.meter i { position: absolute; inset: 0 auto 0 0; border-radius: 3px; background: var(--ok); }
.meter u { position: absolute; top: -3px; width: 2px; height: 12px; background: var(--ink); }

/* 파일 */
.files { display: grid; gap: 8px; }
.file { display: grid; grid-template-columns: 110px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px 10px; border: 1px solid var(--line2); border-radius: var(--r-s); font-size: 13px; }
.file b { font-size: 12px; color: var(--muted); }
.file span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.drop { border: 1.5px dashed #c3cad5; border-radius: var(--r-s); padding: 16px; text-align: center; color: var(--muted); font-size: 13px; }
.drop.over { border-color: var(--now); background: var(--now-soft); }
.photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
.photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-s); border: 1px solid var(--line); }

/* 대화상자 */
dialog { border: 0; border-radius: 16px; padding: 0; width: min(560px, calc(100vw - 32px)); max-height: calc(100vh - 48px); overflow-x: hidden; box-shadow: 0 24px 60px rgba(16, 24, 40, .28); }
dialog:focus-visible { outline: none; }
dialog:has(.ph-dlg) { width: min(720px, calc(100vw - 32px)); }
dialog::backdrop { background: rgba(20, 26, 36, .45); }
dialog form { padding: 22px; display: grid; gap: 14px; }
dialog h2 { font-size: 18px; }
.qrfull { position: fixed; inset: 0; background: #fff; z-index: 50; display: grid; place-items: center; text-align: center; padding: 24px; cursor: pointer; }
.qrfull h2 { font-size: clamp(22px, 3.4vw, 40px); margin-bottom: 8px; }
.qrfull p { color: var(--muted); font-size: clamp(14px, 1.6vw, 20px); margin: 0 0 18px; }
.qrfull img, .qrfull canvas { width: min(68vh, 82vw); height: auto; image-rendering: pixelated; }
/* 단계 작업 칸 머리의 '다른 작업…' 고르기(평소엔 조용히) */
select.in.other-work { width: auto; min-height: 30px; padding: 3px 8px; font-size: 12.5px; color: var(--muted); border-color: var(--line2); }
/* 사진·자료 올리기 창 */
.ph-dlg { display: grid; gap: 12px; min-width: 0; }
.ph-row { border-top: 1px solid var(--line2); padding-top: 10px; }
.ph-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.ph-head b { flex: 1 1 160px; font-weight: 600; font-size: 14px; min-width: 0; }
.ph-dlg > * { min-width: 0; }
.ph-head > span { font-size: 13px; font-weight: 600; color: var(--bad); font-variant-numeric: tabular-nums; }
.ph-head > span.ok { color: var(--ok); }
.ph-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; margin-top: 8px; }
.ph-grid figure { margin: 0; display: grid; gap: 4px; }
.ph-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; background: var(--soft); }
.ph-grid .muted { margin: 0; font-size: 13px; }
.ph-grid .ph-move { min-height: 28px; padding: 2px 6px; font-size: 12px; }
.file-chip { display: inline-flex; align-items: center; }
.file-chip .x { min-width: 26px; padding: 0 6px; color: var(--faint); font-size: 15px; }
.file-chip .x:hover { color: var(--bad); }
/* 강의자료 고르기(PDF·PPT 쪽 썸네일) */
dialog:has(.deck) { width: min(920px, calc(100vw - 32px)); }
.deck { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; max-height: 60vh; overflow-y: auto; padding: 2px; }
.deck-i { position: relative; padding: 0; border: 2px solid var(--line); border-radius: 8px; background: var(--card); cursor: pointer; overflow: hidden; }
.deck-i img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: contain; background: var(--soft); }
.deck-i span { position: absolute; left: 6px; top: 6px; min-width: 22px; padding: 1px 6px; border-radius: 999px; background: rgba(20, 26, 36, .65); color: #fff; font-size: 11.5px; font-weight: 600; }
.deck-i[aria-pressed="true"] { border-color: var(--now); box-shadow: 0 0 0 3px var(--now-soft); }
.deck-i[aria-pressed="true"] span { background: var(--now); }
.deck-i[aria-pressed="false"] img { opacity: .55; }
.ph-dlg b.ok { color: var(--ok); }
.deck-src { display: grid; gap: 6px; padding: 10px 12px; border-radius: var(--r-s); background: #f3f1fb; min-width: 0; }
.deck-src b { font-size: 13px; font-weight: 600; }
.deck-src .row { justify-content: space-between; flex-wrap: nowrap; min-width: 0; }
.deck-src .row span { flex: 1; font-size: 13px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.deck-src .row .btn { flex: none; }
/* 만족도 입력 방식(온라인 / 직접 입력) */
.seg-tabs { display: inline-flex; padding: 3px; border-radius: 10px; background: var(--soft); gap: 2px; justify-self: start; }
.seg-tabs button { border: 0; background: none; padding: 7px 14px; border-radius: 8px; font-size: 13.5px; font-weight: 500; color: var(--muted); cursor: pointer; }
.seg-tabs button[aria-selected="true"] { background: var(--card); color: var(--ink); font-weight: 600; box-shadow: 0 1px 2px rgba(20, 26, 36, .12); }
.sv-man { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 6px 22px; align-items: center; padding: 14px; border: 1px solid var(--line); border-radius: var(--r-s); }
.sv-man .pct-i .in { width: 76px; }
.sv-man .span-all { grid-column: 1 / -1; margin-top: 6px; }
.sv-rate { font-size: 13px; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
/* 계획서 승인 뒤 잠금 안내 */
.lock-note { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border-radius: var(--r-s); background: var(--soft); color: var(--ink); font-size: 13.5px; line-height: 1.5; }
.lock-note svg { width: 18px; height: 18px; flex: none; margin-top: 1px; color: var(--muted); }
#plan :disabled { background: var(--bg); color: var(--ink); opacity: 1; cursor: default; }
/* AI 검증 결과 */
.ai-out { border: 1px solid #dcd7f2; background: #fbfaff; border-radius: var(--r-s); padding: 14px 16px; display: grid; gap: 8px; }
.ai-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.ai-head b { margin-right: 4px; } .ai-head [data-close] { margin-left: auto; }
.ai-sum { margin: 0; font-size: 14px; line-height: 1.6; }
.ai-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.ai-list li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 10px; padding: 10px 0; border-top: 1px solid var(--line2); }
.ai-list li b { font-weight: 600; font-size: 13.5px; }
.ai-list li p { margin: 2px 0 0; font-size: 13.5px; line-height: 1.55; color: var(--ink); }
.ai-lv { font-size: 11.5px; font-weight: 600; padding: 2px 0; text-align: center; border-radius: 999px; background: var(--soft); color: var(--muted); align-self: start; }
.lv-오류 .ai-lv { background: var(--bad-soft); color: var(--bad); } .lv-확인 .ai-lv { background: var(--warn-soft); color: var(--warn); }
/* AI로 채우기 */
.ai-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 10px 12px; border-radius: var(--r-s); background: #f3f1fb; }
.ai-bar .muted { flex: 1 1 260px; font-size: 13px; }
.ai-btn { background: #4b3fa8; border-color: #4b3fa8; color: #fff; }
.ai-btn:hover { background: #3d3290; border-color: #3d3290; }
.ai-btn svg { width: 15px; height: 15px; }
textarea.ai-new { background: #fffbe8; border-color: #e8cf6a; }
/* 역량 비율: 항목마다 '이름 [숫자] %' 한 줄, 작은 칸 */
.pct { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 6px 18px; align-items: center; }
.pct-i { display: flex; align-items: center; gap: 8px; min-height: 36px; cursor: text; }
.pct-i span { flex: 1; font-size: 13.5px; color: var(--ink); min-width: 0; word-break: keep-all; }
.pct-i .in { width: 64px; min-height: 32px; padding: 4px 8px; text-align: right; flex: none; }
.pct-i em { font-style: normal; font-size: 12.5px; color: var(--muted); width: 12px; }
.pct-sum { grid-column: 1 / -1; justify-self: end; font-size: 12.5px; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.pct-sum.ok { color: var(--ok); } .pct-sum.bad { color: var(--bad); }
/* 담당자 고르기 */
.f-l { font-size: 12px; color: var(--muted); font-weight: 600; display: flex; flex-wrap: wrap; gap: 6px; align-items: baseline; }
.f-l small { font-weight: 400; }
.pick { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.pick-i { position: relative; }
.pick-i input { position: absolute; opacity: 0; }
.pick-i span { display: inline-flex; align-items: baseline; gap: 6px; min-height: 36px; padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; cursor: pointer; font-size: 13.5px; font-weight: 500; color: var(--ink); background: var(--card); }
.pick-i span small { font-size: 11.5px; color: var(--faint); }
.pick-i input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.pick-i input:checked + span small { color: var(--navy-ink); }
.pick-i input:focus-visible + span { outline: 2px solid var(--now); outline-offset: 2px; }
/* 전체보기: 년도·학기 */
.termbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 8px; }
.termbar .in { width: auto; min-height: 38px; font-weight: 700; }
.termbar .chips { margin: 0; }
/* 응답자별 점수(고치기·일괄) */
.sv-bulk { flex-wrap: wrap; gap: 6px 8px; margin-bottom: 8px; font-size: 13px; }
.sv-bulk .in { min-height: 32px; padding: 4px 8px; }
.sv-tbl td { padding: 4px 6px; }
.sv-tbl .sv-in { min-height: 30px; width: 52px; padding: 2px 4px; font-size: 13px; }
/* 증빙 사진(종류별) */
.ev-sec { border: 1px solid var(--line); border-radius: var(--r-s); padding: 10px 12px; margin-top: 10px; background: var(--card); }
.ev-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.ev-head .muted { flex: 1 1 200px; font-size: 13px; }
.ev-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin-top: 10px; }
.evf { margin: 0; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.evf img { width: 100%; aspect-ratio: 3 / 4; object-fit: contain; background: var(--soft); border-radius: 6px; }
.evf figcaption { display: flex; flex-direction: column; gap: 4px; }
.evf figcaption .in { min-height: 32px; padding: 4px 8px; font-size: 13px; }
/* 결과보고서 미리보기: 종이는 테마와 상관없이 흰 바탕 */
.pv { position: fixed; inset: 0; z-index: 50; background: var(--soft); display: flex; flex-direction: column; }
.pv-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 10px max(16px, env(safe-area-inset-right, 0px)) 10px max(16px, env(safe-area-inset-left, 0px)); background: var(--card); border-bottom: 1px solid var(--line); }
.pv-bar .muted { flex: 1 1 260px; font-size: 13px; }
.pv-scroll { flex: 1; overflow: auto; padding: 18px 12px 40px; -webkit-overflow-scrolling: touch; }
.pv-pages { width: max-content; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.pv-err { padding: 24px; background: var(--card); border-radius: 8px; }
/* 종이 한 장 = 양식의 용지 크기·여백 그대로(mm). 사이트 표 모양(줄바꿈 금지·칸 여백·밑줄)은 끊음 */
.pv-sheet { box-sizing: border-box; background: #fff; color: #000; box-shadow: 0 1px 5px rgba(0,0,0,.18); position: relative; overflow: hidden; }
.pv-body, .pv-flow { position: relative; overflow: hidden; font-family: "Malgun Gothic", "맑은 고딕", sans-serif; color: #000; -webkit-font-smoothing: auto; }
.pv-flow { position: absolute; left: -9999px; top: 0; visibility: hidden; }
.pv-slice { overflow: hidden; box-sizing: border-box; }
.pv-slice.cut-b { border-bottom: 0.12mm solid #000; }
.pv-slice.cut-t { border-top: 0.12mm solid #000; }
.pv-head { position: absolute; overflow: visible; }
.pv-no { position: absolute; left: 0; right: 0; bottom: 8mm; text-align: center; font-size: 9pt; color: #555; }
.pv-sheet .pp, .pv-flow .pp { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.pv-sheet .pp.sq, .pv-flow .pp.sq { white-space: pre; overflow-wrap: normal; word-break: keep-all; }
.pv-sheet .tab, .pv-flow .tab { display: inline-block; width: 8mm; }
.pv-sheet table, .pv-flow table { width: auto; border-collapse: collapse; table-layout: fixed; font-size: inherit; display: inline-table; vertical-align: top; text-indent: 0; }
.pv-sheet td, .pv-flow td { white-space: normal; text-align: inherit; border: 0; overflow: hidden; overflow-wrap: anywhere; line-height: normal; }
.qrfull .cnt { font-size: clamp(18px, 2.2vw, 28px); font-weight: 700; color: var(--ok); margin-top: 14px; }

/* 알림 */
.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 999px; font-weight: 600; font-size: 13px; z-index: 60; box-shadow: 0 8px 24px rgba(0, 0, 0, .2); }

/* 로그인 */
.login { min-height: 100%; display: grid; place-items: center; padding: 24px 16px; background: var(--navy); }
.login form { width: min(380px, 100%); background: var(--card); border-radius: 18px; padding: 28px; display: grid; gap: 14px; }
.login .brand { color: var(--ink); padding: 0 0 6px; }
.login .brand small { color: var(--muted); }
.login .msg { color: var(--bad); font-size: 13px; min-height: 1em; margin: 0; }

/* 태블릿·폰: 노선은 짧은 줄로, 상세의 노선은 세로로 */
@media (max-width: 1000px) {
  .shell { grid-template-columns: minmax(0, 1fr); }
  .rail { position: sticky; top: 0; height: auto; z-index: 20; flex-direction: row; align-items: center; padding: 8px 12px; padding-top: calc(8px + env(safe-area-inset-top, 0px)); overflow-x: auto; gap: 4px; }
  .brand { padding: 0 8px 0 0; font-size: 14px; } .brand small, .legend, .who span { display: none; }
  .rail a.nav { padding: 8px 10px; font-size: 13px; white-space: nowrap; flex: none; } .rail a.nav svg { display: none; }
  .rail .brand div { white-space: nowrap; } .who { flex: none; } .who button { white-space: nowrap; }
  .who { border: 0; margin-left: auto; padding: 0 0 0 8px; }
  .ln { grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; padding: 12px 0; }
  .nm b { font-size: 15px; } .nm span { font-size: 13px; color: #4a5263; }
  .dl { font-size: 13px; } .dl small { font-size: 12.5px; color: #4a5263; }
  .ln .track { grid-column: 1 / -1; grid-row: 2; height: 40px; }
  .ln:hover { background: none; }
  .ln .stop span { display: none; }
  .strip, .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .main { padding-block: 16px 48px; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
  .map { padding: 4px 14px; }
  .rail .brand div { display: none; }
  .strip, .grid2, .grid3 { grid-template-columns: minmax(0, 1fr); }
  /* 폰: 노선은 옆으로 밀어 보는 띠(역마다 72px) */
  .bigline { padding: 4px 0; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; }
  .bigline .track { width: max(calc(100% - 16px), calc(var(--n, 12) * 30px)); margin: 0 8px; }
  .bigline .stop { scroll-snap-align: center; }
  .bigline .stop span { font-size: 11.5px; }
  .phead h1 { font-size: 20px; }
  .st-head .row { width: 100%; }
  .f.inline { flex: 1 1 140px; } .f.inline .in { flex: 1; }
  .file { grid-template-columns: minmax(0, 1fr) auto; } .file b { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) { .track .run { transition: none; } .stop.now.pulse i { animation: none; } }

/* 강사 서류 확인 (결과보고) */
.inst-check { margin: 14px 0 6px; display: grid; gap: 6px; }
.inst-check h3 { margin: 0; font-size: 15px; }
.inst-check .ok { color: var(--ok); font-weight: 600; }
.inst-check .warn { color: var(--bad); font-weight: 600; }

/* 문서로 쓰기 (시험) */
.docf .pv-bar { flex-wrap: wrap; gap: 8px 14px; }
.docf-key { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted, #667); }
.docf-key i { display: inline-block; width: 14px; height: 10px; border-radius: 2px; margin-left: 6px; }
.docf-key .k-f { background: #fff6c8; outline: 1.5px solid #e2b400; }
.docf-key .k-a { background: #e6e9ef; }
.docf-key .k-ev { border: 1.5px dashed #2f6fdf; }
.docf-tip { position: sticky; top: 0; z-index: 3; margin: 0 auto; max-width: 860px; padding: 10px 14px; background: #fff; border: 1px solid #d5dbe6; border-radius: 8px; box-shadow: 0 4px 14px rgba(0,0,0,.1); font-size: 13.5px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.docf [data-f] { box-shadow: inset 0 0 0 999px rgba(255, 214, 0, .16); cursor: text; outline: 1.5px solid rgba(226, 180, 0, .55); outline-offset: -1.5px; }
.docf [data-f]:hover { outline-color: #e2b400; }
.docf [data-f]:focus { outline: 2px solid #1d5bd6; box-shadow: inset 0 0 0 999px rgba(255,255,255,1); }
.docf [data-a] { box-shadow: inset 0 0 0 999px rgba(110, 122, 145, .13); cursor: help; }
.docf table[data-a] td { box-shadow: inset 0 0 0 999px rgba(110, 122, 145, .13); }
.docf table[data-ev] { outline: 2px dashed #2f6fdf; outline-offset: 2px; cursor: pointer; }
.docf table[data-ev]:hover { outline-color: #0b46b8; background: rgba(47,111,223,.05); }

/* 1. 일정·강사 */
.sch-top { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 12px 16px; align-items: end; margin-bottom: 12px; }
.sch-top .seg-tabs { margin: 4px 0; }
@media (max-width: 760px) { .sch-top { grid-template-columns: 1fr; } }
table.sch td { padding: 4px; }
table.sch .in { min-width: 0; width: 100%; }
table.sch td:nth-child(2) .in { min-width: 130px; } table.sch td:nth-child(3) .in, table.sch td:nth-child(4) .in { min-width: 92px; }
table.sch td:nth-child(5) { min-width: 220px; } table.sch td:nth-child(6) .in { min-width: 100px; }
table.sch .sch-no { font-variant-numeric: tabular-nums; }
table.sch td:nth-child(4) .in { min-width: 88px; } table.sch td:nth-child(4) { width: 96px; }
table.sch td.sch-end { min-width: 64px; color: var(--muted, #667); font-variant-numeric: tabular-nums; }
table.sch td:nth-child(5) { min-width: 64px; } table.sch td:nth-child(6) { min-width: 220px; } table.sch td:nth-child(7) .in { min-width: 100px; } table.sch td:nth-child(6) .in { min-width: 0; }
table.sch .hm24 { display: inline-flex; gap: 4px; }
table.sch .hm24 .in { min-width: 0; width: auto; padding-inline: 8px; }
table.sch td:nth-child(3) { min-width: 150px; }
/* 참여 교수(사업 참여 명단) */
.profs-box { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.profs-box h2 small { font-weight: 400; font-size: 12.5px; margin-left: 6px; }
table.profs td { padding: 4px; }
table.profs .in { min-width: 0; width: 100%; }
table.profs td:nth-child(1) .in { min-width: 90px; } table.profs td:nth-child(2) .in { min-width: 170px; }
table.profs td:nth-child(3) .in, table.profs td:nth-child(4) .in { min-width: 100px; } table.profs td:nth-child(5) .in { min-width: 64px; }
table.profs td:nth-child(6) { width: 1%; white-space: nowrap; }

/* 수요조사 */
.dm-list { display: grid; gap: 10px; }
.dm-card { display: flex; gap: 14px; padding: 14px 16px; border: 1px solid var(--line, #e3e7ee); border-radius: 12px; background: var(--card, #fff); color: inherit; text-decoration: none; }
.dm-card:hover { border-color: var(--ink-3, #9aa3b2); }
.dm-line { width: 4px; border-radius: 4px; flex: none; }
.dm-main { display: grid; gap: 4px; min-width: 0; flex: 1; }
.dm-top { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; }
.dm-meta { font-size: 13px; }
.dm-page .panel { margin-bottom: 12px; }
.dm-flist { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 6px; font-size: 14px; }
.dm-sum p { margin: 6px 0; line-height: 1.6; }
.dm-rates { display: flex; flex-wrap: wrap; gap: 6px; }
.dm-wait { border-style: dashed; }
table.dm-tbl td { vertical-align: top; padding: 4px; }
table.dm-tbl td .in { width: 100%; min-width: 120px; }
table.dm-tbl td textarea.in { min-width: 200px; }
table.dm-tbl td.dm-costs { min-width: 470px; }
.dm-c { display: flex; align-items: center; gap: 4px; margin-bottom: 4px; }
.dm-c .in { min-width: 0 !important; width: auto; }
.dm-c [data-c=item] { flex: 1 1 150px; } .dm-c [data-c=price] { width: 92px; } .dm-c .s { width: 46px; }
.dm-camt { min-width: 76px; text-align: right; font-size: 13px; }
table.dm-tbl td.dm-amt .in { min-width: 110px; }
.dm-c .s2 { width: 78px; padding-inline: 6px; }
table.dm-tbl td.dm-costs { min-width: 320px; }
.dm-cview { display: grid; gap: 4px; cursor: pointer; padding: 6px 8px; border-radius: 8px; border: 1px solid transparent; font-size: 13.5px; line-height: 1.45; }
.dm-cview:hover { border-color: var(--line, #e3e7ee); background: var(--bg-2, #f6f8fb); }
.dm-cl { display: flex; justify-content: space-between; gap: 12px; } .dm-cl b { white-space: nowrap; font-weight: 600; }
dialog:has(.dm-cdlg) { width: min(920px, calc(100vw - 32px)); }
.dm-cdlg table td { padding: 4px; } .dm-cdlg .in { width: 100%; min-width: 0; }
.dm-cdlg td:nth-child(1) { min-width: 200px; } .dm-cdlg td:nth-child(2) { width: 120px; } .dm-cdlg td:nth-child(3) { width: 96px; }
.dm-cdlg td:nth-child(4), .dm-cdlg td:nth-child(5), .dm-cdlg td:nth-child(6) { width: 70px; } .dm-cdlg td.dm-camt { width: 110px; text-align: right; white-space: nowrap; }
/* 수요조사: 모니터 폭을 다 쓰고, 넘치면 표 안에서 가로·세로 스크롤(스크롤 막대가 화면 안에) */
.page.dm-page { max-width: none; }
.dm-page .tbl-wrap { max-height: calc(100vh - 230px); overflow: auto; }
.dm-page .dm-tbl thead th { position: sticky; top: 0; z-index: 1; background: var(--card, #fff); }
.dm-page .dm-tbl td:first-child, .dm-page .dm-tbl th:first-child { position: sticky; left: 0; z-index: 1; background: var(--card, #fff); }
table.dm-tbl td.dm-w-dept .in { min-width: 0; width: 132px; }
table.dm-tbl td.dm-w-period .in { min-width: 0; width: 128px; }
table.dm-tbl td.dm-w-title textarea.in { min-width: 0; width: 230px; }
table.dm-tbl td.dm-w-area textarea.in { min-width: 0; width: 240px; }
table.dm-tbl td.dm-costs { min-width: 0; width: 330px; }
table.dm-tbl td.dm-amt .in { min-width: 0; width: 118px; }
table.dm-tbl [data-allot] { min-width: 0 !important; width: 118px; }
table.dm-tbl [data-sel] { min-width: 0 !important; width: 88px; }
table.dm-tbl td.dm-w-title textarea.in { width: 210px; } table.dm-tbl td.dm-w-area textarea.in { width: 210px; } table.dm-tbl td.dm-costs { width: 300px; }
table.dm-tbl td.dm-w-dept .in { width: 118px; } table.dm-tbl td.dm-w-period .in { width: 118px; }

/* 양식함 */
.fb-tabs { flex-wrap: wrap; }
.fb-list { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 2px; }
.fb-list li { display: flex; align-items: center; gap: 10px; padding: 8px 6px; border-bottom: 1px solid var(--line, #eef1f5); }
.fb-list li:last-child { border-bottom: 0; }
.fb-ic { flex: none; width: 40px; text-align: center; font-size: 11px; font-weight: 700; color: var(--ink-3, #667); border: 1px solid var(--line, #dfe4ec); border-radius: 6px; padding: 2px 0; }
.fb-name { flex: 1; min-width: 0; text-align: left; background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; }
.fb-name:hover { text-decoration: underline; }
.fee h3 { margin: 18px 0 4px; font-size: 16px; } .fee h3:first-of-type { margin-top: 6px; }
.fee table { max-width: 640px; }
.pv-xls { background: #fff; padding: 12px; margin: 0 auto 16px; max-width: 1100px; overflow: auto; }
.pv-xls table { border-collapse: collapse; font-size: 12px; } .pv-xls td { border: 1px solid #ccc; padding: 3px 6px; white-space: pre-wrap; }
.pv-pdf { display: grid; gap: 14px; justify-items: center; }
