/* BINDER — 화면 중심 리폼 레이어.

   wiki.css 뒤에 실린다. 이 파일은 대부분 *오버라이드* 다 —
   240px 내비 · 1280px 본문 · 표 밀도 · 상태 배지 · 화면별 배치.
   기능별로 정리된 wiki.css 에 섞지 않는 이유는 되돌리기 위해서다:
   시각 회귀가 나면 base.html 의 <link> 한 줄만 지우면 원래 화면이 돌아온다.

   ⚠️ 색은 전부 style.css 의 :root 토큰을 통해서만 쓴다. 이 파일에 hex 는 없다. */

/* ── flash — 비어 있을 때 자리를 먹지 않게 ─────────────────
   _flash.html 은 HTMX out-of-band 스왑 대상이라 메시지가 없어도 컨테이너를 낸다.
   그대로 두면 .flashes 의 padding-top 이 모든 페이지를 14px 씩 밀어낸다. */
.flashes:empty { padding: 0; }

/* ── 상태 배지 ─────────────────────────────────────────
   목업의 배지는 테두리 없는 사각 알약이고 글자는 모노다 —
   상태값 자체가 코드(running · no_expr)라서 그렇게 읽히는 편이 낫다. */
.stbadge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 2px 8px; border-radius: var(--r-xs);
  font-family: var(--mono);
  font-size: 11px; font-weight: 600; line-height: 1.7;
  white-space: nowrap;
  color: var(--st-fg);
  background: var(--st-bg);
  border: 1px solid var(--st-line);
}

.stbadge.st-draft   { --st-fg: var(--st-draft-fg);   --st-bg: var(--st-draft-bg);   --st-line: var(--st-draft-line); }
.stbadge.st-queued  { --st-fg: var(--st-queued-fg);  --st-bg: var(--st-queued-bg);  --st-line: var(--st-queued-line); }
.stbadge.st-running { --st-fg: var(--st-running-fg); --st-bg: var(--st-running-bg); --st-line: var(--st-running-line); }
.stbadge.st-failed  { --st-fg: var(--st-failed-fg);  --st-bg: var(--st-failed-bg);  --st-line: var(--st-failed-line); }
.stbadge.st-review  { --st-fg: var(--st-review-fg);  --st-bg: var(--st-review-bg);  --st-line: var(--st-review-line); }
.stbadge.st-ordered { --st-fg: var(--st-ordered-fg); --st-bg: var(--st-ordered-bg); --st-line: var(--st-ordered-line); }
.stbadge.st-results { --st-fg: var(--st-results-fg); --st-bg: var(--st-results-bg); --st-line: var(--st-results-line); }
.stbadge.st-closed  { --st-fg: var(--st-closed-fg);  --st-bg: var(--st-closed-bg);  --st-line: var(--st-closed-line); }

.stbadge.st-bind    { --st-fg: var(--st-bind-fg);    --st-bg: var(--st-bind-bg);    --st-line: var(--st-bind-line); }
.stbadge.st-no_bind { --st-fg: var(--st-no_bind-fg); --st-bg: var(--st-no_bind-bg); --st-line: var(--st-no_bind-line); }
.stbadge.st-no_expr { --st-fg: var(--st-no_expr-fg); --st-bg: var(--st-no_expr-bg); --st-line: var(--st-no_expr-line); }

/* 판정 보류는 점선 — 「아직 값이 아니다」를 테두리로 말한다. */
.stbadge.st-inconclusive,
.stbadge.st-none {
  --st-fg: var(--st-inconclusive-fg);
  --st-bg: var(--st-inconclusive-bg);
  --st-line: var(--st-inconclusive-line);
  border-style: dashed;
}

/* 실행 중인 것만 살짝 맥동한다. 여러 개가 동시에 뛰면 화면이 시끄러워지므로
   .stbadge 전체가 아니라 running 하나에만 건다. */
.stbadge.st-running::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: currentColor; animation: st-pulse 1.6s ease-in-out infinite;
}
@keyframes st-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
@media (prefers-reduced-motion: reduce) {
  .stbadge.st-running::before { animation: none; }
}

/* ── 빈 상태 ───────────────────────────────────────────── */
.emptystate {
  padding: 40px 24px; text-align: center;
  border: 1px dashed var(--line-2); border-radius: var(--r);
  background: var(--surface);
}
.emptystate p { margin: 0 0 14px; color: var(--muted); font-size: 13px; }

/* ── 카운터 ────────────────────────────────────────────── */
.counter { display: inline-flex; align-items: baseline; gap: 5px; }
.counter .n { font-size: 22px; font-weight: 700; font-family: var(--mono);
              font-variant-numeric: tabular-nums; }
.counter .of { font-size: 14px; color: var(--muted); font-family: var(--mono); }
.counter .l { font-size: 11px; color: var(--muted); text-transform: uppercase;
              letter-spacing: .04em; font-weight: 600; }

/* ── 카드 · 섹션 — 목업의 기본 판 ──────────────────────────
   흰 바닥 · 1px 테두리 · 10px 모서리. 이 셋이 화면의 90% 다. */
.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r); padding: 18px;
}
.card.tight { padding: 14px 16px; }
.card.flush { padding: 0; overflow: hidden; }
.card > .cardhead {
  font-size: 11px; font-weight: 600; color: var(--muted);
  text-transform: uppercase; letter-spacing: .04em;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  margin-bottom: 12px;
}
.card > .cardhead .act { text-transform: none; font-weight: 600; font-size: 12px; }

/* 페이지 머리 오른쪽에 붙는 검색칸 — 목록 화면의 표준 조합이다. */
.dh-r input[type=search], .dh-r input[type=text] {
  width: 220px; max-width: 46vw;
  padding: 9px 12px; border: 1px solid var(--line); border-radius: var(--r-sm);
  font: inherit; font-size: 13px;
  background: var(--surface); color: var(--fg); outline: none;
}
.dh-r input[type=search]:focus, .dh-r input[type=text]:focus { border-color: var(--accent); }

