/* Log 탭 (작성 / 내 로그 / AI 분석) */

.log__seg { background: var(--surface-header); padding: 10px 16px 12px; }
/* 하단 여백 — .page가 탭바 높이만큼 이미 밀어주지만, 26px만으로는 마지막 카드가
   탭바에 바싹 붙습니다. 여유를 둬 마지막 줄이 가려지지 않게 합니다(2026-09-14). */
.log__body { padding: var(--section-top) var(--pad-screen) 40px; }

.log-card {
  background: var(--surface-header); border: 1px solid var(--line-10);
  border-radius: var(--r-mid); padding: 18px; margin-bottom: 12px; position: relative;
}
.log-card__cap { font-size: 13.5px; font-weight: 700; color: var(--accent-forecast); letter-spacing: .5px; margin-bottom: 16px; }

.log-field__label { display: block; font-size: 14.5px; font-weight: 500; color: var(--text-muted); margin-bottom: 9px; }
.log-field__label small { font-size: 11.5px; font-weight: 500; color: var(--text-dim); }
.log-field { margin-bottom: 20px; }
.log-field:last-child { margin-bottom: 0; }

/* 2×2 접힌 버튼 그리드 — 오버레이로 펼쳐서 그리드 높이를 밀지 않음 */
.log-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.log-slot { position: relative; }
.log-slot__label { display: block; font-size: 13.5px; font-weight: 500; color: var(--text-muted); margin-bottom: 7px; }
.log-slot__btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; padding: 15px 12px; height: 50px;
  border: 1.5px solid var(--line-10); border-radius: 14px;
  background: var(--surface-card); color: var(--text-strong);
  font-size: 16px; font-weight: 700; cursor: pointer;
}
.log-slot__btn .ico { color: var(--text-muted); display: flex; }
.log-slot__btn .chev { color: var(--text-dim); font-size: 13px; }
.log-slot__end { text-align: center; font-size: 12px; color: var(--text-dim); margin-top: 7px; cursor: pointer; }

.log-pop {
  position: absolute; top: 100%; left: 0; right: 0; margin-top: 8px; padding: 10px;
  border: 1px solid rgba(255, 255, 255, .15); border-radius: 12px;
  background: var(--surface-raised); box-shadow: 0 12px 28px rgba(0, 0, 0, .45); z-index: 40;
  max-height: 340px; overflow-y: auto;
}
.log-pop__cap { font-size: 11.5px; color: var(--text-dim); font-weight: 700; margin-bottom: 6px; }
.log-pop__row {
  display: block; width: 100%; text-align: left;
  padding: 12px 14px; margin-bottom: 4px; border-radius: 9px;
  border: 1.5px solid transparent; background: var(--surface-card);
  color: var(--text-quiet); font-size: 14.5px; font-weight: 600; cursor: pointer; min-height: 44px;
}
.log-pop__row.is-on { border-color: var(--accent-forecast); color: var(--accent-forecast); background: rgba(94, 198, 240, .12); }
.log-pop__line { display: flex; align-items: center; gap: 4px; margin-bottom: 4px; }
.log-pop__line .log-pop__row { flex: 1; margin-bottom: 0; }
.log-pop__del {
  background: none; border: none; color: var(--text-dim); font-size: 15px;
  cursor: pointer; padding: 10px 8px; min-height: 44px;
}
.log-pop__input {
  width: 100%; box-sizing: border-box; padding: 11px 40px 11px 12px;
  border: 1.5px solid rgba(255, 255, 255, .15); border-radius: 9px;
  font-size: 14.5px; color: var(--text-strong); background: var(--surface-card); outline: none;
}
.log-pop__ok {
  position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
  width: 26px; height: 26px; border-radius: 50%;
  background: rgba(94, 198, 240, .18); color: var(--accent-forecast);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 800; cursor: pointer; border: none;
}

