/* 개요 페이지(/): 시안 A5 그대로(D1에서 경로와 토큰 파일만 바꿈). A7(2026-11-19 밤): 예시 녹화 이름 링크(A6)와 근거 그래프의 비교 방법 색(회색)을 더함. A9(2026-11-20, D5): 첫 화면은 hero_a9.css, 방법 구역 ①②③은 fs_a9.css, 이 파일에는 사진 위 흰 판 토큰 셋만 더함(끝 쪽). 시안 A5 (2026-11-19 밤): 시안 A4의 일곱 관점 검토 반영판(BRIEF_A5_ko.md). 바탕, 면, 글, 선, 보라와 라즈베리 토큰은 A4 그대로다.
   바뀐 색은 둘이다. 라이트 시간 막대 구간은 이름표 칩 색 계열로 진하게(흰 바탕 대비 3:1 이상), 다크 말풍선은 어두운 반투명 카드(진한 바탕, 흰 글).
   영상 위 상자와 이름표는 두 판 모두 같은 값(--vid-accent, --vid-cand)이다. 이 페이지에서 그림자와 뒤 흐림은 말풍선에만 쓴다.
   첫 화면 영상 높이는 화면 높이에서 머리 줄, 첫 화면 글, 조작 줄, 세 단계 문장 높이를 뺀 값이다(1440x780, 1536x730에서 세 문장까지 첫 화면 안).
   움직임은 첫 화면 장면의 한 번 재생(끊김과 후보 등장에서 멈춤, 단계 전환은 투명도와 6px 이동 250ms)뿐이다. 방법 구역 띠는 움직이지 않는다.
   동작 줄이기 설정이면 전환 효과를 모두 끈다. */

:root {
  /* 색 토큰은 /static/tm/tokens.css(시안 A5의 세 벌 그대로), 글꼴은 /static/tm/base.css에서 읽는다(D1, 2026-11-19 밤).
     이 파일에는 첫 화면의 크기 값만 남긴다. */
  /* 첫 화면 영상 높이: 화면 높이에서 머리 줄, 첫 화면 글, 조작 줄과 세 단계 문장, 여백을 뺀 값 */
  --frame-h: clamp(240px, calc(100vh - 468px), 742px);
  --bub-ph: clamp(110px, calc(var(--frame-h) - 120px), 184px);   /* 말풍선 사진 높이: 영상이 낮으면 함께 낮춤(말풍선이 영상 틀 안에 들게) */
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: "Wanted Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px; line-height: 1.6; word-break: keep-all; overflow-wrap: break-word;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
h1, h2, h3, p, figure, dl, dd, ol, ul { margin: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.wrap { width: min(1320px, calc(100% - 120px)); margin-inline: auto; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--text); color: var(--bg); padding: 8px 12px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 16px; }

.ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* 머리 줄 (Google DeepMind Veo 머리 줄) */
.top { background: var(--bg); }
.top-in { display: flex; align-items: center; height: 72px; gap: 48px; }
.brand { font-size: 21px; font-weight: 600; color: var(--text); text-decoration: none; letter-spacing: -0.01em; }
.nav { display: flex; gap: 32px; flex: 1; }
.nav a { color: var(--text); text-decoration: none; font-size: 16px; }
.nav a:hover { color: var(--accent); }
.theme-btn, .icon-btn, .menu-btn {
  width: 40px; height: 40px; display: inline-grid; place-items: center; flex: none;
  border: 1px solid var(--line); background: var(--bg); border-radius: 8px; cursor: pointer; color: var(--text);
}
.theme-btn:hover, .icon-btn:hover, .menu-btn:hover { border-color: var(--muted); }
.menu-btn { display: none; }
/* 언어 전환과 테마 단추(D1): 머리 줄 오른쪽에 한 묶음. 언어 전환은 /static/tm/base.css의 .tm-lang을 첫 페이지 단추 높이(40px)에 맞춤 */
.top-tools { display: flex; align-items: center; gap: 8px; flex: none; }
.top .tm-lang { height: 40px; }
.menu-btn .ico-close { display: none; }
.menu-btn[aria-expanded="true"] .ico-close { display: block; }
.menu-btn[aria-expanded="true"] .ico-menu { display: none; }
.ico-sun { display: none; }
:root[data-theme="dark"] .ico-sun { display: block; }
:root[data-theme="dark"] .ico-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .ico-sun { display: block; }
  :root:not([data-theme="light"]) .ico-moon { display: none; }
}

