/* 자체 개발 관리 시스템 칸 — 시안 A(세 가지 일 카드). 2026-11-21 이사 'A 세 줄 카드 (추천)' 선택 → 운영 /food(pages.json lxSys 가 있는 페이지만 읽음). 시안 B · C 는 git 기록(16f88e0)에.
   이사 "좋아. 이제 얼추 된것같은데 자체개발시스템 섹션 너무 대충 만든 느낌이야."(총괄 전달) — 총괄이 본 문제:
   빈 흰 막대(접힌 details) · 핵심(나눠 하는 일)이 접혀 있음 · 화면 전체를 작게 넣고 그래프를 겹쳐 읽히지 않음 · 둘째 화면 배치 · 앱 말투.
   → 세 안 모두 접는 칸 없음 · 화면은 의미 있는 부분만 크게 · 사장님 말로. 바탕은 남색 그대로(lx-ai-dark.css — 위 관리 칸 회백 · 아래 진행 · 보고 칸 흰색과 번갈아).
   새 색 없음: 남색 --ink-navy · 이름표 --on-dark-k · 강조 --up-on-dark · 흰 글 투명도 · 카드 안은 --ink · --text · --sub · --gold-t · --gold-line.
   범례 작은 색 견본만 앱 화면 색 그대로(빨강 · 초록 · 파랑 — 그림 속 색을 설명하는 것이라). */