/* 격자 안에서 한 줄을 통째로 먹는 자리 — 빈 상태·안내. */
.gridfull { grid-column: 1 / -1; }

/* 값과 값 사이의 가운뎃점. 글자가 아니라 구분자로 읽히도록 흐리게. */
.sepdot { color: var(--line-2); }

/* ── 이름만 붙어 있고 규칙이 없던 것들 ────────────────────
   `<ul class="plain">` 이 브라우저 기본 불릿으로 나오고 있었다. */
.plain { list-style: none; margin: 0; padding: 0; }
.plain > li {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  padding: 8px 0; border-bottom: 1px solid var(--surface-3); font-size: 13px;
}
.plain > li:last-child { border-bottom: 0; }

/* 문서·폼 화면은 읽는 글이라 본문 폭을 좁게 잡는다. */
.docwrap { max-width: 100%; }
.formnarrow { max-width: 680px; }
.formnarrow .fgroup:last-of-type { margin-bottom: 0; }

/* 실험 입력 폼 — 모달만큼 좁게. 목업의 「실험 결과 입력」. */
.resultform { max-width: 560px; }
.fixedval {
  margin: 0; padding: 9px 12px;
  border: 1px solid var(--line); border-radius: var(--r-sm);
  background: var(--surface-2); font-family: var(--mono); font-size: 13px;
}
.field.row3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.field.row3 > span { display: block; }
.field.row3 input, .field.row3 select { width: 100%; }
@media (max-width: 620px) {
  .field.row2, .field.row3 { grid-template-columns: 1fr; }
}

/* 판정 드롭다운 — 표 안에서도 카드 안에서도 같은 모양. */
.verdictpick {
  padding: 6px 9px; border: 1px solid var(--line); border-radius: var(--r-sm);
  font-family: inherit; font-size: 12.5px;
  background: var(--surface); color: var(--fg); outline: none;
}
.verdictpick:focus { border-color: var(--accent); }

.crumb-cur { color: var(--fg-2); }

/* 섹션 사이 간격 — 목업의 22px. */
.stack { display: flex; flex-direction: column; gap: 20px; }
/* align-items:start — 안 그러면 짧은 카드가 긴 카드 높이만큼 늘어나 빈 바닥이 생긴다. */
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
@media (max-width: 860px) { .grid2 { grid-template-columns: 1fr; } }

/* ── 홈 — 지금 도는 것 · 탭 · 최근 ────────────────────────
   ⚠️ 홈 바깥 상자는 `.homewrap .pipeline` 두 클래스를 함께 단다.
   .pipeline 은 데모 투어(INTRO[1])의 스포트라이트 표적일 뿐이고 배치는 여기가 잡는다 —
   wiki.css 의 .pipeline 은 15단계 다이어그램용 flex 라 홈에 그대로 걸리면 안 된다. */
.homewrap { display: block; min-width: 0; }
.jobcards {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 12px; list-style: none; margin: 0; padding: 0;
  align-items: stretch;
}
/* 한 줄에 놓인 카드는 키를 맞춘다 — 진행률 줄이 있고 없고에 따라 높이가
   달라지면 바둑판이 어긋나 보인다. 남는 자리는 아래 요약 줄이 먹는다. */
