/* ===== r7d <style id="lk2-clean"> 그대로 ===== */
/* ==========================================================================
   lk2-clean.css — C878b 한 벌 스타일 (UD-973)
   C877 이혼 허브·하위 샘플의 46겹 덧칠(c684~c877)을 걷어 내고, C877 화면을 한 번만 정의한다.
   원칙
   - 화면은 C877 그대로(U19 요청 밖 변화 0). C877 과 다른 곳은 검수표·대표님 결정이 요구한 곳뿐(보고서 차이 표).
   - 휴대폰 먼저. 폭 분기점은 481px·821px 두 개뿐.
   - 중요 표시(important) 0. 부품마다 한 곳에서 정의. 회차 번호 클래스는 DOM 에 그것밖에 없을 때만 쓴다.
   - 하위 쪽만 C877 에서 달랐던 값은 body[data-c782-kind="sub"] 한 곳에서 정의한다.
   - 휴대폰 히어로 순서는 판 B(라이브 순서: 글머리 → 버튼)로 확정(UD-1003). 판 A 묶음은 지웠다.
   C879 고침(11-05, UD-1004~1011): 기준을 C877 이 아니라 라이브 https://www.lkpartner.co.kr/divorce/ 계산 스타일(390·1366 측정)로 바꿈
   - 상담 박스(허브·하위·#cta·팝업) = 라이브 토스 디자인 값(6절) · 검토 변호사 박스 너비 = 섹션 카드(18절)
   - 하위 범위·최종 업데이트·근거 칸 = 검토 변호사 박스와 같은 모양(17절) · 언론 4개 2×2(11절)
   - 휴대폰 첫 화면(UD-1007): 고정 바 위에 온라인 상담·카톡 상담 버튼까지 — 라이브보다 히어로 위아래 여백·줄 간격을 줄인 값(5절)
   ========================================================================== */

/* ---------- 0. 디자인 값(토큰) ---------- */
:root {
  --page: #f2f4f6;          /* 쪽 바탕 */
  --surface: #ffffff;       /* 섹션 카드 */
  --card: #f3f5f7;          /* 섹션 안 카드(본문) */
  --card-soft: #f5f7fa;     /* 변호사·업무사례·언론 카드 */
  --card-gray: #f5f6f8;     /* 진행 단계·연락처 줄·확인 칸 */
  --line: #e5e8eb;
  --ink: #191f28;           /* 제목 글자 */
  --ink-2: #333d4b;         /* 본문 글자 */
  --ink-3: #4e5968;         /* 보조 글자(가장 옅은 글자) */
  --ink-4: #6b7684;         /* 흰 바탕 위 작은 보조 글자(대비 4.6) */
  --brand: #8b3579;         /* 이혼센터 보라 */
  --brand-dark: #65345e;
  --navy: #263e63;
  --navy-tint: #e9ecf0;
  --burgundy: #8b1a2e;
  --kakao: #fee500;
  --footer: #2c2c2c;
  --footer-ink: #f1f3f5;
  --gutter: 16px;           /* 휴대폰 좌우 여백 */
  --col: 1320px;            /* PC 섹션 칸 */
  --inner: 1080px;          /* PC 섹션 안 글 칸 */
  --gap: 24px;              /* 섹션 사이 간격 U1 */
  --pad: 24px;              /* 섹션 안쪽 여백 U2 */
  --card-gap: 12px;         /* 카드 사이 간격 U3 */
  --bar-h: 79px;            /* 아래 고정 상담 바 높이(C877 값) */
  --icon-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h16M14 6l6 6-6 6'/%3E%3C/svg%3E");
  --icon-plus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M4 12h16M12 4v16'/%3E%3C/svg%3E");
  --icon-minus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M4 12h16'/%3E%3C/svg%3E");
  --icon-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  /* 히어로 사진 위 흰 덮개(C877 값) */
  --hero-veil: linear-gradient(90deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.88));
  --hero-h1: min(4.65vw, 64px);   /* PC 히어로 제목 크기(라이브 63.5px@1366·64px@1536~) */
}
@media (min-width: 821px) {
  :root {
    --gap: 40px; --pad: 40px; --gutter: 23px;
    /* PC 흰 덮개: 라이브(0.98→0.94@27%→0.8@43%→0.22@72%)보다 글 칸(카드 왼쪽 ~64%) 아래를 진하게 — 사진 위에 글자가 놓이지 않게 */
    --hero-veil: linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.96) 45%, rgba(255, 255, 255, 0.92) 62%, rgba(255, 255, 255, 0.6) 72%, rgba(255, 255, 255, 0.15) 86%, rgba(255, 255, 255, 0) 100%);
  }
}

/* ---------- 1. 바탕 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 72px; }
body {
  margin: 0;
  padding-bottom: calc(var(--bar-h) + 8px);   /* 아래 고정 바에 글이 가리지 않게(바닥글이 있으면 20절에서 바닥글이 대신 늘어남) */
  background: var(--page);
  color: var(--ink);
  font-family: 'Noto Sans KR', system-ui, -apple-system, sans-serif;
  font-size: 16px; line-height: 1.7; letter-spacing: -0.4px;
  word-break: keep-all; overflow-wrap: anywhere;
}
@media (min-width: 821px) { body { padding-bottom: 0; } }
:where(h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote, address) { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, textarea, select { font: inherit; letter-spacing: inherit; color: inherit; }
button { cursor: pointer; }
address { font-style: normal; }
b, strong { font-weight: 700; }
em { font-style: normal; }
h2 { font-size: 24px; line-height: 1.4; font-weight: 800; letter-spacing: -0.045em; color: var(--ink); text-wrap: balance; }
h3 { font-size: 18px; line-height: 1.5; font-weight: 700; letter-spacing: -0.035em; color: var(--ink); }
/* C877 에서도 화면에 안 보이던 영문 꼬리표·눈썹 글(CASE CHECK·KEY POINTS·PRACTICE AREAS·선택 이유) — 그대로 숨김 */
.c768-code-label, .c795-hidden { display: none; }
/* 화면 읽기 프로그램용 숨김 글자(30초 진단 머리 제목) */
.c793-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- 2. 검토용 띠(샘플 전용, 허브·하위 같게) ---------- */
#c716-review-banner, .c773-review-banner {
  display: block; margin: 0; padding: 0 8px;
  background: var(--ink); color: #fff;
  font-size: 11px; line-height: 16px; font-weight: 500; text-align: center;
}