/* 드럼피커 (시작시간) */
.drum { display: flex; align-items: center; justify-content: center; gap: 12px; }
.drum__cell {
  width: 56px; height: 50px; border-radius: 11px; border: 1.5px solid #1A8AAF;
  background: var(--surface-card); color: var(--text-strong);
  font-size: 19px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; user-select: none;
}
.drum__colon { font-size: 20px; font-weight: 700; color: var(--text-quiet); }
.drum__hint { text-align: center; font-size: 11px; color: var(--text-dim); margin: 9px 0 12px; }
.drum__done { width: 100%; padding: 12px; border: none; border-radius: 9px; background: #1A8AAF; color: #fff; font-size: 13.5px; font-weight: 700; cursor: pointer; min-height: 44px; }

/* 세션 컨디션 */
.cond {
  background: linear-gradient(140deg, #12303f, #0a0a0b);
  border-radius: 12px; padding: 14px;
}
.cond__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 9px; }
.cond__src  { font-size: 12.5px; font-weight: 700; color: var(--accent-forecast); letter-spacing: .5px; }
.cond__tag  { font-weight: 500; color: var(--text-muted); font-size: 12.5px; }
.cond__status { font-size: 13px; color: var(--text-muted); line-height: 1.55; }
.cond__wave { display: flex; align-items: baseline; gap: 5px; margin-bottom: 10px; }
.cond__num  { font-size: 23px; font-weight: 800; color: var(--tier-best); letter-spacing: -.5px; }
.cond__unit { font-size: 14px; color: var(--text-muted); }
.cond__max  { font-size: 12.5px; color: var(--text-muted); margin-left: auto; }
.cond__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5px 8px; }
.cond__cell { display: flex; justify-content: space-between; align-items: center; gap: 6px; padding: 5px 0; }
.cond__k    { font-size: 13px; color: var(--text-muted); }
.cond__v    { font-size: 12.5px; font-weight: 600; color: var(--text-strong); display: flex; align-items: center; gap: 3px; }

.log-warn {
  margin-top: 10px; font-size: 12.5px; color: #ff6b6b;
  line-height: 1.5; text-align: center; font-weight: 500;
}
.log-delta {
  font-size: 12.5px; color: #f0c9a0;
  background: rgba(224, 129, 63, .12); border: 1px solid rgba(224, 129, 63, .3);
  border-radius: 9px; padding: 9px 11px; margin-top: 10px; line-height: 1.55;
}

