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

/* 「작성 / 내 로그 / 리포트」 탭 줄도 헤더 바로 아래에 고정(2026-09-28). 불투명 배경 그대로 */
.log__seg { background: var(--chrome-bg); padding: 10px 16px 12px; position: sticky; top: calc(var(--topbar-h) + env(safe-area-inset-top)); z-index: 30; }
.log__seg .segmented__btn.is-active { background: var(--nav-bg); }
/* 하단 여백 — .page가 탭바 높이만큼 이미 밀어주지만, 26px만으로는 마지막 카드가
   탭바에 바싹 붙습니다. 여유를 둬 마지막 줄이 가려지지 않게 합니다(2026-09-14). */
.log__body { padding: var(--section-top) var(--pad-screen) 40px; }

.log-edit-notice { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; font-size: 14px; color: var(--text-muted); }
.log-edit-cancel { min-height: 44px; padding: 10px 14px; border: 1px solid var(--line-12); border-radius: 10px; background: var(--surface-header); color: var(--text-strong); font-size: 14px; font-weight: 500; cursor: pointer; }
.log-edit-cancel:disabled { opacity: .45; cursor: not-allowed; }
.log-edit-cancel--bottom { width: 100%; margin-top: 10px; }

.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-date-policy { grid-column: 1 / -1; margin: 0; color: var(--text-sub); font-size: 12px; line-height: 1.6; overflow-wrap: anywhere; }
.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;
}
/* 날짜 버튼(2026-09-28) — 아이콘 · '9월 24일'(이전 연도면 위에 '2025년') · 요일 'MON' · 펼침. 첫 줄(날짜·스팟) 두 버튼은 높이가 같게(기본 50px). */
.log-grid > .log-slot:nth-child(-n+2) { display: flex; flex-direction: column; }
.log-grid > .log-slot:nth-child(-n+2) > .log-slot__btn { flex: 1 0 auto; height: auto; min-height: 50px; padding-top: 6px; padding-bottom: 6px; box-sizing: border-box; }
.log-grid > .log-slot:nth-child(-n+2) > .log-slot__btn--date { padding-left: 10px; padding-right: 10px; gap: 6px; }
/* 날짜 글자 — 이전 연도면 연도(윗줄)와 월·일(아랫줄)을 가운데 맞춘 두 줄. 버튼 높이는 옆 스팟 버튼과 같게(50px) */
.log-slot__date { display: flex; flex-direction: column; align-items: center; line-height: 1.2; min-width: 0; }
.log-slot__md   { white-space: nowrap; }
/* 요일 — 날짜 아랫줄 가운데. 14일 날짜 칩의 요일(.daystrip__wd)과 같은 글꼴·크기·굵기·옅기. 색은 JS가 weekdayColor로(토 파랑·일 빨강·평일 회색) */
.log-slot__wd   { font-family: var(--font-num); font-size: 10px; font-weight: 300; letter-spacing: .3px; opacity: .8; line-height: 1; margin-top: 2px; }
.log-slot__year { font-size: 12px; font-weight: 400; line-height: 1.15; color: var(--text-muted); }
/* 오늘·어제 — 요일을 옆에 붙인 한 줄('어제 SUN'), 글자 밑선에 맞춤 */
.log-slot__date--inline { flex-direction: row; align-items: baseline; gap: 5px; }
.log-slot__date--inline .log-slot__wd { margin-top: 0; }
/* 이전 연도 + 7일 이내(1월 초에만 생김) — 연도·날짜·요일 세 줄을 50px 안에: 줄 간격·위아래 여백만 좁힘 */
.log-grid > .log-slot:nth-child(-n+2) > .log-slot__btn--date.is-3line { padding-top: 3px; padding-bottom: 3px; }
.is-3line .log-slot__year { line-height: 1; }
.is-3line .log-slot__md { line-height: 1.05; }
.is-3line .log-slot__wd { margin-top: 1px; }
.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; }
/* 시작시간 버튼 아래 'Session time' — 옆 칸 시간 범위(.log-slot__end)와 같은 크기·색·높이(2026-09-28) */
.log-slot__sub { text-align: center; font-size: 12px; color: var(--text-dim); margin-top: 7px; }