/* 0. 첫 화면 (Veo 첫 화면의 둥근 틀, V7 첫 화면의 큰 제목). 진한 첫 줄은 얻는 것, 회색 둘째 줄은 두 모델. 동일 인물 후보는 영상 안 오른쪽 아래 말풍선 */
.hero { padding-bottom: 8px; }
.hero-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 640px); align-items: end; gap: 48px; padding: 28px 0 24px; }
h1 { font-size: 112px; line-height: 0.92; font-weight: 600; letter-spacing: -0.045em; }
.cat { font-size: 44px; line-height: 1.15; font-weight: 500; letter-spacing: -0.02em; margin-top: 8px; }
.lede { font-size: 19px; line-height: 1.55; font-weight: 500; }
.gain { font-size: 16px; line-height: 1.5; color: var(--muted); margin-top: 10px; }
.actions { display: flex; gap: 12px; margin-top: 20px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; height: 46px; padding: 0 20px; border-radius: 8px;
  border: 1px solid var(--line); color: var(--text); text-decoration: none; font-weight: 600; font-size: 16px;
}
.btn:hover { border-color: var(--muted); }
.btn-main { background: var(--text); color: var(--bg); border-color: var(--text); }
.btn-main:hover { border-color: var(--text); }

.frame { border-radius: 28px; overflow: hidden; background: var(--face); }
.scene { display: block; width: 100%; height: 100%; }
.hero-stage { display: grid; column-gap: 24px; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "frame frame" "ctl seg" "steps rec"; }
.hero-frame { grid-area: frame; height: var(--frame-h); }
.ctl { grid-area: ctl; display: flex; align-items: center; gap: 16px; margin-top: 12px; min-width: 0; }
/* 보기 전환: 고른 쪽은 검정 채움 대신 얇은 테두리(첫 화면의 검정 채움 단추는 "예시 리포트 보기" 하나) */
.seg { grid-area: seg; display: inline-flex; border: 1px solid var(--line); border-radius: 8px; padding: 3px; margin-top: 15px; align-self: start; justify-self: end; min-width: 200px; }
.seg-b { flex: 1; border: 1px solid transparent; background: transparent; height: 32px; padding: 0 10px; border-radius: 6px; cursor: pointer; font-size: 14px; color: var(--muted); white-space: nowrap; }
.seg-b:hover { color: var(--text); }
.seg-b[aria-pressed="true"] { border-color: var(--text); color: var(--text); font-weight: 600; }
.rec { grid-area: rec; margin-top: 8px; color: var(--muted); font-size: 14px; white-space: nowrap; justify-self: end; }
/* 시간 막대: 끌어서 옮기는 slider(가로로 끌기, 화살표 글쇠). 세로 끌기는 페이지 넘김 */
.tbar-box { flex: 1; min-width: 0; height: 46px; cursor: pointer; border-radius: 6px; touch-action: pan-y; }
.tbar-box svg, .case-tbar svg, .fl-bar svg { display: block; width: 100%; height: 100%; overflow: visible; }
/* 재생 단추 하나가 멈춤, 재생, 다시 보기(끝에서 멈춘 뒤, 글 함께)를 오간다 */
.play-btn { gap: 6px; }
.play-btn .ico-play, .play-btn .ico-replay, .play-btn .play-lbl { display: none; }
.play-btn.is-paused .ico-play { display: block; }
.play-btn.is-paused .ico-pause, .play-btn.is-ended .ico-pause, .play-btn.is-ended .ico-play { display: none; }
.play-btn.is-ended { width: auto; padding: 0 14px 0 10px; grid-auto-flow: column; }
.play-btn.is-ended .ico-replay { display: block; }
.play-btn.is-ended .play-lbl { display: inline; font-size: 15px; font-weight: 600; white-space: nowrap; }
/* 세 단계 문장: 늘 셋 다 보이고 지금 단계만 진하게. 앞의 시각은 사건 시각으로 고정.
   진한 글이 줄을 바꿔도 칸 높이가 그대로이도록, 각 줄은 진한 글 복사본(보이지 않음)과 같은 칸을 겹쳐 쓴다 */