/* 칩 */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips--tight { gap: 6px; }
.chips--editing { padding: 7px; border-radius: 12px; border: 1.5px dashed rgba(255, 255, 255, .2); }
.chip {
  display: inline-flex; align-items: center; justify-content: center; text-align: center; gap: 6px;
  padding: 11px 16px 13px; min-height: 44px; box-sizing: border-box;
  white-space: nowrap; flex-shrink: 0; border-radius: 22px;
  border: 1.5px solid var(--line-12); background: var(--surface-card);
  color: var(--text-quiet); font-size: 15px; font-weight: 500; cursor: pointer; line-height: 1;
}
.chip.is-on { font-weight: 700; }
.chip--cool.is-on   { border-color: #5ec6f0; background: rgba(94, 198, 240, .16); color: #5ec6f0; }
.chip--warm.is-on   { border-color: #F5B942; background: rgba(245, 185, 66, .16); color: #F5B942; }
.chip--green.is-on  { border-color: #3fce7f; background: rgba(63, 206, 127, .16); color: #3fce7f; }
.chip--purple.is-on { border-color: #b394f0; background: rgba(163, 124, 231, .18); color: #b394f0; }

.field-head { display: flex; align-items: flex-start; gap: 8px; margin-bottom: 9px; }
.field-head label { flex: 1; font-size: 14.5px; font-weight: 400; }
.field-head .kebab {
  flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; border: none;
  background: transparent; color: var(--text-dim); font-size: 15px; font-weight: 700;
  cursor: pointer; line-height: 1; display: flex; align-items: center; justify-content: center;
}
.field-head .done-btn {
  font-size: 11.5px; font-weight: 700; border: none;
  padding: 6px 12px; border-radius: 20px; cursor: pointer; min-height: 32px;
}

.cleanup { margin-top: 10px; }
.cleanup__msg { font-size: 11.5px; line-height: 1.6; }
.cleanup__box { margin-top: 10px; padding: 11px; border-radius: 10px; }
.cleanup__row { display: flex; gap: 8px; margin-top: 10px; }
.cleanup__input { flex: 1; min-width: 0; padding: 11px 12px; border-radius: 10px; font-size: 13.5px; color: var(--text-strong); outline: none; }
.cleanup__add   { padding: 11px 16px; border: none; border-radius: 10px; font-size: 13.5px; font-weight: 700; cursor: pointer; min-height: 44px; }

/* 집중 항목 · 결과 · 스팟 메모 (콘텐츠 명세 v1.4 §2) */
/* `다른 기술 보기` · `+ 직접 입력`처럼 선택이 아니라 여는 동작인 칩 */
.chip--ghost { border-style: dashed; opacity: .8; font-size: 14px; }

/* 결과 한 줄 — 주황 영역에 종속된 하위 요소라 별도 카드로 만들지 않습니다.
   한 번에 한 문장만 놓습니다: 답하기 전엔 질문, 답한 뒤엔 답.
   질문과 답을 나란히 두면 모바일에서 둘 다 작아져 읽기 어려웠습니다(2026-08-26 확정).
   문장이 하나뿐이라 길어져도 그냥 아래로 이어지고, 박스만 세로로 늘어납니다. */
.result-row {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  width: 100%; box-sizing: border-box; margin-top: 12px;
  padding: 13px 14px; min-height: 52px;
  border: 1.5px solid var(--line-12); border-radius: 12px;
  background: var(--surface-card); cursor: pointer; text-align: left;
  font-family: inherit;
}
.result-row__main {
  flex: 1; min-width: 0;
  font-size: 15px; line-height: 1.45;
  word-break: keep-all; overflow-wrap: anywhere;
}
.result-row.is-answered .result-row__main { font-weight: 700; }
.result-row__chev { flex-shrink: 0; font-size: 16px; }

/* 결과 선택 시트 — 문장형 라디오 목록 */
.result-list { display: flex; flex-direction: column; gap: 2px; }
/* 문장 선택과 `ⓘ`는 겹치지 않는 별개의 터치 영역입니다(용어 사전 §5). */
.result-opt { display: flex; align-items: center; gap: 4px; }
.result-opt__pick {
  flex: 1; min-width: 0;
  display: flex; align-items: center; gap: 11px; box-sizing: border-box;
  padding: 13px 4px; min-height: 48px; border: none; background: none;
  color: var(--text-quiet); font-size: 15px; font-family: inherit; line-height: 1.45;
  text-align: left; cursor: pointer;
}
.result-opt.is-on .result-opt__pick { color: var(--text-strong); font-weight: 700; }
.result-opt__dot {
  flex-shrink: 0; width: 18px; height: 18px; border-radius: 50%;
  border: 1.5px solid var(--line-25); box-sizing: border-box;
}
.sheet-btn {
  flex: 1; padding: 13px; border-radius: 12px; min-height: 48px;
  border: 1.5px solid var(--line-12); background: transparent;
  color: var(--text-quiet); font-size: 14.5px; font-weight: 600; font-family: inherit; cursor: pointer;
}
.sheet-btn--primary { border-color: transparent; background: #F5B942; color: #141416; font-weight: 700; }

/* ── 서핑 용어 사전 ── */
/* `ⓘ` — 터치 영역은 최소 44×44px(용어 사전 §3.2). 아이콘 자체는 작게 둡니다. */
.info-btn {
  flex-shrink: 0; width: 44px; min-height: 44px; align-self: center;
  display: flex; align-items: center; justify-content: center;
  border: none; background: none; cursor: pointer;
  font-size: 16px; color: var(--text-sub); font-family: inherit;
}
/* 교정 포인트 제목 옆 `ⓘ 용어` — 칩이 아니라 글자 링크라 칩과 헷갈리지 않습니다. */
.term-link {
  flex-shrink: 0; border: none; background: none; cursor: pointer;
  font-family: inherit; font-size: 12.5px; font-weight: 700;
  padding: 6px 2px 6px 8px; min-height: 32px;
}
.term-search {
  width: 100%; box-sizing: border-box; padding: 12px 14px; margin-bottom: 12px;
  border: 1.5px solid var(--line-12); border-radius: 10px;
  font-size: 15px; font-family: inherit; color: var(--text-strong);
  background: #141416; outline: none;
}
.term-filters { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 6px; }
.term-filter {
  padding: 8px 13px; min-height: 36px; border-radius: 18px;
  border: 1.5px solid var(--line-12); background: var(--surface-card);
  color: var(--text-quiet); font-size: 13.5px; font-family: inherit; cursor: pointer;
}
.term-filter.is-on { border-color: #5ec6f0; background: rgba(94, 198, 240, .16); color: #5ec6f0; font-weight: 700; }
.term-entry { padding: 15px 0; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.term-entry:last-child { border-bottom: none; }
.term-row {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  width: 100%; box-sizing: border-box; padding: 15px 2px; min-height: 52px;
  border: none; border-bottom: 1px solid rgba(255, 255, 255, .06);
  background: none; font-family: inherit; text-align: left; cursor: pointer;
}
.term-row:last-child { border-bottom: none; }
.term-pill {
  padding: 6px 11px; min-height: 32px; border-radius: 16px;
  border: 1px solid var(--line-12); background: var(--surface-card);
  color: var(--text-quiet); font-size: 12.5px; font-family: inherit; cursor: pointer;
}
.term-more {
  display: block; width: 100%; margin-top: 18px; padding: 13px; min-height: 48px;
  border: 1.5px solid var(--line-12); border-radius: 12px; background: none;
  color: #5ec6f0; font-size: 14.5px; font-weight: 700; font-family: inherit; cursor: pointer;
}

/* 스팟 메모 접힘 한 줄 — 아무것도 안 골랐으면 이 줄만 보입니다(§8) */
.memo-collapsed {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  width: 100%; box-sizing: border-box; padding: 14px; min-height: 48px;
  border: 1.5px solid var(--line-12); border-radius: 12px;
  background: var(--surface-card); cursor: pointer; text-align: left; font-family: inherit;
}
/* 접힌 상태의 + — 펼침 토글 용도로만 씁니다(보라는 칩 관리 창이 없습니다).
   테두리 없이 기호만 둡니다 — 동그라미를 그리면 누를 수 있는 별도 버튼처럼 보여
   줄 전체가 토글이라는 게 오히려 가려집니다. */
.memo-plus { font-size: 17px; font-weight: 700; line-height: 1; flex-shrink: 0; }

/* 보드 배지 */
.board-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.board-badge {
  display: inline-flex; align-items: center; gap: 2px;
  padding: 9px 6px 9px 14px; border-radius: 22px; min-height: 44px;
  border: 1.5px solid var(--line-12); background: var(--surface-card);
  color: var(--text-quiet); font-size: 14.5px; font-weight: 600;
}
.board-badge.is-on { border-color: #5ec6f0; background: rgba(94, 198, 240, .16); color: #5ec6f0; font-weight: 700; }
.board-badge span { cursor: pointer; }
.board-badge button { background: none; border: none; color: inherit; opacity: .65; cursor: pointer; padding: 4px 8px; font-size: 14px; }
.board-add {
  width: 30px; height: 30px; border-radius: 50%;
  border: 1.5px dashed rgba(154, 154, 158, .5); background: transparent;
  color: var(--text-muted); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}

/* 메모 · 별점 · 저장 */
.memo-wrap { border: 1.5px solid var(--line-10); border-radius: 10px; background: var(--surface-card); overflow: hidden; }
.memo-wrap textarea {
  width: 100%; height: 104px; padding: 12px 14px; border: none; background: transparent;
  font-size: 15px; color: var(--text-strong); outline: none; resize: none; line-height: 1.6;
}
.memo-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 12px 11px; }
/* 입력창 **위** 줄(기술·의식 포인트) — 2026-09-09 §2. 아래가 아니라 위에 붙으므로
   패딩 방향을 뒤집고, 입력창과 붙어 보이지 않게 아래쪽에만 옅은 구분선을 둡니다. */
.memo-chips--top { padding: 11px 12px 9px; border-bottom: 1px solid var(--line-08); }
/* 스팟 메모 — 같은 박스 안, 입력창 **아래**. 위쪽 줄과 대칭이 되게 구분선을 위에 둡니다. */
.memo-chips--spot { padding: 9px 12px 11px; border-top: 1px solid var(--line-08); }
.memo-chip { font-size: 11.5px; font-weight: 700; padding: 4px 9px; border-radius: 999px; }
.memo-count { text-align: right; font-size: 12px; margin-top: 6px; line-height: 1; }

.stars { display: flex; gap: 10px; justify-content: center; padding: 10px 0; }
.stars button { background: none; border: none; padding: 0; cursor: pointer; display: inline-flex; }

.save-btn {
  width: 100%; padding: 15px; border: none; border-radius: 12px;
  font-size: 16px; font-weight: 800; cursor: pointer; min-height: 48px;
  background: var(--cta-grad); color: #fff;
}
.save-btn:disabled { background: rgba(255, 255, 255, .07); color: var(--text-dim); cursor: not-allowed; }
.save-hint { text-align: center; font-size: 12px; color: var(--text-muted); margin-top: 9px; line-height: 1.5; opacity: .85; }

/* 내 로그 카드 */
.logrow {
  background: var(--surface-header); border-radius: 14px; padding: 14px 16px;
  margin-bottom: 10px; border: 1px solid var(--line-10); cursor: pointer; width: 100%; text-align: left;
}
.logrow__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 9px; gap: 8px; }
.logrow__left { display: flex; align-items: center; gap: 6px; min-width: 0; }
.logrow__spot { font-size: 16.5px; font-weight: 700; color: var(--text-strong); }
.logrow__stars { font-size: 13px; color: var(--accent-rating); letter-spacing: 1px; flex-shrink: 0; }
.logrow__board { font-size: 13px; color: var(--text-muted); flex-shrink: 0; }
.logrow__date { font-size: 13px; color: var(--text-muted); flex-shrink: 0; }
.logrow__badges { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 5px; }
.logbadge { font-size: 12.5px; font-weight: 600; padding: 5px 9px; border-radius: 7px; background: rgba(255, 255, 255, .07); color: var(--text-quiet); }
/* 로그 상세보기 본문 — 자동 생성 문장과 사용자가 쓴 글이 같은 글꼴·색·행간을 씁니다
   (2026-09-09 §2). 둘을 다르게 그리면 사용자가 쓴 글만 인용처럼 떠 보입니다. */
.logdetail { font-size: 15px; line-height: 1.75; color: var(--text-strong); word-break: keep-all; overflow-wrap: anywhere; }
/* 스팟 메모 — 배지와 문장이 같은 줄에서 시작하고, 길면 문장만 다음 줄로 흐릅니다.
   배지를 인라인으로 두면 float 없이도 이 흐름이 그대로 나옵니다(§3). */
.logdetail__spot { margin: 0; font-size: 15px; line-height: 1.75; color: var(--text-strong); word-break: keep-all; overflow-wrap: anywhere; }
.logdetail__spotbadge {
  display: inline-block; margin-right: 8px; vertical-align: 1px;
  font-size: 11.5px; font-weight: 700; padding: 3px 9px; border-radius: 999px;
  background: rgba(163, 124, 231, .18); color: #b394f0;
}

.logrow__memo { font-size: 15px; color: var(--text-muted); line-height: 1.55; margin-top: 9px; }
/* 미리보기 본문 — 서핑 기록 + 자유서술, **최대 3줄**에서 말줄임(2026-09-09 §3-7).
   자유서술이 아무리 길어도 카드 높이가 늘어나지 않게 하려는 것입니다.
   -webkit-* 는 접두사가 붙었지만 모든 주요 브라우저가 지원하는 사실상 표준이고,
   표준 line-clamp도 함께 적어 두 경로 중 지원되는 쪽이 걸리게 합니다. */
.logrow__preview {
  font-size: 15px; color: var(--text-muted); line-height: 1.55; margin-top: 9px;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3;
  overflow: hidden; word-break: keep-all; overflow-wrap: anywhere;
}
.logrow__edit { font-size: 12px; color: var(--text-dim); text-align: right; margin-top: 8px; font-weight: 500; }

/* ── 개인 로그 리포트 결과 화면 (2026-09-14) ─────────────────────────────────
   예보 리포트(.report)와 **같은 디자인 언어**를 씁니다 — 섹션 제목 색, 구분선,
   본문 행간, 근거 문구 크기. 다만 클래스는 따로 둡니다: 두 기능이 서로 다른
   규칙으로 움직이는데 한 클래스를 공유하면 한쪽을 고칠 때 다른 쪽이 조용히 따라옵니다. */

.lrep__mock {
  font-size: 11.5px; font-weight: 700; color: #e2a33a; letter-spacing: .2px;
  background: rgba(226, 163, 58, .12); border-radius: 8px;
  padding: 7px 10px; margin-bottom: 14px;
}

/* 머리말 — 전환해도 높이가 변하지 않아야 해서 min-height를 고정합니다.
   번호·기간·건수·생성시각은 길이가 들쭉날쭉하니 자리부터 잡아둡니다. */
.lrep__head { min-height: 84px; border-bottom: 1px solid rgba(255,255,255,.09); padding-bottom: 14px; margin-bottom: 16px; }
.lrep__headtop { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.lrep__no { font-size: 16.5px; font-weight: 700; color: var(--accent-forecast); letter-spacing: .3px; }
/* 현재/직전은 **글자로** 구분합니다. 색은 거들기만 하고 혼자 뜻을 나르지 않습니다. */
.lrep__pos {
  font-size: 11.5px; font-weight: 700; padding: 3px 8px; border-radius: 999px;
  background: rgba(94,198,240,.14); color: var(--accent-forecast); white-space: nowrap;
}
.lrep__pos.is-prev { background: rgba(255,255,255,.10); color: var(--text-muted); }
.lrep__meta { font-size: 12.5px; color: var(--text-dim); margin-top: 7px; line-height: 1.6; }
/* 기간 / 건수·생성시각을 **두 줄로** 나눕니다. 한 줄로 흘리면 좁은 화면에서
   '생성' 한 단어만 다음 줄로 떨어져 글자가 미아가 됩니다. */
.lrep__metaline { display: block; }
.lrep__metaline + .lrep__metaline { margin-top: 2px; }
/* 묶음 안에서는 끊기지 않게 — 날짜와 단위가 갈라지지 않습니다. */
.lrep__nw { white-space: nowrap; }
.lrep__dot { display: inline-block; width: 2.5px; height: 2.5px; border-radius: 50%; background: currentColor; margin: 0 7px; vertical-align: middle; opacity: .55; }

/* 전환 — 같은 자리의 작은 보조 동작. 탭도 아니고 나란한 카드도 아닙니다. */
.lrep__swap {
  margin-top: 11px; padding: 8px 12px; min-height: 40px;
  border: 1px solid rgba(255,255,255,.14); border-radius: 10px;
  background: none; color: var(--text-muted);
  font-size: 13px; font-weight: 500; font-family: inherit; cursor: pointer;
}
.lrep__swap:hover { color: var(--text-strong); border-color: rgba(255,255,255,.26); }

.lrep__sec { border-top: 1px solid rgba(255,255,255,.09); padding-top: 16px; margin-top: 16px; }
.lrep__sec:first-of-type { border-top: none; padding-top: 0; margin-top: 0; }
.lrep__sech { font-size: 16px; font-weight: 700; color: var(--accent-forecast); letter-spacing: .2px; margin-bottom: 10px; word-break: keep-all; overflow-wrap: anywhere; }
.lrep__flowtitle { font-size: 16px; font-weight: 700; color: var(--text-strong); line-height: 1.6; margin-bottom: 8px; word-break: keep-all; overflow-wrap: anywhere; }
.lrep__p { font-size: 15px; color: var(--text-muted); line-height: 1.75; margin: 0 0 10px; word-break: keep-all; overflow-wrap: anywhere; }
.lrep__p:last-child { margin-bottom: 0; }
.lrep__hint { color: var(--text-strong); }

/* 발견 — 번호를 본문 밖에 두어 여러 개여도 읽는 리듬이 유지됩니다. */
.lrep__find { display: flex; gap: 11px; margin-bottom: 18px; }
.lrep__find:last-child { margin-bottom: 0; }
.lrep__findno {
  flex: 0 0 22px; width: 22px; height: 22px; border-radius: 50%;
  background: rgba(94,198,240,.14); color: var(--accent-forecast);
  font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; margin-top: 2px;
}
.lrep__findmain { flex: 1 1 auto; min-width: 0; }
.lrep__findtitle { font-size: 15px; font-weight: 700; color: var(--text-strong); line-height: 1.6; margin-bottom: 7px; word-break: keep-all; overflow-wrap: anywhere; }

/* 근거 — 기본 접힘. 펼치기 버튼은 링크처럼 보이되 44px 터치 영역을 지킵니다. */
.lrep__evibtn {
  border: none; background: none; padding: 9px 0; min-height: 40px;
  color: var(--accent-forecast); font-size: 13px; font-weight: 600;
  font-family: inherit; cursor: pointer;
}
.lrep__evi { border-left: 2px solid rgba(94,198,240,.25); padding-left: 11px; margin: 2px 0 4px; }
.lrep__evirow { padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,.06); }
.lrep__evirow:last-child { border-bottom: none; padding-bottom: 0; }
.lrep__evitop { font-size: 12.5px; color: var(--text-dim); }
.lrep__evitags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 6px; }
.lrep__tag {
  font-size: 11.5px; font-weight: 600; padding: 3px 8px; border-radius: 6px;
  background: rgba(255,255,255,.07); color: var(--text-muted);
}
.lrep__tag.is-result { background: rgba(94,198,240,.12); color: var(--accent-forecast); }
.lrep__evicorr { font-size: 12.5px; color: var(--text-dim); margin-top: 6px; line-height: 1.55; }
.lrep__eviquote { font-size: 13.5px; color: #AAAAAA; line-height: 1.6; margin-top: 6px; word-break: keep-all; overflow-wrap: anywhere; }

/* 함께 보기 */
.lrep__rel { background: rgba(255,255,255,.045); border-radius: 10px; padding: 12px; }
.lrep__reltitle { font-size: 14.5px; font-weight: 700; color: var(--text-strong); margin-bottom: 5px; }
.lrep__relwhy { font-size: 13px; color: var(--text-dim); line-height: 1.6; word-break: keep-all; overflow-wrap: anywhere; }

/* 상단 복귀 — 상세가 화면 첫 콘텐츠라 위에서도 돌아갈 수 있어야 합니다.
   하단 복귀와 같은 문구를 쓰되 여기서는 더 작고 조용하게 둡니다. */
.lrep__backtop {
  display: inline-block; margin: -2px 0 12px; padding: 8px 0; min-height: 40px;
  border: none; background: none; color: var(--text-dim);
  font-size: 13px; font-family: inherit; cursor: pointer; text-align: left;
}
.lrep__backtop:hover { color: var(--text-muted); }

.lrep__back {
  margin-top: 18px; padding: 10px 0; min-height: 44px; width: 100%;
  border: none; background: none; color: var(--text-dim);
  font-size: 13.5px; font-family: inherit; cursor: pointer; text-align: left;
}

/* 목록 — 누적 진입. 검색·필터 없이 최신순으로만 쌓입니다. */
.lrep__list { display: flex; flex-direction: column; }
.lrep__listrow {
  display: flex; align-items: center; gap: 10px; width: 100%;
  padding: 14px 0; min-height: 44px;
  border: none; border-bottom: 1px solid rgba(255,255,255,.08);
  background: none; font-family: inherit; cursor: pointer; text-align: left;
}
.lrep__listrow:last-child { border-bottom: none; }
.lrep__listmain { flex: 1 1 auto; min-width: 0; }
.lrep__listtop { display: flex; align-items: center; gap: 7px; margin-bottom: 5px; }
.lrep__listno { font-size: 13px; font-weight: 700; color: var(--accent-forecast); }
.lrep__listtitle { font-size: 14.5px; color: var(--text-strong); line-height: 1.55; word-break: keep-all; overflow-wrap: anywhere; }
.lrep__listmeta { font-size: 12px; color: var(--text-dim); margin-top: 5px; }
.lrep__chev { flex: 0 0 auto; font-size: 20px; color: var(--text-dim); line-height: 1; }

/* ── 통합 분석 요청 카드 (2026-09-14) ────────────────────────────────────────
   버튼 → 설명 → 조건 → 재료 ⓘ 한 카드에 모읍니다. 별도 '재료' 컨테이너를 없앤 만큼
   카드 안에서 위계가 분명해야 해서 글자 크기를 세 단계로 나눴습니다. */

/* ── 요청 카드 ───────────────────────────────────────────────────────────────
   카드 전체를 가운데로 모았더니 요소가 위아래로만 늘어서면서 빈 여백이 커졌습니다.
   왼쪽 정렬로 되돌립니다(2026-09-15). 문단 최대 폭도 가운데 정렬 때문에 뒀던 것이라
   함께 뺍니다 — 카드 본래 폭과 여백을 그대로 씁니다. */

/* 요청 버튼 — **한 줄**. 진행 수치가 붙어도 높이가 변하지 않습니다. */
.lrep__reqbtn { white-space: nowrap; }
/* 진행 수치 — 같은 줄, 한 단계 작은 글자, 일반 굵기.
   색은 회색 토큰이 아니라 CTA 위 전용 토큰입니다. --text-muted 같은 회색은 어두운
   카드 배경을 전제로 만든 값이라, 파란 그라데이션 위에서는 대비가 무너집니다. */
.lrep__reqsub {
  font-size: 12.5px; font-weight: 500; color: var(--on-cta-sub);
  letter-spacing: 0;
}

/* 버튼 밖 보조 문구 — 지금은 '오늘 완료'에만 붙습니다. */
.lrep__reqnote {
  font-size: 12.5px; color: var(--text-dim); line-height: 1.6;
  margin-top: 9px; word-break: keep-all; overflow-wrap: anywhere;
  white-space: pre-line;   /* 접수 안내는 두 줄이다 */
}
/* 리포트 준비 알림 받기 — 사용자가 누를 때만 권한을 묻는다 */
.lrep__pushbtn { margin-top: 10px; }
/* 제한·기본 리포트 범위 안내 */
.lrep__notice { border: 1px solid rgba(255,255,255,.12); border-radius: 12px; padding: 12px 14px; margin-bottom: 16px; background: rgba(255,255,255,.03); }
.lrep__noticetitle { font-size: 14.5px; font-weight: 700; color: var(--text-muted); margin-bottom: 6px; word-break: keep-all; overflow-wrap: anywhere; }
.lrep__notice .lrep__p { font-size: 13.5px; margin-bottom: 4px; }
.lrep__reqdesc {
  font-size: 14px; color: var(--text-muted); line-height: 1.7;
  margin: 16px 0 0; word-break: keep-all; overflow-wrap: anywhere;
}
.lrep__reqcond {
  font-size: 13px; color: var(--text-dim); line-height: 1.7;
  margin: 10px 0 0; word-break: keep-all; overflow-wrap: anywhere;
}

/* 재료 ⓘ — 링크처럼 읽히되 44px 터치 영역을 지킵니다. */
.lrep__matbtn {
  display: inline-flex; align-items: center; gap: 2px;
  margin-top: 12px; padding: 10px 0; min-height: 44px;
  border: none; background: none; color: var(--accent-forecast);
  font-size: 13.5px; font-weight: 600; font-family: inherit; cursor: pointer;
}
.lrep__matbtn:focus-visible { outline: 2px solid var(--accent-forecast); outline-offset: 3px; border-radius: 4px; }
.lrep__mati { font-size: 13px; }

/* 전체 보기 — 목록 맨 아래의 조용한 동작. 리포트가 3개 이상일 때만 나옵니다. */
.lrep__more {
  display: block; width: 100%; margin-top: 4px; padding: 13px 0; min-height: 44px;
  border: none; border-top: 1px solid rgba(255,255,255,.08);
  background: none; color: var(--accent-forecast);
  font-size: 13.5px; font-weight: 600; font-family: inherit; cursor: pointer;
}
.lrep__more:focus-visible { outline: 2px solid var(--accent-forecast); outline-offset: -2px; }

/* 재료 시트 본문 — 모바일에서 읽히도록 짧은 문단과 목록으로만 구성합니다. */
.lrep__mth {
  font-size: 14.5px; font-weight: 700; color: var(--accent-forecast);
  margin: 18px 0 8px; letter-spacing: .2px;
}
.lrep__mth:first-child { margin-top: 0; }
.lrep__mtp {
  font-size: 14px; color: var(--text-muted); line-height: 1.75;
  margin: 0 0 9px; word-break: keep-all; overflow-wrap: anywhere;
}
.lrep__mtul { margin: 0; padding-left: 18px; }
.lrep__mtul li {
  font-size: 14px; color: var(--text-muted); line-height: 1.7;
  margin-bottom: 5px; word-break: keep-all; overflow-wrap: anywhere;
}