.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;
  /* 층 순서: 고정 헤더·탭 줄(30) 아래, 본문 위(2026-09-28) — 열 때 위치는 JS가 본문 영역 안으로 맞춥니다 */
  background: var(--surface-raised); box-shadow: 0 12px 28px rgba(0, 0, 0, .45); z-index: 25;
  /* 낮은 화면: 고정 헤더·탭 줄(약 125px)과 하단 탭을 뺀 높이를 넘지 않게 — 넘치면 창 안에서 스크롤(2026-09-28) */
  max-height: min(340px, calc(100dvh - var(--topbar-h) - env(safe-area-inset-top) - 74px - var(--tabbar-height) - env(safe-area-inset-bottom) - 24px));
  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;
}
/* 로그 선택창 강조색은 로그 녹색(#3fce7f)으로 — 선택 테두리·글자·배경만(2026-09-28). log-pop은 로그 화면 전용 */
.log-pop__row.is-on { border-color: #3fce7f; color: #3fce7f; background: rgba(63, 206, 127, .12); }
/* 날짜 선택창 — 오늘·어제 옆 실제 월/일(작고 옅게, 선택돼도 녹색으로 바뀌지 않음)(2026-09-30) */
.log-pop__md { margin-left: 8px; font-size: 12px; font-weight: 400; color: var(--text-dim); }
/* 달력 칸 — 기본 편집 글자(연·월·일 칸과 포커스된 칸의 파란 강조)는 숨기고, 같은 자리에 보이는 날짜를 적습니다.
   달력 아이콘과 누르는 영역·크기는 그대로(2026-09-30) */
.log-date-field { position: relative; }
/* 달력 아이콘 자리를 16px(+간격 6px)로 고정하고, 보이는 날짜는 그 앞까지만(2026-09-30 보완).
   360px에서는 반쪽 폭 선택창에 날짜와 아이콘이 함께 안 들어가 겹쳤으므로 날짜 선택창만 최소 폭 172px로 — 글자 크기·여백은 그대로 */
.log-slot--date .log-pop { min-width: 172px; }
.log-date-field input[type="date"]::-webkit-calendar-picker-indicator { width: 16px; height: 16px; margin: 0 0 0 6px; padding: 0; }
.log-date-field input[type="date"]::-webkit-datetime-edit { opacity: 0; }
.log-date-field input[type="date"]::-webkit-datetime-edit-year-field:focus,
.log-date-field input[type="date"]::-webkit-datetime-edit-month-field:focus,
.log-date-field input[type="date"]::-webkit-datetime-edit-day-field:focus { background: transparent; color: inherit; }
.log-date-field__text {
  position: absolute; left: 15.5px; right: 37.5px; top: 4px; bottom: 0; display: flex; align-items: center;
  white-space: nowrap; overflow: hidden;
  font-size: 14.5px; color: #f2f2f3; font-weight: 400;
  border: 0; padding: 0; background: transparent; text-align: left; cursor: pointer;
}
.log-date-field__text:focus-visible { outline: 2px solid #3fce7f; outline-offset: 2px; border-radius: 3px; }
.log-pop__line { display: flex; align-items: center; gap: 4px; margin-bottom: 4px; }
.log-pop__line .log-pop__row { flex: 1; margin-bottom: 0; }
/* 스팟 '최근' 목록은 평범한 목록처럼(2026-09-30) — 이름을 감싸는 어두운 칸·선택 테두리 없이, 선택된 이름만 녹색 글자.
   여백·최소 높이(44px)는 그대로라 누르는 영역은 같습니다. 날짜 등 다른 선택창의 행은 영향 없음(.log-pop__line은 이 목록에만 있음) */
.log-pop__line .log-pop__row { background: none; border-color: transparent; }
.log-pop__line .log-pop__row.is-on { background: none; border-color: transparent; color: #3fce7f; }
.log-pop__del {
  background: none; border: none; color: var(--text-dim); font-size: 15px;
  cursor: pointer; padding: 10px 8px; min-height: 44px;
}
/* 직접 입력 — 확인 버튼·키보드 확인을 한 폼 제출로 받습니다(2026-09-29). 위치는 예전 감싸는 칸과 같음 */
.log-pop__form { position: relative; margin: 8px 0 0; }
.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;
}
/* 비어 있을 때는 확인 버튼이 없으므로 오른쪽 자리를 비워 두지 않습니다 — 좁은 화면(360px)에서도 「입력 (예: 죽도)」 전체가 보이게(2026-09-29).
   입력을 시작하면 안내 문구가 사라지고 확인 버튼 자리(40px)가 다시 생깁니다. */
.log-pop__input:placeholder-shown { padding-right: 8px; }
.log-pop__ok {
  position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
  width: 26px; height: 26px; border-radius: 50%;
  background: rgba(63, 206, 127, .18); color: #3fce7f;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 800; cursor: pointer; border: none;
}

/* 드럼피커 (시작시간) */
/* 시작시간 드럼 — 시·분 각각 세로 스크롤(3줄 보임 · 가운데가 선택). 열 전체가 손가락 조작 영역 */
.drum { display: flex; align-items: center; justify-content: center; gap: 12px; }
.drum__wrap { position: relative; width: 64px; height: 132px; }
/* 서핑시간 드럼 — 글자('1시간 30분')가 길어 한 열을 넓게 */
.drum__wrap--wide { width: 100%; max-width: 150px; }
.drum__col {
  height: 100%; overflow-y: auto; overscroll-behavior: contain; touch-action: pan-y;
  scroll-snap-type: y mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  padding: 44px 0; box-sizing: border-box; user-select: none; -webkit-user-select: none;
}
.drum__col::-webkit-scrollbar { display: none; }
.drum__item {
  height: 44px; display: flex; align-items: center; justify-content: center; scroll-snap-align: center;
  /* 선택되지 않은 값 500, 가운데 선택값 700(2026-09-30). 굴리는 동안의 굵기·투명도는 log.js curve()가 이어서 정합니다 */
  font-size: 19px; font-weight: 500; color: var(--text-dim); cursor: pointer;
}
.drum__item.is-on { color: var(--text-strong); font-weight: 700; }
/* 서핑시간 단위 h·m — 버튼·드럼 공통(2026-09-30). 숫자 크기·굵기는 그대로, 단위만 숫자의 80% 크기·보통 굵기.
   색은 따로 정하지 않고 불투명도만 살짝 낮춥니다 — 드럼에서 숫자 쪽 투명도에 곱해지므로 위아래 값의 단위가
   중앙보다 진해질 수 없습니다. 숫자와 같은 기준선(baseline)에 앉고, 숫자에 1px 붙여 한 덩어리로 읽히게 */
.dur-u { font-weight: 400; font-size: 0.8em; opacity: .8; margin-left: 1px; }
/* 곡면 모양은 숫자(span)에만 — 줄 상자(터치·스냅 영역)는 그대로 */
.drum__num { display: inline-block; will-change: transform, opacity; }
/* 가운데 선택 칸 표시 — 예전 숫자 상자와 같은 테두리색 */
.drum__band {
  position: absolute; left: 0; right: 0; top: 44px; height: 44px; pointer-events: none;
  border: 1.5px solid #3fce7f; border-radius: 11px; background: rgba(63, 206, 127, .08);
}
.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: #35b970; color: #12303f; font-size: 13.5px; font-weight: 700; cursor: pointer; min-height: 44px; }

/* 세션 컨디션 */
.cond {
  background: linear-gradient(140deg, #12303f, #0a0a0b);
  border-radius: 12px; padding: 14px;
}
/* 좁으면 날짜 묶음 전체가 다음 줄 오른쪽으로(margin-left:auto) — 상대 날짜와 실제 날짜를 떼어 놓지 않습니다 */
.cond__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 2px 12px; margin-bottom: 9px; }
/* 제목 '세션 컨디션'·오른쪽 날짜·대표 파고 숫자 — 로그 녹색(체감 칩 .chip--green과 같은 #3fce7f). 파고 좋고 나쁨과 무관 */
.cond__src  { font-size: 12.5px; font-weight: 700; color: #3fce7f; letter-spacing: .5px; }
.cond__tag  { font-weight: 500; color: #3fce7f; font-size: 12.5px; white-space: nowrap; margin-left: auto; display: inline-flex; align-items: center; gap: 6px; }
/* 상대 날짜 캡슐 — 녹색 바탕에 카드 어두운 색 글자(뚫린 느낌, 그림자 없음). 상태 표시일 뿐 누를 수 없음 */
.cond__rel  { background: #3fce7f; color: #12303f; font-size: 11px; font-weight: 700; line-height: 1; padding: 3px 7px; border-radius: 999px; }
.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: #3fce7f; 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; }
/* 최대 파고 숫자만 기존 「상급」 색(WP_LEVEL_STYLE['상급'].c) — 「최대」·m은 회색 그대로(2026-09-28) */
.cond__maxnum { color: #ff6f5c; }
/* 왼쪽 그룹(주기·바람·기온·TIDE) | 16px | 오른쪽 그룹(스웰·수온·날씨·출처) — 줄 순서대로 한 격자라 같은 줄끼리 높이가 맞습니다 */
.cond__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 5px 16px; }
.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: 13.5px; font-weight: 600; color: var(--text-strong); display: flex; align-items: center; gap: 3px; white-space: nowrap; }
/* 마지막 줄 오른쪽 — 출처만 작고 약하게, 오른쪽 정렬(항목명 없음) */
.cond__arrow { display: inline-flex; width: 16px; height: 16px; align-items: center; justify-content: center; flex-shrink: 0; }
.cond__srcline { justify-content: flex-end; }
/* 출처 — 칸 안에서만 줄바꿈(왼쪽 TIDE·가운데 간격을 넘지 않게), 오른쪽 정렬 */
.cond__srcsmall { font-size: 11px; color: var(--text-dim); white-space: normal; text-align: right; overflow-wrap: anywhere; min-width: 0; position: relative; top: 2px; }   /* 왼쪽 TIDE 값과 눈높이 맞춤 */
/* 세션 컨디션 날씨 아이콘 — 예보표와 같은 아이콘, 문구와 세로 가운데 */
.cond__wicon { display: inline-flex; align-items: center; flex-shrink: 0; margin-right: 2px; }

.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;
  max-width: 100%; white-space: normal; 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__label { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; line-height: 1.3; }
.badge-rows > :first-child { position: relative; overflow: hidden; }
.badge-rows__more {
  display: block; margin: 2px 0 0; padding: 8px 0; min-height: 36px;
  border: 0; background: none; color: var(--text-quiet); font: inherit; font-size: 12px; cursor: pointer;
}
.badge-rows__more[hidden] { display: none; }
.memo-wrap .badge-rows__more { padding-left: 12px; }
.chip.is-on { font-weight: 700; }
.chip--cool.is-on   { border-color: var(--accent-forecast); background: var(--selection-fill); color: #5ec6f0; }
.chip--warm.is-on   { border-color: #F5B942; background: rgba(245, 185, 66, .16); color: #F5B942; }
/* '무엇을 의식했나요'(교정 포인트) — 풀 '상급' 주황(2026-09-28) */
.chip--orange.is-on { border-color: #ff6f5c; background: rgba(255, 111, 92, .16); color: #ff6f5c; }
.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 .field-question { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 4px; min-width: 0; line-height: 1.5; }
.field-question__text { min-width: 0; max-width: 100%; }
.field-question__hint { flex-shrink: 0; white-space: nowrap; font-size: 11.5px; font-weight: 500; color: #6a6a6e; }
.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; }

/* 결과 행은 이전처럼 문장 길이에 맞춰 자연스럽게 줄바꿈합니다. */
.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; }
/* 행 간격은 유지하고, 문장 시작 위치부터 오른쪽 여백을 남긴 옅은 점선을 둡니다. */
.result-opt--custom-start { position: relative; }
.result-opt__custom-separator {
  position: absolute; top: -2px; left: 25px; right: 16px; height: 2px;
  background: radial-gradient(circle at 1px 1px, rgba(255,255,255,.14) 0 1px, transparent 1px) 0 0 / 6px 2px repeat-x;
  pointer-events: none;
}
/* 문장 선택과 `ⓘ`는 겹치지 않는 별개의 터치 영역입니다(용어 사전 §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__pick > span:last-child { min-width: 0; overflow-wrap: anywhere; }
.result-opt.is-on .result-opt__pick { color: var(--text-strong); font-weight: 700; }
.result-opt__dot {
  flex-shrink: 0; width: 10px; height: 10px; border-radius: 50%;
  border: 1.5px solid var(--line-25); box-sizing: border-box;
}
.result-opt__delete {
  flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  width: 44px; min-height: 44px; padding: 0; border: none; background: none;
  color: var(--text-dim); cursor: pointer;
}
.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: var(--accent-forecast); background: var(--selection-fill); 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;
}
/* 선택된 보드 — 세션 컨디션 녹색(2026-09-28) */
.board-badge.is-on { border-color: #3fce7f; background: rgba(63, 206, 127, .16); color: #3fce7f; font-weight: 700; }
/* 보드 추가·수정 팝업 하단 버튼(2026-09-28) — 저장은 로그 완료 버튼과 같은 어두운 녹색·짙은 글자,
   삭제는 중립 회색·한 줄. 글자 크기는 그대로 두고 폭·좌우 여백으로 한 줄을 확보합니다. */
.btn-primary.board-save { background: #35b970; color: #12303f; box-shadow: none; flex: 1 1 auto; min-width: 0; }
.btn-ghost.board-del { flex: 0 0 auto; min-width: 76px; padding: 13px 18px; white-space: nowrap; color: var(--text-muted); border-color: var(--line-12); }
.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 { max-width: 100%; min-width: 0; box-sizing: border-box; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; 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; }

/* 만족도 제목↔별, 별↔저장 버튼 간격 각 +4px(2026-09-29) */
.stars { display: flex; gap: 10px; justify-content: center; padding: 14px 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: 13px; line-height: 1.5; opacity: .85; }   /* 버튼↔안내 +4px(2026-09-29) */

/* 내 로그 카드 */
.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; }
/* 로그 카드 칩(2026-10-11) — 전부 같은 중립 색, 아이콘 14px(회색). 칩 크기·글자는 그대로 */
.logbadge { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 600; padding: 5px 9px; border-radius: 7px; background: #1c1c1f; color: #d8d8da; }
.logbadge__ic { display: inline-flex; flex: none; color: #9a9a9e; }
/* 내 로그 목록의 「리포트 생성」 한 줄 — 로그 카드와 같은 폭·간격. 구분선·장식 없음 */
.logrep { display: flex; align-items: center; gap: 10px; width: 100%; box-sizing: border-box; margin-bottom: 10px; padding: 12px 16px; border: none; border-radius: 14px;
  background: rgba(124, 212, 247, .07); font-family: inherit; text-align: left; cursor: pointer; }
.logrep:active { background: rgba(124, 212, 247, .12); }
.logrep__ic { display: inline-flex; flex: none; color: #7cd4f7; }
.logrep__txt { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; color: #c9c9cc; }
.logrep__txt b { font-weight: 700; color: #e8e8ea; }
.logrep__go { flex: none; white-space: nowrap; font-size: 13.5px; font-weight: 700; color: #7cd4f7; }
.logdates { margin-top: 8px; font-size: 12.5px; color: #6b6b70; }
/* 로그 상세보기 본문 — 자동 생성 문장과 사용자가 쓴 글이 같은 글꼴·색·행간을 씁니다
   (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; }
.logrow__actions { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-top:6px; }
.logrow__actions .logrow__edit { margin:0; }
.logrow__delete { min-height:44px; min-width:44px; padding:6px 8px; border:0; background:none; color:var(--text-muted); font-size:12px; cursor:pointer; }
.log-delete-confirm { background:var(--accent-pool); color:#fff; }
.logrow__delete:disabled,.log-delete-confirm:disabled { opacity:.5; cursor:default; }

/* ── 개인 로그 리포트 결과 화면 (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__relwhy { margin: 0 0 10px; }
.lrep__relwhy:last-child { margin-bottom: 0; }
.lrep__p strong, .lrep__relwhy strong { font-weight: 700; }

/* 상단 복귀 — 상세가 화면 첫 콘텐츠라 위에서도 돌아갈 수 있어야 합니다.
   하단 복귀와 같은 문구를 쓰되 여기서는 더 작고 조용하게 둡니다. */
.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;
}

/* ── 리포트 탭 「서핑 기록 분석」 요청 카드(2026-10-10 재설계 · 시안 turn 3의 3a~3m) ──
   포인트 #7cd4f7 · 주 버튼 #17799b 단색(흰 글자) · 라임 #A5FF00은 「요청 가능」「다시 요청 가능」 배지에만 */
.rcard { background: #0c0c0d; border: 1px solid rgba(255, 255, 255, .08); border-radius: 22px; padding: 22px 20px; margin-bottom: 12px;
  word-break: keep-all; text-wrap: pretty; }
.rcard__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 30px; }
.rcard__title { font-size: 14.5px; font-weight: 700; color: #7cd4f7; }
.rcard__badge { flex-shrink: 0; padding: 5px 11px; border-radius: 999px; font-size: 13px; font-weight: 700; }
.rcard__badge--lime { color: #A5FF00; background: rgba(165, 255, 0, .12); }
.rcard__badge--cyan { color: #7cd4f7; background: rgba(124, 212, 247, .12); }
.rcard__badge--gray { color: #9a9a9e; background: rgba(255, 255, 255, .07); }
.rcard__center { display: flex; flex-direction: column; align-items: center; text-align: center; margin-top: 22px; }
.rcard__h { margin-top: 22px; font-size: 20px; font-weight: 800; line-height: 1.4; color: #f2f2f3; }
.rcard__center > .rcard__h:first-child { margin-top: 4px; }
.rcard__p { margin-top: 8px; font-size: 14.5px; line-height: 1.6; color: #86868a; }
.rcard__btn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 56px; margin-top: 22px; padding: 0 16px;
  border-radius: 16px; font-family: inherit; font-size: 16.5px; font-weight: 800; cursor: pointer; }
.rcard__btn--primary { border: none; background: #17799b; color: #fff; }
.rcard__btn--secondary { border: 1px solid rgba(124, 212, 247, .35); background: transparent; color: #7cd4f7; }
.rcard__btn:disabled { border: none; background: #1c1c1e; color: #5d5d62; cursor: default; }
.rcard__spin { width: 20px; height: 20px; border-radius: 50%; border: 2.5px solid rgba(255, 255, 255, .14); border-top-color: #8a8a90; animation: rcardSpin .9s linear infinite; }
@keyframes rcardSpin { to { transform: rotate(360deg); } }
.rcard__div { height: 1px; margin: 24px 0 20px; background: rgba(255, 255, 255, .07); }
.rcard__cap { font-size: 13.5px; font-weight: 700; color: #86868a; margin-bottom: 14px; }
.rcard__foot { margin-top: 16px; font-size: 13px; line-height: 1.55; color: #6b6b70; }
.rcard__note { white-space: pre-line; text-align: center; font-size: 14.5px; line-height: 1.65; color: #c8c8cc; }
.rcard__bell { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 10px; font-size: 13.5px; color: #86868a; }
.rcard__link { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; min-height: 44px; margin-top: 14px;
  border: none; background: none; font-family: inherit; font-size: 14.5px; font-weight: 700; color: #7cd4f7; cursor: pointer; }
.rcard__link--sub { margin-top: 6px; font-size: 13.5px; font-weight: 600; }
.rcard__link:focus-visible, .rcard__btn:focus-visible { outline: 2px solid #7cd4f7; outline-offset: 3px; }
.rcard__ic { display: inline-flex; flex-shrink: 0; }
.rcard__circle { display: flex; align-items: center; justify-content: center; width: 104px; height: 104px; border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, .1); color: #8a8a90; }
/* 원형 게이지 */
.rgauge { position: relative; width: 148px; height: 148px; }
.rgauge > svg { display: block; }
.rgauge__mid { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.rgauge__num { display: flex; align-items: baseline; font-family: var(--font-num); line-height: 1; }
.rgauge__have { font-size: 44px; font-weight: 800; color: #f2f2f3; }
.rgauge__need { font-size: 44px; font-weight: 800; color: #5d5d62; }
.rgauge__extra { margin-left: 4px; font-size: 17px; font-weight: 800; color: #7cd4f7; }
.rgauge__dash { font-size: 40px; font-weight: 800; color: #5d5d62; }
.rgauge__label { margin-top: 8px; font-size: 14px; color: #86868a; }
/* 리포트에 담기는 내용 · 요청 규칙 */
.rintro { display: flex; flex-direction: column; gap: 16px; }
.rintro__row { display: flex; gap: 14px; align-items: flex-start; color: #86868a; }
.rintro__t { font-size: 15.5px; font-weight: 700; color: #e8e8ea; }
.rintro__d { margin-top: 3px; font-size: 13.5px; line-height: 1.5; color: #86868a; }
.rrules { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.rrules li { position: relative; padding-left: 18px; font-size: 14.5px; line-height: 1.6; color: #c8c8cc; }
.rrules li::before { content: ""; position: absolute; left: 4px; top: .7em; width: 5px; height: 5px; border-radius: 50%; background: #6b6b70; }
/* 다음 요청 조건 */
.rcond { margin-top: 22px; padding: 18px 18px 16px; border-radius: 16px; background: #161618; }
.rcond__cap { font-size: 13.5px; font-weight: 700; color: #86868a; margin-bottom: 12px; }
.rcond__row { display: flex; align-items: center; gap: 12px; min-height: 30px; color: #86868a; }
.rcond__row .is-met { color: #7cd4f7; }
.rcond__name { flex: 1; min-width: 0; font-size: 15.5px; font-weight: 600; color: #e8e8ea; }
.rcond__bar { display: flex; gap: 4px; }
.rcond__bar i { width: 18px; height: 5px; border-radius: 3px; background: #2e2e33; }
.rcond__bar i.is-on { background: #7cd4f7; }
.rcond__val { min-width: 42px; text-align: right; font-family: var(--font-num); font-size: 14.5px; font-weight: 700; color: #d6d6da; white-space: nowrap; }
.rcond__val.is-met { color: #7cd4f7; }
.rcond__time { font-size: 14.5px; font-weight: 700; color: #d6d6da; white-space: nowrap; }
.rcond__line { height: 1px; margin: 12px 0; background: rgba(255, 255, 255, .07); }
.rcond__note { margin-top: 12px; font-size: 13.5px; line-height: 1.55; color: #86868a; }
/* 분석 중 — 차트철과 돋보기(6.5초 · 세 움직임 동기). 다시 그릴 때는 같은 시작 시각 기준 음수 지연으로 이어 간다(report-card.js) */
.rscan { position: relative; width: 104px; height: 104px; }
.rscan__sheet { position: absolute; left: 20px; top: 20px; width: 64px; height: 64px; }
.rscan__dim { opacity: .5; }
.rscan__lens { position: absolute; left: 19px; top: 19px; width: 26px; height: 26px; animation: rread 6.5s ease-in-out infinite; }
.rscan__glass { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; background: #0c0c0d; }
.rscan__zoom { position: absolute; left: -38.2px; top: -38.2px; width: 102.4px; height: 102.4px; animation: rreadIn 6.5s ease-in-out infinite; }
.rscan__rim { position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle, rgba(12, 12, 13, 0) 52%, rgba(124, 212, 247, .10) 74%, rgba(232, 232, 234, .28) 100%);
  box-shadow: inset 0 0 6px 1px rgba(0, 0, 0, .75); animation: rrim 6.5s ease-in-out infinite; }
.rscan__ring { position: absolute; inset: -2px; border-radius: 50%; border: 3.5px solid #e8e8ea; }
.rscan__handle { position: absolute; left: 20.4px; top: 22.9px; width: 5px; height: 12px; border-radius: 3px; background: #e8e8ea;
  transform: rotate(-45deg); transform-origin: top center; }
@keyframes rread {
  0% { transform: translate(-8px,-3px) scale(1.3600); animation-timing-function: cubic-bezier(.4,0,.6,1); }
  3.5% { transform: translate(-8px,-3px) scale(1.4500); animation-timing-function: cubic-bezier(.3,0,.15,1); }
  13.5% { transform: translate(-8px,-3px) scale(0.9640); animation-timing-function: cubic-bezier(.2,.6,.35,1); }
  18.7% { transform: translate(-8px,-3px) scale(1.0225); }
  22.9% { transform: translate(-8px,-3px) scale(1.0000); }
  26.4% { transform: translate(-8px,-3px) scale(1.0000); }
  39% { transform: translate(10px,-3px) scale(1.0000); }
  45.5% { transform: translate(-8px,5px) scale(1.0000); }
  58.5% { transform: translate(10px,5px) scale(1.0000); }
  65.5% { transform: translate(-8px,13px) scale(1.0000); }
  84% { transform: translate(4px,13px) scale(1.0000); }
  87% { transform: translate(4px,13px) scale(1.0000); animation-timing-function: cubic-bezier(0,0,.58,1); }
  95.5% { transform: translate(-8px,-3px) scale(1.3600); }
  100% { transform: translate(-8px,-3px) scale(1.3600); }
}
@keyframes rreadIn {
  0% { transform: translate(12.8px,4.8px); filter: blur(0.56px); animation-timing-function: cubic-bezier(.4,0,.6,1); }
  3.5% { transform: translate(12.8px,4.8px); filter: blur(0.70px); animation-timing-function: cubic-bezier(.3,0,.15,1); }
  13.5% { transform: translate(12.8px,4.8px); filter: blur(0.00px); animation-timing-function: cubic-bezier(.2,.6,.35,1); }
  18.7% { transform: translate(12.8px,4.8px); filter: blur(0.04px); }
  22.9% { transform: translate(12.8px,4.8px); filter: blur(0.00px); }
  26.4% { transform: translate(12.8px,4.8px); filter: blur(0.00px); }
  39% { transform: translate(-16.0px,4.8px); filter: blur(0.00px); }
  45.5% { transform: translate(12.8px,-8.0px); filter: blur(0.00px); }
  58.5% { transform: translate(-16.0px,-8.0px); filter: blur(0.00px); }
  65.5% { transform: translate(12.8px,-20.8px); filter: blur(0.00px); }
  84% { transform: translate(-6.4px,-20.8px); filter: blur(0.00px); }
  87% { transform: translate(-6.4px,-20.8px); filter: blur(0.00px); animation-timing-function: cubic-bezier(0,0,.58,1); }
  95.5% { transform: translate(12.8px,4.8px); filter: blur(0.56px); }
  100% { transform: translate(12.8px,4.8px); filter: blur(0.56px); }
}
@keyframes rrim {
  0% { opacity: 0.80; animation-timing-function: cubic-bezier(.4,0,.6,1); }
  3.5% { opacity: 1.00; animation-timing-function: cubic-bezier(.3,0,.15,1); }
  13.5% { opacity: 0.20; animation-timing-function: cubic-bezier(.2,.6,.35,1); }
  18.7% { opacity: 0.20; }
  22.9% { opacity: 0.20; }
  26.4% { opacity: 0.20; }
  39% { opacity: 0.20; }
  45.5% { opacity: 0.20; }
  58.5% { opacity: 0.20; }
  65.5% { opacity: 0.20; }
  84% { opacity: 0.20; }
  87% { opacity: 0.20; animation-timing-function: cubic-bezier(0,0,.58,1); }
  95.5% { opacity: 0.80; }
  100% { opacity: 0.80; }
}
/* 움직임 줄이기 — 애니메이션을 빼고 첫 줄 위에 내려놓은 상태로 고정(기본 좌표로 돌아가지 않게) */
@media (prefers-reduced-motion: reduce) {
  .rscan__lens { animation: none; transform: translate(-8px,-3px) scale(1); }
  .rscan__zoom { animation: none; transform: translate(12.8px,4.8px); filter: none; }
  .rscan__rim { animation: none; opacity: .2; }
  .rcard__spin { animation: none; }
}
.report-archive-entry { display:flex; align-items:center; gap:14px; width:100%; padding:18px; margin-bottom:14px; text-align:left; color:#86868a; background:#0c0c0d; border:1px solid rgba(255,255,255,.08); border-radius:22px; cursor:pointer; }
.report-archive-entry__text { display:flex; flex:1; min-width:0; flex-direction:column; gap:5px; font-size:13px; font-weight:700; }
.report-archive-entry__text strong { font-size:14.5px; color:#f2f2f3; }
.report-archive-entry__count { flex:none; font-size:13px; }
.report-detail { min-width:0; display:flex; flex-direction:column; gap:14px; background:#18181a; border-radius:28px; padding:16px 12px 24px; font-family:-apple-system,BlinkMacSystemFont,"Apple SD Gothic Neo",sans-serif; }
.report-detail__header { display:flex; align-items:center; gap:6px; padding:4px 6px; color:#f2f2f3; font-size:16px; font-weight:700; }
.report-detail__back { display:flex; align-items:center; justify-content:center; width:36px; height:36px; flex:none; padding:0; border:0; background:transparent; color:#e8e8ea; font-size:22px; font-weight:400; cursor:pointer; }
.report-detail__meta { display:flex; flex-direction:column; gap:8px; padding:0 10px; }
.report-detail__created { color:#86868a; font-size:13px; }
.report-detail__title { margin:0; color:#f2f2f3; font-size:22px; font-weight:800; line-height:1.4; text-wrap:pretty; overflow-wrap:anywhere; }
.report-detail__card { background:#0c0c0d; border:1px solid rgba(255,255,255,.08); border-radius:22px; padding:18px; min-width:0; }
.report-detail__references { display:flex; flex-direction:column; gap:12px; }
.report-detail__body { font-family:var(--font-body); }
.report-detail__label,.report-detail__body .lrep__sech { font-size:14.5px; font-weight:700; color:#7cd4f7; margin:0; }
.report-detail__body .lrep__sech { margin-bottom:10px; }
.report-detail__reference-head { display:flex; align-items:baseline; justify-content:space-between; gap:12px; }
.report-detail__reference-head > span { flex:none; font-size:13px; color:#86868a; }
.report-detail__range { font-size:13.5px; color:#9a9a9e; margin:0; }
.report-detail__reference-row { display:flex; justify-content:space-between; gap:12px; padding:9px 0; border-top:1px solid rgba(255,255,255,.06); }
.report-detail__reference-row strong { min-width:0; overflow-wrap:anywhere; color:#e8e8ea; font-size:14.5px; }
.report-detail__reference-row > span { flex:none; font-family:Inter, sans-serif; font-size:13px; color:#86868a; }
.report-detail__skeleton { display:grid; gap:14px; }
.report-detail__skeleton > div { background:#202023; border-radius:22px; height:160px; }
.report-detail__skeleton > div:first-child { height:70px; }
.rcard__suggestion { margin-top:16px; font-size:13px; line-height:1.6; color:#9a9a9e; text-align:center; text-wrap:pretty; overflow-wrap:anywhere; }
.rgauge-wrap { display:flex; flex-direction:column; align-items:center; gap:12px; }
.rgauge-wrap .rgauge__have { font-size:36px; letter-spacing:-1px; }
.rgauge-wrap .rgauge__mid { gap:2px; }
.rgauge-wrap .rgauge__label { font-size:13px; margin-top:0; }
.rgauge__unit { font-size:18px; font-weight:500; letter-spacing:0; margin-left:4px; color:#9a9a9e; }
.rgauge__guide { font-size:13px; color:#9a9a9e; line-height:1.5; text-wrap:pretty; }
.rcard__limit { display:flex; align-items:center; gap:12px; padding:14px 18px; border-radius:14px; background:rgba(255,255,255,.035); }
.rcard__limit-name { flex:1; font-size:15px; color:#e8e8ea; }
.rcard__limit-value { font-family:var(--font-num); font-size:14px; font-weight:700; color:#9a9a9e; text-align:right; overflow-wrap:anywhere; }
.rcard--limit { display:flex; flex-direction:column; gap:18px; padding:20px; }
.rcard--limit .rcard__center { margin:0; gap:6px; }
.rcard--limit .rcard__h,.rcard--limit .rcard__center > .rcard__h:first-child { margin:0; font-size:18px; font-weight:700; }
.rcard--limit .rcard__p { margin:0; font-size:14px; color:#9a9a9e; }
.rcard--limit .rcard__btn { margin:0; padding:17px; border-radius:14px; font-weight:700; }
.rcard__limit-gauge { display:flex; justify-content:center; }