.jobcards > li { display: flex; }
.jobcard {
  display: flex; flex-direction: column; width: 100%; padding: 16px;
  border: 1px solid var(--line); border-radius: var(--r);
  background: var(--surface); color: var(--fg);
  transition: border-color .15s ease;
}
a.jobcard:hover { border-color: var(--accent); color: var(--fg); }
.jobcard .jc-head {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  margin-bottom: 10px;
}
.jobcard .jc-name { font-weight: 600; font-size: 14px; min-width: 0;
                    overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.jobcard .jc-meta {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  margin-bottom: 12px; font-size: 12px; color: var(--muted);
}
.jobcard .jc-meta .eng { font-family: var(--mono); }
/* 남는 세로 자리는 요약 줄이 먹는다 — 그래야 카드 키가 맞는다. */
.jobcard .jc-foot { margin-top: auto; padding-top: 6px; font-size: 11.5px; color: var(--faint); }

/* 탭 — 최근 캠페인 ↔ 미판정. 밑줄 하나로 가른다. */
.hometabs {
  display: flex; gap: 4px; align-items: flex-end;
  border-bottom: 1px solid var(--line); margin: 26px 0 16px;
}
.hometabs a {
  padding: 9px 4px; margin-right: 16px; margin-bottom: -1px;
  font-size: 13.5px; font-weight: 500; color: var(--muted);
  border-bottom: 2px solid transparent;
}
.hometabs a.on { color: var(--accent-hi); font-weight: 600; border-bottom-color: var(--accent); }
.hometabs a:hover { color: var(--fg); }

/* 미판정 미리보기 — 카드 안에 줄줄이. */
.rowlist { list-style: none; margin: 0; padding: 0; }
.rowlist > li { border-bottom: 1px solid var(--surface-3); }
.rowlist > li:last-child { border-bottom: 0; }
.rowlist a, .rowlist .rl {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 13px 15px; color: var(--fg); font-size: 12.5px;
}
.rowlist a:hover { background: var(--surface-2); color: var(--fg); }
.rowlist .rl-id { font-family: var(--mono); font-weight: 600; font-size: 12.5px; }
.rowlist .rl-sub { color: var(--muted); }
.rowlist .rl-when { color: var(--faint); font-size: 11px; white-space: nowrap; }
.rowlist .rl-more { justify-content: center; color: var(--accent); font-weight: 600; }

/* ── 오늘 할 일 — li 에 tone 이 바로 붙는다 ─────────────── */
.todolist { list-style: none; margin: 0; padding: 0; }
.todolist > li { margin: 0 0 6px; }
.todolist > li > a {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 14px;
  border: 1px solid var(--line); border-left-width: 3px;
  border-radius: var(--r-sm);
  background: var(--surface); color: var(--fg);
  font-size: 13px;
  transition: border-color .13s ease;
}
.todolist > li > a:hover { border-color: var(--line-2); color: var(--fg); }
.todolist > li > .i { display: none; }
.todolist > li.t-bad  > a { border-left-color: var(--danger); }
.todolist > li.t-warn > a { border-left-color: var(--warn); }
.todolist > li.t-info > a { border-left-color: var(--run); }
.todolist > li.t-ok   > a { border-left-color: var(--accent); }
.todolist > li.muted { color: var(--muted); font-size: 13px; padding: 4px 0; }

/* ── Pick 처럼 표+패널을 나란히 놓는 화면 ────────────────── */
.site-shell.wide { max-width: none; }

/* ── Setup — 한 스크롤 3블록 + 고정 3D ──────────────────────
   ⚠️ .setupcol 은 demo_bp.INTRO 가 스포트라이트한다. */
.setupwrap { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 22px; align-items: start; }
.setupcol { min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.setupside { position: sticky; top: 16px; }

/* ── 3D 무대 — 뷰어 위, 잔기 목록 아래. 한 판으로 붙인다 ──────
   기본 `.viewerwrap` 은 좌우 2단(구조 | 잔기)이라 넓은 자리에서는 그대로 좋지만,
   Setup 의 사이드 칸과 설계 패널처럼 좁은 자리에서는 구조가 손톱만 해진다.
   그 둘에서는 목업처럼 세로로 쌓고 아래쪽을 남색으로 잇는다. */
.setupside .viewerwrap,
.p-stage .viewerwrap { display: block; }
.setupside #viewer3d { height: 340px; }
.setupside #viewer3d,
.p-stage #viewer3d { width: 100%; border-radius: var(--r) var(--r) 0 0; }
.setupside .viewerside,
.p-stage .viewerside {
  background: var(--ink); color: var(--ink-fg);
  border-radius: 0 0 var(--r) var(--r);
  padding: 12px 14px;
}
.setupside .viewerside .help,
.p-stage .viewerside .help { color: var(--ink-muted); }
.setupside .viewerside input,
.p-stage .viewerside input {
  background: rgba(255, 255, 255, .06); border-color: transparent; color: var(--ink-fg);
}
.setupside .viewerside .chip,
.p-stage .viewerside .chip { background: var(--ink-chip); color: var(--ink-fg); }
.setupside .viewerside .chip.on,
.p-stage .viewerside .chip.on { background: var(--accent); color: #fff; }
.setupside .viewerside .btn,
.p-stage .viewerside .btn {
  background: rgba(255, 255, 255, .08); border-color: transparent; color: var(--ink-fg);
}
.setupside .viewerside .btn:hover,
.p-stage .viewerside .btn:hover { background: rgba(255, 255, 255, .16); color: #fff; }
/* Pick 우측 패널의 무대는 상세보다 낮다 — 아래 서열·점수가 같이 보여야 한다. */
.pickside .p-stage #viewer3d { height: 260px; }

/* 블록 머리의 A · B · C. 순서가 있다는 것만 말하면 된다. */
.blockhead { display: flex; align-items: center; gap: 9px; margin-bottom: 14px; }
.blockhead .t { font-weight: 600; font-size: 14px; }
.blockmark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; flex: none;
  border-radius: 50%;
  background: var(--accent); color: #fff;
  font-size: 12px; font-weight: 700;
}

/* 값 두 개가 한 줄에 붙어야 읽히는 자리 — 길이 min–max, 필터+목표. */
.field.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field.row2 > span { display: block; }
.field.row2 input, .field.row2 select { width: 100%; }

/* 고른 잔기가 모이는 자리 — 비어 있어도 높이를 지킨다. */
.resbox {
  display: flex; flex-wrap: wrap; gap: 6px; align-items: center;
  min-height: 34px; padding: 8px;
  background: var(--surface-2); border: 1px solid var(--surface-3);
  border-radius: var(--r-sm);
}
.resbox .chip { margin: 0; }
.resbox .none { color: var(--faint); font-size: 12px; padding: 2px 4px; }

/* ── Run — 로그와 진행을 나란히 ────────────────────────────── */
.runwrap { display: grid; grid-template-columns: minmax(0, 1.6fr) 1fr; gap: 18px; align-items: start; }
.runlog { min-width: 0; }
.runside { display: flex; flex-direction: column; gap: 12px; }
.runbar {
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
  padding: 16px 18px; margin-bottom: 18px;
  border: 1px solid var(--line); border-radius: var(--r); background: var(--surface);
}
.runbar .grow { flex: 1; min-width: 160px; }
.runbar b { color: var(--fg); font-weight: 600; }
.runbar > span { font-size: 12.5px; }
.joblist { list-style: none; margin: 0; padding: 0; font-size: 12.5px; }
.joblist > li {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  padding: 8px 0; border-bottom: 1px solid var(--surface-3);
}
.joblist > li:last-child { border-bottom: 0; }
.jobprog { font-size: 11.5px; color: var(--muted); font-family: var(--mono); }
.runacts { display: flex; gap: 8px; flex-wrap: wrap; }
.runacts form { display: inline; }
/* 오른쪽 칸은 카드 · 배너가 세로로 쌓인다. */
#runjobs { display: flex; flex-direction: column; gap: 12px; }
#runjobs .banner { margin: 0; }
#runjobs .card > .bar { margin-top: 12px; }

/* ── Pick — 표 58% / 패널 42% ───────────────────────────────── */
.pickwrap { display: grid; grid-template-columns: 58fr 42fr; gap: 18px; align-items: start; }
.pickmain { min-width: 0; }
.pickside {
  position: sticky; top: 16px;
  max-height: calc(100vh - 90px); overflow-y: auto;
  border: 1px solid var(--line); border-radius: var(--r);
  background: var(--surface); padding: 16px;
}

/* 행 전체가 클릭 대상이라는 걸 커서와 hover 로 말한다.
   ⚠️ .picktable 은 demo_bp.STEPS 가 스포트라이트한다. */
.picktable tbody tr { cursor: pointer; }
.picktable tbody tr:hover { background: var(--surface-2); }
.picktable tbody tr.on { background: var(--accent-soft); box-shadow: inset 3px 0 0 var(--accent); }
.picktable tbody tr.rejected { opacity: .5; }
.picktable tbody tr.rejected td:nth-child(2) a { text-decoration: line-through; }
.star { color: var(--line-2); font-size: 14px; }
.star.on { color: var(--star); }

.panelhead { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.panelhead h3 { margin: 0; font-size: 15px; font-family: var(--mono); font-weight: 700; }
.panelsec { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--surface-3); }
.panelsec h4 { margin: 0 0 10px; font-size: 11px; text-transform: uppercase;
               letter-spacing: .04em; color: var(--muted); font-weight: 600;
               display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.kvlist, .critlist, .benchlist { list-style: none; margin: 8px 0 0; padding: 0; font-size: 12px; }
.kvlist { display: flex; gap: 12px; flex-wrap: wrap; }
.kvlist b, .critlist b { color: var(--muted); font-weight: 600; margin-right: 4px; }
.critlist > li { display: flex; gap: 8px; padding: 4px 0; align-items: baseline; }
.critlist > li .num { margin-left: auto; font-variant-numeric: tabular-nums; font-family: var(--mono); }
.critlist > li.c-cut { color: var(--danger); }
.critlist > li.c-skip { color: var(--muted); font-style: italic; }
.benchlist > li { display: flex; gap: 7px; align-items: baseline; padding: 5px 0; flex-wrap: wrap; }
.liab { margin: 8px 0 0; display: flex; gap: 4px; flex-wrap: wrap; }

/* 점수는 큰 숫자 네 칸 — 목업의 Design 상세. */
.scoregrid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.scorecell {
  background: var(--surface-2); border: 1px solid var(--surface-3);
  border-radius: var(--r-sm); padding: 11px 13px;
}
.scorecell .k { font-size: 10.5px; color: var(--muted); }
.scorecell .v { font-family: var(--mono); font-weight: 700; font-size: 18px; margin-top: 3px; }

.panelacts { display: flex; gap: 8px; margin-top: 16px; padding-top: 14px;
             border-top: 1px solid var(--surface-3); flex-wrap: wrap; align-items: flex-start; }
/* 폐기 사유 프리셋 — <details> 로 연다. Alpine 이 필요 없는 자리다. */
.rejectbox { position: relative; }
.rejectbox > summary { list-style: none; cursor: pointer; }
.rejectbox > summary::-webkit-details-marker { display: none; }
.rejectmenu {
  position: absolute; z-index: 20; bottom: calc(100% + 6px); left: 0;
  display: flex; flex-direction: column; gap: 4px; padding: 7px;
  border: 1px solid var(--line); border-radius: var(--r-sm);
  background: var(--surface); box-shadow: var(--shadow-2); min-width: 150px;
}

/* 하단 고정 바 — 선정 수와 내보내기가 항상 보여야 한다. */
.pickbar {
  position: sticky; bottom: 0; z-index: 10;
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  margin-top: 16px; padding: 12px 18px;
  border: 1px solid var(--line); border-radius: var(--r);
  background: var(--surface); box-shadow: 0 -2px 12px rgba(0, 0, 0, .05);
}
.pickbar .grow { flex: 1; }
.pickbar .sep { width: 1px; height: 20px; background: var(--line); }
.pickbar form.inline { display: inline; }

/* 패널 안쪽 — 좁으면 위아래, 넓으면 좌우.
   Pick 우측 패널(.pickside)은 좁으므로 기본값 그대로 쌓인다. */
.p-side { display: block; }

/* 설계 상세 — 3D 를 크게 두고 서열·점수·접촉을 오른쪽에 쌓는다.
   같은 `_panel.html` 을 두 화면이 공유하고, 갈리는 것은 이 규칙뿐이다. */
.detailwrap { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 20px; align-items: start; }
.detailmain { min-width: 0; }
.detailmain .panel {
  border: 0; padding: 0; background: none;
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 20px; align-items: start;
}
.detailmain .panel > .panelhead { grid-column: 1 / -1; }
.detailmain .panel > .p-stage { position: sticky; top: 16px; }
.detailmain .panel > .p-stage #viewer3d { height: 440px; width: 100%; }
/* 이름은 페이지 <h1> 이 이미 말한다 — 패널 머리는 엔진·길이·별만 남긴다. */
.detailmain .panelhead h3 { display: none; }
.detailmain .panel > .p-side { display: flex; flex-direction: column; }
/* 오른쪽 칸에서는 각 절이 독립된 카드가 된다 — 목업의 서열·점수·접촉 카드. */
.detailmain .p-side > .panelsec, .detailmain .p-side > .panelacts {
  margin: 0 0 16px; padding: 18px; border: 0;
  border-radius: var(--r-lg); background: var(--surface);
  border: 1px solid var(--line);
}
.detailmain .p-side > .panelacts { margin-bottom: 0; }
.detailside { display: flex; flex-direction: column; gap: 16px; }

@media (max-width: 1100px) {
  .detailmain .panel { grid-template-columns: minmax(0, 1fr); }
  .detailmain .panel > .p-stage { position: static; }
}

/* ── 검색 — 묻는 화면 ──────────────────────────────────────
   목록이 아니라 질문칸이 먼저다. 목업의 「무엇을 찾아드릴까요?」. */
/* 질문칸은 720px 로 좁게, 답(표·목록)은 본문 폭을 다 쓴다.
   width:100% 를 함께 준다 — 세로 flex 안에서 margin:auto 만 쓰면
   늘어나는 대신 내용 폭으로 쪼그라든다. */
.askwrap > .askhead, .askwrap > .askbox, .askwrap > .suggests {
  width: 100%; max-width: 720px; margin-left: auto; margin-right: auto;
}
/* 아직 아무것도 안 물었으면 화면 한가운데로 올린다. */
.askwrap.center {
  min-height: calc(100vh - 220px);
  display: flex; flex-direction: column; justify-content: center;
}
.askhead { text-align: center; margin: 14px 0 22px; }
.askhead .mark {
  display: grid; place-items: center;
  width: 44px; height: 44px; margin: 0 auto 14px;
  border-radius: var(--r-lg); background: var(--accent); color: #fff;
}
.askhead .mark .i { width: 22px; height: 22px; vertical-align: 0; stroke-width: 1.9; }
.askhead h1 { margin: 0 0 6px; font-size: 23px; font-weight: 700; letter-spacing: -.01em; }
.askhead p { margin: 0; font-size: 13.5px; color: var(--muted); }

.askbox {
  display: flex; align-items: center; gap: 10px;
  border: 1px solid var(--line-2); border-radius: var(--r-lg);
  background: var(--surface); padding: 8px 8px 8px 18px;
  box-shadow: 0 6px 20px rgba(14, 24, 38, .06);
}
.askbox input {
  flex: 1; min-width: 0;
  border: 0; outline: none; background: transparent;
  font-family: inherit; font-size: 15px; line-height: 1.5;
  padding: 9px 0; color: var(--fg);
}
.askbox input::placeholder { color: var(--faint); }
/* 포커스 링은 상자 전체에 준다 — 안쪽 input 에 따로 뜨면 상자 안에 상자가 생긴다. */
.askbox:focus-within { border-color: var(--accent); box-shadow: var(--ring); }
.askbox input:focus-visible { box-shadow: none; }
.askbox button {
  flex: none; width: 36px; height: 36px;
  border: 0; border-radius: var(--r); cursor: pointer;
  background: var(--accent); color: #fff;
}
.askbox button .i { width: 17px; height: 17px; vertical-align: 0; stroke-width: 2.2; }

.suggests { display: flex; flex-wrap: wrap; gap: 9px; justify-content: center; margin-top: 20px; }
.suggests a {
  border: 1px solid var(--line); border-radius: var(--r-pill);
  background: var(--surface); padding: 8px 15px;
  font-size: 12.5px; color: var(--fg-2);
  transition: border-color .15s ease, color .15s ease, background .15s ease;
}
.suggests a:hover { border-color: var(--accent); color: var(--accent-hi); background: var(--accent-soft); }

/* 답 — 왼쪽 마크 + 오른쪽 결과 묶음. */
.answer { display: flex; gap: 13px; margin-top: 26px; }
.answer .mark {
  display: grid; place-items: center;
  width: 30px; height: 30px; flex: none;
  border-radius: var(--r-sm); background: var(--accent); color: #fff;
}
.answer .mark .i { width: 16px; height: 16px; vertical-align: 0; }
.answer .abody { flex: 1; min-width: 0; }
.answer .aline { font-size: 14.5px; line-height: 1.6; margin: 0 0 10px; }
.answer .agroup { margin-bottom: 16px; }
.answer .agroup > h3 {
  font-size: 11px; font-weight: 600; color: var(--muted);
  text-transform: uppercase; letter-spacing: .04em; margin: 0 0 8px;
  border: 0; padding: 0;
}

/* 「이해한 조건」 — 에이전트가 무엇으로 알아들었는지 사람이 검산하는 줄.
   답보다 먼저 오는 이유: 엉뚱하게 알아들었으면 아래 목록은 볼 필요가 없다. */
.understood { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-bottom: 10px; }
.understood .lbl { font-size: 11.5px; color: var(--faint); }
.understood .chip { margin: 0; }

/* LLM 한마디 — 목록 아래 「덤」. 목록과 같은 무게로 보이면 안 된다. */
.agent-note {
  margin-top: 16px; padding: 13px 15px;
  border-radius: var(--r); background: var(--surface-2);
  border: 1px solid var(--surface-3);
}
.agent-say { margin: 0; font-size: 13px; line-height: 1.7; color: var(--fg-2); }
.agent-by { margin: 6px 0 0; font-size: 11px; color: var(--faint); }
.agent-note .agent-by:only-child { margin: 0; }

/* 지난 턴 — 질문칸 위에 쌓인다. 목록보다 가볍게 둔다: 대화는 맥락이지 답이 아니다. */
.thread { max-width: 720px; margin: 0 auto 14px; }
.turn { padding: 10px 0; border-bottom: 1px solid var(--surface-3); }
.turn .t-q { margin: 0; font-size: 13px; font-weight: 600; color: var(--fg); }
.turn .t-a { margin: 4px 0 0; font-size: 12.5px; line-height: 1.6; color: var(--muted); }
.t-new { margin: 10px 0 0; text-align: right; font-size: 12px; }

.suggests.followups { justify-content: flex-start; margin-top: 18px; }
.suggests.followups a { background: var(--surface-2); font-size: 12px; padding: 7px 13px; }

/* ── 미판정 — 카드 하나에 판정 드롭다운 하나 ─────────────── */
.inboxgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.inboxcard {
  display: flex; flex-direction: column; gap: 12px;
  padding: 16px; border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--surface);
}
.inboxcard .ic-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.inboxcard .ic-id { font-family: var(--mono); font-weight: 700; font-size: 14px; }
.inboxcard .ic-when { font-size: 11px; color: var(--faint); }
.inboxcard dl { display: flex; flex-direction: column; gap: 5px; margin: 0; font-size: 12px; }
.inboxcard dl > div { display: flex; gap: 8px; }
.inboxcard dt { color: var(--faint); width: 52px; flex: none; }
.inboxcard dd { margin: 0; color: var(--fg-2); min-width: 0; }
.inboxcard .ic-act { border-top: 1px solid var(--surface-3); padding-top: 11px; }
.inboxcard .ic-act select {
  width: 100%; padding: 7px 9px;
  border: 1px solid var(--line); border-radius: var(--r-sm);
  font-family: inherit; font-size: 12.5px; background: var(--surface); color: var(--fg);
  outline: none;
}
.inboxcard .ic-act select:focus { border-color: var(--accent); }

/* ── 1180px 미만 — 두 칸짜리를 한 칸으로 ───────────────────── */
@media (max-width: 1180px) {
  .setupwrap, .runwrap, .pickwrap, .detailwrap { grid-template-columns: minmax(0, 1fr); }
  .setupside, .runside, .pickside { position: static; max-height: none; }
}

/* ── 새 표적 위저드 — 한 번에 한 질문 ──────────────────────
   왼쪽이 지금 질문, 오른쪽 위가 지금까지 고른 것. 오른쪽은 스크롤을 따라 붙는다 —
   아래로 내려가도 「내가 뭘 골랐더라」를 다시 찾아 올라갈 일이 없게. */
.wizwrap {
  display: grid; grid-template-columns: minmax(0, 1fr) 300px;
  gap: 24px; align-items: start;
}
@media (max-width: 900px) {
  .wizwrap { grid-template-columns: minmax(0, 1fr); }
  .wizpicks { position: static !important; order: -1; }
}

.wizstep { min-width: 0; max-width: 620px; }

/* 진행 눈금 — 몇 걸음 남았는지만 말한다. 단계 이름을 다 적으면 그게 또 폼이 된다. */
.wizprog { display: flex; align-items: center; gap: 4px; margin-bottom: 22px; }
.wizprog .tick {
  width: 26px; height: 3px; border-radius: 2px; background: var(--surface-3);
}
.wizprog .tick.done { background: var(--accent-line); }
.wizprog .tick.now { background: var(--accent); }
.wizprog .n { margin-left: 8px; font-size: 11px; color: var(--faint); font-family: var(--mono); }

.wizq { margin: 0 0 6px; font-size: 20px; font-weight: 700; letter-spacing: -.01em; }
.wizhelp { margin: 0 0 18px; font-size: 12.5px; color: var(--muted); line-height: 1.6; }
.wizlabel { display: block; font-size: 12.5px; font-weight: 600; margin-bottom: 6px; }

/* 선택지는 크게. 한 번에 하나를 고르는 화면에서 작은 라디오는 손해다. */
.wizopts { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.wizopt {
  display: flex; flex-direction: column; gap: 3px; text-align: left;
  width: 100%; padding: 14px 16px;
  border: 1.5px solid var(--line); border-radius: var(--r);
  background: var(--surface); color: var(--fg);
  font: inherit; cursor: pointer;
  transition: border-color .13s ease, background .13s ease;
}
.wizopt:hover { border-color: var(--accent); background: var(--accent-soft); }
.wizopt b { font-size: 14px; font-weight: 600; }
.wizopt span { font-size: 12.5px; color: var(--muted); line-height: 1.55; }
.wizopts.tight .wizopt { padding: 11px 14px; flex-direction: row; align-items: baseline; gap: 10px; }
.wizopts.tight .wizopt b { min-width: 78px; white-space: nowrap; }

.wizform { display: flex; gap: 8px; align-items: center; margin-bottom: 14px; }
.wizform.col { flex-direction: column; align-items: stretch; }
.wizform input[type=text], .wizform textarea {
  flex: 1; padding: 11px 13px;
  border: 1px solid var(--line); border-radius: var(--r-sm);
  font: inherit; font-size: 14px; background: var(--surface); color: var(--fg);
  outline: none; resize: vertical;
}
.wizform input[type=text]:focus, .wizform textarea:focus { border-color: var(--accent); }
.wizacts { display: flex; justify-content: flex-end; gap: 8px; }
.wizback { margin: 18px 0 0; font-size: 12.5px; }

/* 오른쪽 위 — 고른 것이 쌓인다. 각 줄을 누르면 그 단계로 되돌아간다. */
.wizpicks {
  position: sticky; top: 16px;
  padding: 16px; border: 1px solid var(--line); border-radius: var(--r);
  background: var(--surface);
}
.wizpicks .cardhead {
  font-size: 11px; font-weight: 600; color: var(--muted);
  text-transform: uppercase; letter-spacing: .04em; margin-bottom: 12px;
}
.picklist { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.picklist > div { display: flex; flex-direction: column; gap: 2px; }
.picklist dt { font-size: 11px; color: var(--faint); }
.picklist dd { margin: 0; font-size: 13px; color: var(--fg); }
.picklist dd.wrap { font-size: 12px; color: var(--fg-2); line-height: 1.55; }
.picklist .linklike { font-size: 13px; color: var(--fg); text-align: left; }
.picklist .linklike:hover { color: var(--accent); }

/* 위저드에서 못 고르는 선택지 — 미설치 엔진. 목록에는 남긴다(UI 가 곧 로드맵). */
.wizopt.off { cursor: default; opacity: .6; }
.wizopt.off:hover { border-color: var(--line); background: var(--surface); }
/* 라디오가 든 선택지는 버튼이 아니라 label 이다 — 같은 모양으로 맞춘다. */
label.wizopt { cursor: pointer; }
label.wizopt input { margin-right: 6px; accent-color: var(--accent); }
label.wizopt:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }

/* 오른쪽 패널 아래 — 같은 표적의 지난 라운드. 조언의 근거를 사람도 보게. */
.wizprior { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--surface-3); }
.wizprior .plain > li { padding: 6px 0; font-size: 12px; }
.wizprior .rl-sub { color: var(--muted); }

/* ── 튜토리얼 — 읽는 화면이 아니라 하는 화면 ─────────────── */
.trygrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.trycard {
  display: flex; flex-direction: column; gap: 8px;
  padding: 22px; border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--surface); color: var(--fg);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.trycard:hover { border-color: var(--accent); box-shadow: var(--shadow-2); color: var(--fg); }
.trycard .ic {
  display: grid; place-items: center; width: 40px; height: 40px;
  border-radius: var(--r); background: var(--accent-soft); color: var(--accent-hi);
}
.trycard .ic .i { width: 20px; height: 20px; }
.trycard b { font-size: 16px; font-weight: 600; }
.trycard > span:not(.ic):not(.go) { font-size: 12.5px; color: var(--muted); line-height: 1.6; }
.trycard .go { margin-top: auto; padding-top: 6px; color: var(--accent); font-size: 13px; font-weight: 600; }

/* ── 투어 말풍선 — 오른쪽 아래 ─────────────────────────────
   예전엔 튜토리얼 화면에 「Start tour」 버튼과 설명 문단이 있었다. 투어는 화면을
   가로지르는 것이라 어느 화면에서든 부를 수 있어야 한다. */
.tourbubble {
  position: fixed; right: 20px; bottom: 20px; z-index: 50;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 10px 16px; border: 0; border-radius: var(--r-pill);
  background: var(--ink); color: #fff;
  font: inherit; font-size: 13px; font-weight: 600;
  box-shadow: 0 6px 20px rgba(14, 24, 38, .28);
  cursor: pointer;
  transition: transform .15s ease, background .15s ease;
}
.tourbubble:hover { background: var(--accent); transform: translateY(-2px); }
.tourbubble .i { width: 16px; height: 16px; }
body.tour-on .tourbubble { display: none; }
@media (max-width: 600px) { .tourbubble span { display: none; } .tourbubble { padding: 12px; } }

/* 위저드 바닥 — Back 은 늘 같은 자리. 단계마다 내용 길이가 달라도 움직이지 않게
   본문에 최소 높이를 주고 버튼을 바닥에 붙인다. */
.wizstep { display: flex; flex-direction: column; min-height: 440px; }
.wizfoot {
  margin-top: auto; padding-top: 20px;
  border-top: 1px solid var(--surface-3);
}
.wizfoot .btn[disabled] { visibility: hidden; }

/* ── 안내 모드 — 튜토리얼에서 들어왔을 때 ──────────────────
   다음에 누를 곳에 링을 돌린다. 설명을 읽히는 대신 손이 갈 자리를 짚는다. */
.guidetip {
  display: flex; align-items: center; gap: 8px;
  margin: 0 0 16px; padding: 10px 14px;
  border-radius: var(--r-sm); background: var(--accent-soft);
  color: var(--accent-hi); font-size: 12.5px; font-weight: 500;
}
.guidetip .i { width: 15px; height: 15px; flex: none; }

.guided { position: relative; }
.guided::after {
  content: ""; position: absolute; inset: -3px;
  border-radius: inherit; pointer-events: none;
  box-shadow: 0 0 0 2px var(--accent);
  animation: guidepulse 1.8s ease-in-out infinite;
}
@keyframes guidepulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .3; }
}
@media (prefers-reduced-motion: reduce) { .guided::after { animation: none; } }

/* ── 안내 모드의 말풍선과 잠금 ──────────────────────────────
   투어와 같은 남색 말풍선을 쓴다 — 「지금 이건 안내다」가 색으로 먼저 읽힌다.
   위(why)는 왜 이 단계가 있는지, 아래(do)는 무엇을 누를지. */
.coach {
  position: relative;
  margin: 0 0 20px; padding: 14px 16px;
  border-radius: var(--r); background: var(--ink); color: var(--ink-fg);
}
.coach::after {
  content: ""; position: absolute; left: 26px; bottom: -7px;
  width: 14px; height: 14px; background: var(--ink); transform: rotate(45deg);
}
.coach-why { margin: 0; font-size: 12.5px; line-height: 1.65; }
.coach-do {
  display: flex; align-items: center; gap: 7px;
  margin: 10px 0 0; padding-top: 10px;
  border-top: 1px solid var(--ink-line);
  color: #fff; font-size: 13px; font-weight: 600;
}
.coach-do .i { width: 15px; height: 15px; flex: none; color: var(--accent-2); }

/* 짚어 준 것 말고는 눌리지 않는다 — 튜토리얼은 정해진 길만 간다. */
.guide-off {
  pointer-events: none; opacity: .35; filter: saturate(.4);
}

/* ── Commons — 됐고 안 됐고의 기록 ─────────────────────────
   실패가 성공과 같은 무게로 올라온다. 왼쪽 색띠 하나로만 가른다 —
   실패를 빨간 배너로 키우면 아무도 안 적게 된다. */
.outcomes { list-style: none; margin: 0 0 26px; padding: 0; }
.oc { margin: 0 0 6px; }
.oc > a {
  display: block; padding: 12px 15px;
  border: 1px solid var(--line); border-left-width: 3px;
  border-radius: var(--r-sm); background: var(--surface); color: var(--fg);
  transition: border-color .13s ease;
}
.oc > a:hover { border-color: var(--line-2); color: var(--fg); }
.oc-head { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.oc-head b { font-size: 13.5px; font-weight: 600; }
.oc-tg { font-size: 12px; color: var(--muted); }
.oc-kind {
  font-size: 10px; font-family: var(--mono); text-transform: uppercase;
  letter-spacing: .04em; color: var(--faint);
  padding: 1px 6px; border-radius: var(--r-xs); background: var(--surface-3);
}
.oc-at { margin-left: auto; font-size: 11px; color: var(--faint); }
.oc-line { display: block; margin-top: 4px; font-size: 12.5px; color: var(--fg-2); }
.oc-why { display: block; margin-top: 2px; font-size: 12px; color: var(--muted); }

.oc-win  > a { border-left-color: var(--accent); }
.oc-loss > a { border-left-color: var(--danger); }
.oc-open > a { border-left-color: var(--warn); }

.commons-pages { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.commons-pages .plain > li { padding: 6px 0; font-size: 12.5px; }

/* ── 설계 지도 — 산점도와 공간 ───────────────────────────────
   라이브러리 없이 캔버스에 직접 찍는다. 판정 있는 점이 위로 오고, 선정된 것은
   링을 두른다. 범례를 누르면 그 판정만 남는다.
   축은 고를 수 있고, 세 번째를 세우면(3D) 끌어서 돌린다. */
.designmap { margin-bottom: 24px; overflow: hidden; }
.map-head {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; padding: 16px 18px 12px;
}
.map-head b { display: block; font-size: 14px; font-weight: 600; }
.map-head > div > span { display: block; margin-top: 3px; font-size: 12px; color: var(--muted); }

/* 2D / 3D — 붙은 두 칸짜리 토글. 회전은 3D 일 때만 나온다. */
.map-modes { display: flex; align-items: center; gap: 6px; flex: none; }
.map-modes button {
  padding: 5px 12px; border: 1px solid var(--line); border-radius: var(--r-pill);
  background: var(--surface); color: var(--fg-2);
  font: inherit; font-size: 11.5px; font-weight: 600; cursor: pointer;
}
.map-modes button:hover { border-color: var(--line-2); }
.map-modes button.on { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-hi); }
.map-modes .map-spin { font-weight: 400; }
.map-modes .map-spin[hidden] { display: none; }

/* 축 고르기 + 범례 — 한 줄에 두고, 좁아지면 접힌다. */
.map-tools {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px 16px; flex-wrap: wrap;
  padding: 0 18px 12px;
}
.map-axes { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.map-axes label { display: inline-flex; align-items: center; gap: 6px; }
.map-axes label > span {
  font-family: var(--mono); font-size: 11px; font-weight: 600; color: var(--faint);
}
.map-axes label[hidden] { display: none; }
.map-axes select {
  padding: 5px 8px; max-width: 190px;
  border: 1px solid var(--line); border-radius: var(--r-sm);
  background: var(--surface); color: var(--fg);
  font-family: inherit; font-size: 11.5px; outline: none; cursor: pointer;
}
.map-axes select:focus { border-color: var(--accent); }
.map-reset {
  padding: 5px 10px; border: 1px solid var(--line); border-radius: var(--r-pill);
  background: var(--surface); color: var(--muted);
  font: inherit; font-size: 11.5px; cursor: pointer;
}
.map-reset:hover { border-color: var(--line-2); color: var(--fg-2); }
.map-reset[hidden] { display: none; }

.map-legend { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.map-legend button, .map-legend .k-note {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px; border: 1px solid var(--line); border-radius: var(--r-pill);
  background: var(--surface); color: var(--fg-2);
  font: inherit; font-size: 11.5px; cursor: pointer;
}
.map-legend .k-note { cursor: default; color: var(--faint); }
.map-legend button:hover { border-color: var(--line-2); }
.map-legend button.on { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-hi); }
.map-legend button[hidden] { display: none; }
.map-legend .map-mine { border-style: dashed; }
.map-legend i { width: 9px; height: 9px; border-radius: 50%; display: block; }
.k-bind { background: var(--accent); }
.k-no_bind { background: var(--danger); }
.k-no_expr { background: var(--warn); }
.k-none { background: var(--line-2); }

.map-plot { position: relative; padding: 0 8px 4px; }
.map-plot canvas { display: block; cursor: crosshair; touch-action: pan-y; }
/* 3D 는 끌어서 돌린다 — 커서가 그걸 먼저 말해 준다. */
.designmap[data-mode="3d"] .map-plot canvas { cursor: grab; touch-action: none; }
.designmap.dragging .map-plot canvas { cursor: grabbing; }
.map-empty { position: absolute; inset: 0; display: grid; place-items: center; margin: 0; }
/* [hidden] 은 display:none 이 기본인데 위 규칙이 이긴다 — 명시적으로 되돌린다. */
.map-empty[hidden] { display: none; }

.map-tip {
  position: absolute; z-index: 5; pointer-events: none;
  min-width: 170px; padding: 10px 12px;
  border-radius: var(--r-sm); background: var(--ink); color: var(--ink-fg);
  font-size: 11.5px; line-height: 1.5;
  box-shadow: var(--shadow-3);
}
.map-tip .t-name { display: block; color: #fff; font-family: var(--mono); font-size: 12.5px; }
.map-tip .t-camp { display: block; color: var(--ink-muted); }
.map-tip .t-vals { display: block; margin-top: 5px; font-family: var(--mono); }
.map-tip .t-verdict {
  display: inline-block; margin-top: 7px; padding: 1px 7px;
  border-radius: var(--r-xs); font-family: var(--mono); font-weight: 600;
}
.t-verdict.v-bind { background: var(--accent); color: #fff; }
.t-verdict.v-no_bind { background: var(--danger); color: #fff; }
.t-verdict.v-no_expr { background: var(--warn); color: #fff; }
.t-verdict.v-none, .t-verdict.v-inconclusive { background: rgba(255,255,255,.12); }

.map-foot {
  margin: 0; padding: 10px 18px 16px;
  border-top: 1px solid var(--surface-3);
  font-size: 11.5px; color: var(--muted);
}

/* ── 랜딩 — 로그인 전에 보이는 유일한 화면 ─────────────────
   앱 셸이 없다. 갈 곳이 하나(로그인)뿐인 화면에 사이드바를 띄워 놓고 전부
   막는 것보다, 아예 안 보이는 편이 정직하다. */
body.welcome {
  min-height: 100dvh; display: grid; place-items: center;
  padding: 40px 24px;
  background:
    radial-gradient(900px 520px at 50% -10%, var(--accent-soft), transparent 70%),
    var(--bg-sunken);
}
.wel { max-width: 560px; text-align: center; animation: fadein .3s ease; }
.wel-mark img { border-radius: 16px; box-shadow: var(--shadow-2); }
.wel h1 {
  margin: 18px 0 2px; font-size: 34px; font-weight: 700; letter-spacing: -.02em;
}
.wel-tag { margin: 0 0 22px; font-size: 14px; color: var(--muted); }
.wel-lede {
  margin: 0 auto 28px; max-width: 480px;
  font-size: 14.5px; line-height: 1.7; color: var(--fg-2);
}

.wel-points {
  list-style: none; margin: 0 0 30px; padding: 0;
  display: flex; flex-direction: column; gap: 12px; text-align: left;
}
.wel-points li {
  padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r);
  background: var(--surface);
}
.wel-points b { display: block; font-size: 13.5px; font-weight: 600; }
.wel-points span { display: block; margin-top: 3px; font-size: 12.5px; color: var(--muted); line-height: 1.6; }

.wel-go { padding: 12px 28px; font-size: 14px; }
.wel-foot { margin: 16px 0 0; font-size: 12px; color: var(--faint); }