/* ---------- 3. 머리글 ---------- */
/* 흰 띠는 안쪽 div 가 화면 끝까지 칠한다(판정기 U5 가 화면 끝 띠를 카드로 세지 않게, 화면은 C877 과 같음) */
.lk-header { position: sticky; top: 0; z-index: 50; color: #252b35; }
.lk-header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  height: 57px; padding: 0 16px;
  border-bottom: 1px solid #e8eaf0; background: var(--surface);
}
.lk-header-logo { display: flex; align-items: center; flex: none; }
.lk-header-logo img { width: 160px; height: 32px; object-fit: contain; }
.lk-header-center { display: none; }
.lk-header-actions { display: flex; align-items: center; gap: 8px; }
.lk-header-consult { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 44px; padding: 0 16px; border: 1px solid transparent; border-radius: 999px; background: var(--brand); color: #fff; font-size: 13px; line-height: 18.2px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.lk-header-consult svg { width: 13px; height: 13px; }
.lk-header-toggle { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 10px; border: 0; border-radius: 10px; background: none; }
.lk-header-toggle span { display: block; width: 22px; height: 2px; border-radius: 1px; background: #252b35; }
@media (min-width: 821px) {
  .lk-header-inner { gap: 12px; height: 65px; padding: 0 max(24px, calc((100% - 1200px) / 2 + 24px)); }
  .lk-header-logo img { width: 180px; height: 36px; }
  .lk-header-center { display: block; margin-right: auto; padding-left: 12px; border-left: 1px solid var(--line); color: var(--ink-3); font-size: 15px; font-weight: 600; line-height: 1.4; }
}
/* 메뉴 서랍(햄버거) */
.lk-header-overlay, .mobile-nav-overlay { position: fixed; inset: 0; z-index: 80; background: rgba(0, 0, 0, 0.4); }
:is(.mobile-nav-overlay, .mobile-nav-drawer):not(.open) { display: none; }   /* 옛 하위 서랍: open 일 때만 */
.lk-header-drawer, .mobile-nav-drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 81; display: flex; flex-direction: column; gap: 16px; width: min(320px, 86vw); padding: 20px; background: var(--surface); overflow-y: auto; }
.lk-header-menu-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.lk-header-menu-title { font-size: 16px; font-weight: 800; }
.lk-header-close, .mobile-nav-close { width: 44px; height: 44px; border: 0; background: none; font-size: 22px; line-height: 1; }
.lk-header-links { display: flex; flex-direction: column; }
.lk-header-links a { padding: 14px 4px; border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 600; text-decoration: none; }
.lk-header-drawer .lk-header-consult { justify-content: center; }

/* ---------- 4. 쪽 뼈대: 섹션 카드와 간격(U1·U2) ---------- */
main { display: block; }
main > article, .lk-notice { width: min(var(--col), calc(100% - 2 * var(--gutter))); margin-left: auto; margin-right: auto; }
main > article { display: flex; flex-direction: column; gap: var(--gap); padding-top: calc(var(--gap) / 2); }   /* 머리글 ↔ 히어로 카드 = 라이브 값(휴대폰 12·PC 20, 대표님 「PC 히어로 상단 여백」) */
/* 휴대폰 위 상담 폼 자리: 섹션 카드를 따로 칠하지 않고 폼 자체가 카드(6절) — 다른 섹션과 같은 폭 */
main > article > section.c770-form-section { padding: 0; border-radius: 0; background: none; }
main > article > section:not(.hero), .lk-strengths {
  padding: var(--pad); border-radius: 20px; background: var(--surface);
}
.c768-section { color: var(--ink-2); }
/* PC 에서 스크립트가 상담 폼을 히어로로 옮기면 빈 섹션은 감춘다. PC(821~)에서는 이 휴대폰용 폼 자리를 늘 감춘다(C877 과 같음) */
.c770-form-section:not(:has(.lk-hero-form)) { display: none; }
@media (min-width: 821px) {
  .c770-form-section { display: none; }
  /* PC 섹션 안 글 칸 1080(C877) */
  main > article > section:not(.hero) > :is(.c768-content, .lk-content, .c762-fragment-preview, .c787-align-group, h2, h3, div, p, ul, ol, article, details) { max-width: var(--inner); margin-left: auto; margin-right: auto; }   /* article·details = 본문 감싼 article.c772-card·FAQ details.c786-faq-card(C890, U21) */
  /* 장점·진행 단계는 C877 처럼 안쪽 여백 40 만(글 칸 1240) */
  main > article > section:is(.why, .proc) > .lk-content { max-width: none; }
}
/* 섹션 제목과 문단(C877 간격: 제목 아래 24, 문단 위 8·아래 16, 묶음 위 16) */
.c768-section h2, .why h2, .lk-casefeed-static > h2 { margin-bottom: 24px; font-weight: 700; }
.why h2, .lk-casefeed-static > h2 { font-weight: 800; }
.c768-section p { margin: 8px 0 16px; font-size: 15px; line-height: 1.7; }
.c768-content > h3 { margin: 24px 0 12px; }
.c768-content > div:not([class]) > h3, .c768-content > div:not([class]) > div > h3 { margin: 0 0 8px; font-size: 19px; line-height: 1.5; }
/* 제목 위 작은 머리말(CASE STUDIES·OUR ATTORNEYS·관할 기관 등) */
.c768-content > p:first-child:has(+ h2) { margin: 0 0 16px; font-size: 15px; line-height: 1.75; font-weight: 400; color: inherit; }
body[data-c782-kind="sub"] .c768-section:not(#team) .c768-content > p:first-child:has(+ h2) { font-weight: 700; }
/* 상담 안내·FAQ 머리말: C877 남색 글자, 앞 색 막대는 빼고(규칙 3) */
.stag { display: inline-block; margin: 0 0 20px; color: var(--navy); font-size: 15px; line-height: 1.5; font-weight: 700; letter-spacing: 0.45px; }
@media (min-width: 821px) { .stag { font-size: 17px; } }
/* 하위 쪽 본문 글(C877 하위 값): 문단 줄 간격 1.75, 소제목 19px, 섹션 제목 아래 22 */
body[data-c782-kind="sub"] .c768-section p { line-height: 1.75; }
body[data-c782-kind="sub"] .c768-section h2 { margin-bottom: 22px; }
body[data-c782-kind="sub"] .c768-section h3:not(.lk-person-name) { font-size: 19px; }
body[data-c782-kind="sub"] .why h2 { margin-bottom: 18px; }
body[data-c782-kind="sub"] .c698-why-card h3 { margin-bottom: 12px; }
body[data-c782-kind="sub"] .c698-why-card p + p { margin-top: 16px; }
/* 섹션 안 카드 묶음 */
.c768-grid, .c793-agencies, .lk-people, .lkx-pr-list, .lk-casefeed-grid, .c698-why-grid, .fql, .ptrack, .c768-step-list, .c822-copy-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--card-gap); }
div.c768-grid, .c793-agencies { margin-top: 16px; }
.c768-grid:has(> a.c768-card) { grid-auto-rows: 1fr; }   /* 상황 고르기 링크 카드 = 같은 높이 */
.c768-card, .c768-grid > div:not([class]) { min-width: 0; padding: 20px; border-radius: 16px; background: var(--card); }
li.c768-card, .c778-fold-card { background: var(--page); }
:not(.c768-grid, .c822-copy-grid, .c698-why-grid) > article.c772-card + article.c772-card { margin-top: var(--card-gap); }   /* 묶음 없이 이어진 글 카드 사이 12 */
body[data-c782-kind="sub"] :is(.c768-card, .c778-fold-card) { background: #f7f8fa; }
.c768-card > .c768-card-heading { margin-bottom: 12px; }
.c768-card p { margin: 8px 0 16px; }
#choose-lawfirm .c768-card p { margin: 0; }   /* C877: 로펌 고르기 카드 문단은 감싼 div 가 간격을 준다 */
/* 묶음(grid) 밖에서 카드가 이어질 때 사이 12 (U3) */
:not(.c768-grid) > .c768-card + .c768-card, .c768-link-list + .c768-link-list { margin-top: var(--card-gap); }
@media (min-width: 821px) {
  .c768-grid, .c793-agencies, .lk-people, .c698-why-grid, .lkx-pr-list, .c822-copy-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .c793-agencies, .lkx-pr-list { column-gap: 16px; }
  .lk-people { gap: 16px; }
  .lk-casefeed-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------- 5. 히어로(라이브 형사 히어로 기준 · 첫 화면 UD-934) ---------- */
/* 값은 라이브 https://www.lkpartner.co.kr/criminal/ 히어로 계산값(390·1366·1536·1920 실측). 문구는 이혼 원고, 색만 센터 색. */
.hero { margin: 0; padding: 0 0 8px; background: none; }
.hero-g { display: flex; flex-direction: column; }
.hero > img.hero-bg { display: none; }   /* 옛 하위 히어로 배경 그림(사진은 .hero-copy 배경) */
/* 카드: 휴대폰은 흰 카드 + 아래쪽 사진 띠(위로 흐려짐), PC 는 사진 전체 배경 + 왼쪽 흰 덮개 */
.hero-copy {
  position: relative; display: flex; flex-direction: column;
  padding: 20px 20px 246px; border-radius: 24px;   /* 휴대폰 위 20(라이브 38) — 첫 화면 UD-1007 */
  background-color: var(--surface);
  background-image: linear-gradient(#fff 0, rgba(255, 255, 255, 0.45) 24px, rgba(255, 255, 255, 0) 72px), var(--lk2-hero-photo-m, var(--lk2-hero-photo));
  background-size: 100% 234px, auto 234px; background-position: 50% 100%, 50% 100%; background-repeat: no-repeat;
}
/* 센터 이름(꼬리표 자리): 작은 굵은 센터 색 글(라이브 형사=남색, 이혼=보라) */
.c685-label { align-self: flex-start; margin: 0 0 8px; padding: 0; background: none; color: var(--brand); font-size: 14px; line-height: 20px; font-weight: 700; letter-spacing: normal; }
/* 하위 쪽 「비밀 유지」 줄 = 라이브의 작은 회색 한 줄(센터 이름과 제목 사이) */
body[data-c782-kind="sub"] .hero-copy > .c685-label { order: -2; }
body[data-c782-kind="sub"] .hero-copy > p.c692-text:not(h1 + p) { order: -1; margin: 0 0 10px; color: #6b7280; font-size: 13px; line-height: 1.45; font-weight: 600; }
/* 제목: 휴대폰 30px/40.5/800/자간 -1.8, 둘째 줄 남색 */
.hero-copy > h1 { margin: 0 0 8px; color: var(--ink); font-size: 30px; line-height: 1.3; font-weight: 800; letter-spacing: -0.06em; }
.hero-copy > h1 br { display: none; }   /* 이혼 제목 줄이 형사보다 길어 휴대폰은 폭에 맞춰 줄바꿈 */
.hero-copy > h1 :is(em, span) { color: var(--brand); }   /* 라이브 둘째 줄 = 센터 색(형사 남색 → 이혼 보라) */
/* 부제(제목 바로 뒤 문단): 휴대폰 15.9px/650 센터 색 */
.hero-copy > h1 + p { margin: 0 0 12px; color: var(--brand); font-size: 15.9px; line-height: 1.55; font-weight: 650; letter-spacing: -0.04em; }
.hero-copy > h1 + p strong { font-weight: 800; }
/* 글머리 카드: 흰 반투명, 안쪽 여백 16(PC 16·20), 줄 간격 12, 아이콘↔글 12, 제목 줄 + 설명 줄 (U12·UD-943) */
/* 휴대폰: 흰 카드 위 흰 글머리 카드는 보이지 않으므로 안쪽 여백 0(첫 화면 UD-1007). 줄 간격 12 는 U12 그대로 */
.c768-hero-list { display: flex; flex-direction: column; gap: 12px; margin: 0 0 12px; padding: 0; border-radius: 18px; background: rgba(255, 255, 255, 0.88); }
.c768-hero-row { display: flex; align-items: flex-start; gap: 12px; }
.c768-hero-icon { display: flex; flex: none; align-items: center; justify-content: center; width: 20px; height: 20px; margin-top: 0; border-radius: 8px; background: var(--brand); color: #fff; }
.c768-hero-icon svg { width: 16px; height: 16px; }
.c768-hero-body { display: flex; flex: 1 1 auto; flex-direction: column; gap: 2px; min-width: 0; }
.c768-hero-key { display: block; color: var(--brand); font-size: 14px; line-height: 20px; font-weight: 700; }
.c768-hero-sentence { display: block; color: var(--ink-2); font-size: 14px; line-height: 20px; font-weight: 400; }
/* 상담 버튼 3개: 820px 까지 같은 크기 세로 3개, 821px 부터 한 줄 3개(같은 크기·한 줄, U11)
   휴대폰 순서 = 온라인 상담 → 카카오 상담 → 전화(대표님 「온라인상담 카톡상담 까지는 1면에」 UD-1007). DOM 순서는 그대로(CSS order), PC 는 원래 순서 */
.lk-hero-buttons { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.lk-hero-buttons > a[href*="kakao"] { order: 1; }
.lk-hero-buttons > a[href^="tel:"] { order: 2; }
.lk-hero-buttons > :is(a, button) {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  width: 100%; height: 48px; margin: 0; padding: 0 16px;
  border: 1px solid transparent; border-radius: 16px;
  font-size: 16px; line-height: 24px; font-weight: 650; letter-spacing: -0.02em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
}
.lk-hero-buttons svg { display: block; flex: none; width: 16px; height: 16px; stroke: currentColor; }
.lk-hero-buttons > .lk-online { border-color: var(--brand); background: var(--brand); color: #fff; }
.lk-hero-buttons > a[href^="tel:"] { border: 2px solid var(--ink-2); background: var(--surface); color: var(--ink-2); }
.lk-hero-buttons > a[href*="kakao"] { border-color: var(--kakao); background: var(--kakao); color: #191919; }
/* 히어로 끝 짧은 안내(법률 정보 안내 — 휴대폰에서 스크립트가 히어로 끝으로 옮겨 옴) */
.hero-copy > .c787-hero-notice { margin: 12px 0 0; color: var(--ink-3); font-size: 11px; line-height: 1.75; }
body[data-c782-kind="sub"] .hero { padding: 0 0 24px; }
@media (min-width: 821px) {
  .hero { padding-bottom: 12px; }
  .lk-hero-buttons > :is(a[href*="kakao"], a[href^="tel:"]) { order: 0; }
  .c685-label { line-height: 24px; }
  .hero-copy > h1 { margin-bottom: 12px; }
  .hero-copy > h1 + p { line-height: 1.65; }
  .c768-hero-list { gap: 12px; padding: 16px 20px; }
  .hero-copy {
    padding: 78px clamp(40px, 5.3vw, 72px) 62px; border-radius: 28px;   /* UD-1035: 좌우 1366~ 72, 821~ 40~72 */
    background-image: var(--hero-veil), var(--lk2-hero-photo);
    background-size: 100% 100%, auto 100%; background-position: 50% 50%, 100% 50%;
  }
  .c685-label { margin-bottom: 16px; font-size: 15px; line-height: 24px; }
  body[data-c782-kind="sub"] .hero-copy > p.c692-text:not(h1 + p) { font-size: 15px; }
  /* 제목 64px 대(라이브 4.65vw, 최대 64) · 글 칸 64% — 사진 쪽으로 넘어가지 않게 */
  .hero-copy > h1 { max-width: 64%; margin-bottom: 12px; font-size: var(--hero-h1); line-height: 1.3; letter-spacing: -0.065em; }
  .hero-copy > h1 br { display: inline; }
  /* 하위 제목은 br 로 3줄이라 라이브 크기(64px대)면 1366×657 첫 화면을 66px 넘음 → 하위만 0.72배(46px대) */
  body[data-c782-kind="sub"] { --hero-h1: min(3.35vw, 46px); }
  .hero-copy > h1 + p { max-width: 64%; margin-bottom: 24px; font-size: calc(var(--hero-h1) * 0.53); line-height: 1.65; }
  .c768-hero-list { max-width: 580px; margin-bottom: 22px; }
  .c768-hero-key, .c768-hero-sentence { font-size: 16px; line-height: 27.2px; }
  .c768-hero-sentence { color: var(--ink); font-weight: 500; }
  .lk-hero-buttons { grid-template-columns: repeat(3, minmax(0, 1fr)); width: max-content; min-width: 61%; max-width: 100%; gap: 10px; }   /* UD-1035: 가장 긴 버튼 글자 기준 같은 폭 3칸, 1366~ 은 61% 그대로 */
  .lk-hero-buttons > :is(a, button) { height: 57px; padding: 0 20px; font-size: min(14px, 1.58vw); line-height: 21px; }   /* UD-1035: 886px~ 14px */
  .lk-hero-buttons svg { width: 18px; height: 18px; }
  /* 스크립트가 PC 에서 히어로 아래로 옮긴 위 상담 폼 = 다른 섹션 카드와 같은 폭(U5·UD-1006 너비 통일), 안쪽 입력칸은 섹션 글 칸 1080 에 맞춤.
     라이브는 가운데 960 카드 — 너비 통일 결정이 우선(라이브 대조 예외) */
  .hero-g > .lk-hero-form { width: 100%; max-width: none; margin: 40px 0 0; padding-left: max(40px, calc((100% - var(--inner)) / 2)); padding-right: max(40px, calc((100% - var(--inner)) / 2)); }
}

/* ---------- 6. 상담 폼 = 라이브 이혼 쪽 토스 디자인(UD-1004·1008) ---------- */
/* 값 출처: https://www.lkpartner.co.kr/divorce/ .lk-hero-form 계산 스타일(11-05 메인 측정, 390×712·1366×657).
   허브·하위의 위 폼(.lk-hero-form)·아래 #cta 폼(.ctform / 하위 .lk-cta-layout > .lk-card)·팝업(.modal-card) 모두 같은 규칙.
   라이브와 다른 값(UD 예외): 작은 회색 글 #8b95a1 → #6b7684(흰 바탕 대비 4.5 넘게, 검수표 U15). */
:is(.lk-hero-form, .ctform, .lk-cta-layout > .lk-card) {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 13px; align-content: start;
  padding: 27px 22px; border: 1px solid #edf0f3; border-radius: 24px; background: var(--surface);
  box-shadow: 0 14px 50px rgba(25, 31, 40, 0.02);
}
.modal-card { display: grid; grid-template-columns: minmax(0, 1fr); gap: 13px; align-content: start; }
:is(.lk-hero-form, .ctform, .lk-cta-layout > .lk-card, .modal-card) > * { min-width: 0; margin: 0; }
.lk-cta-layout > .lk-card > div:empty { display: none; }
/* 제목·안내 한 줄 */
:is(.lk-hero-form, .ctform, .lk-cta-layout > .lk-card) > :is(h2, h3) { color: var(--ink); font-size: 24px; line-height: 1.5; font-weight: 750; letter-spacing: -0.045em; }
.modal-card > h3 { padding-right: 40px; color: var(--ink); font-size: 20px; line-height: 1.5; font-weight: 800; letter-spacing: -0.045em; }
:is(.lk-hero-form, .ctform, .lk-cta-layout > .lk-card, .modal-card) > :is(h2, h3) + p { color: var(--ink-4); font-size: 13px; line-height: 1.75; }
/* 입력칸: 회색 채움, 테두리 없음 */
:is(.lk-hero-form, .ctform, .lk-cta-layout > .lk-card, .modal-card) :is(input[type="text"], input[type="tel"], select, textarea) {
  display: block; width: 100%; height: auto; min-height: 0; padding: 13px 15px;
  border: 1px solid transparent; border-radius: 12px; background: var(--page);
  color: var(--ink-2); font-size: 16px; line-height: 1.6; outline: none;
}
/* textarea[id]: 위 입력칸 규칙(input[type])과 같은 세기로 맞춰 뒤에서 이기게 */
:is(.lk-hero-form, .ctform, .lk-cta-layout > .lk-card, .modal-card) :is(textarea[id], textarea.ff) { height: 86px; padding: 15px 18px; border-radius: 14px; resize: none; }
:is(.lk-hero-form, .ctform, .lk-cta-layout > .lk-card, .modal-card) :is(input, textarea)::placeholder { color: var(--ink-4); }
:is(.lk-hero-form, .ctform, .lk-cta-layout > .lk-card, .modal-card) :is(input[type="text"], input[type="tel"], textarea):focus { border-color: var(--brand); background: var(--surface); }
/* 칸 이름이 붙은 입력칸(옛 폼: 칸 이름 위·입력칸 아래 한 덩어리) */
.ffld { display: grid; gap: 8px; min-width: 0; }
.ffld > .sl { margin: 0; }
/* 선택 칸 머리(사건 유형·현재 상황) */
:is(.sg, .lk-cta-layout > .lk-card > div:has(> .c792-chip-grid)) { margin: 0; }
:is(.sl, .lk-cta-layout > .lk-card > div > div:first-child:has(+ .c792-chip-grid)) { margin: 0 0 8px; color: var(--ink-4); font-size: 11px; line-height: 1.7; font-weight: 700; letter-spacing: 0.03em; }
/* 선택 칩: 글자 폭만큼, 한 줄에 여러 개 흐름(간격 6) */
:is(.chips, .c792-chip-grid) { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  display: inline-flex; align-items: center; min-width: 0; min-height: 44px; padding: 9px 11px;
  border: 1px solid var(--line); border-radius: 10px; background: var(--surface);
  color: var(--ink-4); font-size: 12px; line-height: 1.5; font-weight: 400; text-align: left; cursor: pointer; user-select: none;
}
.chip.on, .chip[aria-pressed="true"] { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 7%, white); color: var(--brand); }
/* 개인정보 동의 */
:is(.privacy-check, .lk-cta-layout > .lk-card > label) { display: flex; align-items: flex-start; gap: 8px; cursor: pointer; }
:is(.privacy-check, .lk-cta-layout > .lk-card > label), :is(.privacy-check, .lk-cta-layout > .lk-card > label) :is(label, span) { color: var(--ink-4); font-size: 11px; line-height: 1.5; font-weight: 400; }
:is(.privacy-check, .lk-cta-layout > .lk-card > label) input { flex: none; width: 17px; height: 17px; margin: 2px 0 0; accent-color: var(--brand); }
:is(.privacy-check, .lk-cta-layout > .lk-card > label) a { color: inherit; text-decoration: underline; }
/* 신청 버튼: 보라 전체 폭 */
.bsub, .lk-cta-layout > .lk-card > button {
  display: flex; align-items: center; justify-content: center; gap: 4px;
  width: 100%; height: 56px; margin: 0; padding: 13px; border: 0; border-radius: 14px;
  background: var(--brand); color: #fff; font-size: 17px; line-height: 1.5; font-weight: 700; white-space: nowrap; cursor: pointer;
}
/* 폼 안 전화·카카오 버튼(라이브 폼에는 없음 — 대표님 확인 대기, 같은 모양으로 둠) */
.c718-consult-actions { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.c718-phone, .c718-kakao {
  display: flex; align-items: center; justify-content: center; gap: 4px;
  width: 100%; height: 56px; margin: 0; padding: 0 14px; border: 0; border-radius: 14px;   /* 신청 버튼과 같은 높이(U11) */
  font-size: 16px; line-height: 1.5; font-weight: 700; text-decoration: none; white-space: nowrap;
}
.c718-phone { background: var(--page); color: var(--ink-2); }
.c718-phone svg { width: 16px; height: 16px; margin-right: 4px; }
.c718-kakao { background: var(--kakao); color: #191919; }
/* 아래 비밀 유지 한 줄: 가운데 작은 회색 */
:is(.fnote, .lk-hero-form > p:last-child, .lk-cta-layout > .lk-card > button + p) { color: var(--ink-4); font-size: 13px; line-height: 1.75; text-align: center; }
@media (min-width: 821px) {
  /* PC: 두 칸 격자 — 성함·연락처만 나란히, 나머지는 한 줄 전체(라이브 878 = 429 + 20 + 429) */
  :is(.lk-hero-form, .ctform, .lk-cta-layout > .lk-card) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; padding: 36px 40px; border-radius: 28px; }
  :is(.lk-hero-form, .ctform, .lk-cta-layout > .lk-card) > * { grid-column: 1 / -1; }
  :is(.lk-hero-form, .ctform, .lk-cta-layout > .lk-card) > :is(input[type="text"], input[type="tel"], .ffld:has(> input[type="tel"]), .ffld:has(+ .ffld > input[type="tel"])) { grid-column: auto; }
  :is(.lk-hero-form, .ctform, .lk-cta-layout > .lk-card) > :is(h2, h3) { font-size: 29px; }
  :is(.lk-hero-form, .ctform, .lk-cta-layout > .lk-card, .modal-card) :is(input[type="text"], input[type="tel"], select) { font-size: 14px; }
  :is(.lk-hero-form, .ctform, .lk-cta-layout > .lk-card, .modal-card) :is(textarea[id], textarea.ff) { font-size: 15px; }
  .chip { min-height: 0; padding: 10px 13px; font-size: 13px; }
  .c718-consult-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .c718-consult-actions > .bsub { grid-column: 1 / -1; }
}

/* ---------- 7. 30초 상황 진단(C877 카드 모양) ---------- */
.c698-diagnosis { background: var(--card-gray); }
main > article > section.c698-diagnosis { background: var(--card-gray); }
.lk-diag-card { max-width: 636px; margin: 0 auto; padding: 22px; border: 1px solid #e9edf4; border-radius: 28px; background: var(--surface); box-shadow: 0 24px 60px -28px rgba(20, 30, 60, 0.3); }
.lk-diag-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; color: var(--brand); font-size: 15px; line-height: 1.7; font-weight: 800; }
.lk-diag-top span { font-size: 14px; }
.lk-diag-progress { height: 8px; margin-bottom: 24px; border-radius: 99px; background: #eef1f6; overflow: hidden; }
.lk-diag-progress > div { height: 100%; border-radius: inherit; background: var(--brand); transition: width .2s; }
.lk-diag-intro { text-align: center; }
.lk-diag-intro .lk-card-badge { display: grid; place-items: center; width: 48px; height: 48px; margin: 4px auto 18px; border-radius: 8px; background: var(--navy); color: #fff; }
.lk-diag-intro .lk-card-badge svg { width: 26px; height: 26px; }
.lk-diag-intro h2 { margin: 8px 0 12px; color: #172b3a; font-size: 23px; line-height: 1.4; text-align: left; }
.lk-diag-intro > p { margin: 0 0 20px; color: #4b586b; font-size: 16px; line-height: 1.7; text-align: left; }
.lk-diag-primary { display: flex; align-items: center; justify-content: center; gap: 4px; width: 100%; margin: 0; padding: 16px; border: 0; border-radius: 16px; background: var(--brand); color: #fff; font-size: 17px; line-height: 1.7; font-weight: 700; cursor: pointer; }
.lk-diag-primary svg { width: 17px; height: 17px; }
.lk-diag-intro > p.lk-diag-note, .lk-diag-note { margin: 16px 0 0; color: #536174; font-size: 13px; line-height: 1.7; }
[data-slot="screen"] { text-align: left; }
[data-slot="screen"] [data-slot="count"] { display: block; color: var(--brand); font-size: 14px; font-weight: 700; }
[data-slot="screen"] [data-slot="title"] { margin-top: 4px; font-size: 20px; font-weight: 800; }
[data-slot="screen"] [data-slot="sub"] { margin-top: 4px; color: var(--ink-3); font-size: 15px; }
[data-slot="opts"] { display: grid; gap: 8px; margin-top: 16px; }
.lk-diag-option { display: block; width: 100%; min-height: 52px; padding: 13px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--ink); font-size: 15px; line-height: 1.5; font-weight: 500; text-align: left; }
.lk-diag-back { margin-top: 16px; padding: 8px 0; border: 0; background: none; color: var(--ink-3); font-size: 14px; font-weight: 600; }
.lk-diag-result { margin-top: 8px; font-size: 15px; line-height: 1.7; color: var(--ink-2); }
.lk-diag-result-cta { display: grid; gap: 8px; margin-top: 16px; }
.lk-diag-phone { display: block; padding: 8px 0; color: var(--navy); font-weight: 700; text-align: center; }
@media (min-width: 821px) {
  .lk-diag-card { padding: 40px; }
  .lk-diag-intro h2 { font-size: 30px; }
}

/* ---------- 8. Since 2012 (첫 내용 블록 바로 뒤, 이웃 카드와 같은 폭, 정본 구분선) ---------- */
.lk-strengths { background: var(--navy); color: #fff; border-radius: 24px; }
.lk-strengths-inner { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
/* (하위 쪽 Since 상자에도 .c768-section 이 붙어 있어 .lk-strengths 아래로 한정) */
.lk-strengths .lk-strength-year { display: block; margin: 0 0 8px; padding: 0 0 20px; border-bottom: 1px solid rgba(255, 255, 255, 0.15); font-size: 16px; line-height: 1.7; }
.lk-strengths .lk-strength-year b { display: block; font-size: 28px; line-height: 1.4; font-weight: 800; letter-spacing: -1.12px; }
.lk-strengths .lk-strength-year span { display: block; margin-top: 4px; font-size: 16px; line-height: 1.7; }
.lk-strength { display: flex; align-items: flex-start; gap: 12px; }
.lk-strength-icon { display: flex; flex: none; align-items: center; justify-content: center; width: 32px; height: 36px; margin-top: 2px; border: 1px solid rgba(255, 255, 255, 0.19); border-radius: 50%; background: #fff; color: var(--navy); }
.lk-strength-icon svg { width: 22px; height: 22px; }
.lk-strength > div { min-width: 0; }
.lk-strength > div b { display: block; margin-bottom: 5px; font-size: 15px; line-height: 1.5; font-weight: 750; }
.lk-strength > div span { display: block; margin-top: 4px; font-size: 13px; line-height: 1.6; }
@media (min-width: 821px) {
  .lk-strengths-inner { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lk-strengths .lk-strength-year { grid-column: 1 / -1; }
}

/* ---------- 9. 담당 변호사 카드(사진 자르지 않음) ---------- */
.team .sh { margin: 0; }
.team h2 { margin-bottom: 20px; color: #2c2c2c; }
.lk-person { display: flex; flex-direction: column; gap: 16px; padding: 20px; border-radius: 16px; background: var(--card-soft); color: var(--ink); text-decoration: none; }
.lk-person-photo { overflow: hidden; border-radius: 12px; }
.lk-person-photo img { width: 100%; height: auto; border-radius: 8px; }
.lk-person-body { min-width: 0; }
.lk-person-role { margin-bottom: 8px; color: var(--navy); font-size: 13px; line-height: 1.7; font-weight: 700; letter-spacing: 0.26px; }
.lk-person-name { margin-bottom: 12px; font-size: 22px; line-height: 1.5; font-weight: 700; }
.c789-expert-list { display: grid; gap: 5px; padding-left: 18px; border-top: 1px solid var(--line); }
.c789-expert-list li { position: relative; padding-left: 12px; color: var(--ink-3); font-size: 14px; line-height: 1.65; }
.c789-expert-list li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 4px; height: 4px; border-radius: 50%; background: #b0b8c1; }
.lk-person-link { display: inline-flex; align-items: center; gap: 4px; margin-top: 0; color: var(--navy); font-size: 14px; line-height: 1.7; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.lk-person-link svg { width: 14px; height: 14px; }
body[data-c782-kind="sub"] .lk-person-role, body[data-c782-kind="sub"] .lk-person-link { font-weight: 400; }
@media (min-width: 821px) {
  .lk-person { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); grid-template-rows: auto 1fr; align-items: start; gap: 12px 20px; }
  .lk-person-photo { grid-row: 1 / span 2; }
  .lk-person-link { grid-column: 2; align-self: end; margin-top: 0; }
}

/* ---------- 10. 최근 업무사례(사진 16:9, 썸네일 아래 빈칸 없앰) ---------- */
.lk-casefeed-static { color: var(--ink-2); }
.lk-casefeed-static > h2 { color: var(--ink-2); }
.lk-casefeed-grid { margin-top: 20px; }
.lk-casefeed-card { padding: 20px; border-radius: 14px; background: var(--card-soft); }
.lk-casefeed-card article { display: flex; flex-direction: column; gap: 12px; }
.lk-casefeed-card a { display: block; color: var(--ink-2); text-decoration: none; }
.lk-casefeed-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px; }
.lk-casefeed-card h3 { font-size: 20px; line-height: 1.5; font-weight: 800; color: var(--ink-2); letter-spacing: -0.7px; }
/* 전체 보기 링크(업무사례·언론·하위 「선택 이유 자세히 보기」 — 같은 회색 둥근 줄, 대표님 「선택이유 자세히 토스 디자인 안됨」) */
.lk-casefeed-all, .lkx-pr-all, a.c793-related-link {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 8px;
  margin-top: 12px; padding: 12px 16px; border-radius: 10px; background: #f2f5f9;
  color: var(--ink-2); font-size: 16px; line-height: 1.75; font-weight: 700; text-decoration: none;
}
.lkx-pr-all, a.c793-related-link { display: flex; }
a.c793-related-link { margin-top: 16px; }
.c792-related-intro { margin-bottom: 16px; }
.lk-casefeed-all svg, .lkx-pr-all svg { width: 16px; height: 16px; }
@media (min-width: 821px) {
  .lk-casefeed-grid { margin-top: 24px; }
  .lk-casefeed-all, .lkx-pr-all { margin-top: 16px; }
}

/* ---------- 11. 언론 기고·보도(최소 4건 — UD-1005·1011, PC 2×2 빈칸 0) ---------- */
.lkx-press { color: var(--ink-2); }
.lkx-pr-h { margin: 0 0 18px; color: var(--ink-2); font-weight: 750; }
.lkx-pr-it { padding: 16px; border-radius: 12px; background: var(--card-soft); }
.lkx-pr-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 6px; font-size: 13px; }
.lkx-pr-badge { padding: 2px 7px; border-radius: 8px; color: var(--ink-2); font-size: 14px; line-height: 1.5; font-weight: 700; }
.lkx-pr-media { color: var(--ink-2); font-size: 14px; line-height: 1.4; font-weight: 700; }
.lkx-pr-date { color: var(--ink-3); font-size: 14px; line-height: 1.4; }
.lkx-pr-t { display: block; color: var(--ink-2); font-size: 16px; line-height: 1.55; font-weight: 700; text-decoration: none; }
@media (min-width: 821px) { .lkx-pr-it { padding: 20px 16px 16px; } }

/* ---------- 12. 본문 카드 부품(c768: 번호 카드·체크 목록·링크 목록) ---------- */
.c768-card-heading { display: flex; align-items: flex-start; gap: 10px; }
.c768-number { display: flex; flex: none; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 8px; background: var(--navy); color: #fff; font-size: 13px; line-height: 1; font-weight: 750; letter-spacing: 0; }
.c768-card-heading h3 { flex: 1 1 auto; min-width: 0; font-size: 18px; line-height: 1.5; }
.c768-numbered-title { flex: 1 1 auto; min-width: 0; font-size: 17px; line-height: 1.4; }
.c768-card h3 { font-size: 18px; line-height: 1.5; }
.c768-card img { width: 100%; height: auto; }
.c768-card > div:has(> img) { margin-bottom: 16px; }
.c768-card h3 + div { margin-top: 8px; }
.c877-related-subtitle { margin-bottom: 12px; color: var(--ink-2); font-size: 16px; line-height: 1.7; }
/* 핵심 확인 카드(클래스 없는 div): 위 꼬리표+요약 두 줄, 아래 근거 줄+제목+설명 */
.c768-grid > div:not([class]) > div + div { margin-top: 16px; }
.c768-grid > div:not([class]) > div:first-child > span:first-child { display: block; margin-bottom: 6px; color: var(--brand-dark); font-size: 13px; line-height: 1.7; font-weight: 700; }
.c768-grid > div:not([class]) > div:first-child > div { color: var(--ink); font-size: 16px; line-height: 1.7; }
.c768-grid > div:not([class]) > div:last-child > div:first-child { color: var(--ink-3); font-size: 16px; line-height: 1.7; }
.c768-grid > div:not([class]) h3 { margin: 0 0 8px; }
/* 체크 목록 */
.c768-check-list { display: block; border-radius: 18px; }
.c768-check-list > li { display: grid; grid-template-columns: 20px minmax(0, 1fr); align-items: start; gap: 10px; padding: 6px 0; font-size: 15px; line-height: 1.7; border-bottom: 1px solid var(--line); }
.c768-check-list > li:first-child { padding-top: 0; }
.c768-check-list > li + li { margin-top: 12px; }
.c768-check-list > li:last-child { border-bottom: 0; }
.c778-check-icon { display: flex; align-items: center; justify-content: center; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%; background: var(--burgundy); color: #fff; }
.c778-check-icon svg { width: 16px; height: 16px; }
.c768-check-body { color: var(--ink-2); font-size: 15px; line-height: 1.6; }
/* 링크 목록: 회색 상자 안에 선으로 나눈 줄(선은 링크에 — li 를 카드로 만들지 않음, U3) */
.c768-link-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; overflow: hidden; border-radius: 16px; background: var(--card); }
.c768-link-list > li:not(:last-child) { border-bottom: 1px solid #dce1e6; }   /* 아래 선만(판정기 카드 판단은 위 선 기준) */
.c768-link-list .c786-check-icon { display: none; }   /* 링크 글자와 겹치던 체크 아이콘(C877 화면에도 안 보임, U13) */
.c768-link-card {
  display: grid; grid-template-columns: minmax(0, 1fr) 18px; align-items: center; gap: 10px;
  padding: 14px 16px; color: var(--brand); font-size: 16px; line-height: 1.6; font-weight: 600; text-decoration: none;
}
.c768-link-card::after { content: ""; width: 16px; height: 16px; background: currentColor; -webkit-mask: var(--icon-arrow) center / contain no-repeat; mask: var(--icon-arrow) center / contain no-repeat; }
.c768-grid > .c768-link-card { padding: 16px; border-radius: 16px; background: var(--page); }
.c768-link-card svg { display: none; }
.c768-prose-link { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.c795-source-line { margin-top: 12px; color: #596579; font-size: 12px; line-height: 1.6; }
.c768-section p.c795-source-line { margin: 12px 0 0; font-size: 12px; }
.c768-link:not(.c768-link-card) { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.c793-agency .c768-link { color: #596579; font-size: 12px; }
.c768-link svg { display: inline-block; width: 1em; height: 1em; vertical-align: -2px; }
#c767-related > div { margin-top: 20px; }
#c767-related > div + div { margin-top: 12px; }
@media (min-width: 821px) {
  .c768-link-list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 12px; }
}
/* 접힘 상자(더 보기) */
details > summary { list-style: none; cursor: pointer; }
details > summary::-webkit-details-marker { display: none; }
.c863-link-group > details > summary, .c768-content details > summary, .c800-more-controls button, .c799-more {
  display: inline-flex; align-items: center; gap: 6px; padding: 12px 0;
  border: 0; background: none; color: #334155; font-size: 16px; line-height: 1.7; font-weight: 400;
}
.c863-link-group > details { margin-top: 12px; }
.c863-link-group > details > summary::before, .c768-content details > summary::before { content: ""; width: 12px; height: 12px; background: currentColor; -webkit-mask: var(--icon-chevron) center / contain no-repeat; mask: var(--icon-chevron) center / contain no-repeat; transform: rotate(-90deg); }
.c863-link-group > details[open] > summary::before { transform: none; }
.c863-link-group > details > ul { margin-top: 8px; }
* + .c863-link-group { margin-top: var(--card-gap); }
.c864-flat-detail > summary, details.c796-unfolded > summary { display: none; }
.c864-flat-detail { margin-top: 12px; }
.c792-fold-preview { margin: 8px 0; }
.c799-intro-lead { display: block; margin-bottom: 12px; font-size: 17px; line-height: 1.65; font-weight: 600; }
.c799-name { color: var(--navy); }
#about-lk .c768-card { padding: 16px; }
@media (min-width: 821px) {
  #about-lk .c768-card { padding: 24px 20px; }
  .c799-intro-lead { font-size: 19px; }
  .c768-content > h3 { margin-top: 32px; }
}
/* 하위 쪽 체크 목록(C877 하위: 선 없는 가는 체크 표시, 항목 사이 24) */
body[data-c782-kind="sub"] .c768-check-list { display: grid; gap: 24px; }
body[data-c782-kind="sub"] .c768-check-list > li + li { margin-top: 0; }
body[data-c782-kind="sub"] .c768-check-body { line-height: 1.8; }
body[data-c782-kind="sub"] .c768-check-list > li { grid-template-columns: 15px minmax(0, 1fr); gap: 9px; padding: 0; border: 0; line-height: 1.8; }
body[data-c782-kind="sub"] .c768-check-list > li::before { content: ""; width: 15px; height: 15px; margin-top: 4px; background: var(--ink-2); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12l5 5L20 6'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12l5 5L20 6'/%3E%3C/svg%3E") center / contain no-repeat; }
/* 하위 쪽 FAQ(질문·답이 펼쳐진 카드, C877 하위 값) */
div.c786-faq-card { margin-top: 12px; padding: 16px; border-radius: 16px; background: var(--card); }
body .c768-section div.c786-faq-card h3 { margin-bottom: 8px; font-size: 16px; line-height: 1.6; font-weight: 500; }
div.c786-faq-card p { margin: 0; padding: 0 2px 19px; font-size: 16px; line-height: 1.8; }

/* ---------- 13. 왜 엘케이파트너스인가(장점 카드) ---------- */
.c698-why-card { min-width: 0; padding: 20px; border-radius: 16px; background: var(--card); color: #141b2b; }
.c698-why-card .lk-card-badge { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin-bottom: 8px; border-radius: 50%; background: rgba(0, 0, 0, 0.1); color: var(--navy); }
.c698-why-card .lk-card-badge svg { width: 24px; height: 24px; }
.widx { margin-bottom: 6px; color: var(--brand-dark); font-size: 13px; line-height: 1.4; font-weight: 750; letter-spacing: 1.32px; }
.c698-why-card h3 { color: #141b2b; font-size: 21px; line-height: 1.5; font-weight: 800; letter-spacing: -0.84px; }
.c698-why-card p { color: #141b2b; font-size: 15px; line-height: 1.65; }
/* 강조 카드(버건디): 글자 모두 흰색 — 스크립트 없이도 흰색(C877 은 첫 상태에서 흐렸음) */
.c698-why-card.c772-highlight { background: var(--burgundy); color: #fff; }
.c698-why-card.c772-highlight :is(h3, p, .widx, strong, b) { color: #fff; }
.c698-why-card.c772-highlight .lk-card-badge { background: rgba(255, 255, 255, 0.16); color: #fff; }
@media (min-width: 821px) {
  .c698-why-card { padding: 24px; }
  .c698-why-card h3 { margin-bottom: 12px; }
  .c698-why-card p + p { margin-top: 16px; }
}

/* ---------- 14. 진행 단계 ---------- */
.proc .sh { margin: 0; }
.proc h2 { margin-bottom: 20px; }
.ptrack { padding-bottom: 28px; }
.pi { display: flex; align-items: flex-start; gap: 20px; padding: 16px; border-radius: 16px; background: var(--card-gray); }
.pcirc { display: flex; flex: none; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 8px; background: var(--burgundy); color: #fff; font-size: 20px; line-height: 1; font-weight: 600; }
.pi > div:not(.pcirc) { min-width: 0; }
.pi h3 { margin-bottom: 4px; font-size: 20px; line-height: 1.5; font-weight: 800; letter-spacing: -0.8px; }
.pi p { color: var(--ink-3); font-size: 16px; line-height: 1.85; }
@media (min-width: 821px) { .ptrack { gap: 16px; } .pi h3 { margin-bottom: 8px; } }

/* ---------- 15. 자주 묻는 질문(카드 사이 12) ---------- */
.faqs .sh { margin: 0 0 34px; }
.faqs .sh > div { margin: 0; }
.faqs .sh h2 { margin-bottom: 20px; color: #2c2c2c; }
.faqs .sh > p { color: var(--ink-4); font-size: 16px; line-height: 1.9; }
.fqi { min-width: 0; padding: 16px; border-radius: 16px; background: var(--card); }
:not(.fql) > .fqi + .fqi { margin-top: var(--card-gap); }   /* 묶음 없이 이어진 질문 카드 사이 12 */
.fqi > summary { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; color: #2c2c2c; font-size: 16px; line-height: 1.6; font-weight: 500; }
.fqi > summary::after { content: ""; flex: none; width: 16px; height: 16px; margin-top: 4px; background: currentColor; -webkit-mask: var(--icon-plus) center / contain no-repeat; mask: var(--icon-plus) center / contain no-repeat; }
.fqi[open] > summary::after { -webkit-mask-image: var(--icon-minus); mask-image: var(--icon-minus); }
.fqi > summary svg { display: none; }
.fqa { margin-top: 12px; color: var(--ink-2); font-size: 15px; line-height: 1.75; }
.fqa p + p { margin-top: 8px; }
@media (min-width: 821px) { .fqi { padding: 20px; } }

/* ---------- 16. 상담 안내(#cta) ---------- */
.ctwrap, .lk-cta-layout { display: flex; flex-direction: column; align-items: stretch; gap: 24px; }
.lk-cta-layout { gap: 14px; }
.ctcopy > div:first-child:has(> .stag) { margin: 0; }
.lkx-cta-h2 { margin: 0 0 14px; color: #2c2c2c; }
.lkx-cta-l { display: block; }
.ctcopy > p { margin: 0 0 36px; color: var(--ink); font-size: 16px; line-height: 1.85; }
/* 연락처 줄 */
.crow, .lk-cta-layout > div:first-child > div > div { display: flex; align-items: baseline; gap: 10px; padding: 16px; border-radius: 16px; background: var(--card-gray); }
.crow { margin-bottom: 16px; }
.cbadge, .lk-cta-layout > div:first-child > div > div > span:first-child { flex: 0 0 72px; color: var(--ink-3); font-size: 16px; line-height: 1.7; font-weight: 500; }
.cval, .lk-cta-layout > div:first-child > div > div > span + span { min-width: 0; color: var(--ink); font-size: 16px; line-height: 1.7; font-weight: 600; }
.cval a { text-decoration: none; }
/* 옛 form-band #cta(토지보상·관세·지주택 하위)의 배경 사진·덮개: 허브 #cta 에 없는 장식이라 숨김 */
.form-band > :is(.bgimg, .ov) { display: none; }
/* 폼 카드 모양은 6절(라이브 토스 디자인) 한 곳에서 정의 */
/* 하위 쪽 #cta 왼쪽 안내 글(인라인을 걷어 낸 옛 틀): C877 하위 값 */
.lk-cta-layout > div:first-child > p { margin: 0 0 30px; color: var(--ink-3); font-size: 15px; line-height: 1.85; }
.lk-cta-layout > div:first-child > p:first-child { display: inline-block; margin-bottom: 13px; color: var(--brand); font-size: 12px; line-height: 1; font-weight: 800; letter-spacing: 0.2em; }
.lk-cta-layout > div:first-child > div { display: grid; gap: 12px; margin-bottom: 0; }
.lk-cta-layout > div:first-child > div + p { margin-top: 26px; }
.lk-cta-layout > div:first-child > div > div { padding: 0; background: none; gap: 14px; }
.lk-cta-layout > div:first-child > div > div > span:first-child { font-size: 14px; }
@media (min-width: 821px) {
  .ctwrap { gap: 40px; }
  .crow { gap: 14px; padding: 20px; }
}

/* ---------- 17. 하위 쪽 전용 블록(관할 기관·지역·진행·최종 업데이트) ---------- */
.c793-agency { min-width: 0; padding: 20px; border-radius: 14px; background: var(--card-soft); }
.c793-agency > div:first-child { margin-bottom: 8px; font-size: 17px; line-height: 1.7; font-weight: 750; color: var(--ink); }
.c793-agency > div { font-size: 15px; line-height: 1.7; }
.c768-content > div:not([class]) > p { margin: 8px 0 16px; }
/* 하위 범위 안내·최종 업데이트·근거 칸 = 허브의 검토 변호사 박스(18절)와 같은 모양(UD-1008): 안쪽 회색 카드 없이 글 줄만, 사이 구분선 */
#c773-section-3 .c787-align-group { display: flex; flex-direction: column; gap: 6px; }
#c773-section-3 .c768-card { padding: 0; border-radius: 0; background: none; color: var(--ink-3); font-size: 16px; line-height: 1.85; }
#c773-section-3 .c768-card + .c768-card { padding-top: 8px; border-top: 1px solid #e8e4df; }
#c773-section-3 .c768-card p { margin: 0 0 6px; font-size: 16px; line-height: 1.85; }
#c773-section-3 .c768-card p.c877-updated { color: var(--ink-3); }
#c773-section-3 .c768-card details p { font-size: 14px; }
#c773-section-3 > p { margin-top: 8px; margin-bottom: 0; padding-top: 8px; color: var(--ink-4); font-size: 16px; line-height: 1.85; }   /* UD-1054: 좌우 여백은 4절(PC 글 칸 1080 가운데)을 따름 — 근거·출처 줄 시작선 = 글 칸 시작선 */
.c877-updated { white-space: nowrap; }
.c877-updated strong { color: var(--ink-3); font-weight: 400; }

/* ---------- 18. 검토 변호사 카드(본 페이지 검토 변호사 1번) ---------- */
/* 너비 = 다른 섹션 카드(UD-1006): 바깥 카드 칸 1320·안쪽 글 칸 1080, 안쪽 여백 = 섹션 여백 */
.page-byline { width: min(var(--col), calc(100% - 2 * var(--gutter))); margin: var(--gap) auto 0; padding: var(--pad); border-radius: 20px; background: var(--surface); }
.page-byline p { margin: 0 0 6px; color: var(--ink-3); font-size: 16px; line-height: 1.85; }
/* 「검토 변호사」 줄과 「광고책임변호사」 줄 글자 크기·굵기 같게(대표님 「광고책임변호사 텍스트 크기 다른건」) */
.page-byline strong { margin: 0; color: inherit; font-weight: inherit; }
.page-byline .byline-note { margin: 8px 0 6px; padding-top: 8px; border-top: 1px solid #e8e4df; font-size: 14px; }
.page-byline .lkx-cite { margin: 0; padding-top: 8px; color: var(--ink-4); }
@media (min-width: 821px) { .page-byline > :is(p, div, .byline-note, .lkx-cite) { max-width: var(--inner); margin-left: auto; margin-right: auto; } }

/* ---------- 19. 공식 웹사이트·유사 사이트 주의·담당 확인 ---------- */
.lk-notice { margin-top: var(--gap); padding: 24px 0; font-size: 16px; line-height: 1.8; }
.lk-notice-site { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; padding: 16px 18px; border-radius: 20px; background: var(--surface); }
.lk-notice-ico { display: flex; flex: none; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 12px; background: color-mix(in srgb, var(--brand) 8%, white); color: var(--brand); }   /* 센터 색 8%(이혼 = #f6eff4) */
.lk-notice-ico svg { width: 24px; height: 24px; }
.lk-notice-site-txt { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 14px; min-width: 0; }
.lk-notice-site-k { color: var(--ink-3); font-size: 15px; line-height: 1.5; font-weight: 600; }
.lk-notice-url { color: var(--brand); font-size: 20px; line-height: 1.3; font-weight: 800; }
.lk-notice-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.lk-notice-card { padding: 24px 20px; border-radius: 20px; background: var(--surface); }
.lk-notice-h { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; font-size: 24px; line-height: 1.45; font-weight: 750; }
.lk-notice-p { color: var(--ink-3); font-size: 15px; line-height: 1.85; }
.lk-notice-p + .lk-notice-p { margin-top: 14px; }
.lk-notice-p strong { color: var(--ink); font-size: 16px; }
.lk-notice-check { margin-top: 24px; }
.lk-notice-check-h { margin-bottom: 12px; font-size: 16px; line-height: 1.5; font-weight: 700; color: var(--ink); }
/* 확인 칸 사이 12(C877 10 에서 바꿈, U3) */
.lk-notice-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.lk-notice-list > li { padding: 12px 14px; border-radius: 14px; background: var(--card-gray); }
.lk-notice-k { display: block; color: var(--ink-3); font-size: 13px; line-height: 1.5; font-weight: 600; }
.lk-notice-v { display: block; margin-top: 2px; color: var(--ink); font-size: 15px; line-height: 1.55; font-weight: 700; }
@media (min-width: 821px) {
  .lk-notice { padding: 40px 0; }
  .lk-notice-site { margin-bottom: 20px; gap: 16px; }
  .lk-notice-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lk-notice-check { margin-top: 28px; }
  .lk-notice-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lk-notice-list > li { padding: 14px 16px; border-radius: 16px; }
  .lk-notice-ico { width: 44px; height: 44px; border-radius: 14px; }
  .lk-notice-p { font-size: 16px; }
}

/* ---------- 20. 바닥글(#2c2c2c, 모든 줄 같은 크기 12px — UD-943) ---------- */
/* 어두운 띠는 안쪽 div 가 화면 끝까지 칠한다(판정기 U5, 화면은 같음) */
footer { margin-top: var(--gap); color: var(--footer-ink); font-size: 12px; line-height: 1.8; font-weight: 400; }
footer > div { padding: 36px max(20px, calc((100% - var(--inner)) / 2)); background: var(--footer); }
footer p, footer div, footer address { font-size: 12px; line-height: 1.8; font-weight: 400; color: var(--footer-ink); }
footer > div > div:first-child > div:first-child:not(.finfo) { color: #fff; font-weight: 700; }  /* 하위 쪽 법인 이름 줄 */
footer a, footer a.c768-link:not(.c768-link-card) { color: inherit; text-decoration: none; }   /* 바닥글 안 본문 링크 이름(.c768-link)도 바닥글 글자색 */
footer a[href="/privacy/"] { font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
footer .fin, footer > div > div { display: flex; flex-direction: column; gap: 28px; }
footer .fin > div, footer > div > div > div { display: block; }
footer .fin > .flinks, footer > div > div:last-child:not(.fin) { display: flex; flex-direction: row; flex-wrap: wrap; gap: 12px; }
footer .fdisc { margin-top: 10px; }
footer .c787-hero-notice { margin-top: 8px; }
/* 휴대폰·태블릿: 아래 고정 바 높이만큼 바닥글 안쪽 아래를 늘려 글이 바에 가리지 않게 */
footer > div { padding-bottom: calc(36px + var(--bar-h)); }
body:has(footer) { padding-bottom: 0; }
@media (min-width: 821px) {
  footer > div { padding-bottom: 36px; }
  footer .fin { flex-direction: row; flex-wrap: wrap; justify-content: space-between; gap: 40px; }
  footer .fin > div:not(.flinks) { max-width: 505px; }
}

/* ---------- 21. 아래 고정 상담 바(허브·하위 같은 모양, 820px 까지) — C877 값(79px) ---------- */
.mobile-bottom-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: flex; gap: 8px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  border-top: 1px solid #e8e4df; background: var(--surface); box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
}
.mbb-btn {
  display: flex; flex: 1 1 0; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  min-width: 0; height: 58px; padding: 8px 4px; border: 0; border-radius: 3px;
  font-size: 10px; line-height: 17px; font-weight: 500; letter-spacing: 0.3px; text-decoration: none; white-space: nowrap;
}
.mbb-btn svg { width: 20px; height: 20px; }
.mbb-btn--call { border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); }
.mbb-btn--kakao { background: var(--kakao); color: #191919; }
.mbb-btn--consult { background: var(--brand); color: #fff; }
@media (min-width: 821px) { .mobile-bottom-bar { display: none; } }

/* ---------- 22. PC 오른쪽 떠 있는 상담 메뉴 ---------- */
.float-nav { display: none; }
@media (min-width: 821px) {
  .float-nav { position: fixed; right: 8px; top: 50%; z-index: 40; display: flex; flex-direction: column; gap: 8px; transform: translateY(-50%); }
  .float-nav > :is(a, button) { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; width: 56px; height: 56px; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); color: var(--ink-2); font-size: 10px; line-height: 1.3; font-weight: 700; text-decoration: none; }
  .float-nav > :is(a, button) svg { width: 18px; height: 18px; }
  .float-nav > a[href*="kakao"] { border-color: var(--kakao); background: var(--kakao); color: #191919; }
}

/* ---------- 23. 상담 팝업·접수 완료 창 ---------- */
.modal-overlay { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 16px; background: rgba(0, 0, 0, 0.55); }
.modal-overlay.open { display: flex; }
.modal-card { position: relative; width: min(520px, 100%); max-height: 88vh; overflow-y: auto; padding: 24px; border-radius: 20px; background: var(--surface); }
.modal-close { position: absolute; top: 12px; right: 12px; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 0; background: none; color: var(--ink-3); font-size: 22px; line-height: 1; }
.modal-close svg { width: 20px; height: 20px; }
.lk-success-overlay { position: fixed; inset: 0; z-index: 110; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(20, 34, 43, 0.58); }
.lk-success-card { position: relative; width: min(440px, 100%); padding: 28px 24px 24px; border-radius: 20px; background: var(--surface); text-align: center; }
.lk-success-close { position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; border: 0; background: none; font-size: 22px; }
.lk-success-icon { display: flex; justify-content: center; margin-bottom: 12px; color: var(--brand); }
.lk-success-icon svg { width: 40px; height: 40px; }
.lk-success-card h2 { font-size: 20px; }
.lk-success-card p { margin-top: 8px; color: var(--ink-3); font-size: 15px; line-height: 1.7; }
.lk-success-notes { margin-top: 12px; padding: 12px 16px; border-radius: 12px; background: var(--card); text-align: left; }
.lk-success-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 16px; }
.lk-success-actions a { display: flex; align-items: center; justify-content: center; gap: 6px; height: 48px; border-radius: 12px; font-size: 15px; font-weight: 700; text-decoration: none; }
.lk-success-actions svg { width: 16px; height: 16px; }
.lk-success-call { border: 1px solid #d1d6db; color: var(--navy); }
.lk-success-kakao { background: var(--kakao); color: #191919; }
.lk-success-confirm { width: 100%; height: 48px; margin-top: 12px; border: 0; border-radius: 12px; background: var(--navy); color: #fff; font-size: 16px; font-weight: 700; }
.lk-phone-error { display: block; margin: 4px 0 0; color: #c0392b; font-size: 13px; }
.lk-phone-invalid { border-color: #c0392b; }

/* ---------- 23-2. 첫 화면 넘치는 쪽만 히어로 요약 목록 접기(C885, UD-1049 ②) ----------
   생성기가 넘치는 쪽 히어로에 data-lk-compact 를 붙이고 요약 목록을 <details class="lk-hero-fold"> 로 감쌈. 스크립트 없이 눌러서 펼침.
   휴대폰(820 이하) = 접힌 채 「핵심 요약 보기」 한 줄, PC(821~) = 줄 숨기고 목록 그대로. 이 속성이 없는 쪽(이혼 확정 기준 포함)은 영향 0. */
[data-lk-compact] .lk-hero-fold { margin: 0 0 12px; }
[data-lk-compact] .lk-hero-fold > summary { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 44px; padding: 10px 16px; border-radius: 14px; background: rgba(255, 255, 255, 0.88); color: var(--ink-2); font-size: 14px; line-height: 20px; font-weight: 600; cursor: pointer; list-style: none; }
[data-lk-compact] .lk-hero-fold > summary::-webkit-details-marker { display: none; }
[data-lk-compact] .lk-hero-fold > summary::after { content: ""; flex: none; width: 8px; height: 8px; margin-top: -4px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); }
[data-lk-compact] .lk-hero-fold[open] > summary { margin-bottom: 8px; }
[data-lk-compact] .lk-hero-fold[open] > summary::after { margin-top: 4px; transform: rotate(-135deg); }
[data-lk-compact] .lk-hero-fold > .c768-hero-list { margin-bottom: 0; }
@media (min-width: 821px) {
  [data-lk-compact] .lk-hero-fold > summary { display: none; }
  [data-lk-compact] .lk-hero-fold::details-content { display: block; content-visibility: visible; }
  [data-lk-compact] .lk-hero-fold > .c768-hero-list { margin-bottom: 22px; }
}

/* ---------- 24. 스크립트가 넣는 아이콘(c854 SVG)·숨김 ---------- */
svg.c854-icon { display: inline-block; flex: none; width: 1em; height: 1em; vertical-align: -0.125em; }
/* hidden 속성은 언제나 숨김(파일 끝) */
[hidden] { display: none; }
@media(max-width:767px){p.c698-justify{word-break:break-all;}}
/* 1. 소제목 줄바꿈: 어절 단위로만, 괄호·조문 묶음(.lk-nobr)은 한 줄 */
.lk-content h2, .lk-content h3, .c786-content h2, .c786-content h3 { word-break: keep-all; overflow-wrap: anywhere; }
.lk-nobr { white-space: nowrap; }

/* 2. 본문 표 = 토스 카드 표(테두리선 0, 행 카드) */
.lk-content table, .c786-content table { width: 100%; border-collapse: separate; border-spacing: 0; border: 0; font-size: 15px; line-height: 1.6; color: #333d4b; }
.lk-content table thead th, .c786-content table thead th { padding: 10px 12px; font-size: 13px; font-weight: 700; color: #6b7684; background: transparent; border: 0; border-bottom: 1px solid #eef0f3; text-align: left; }
.lk-content table tbody td, .c786-content table tbody td { padding: 14px 12px; border: 0; border-bottom: 1px solid #f2f4f6; vertical-align: top; }
.lk-content table tbody tr:last-child td, .c786-content table tbody tr:last-child td { border-bottom: 0; }
@media (max-width: 480px) {
  .lk-content table, .c786-content table { display: block; }
  .lk-content table thead, .c786-content table thead { display: none; }
  .lk-content table tbody, .lk-content table tbody tr, .c786-content table tbody, .c786-content table tbody tr { display: block; }
  .lk-content table tbody tr, .c786-content table tbody tr { margin: 0 0 12px; padding: 14px 16px; border-radius: 16px; background: #f7f8fa; }
  .lk-content table tbody td, .c786-content table tbody td { display: block; padding: 4px 0; border: 0; }
  .lk-content table tbody td[data-th]::before, .c786-content table tbody td[data-th]::before { content: attr(data-th); display: block; margin: 0 0 2px; font-size: 12px; font-weight: 700; color: #8b95a1; }
  .lk-content table tbody td:first-child, .c786-content table tbody td:first-child { font-weight: 700; color: #191f28; }
}

/* 3. 장점 카드 안 간격 — 번호(장점 01) → 제목 → 첫 문단 → 다음 문단 (휴대폰 8/10/12 · PC 10/12/16) · v1.1(11-08 대표님 「제목과 하의 문장 붙어 있음」) */
.c698-why-card .widx, .c698-why-card .c720-number { margin: 0 0 8px; }
.c698-why-card h3 { margin: 0 0 10px; line-height: 1.35; }
.c698-why-card p { margin: 0; }
.c698-why-card p + p { margin-top: 12px; }
@media (min-width: 821px) {
  .c698-why-card .widx, .c698-why-card .c720-number { margin-bottom: 10px; }
  .c698-why-card h3 { margin-bottom: 12px; }
  .c698-why-card p + p { margin-top: 16px; }
}

/* 4. 사건 대화방(#case-room, C861 원문 조각) — 단지 정본 chat.css 를 범위만 바꿔 옮김 */
#case-room .lkx-room, .c794-case-room .lkx-room { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,380px); gap: 32px; align-items: center; background: color-mix(in srgb, var(--brand, #8b1a2e) 7%, #fff); border-radius: 28px; padding: 40px 44px; }
#case-room .lkx-room-eyebrow { margin: 0 0 8px; font-size: 14px; font-weight: 700; color: var(--brand, #8b1a2e); }
#case-room .lkx-room-title { margin: 0 0 12px; font-size: 27px; line-height: 1.35; font-weight: 800; letter-spacing: -.02em; color: #191f28; }
#case-room .lkx-room-lead { margin: 0 0 18px; font-size: 17px; line-height: 1.75; color: #333d4b; }
#case-room .lkx-room-points { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
#case-room .lkx-room-points li { position: relative; padding-left: 22px; font-size: 15px; font-weight: 700; color: #333d4b; }
#case-room .lkx-room-points li::before { content: ""; position: absolute; left: 3px; top: .28em; width: 6px; height: 11px; border: solid var(--brand, #8b1a2e); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
#case-room .lkx-chat { margin: 0; background: #fff; border-radius: 22px; box-shadow: 0 14px 36px rgba(25,31,40,.10); overflow: hidden; }
#case-room .lkx-chat-head { display: flex; align-items: center; gap: 8px; padding: 14px 18px; border-bottom: 1px solid #eef0f3; }
#case-room .lkx-chat-head b { font-size: 14px; font-weight: 700; color: #191f28; }
#case-room .lkx-chat-head em { margin-left: auto; font-style: normal; font-size: 12px; font-weight: 600; color: #8b95a1; }
#case-room .lkx-chat-body { display: grid; gap: 10px; padding: 14px 14px 16px; background: #f2f4f7; }
#case-room .lkx-day { justify-self: center; padding: 3px 12px; border-radius: 999px; background: #e5e8eb; font-size: 11.5px; color: #6b7684; }
#case-room .lkx-msg { display: flex; gap: 8px; align-items: flex-start; max-width: 92%; }
#case-room .lkx-msg b { display: block; margin: 0 0 3px; font-size: 11.5px; font-weight: 700; color: #4e5968; }
#case-room .lkx-msg p { margin: 0; padding: 9px 12px; border-radius: 4px 16px 16px 16px; background: #fff; font-size: 13.5px; line-height: 1.55; color: #191f28; box-shadow: 0 1px 2px rgba(0,0,0,.05); }
#case-room .lkx-msg-r { justify-self: end; max-width: 80%; }
#case-room .lkx-msg-r p { border-radius: 16px 4px 16px 16px; background: var(--brand, #8b1a2e); color: #fff; }
#case-room .lkx-av { flex: 0 0 30px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #d1d6db; color: #fff; font-size: 12px; font-weight: 700; }
#case-room .lkx-av-team { background: var(--brand, #8b1a2e); font-size: 10px; letter-spacing: .02em; }
#case-room .lkx-doc { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; width: 116px; margin: 6px 0 0 auto; padding: 6px; border-radius: 12px; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.05); }
#case-room .lkx-doc i { display: block; height: 44px; border-radius: 3px; background: repeating-linear-gradient(#f2f4f6 0 5px, #d9dde2 5px 6px); }
#case-room .lkx-file { display: inline-flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 12px; background: #fff; font-size: 13px; font-weight: 600; color: #333d4b; box-shadow: 0 1px 2px rgba(0,0,0,.05); }
#case-room .lkx-file::before { content: ""; width: 13px; height: 16px; border-radius: 2px; background: #e5e8eb; box-shadow: inset 0 -4px 0 color-mix(in srgb, var(--brand, #8b1a2e) 55%, #fff); }
#case-room .lkx-chat figcaption { padding: 10px 16px 14px; font-size: 11.5px; line-height: 1.5; color: #8b95a1; background: #f2f4f7; }
@media (max-width: 820px) {
  #case-room .lkx-room, .c794-case-room .lkx-room { grid-template-columns: 1fr; gap: 22px; padding: 28px 20px; border-radius: 24px; }
  #case-room .lkx-room-title { font-size: 21px; }
  #case-room .lkx-room-lead { font-size: 15.5px; }
}
/* ===== /lk2-sub v1 ===== */
/* ===== r7d <style id="lk2-live-patch"> 그대로 ===== */

/* 1. 업무사례 썸네일(UD-1206) */
.c984-live-root.c984-live-root.c984-live-root .lk-casefeed-card img.c767-case-thumb { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px; }
.c984-live-root.c984-live-root.c984-live-root .lk-casefeed-card article { display: flex; flex-direction: column; gap: 12px; }
/* 2. 라이브 섹션 = 하위 쪽과 같은 카드(좌우 16 · 안 23+테두리 1 → 글 시작선 40) · 카드 사이 24px(UD-1211·1213) */
html body .c984-live-root.c984-live-root.c984-live-root.c984-live-root.c984-live-root > section, html body .c984-live-root.c984-live-root.c984-live-root > section.sec.lk-section { margin: 0 !important; padding: 0 !important; background: transparent !important; } /* v4: 라이브 CSS 「.lk-medical .sec.lk-section{padding:10px!important}」(0,3,0)보다 높게 */
.c984-live-root.c984-live-root.c984-live-root > section > .wrap, .c984-live-root.c984-live-root.c984-live-root > section > .in, .c984-live-root.c984-live-root.c984-live-root section.lk-casefeed-static, .c984-live-root.c984-live-root.c984-live-root .lkx-press-in, .c984-live-root.c984-live-root.c984-live-root > nav.lk-related-260916 { box-sizing: border-box; width: auto !important; max-width: none !important; margin: 0 16px 24px !important; padding: 42px 23px !important; border-radius: 26px !important; }
.c984-live-root.c984-live-root.c984-live-root section.lk-casefeed-static, .c984-live-root.c984-live-root.c984-live-root .lkx-press-in, .c984-live-root.c984-live-root.c984-live-root > nav.lk-related-260916 { background: #fff; border: 1px solid var(--line, #e5e8eb); }
.c984-live-root.c984-live-root.c984-live-root > section > .in { padding: 24px !important; } /* v8: .in 은 테두리 0 → 24 */
@media (min-width: 821px) {
  .c984-live-root.c984-live-root.c984-live-root > section > .wrap, .c984-live-root.c984-live-root.c984-live-root > section > .in, .c984-live-root.c984-live-root.c984-live-root section.lk-casefeed-static, .c984-live-root.c984-live-root.c984-live-root .lkx-press-in, .c984-live-root.c984-live-root.c984-live-root > nav.lk-related-260916 { max-width: var(--inner, 1040px) !important; margin: 0 auto 24px !important; padding: 48px 39px !important; }
}
/* v5: 2차 섹션 ↔ 라이브 카드 경계도 24px(측정: 폼→trust 0 · system→about-lk 36 · why→process 0) */
.c984-live-root.c984-live-root.c984-live-root > section:first-child > .wrap, .c984-live-root.c984-live-root.c984-live-root > section:first-child > .in { margin-top: 24px !important; }
.c984-live-root + section, .c984-live-root + article, .c984-live-root + article > section:first-child { margin-top: 0 !important; padding-top: 0 !important; } /* v6: about-lk 는 article.c784-stack 첫 자식(측정 36→24) */
/* 3. 전문가 사진 틀 = 배준익 사진 비율(600:647) 고정, 나머지는 위쪽 기준 같은 틀(UD-1212) */
.c984-live-root.c984-live-root.c984-live-root .mem .ph { aspect-ratio: 600 / 647; height: auto !important; }
.c984-live-root.c984-live-root.c984-live-root .mem .ph img { display: block; width: 100%; height: 100% !important; object-fit: cover; object-position: center top; }
/* 3-2. 다른 23 허브 전문가 카드(.lk-person — 2차 article 안, 라이브 범위 밖) 사진도 같은 틀(600:647 cover·위쪽 기준) — v9 11-08. 라이브 규칙 .lk-person-photo img{width:100%;height:auto} 는 사진 비율대로 높이가 달라져 「사진 크기가 다름」의 원인 */
html body .lk-person-photo { aspect-ratio: 600 / 647; overflow: hidden; border-radius: 8px; }
html body .lk-person-photo img { display: block; width: 100%; height: 100% !important; object-fit: cover; object-position: center top; border-radius: 0; }



/* 6. 선택 상자 묶음(전 폭 공통): 히어로·아래 상담 폼·팝업 모두 같은 내리는 상자. 휴대폰 1열, PC 2열 */
.lk2-selects { display: grid; grid-template-columns: minmax(0, 1fr); gap: 13px; }
.lk2-select { position: relative; display: block; min-width: 0; }
.lk2-select > select.ff { margin: 0; min-height: 50px; cursor: pointer; appearance: none; -webkit-appearance: none; padding-right: 56px; }
/* 화살표(11-10 대표님 「화살표 눈에 안띄어」): 기본 화살표 대신 흰 동그라미 + 센터 색 굵은 꺾쇠 */
.lk2-select::before { content: ""; position: absolute; top: 50%; right: 12px; width: 30px; height: 30px; margin-top: -15px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px #e1e5ea; pointer-events: none; }
.lk2-select::after { content: ""; position: absolute; top: 50%; right: 22px; width: 9px; height: 9px; margin-top: -8px; border-right: 2.5px solid var(--brand, #176b52); border-bottom: 2.5px solid var(--brand, #176b52); transform: rotate(45deg); pointer-events: none; }
.lk2-select > select.ff { padding-left: 12px; } /* 글 시작선을 성함·연락처 칸과 같게(select 는 안쪽 여백이 3px 더 있음) */
.lk2-select > select.ff:has(option[value=""]:checked) { color: var(--ink-4, #6b7684); } /* 고르기 전 = 성함 칸 안내 글과 같은 회색 */
.lk2-patient-guide { margin: 0; }
.lk2-patient-guide[hidden] { display: none !important; }
/* 9. 초기 점검 번호 글자(U15 대비): 분홍 #f58ba0(흰 바탕 대비 2.3) → 센터 색(대비 4.5 넘음) — 11-10 대표님 「응 고쳐서」 */
html body .c984-live-root.c984-live-root.c984-live-root #check .it > .no, html body .c984-live-root.c984-live-root.c984-live-root #fields .no { color: var(--lk-accent, var(--brand, #176b52)); } /* 업무 분야 01~10 번호도 같은 분홍이었음(판정표가 잡은 것은 이쪽) */
/* 10. 수행 사례 카드 높이 같게(U11): 제목은 늘 2줄, 요약은 늘 3줄 자리(라이브가 이미 2줄·3줄로 자르고 있어 글이 짧은 카드만 낮았음) */
html body .c984-live-root.c984-live-root.c984-live-root #cases .ccard > .ti { min-height: 48px; min-height: 2lh; }
html body .c984-live-root.c984-live-root.c984-live-root #cases .ccard > .sm { min-height: 65.625px; min-height: 3lh; }
/* 11. 푸터 전화번호 = 누르면 전화(밑줄, 줄바꿈으로 번호가 갈라지지 않게) */
.lk2-footer-tel { text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
/* 8. 환자·보호자 안내(UD-1249·1251) = 다른 구역과 같은 흰 카드 한 장. 상담 폼 바로 아래 한 곳만: 휴대폰은 폼 구역 뒤(form), PC 는 히어로+폼 뒤(hero) */
[data-c1020-medical-notice] { box-sizing: border-box; margin: 24px 0; padding: 24px; border-radius: 20px; background: var(--surface, #fff); }
[data-c1020-medical-notice] > p { margin: 0; color: var(--ink-2, #333d4b); font-size: 15px; line-height: 1.7; }
[data-c1020-medical-notice] > p:first-child { margin-bottom: 6px; color: var(--ink, #191f28); font-size: 17px; font-weight: 750; }
[data-c1020-medical-notice] a { color: var(--brand, #176b52); font-weight: 700; text-decoration: underline; }
@media (max-width: 820px) { [data-c1020-medical-notice="hero"] { display: none; } }
@media (min-width: 821px) {
  [data-c1020-medical-notice="form"] { display: none; }
  [data-c1020-medical-notice="hero"] { padding: 28px max(40px, calc((100% - var(--inner, 1080px)) / 2)); }
  /* 4. PC 히어로 1면에 버튼까지(UD-1365) — 지역 쪽 통과 값(UD-1298)과 같은 제목 46·설명 19, 글 시작선은 구역 글 칸(--inner)과 같게 */
  html body #c768-hero .lk-hero-copy { padding: 20px max(40px, calc((100% - var(--inner, 1080px)) / 2)) 28px; }
  html body #c768-hero .c685-label { margin-bottom: 8px; }
  html body #c768-hero .c685-title { font-size: 46px; line-height: 1.2; margin-bottom: 10px; }
  html body #c768-hero .c685-description { font-size: 19px; line-height: 1.55; font-weight: 600; }
  html body #c768-hero .c768-hero-body { flex-direction: row; flex-wrap: wrap; column-gap: 6px; }
  /* 5. 구역 너비 한 값(UD-1367): 모든 구역 카드 = 2차 구역 카드 폭(min(100% - 46px, 1320px)), 글 칸 = --inner(1080) 가운데 */
  html body .c984-live-root.c984-live-root.c984-live-root > section > .wrap,
  html body .c984-live-root.c984-live-root.c984-live-root > section > .in,
  html body .c984-live-root.c984-live-root.c984-live-root section.lk-casefeed-static,
  html body .c984-live-root.c984-live-root.c984-live-root .lkx-press-in,
  html body .c984-live-root.c984-live-root.c984-live-root > nav.lk-related-260916 {
    width: min(100% - 46px, 1320px) !important; max-width: none !important; margin: 0 auto 24px !important;
    padding: 48px max(40px, calc((min(100% - 46px, 1320px) - var(--inner, 1080px)) / 2)) !important;
  }
  html body #c768-hero .hero-g > .lk-hero-form { padding-left: max(40px, calc((100% - var(--inner, 1080px)) / 2)) !important; padding-right: max(40px, calc((100% - var(--inner, 1080px)) / 2)) !important; }
  html body #why > .lk-content { max-width: var(--inner, 1080px); margin-left: auto; margin-right: auto; }
  /* 6-2. PC 선택 상자 2열 */
  .lk-hero-form .lk2-selects, .ctform .lk2-selects { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px 20px; }
}
/* v10 허브 공통 보충(의료 외 23 허브) — 구역 글 칸을 한 값으로: 「왜 엘케이」·「진행 절차」처럼 글 칸 폭이 정해지지 않은 구역도 --inner(1080) 가운데(UD-1367) */
@media (min-width: 821px) {
  html body article.c784-stack > section:not(.hero) > :is(.lk-content, .c786-content, .c768-content) { max-width: var(--inner, 1080px); margin-left: auto; margin-right: auto; }
}
/* 전문가 소개 머리글 아래 짧은 줄(UD-1391) — 알약 모양 3개, 좁으면 줄바꿈 */
.lk2-team-points { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 24px; padding: 0; list-style: none; }
.lk2-team-points > li { padding: 8px 14px; border-radius: 999px; background: var(--page, #f2f4f6); color: var(--ink-2, #333d4b); font-size: 14px; line-height: 1.5; font-weight: 650; }


/* A. 아이콘 표식: 44px 둥근 네모 + 24px 그림(규칙이 없어 SVG 가 카드 폭만큼 커지던 것) */
html body .c768-symbol { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 44px; height: 44px; border-radius: 14px; background: color-mix(in srgb, var(--brand, #263d63) 9%, #fff); color: var(--brand, #263d63); }
html body .c768-symbol > svg { display: block; width: 24px; height: 24px; }
html body .c768-card > .c768-symbol { margin-bottom: 14px; }
/* B. 숫자 카드: 흰 카드 2열, 작은 회색 이름 + 큰 센터 색 숫자(화살표 그림은 뺌) */
html body .c770-stats .stats-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
html body .c770-stats .stat-card { padding: 20px; border-radius: 20px; background: var(--surface, #fff); }
html body .c770-stats .stat-label { margin: 0 0 6px; color: var(--ink-4, #6b7684); font-size: 13px; line-height: 1.5; font-weight: 600; }
html body .c770-stats .stat-num-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 6px; }
html body .c770-stats .stat-number { color: var(--brand, #263d63); font-size: 28px; line-height: 1.25; font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
html body .c770-stats .stat-unit { margin-left: 1px; color: var(--ink, #191f28); font-size: 16px; font-weight: 700; }
html body .c770-stats .stat-num-row > svg { display: none; }
/* C. 「더 보기」 링크 카드: 아이콘 · 글(남은 폭) · 화살표 한 줄 — 글 칸이 좁아져 한 글자씩 세로로 서던 것 */
html body a.c768-link-card { display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 12px 16px; border-radius: 16px; background: var(--page, #f2f4f6); color: var(--ink, #191f28); text-decoration: none; }
html body a.c768-link-card > .c768-symbol { width: 36px; height: 36px; border-radius: 12px; background: #fff; }
html body a.c768-link-card > .c768-symbol > svg { width: 20px; height: 20px; }
html body a.c768-link-card > .c796-link-text { flex: 1 1 auto; min-width: 0; font-size: 15px; line-height: 1.5; font-weight: 650; word-break: keep-all; overflow-wrap: anywhere; writing-mode: horizontal-tb; }
/* D. 구역 머리글과 첫 카드 사이 간격(전문가 소개·대응 절차에서 0 이던 것) */
html body .c768-section .sh, html body section.team .sh, html body section.proc .sh { margin-bottom: 20px; }
html body section.team .sh > p:last-child, html body section.proc .sh > p:last-child { margin-bottom: 0; }
/* E. PC: Since 칸·숫자 카드도 다른 구역과 같은 글 칸(--inner 1080, 글 시작선 한 값 — UD-1367) */
@media (min-width: 821px) {
  html body .lk-strengths > .lk-strengths-inner { max-width: var(--inner, 1080px); margin-left: auto; margin-right: auto; }
  html body .c770-stats .stats-grid { max-width: var(--inner, 1080px); margin-left: auto; margin-right: auto; }
}
/* F. 「상황별·주제별로 더 보기」 제목은 위 카드와 떨어뜨린다 */
html body .c787-align-group > h3 { margin-top: 28px; }
/* G. 공식 홈페이지 안내(lk-notice): 낱말 중간에서 끊기지 않게(판정표 U15 break-all 3곳) */
html body .lk-notice :is(.lk-notice-site-k, .lk-notice-url, .lk-notice-p) { word-break: keep-all; overflow-wrap: anywhere; }

/* H. 선택 상자 양식(11-11): 일부 허브(이혼)는 .ff 양식이 select 에 안 걸려 네모 기본 상자·제각각 폭으로 나왔다 — 성함·연락처 칸과 같은 값으로 직접 정한다 */
html body .lk2-select > select.ff { display: block; width: 100%; box-sizing: border-box; min-height: 54px; margin: 0; padding: 13px 56px 13px 12px; border: 1px solid transparent; border-radius: 12px; background-color: #f2f4f6; color: #333d4b; font: inherit; font-size: 16px; line-height: 1.5; appearance: none; -webkit-appearance: none; }
html body .lk2-select > select.ff:has(option[value=""]:checked) { color: var(--ink-4, #6b7684); }
html body .lk2-select > select.ff:focus-visible { outline: 2px solid var(--brand, #263d63); outline-offset: 1px; }
/* I. 수행 사례 카드의 「사안·대응·결과」 머리 낱말과 본문 사이 띄움(붙어서 「사안별거 중…」으로 읽히던 것) */
html body #cases .c768-card div > b:first-child { margin-right: 6px; }

/* J. 준비 자료 점검 목록(c788-checklist, 11-11): 규칙이 0 이라 체크 그림이 칸 폭만큼 커지던 것(C1056: 13 허브) — 같은 틀의 c778 점검 표식(20px 동그라미·16px 그림)과 같은 값 */
html body .c788-checklist { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin: 0; padding: 0; list-style: none; }
html body .c788-check-row { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 12px; align-items: start; padding: 18px 20px; border-radius: 16px; background: var(--page, #f2f4f6); }
html body .c788-check-icon { display: flex; align-items: center; justify-content: center; width: 20px; height: 20px; margin-top: 3px; border-radius: 50%; background: var(--brand, #263d63); color: #fff; }
html body .c788-check-icon > svg { display: block; width: 14px; height: 14px; }
html body .c788-check-content > strong { display: block; font-weight: inherit; }
html body .c788-check-content h3 { margin: 0 0 6px; font-size: 17px; line-height: 1.45; font-weight: 700; }
html body .c788-check-content p { margin: 0; color: var(--ink-2, #333d4b); font-size: 15px; line-height: 1.65; font-weight: 400; }
html body svg.c786-check-icon { width: 18px; height: 18px; flex: none; vertical-align: -3px; }   /* display 는 정하지 않는다 — 링크 목록에서 숨겨 둔 체크 그림(.c768-link-list .c786-check-icon { display:none })이 다시 보이면 안 된다(11-11 이혼 허브에서 쪽 높이 +510px) */

/* K. 괄호 묶음(.lk-nobr, UD-1183 괄호 줄바꿈): 묶음이 칸보다 길면 화면 밖으로 넘쳤다(군 허브 26px·성범죄 피해 허브 4px) — 한 덩어리로 다음 줄에 내리되, 칸보다 길면 그 안에서 줄을 바꾼다 */
html body .lk-nobr { display: inline-block; max-width: 100%; white-space: normal; word-break: keep-all; overflow-wrap: anywhere; vertical-align: top; }

/* L. 개인정보 동의 체크(11-11 대표님 「체크박스 디자인이 안예뼈」「균형도 안맞고」, UD-1424): 기기 기본 네모 체크(17px, 휴대폰에서 크고 무겁게 보임) + 11px 글
      → 직접 그린 둥근 체크 20px + 글 12.5px(첫 줄 높이 20px = 체크 높이라 첫 줄과 나란히). 선택 상자의 둥근 화살표 단추와 같은 결. 색은 센터 색(--brand) */
html body :is(.privacy-check, .lk-cta-layout > .lk-card > label) { align-items: flex-start; gap: 10px; }
html body :is(.privacy-check, .lk-cta-layout > .lk-card > label), html body :is(.privacy-check, .lk-cta-layout > .lk-card > label) :is(label, span) { font-size: 12.5px; line-height: 1.6; color: var(--ink-3, #5b6472); }
html body :is(.privacy-check, .lk-cta-layout > .lk-card > label) input[type="checkbox"] { -webkit-appearance: none; appearance: none; flex: none; width: 20px; height: 20px; margin: 0; border: 1.5px solid #c5cad3; border-radius: 50%; background: #fff center / 12px 12px no-repeat; cursor: pointer; transition: background-color .15s ease, border-color .15s ease; }
html body :is(.privacy-check, .lk-cta-layout > .lk-card > label) input[type="checkbox"]:checked { border-color: var(--brand, #263c62); background-color: var(--brand, #263c62); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.6 6.3l2.3 2.3 4.5-4.9' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
html body :is(.privacy-check, .lk-cta-layout > .lk-card > label) input[type="checkbox"]:focus-visible { outline: 2px solid var(--brand, #263c62); outline-offset: 2px; }

/* M. 선택 상자 화살표(11-11 대표님 「CTA 상황선택 체크 표시도 디자인 다시해줘. 너무 구려」, UD-1425): 흰 원(30) + 굵은 센터 색 꺾쇠 → 원 없이 가는 회색 꺾쇠 하나(16).
      입력 칸과 같은 조용한 상자로 보이게 하고, 고른 뒤 글이 화살표와 겹치지 않게 오른쪽 여백 44 */
html body .lk2-select::before { content: none; }
html body .lk2-select::after { content: ""; position: absolute; top: 50%; right: 18px; width: 16px; height: 16px; margin-top: -8px; border: 0; transform: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 6l4.5 4.5L12.5 6' fill='none' stroke='%238b95a1' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px 16px no-repeat; pointer-events: none; }
html body .lk2-select > select.ff { padding-right: 44px; }

/* N. 전문가 카드 사진 = 긴 사진(11-11 대표님 「서울강북 형사 것처럼 긴 사진으로 바꿔야함」, UD-1427): 허브에만 걸려 있던 600:647 고정(UD-1212, 189x204)을 풀고
      사진 원본 비율 2:3(189x283)으로 — 주제·지역 쪽과 같은 크기. 위쪽 기준으로 채운다 */
html body .lk-person-photo { aspect-ratio: 2 / 3; }
html body .lk-person-photo > img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }

/* O. 숫자 카드 구역(11-11 대표님 「카운트업 효과 섹션 다른섹션하고너비가 달라. 그리고 좀더 배경색을 달리해야해」, UD-1428): 회색 바탕 위에 흰 카드 2개만 떠 있어
      PC 에서 다른 구역(1320)보다 좁게(1080) 보였고, 흰 구역과 구분도 약했다 → 구역 자체를 다른 구역과 같은 폭·같은 모서리의 판으로 만들고 센터 색 옅은 바탕을 깐다.
      안쪽은 카드 대신 가는 선으로 나눈 두 칸(글 시작선은 다른 구역과 같은 값). 의료 허브(통과본, UD-1362)는 건드리지 않는다 */
html body:not(:has([data-c685-center="medical"])) .c770-stats { padding: 28px 24px; border-radius: var(--lk2-section-radius, 28px); background: color-mix(in srgb, var(--brand, #263d63) 11%, #fff); }
html body:not(:has([data-c685-center="medical"])) .c770-stats > * { padding: 0; margin-top: 0; margin-bottom: 0; }
html body:not(:has([data-c685-center="medical"])) .c770-stats .stats-grid { gap: 0; padding: 0; }
html body:not(:has([data-c685-center="medical"])) .c770-stats .stat-card { padding: 0; border-radius: 0; background: none; box-shadow: none; }
html body:not(:has([data-c685-center="medical"])) .c770-stats .stat-card + .stat-card { padding-left: 20px; border-left: 1px solid color-mix(in srgb, var(--brand, #263d63) 22%, #fff); }
html body:not(:has([data-c685-center="medical"])) .c770-stats .stat-label { margin: 0 0 4px; color: var(--ink-3, #4e5968); font-size: 13px; }
html body:not(:has([data-c685-center="medical"])) .c770-stats .stat-number { font-size: 26px; }
html body:not(:has([data-c685-center="medical"])) .c770-stats .stat-unit { font-size: 15px; }
@media (min-width: 821px) {
  html body:not(:has([data-c685-center="medical"])) .c770-stats { padding: 36px 40px; }
  html body:not(:has([data-c685-center="medical"])) .c770-stats .stat-card + .stat-card { padding-left: 40px; }
  html body:not(:has([data-c685-center="medical"])) .c770-stats .stat-label { font-size: 14px; }
  html body:not(:has([data-c685-center="medical"])) .c770-stats .stat-number { font-size: 36px; }
  html body:not(:has([data-c685-center="medical"])) .c770-stats .stat-unit { font-size: 18px; }
}

/* P. 목록 아래 「다른 센터 안내」 한 줄(c787-related-link, 11-11 대표님 「군 형사 전담센터 · … 통합 안내 여기 텍스트 틀어짐」, UD-1428): 규칙이 0 이라 밑줄 글 한 줄이
      목록에 붙어서, PC 에서는 글 시작선보다 80px 왼쪽에 나왔다 → 위 링크 줄과 같은 모양의 카드 한 장(같은 글 칸·같은 안 여백·화살표), 목록과 12 띄움.
      구역 바로 아래에 혼자 놓인 줄만(형사 1·행정 1·성범죄 피해 2 — 셋 다 글 칸 밖 63 에서 시작) — 묶음(c787-related-grid, 부정청약 허브 243줄 등) 안 링크는 건드리지 않는다 */
html body section.c768-section > a.c787-related-link { display: flex; align-items: center; justify-content: space-between; gap: 12px; box-sizing: border-box; min-height: 60px; max-width: var(--inner, 1080px); margin: 12px auto 0; padding: 14px 16px; border-radius: 16px; background: var(--card, #f2f4f6); color: var(--ink, #191f28); text-decoration: none; }
html body section.c768-section > a.c787-related-link > .c796-link-text { flex: 1 1 auto; min-width: 0; font-size: 15px; line-height: 1.5; font-weight: 650; word-break: keep-all; overflow-wrap: anywhere; }
html body section.c768-section > a.c787-related-link::after { content: ""; flex: none; width: 16px; height: 16px; background: currentColor; -webkit-mask: var(--icon-arrow) center / contain no-repeat; mask: var(--icon-arrow) center / contain no-repeat; }
/* ===== r7d <style id="lk2-headroom"> 그대로 ===== */
/* 전문가 사진 헤드룸 통일(UD-1214) — 기준 윤선우 머리 꼭대기 21.5px(375 틀 255×275). 자동 산출: tools/lk_photo_headroom.py */
html body .lk-person-photo img[alt^="안상일"] { object-position: center -6px !important; }
html body .lk-person-photo img[alt^="정종대"] { object-position: center -1px !important; }
html body .lk-person-photo img[alt^="박정원"] { object-position: center -4px !important; }
html body .lk-person-photo img[alt^="김민수"] { object-position: center -4px !important; }
/* ===== r7d <style id="c1094-stats-live"> 그대로 ===== */
/* C1094: 라이브 분양 쪽 숫자 칸(회색 카드·큰 숫자·위 화살표) — #c768-section-1 안에서만 */html body #c768-section-1{padding:0;border-radius:0;background:none}html body #c768-section-1>*{padding:0;margin:0}html body #c768-section-1 .stats-grid{display:block;max-width:none;margin:0;padding:0;gap:0}html body #c768-section-1 .stat-card{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:30px;padding:24px var(--pad);text-align:left;background:#eceef2;border:0;border-radius:28px;box-shadow:none}html body #c768-section-1 .stat-label{max-width:290px;margin:0;color:#4e5968;font-size:20px;line-height:1.7;font-weight:600}html body #c768-section-1 .stat-num-row{display:flex;align-items:baseline;justify-content:center;gap:7px;flex-shrink:0}html body #c768-section-1 .stat-number{color:#8b1a2e;font-size:76px;line-height:1.1;font-weight:800;letter-spacing:-.06em}html body #c768-section-1 .stat-unit{margin:0 10px 0 0;color:#8b1a2e;font-size:25px;line-height:1.7;font-weight:600}html body #c768-section-1 .stat-num-row>svg.stat-arrow{display:block;align-self:center;flex-shrink:0;width:26px;height:26px;color:#8b1a2e}@media (max-width:600px){html body #c768-section-1 .stat-card{flex-direction:column;align-items:flex-start;gap:12px;padding:24px var(--pad);border-radius:24px}html body #c768-section-1 .stat-label{max-width:none;font-size:17px}html body #c768-section-1 .stat-number{font-size:58px}html body #c768-section-1 .stat-unit{font-size:22px}}@media (min-width:821px){html body #c768-section-1 .stat-card{padding-left:max(var(--pad),calc((100% - var(--inner))/2));padding-right:max(var(--pad),calc((100% - var(--inner))/2))}}
/* ===== r7d <style id="c1094-hero"> 그대로 ===== */
/* C1094: 라이브 H1 그대로 — 타자 효과 줄바꿈은 보이고 커서 막대는 숨김(라이브와 같음) */html body #c768-hero h1>#typing-text br{display:inline}html body #c768-hero h1>.typing-cursor{display:none}/* r5(11-12 대표님 「모바일에서는 1면 히어로에 다 안나옴」): 휴대폰(600px 이하) 첫 화면에 꼬리표·H1·요약 한 줄·상담 버튼 3개.   H1 글자·버튼 순서(UD-1007)는 그대로, H1 크기·줄 간격만 줄이고 아이콘 3줄 설명은 버튼 아래로 */@media (max-width:600px){html body #c768-hero .hero-copy>h1{font-size:26px;line-height:1.28;margin-bottom:8px}html body #c768-hero .hero-copy>.lkx-summary{order:1;margin-top:16px}html body #c768-hero .hero-copy>.c787-hero-notice{order:2}}

/* 절 머리 설명 글(UD-1578): r7d 는 .sh > p(16px/1.7·#191f28)·#cta .ctcopy > p(16px/1.85) — 단지 쪽은 같은 글이 .c768-content > h2 + p·#cta 첫 칸 p 에 있어 15px 로 나오던 것을 같은 값으로 */
html body #team > .c768-content > h2 + p.c784-excluded { font-size: 16px; line-height: 1.7; color: #191f28; }
html body #cta .lk-cta-layout > div:first-child > p.c784-excluded { font-size: 16px; line-height: 1.85; color: #191f28; }
/* c773-hero 아래 여백 = r7d 히어로(#c768-hero) 값: 휴대폰 8 · PC 12 */
html body #c773-hero.hero { padding-bottom: 8px; }
@media (min-width: 821px) { html body #c773-hero.hero { padding-bottom: 12px; } }
/* 카드 그리드 마지막 줄 반 칸 0(UD-1584): hub_layout_fix.grids 가 붙인 lk2-span-full 칸은 전체 폭 */
html body :is(.c768-grid, .c698-why-grid, .stats-grid, .c768-link-list, .c793-agencies) > .lk2-span-full { grid-column: 1 / -1; }
/* 진행 방식 단계(UD-1605): 승인 허브 단계 카드(.ptrack·.pi·.pcirc) 그대로 — 카드 안 여백만 */
html body #process .lkx-proc > ol.ptrack, html body [data-c768-legacy-class="lkx-proc"] > ol.ptrack { margin: 0 0 16px; padding: 0; list-style: none; }
html body ol.lk2-proc-steps > .pi > div > h3:only-child { margin-bottom: 0; }
/* 숫자 칸 #c944-results(11-13 대표님 「여기도 너비가 다름 다른 섹션과」 UD-1577 — 11-12 의 「최대 720 가운데」는 메인 지시 철회): 회색 카드 한 장의 바깥 끝 = 위아래 절 카드 끝(같은 컨테이너·같은 좌우 여백), 안에서 같은 폭 2칸, PC 설명 한 줄. 값 = r7d c1094-stats-live(#eceef2·숫자 #8b1a2e·설명 #4e5968 600) */
html body #c944-results { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; justify-items: stretch; box-sizing: border-box; width: auto; max-width: none; margin: 24px 0; padding: 40px; background: #eceef2; border: 0; border-radius: 28px; box-shadow: none; }
html body #c944-results .c944-result { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-width: 0; margin: 0; padding: 0; background: none; border: 0; border-radius: 0; box-shadow: none; text-align: left; }
html body #c944-results strong { display: flex; align-items: baseline; gap: 4px; margin: 0; color: #8b1a2e; font-size: 56px; line-height: 1.1; font-weight: 800; letter-spacing: -.05em; }
html body #c944-results strong span { margin: 0; color: #8b1a2e; font-size: 22px; line-height: 1.5; font-weight: 600; letter-spacing: 0; }
html body #c944-results p { margin: 0; color: #4e5968; font-size: 17px; line-height: 1.7; font-weight: 600; text-align: left; word-break: keep-all; }
@media (min-width: 821px) { html body #c944-results p { white-space: nowrap; } html body #c944-results p br { display: none; } }
@media (max-width: 820px) { html body #c944-results { padding: 24px; } }
@media (max-width: 600px) { html body #c944-results { grid-template-columns: minmax(0, 1fr); gap: 16px; border-radius: 24px; } html body #c944-results strong { font-size: 52px; } }
/* 단지 히어로 휴대폰 첫 화면(11-12 메인 — 허브 UD-1567 A+B 와 같은 방식): ≤420 요약 줄 간격 6·버튼 간격 6, 전화·카카오 한 줄 2칸(왼쪽 = 카카오 글 폭, 오른쪽 = 남은 폭), 부정청약 단지 H1(인라인 44px) → 30px·아래 8. 글·순서 변경 0 */
@media (max-width: 420px) {
  html body #c773-hero .c768-hero-list { gap: 6px; margin-bottom: 8px; }
  html body #c773-hero .c685-actions { display: grid; gap: 6px; grid-template-columns: max-content minmax(0, 1fr); }
  html body #c773-hero .c685-actions > :first-child { grid-column: 1 / -1; }
  html body #c773-hero .c685-actions > :not(:first-child) { min-width: 0; padding-left: 10px; padding-right: 10px; font-size: 15px; letter-spacing: -.02em; }
  html body #c773-hero .hero-copy > h1[style] { font-size: 30px !important; line-height: 1.3 !important; margin-bottom: 8px !important; }
}
@media (max-width: 374px) { html body #c773-hero .c685-actions > :not(:first-child) { font-size: 14px; } }
/* 단지 히어로 PC 낮은 화면(UD-1573 대표님 「맞춰줘」, 11-13): 노트북 1366×657 에서 상담 버튼이 첫 화면보다 20px 아래(C1102). 화면 폭 1024 이상·높이 720 이하에서만 히어로 카드 위아래 간격과 H1 크기만 줄임(모양·글자·순서 변경 0) */
@media (min-width: 1024px) and (max-height: 720px) {
  html body #c773-hero .hero-copy { padding-top: 40px; padding-bottom: 36px; }
  html body #c773-hero .hero-copy > .c685-label { margin-bottom: 10px; }
  html body #c773-hero .hero-copy > h1 { font-size: 38px; margin-bottom: 8px; }
  html body #c773-hero .hero-copy > h1[style] { font-size: 38px !important; margin-bottom: 8px !important; }
  html body #c773-hero .hero-copy > .c685-description { margin-bottom: 14px; }
  html body #c773-hero .hero-copy > .c768-hero-list { margin-bottom: 14px; }
}
/* UD-1638(11-13 대표님 「휴대폰에서 티 나는 3대 버그」) — 아이폰은 글자 16px 미만인 칸을 누르면 화면이 확대된다.
   입력·선택·긴 글 칸을 16px 로. 11-14 메인이 단지 쪽에서 잰 값: 25칸 가운데 24칸이 16px 미만(대부분 14px)이었고,
   이 줄 하나로 보이는 칸이 모두 16px 이 된다. 남는 3칸은 숨어 있는 옛 팝업(#consult-modal, display:none)이라 화면에 안 나온다. */
html body input[type="text"], html body input[type="tel"], html body input[type="email"],
html body input:not([type]), html body textarea, html body select { font-size: 16px; }


/* (1) UD-1153 (4) 되살림 — 휴대폰 양끝 정렬 문단.
   word-break:break-all 만 들어가고 text-align:justify 가 빠져, 오른쪽이 가지런해지지도 않은 채
   낱말이 글자 단위로 쪼개지고 있었다(계산값 text-align:start 확인). */
@media (max-width: 767px) {
  html body p.c698-justify { text-align: justify; }
}

/* (9) PC 폭 고침(11-14 대표님 「pc 버전은?」 — 1366·1920 에서 재니 FAIL).
   UD-1007(첫 화면에 버튼까지)로 히어로 목록 여백을 0 으로 둔 것은 휴대폰 이야기인데 PC 에도 적용돼 있었다. */
@media (min-width: 821px) {
  html body #c773-hero .c768-hero-list { padding: 20px 24px; margin-top: 20px; margin-bottom: 20px; }
  /* 앞 문단 아래 여백 24 + 목록 위 20 = 44 라 기대값(20)을 넘었다 — 앞 문단 쪽을 0 으로 */
  html body #c773-hero .hero-copy > .c685-description,
  html body #c773-hero > div > div > div > p.c685-description { margin-bottom: 0; }
  html body #c773-hero .c768-hero-list > .c768-hero-row + .c768-hero-row { margin-top: 0; }
  html body #c944-results { margin-top: 0; margin-bottom: 0; }
}

/* (8) 섹션 사이 간격(규칙 1): 휴대폰 기준 24px 인데 두 곳만 48px 이었다
   (#c944-results 앞·#team 앞 — 위아래 바깥 여백이 한 겹 더 있었다). */
@media (max-width: 820px) {
  html body #c944-results { margin-top: 0; margin-bottom: 0; }
}

/* (7) 검토자 바이라인: class 만 허브와 같게 더한다(add_byline). 모양은 단지 틀 그대로 두므로 CSS 는 넣지 않는다. */

/* (2) 접힘 미리보기 글: 공백 없는 긴 묶음이 overflow-wrap:anywhere 때문에 글자 단위로 쪼개졌다 */
html body .c792-fold-preview { overflow-wrap: break-word; }

/* (3) 손으로 누르는 자리 44px(규칙 12) */
html body button.lk-diag-back { min-height: 44px; }
html body #consultModal button.modal-close { min-width: 44px; min-height: 44px; }

/* (4) 팝업 제목 상자가 닫기 버튼 자리를 비켜 가게(규칙 12) */
html body #consultModal .modal-card h3 { margin-right: 56px; }

/* (5) 사건 대화방 예시 화면 글자 대비 4.5 이상(규칙 9).
   버건디 바탕의 밝은 글자(.c863-ink-light)는 그대로 둔다 — 덮으면 대비가 더 나빠진다. */
html body figure.lkx-chat .lkx-chat-head em,
html body figure.lkx-chat .lkx-day,
html body figure.lkx-chat .lkx-av:not(.c863-ink-light) { color: #374151; }
html body #team figure.lkx-chat figcaption { color: #4b5563; }

/* (6) 진단 결과 버튼 높이 통일(규칙 4): 56px 과 60.9px 가 섞여 있었다 */
html body #c698-diagnosis .lk-diag-primary,
html body #c698-diagnosis .c718-kakao,
html body #c698-diagnosis .lk-diag-phone {
  min-height: 56px; padding-top: 0; padding-bottom: 0;
  display: flex; align-items: center; justify-content: center;
}
/* ===== UD-1699 (11-14 대표님 샘플 3안 「응 좋아」) — 관련 안내·지역 목록을 카드 꼴로 =====
   바탕·둥근 모서리·안쪽 여백·줄 간격 12px·오른쪽 화살표. 화살표는 글꼴 기호가 아니라
   CSS 마스크(--icon-arrow)로 그린다(기호 SVG화). 쪽 HTML 은 건드리지 않는다. */
html body ul.c794-region-list > li + li,
html body ul.c768-link-list > li + li,
html body ul.c832-open-links > li + li { margin-top: 12px; }
html body .c799-related-list > a + a,
html body .c802-link-grid > a + a { margin-top: 12px; }

html body a.c794-region-link,
html body a.c787-related-link {
  display: grid; grid-template-columns: minmax(0, 1fr) 18px; align-items: center; gap: 10px;
  padding: 13px 16px; border-radius: 16px; background: #f2f4f6; text-decoration: none;
}
html body a.c794-region-link > .c794-region-text { text-decoration: none; }
html body a.c794-region-link::after,
html body a.c787-related-link::after {
  content: ""; width: 16px; height: 16px; background: currentColor; opacity: .55;
  -webkit-mask: var(--icon-arrow) center / contain no-repeat;
  mask: var(--icon-arrow) center / contain no-repeat;
}

/* 11-14: 히어로에 설명 줄이 없을 때(제목 바로 뒤 요약 목록) 목록 윗간격 20px 로 */
html body #c773-hero .hero-copy > h1:has(+ ul.c768-hero-list) { margin-bottom: 0; }
html body #c773-hero .hero-copy > h1[style]:has(+ ul.c768-hero-list) { margin-bottom: 0 !important; }
/* ===== p2_select_unify v2 여백 (11-14) — 감싼 select 쪽: 오른쪽 여백 한 줄만(한 벌의 마지막 줄과 같은 글) ===== */
/* 오른쪽 여백 44 — M 절 원문 「고른 뒤 글이 화살표와 겹치지 않게 오른쪽 여백 44」(11-14 메인 결정: 375 폭 긴 선택지가 화살표 밑으로 = 결함). 칸 규칙(0,3,1)·lk2-hero-tight 의 #hero-status.ff(1,1,1)에 지던 것을 감싼·맨 select 모두에 세기 (1,3,2) 로 */
html body :is(.lk-hero-form, .ctform, .lk-cta-layout > .lk-card, .modal-card) :is(.lk2-select > select.ff, select:not(.lk2-select > select), #hero-status.ff) { padding-right: 44px; }
/* ===== p2_select_unify v2 여백 끝 ===== */