.steps { grid-area: steps; list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 1px; font-size: 15px; line-height: 1.5; min-width: 0; font-variant-numeric: tabular-nums; }
.st { display: flex; gap: 8px; color: var(--muted); }
.st-no { flex: none; width: 1.1em; }
.st-tx { display: grid; min-width: 0; }
.st-tx > span, .st-tx::after { grid-area: 1 / 1; }
.st-tx::after { content: attr(data-text); font-weight: 600; visibility: hidden; }
.st.is-now { color: var(--text); font-weight: 600; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* 말풍선: 영상 틀 안 오른쪽 아래 모서리(얼굴을 가리지 않는 자리). 라이트는 반투명 흰 카드, 다크는 어두운 반투명 카드.
   꼬리표는 영상 속 상자의 이름표와 같은 꼴과 색이고, 영상 속 1순위 상자와는 캔버스의 가는 선으로 닿는다 */
.bub {
  --b-acc: var(--vid-accent); --b-cand: var(--vid-cand); --b-ink: var(--vid-ink); --b-text: var(--vid-text); --b-muted: var(--vid-muted); --b-face: var(--vid-face);
  grid-area: frame; align-self: end; justify-self: end; margin: 0 18px 18px 0; position: relative; z-index: 1;
  background: var(--vid-bub); border: 1px solid var(--vid-bub-line); border-radius: 14px; padding: 12px 14px 10px;
  box-shadow: 0 4px 16px var(--vid-bub-shadow);
  -webkit-backdrop-filter: blur(10px) saturate(1.05); backdrop-filter: blur(10px) saturate(1.05);
  color: var(--b-text);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0.25s;
}
.bub.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s; }
.bub-cols { display: flex; gap: 14px; align-items: flex-end; }
.bub-c { display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 0; }
.bub-tag { display: inline-block; font-size: 12.5px; font-weight: 600; line-height: 21px; padding: 0 7px; border-radius: 6px; background: var(--b-acc); color: var(--b-ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.bub-c.is-top .bub-tag { background: var(--b-cand); }
.bub-ph { display: block; height: var(--bub-ph); border-radius: 8px; border: 2px solid var(--b-acc); overflow: hidden; background: var(--b-face); }
.bub-c.is-top .bub-ph { border-color: var(--b-cand); }
.bub-ph img { height: 100%; width: auto; max-width: none; }
/* ③ Trace 출력 보기: 1순위 사진의 이름표와 테두리가 4번 색(결과 상태 "4번으로 이어진 30번") */
.bub.is-trace .is-top .bub-tag { background: var(--b-acc); }
.bub.is-trace .is-top .bub-ph { border-color: var(--b-acc); }
.bub-more { font-size: 12.5px; color: var(--b-muted); margin-top: 8px; line-height: 1.4; }

/* 공통 구역 */
.sec { padding: 128px 0 0; }
.eyebrow { font-size: 15px; color: var(--muted); display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; }
h2 { font-size: 44px; line-height: 1.18; font-weight: 600; letter-spacing: -0.02em; }   /* 구역 제목 다섯 모두 같은 크기 */
.sub { font-size: 19px; color: var(--muted); max-width: 760px; margin-top: 18px; }
.en { font-size: 15px; font-weight: 500; color: var(--muted); }

/* 1. 문제: ID 전환과 ID 단절을 좌우로 (V7 영상 띠 칸, 장면마다 프레임 띠, 트랙 시간 막대, 한 줄 캡션) */
.cases { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; margin-top: 56px; }
.case-head { display: block; }
.case-h { font-size: 22px; font-weight: 600; display: flex; align-items: baseline; gap: 10px; }
.case-cap { font-size: 16px; color: var(--muted); margin-top: 4px; font-variant-numeric: tabular-nums; }
.strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 18px; }
.cell .frame { border-radius: 14px; aspect-ratio: 1 / 1; }
.cell figcaption { font-size: 13px; color: var(--muted); margin-top: 6px; font-variant-numeric: tabular-nums; }
.case-tbar { margin-top: 18px; }
.case-note { font-size: 16px; margin-top: 10px; }

/* 2. 방법 (SAM 2 본문: 가운데 큰 제목, 글 왼쪽과 영상 오른쪽 줄) */
.arch { margin-top: 56px; }
.mat { background: var(--face); border: 1px solid var(--line); border-radius: 18px; padding: 12px; }
.mat-paper { background: var(--paper); border-radius: 10px; overflow: hidden; }
.arch .mat { border-radius: 24px; }
.arch .mat-paper { border-radius: 14px; padding: 20px 24px; }
.arch-scroll { overflow-x: auto; }
.arch-scroll img { width: 100%; min-width: 860px; }
.arch-zoom { display: block; cursor: zoom-in; border-radius: 6px; }
.arch-cap { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; font-size: 15px; color: var(--muted); margin-top: 12px; }
.zoom-btn, .zoom-close {
  display: inline-flex; align-items: center; gap: 6px; flex: none; height: 36px; padding: 0 12px; border-radius: 8px;
  border: 1px solid var(--line); background: var(--bg); color: var(--text); font-size: 14px; font-weight: 500; cursor: pointer; white-space: nowrap;
}
.zoom-btn:hover, .zoom-close:hover { border-color: var(--muted); }
.zoom-btn .ico, .zoom-close .ico { width: 16px; height: 16px; }
/* 구조도 크게 보기: 화면 가득 대화 상자(흰 판), 그림은 폭 2400px로 가로 넘김 */
.zoom-dlg { width: calc(100vw - 32px); max-width: none; height: calc(100vh - 32px); max-height: none; padding: 0; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); color: #1b1a18; overflow: hidden; }
.zoom-dlg[open] { display: flex; flex-direction: column; }
.zoom-dlg::backdrop { background: rgb(0 0 0 / 0.6); }
.zoom-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 16px; border-bottom: 1px solid #e4e1db; }
.zoom-t { font-size: 16px; font-weight: 600; }
.zoom-close { background: #ffffff; color: #1b1a18; border-color: #e4e1db; }
.zoom-scroll { flex: 1; overflow: auto; padding: 24px; }
.zoom-img { width: 2400px; max-width: none; }
.models { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; margin-top: 64px; }
.model { border-top: 1px solid var(--text); padding-top: 22px; }
.model h3 { font-size: 24px; font-weight: 600; display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; }
/* 모델 카드는 번호 대신 이름표(그 모델이 내는 것) */
.mtag { font-size: 13px; font-weight: 500; line-height: 24px; padding: 0 9px; border-radius: 6px; border: 1px solid var(--accent); color: var(--accent); white-space: nowrap; }
.kind { color: var(--muted); font-size: 15px; margin: 6px 0 16px; }
.model dl > div { display: grid; grid-template-columns: 96px 1fr; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); }
.model dt { color: var(--muted); font-size: 15px; }
.model dd { font-size: 16px; }

/* 방법 구역 세 단계 띠: 움직이지 않는 그림. 단계를 누르면 그 단계 설명이 진해짐(다시 누르면 처음대로) */
.walk { margin-top: 96px; }
.walk-h { font-size: 24px; font-weight: 600; }
.flow { list-style: none; padding: 0; margin: 20px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.fl { min-width: 0; padding: 22px 28px 0; border-left: 1px solid var(--line); }
.fl:first-child { padding-left: 0; border-left: 0; }
.fl-b { display: block; width: 100%; text-align: left; background: transparent; border: 0; padding: 0; cursor: pointer; color: inherit; border-radius: 8px; }
.fl-h { display: flex; align-items: center; gap: 8px; font-size: 17px; font-weight: 600; line-height: 24px; }
.fl-no { flex: none; font-weight: 600; }
.fl-vis { display: flex; align-items: center; height: 180px; margin-top: 16px; }
.fl-bar { display: block; width: 100%; max-width: 340px; height: 46px; }
.fl-pair { display: flex; align-items: flex-end; gap: 18px; }
.fl-c { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.fl-c .ph { display: block; height: 146px; border-radius: 8px; border: 2px solid var(--accent); overflow: hidden; background: var(--face); }
.fl-c.is-top .ph { border-color: var(--cand); }
.fl-c .ph img { height: 100%; width: auto; max-width: none; }
.fl-c .cap { font-size: 13px; line-height: 1.35; white-space: nowrap; font-variant-numeric: tabular-nums; }
.fl-c .cap b { font-weight: 600; }
.fl-more { font-size: 13px; color: var(--muted); align-self: flex-end; line-height: 1.4; padding-bottom: 2px; }
.fl-t { display: grid; margin-top: 14px; font-size: 16px; line-height: 1.55; color: var(--muted); }
.fl-t > span, .fl-t::after { grid-area: 1 / 1; }
.fl-t::after { content: attr(data-text); font-weight: 600; visibility: hidden; }
.fl.is-now .fl-t { color: var(--text); font-weight: 600; }

/* 3. 근거: 짙은 판 (시안 B 성능 판, Veo 성능 구역의 판 아래 제목 대신 판 위 제목과 정의). 판 안에서는 다크 토큰을 쓴다 */
.evp {
  --bg: #151413; --face: #1f1e1c; --text: #f2f0ec; --muted: #a9a59e; --line: #36332f;
  --accent: #9282e6; --cand: #c4508f; --tag-ink: #0a0908;   /* 모델 점은 보라 속 찬 점, 비교 점은 회색(--muted) 빈 원. 라즈베리는 후보 전용(A7, 벤치마크와 같은 규칙) */
  color-scheme: dark;
  background: var(--face); color: var(--text); border: 1px solid var(--line); border-radius: 28px;
  padding: 36px 44px 36px; margin-top: 40px; position: relative;
}
.evp-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.evp-meta { display: grid; gap: 6px; font-size: 15px; min-width: 0; }
.evp-meta > div { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 12px; }
.evp-meta dt { color: var(--muted); }
.evp-link { display: inline-flex; align-items: center; gap: 4px; font-size: 16px; font-weight: 500; white-space: nowrap; text-decoration: none; }
.evp-link:hover { text-decoration: underline; }
.evp-link .ico { width: 18px; height: 18px; }
.tabs { display: flex; gap: 28px; margin-top: 8px; border-bottom: 1px solid var(--line); overflow-x: auto; }
.tab { background: transparent; border: 0; border-bottom: 2px solid transparent; padding: 14px 0 12px; font-size: 16px; color: var(--muted); cursor: pointer; white-space: nowrap; margin-bottom: -1px; }
.tab[aria-selected="true"] { color: var(--text); font-weight: 600; border-bottom-color: var(--accent); }
.ev-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; margin-top: 32px; }
.ev-top { display: block; }
.ev-h { font-size: 20px; font-weight: 600; }
.ev-def { font-size: 15px; color: var(--muted); margin-top: 4px; }
.chart { position: relative; margin-top: 18px; }
.chart svg { display: block; width: 100%; overflow: visible; }
.ev-claim { font-size: 16px; margin-top: 16px; }
.ev-claim:empty { display: none; }
.c-grid { stroke: var(--line); stroke-width: 1; }
.c-tick { fill: var(--muted); font-size: 13px; font-family: inherit; }
.c-label { fill: var(--muted); font-size: 15px; font-family: inherit; }
.c-label.is-model { fill: var(--text); font-weight: 600; }
.c-val { fill: var(--muted); font-size: 14px; font-family: inherit; font-variant-numeric: tabular-nums; }
.c-val.is-model { fill: var(--text); font-weight: 600; }
.c-ci { stroke: var(--mk-cmp); stroke-width: 2; stroke-linecap: round; }
.c-ci.is-model { stroke: var(--accent); stroke-width: 3; }
.c-dot { fill: var(--face); stroke: var(--mk-cmp); stroke-width: 2; }
.c-dot.is-model { fill: var(--accent); stroke: var(--face); stroke-width: 2; }
.c-hit { fill: transparent; cursor: default; }
.c-hit:focus { outline: none; }
.c-row:focus-visible .c-band, .c-row:hover .c-band { fill: var(--line); opacity: 0.6; }
.c-band { fill: transparent; }
.c-key { fill: var(--muted); font-size: 13px; font-family: inherit; }

details.more { margin-top: 28px; }
details.more summary { cursor: pointer; color: var(--accent); font-size: 16px; width: fit-content; }
.tscroll { overflow-x: auto; margin-top: 14px; }
.tbl { border-collapse: collapse; width: 100%; font-size: 15px; font-variant-numeric: tabular-nums; }
.tbl caption { text-align: left; color: var(--muted); font-size: 14px; padding-bottom: 8px; }
.tbl th, .tbl td { text-align: left; padding: 11px 16px 11px 0; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tbl thead th { color: var(--muted); font-weight: 500; font-size: 14px; border-bottom-color: var(--muted); }
.tbl td.num, .tbl th.num { text-align: right; }
.tbl .grp { text-align: center; border-bottom: 1px solid var(--line); }
.tbl .is-trace { font-weight: 600; }
.tbl tbody th { font-weight: 600; }
.tbl .note { color: var(--muted); font-size: 14px; font-weight: 400; display: block; }
.defs { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px 40px; margin-top: 22px; font-size: 14px; }
.defs > div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 12px; }
.defs dt { font-weight: 600; }
.defs dd { color: var(--muted); }
.out { margin-top: 48px; padding-top: 40px; border-top: 1px solid var(--line); }
.out-h { font-size: 22px; font-weight: 600; }
/* 교정 정밀도: 표 머리 가까이, 분모가 다른 두 값을 두 줄로 */
.prec { margin-top: 14px; padding: 16px 0 18px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.prec-h { font-size: 15px; color: var(--muted); }
.prec-l { font-size: 17px; margin-top: 6px; font-variant-numeric: tabular-nums; }
.out-def { font-size: 16px; margin-top: 18px; }
.out-def b { font-weight: 600; }
.out-p { color: var(--muted); font-size: 15px; margin-top: 4px; }
.src { color: var(--muted); font-size: 14px; margin-top: 16px; }

/* 그래프 설명 상자 (SVG 안) */
.c-tip-bg { fill: var(--text); }
.c-tip-t { fill: var(--bg); font-size: 13px; font-family: "Wanted Sans", system-ui, sans-serif; font-variant-numeric: tabular-nums; }
.c-tip-t.is-b { font-weight: 600; }

/* 4. 사용 (DJI Enterprise 홈 최신 업데이트 첫 줄: 큰 화면과 옆 글) */
.use-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 988px); gap: 40px; margin-top: 72px; align-items: start; }
.use-no { width: 32px; height: 32px; border-radius: 8px; background: var(--text); color: var(--bg); display: grid; place-items: center; font-size: 15px; font-weight: 600; margin-bottom: 16px; }
.use-text h3 { font-size: 26px; font-weight: 600; margin-bottom: 10px; }
.use-text p { color: var(--muted); font-size: 17px; }
.use-text p.use-no { color: var(--bg); }
.use-text p.use-privacy { font-size: 15px; color: var(--text); margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.use-media figcaption { font-size: 15px; color: var(--muted); margin-top: 10px; }
.code-scroll { overflow-x: auto; background: var(--face); border-radius: 16px; }
.code { margin: 0; padding: 22px 26px; font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: 14.5px; line-height: 1.9; color: var(--text); min-width: 620px; }
.code .ln { color: var(--muted); display: inline-block; width: 4.2em; user-select: none; }
.code .row { display: block; padding-left: 10px; border-left: 3px solid transparent; }
.code .row.is-mark { border-left-color: var(--accent); }
.code .gap { color: var(--muted); font-family: "Wanted Sans", system-ui, sans-serif; font-size: 14px; }
.code .why { color: var(--muted); font-family: "Wanted Sans", system-ui, sans-serif; font-size: 14px; margin-left: 16px; }
.code b { font-weight: 700; text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }

.pieces { display: grid; gap: 28px; }
.piece { display: grid; gap: 10px; }
.piece-row { display: grid; grid-template-columns: 452px minmax(0, 1fr); gap: 28px; align-items: start; }
.piece-scroll { overflow-x: auto; }
.piece-img img { width: 100%; }
.piece-img.w962 { min-width: 988px; }   /* 조각 최소 폭 962px + 안쪽 여백 12px 둘 + 선 1px 둘 */
.piece-img.w426 { width: 452px; }
.piece-img.w390 { width: 416px; }
.piece-cap { font-size: 16px; }
/* 앱 조각 주석: 번호 대신 이름표 */
.piece-cap .pn { display: inline-block; font-size: 13px; font-weight: 500; line-height: 22px; padding: 0 8px; border-radius: 6px; border: 1px solid var(--accent); color: var(--accent); margin-right: 10px; vertical-align: 1px; white-space: nowrap; }
.report-piece { margin-top: 28px; display: grid; grid-template-columns: 452px minmax(0, 1fr); gap: 28px; align-items: start; }
.report-piece .piece-img { width: 452px; }
.report-cap { font-size: 16px; color: var(--muted); }

.band { margin-top: 72px; background: var(--face); border-radius: 24px; padding: 32px 36px 36px; }
.band h3 { font-size: 20px; font-weight: 600; margin-bottom: 10px; }
.band-text p { font-size: 16px; }
.band-text p + p { margin-top: 4px; }
.pairs { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; margin-top: 24px; }
.pair-h { font-size: 15px; font-weight: 600; margin-bottom: 8px; font-variant-numeric: tabular-nums; }
.pair-imgs { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
.pair-imgs .frame { border-radius: 12px; aspect-ratio: 16 / 10; }
.pair-imgs figcaption { font-size: 14px; color: var(--muted); margin-top: 6px; line-height: 1.4; }

/* 6. 자료 (SAM 2 끝의 자료 링크 두 열) */
.data-h { font-size: 20px; font-weight: 600; margin-top: 56px; }
.tbl-ex img { width: 96px; height: 54px; object-fit: cover; border-radius: 6px; }
.tbl-ex .rec-cell { display: flex; align-items: center; gap: 14px; font-weight: 600; white-space: nowrap; color: var(--text); text-underline-offset: 3px; }
.tbl-ex a.rec-cell:hover { color: var(--accent); }   /* A6: 녹화 이름이 리포트 링크(리포트 칸을 없앰) */
.tbl td.nowrap { white-space: nowrap; }
.spec { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 48px; margin-top: 14px; }
.spec > div { display: grid; grid-template-columns: 112px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.spec dt { color: var(--muted); font-size: 15px; }
.spec dd { font-size: 16px; }
.links { list-style: none; padding: 0; margin: 64px 0 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 48px; }
.links a { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); color: var(--text); text-decoration: none; font-size: 17px; font-weight: 500; }
.links li:nth-child(-n+2) a { border-top: 1px solid var(--line); }
.links a:hover { color: var(--accent); }

.foot { margin-top: 128px; padding: 28px 0 40px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }


/* 시간 막대: 구간은 이름표 칩 색 계열(라이트 흰 바탕 대비 3:1 이상), 검토 대상은 막대 아래 눈금과 글, 끊긴 구간은 점선 테두리와 "끊김".
   끊긴 직후에는 막대 아래 꼬리표 "4번 출력 없음"(점선 테두리도 진하게). Trace 출력 보기는 끊긴 구간을 가는 선으로 닿게 하고 아래 "트랙 연결" */
.tb-track { fill: var(--tb-base); }
.tb-accent { fill: var(--tb-target); }
.tb-cand { fill: var(--tb-cand); }
.tb-lab { fill: var(--muted); font-size: 12px; font-family: "Wanted Sans", system-ui, sans-serif; font-variant-numeric: tabular-nums; }
.tb-lab.is-strong { fill: var(--text); font-weight: 600; }
.tb-lab.is-weak { fill: var(--muted); font-weight: 500; }
.tb-seg { transition: fill 0.25s ease; }
.tb-gapd { fill: none; stroke: var(--muted); stroke-width: 1.2; stroke-dasharray: 3 2.5; }
.tb-gapd.is-hot { stroke: var(--accent); stroke-width: 1.6; }
.tb-gapd.is-joined { stroke: none; }
.tb-bridge { stroke: var(--tb-target); stroke-width: 2; stroke-linecap: round; opacity: 0; transition: opacity 0.25s ease; }
.tb-bridge.is-on { opacity: 1; }
.tb-handle { fill: var(--text); stroke: var(--bg); stroke-width: 2; }
.tb-tick, .tb-brk, .tb-linklab { opacity: 0; transition: opacity 0.25s ease; }
.tb-tick.is-on, .tb-brk.is-on, .tb-linklab.is-on { opacity: 1; }
.tb-tick line { stroke: var(--accent); stroke-width: 2; stroke-linecap: round; }
.tb-tick text, .tb-linklab { fill: var(--text); font-size: 12px; font-weight: 600; font-family: "Wanted Sans", system-ui, sans-serif; }
.tb-brk rect { fill: var(--vid-accent); }
.tb-brk text { fill: var(--vid-ink); font-size: 11.5px; font-weight: 600; font-family: "Wanted Sans", system-ui, sans-serif; }
.tb-event { stroke: var(--text); stroke-width: 1.5; }
.tb-gap { fill: var(--text); opacity: 0.06; }

/* 좁은 화면에서 표는 칸을 줄이지 않고 가로로 넘김 */
.tbl-ex { min-width: 880px; }
#tbl-ds { min-width: 600px; }
#tbl-charts { min-width: 640px; }
.tbl-out { min-width: 720px; }

/* 폭이 좁을 때 */
@media (max-width: 1099px) {
  .wrap { width: calc(100% - 64px); }
  .hero-head { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  h1 { font-size: 88px; }
  .cat { font-size: 36px; }
  .hero-stage { grid-template-columns: minmax(0, 1fr); grid-template-areas: "frame" "ctl" "seg" "steps" "rec"; }
  :root { --bub-ph: 140px; }
  .seg { justify-self: start; margin-top: 10px; min-width: 0; }
  .rec { justify-self: start; }
  .cases { grid-template-columns: minmax(0, 1fr); gap: 56px; }
  .use-row { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .fl { padding: 22px 18px 0; }
  .arch-cap { flex-direction: column; gap: 10px; }
  .fl-pair { gap: 10px; }
  .fl-c .ph { height: 128px; }
  .fl-vis { height: 176px; }
  .ev-grid { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .evp-head { flex-direction: column; gap: 14px; }
}
@media (max-width: 719px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 32px); }
  .top-in { height: auto; padding: 10px 0; gap: 8px; flex-wrap: wrap; }
  .js .nav.is-open { margin-top: 10px; }
  .brand { margin-right: auto; }
  .nav { gap: 14px; overflow-x: auto; }
  .nav a { font-size: 14px; white-space: nowrap; }
  .js .menu-btn { display: inline-grid; }
  .js .nav { display: none; order: 9; flex: 0 0 100%; flex-direction: column; gap: 0; padding: 0 0 12px; overflow: visible; }
  .js .nav.is-open { display: flex; }
  .js .nav a { font-size: 17px; padding: 12px 0; border-top: 1px solid var(--line); }
  .hero-head { padding: 20px 0 22px; }
  h1 { font-size: 60px; }
  .cat { font-size: 28px; margin-top: 6px; }
  .lede { font-size: 17px; }
  .gain { font-size: 15px; }
  .frame { border-radius: 20px; }
  .hero-frame { height: auto; aspect-ratio: 1 / 1; }
  .ctl { gap: 10px; }
  .seg { width: 100%; }
  /* 좁은 폭: 말풍선은 영상 아래(세 단계 문장 다음)에 놓이고, 영상 위가 아니므로 페이지 토큰을 쓴다. 보이기 전에도 자리를 차지해 아래가 출렁이지 않는다 */
  .hero-stage { grid-template-areas: "frame" "ctl" "seg" "steps" "bub" "rec"; }
  .bub {
    --b-acc: var(--accent); --b-cand: var(--cand); --b-ink: var(--tag-ink); --b-text: var(--text); --b-muted: var(--muted); --b-face: var(--face);
    grid-area: bub; align-self: start; justify-self: start; margin: 16px 0 0; padding: 0; background: transparent; border: 0; border-radius: 0;
    box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none;
  }
  :root { --bub-ph: 160px; }
  .sec { padding-top: 88px; }
  h2 { font-size: 32px; }
  .sub { font-size: 17px; }
  .strip { gap: 6px; }
  .cell .frame { border-radius: 10px; }
  .case-h { font-size: 20px; }
  .models { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .model dl > div { grid-template-columns: 80px 1fr; }
  .zoom-dlg { width: calc(100vw - 16px); height: calc(100vh - 16px); }
  .zoom-img { width: 1600px; }
  .walk { margin-top: 72px; }
  .flow { grid-template-columns: minmax(0, 1fr); }
  .fl, .fl:first-child { padding: 18px 0; border-left: 0; border-top: 1px solid var(--line); }
  .fl:first-child { border-top: 0; }
  .fl-vis { height: auto; min-height: 60px; }
  .fl-c .ph { height: 140px; }
  .evp { padding: 22px 18px 24px; border-radius: 20px; margin-top: 32px; }
  .evp-meta > div { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .tabs { gap: 18px; }
  .tab { font-size: 15px; }
  .defs { grid-template-columns: minmax(0, 1fr); }
  .defs > div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .arch .mat-paper { padding: 12px; }
  .piece-row, .report-piece { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .report-piece .piece-img { width: 100%; }
  .band { padding: 24px 18px; }
  .pairs { grid-template-columns: minmax(0, 1fr); }
  .spec, .links { grid-template-columns: minmax(0, 1fr); }
  .links li:nth-child(2) a { border-top: 0; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .bub, .bub.is-on, .tb-seg, .tb-tick, .tb-brk, .tb-linklab, .tb-bridge { transition: none; }
  .bub { transform: none; }
}

/* A9 (2026-11-20, D5): 사진 위 흰 판 토큰 셋(첫 화면의 출력 전환과 취소선 이름표). 두 판(라이트와 다크)에서 같은 값이다.
   --vid-plate-ink와 --vid-plate-muted는 /static/tm/tokens.css에 있는 값(#1b1a18, #4f4c47)을 사진 위 전용 이름으로 둔 것이다. */
:root {
  --vid-plate: rgb(255 255 255 / 0.9);        /* 사진 위 흰 판(출력 전환, 취소선 이름표) */
  --vid-plate-ink: #1b1a18;                   /* 흰 판 위 글 */
  --vid-plate-muted: #4f4c47;                 /* 흰 판 위 고르지 않은 글(흰 바탕 기준 8.5:1) */
}

/* coordinating session 11-19: the same comparison grey as the benchmark page (results.css), inside the dark lightness band */
:root { --mk-cmp: var(--muted); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --mk-cmp: #98948d; } }
:root[data-theme="dark"] { --mk-cmp: #98948d; }