/* ---------- 공통: 칸 머리(제목 왼쪽 · 'AI가 대신 …' 오른쪽 아래) ---------- */
.lx-sys .lx-sys-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 24px 64px; align-items: end; }
.lx-sys .lx-sys-head h2 { color: #fff; }
.lx-sys .lx-sys-head h2 em { font-style: normal; color: var(--up-on-dark); }   /* 둘째 줄 강조 — /food(lx-food-v2.css)와 같은 선홍을 칸 안에서 직접(플레이스 · 미용실 · 카페 페이지도 같은 모양, 2026-11-21 이사 "플레이스 전체 페이지로 적용시켜줘.") */
.lx-sys-note { font-size: 17px; line-height: 1.7; font-weight: 500; letter-spacing: -.02em; color: rgba(255, 255, 255, .8); padding-left: 18px; border-left: 2px solid var(--on-dark-k); word-break: keep-all; }
.lx-sys h3, .lx-sys dd, .lx-sys dt, .lx-sys figcaption, .lx-sys p { word-break: keep-all; overflow-wrap: break-word; }
:where(.lx-sys) :where(ol, ul) { list-style: none; margin: 0; padding: 0; }
:where(.lx-sys) :where(dl, dd) { margin: 0; }

/* 줄 이름표(후기 · 광고비 · 보고) */
.lx-sys-tag { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; letter-spacing: -.01em; color: var(--gold-t); }
.lx-sys-tag svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* 시스템 / 담당 마케터 두 줄 */
.lx-sys-dl { display: grid; gap: 18px; }
.lx-sys-dl > div { display: grid; gap: 6px; }
.lx-sys-dl dt { font-size: 14px; font-weight: 700; letter-spacing: -.01em; color: var(--sub); }
.lx-sys-dl dd { font-size: 17px; line-height: 1.65; letter-spacing: -.02em; color: var(--text); }
.lx-sys-dl .is-man { padding-left: 16px; border-left: 3px solid var(--gold-line); }
.lx-sys-dl .is-man dt { color: var(--gold-t); }
.lx-sys-dl .is-man dd { font-weight: 600; color: var(--ink); }

/* 범례 · 출처 */
.lx-sys figure { margin: 0; }
.lx-sys figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; margin-top: 12px; font-size: 14px; line-height: 1.5; color: var(--sub); }
.lx-sys-key { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--text); }
.lx-sys-key i { flex: none; display: inline-grid; place-items: center; width: 14px; height: 14px; border-radius: 4px; font-style: normal; }
.lx-sys-key .k-red { background: #fde2e2; box-shadow: inset 0 0 0 2px #e0303f; }
.lx-sys-key .k-green { background: #fff; box-shadow: inset 0 0 0 2px #0b9a5b; }
.lx-sys-key .k-blue { background: #e7f0fd; box-shadow: inset 0 0 0 2px #1f63d6; }
.lx-sys-key .k-chk { width: 16px; height: 16px; background: #2f80ed; color: #fff; font-size: 11px; font-weight: 800; }
.lx-sys-src { margin-left: auto; font-size: 13px; color: var(--sub); }

/* 보고: 화면 대신 순서(없는 화면은 그리지 않음) */
.lx-sys-flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; counter-reset: none; }
.lx-sys-flow li { position: relative; display: grid; align-content: start; gap: 10px; padding: 18px 16px 20px; border-radius: 14px; background: var(--paper); }
.lx-sys-flow li:not(:last-child)::after { content: ""; position: absolute; top: 50%; right: -9px; width: 8px; height: 8px; border-top: 2px solid #b9c0cc; border-right: 2px solid #b9c0cc; transform: translateY(-50%) rotate(45deg); z-index: 1; }
.lx-sys-flow b { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #fff; font-size: 13px; font-weight: 800; color: var(--sub); box-shadow: inset 0 0 0 1px var(--line); }
.lx-sys-flow span { font-size: 15px; line-height: 1.5; font-weight: 600; letter-spacing: -.02em; color: var(--text); }
.lx-sys-flow .is-man { background: rgba(29, 78, 216, .07); }
.lx-sys-flow .is-man b { background: var(--gold-t); color: #fff; box-shadow: none; }
.lx-sys-flow .is-man span { color: var(--ink); }

/* ================= 시안 A — 세 가지 일, 한 줄(카드)씩 ================= */
.lx-sys.is-a .lx-sys-list { display: grid; gap: 20px; margin-top: 56px; }
.lx-sys.is-a .lx-sys-card { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px; align-items: center; padding: 40px 40px 40px 48px; border-radius: 20px; background: #fff; }
.lx-sys.is-a .lx-sys-txt { display: grid; gap: 14px; align-content: start; }
.lx-sys.is-a .lx-sys-txt h3 { font-size: 28px; line-height: 1.4; font-weight: 700; letter-spacing: -.035em; color: var(--ink); }
.lx-sys.is-a .lx-sys-dl { margin-top: 14px; padding-top: 22px; border-top: 1px solid var(--line); }
.lx-sys.is-a .lx-sys-shot { padding: 20px; border-radius: 14px; background: var(--paper); }
.lx-sys-frame { overflow: hidden; border-radius: 10px; border: 1px solid #d9dde4; background: #fff; }
.lx-sys-frame img { display: block; width: 100%; height: auto; }
.lx-sys.is-a .lx-sys-card:nth-child(2) .lx-sys-frame { max-width: 430px; margin-inline: auto; }   /* 광고비 줄 조각은 세로가 길어 — 글자 크기를 후기 조각과 비슷하게 */
.lx-sys.is-a .lx-sys-card.is-text { align-items: center; }


/* ---------- 태블릿 (810 ~ 999) ---------- */
@media (max-width: 999px) {
  .lx-sys .lx-sys-head { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .lx-sys-note { max-width: 36em; }
  .lx-sys.is-a .lx-sys-card { grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 32px; }
}

/* ---------- 휴대폰 (809 이하) ---------- */
@media (max-width: 809px) {
  .lx-sys-note { font-size: 16px; padding-left: 14px; }
  .lx-sys-tag { font-size: 14px; }
  .lx-sys-dl { gap: 14px; }
  .lx-sys-dl dd { font-size: 16px; }
  .lx-sys figcaption { gap: 6px 12px; font-size: 13px; }
  .lx-sys-src { margin-left: 0; flex-basis: 100%; font-size: 12px; }
  .lx-sys-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .lx-sys-flow li { padding: 14px 12px 16px; gap: 8px; }
  .lx-sys-flow li::after { display: none; }
  .lx-sys-flow span { font-size: 14px; }

  .lx-sys.is-a .lx-sys-list { gap: 14px; margin-top: 36px; }
  .lx-sys.is-a .lx-sys-card { gap: 20px; padding: 24px 20px; border-radius: 16px; }
  .lx-sys.is-a .lx-sys-txt { display: contents; }   /* 휴대폰: 이름표 · 제목 → 화면 조각 → 두 줄 */
  .lx-sys.is-a .lx-sys-card { grid-template-columns: minmax(0, 1fr); }
  .lx-sys.is-a .lx-sys-tag { order: 1; }
  .lx-sys.is-a .lx-sys-txt h3 { order: 2; margin-top: -12px; font-size: 22px; }
  .lx-sys.is-a .lx-sys-shot, .lx-sys.is-a .lx-sys-flow { order: 3; }
  .lx-sys.is-a .lx-sys-dl { order: 4; margin-top: 0; padding-top: 18px; }
  .lx-sys.is-a .lx-sys-shot { margin-inline: -8px; padding: 12px; border-radius: 12px; }
}
