/* me-os 새 화면 — 디자인 v5.1(docs/DESIGN-v5.md §8): 회색 바탕 · 테두리 없는 흰 카드 · 강조색 하나 · Pretendard(내장, 외부 요청 0). */
@font-face { font-family: "Pretendard"; src: url("/v2/static/vendor/PretendardVariable.woff2") format("woff2"); font-weight: 45 920; font-display: swap; }
:root {
  /* v8 토대(docs/REPLAN-v1.md 14-10): 옅은 회색 바탕 · 흰 카드 + 1px 선 · 강조는 파랑(차트 지침 검증 색), 주 단추는 잉크색(--primary) */
  --bg: #F6F7F9; --surface: #FFFFFF; --surface-2: #F1F2F5; --line: #E7E8EC; --ink: #111216; --ink-2: #474B55; --muted: #5F6573; --faint: #B7BBC4;
  --accent: #2468C4; --accent-soft: #EAF2FC; --on-accent: #FFFFFF;   /* 흰 5.45 · bg 5.09 · accent-soft 4.83 (11-09 새 눈 검토) */
  --proof: #1F9D63; --proof-soft: #E3F5EC; --warn: #E8850C; --warn-soft: #FFF4E5; --danger: #E5484D;
  --warn-ink: #B93E0C; --proof-ink: #147A50; --accent-ink: #1F62B5; --danger-ink: #C4262E;   /* 상태 「글자」 색 — 바탕용 색을 글자에 쓰면 4.5:1 미달(2026-10-15 검토) */
  --primary: #111216; --on-primary: #FFFFFF;
  --shadow: 0 1px 2px rgba(16, 20, 32, .04), 0 2px 8px rgba(16, 20, 32, .03);
  --shadow-hover: 0 2px 4px rgba(16, 20, 32, .04), 0 14px 32px rgba(16, 20, 32, .08);
  --r-card: 20px; --r-ctl: 12px; --r-md: 8px; --r-sm: 4px;   /* 반경 4단계: 4 · 8 · 12 · 20 (ui-standard) */
  --font: "Pretendard", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Segoe UI", system-ui, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0A0D13; --surface: #10141C; --surface-2: #161C27; --line: #1E2531; --ink: #E9EDF5; --ink-2: #BAC2D0; --muted: #8790A3; --faint: #485166;
    --accent: #4A93EA; --accent-soft: #13233A; --on-accent: #0A0D13;
    --proof: #3DD68C; --proof-soft: #0F2A21; --warn: #F5A524; --warn-soft: #2E2312; --danger: #F2555A;
    --warn-ink: #FF8A4C; --proof-ink: #3DD68C; --accent-ink: #7DB2F5; --danger-ink: #FF7B80;
    --primary: #E9EDF5; --on-primary: #0A0D13;
    --shadow: inset 0 1px 0 rgba(255, 255, 255, .03); --shadow-hover: inset 0 1px 0 rgba(255, 255, 255, .05), 0 16px 40px rgba(0, 0, 0, .5); color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0A0D13; --surface: #10141C; --surface-2: #161C27; --line: #1E2531; --ink: #E9EDF5; --ink-2: #BAC2D0; --muted: #8790A3; --faint: #485166;
  --accent: #4A93EA; --accent-soft: #13233A; --on-accent: #0A0D13;
  --proof: #3DD68C; --proof-soft: #0F2A21; --warn: #F5A524; --warn-soft: #2E2312; --danger: #F2555A;
  --warn-ink: #FF8A4C; --proof-ink: #3DD68C; --accent-ink: #7DB2F5; --danger-ink: #FF7B80;
  --primary: #E9EDF5; --on-primary: #0A0D13;
  --shadow: inset 0 1px 0 rgba(255, 255, 255, .03); --shadow-hover: inset 0 1px 0 rgba(255, 255, 255, .05), 0 16px 40px rgba(0, 0, 0, .5); color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--ink); }
body { font: 15px/1.55 var(--font); letter-spacing: -0.01em; -webkit-font-smoothing: antialiased; word-break: keep-all; }
button, input, textarea, select { font: inherit; color: inherit; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.num { font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
small { font-size: 12px; }   /* 글자 6단계(docs/DESIGN-v6.md 1단계 · ME-UX-v4): 28 · 22 · 17 · 15 · 13 · 12 — small 의 상대 크기(10.83 · 13.33px)가 단계를 벗어나던 것 */

/* 셸 — 왼쪽 사이드바(좁으면 아이콘만), 휴대폰에선 아래 탭 */
body { display: grid; grid-template-columns: 220px minmax(0, 1fr); min-height: 100dvh; }   /* minmax(0,…) — 긴 글이 칸을 넓혀 화면이 옆으로 넘치지 않게 */
#app { display: contents; }
.side { position: sticky; top: 0; height: 100dvh; display: flex; flex-direction: column; gap: 4px; padding: 16px 12px; border-right: 1px solid var(--line); background: var(--bg); }
.brand { font-weight: 700; letter-spacing: -.01em; display: flex; align-items: center; gap: 12px; color: var(--ink); padding: 4px 12px 16px; }
.brand:hover { text-decoration: none; }
.brand .mark { width: 26px; height: 26px; border-radius: var(--r-md); background: var(--accent); color: var(--on-accent); display: grid; place-items: center; font-size: 13px; flex: none; }
.nav { display: flex; flex-direction: column; gap: 2px; }
.nav :is(a, .nav-btn) { display: flex; align-items: center; gap: 12px; height: 38px; padding: 0 12px; border-radius: var(--r-ctl); color: var(--muted); font-weight: 600; }
.nav :is(a, .nav-btn) svg { flex: none; }
.nav :is(a, .nav-btn):hover { text-decoration: none; color: var(--ink); background: var(--surface); }
.nav :is(a, .nav-btn)[aria-current="page"] { color: var(--ink); background: var(--surface); box-shadow: var(--shadow); }
.nav :is(a, .nav-btn)[aria-current="page"] svg { color: var(--accent); }
.nav .badge { margin-left: auto; min-width: 20px; height: 20px; padding: 0 8px; border-radius: var(--r-ctl); background: var(--accent); color: var(--on-accent); font-size: 11px; display: inline-grid; place-items: center; }
.tabs { display: none; }
.spacer { flex: 1; }
.side-fold { display: flex; align-items: center; gap: 12px; height: 34px; padding: 0 12px; border: 0; border-radius: var(--r-md); background: none; color: var(--muted); font: inherit; font-size: 13px; cursor: pointer; }
.side-fold:hover { background: var(--surface-2); color: var(--ink); }
body.side-mini { grid-template-columns: 64px minmax(0, 1fr); }      /* 메뉴 접기 — 넓은 화면에서도 아이콘만 */
body.side-mini .side { padding: 16px 8px; align-items: center; } body.side-mini .side .lbl { display: none; } body.side-mini .brand { padding: 4px 0 16px; }
body.side-mini .nav :is(a, .nav-btn), body.side-mini .side-fold { justify-content: center; padding: 0; width: 44px; position: relative; }
body.side-mini .nav .badge { position: absolute; top: 2px; right: 0; min-width: 16px; height: 16px; font-size: 10px; padding: 0 4px; }
@media (max-width: 1024px) {
  .side-fold { display: none; }                                    /* 좁은 화면은 늘 아이콘만 — 접기 버튼이 필요 없다 */
  body { grid-template-columns: 64px minmax(0, 1fr); }
  .side { padding: 16px 8px; align-items: center; }
  .side .lbl { display: none; }
  .brand { padding: 4px 0 16px; }
  .nav :is(a, .nav-btn) { justify-content: center; padding: 0; width: 44px; position: relative; }
  .nav .badge { position: absolute; top: 2px; right: 0; min-width: 16px; height: 16px; font-size: 10px; padding: 0 4px; }
}
@media (max-width: 640px) {
  body, body.side-mini { grid-template-columns: minmax(0, 1fr); }   /* 휴대폰 — 사이드바 대신 아래 탭(접기 값과 무관) */
  .side { display: none; }
  .tabs { display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 15; height: 62px; padding-bottom: env(safe-area-inset-bottom);
    background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(10px); border-top: 1px solid var(--line); }
  .tabs a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 12px; font-weight: 600; color: var(--muted); position: relative; }
  .tabs a:hover { text-decoration: none; }
  .tabs a[aria-current="page"] { color: var(--accent); }
  .tabs .badge { position: absolute; top: 6px; left: calc(50% + 6px); min-width: 16px; height: 16px; padding: 0 4px; border-radius: var(--r-md); background: var(--accent); color: var(--on-accent); font-size: 10px; display: inline-grid; place-items: center; }
}
.iconbtn { width: 34px; height: 34px; border-radius: var(--r-ctl); border: 0; background: transparent; color: var(--muted); cursor: pointer; display: grid; place-items: center; }

main { width: 100%; max-width: 920px; margin: 0 auto; padding: 28px 24px 80px; display: flex; flex-direction: column; gap: 16px; }
h1 { font-size: 28px; line-height: 1.3; margin: 4px 0 0; letter-spacing: -.02em; }
h2 { font-size: 17px; margin: 0; letter-spacing: -.01em; }
.lede { color: var(--muted); margin: 0; }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--shadow); padding: 20px 20px; display: flex; flex-direction: column; gap: 12px; }
.card-h { display: flex; align-items: baseline; gap: 4px 8px; flex-wrap: wrap; }
.card-h h2 { white-space: nowrap; }
.row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

.btn { height: 36px; padding: 0 16px; border-radius: var(--r-ctl); border: 1px solid var(--line); background: var(--surface); cursor: pointer; font-weight: 600;
  display: inline-flex; align-items: center; justify-content: center; color: var(--ink); }
a.btn:hover { text-decoration: none; }
.btn:hover { border-color: var(--muted); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.btn.ghost { border-color: transparent; background: transparent; color: var(--muted); }
.btn:disabled { opacity: .5; cursor: default; }

/* 쌓기 상태 한 줄 — 멈추면 이 줄만 호박색 */
.status { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); font-size: 15px; }
.status .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--proof); }
.status.stale { background: var(--warn-soft); border-color: color-mix(in srgb, var(--warn) 40%, transparent); }
.status.stale .pulse { background: var(--warn); }

/* 등급 — 모양으로: 근거 있음 = 실선 점, 내 말 = 빈 점, AI 추정 = 점선·흐림 */
.grade { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.grade i { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.grade.confirmed { color: var(--proof-ink); } .grade.confirmed i { background: var(--proof); }
.grade.stated i { border: 1.6px solid var(--ink); } .grade.stated { color: var(--ink); }
.grade.ai i { border: 1.6px dashed var(--muted); } .grade.ai { color: var(--muted); }   /* AI 추정은 점선 점 · 흐린 글자로(이탤릭 없음, DESIGN-v6) */

/* 사건 줄 */
.list { display: flex; flex-direction: column; }
.ev { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: center; padding: 12px 8px; border-top: 1px solid var(--line); cursor: pointer; border-radius: var(--r-md); }
.ev:first-child { border-top: 0; }
.ev:hover { background: var(--accent-soft); }
.ev.unconfirmed .t { color: var(--muted); }
.ev .t { font-weight: 600; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.date { color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* 오른쪽 패널 */
.scrim { position: fixed; inset: 0; background: rgba(15, 18, 28, .22); z-index: 20; }
:root[data-theme="dark"] .scrim { background: rgba(0, 0, 0, .5); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .scrim { background: rgba(0, 0, 0, .5); } }
.panel { position: fixed; top: 0; right: 0; bottom: 0; width: min(460px, 100vw); z-index: 21; background: var(--surface); border-left: 1px solid var(--line);
  box-shadow: -12px 0 40px rgba(15, 18, 28, .12); padding: 24px 24px; overflow: auto; display: flex; flex-direction: column; gap: 16px; }
.panel h3 { font-size: 22px; line-height: 1.35; margin: 0; letter-spacing: -.01em; }
.kv { display: grid; grid-template-columns: 96px 1fr; gap: 8px 12px; font-size: 15px; }
.kv dt { color: var(--muted); } .kv dd { margin: 0; }
.tag { display: inline-block; padding: 1px 8px; border-radius: 999px; background: var(--accent-soft); color: var(--ink); font-size: 12px; margin: 0 4px 4px 0; }
.hist { font-size: 13px; color: var(--muted); display: flex; flex-direction: column; gap: 2px; }

.empty { padding: 20px; text-align: center; color: var(--muted); display: flex; flex-direction: column; align-items: center; gap: 12px; }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 30; background: var(--ink); color: var(--bg); padding: 12px 16px; border-radius: var(--r-ctl); font-size: 15px;
  display: flex; gap: 16px; align-items: center; box-shadow: 0 8px 30px rgba(0, 0, 0, .2); }
.toast.err { background: var(--danger); color: #fff; }
.toast button { background: none; border: 0; color: inherit; font-weight: 700; text-decoration: underline; cursor: pointer; }

.skeleton { height: 14px; border-radius: var(--r-md); background: linear-gradient(90deg, var(--line), var(--bg), var(--line)); background-size: 200% 100%; animation: sk 1.2s infinite; }
@keyframes sk { to { background-position: -200% 0; } }
.skeleton { opacity: 0; animation: skin .01s .3s forwards, sk 1.2s .3s infinite; }   /* 시안 X1 — 300ms 넘을 때만 보인다 */
@keyframes skin { to { opacity: 1; } }
.errline { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 16px 16px; border-radius: var(--r-ctl); background: color-mix(in srgb, var(--danger) 10%, var(--surface)); color: color-mix(in srgb, var(--danger) 70%, var(--ink)); font-size: 15px; }
.errline > span { flex: 1; min-width: 12em; }
.errline .btn { background: var(--surface); }

@media (max-width: 640px) {
  main { padding: 20px 16px 96px; }
  .ev { grid-template-columns: 1fr auto; } .ev .date { display: none; }
}

/* 확인함 카드 */
.confirm .cc { display: flex; flex-direction: column; gap: 12px; padding: 16px 16px; border-radius: var(--r-ctl); background: var(--accent-soft); }
.confirm h3 { margin: 0; font-size: 17px; line-height: 1.4; letter-spacing: -.01em; }
.confirm .kind { font-weight: 700; color: var(--accent); }
.confirm .actions { margin-top: 4px; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: var(--r-ctl); overflow: hidden; background: var(--surface); }
.seg button { border: 0; background: transparent; padding: 4px 12px; cursor: pointer; font-weight: 600; color: var(--muted); }
.seg button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px rgba(0, 0, 0, .08); }   /* 고른 것 = 회색 바탕 위 흰 칩 하나(DESIGN-v6 1단계) — 강조색은 주 버튼에만
.ask { display: flex; flex-direction: column; gap: 8px; padding: 16px 16px; border-radius: var(--r-ctl); background: var(--accent-soft); }
.ask .in { flex: 1; min-width: 220px; }

/* 입력 */
.in { height: 36px; padding: 0 12px; border-radius: var(--r-ctl); border: 1px solid var(--line); background: var(--surface); width: 100%; }
textarea.in { height: auto; padding: 8px 12px; resize: vertical; }
.in:focus, .btn:focus-visible, .seg button:focus-visible, .nav :is(a, .nav-btn):focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: var(--r-md); }   /* 포커스 표시 하나 — 브라우저 기본 1px 와 섞이지 않게(페르소나 P4) */
.lrow:focus-visible, .pj-row:focus-visible, .rec-main:focus-visible, .pcard-btn:focus-visible { outline-offset: 0; border-radius: var(--r-ctl); }
.form { display: flex; flex-direction: column; gap: 12px; }
.form label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; font-weight: 600; }
.form label .muted { font-weight: 400; }
.form .check { flex-direction: row; align-items: center; gap: 8px; font-weight: 500; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.note { padding: 8px 12px; border-radius: var(--r-md); font-size: 13px; }
.note.warn { background: var(--warn-soft); color: var(--ink); border: 1px solid color-mix(in srgb, var(--warn) 35%, transparent); }

.status > span:nth-child(2) { white-space: nowrap; }

.linkbtn { background: none; border: 0; padding: 0; text-align: left; cursor: pointer; font-size: 15px; color: var(--ink); }
.linkbtn:hover .muted:last-child { text-decoration: underline; }
.aibadge { display: inline-grid; place-items: center; font-size: 10.5px; font-weight: 800; letter-spacing: .02em; padding: 1px 8px; border-radius: var(--r-sm); border: 1px dashed var(--muted); color: var(--muted); margin-right: 4px; }

/* 홈 — 날짜·상태 머리, 지원 건 영웅 카드, 두 칸 */
.hello { display: flex; align-items: flex-end; gap: 12px; flex-wrap: wrap; }
.hello h1 { margin: 0; }
.pulse-line { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); font-size: 13px; }
.pulse-line:hover { text-decoration: none; color: var(--ink); }
.pulse-line i { width: 8px; height: 8px; border-radius: 50%; background: var(--proof); box-shadow: 0 0 0 3px color-mix(in srgb, var(--proof) 20%, transparent); }
.pulse-line.warn { background: var(--warn-soft); color: var(--ink); border-color: color-mix(in srgb, var(--warn) 40%, transparent); }
.pulse-line.warn i { background: var(--warn); box-shadow: 0 0 0 3px color-mix(in srgb, var(--warn) 20%, transparent); }
.hero { border-left: 4px solid var(--accent); padding: 20px 24px; gap: 16px; }
h2.big { font-size: 22px; line-height: 1.35; letter-spacing: -.02em; }
.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; }
.steps li { display: flex; align-items: center; gap: 8px; color: var(--muted); }
.steps li + li::before { content: ""; width: 14px; height: 1px; background: var(--line); }
.steps li.cur { color: var(--accent); font-weight: 700; }
.steps li.done { color: var(--ink); }
.ready { display: flex; flex-direction: column; gap: 8px; }
.bar { display: flex; height: 8px; border-radius: var(--r-sm); overflow: hidden; background: var(--line); }
.bar i { display: block; height: 100%; }
.bar .s { background: var(--proof); } .bar .t { background: var(--warn); } .bar .n { background: repeating-linear-gradient(45deg, var(--danger) 0 3px, transparent 3px 6px); }
.next { display: flex; flex-direction: column; gap: 8px; padding: 16px 16px; border-radius: var(--r-ctl); background: var(--accent-soft); }
.next > b { font-size: 15px; }
.next .row { margin-top: 4px; }
.proven { display: flex; flex-wrap: wrap; gap: 8px; }
.weak { display: flex; align-items: center; gap: 12px; border-top: 1px solid var(--line); padding-top: 12px; }
.found { display: flex; flex-direction: column; gap: 4px; font-size: 15px; }
.found:hover b { text-decoration: underline; }
.receipt { font-size: 15px; color: var(--ink); padding: 4px 4px 0; display: flex; flex-direction: column; gap: 8px; }

/* 나 — 한 사람의 페이지 */

.skills { display: flex; flex-direction: column; gap: 2px; }
.skill { display: grid; grid-template-columns: 140px 1fr 110px; gap: 12px; align-items: center; padding: 4px 8px; border-radius: var(--r-md); color: var(--ink); }
.skill:hover { background: var(--accent-soft); text-decoration: none; }
.skill .nm { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.legend i { display: block; height: 100%; }
.legend .c { background: var(--proof); }
.legend .st { background: repeating-linear-gradient(45deg, var(--ink) 0 1.5px, transparent 1.5px 4px); opacity: .55; }
.legend .ai { border: 1.5px dashed var(--muted); border-left: 0; }
.legend { display: inline-flex; align-items: center; gap: 8px; } .legend i { width: 12px; height: 8px; display: inline-block; border-radius: var(--r-sm); margin-left: 8px; }
@media (max-width: 640px) { .skill { grid-template-columns: 96px 1fr auto; gap: 8px; } }
.thin { border-top: 1px solid var(--line); padding-top: 12px; display: flex; flex-direction: column; gap: 8px; }
.focus { border-color: var(--accent); }
.traits { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.traits div { display: grid; grid-template-columns: 44px 1fr; gap: 12px; } .traits dt { color: var(--muted); font-size: 13px; font-weight: 700; padding-top: 1px; } .traits dd { margin: 0; }
.reps { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 760px) { .reps { grid-template-columns: 1fr; } }
.rep { display: flex; flex-direction: column; gap: 8px; padding: 16px; border: 1px solid var(--line); border-radius: var(--r-ctl); }
.lane { position: relative; height: 26px; }
.lane .seg { position: absolute; top: 0; height: 26px; border-radius: var(--r-md); background: var(--accent); color: var(--on-accent); font-size: 11.5px; font-weight: 700; overflow: hidden; padding: 0 8px; display: flex; align-items: center; }
.lane .seg em { font-style: normal; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lane .seg.school { background: var(--accent-soft); color: var(--ink); }
.lane .seg.community, .lane .seg.other { background: var(--line); color: var(--ink); }
.yrs { display: flex; align-items: flex-end; height: 52px; }
.yrs span { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 2px; }
.yrs i { width: 60%; max-width: 12px; background: var(--proof); border-radius: var(--r-sm) var(--r-sm) 0 0; }
.yrs i.thin { background: var(--line); }
.yrs small { font-size: 10px; color: var(--muted); line-height: 1; height: 10px; }
.rep .found .muted { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.reps { align-items: start; }
.traits { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; }
@media (max-width: 760px) { .traits { grid-template-columns: 1fr; } }
.plist { list-style: none; margin: 4px 0 8px; padding: 0; display: flex; flex-direction: column; }
.plist li { display: flex; gap: 8px; align-items: baseline; padding: 8px 0; border-top: 1px solid var(--line); flex-wrap: wrap; }
.plist li:first-child { border-top: 0; }
.plist li.school b, .plist li.community b { font-weight: 600; color: var(--muted); }

/* 준비 */
a.card.tcard { color: var(--ink); } a.card.tcard:hover { text-decoration: none; border-color: var(--accent); }
.reqs { display: flex; flex-direction: column; }
.req { display: grid; grid-template-columns: 52px 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.req:first-child { border-top: 0; }
.st { font-size: 12px; font-weight: 800; padding: 2px 0; border-radius: var(--r-md); text-align: center; height: fit-content; }
.st.proof { color: var(--proof-ink); background: color-mix(in srgb, var(--proof) 12%, transparent); }
.st.warn { color: var(--warn-ink); background: var(--warn-soft); }
.st.danger { color: var(--danger-ink); background: color-mix(in srgb, var(--danger) 12%, transparent); }
.st.muted { color: var(--ink-2); background: var(--surface-2); }
details.fold summary { cursor: pointer; list-style: none; } details.fold summary::-webkit-details-marker { display: none; }
details.fold summary h2::before { content: "▸ "; color: var(--muted); } details.fold[open] summary h2::before { content: "▾ "; }
.doc { margin: 0; } .doc pre, pre.doc { white-space: pre-wrap; font: 13px/1.65 var(--font); background: var(--bg); border-radius: var(--r-md); padding: 12px 16px; max-height: 60vh; overflow: auto; }

/* 배움 */
.goal { display: flex; flex-direction: column; gap: 8px; padding: 12px 0; border-top: 1px solid var(--line); }
.goal:first-of-type { border-top: 0; }
.slots { letter-spacing: 2px; color: var(--proof-ink); font-size: 15px; }
.row.gap { padding: 8px 0; border-top: 1px solid var(--line); }
.pick { border: 1px solid var(--line); border-radius: var(--r-md); padding: 8px 12px; display: flex; flex-direction: column; gap: 4px; max-height: 260px; overflow: auto; }
.pick legend { font-size: 13px; font-weight: 600; padding: 0 4px; }
.qcard .q { font-size: 17px; line-height: 1.6; margin: 0; white-space: pre-wrap; }
.verdict { display: flex; align-items: center; gap: 12px; } .verdict .st { padding: 4px 12px; }
.basis { margin: 0; padding: 8px 12px; border-left: 3px solid var(--proof); background: var(--bg); border-radius: 0 var(--r-md) var(--r-md) 0; }
.note.ok { background: color-mix(in srgb, var(--proof) 10%, transparent); border: 1px solid color-mix(in srgb, var(--proof) 35%, transparent); }

/* 설정 */
.src { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); flex-wrap: wrap; }
.src:first-child { border-top: 0; }
.src .st { padding: 1px 8px; margin-left: 4px; }
code { font-size: 12px; background: var(--bg); padding: 1px 4px; border-radius: var(--r-sm); }

/* 기록 입구 — 홈 맨 위(docs/PRODUCT-v5.md §3). 휴대폰에선 이것이 주인공 */

.capture textarea { width: 100%; box-sizing: border-box; border: 1px solid var(--line); border-radius: var(--r-ctl); background: var(--bg); color: var(--ink); font: inherit; font-size: 15px; padding: 12px 12px; resize: vertical; min-height: 64px; }
.capture .cap-cues { flex-wrap: wrap; gap: 8px; align-items: center; }
.capture .chip { min-height: 34px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); font: inherit; font-size: 13px; cursor: pointer; }
.capture .chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); font-weight: 600; }
@media (max-width: 640px) { .capture .btn.primary { min-height: 44px; } }
/* 「나」 아래 더 보기 줄 — 배움(채우는 중)으로 가는 길 */
.rows { padding: 4px 20px; gap: 0; }

/* ===== 디자인 v5.1 — 위의 기본 위에 덮는다(docs/DESIGN-v5.md §8) ===== */
h1 { font-size: 28px; line-height: 35px; font-weight: 700; letter-spacing: -.02em; }
h2 { font-size: 17px; line-height: 27px; font-weight: 700; }
/* 카드: 테두리·그림자 없이 회색 바탕과의 명암으로 */
.card { border: 1px solid var(--line); box-shadow: var(--shadow); padding: 24px 24px; gap: 12px; }   /* v8: 흰 면 + 1px 선 + 옅은 그림자 */
.card .card { background: var(--surface-2); border: 0; box-shadow: none; }
/* 버튼: 높이 44, 모서리 12, 보조는 회색 면 */
.btn { height: 44px; padding: 0 20px; border: 0; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); font-weight: 600; }   /* v8: 알약 · 흰 면 + 선 */
.btn:hover { border-color: transparent; filter: brightness(.97); }
.btn.primary { background: var(--primary); color: var(--on-primary); box-shadow: 0 1px 2px rgba(0, 0, 0, .18); }   /* v8: 주 단추는 잉크색 하나 */
.btn.ghost { background: transparent; color: var(--ink-2); font-weight: 600; box-shadow: none; }
button, a.btn, .chip, .nav :is(a, .nav-btn), .tabs a { transition: transform .15s cubic-bezier(0, 0, .15, 1), filter .15s; }
button:active, a.btn:active, .chip:active, .nav :is(a, .nav-btn):active, .tabs a:active { transform: scale(.97); }
@media (prefers-reduced-motion: reduce) { button:active, a.btn:active, .chip:active, .nav :is(a, .nav-btn):active, .tabs a:active { transform: none; } }
/* 사이드바: 흰 면, 큰 행 */
.side { background: var(--surface); border-right: 0; padding: 24px 16px; }
.brand .mark { width: 32px; height: 32px; border-radius: var(--r-ctl); font-size: 15px; }
.nav :is(a, .nav-btn) { height: 48px; padding: 0 16px; border-radius: var(--r-ctl); color: var(--ink-2); }
.nav :is(a, .nav-btn):hover { background: var(--bg); }
.nav :is(a, .nav-btn)[aria-current="page"] { background: var(--bg); box-shadow: none; color: var(--ink); font-weight: 700; }
.nav :is(a, .nav-btn)[aria-current="page"] svg { color: var(--ink); }
/* 메뉴 묶음 이름 · 가장자리 접기 단추 · 아래 프로필 카드(포털과 같은 짜임) */
.side-scroll { flex: 1; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; gap: 4px; margin: 0 -8px; padding: 0 8px; scrollbar-width: thin; }   /* 메뉴가 길어도 프로필 카드는 늘 맨 아래에 보이게 */
.side { overflow: visible; padding-bottom: 0; }   /* 프로필 카드를 맨 아래에 붙인다 */
.nav-h { padding: 16px 16px 8px; font-size: 13px; color: var(--muted); font-weight: 600; }
.side .side-fold { position: absolute; top: 50%; right: -14px; z-index: 5; width: 28px; height: 28px; padding: 0; justify-content: center; border-radius: 50%;
  background: var(--surface); color: var(--accent); box-shadow: 0 1px 4px rgba(0, 0, 0, .12); }
.side .side-fold:hover { background: var(--surface); color: var(--accent); filter: brightness(.97); }
.pcard { position: relative; flex: none; margin: 8px -16px 0; padding: 12px 16px 12px; border-top: 1px solid var(--line); }
.pcard-btn { display: flex; align-items: center; gap: 12px; width: 100%; padding: 8px; border: 0; border-radius: var(--r-ctl); background: none; color: var(--ink); font: inherit; text-align: left; cursor: pointer; }
.pcard-btn:hover, .pcard-btn[aria-expanded="true"] { background: var(--bg); }
.avatar { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-weight: 700; }
.pcard-txt { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.pcard-txt b { font-size: 15px; } .pcard-txt small { font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pcard-chev { color: var(--muted); display: flex; }
.pmenu { position: absolute; left: 10px; bottom: calc(100% - 4px); width: 236px; z-index: 20; padding: 8px; border-radius: var(--r-card); background: var(--surface); box-shadow: 0 6px 24px rgba(0, 0, 0, .14); border: 1px solid var(--line); }
.pmenu a { display: flex; align-items: center; gap: 12px; height: 40px; padding: 0 12px; border-radius: var(--r-ctl); color: var(--ink-2); font-weight: 500; }
.pmenu a:hover { background: var(--bg); text-decoration: none; color: var(--ink); }
.pmenu-row { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; padding: 12px 12px 4px; border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); }
.pmenu-seg { display: inline-flex; gap: 2px; padding: 4px; border-radius: var(--r-ctl); background: var(--bg); }
.pmenu-seg button { width: 32px; height: 28px; display: grid; place-items: center; border: 0; border-radius: var(--r-md); background: none; color: var(--muted); cursor: pointer; }
.pmenu-seg button[aria-pressed="true"] { background: var(--surface); color: var(--accent); box-shadow: 0 1px 2px rgba(0, 0, 0, .08); }
body.side-mini .nav-h { display: none; } body.side-mini .side-scroll { align-items: center; }
body.side-mini .side .side-fold { position: absolute; width: 28px; padding: 0; }   /* 옛 접기 줄의 position: relative 를 이긴다 */
body.side-mini .pcard { margin: 8px -8px 0; padding: 12px 8px 16px; } body.side-mini .pcard-btn { justify-content: center; }
@media (max-width: 1024px) { .side-scroll { align-items: center; } .nav-h { display: none; } .pcard { margin: 8px -8px 0; padding: 12px 8px 12px; } .pcard-btn { justify-content: center; } }
/* 휴대폰 아래 탭: 흰 면, ＋는 강조색 둥근 네모 */
@media (max-width: 640px) {
  .tabs { background: var(--surface); backdrop-filter: none; border-top: 1px solid var(--bg); height: 66px; }
  .tabs a { color: var(--muted); }   /* 고르지 않은 탭 글자 — faint 는 1.92:1(11-23 점검) */
  .tabs a[aria-current="page"] { color: var(--ink); }
  main { padding: 16px 16px 108px; gap: 12px; }
}
/* 홈 */
.pulse-line { border: 0; background: var(--surface); height: 36px; font-weight: 600; }
.pulse-line.warn { border: 0; background: var(--warn-soft); }
.hero { border-left: 0; padding: 24px; }
.next { border-radius: var(--r-card); }
.capture { padding: 20px 20px; }
.capture textarea { border: 0; border-radius: var(--r-ctl); background: var(--surface-2); font-size: 17px; padding: 16px 16px; }
.capture .chip { height: 32px; min-height: 32px; border: 0; background: var(--bg); color: var(--ink-2); font-weight: 600; font-size: 15px; }
.capture .chip[aria-pressed="true"] { background: var(--ink); color: var(--surface); }
/* 입력·알림·상자 */
.in { height: 44px; border: 0; background: var(--bg); border-radius: var(--r-ctl); padding: 0 16px; }
textarea.in { padding: 12px 16px; }
/* 선택 상자: 브라우저 기본 화살표는 오른쪽 끝에 붙는다 — 직접 그리고 오른쪽 여백을 글자 여백(.in 16px)과 같게 */
select.in, .in select { appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: linear-gradient(45deg, transparent calc(50% - .75px), var(--muted) calc(50% - .75px), var(--muted) calc(50% + .75px), transparent calc(50% + .75px)),
    linear-gradient(-45deg, transparent calc(50% - .75px), var(--muted) calc(50% - .75px), var(--muted) calc(50% + .75px), transparent calc(50% + .75px));
  background-size: 6px 6px, 6px 6px; background-repeat: no-repeat;   /* 가는 꺾쇠 두 줄(외부 그림 없이, 어두운 모드는 --muted 를 따른다) */
  background-position: calc(100% - var(--sel-x, 16px) - 5px) 50%, calc(100% - var(--sel-x, 16px)) 50%;
  padding-right: calc(var(--sel-x, 16px) + 20px); }
.toast { border-radius: var(--r-card); padding: 16px 20px; background: var(--ink); color: var(--surface); }
.toast button { text-decoration: none; color: #8DA2FF; }
@media (max-width: 640px) { .toast { bottom: calc(76px + env(safe-area-inset-bottom)); max-width: calc(100vw - 32px); } }   /* 휴대폰 — 아래 탭(＋) 위로. 되돌리기 10초 동안 ＋를 가리지 않게 */
.note.warn { border: 0; }
.status { border: 0; }
.rep, .pick { border: 0; background: var(--surface-2); border-radius: var(--r-card); }
.seg { border: 0; background: var(--bg); padding: 4px; border-radius: var(--r-ctl); }
.seg button { border-radius: var(--r-md); }
.panel { border-left: 0; }

/* 홈 v5 부품 — 오늘의 질문 · 이번 주의 나 · 리스트 행(ListRow) */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.eyebrow { font-size: 15px; font-weight: 700; color: var(--accent); }
.eyebrow.muted { color: var(--ink-2); font-weight: 600; }
.askcard { background: var(--accent-soft); gap: 12px; }
.askcard .q { font-size: 22px; line-height: 29px; font-weight: 700; letter-spacing: -.02em; }
.askcard .why { font-size: 15px; color: var(--ink-2); }
.btn.wide { width: 100%; height: 48px; border-radius: var(--r-ctl); font-size: 15px; }
@media (min-width: 641px) { .askcard .btn.wide { width: auto; align-self: flex-start; padding: 0 24px; } }
.week { gap: 4px; padding-bottom: 12px; }
.sum { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; padding: 4px 0 12px; }
.sum .big { font-size: 28px; line-height: 36px; font-weight: 700; letter-spacing: -.02em; }
.sum .delta { font-size: 15px; font-weight: 600; color: var(--muted); }
.sum .delta.up { color: var(--accent); }
.bars { display: flex; align-items: flex-end; gap: 4px; height: 40px; }
.bars i { width: 8px; border-radius: var(--r-sm); background: var(--accent); }
.bars i.later { background: var(--line); }
.lrow { display: flex; align-items: center; gap: 16px; min-height: 64px; width: 100%; padding: 0; border: 0; background: transparent; color: var(--ink); text-align: left; cursor: pointer; font: inherit; }
a.lrow:hover { text-decoration: none; }
.lrow-ic { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--bg); color: var(--ink-2); }
.lrow-ic i { width: 10px; height: 10px; border-radius: 50%; display: block; }
.lrow-ic.confirmed { background: var(--proof-soft); } .lrow-ic.confirmed i { background: var(--proof); }
.lrow-ic.stated i { border: 2px solid var(--proof); }
.lrow-ic.ai i { border: 1.5px dashed var(--muted); }
.lrow-ic.accent { background: var(--accent-soft); color: var(--accent); }
.lrow-t { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.lrow-t b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lrow-t small { font-size: 13px; color: var(--muted); }
.lrow-v { font-weight: 700; white-space: nowrap; }
.chev { color: var(--faint); font-size: 22px; line-height: 1; }
.lrow.big { min-height: 80px; padding: 0 24px; }
.more { font-size: 15px; color: var(--muted); padding: 8px 0 2px; }
.card.lrow { flex-direction: row; gap: 16px; background: var(--surface); padding: 20px 20px; }   /* .lrow 의 padding:0 이 카드 여백을 지워 글자가 상자 가장자리에 붙던 것(나다움 › 앞으로) */
.sum .big.quiet { font-size: 22px; line-height: 29px; }
.bars i.zero { background: var(--line); }

/* D3 — 기록 시트 · 한마디 제안 · 오늘 모은 것 */
.sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 21; background: var(--surface); color: var(--ink);   /* 어디에 붙여도 글자색은 제 것 — 빈 칸 줄(흐린 글자) 안에서 연 팝업 제목이 흐리던 것 */ border-radius: var(--r-card) var(--r-card) 0 0; padding: 10px 20px calc(24px + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; gap: 16px; max-height: 92vh; overflow: auto; box-shadow: 0 -8px 40px rgba(0, 0, 0, .15); }
@media (min-width: 641px) { .sheet { left: 50%; right: auto; width: 480px; transform: translateX(-50%); } }
/* 제목 · 닫기는 스크롤해도 위에 붙어 있게 — 긴 시트를 내리면 ✕ 가 사라지던 것 */
.sheet-head { position: sticky; top: -10px; z-index: 3; background: var(--surface); margin: -8px -20px -8px; padding: 8px 20px; flex-wrap: nowrap; align-items: flex-start; }
.sheet-head h2 { flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; }   /* 긴 제목이 ✕ 를 다음 줄로 밀던 것(휴대폰) */
/* 맨 아래 버튼 줄도 바닥에 붙어 있게 — 내용만 그 사이에서 스크롤. 시트 바로 아래의 마지막 .row 이거나, 깊이 있는 줄은 .sheet-foot 표식으로 */
:is(.sheet > .row:last-child, .sheet > form > .row:last-child, .sheet > .tr-go:last-child, .sheet > form > .tr-go:last-child, .sheet .sheet-foot:not(.btn)):has(.btn.primary) { position: sticky; bottom: calc(-24px - env(safe-area-inset-bottom)); z-index: 3; background: var(--surface);
  margin: 0 -20px calc(-24px - env(safe-area-inset-bottom)); padding: 10px 20px calc(14px + env(safe-area-inset-bottom)); box-shadow: 0 -10px 12px -10px rgba(0, 0, 0, .14); }
.sheet .btn.big-cta:last-child, .sheet .btn.sheet-foot { position: sticky; bottom: calc(-10px - env(safe-area-inset-bottom)); z-index: 3; box-shadow: 0 0 0 10px var(--surface); }
.sheet .grab { width: 36px; height: 5px; border-radius: var(--r-sm); background: var(--line); align-self: center; }
.sheet h2 { font-size: 22px; line-height: 31px; }
.sheet .capture { padding: 0; gap: 16px; display: flex; flex-direction: column; }
.sheet .cap-go .btn.primary { height: 56px; border-radius: var(--r-card); font-size: 17px; flex: 1; }
.iconbtn.round { width: 40px; height: 40px; border-radius: 50%; background: var(--bg); color: var(--ink-2); font-size: 15px; }
.attach { display: flex; align-items: center; gap: 16px; padding: 16px 16px; border-radius: var(--r-card); background: var(--surface-2); }
.attach.on { background: var(--accent-soft); }
.attach .lrow-t small { color: var(--ink-2); }
.switch { width: 52px; height: 32px; border-radius: 999px; border: 0; background: var(--line); position: relative; flex: none; cursor: pointer; padding: 0; }
.switch i { position: absolute; top: 3px; left: 3px; width: 26px; height: 26px; border-radius: 50%; background: #fff; transition: left .15s cubic-bezier(0, 0, .15, 1); }
.switch[aria-checked="true"] { background: var(--accent); } .switch[aria-checked="true"] i { left: 23px; }
.capture .cap-go { align-items: center; }
.btn.mini { height: 32px; padding: 0 12px; font-size: 13px; border-radius: var(--r-md); flex: none; }
.lrow > .lrow-t.linkbtn { padding: 0; }
.center { text-align: center; }
.notes { display: flex; flex-direction: column; gap: 12px; padding: 16px 16px; border-radius: var(--r-card); background: var(--surface-2); }
.notes h4 { margin: 0; font-size: 15px; }
.note-row { display: flex; gap: 12px; align-items: flex-start; }
.note-row .lrow-ic { width: 32px; height: 32px; }

/* 옆으로 넘치지 않게 — 버튼 글자는 줄바꿈되고(높이는 최소값), 본문은 줄어들 수 있게 */
main { min-width: 0; }
.btn { height: auto; min-height: 44px; max-width: 100%; white-space: normal; text-align: center; line-height: 1.35; padding-top: 8px; padding-bottom: 8px; }
.btn.mini { min-height: 32px; padding-top: 4px; padding-bottom: 4px; }
h2.big, .hero h2 { overflow-wrap: anywhere; }

/* ---------- 나 v5(D7) — 명함 · 인생 그래프 · 잘 다루는 것 ---------- */

.ring { position: relative; width: 104px; height: 104px; }
.ring svg { position: absolute; inset: 0; }
.ring-bg { fill: none; stroke: var(--surface); stroke-width: 8; }
.ring-fg { fill: none; stroke: var(--proof); stroke-width: 8; stroke-linecap: round; transition: stroke-dasharray .6s cubic-bezier(0, 0, .15, 1); }
.ring-in { position: absolute; inset: 10px; border-radius: 50%; background: var(--accent-soft); display: grid; place-items: center; }
.ring .ini { font-size: 28px; font-weight: 700; color: var(--accent); letter-spacing: -.02em; }

.lifecard { display: flex; flex-direction: column; min-width: 0; }
.lg-sub { margin: 0 0 8px; }
.lg-box { width: 100%; min-width: 0; }
.lg { display: block; overflow: visible; font-family: var(--font); }
.lg-stop1 { stop-color: var(--accent); stop-opacity: .22; } .lg-stop2 { stop-color: var(--accent); stop-opacity: 0; }
.lg-grid { stroke: var(--line); stroke-width: 1; } .lg-zero { stroke: var(--faint); stroke-width: 1; stroke-dasharray: 3 4; }
.lg-hatch { stroke: var(--line); stroke-width: 2; } .lg-future { opacity: .9; }
.lg-cap { font-size: 11px; fill: var(--muted); font-weight: 600; } .lg-cap.now { fill: var(--accent); }
.lg-yr { font-size: 11px; fill: var(--muted); font-variant-numeric: tabular-nums; }
.lg-now { stroke: var(--accent); stroke-width: 1.5; stroke-dasharray: 2 3; }
.lg-line { fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.lg-line.mood { stroke: var(--accent); } .lg-line.grow { stroke: var(--proof); stroke-dasharray: 1 0; opacity: .9; }
.lg-pt { cursor: pointer; }
.lg-pt .dot { stroke: var(--surface); stroke-width: 2.5; transition: r .15s; }
.lg-pt .dot.mood { fill: var(--accent); } .lg-pt .dot.grow { fill: var(--proof); }
.lg-pt .dot.empty { fill: var(--surface); stroke: var(--faint); stroke-width: 1.5; stroke-dasharray: 3 2; }
.lg-q { font-size: 11px; font-weight: 700; fill: var(--muted); pointer-events: none; }
.lg-pt:hover .dot.empty, .lg-pt.on .dot.empty { stroke: var(--accent); }
.lg-ms { cursor: pointer; } .lg-ms rect { fill: var(--warn); stroke: var(--surface); stroke-width: 2; }
.lg-band { cursor: pointer; } .lg-band rect { fill: var(--accent-soft); transition: fill .15s; }
.lg-band.school rect, .lg-band.community rect, .lg-band.other rect { fill: var(--surface-2); stroke: var(--line); }
.lg-band text { font-size: 11.5px; font-weight: 600; fill: var(--ink-2); pointer-events: none; }
.lg-band:hover rect, .lg-band.on rect { fill: var(--accent); } .lg-band:hover text, .lg-band.on text { fill: var(--on-accent); }
.legend i.mood, .legend i.grow, .legend i.ms { width: 10px; height: 10px; border-radius: 50%; }
.legend i.mood { background: var(--accent); } .legend i.grow { background: var(--proof); } .legend i.ms { background: var(--warn); border-radius: var(--r-sm); transform: rotate(45deg) scale(.8); }

.life-edit { display: flex; flex-direction: column; gap: 12px; margin-top: 12px; padding: 16px; border-radius: var(--r-ctl); background: var(--surface-2); }
.score-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.score-k { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; width: 52px; }
.score-k i { width: 10px; height: 10px; border-radius: 50%; } .score-k.mood i { background: var(--accent); } .score-k.grow i { background: var(--proof); }
.score-row .seg button { min-width: 44px; min-height: 40px; font-variant-numeric: tabular-nums; }
.life-edit .in { height: 44px; }

.strength { display: flex; flex-direction: column; gap: 8px; padding: 16px; border-radius: var(--r-ctl); background: var(--surface-2); color: var(--ink); transition: transform .15s cubic-bezier(0, 0, .15, 1); }
.strength:hover { text-decoration: none; background: var(--accent-soft); } .strength:active { transform: scale(.97); }
.strength b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dots5 { display: inline-flex; gap: 4px; } .dots5 i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); } .dots5 i.on { background: var(--proof); }
.lrows { display: flex; flex-direction: column; }
.lrows a.lrow:hover { text-decoration: none; }
.lrow-ic.warn { background: var(--warn-soft); } .lrow-ic.warn i { background: var(--warn); }
.btn.small { min-height: 36px; padding: 0 12px; font-size: 15px; }
.life-edit { position: relative; } .life-edit > .row:first-child { padding-right: 40px; } .life-edit > .row:first-child .iconbtn { position: absolute; top: 8px; right: 8px; }
.insights { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 12px; margin-top: 8px; }
.insight { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 12px 16px; border: 0; border-radius: var(--r-ctl); background: var(--surface-2); color: var(--ink); text-align: left; font: inherit; cursor: pointer; min-width: 0; }
.insight .score-k { width: auto; font-size: 12px; color: var(--muted); } .insight b { font-size: 15px; }
.insight small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.insight:active { transform: scale(.97); }

/* ---------- 사건 시트 v5(D4) — PC 오른쪽 패널, 휴대폰 아래 시트 ---------- */
.evsheet { width: min(480px, 100vw); gap: 16px; }
.evsheet .grab { display: none; width: 36px; height: 5px; border-radius: var(--r-sm); background: var(--line); align-self: center; flex: none; }
.evhead { gap: 8px; flex-wrap: nowrap; } .evhead > .small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.evsheet h3 { font-size: 22px; }
.evsum { margin: -8px 0 0; color: var(--ink-2); }
.evstory { display: flex; flex-direction: column; gap: 12px; padding: 16px 16px; border-radius: var(--r-card); background: var(--surface-2); }
.evs-row { display: flex; flex-direction: column; gap: 2px; min-width: 0; border-top: 1px solid var(--line); padding-top: 8px; } .evs-t { white-space: pre-line; overflow-wrap: anywhere; font-size: 15px; line-height: 1.6; }
.evstory > .row + * { border-top: 0; }
.evf-more > summary { cursor: pointer; padding: 4px 0; } .evsubmit > summary, .evparts > summary { display: flex; gap: 8px; align-items: baseline; cursor: pointer; list-style: none; }
.evsubmit { padding: 16px 16px; border-radius: var(--r-card); } .evsubmit > summary::-webkit-details-marker { display: none; }
.evparts { display: flex; flex-direction: column; gap: 12px; padding: 16px 16px; border-radius: var(--r-card); background: var(--surface-2); }
.evparts > summary { display: flex; gap: 8px; align-items: baseline; cursor: pointer; list-style: none; }
.evparts > summary::-webkit-details-marker { display: none; }
.evparts[open] > summary { margin-bottom: 4px; }
.evpart { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.evflow { display: flex; flex-direction: column; gap: 12px; padding: 16px 16px; border-radius: var(--r-card); background: var(--surface-2); }
.evf-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.evf-row { display: flex; gap: 8px; align-items: center; padding: 8px 0; border-top: 1px solid var(--line); min-width: 0; }
.evf-row > :first-child { flex: 0 0 68px; white-space: nowrap; }
.evf-row > .evf-t { flex: 1 1 auto; min-height: 0; padding: 0; justify-content: flex-start; }
.evf-row > :not(:first-child):not(.evf-t) { flex: 0 0 auto; }
.evf-row:first-child { border-top: 0; }
.evf-t { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; } .evf-doc { font-weight: 400; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.evf-row.here { background: var(--accent-soft, transparent); border-radius: var(--r-md); padding-inline: 8px; }
.evf-row.linked .evf-t { font-weight: 600; }
.evf-t { text-align: left; min-width: 0; overflow-wrap: anywhere; font-size: 15px; }
.evpart-t { white-space: pre-line; overflow-wrap: anywhere; font-size: 15px; line-height: 1.6; }
.autobox { padding: 12px 16px; border-radius: var(--r-ctl); background: var(--accent-soft); }
.proof { display: flex; flex-direction: column; gap: 8px; padding: 16px 16px; border-radius: var(--r-card); background: var(--surface-2); }
.proof .num b { font-size: 22px; color: var(--proof-ink); }
.asks { display: flex; flex-direction: column; gap: 12px; padding: 16px 16px; border-radius: var(--r-card); background: var(--warn-soft); }
.askrow { display: flex; flex-direction: column; gap: 8px; }
.askrow .in { height: 44px; } .askrow .row { flex-wrap: nowrap; }
.evsheet .notes .attach { display: none; }       /* 시트 안에서는 어느 사건에 붙는지 자명하다 */
.evsheet .notes .capture { display: flex; flex-direction: column; gap: 12px; padding: 0; margin-top: 4px; }
.evsheet .notes textarea { background: var(--surface); }
.evi { display: flex; flex-direction: column; gap: 8px; } .evi h4, .notes h4 { margin: 0; font-size: 15px; }
.evi-row { padding: 12px 12px; border-radius: var(--r-ctl); background: var(--surface-2); min-width: 0; } .evi-row .small { overflow-wrap: anywhere; }
.evi-ex { margin-top: 4px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.rawst { display: inline-block; padding: 0 8px; border-radius: 999px; font-size: 12px; }
.rawst.kept { background: var(--proof-soft); color: var(--proof-ink); } .rawst.gone, .rawst.none { background: var(--bg); color: var(--muted); }
.evmore summary { cursor: pointer; color: var(--muted); font-size: 15px; font-weight: 600; padding: 4px 0; }
.evmore[open] { display: flex; flex-direction: column; gap: 12px; }
@media (max-width: 720px) {
  .evsheet { top: 6vh; left: 0; right: 0; width: 100%; border-radius: var(--r-card) var(--r-card) 0 0; padding: 10px 20px calc(24px + env(safe-area-inset-bottom));
    box-shadow: 0 -12px 40px rgba(15, 18, 28, .16); animation: sheet-up .25s cubic-bezier(0, 0, .15, 1); box-sizing: border-box; }
  .evsheet .grab { display: block; }
}
@keyframes sheet-up { from { transform: translateY(40px); opacity: .6; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .evsheet { animation: none; } }
.askrow .chip { min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; transition: transform .15s cubic-bezier(0, 0, .15, 1); }
.askrow .chip:hover { background: var(--accent-soft); color: var(--accent); } .askrow .chip:active { transform: scale(.97); }
.kinds .lrow-ic.accent i { background: var(--accent); }
.sugs { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.sug { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 8px 12px; border: 0; border-radius: var(--r-ctl); background: var(--surface-2); color: var(--ink); font: inherit; text-align: left; cursor: pointer; min-width: 0; transition: transform .15s cubic-bezier(0, 0, .15, 1); }
.sug:hover { background: var(--accent-soft); } .sug:active { transform: scale(.97); }
.sug .plus { color: var(--accent); font-weight: 700; flex: none; }
.sug .t { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15px; }
.sug .grade { flex: none; }
.req > div { min-width: 0; }
.sugs .sug { width: 100%; box-sizing: border-box; }
@media (max-width: 520px) { .req { grid-template-columns: minmax(0, 1fr); gap: 8px; } .req .st { justify-self: start; } .sug .grade { font-size: 0; gap: 0; } }
@media (max-width: 520px) { .req .st { padding: 2px 12px; width: auto; } }

/* ---------- 이번 주 한 장(D6) ---------- */

.wk-done { gap: 12px; } .wk-done .lrow-t { text-align: left; padding: 0; border: 0; background: none; cursor: pointer; color: var(--ink); font: inherit; }
.wk-done .lrow-t small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wk-lines { display: flex; flex-direction: column; gap: 20px; }
.wk-field { display: flex; flex-direction: column; gap: 8px; } .wk-field .row { flex-wrap: nowrap; } .wk-field .in { height: 44px; }
.wk-text { white-space: pre-wrap; word-break: keep-all; overflow-wrap: anywhere; margin: 4px 0 12px; padding: 16px 16px; border-radius: var(--r-ctl); background: var(--surface-2); font: 15px/1.65 var(--font); }
@media (max-width: 520px) { .wk-done .grade { font-size: 0; gap: 0; } }

/* ---------- 설정 v5(D8) ---------- */
.forget { display: flex; flex-direction: column; gap: 12px; }
.forget .row { flex-wrap: nowrap; } .forget .in { height: 44px; }
.btn.danger { background: var(--danger); color: #fff; border-color: transparent; } .btn.danger:disabled { opacity: .45; }
.aibar { height: 6px; border-radius: var(--r-sm); background: var(--line); margin: 8px 0 2px; overflow: hidden; } .aibar i { display: block; height: 100%; background: var(--accent); }

/* ---------- 첫날(O1) ---------- */
.firstday { max-width: 560px; margin: 24px auto 0; }
.fd-card { display: flex; flex-direction: column; gap: 24px; padding: 16px 24px 28px; background: var(--surface); border-radius: var(--r-card); min-height: min(760px, calc(100dvh - 120px)); box-sizing: border-box; }
.fd-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.fd-bar { flex: 1; max-width: 140px; height: 4px; border-radius: var(--r-sm); background: var(--surface-2); overflow: hidden; } .fd-bar i { display: block; height: 100%; border-radius: var(--r-sm); background: var(--accent); transition: width .25s; }
.fd-later { min-height: 44px; border: 0; background: none; font: inherit; font-size: 15px; color: var(--muted); cursor: pointer; padding: 0; }
.fd-card h1 { font-size: 28px; line-height: 35px; margin: 0; letter-spacing: -0.02em; }
.fd-card .lede { margin: -12px 0 0; font-size: 15px; color: var(--ink-2); }
.fd-q { display: flex; flex-direction: column; gap: 8px; }
.fd-q > span { font-size: 13px; font-weight: 600; color: var(--accent); }
.fd-q input, .fd-q textarea { width: 100%; box-sizing: border-box; border: 0; border-bottom: 2px solid var(--line); border-radius: 0; resize: none; font: inherit; font-size: 22px; line-height: 31px; font-weight: 600; padding: 0 0 12px; color: var(--ink); background: transparent; outline: none; }
.fd-q input.sm { font-size: 17px; line-height: 27px; }
.fd-q input:focus, .fd-q textarea:focus { border-bottom-color: var(--accent); }
.fd-q input::placeholder, .fd-q textarea::placeholder { color: var(--faint); font-weight: 500; }
.fd-cues { display: flex; gap: 8px; flex-wrap: wrap; }
.fd-cues .chip { height: 36px; padding: 0 16px; border-radius: 999px; border: 0; background: var(--surface-2); color: var(--ink-2); font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }
.fd-cues .chip[aria-pressed="true"], .fd-cues .chip[aria-checked="true"] { background: var(--ink); color: var(--bg); font-weight: 700; }
.fd-card .lrows { margin-top: 0; }
.fd-next { margin-top: auto; height: 56px; border-radius: var(--r-card); font-size: 17px; font-weight: 700; width: 100%; }
.fd-promise { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 0; padding: 0; list-style: none; font-size: 13px; color: var(--muted); }   /* 가입형 첫날(3-7) */
.fd-promise li::before { content: "· "; }
.fd-drop { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 140px; padding: 20px; border: 2px dashed var(--line); border-radius: var(--r-card); text-align: center; cursor: pointer; color: var(--ink-2); box-sizing: border-box; overflow-wrap: anywhere; }
.fd-drop.on, .fd-drop:focus-within, .fd-drop:hover { border-color: var(--accent); }
.fd-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.fd-band { display: flex; flex-wrap: wrap; gap: 8px; }
.fd-band > span { padding: 8px 12px; border-radius: 999px; background: var(--surface-2); font-size: 14px; } .fd-band small { color: var(--muted); }
.fd-works { display: flex; flex-direction: column; }
.fd-works label { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.fd-works input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; } .fd-works small { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }
.fd-dropped { margin: -12px 0 0; padding-left: 20px; display: grid; gap: 2px; }
.fd-sum { margin: -8px 0 0; font-size: 15px; color: var(--ink-2); }
.fd-lines { display: flex; flex-direction: column; gap: 12px; padding: 16px; border-radius: var(--r-card); background: var(--surface-2); }
.fd-lines .row { gap: 8px; align-items: baseline; flex-wrap: wrap; }
.fd-line { display: flex; gap: 12px; align-items: flex-start; } .fd-line p { flex: 1; margin: 0; } .fd-line p small { display: block; font-size: 13px; margin-top: 2px; }
.fd-how { margin: 0; padding: 0 4px 8px; color: var(--ink-2); }
.fd-card .lrows button.lrow { width: 100%; text-align: left; border: 0; background: none; font: inherit; color: inherit; cursor: pointer; }
.fd-card code { font-size: 12px; background: var(--surface-2); padding: 1px 8px; border-radius: var(--r-md); overflow-wrap: anywhere; }
@media (max-width: 640px) { .firstday { margin: -16px -16px 0; } .fd-card { border-radius: 0; min-height: calc(100dvh - 90px); } }
@media (max-width: 520px) { section[aria-label="AI 가 하는 일"] .src { flex-wrap: wrap; } section[aria-label="AI 가 하는 일"] .src .seg { width: 100%; } section[aria-label="AI 가 하는 일"] .src .seg button { flex: 1; } }
.fd-card .lrow-ic.accent i { background: var(--accent); }
.hook { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); overflow-wrap: anywhere; }
.oplog { display: flex; flex-direction: column; gap: 2px; max-height: 320px; overflow: auto; margin-top: 8px; }
.oprow { display: grid; grid-template-columns: 88px auto minmax(0, 1fr); align-items: center; gap: 8px; padding: 8px 0; border-top: 1px solid var(--line); }
details.card.fold > summary { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; cursor: pointer; list-style: none; }
.place-form { padding: 12px 0; border-top: 1px solid var(--line); }

/* ---------- 홈 — 시안 H1·H2·H3 맞춤 ---------- */
.home { display: flex; flex-direction: column; gap: 12px; }
.home.wide { max-width: 1040px; gap: 16px; }
.home .hello h1 { font-size: 28px; line-height: 35px; }
.home .hello.slim { align-items: center; }
/* 쌓기 상태: 휴대폰은 점 하나(동그라미 40), PC 는 알약 */
@media (max-width: 960px) {
  .home .pulse-line { width: 40px; height: 40px; padding: 0; justify-content: center; border-radius: 50%; background: var(--surface); }
  .home .pulse-line .pl-t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .home .pulse-line i { width: 10px; height: 10px; box-shadow: 0 0 0 4px color-mix(in srgb, var(--proof) 18%, transparent); }
  .home .pulse-line.warn i { box-shadow: 0 0 0 4px color-mix(in srgb, var(--warn) 22%, transparent); }
}
/* 기록: 테두리 없는 입력 · 칩 한 줄(옆으로 넘김) · 아래 줄에 남기기 */
.home .capture textarea { background: transparent; padding: 0; border-radius: 0; min-height: 0; resize: none; font-size: 17px; line-height: 25.5px; }
.home .capture .cap-cues { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; } .home .capture .cap-cues::-webkit-scrollbar { display: none; }
.home .capture .chip { flex: none; }
.home .capture .cap-go { border-top: 1px solid var(--bg); padding-top: 12px; }
.capture.capbar { padding: 12px 12px 12px 20px; gap: 8px; }
.capture.capbar .cap-line { display: flex; align-items: center; gap: 12px; }
.capture.capbar textarea { flex: 1; min-width: 0; height: 26px; overflow: hidden; white-space: nowrap; }
.capture.capbar .kbd { white-space: nowrap; color: var(--muted); }
.capture.capbar .btn { min-height: 44px; padding: 0 20px; }
/* PC 두 단 */
.home-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.home.wide .home-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.home-grid .col { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.home-grid .col > .card, .home > .card { margin: 0; }
.lrow-ic.warn-ic { background: var(--warn-soft); color: var(--warn-ink); }
.lrow-v.dday { color: var(--warn-ink); font-weight: 700; font-size: 15px; }
/* 오늘 모은 것 — PC 는 가로로 */
.digest.wide .dg-items { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 8px 16px; }   /* 가운데 열(약 750px)에 3칸 고정이라 글자가 세로로 쪼개지던 것 — 폭에 맞춰 칸 수 */
/* 다가오는 날 「지금」(H2) */
.nowprep { gap: 16px; padding: 24px 20px 20px; }
.nowprep .dchip { height: 26px; padding: 0 12px; border-radius: 999px; background: var(--warn-soft); color: var(--warn-ink); font-size: 13px; font-weight: 700; display: inline-flex; align-items: center; }
.nowprep .np-q { font-size: 28px; line-height: 35px; font-weight: 700; letter-spacing: -.02em; }
.nowprep .next { background: transparent; padding: 0; }
.capline { display: flex; flex-direction: row; align-items: center; gap: 12px; min-height: 56px; height: auto; padding: 0 20px; border: 0; color: var(--muted); font: inherit; font-size: 15px; text-align: left; cursor: pointer; }

/* ---------- 설정 — 시안 S1 ---------- */
.settings { max-width: 760px; display: flex; flex-direction: column; gap: 16px; }
.settings > .card, .settings > details.card { margin: 0; }
.src2 { gap: 12px; } .src2 .lrow-ic { width: 32px; height: 32px; }
.lrow-ic.warn { background: var(--warn-soft); } .lrow-ic.warn i { background: var(--warn); }
.warn-t { color: var(--warn-ink); } .ok-t { color: var(--proof-ink); font-weight: 600; }
/* 연동 고치기 팝업 — 칸마다 이름 · 아래 저장(아래로 펼치던 .src-more · .ct-more 를 팝업으로) */
.src-form { display: flex; flex-direction: column; gap: 16px; } .src-form .f { display: flex; flex-direction: column; gap: 8px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.src-form .f .in { width: 100%; font: inherit; font-size: 15px; font-weight: 500; color: var(--ink); } .src-form .seg { flex: none; } .danger-t { color: color-mix(in srgb, var(--danger) 80%, var(--ink)); }
.home > *, .home-grid .col > *, .settings > * { flex-shrink: 0; }   /* 넘침 숨김 카드가 줄어들어 기록 막대가 납작해지던 것 */

/* ---------- 나 — 시안 M1·M2 맞춤(명함 세 칸 · 인생 그래프 · 대표 사례 · 접힌 목록) ---------- */

.mebox { display: flex; flex-direction: column; gap: 12px; padding: 20px 24px; border-radius: var(--r-card); background: var(--surface-2); min-width: 0; }
section[aria-label="잘 다루는 것 · 하는 일"] .mebox, section[aria-label="일하는 스타일 카드"] .mebox { padding: 0; background: transparent; }
section[aria-label="잘 다루는 것 · 하는 일"] { gap: 24px; }
.mebox-h { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; color: var(--muted); }
.pf-name { font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.pf-role { color: var(--ink-2); }
.pf-quote { font-size: 17px; font-weight: 600; line-height: 1.55; }
.mebox .f { display: flex; flex-direction: column; gap: 8px; font-size: 15px; font-weight: 600; } .mebox textarea.in { height: auto; padding: 12px 12px; }
.tr-rows { display: flex; flex-direction: column; gap: 12px; }
.tr-row { display: flex; align-items: center; gap: 8px; } .tr-row b { font-weight: 600; }
.tr-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.tr-chip { padding: 12px 16px; border-radius: var(--r-ctl); border: 0; background: var(--bg); color: var(--ink); font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }
.tr-form { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; width: 100%; } .tr-form select.in { width: auto; }
.mix { display: flex; flex-direction: column; gap: 4px; }
.st-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; color: var(--ink); }
.st-row:hover { text-decoration: none; } .st-row b { font-weight: 600; }
.dots5 i.on { background: var(--accent); } .ring-bg { stroke: var(--line); }
.mesec { display: flex; flex-direction: column; gap: 16px; }
.pj-card { margin: 0; gap: 4px; }
.pj-head { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.pj-head b { font-size: 17px; }
.pj-list { display: flex; flex-direction: column; }
.pj-row { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(120px, 200px) auto; align-items: center; gap: 16px; padding: 16px 4px; border-bottom: 1px solid var(--line); cursor: pointer; border-radius: var(--r-md); }
.pj-row:last-child { border-bottom: 0; } .pj-row:hover { background: var(--surface-2); }
.pj-t { display: flex; gap: 8px; align-items: baseline; min-width: 0; } .pj-t b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pj-pin { color: var(--warn-ink); }
.pj-slots { display: flex; gap: 4px; } .pj-slots i { width: 10px; height: 10px; border-radius: var(--r-sm); background: var(--line); } .pj-slots i.on { background: var(--proof); }
.pj-slots i.na { background: none; position: relative; } .pj-slots i.na::after { content: ""; position: absolute; left: 1px; right: 1px; top: 4px; height: 2px; border-radius: var(--r-sm); background: var(--faint); }   /* 해당 없음 — 칸은 그대로 6 */
.bp-list { display: flex; flex-direction: column; gap: 12px; margin-top: 12px; }
.bp { border: 1px solid var(--line); border-radius: var(--r-card); padding: 16px 20px 8px; background: var(--surface); }
.bp.cand { background: var(--surface-2); border-style: dashed; padding-bottom: 12px; }
.bp-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding-bottom: 8px; }
.bp-t { display: flex; flex-direction: column; min-width: 0; } .bp-t b { font-size: 17px; } .bp-t small { font-size: 12px; }
.bp-cat { flex: none; } .bp-cat.c0 { background: var(--accent-soft); color: var(--accent); } .bp-cat.c1 { background: var(--proof-soft); color: var(--proof-ink); } .bp-cat.c2 { background: var(--warn-soft); color: var(--warn-ink); }
.bp .pj-list { margin: 0 -8px; } .bp .pj-row { padding: 12px 8px; } .bp .pj-row:first-child { border-top: 1px solid var(--line); }
.bp-peek { margin-top: 2px; text-align: left; } .bp-docs > summary { cursor: pointer; padding: 2px 0; } .bp-doclist { list-style: none; margin: 8px 0 4px; padding: 0; display: flex; flex-direction: column; gap: 8px; } .bp-doclist li { display: flex; flex-direction: column; gap: 2px; min-width: 0; overflow-wrap: anywhere; font-size: 15px; } .bp-doclist small { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; } .bp-loose { gap: 8px; flex-wrap: wrap; margin: 2px 0 8px; }
.pj-miss { text-align: left; } .ok-t { color: var(--proof-ink); font-weight: 600; }
.pj-empty { padding: 20px 4px; }
@media (max-width: 640px) { .pj-row { grid-template-columns: minmax(0, 1fr) auto; gap: 8px 12px; } .pj-miss { grid-column: 1; } .pj-row > .linkbtn { grid-row: 1; grid-column: 2; } .pj-slots { grid-row: 2; grid-column: 2; } }
.pill { padding: 2px 8px; border-radius: 999px; background: var(--bg); color: var(--ink-2); font-size: 12px; } .pill.warn { background: var(--warn-soft); color: var(--warn-ink); font-weight: 600; }   /* details.card.fold 의 baseline 을 이긴다 — 제목이 위로 붙던 것 */
   /* 닫힌 칸에 칸 사이 간격이 아래 빈칸으로 남던 것 */
   /* 접힌 칸은 한 줄 높이(S6) */

.aiview .kv { grid-template-columns: 88px minmax(0, 1fr); }
.ev.picked { cursor: default; } .ev.picked .t { text-align: left; color: var(--ink); }
.ev.picked { grid-template-columns: minmax(0, 1fr) auto auto auto; } .ev.picked[hidden] { display: none; } .ev.picked .pk-drop { white-space: nowrap; }
@media (max-width: 640px) { .ev.picked { grid-template-columns: minmax(0, 1fr) auto auto; } .ev.picked .date { display: none; } }

/* ---------- 넓은 화면 — 본문이 화면 폭을 따라 늘어난다(최대 1600, 양옆 여백은 폭에 비례) ---------- */
main { max-width: 1920px; padding-left: clamp(16px, 2.5vw, 48px); padding-right: clamp(16px, 2.5vw, 48px); }
.home.wide { max-width: none; }
.settings { max-width: 960px; }

/* ---------- 설정 탭 · 연결(docs/adr/0001) ---------- */
.tabbar { display: flex; gap: 4px; padding: 4px; border-radius: var(--r-ctl); background: var(--surface); overflow-x: auto; scrollbar-width: none; flex-shrink: 0; }
.tabbar::-webkit-scrollbar { display: none; }
.tabbar button { flex: 1 0 auto; min-height: 40px; padding: 0 16px; border: 0; border-radius: var(--r-ctl); background: transparent; color: var(--muted); font: inherit; font-weight: 600; cursor: pointer; white-space: nowrap; }
.tabbar button[aria-selected="true"] { background: var(--ink); color: var(--surface); }
.wp { display: flex; flex-direction: column; gap: 8px; padding-top: 16px; margin-top: 8px; border-top: 1px solid var(--bg); }
.leave { display: flex; flex-direction: column; gap: 12px; width: 100%; }
.leave .seg { align-self: flex-start; flex-wrap: wrap; } .leave .in { height: 44px; }
.upcard { display: flex; flex-direction: column; gap: 12px; padding: 16px; border-radius: var(--r-card); background: var(--surface-2); }
.upcard + .upcard { margin-top: 12px; }
.up-h { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.upcard textarea.in { height: auto; padding: 12px 12px; background: var(--surface); }
.upcard .in { background: var(--surface); }
.guide { display: flex; flex-direction: column; gap: 12px; } .guide code { overflow-wrap: anywhere; }

/* ---------- 연결 — 시안 L1(타일 격자 · 회사 카드 · 올리기 시트) ---------- */
.connect { display: flex; flex-direction: column; gap: 16px; }   /* 설정의 다른 쪽과 같은 간격 · 머리(s-head) */
.s-head-act { display: flex; align-items: flex-end; gap: 12px; flex-wrap: wrap; }
.connect > *, .settings2 > * { flex-shrink: 0; margin: 0; }
.connect .hello { flex-wrap: wrap; gap: 12px; }
.cstrip { gap: 8px; padding: 16px 20px; } .cstrip .row { gap: 12px; flex-wrap: wrap; }
.cs-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--proof); box-shadow: 0 0 0 4px var(--proof-soft); flex: none; }
.cstrip.warn .cs-dot { background: var(--warn); box-shadow: 0 0 0 4px var(--warn-soft); }
.cs-list { margin: 0; padding-left: 24px; font-size: 15px; color: var(--ink-2); }
.csec { display: flex; flex-direction: column; gap: 12px; }
.csec-h { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; } .csec-h h2 { margin: 0; font-size: 22px; font-weight: 800; }
.tiles2 { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); gap: 12px; }
.ctile { display: flex; flex-direction: column; gap: 16px; padding: 20px; border-radius: var(--r-card); background: var(--surface); min-width: 0; }
.cco .ctile { background: var(--surface-2); }
.ct-h { display: flex; align-items: center; gap: 12px; }
.ct-ic { width: 44px; height: 44px; border-radius: var(--r-ctl); background: var(--bg); color: var(--ink-2); display: grid; place-items: center; font-weight: 800; font-size: 15px; flex: none; }
.ct-ic.acc { background: var(--accent-soft); color: var(--accent); } .ct-ic.warn { background: var(--warn-soft); color: var(--warn-ink); } .ct-ic.dark { background: var(--ink); color: var(--surface); }
.ctile.ok .ct-ic { background: var(--accent-soft); color: var(--accent); }
.ct-t { flex: 1; min-width: 0; display: flex; flex-direction: column; } .ct-t b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .ct-t small { color: var(--muted); font-size: 13px; }
.ct-st { display: flex; align-items: center; gap: 8px; font-size: 13px; flex-wrap: wrap; min-height: 36px; }
.ct-st i { width: 8px; height: 8px; border-radius: 50%; background: var(--faint); flex: none; }
.ctile.ok .ct-st i { background: var(--proof); } .ctile.ok .ct-st b { color: var(--proof-ink); }
.ctile.warn .ct-st i { background: var(--warn); } .ctile.warn .ct-st b { color: var(--warn-ink); }
.ct-st .muted { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; flex: 1 1 120px; }
.cco { gap: 16px; } .cco-h { gap: 12px; flex-wrap: wrap; }
.upgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); gap: 12px; }
.uptile { flex-direction: row; align-items: center; gap: 16px; border: 0; font: inherit; color: var(--ink); text-align: left; cursor: pointer; margin: 0; }
.uptile:active { transform: scale(.98); }
.csheet { max-width: 720px; margin: 0 auto; max-height: 88vh; overflow: auto; display: flex; flex-direction: column; gap: 16px; }
@media (min-width: 721px) { .csheet { left: 50%; right: auto; bottom: auto; top: 8vh; transform: translateX(-50%); width: min(720px, 92vw); border-radius: var(--r-card); } .csheet .grab { display: none; } }
.addrow { align-items: flex-start; padding: 12px 0; } .addrow .how { white-space: normal; overflow-wrap: anywhere; margin-top: 2px; }
.addrow .lrow-t b { white-space: normal; }

/* ---------- 설정 — 시안 S1(PC 왼쪽 하위 메뉴 · 휴대폰 위 탭) ---------- */
.settings2 { display: flex; flex-direction: column; gap: 16px; }
.s-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.s-side { display: none; }
.s-body { display: flex; flex-direction: column; gap: 16px; min-width: 0; } .s-body > * { margin: 0; flex-shrink: 0; }
@media (min-width: 961px) {
  .s-grid { grid-template-columns: 240px minmax(0, 1fr); align-items: start; gap: 24px; }
  .s-side { display: flex; flex-direction: column; gap: 4px; padding: 12px; margin: 0; position: sticky; top: 24px; }
}
.s-item { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 12px 16px; border: 0; border-radius: var(--r-ctl); background: transparent; color: var(--ink); font: inherit; text-align: left; cursor: pointer; }
.s-item small { font-size: 12px; color: var(--muted); }
.s-item[aria-current="page"] { background: var(--bg); } .s-item:hover { background: var(--surface-2); text-decoration: none; }
.s-link b { color: var(--accent); }
@media (max-width: 520px) { .tiles2 { grid-template-columns: minmax(0, 1fr); gap: 8px; } .ctile { gap: 8px; padding: 16px 16px; } .ct-ic { width: 40px; height: 40px; } .ct-st { min-height: 0; } }

/* 설정 — 포털형(왼쪽 메뉴가 설정 하위 메뉴로 · 한 항목 한 쪽) */
.s-head h1 { font-size: 28px; line-height: 38px; margin: 0; letter-spacing: -.02em; } .s-head .lede { margin: 8px 0 0; color: var(--muted); }
.s-body .card > .card-h:first-child { margin: -4px 0 16px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.s-back { display: flex; align-items: center; gap: 12px; margin: 4px 0 8px; padding: 8px 8px; border-radius: var(--r-ctl); color: var(--ink); font-weight: 700; font-size: 17px; }
.s-back:hover { text-decoration: none; background: var(--bg); }
.s-back-ic, .snav-ic { flex: none; width: 34px; height: 34px; border-radius: var(--r-ctl); display: grid; place-items: center; background: var(--bg); color: var(--ink-2); }
.snav a { height: 46px; gap: 12px; padding: 0 8px; font-weight: 500; }
.snav a[aria-current="page"] { background: var(--accent-soft); color: var(--accent); font-weight: 700; }
.snav a[aria-current="page"] .snav-ic { background: var(--accent); color: var(--on-accent); }
body.side-mini .s-back, body.side-mini .snav a { justify-content: center; padding: 0; width: 44px; }
@media (max-width: 1024px) { .s-back, .snav a { justify-content: center; padding: 0; width: 44px; } }

.cs-pop .csetup { background: transparent; padding: 0; margin: 0; border: 0; box-shadow: none; } .cs-pop .csetup > .card-h { display: none; }   /* 팝업 제목과 겹치는 안쪽 제목은 숨긴다 */
.acct-cards { display: flex; flex-direction: column; gap: 16px; } .acct-cards > * { margin: 0; }
.acct-card { gap: 0; padding: 28px 32px; }
.acct-h { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; } .acct-h h2 { margin: 0; font-size: 22px; }
.acct-row { display: grid; grid-template-columns: 160px minmax(0, 1fr) auto; align-items: center; gap: 16px; min-height: 64px; padding: 8px 0; }
.acct-k { color: var(--ink-2); font-weight: 600; } .acct-v { font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .acct-v.muted { color: var(--muted); } .acct-v.wrap { white-space: normal; overflow: visible; }   /* 문서 주소 셋처럼 줄바꿈해도 되는 값 */
.acct-set { min-width: 64px; background: var(--surface); border: 1px solid var(--line); }
.acct-edit { grid-column: 2 / 4; display: flex; gap: 8px; align-items: center; } .acct-edit .in { flex: 1; min-width: 0; }
.acct-ava { width: 64px; height: 64px; border-radius: var(--r-card); background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-size: 28px; font-weight: 800; justify-self: start; }
.acct-foot { margin: 0; }
@media (max-width: 640px) { .acct-card { padding: 20px; } .acct-row { grid-template-columns: 88px minmax(0, 1fr) auto; gap: 12px; } .acct-edit { grid-column: 1 / 4; } }

/* 나 — 머리 한 장 + 탭(docs/ME-PROJECTS.md). 접기 목록 대신 탭 · 카드 */
.mepage2 { display: flex; flex-direction: column; gap: 16px; } .mepage2 > * { margin: 0; flex-shrink: 0; }   /* 원이 칸(64 · 휴대폰 48)을 넘어 글을 덮던 것 */
 .proof-t { color: var(--proof-ink) !important; }
.me-tabs { display: flex; gap: 4px; min-width: 0; max-width: 100%; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 4; background: var(--bg); overflow-x: auto; scrollbar-width: none; }
.me-tabs a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; margin: 4px 0; border-radius: 999px; color: var(--muted); font-weight: 600; white-space: nowrap; border-bottom: 0; transition: background .2s, color .2s; }   /* v8: 알약 탭 */
.me-tabs a:hover { text-decoration: none; color: var(--ink); background: var(--surface-2); } .me-tabs a[aria-selected="true"] { color: var(--ink); background: var(--surface); box-shadow: 0 0 0 1px var(--line), var(--shadow); }
.me-tabs .num { font-size: 12px; color: var(--muted); font-weight: 600; }
.ov, .selftab { display: flex; flex-direction: column; gap: 16px; } .ov > *, .selftab > * { margin: 0; }
.ov-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; } .ov-two > * { margin: 0; }
.todo { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.todo li { display: flex; align-items: center; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); } .todo li:first-child { border-top: 0; }
.flow { display: flex; flex-direction: column; }
.flow-row { display: grid; grid-template-columns: 170px minmax(0, 1fr) auto 16px; align-items: center; gap: 16px; padding: 12px 8px; border-top: 1px solid var(--line); color: var(--ink); border-radius: var(--r-md); }
.flow-row:first-child { border-top: 0; } .flow-row:hover { text-decoration: none; background: var(--surface-2); }
.flow-when { color: var(--muted); font-size: 13px; } .flow-what { display: flex; flex-direction: column; min-width: 0; } .flow-what small { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.flow-n { color: var(--muted); font-size: 13px; } .flow-n b { color: var(--ink); }
.recs-bar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.recs-q .in { height: 34px; width: 220px; }
.recs-more { align-self: center; margin-top: 12px; }
.p3-stale { gap: 12px; padding: 12px 12px; border-radius: var(--r-ctl); background: var(--warn-soft); margin-bottom: 8px; }
.mresume { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin: 0; background: var(--accent-soft); } .mresume > div { flex: 1; min-width: 220px; }
.pj-act { display: flex; gap: 12px; } .pj-act .linkbtn { padding: 12px 2px; }   /* 누를 곳 높이 */
.pj-legend { margin: -8px 0 0; display: flex; align-items: center; gap: 4px; flex-wrap: wrap; } .pj-legend .pj-slots { display: inline-flex; }
.bp-cat.cx { background: var(--surface-2); color: var(--muted); border: 1px dashed var(--line); } .evhead .linkbtn, .evhead button { white-space: nowrap; }
.recs-bar .chip { height: 32px; padding: 0 12px; border-radius: 999px; border: 0; background: var(--bg); color: var(--ink-2); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; } .recs-bar .chip.on { background: var(--warn-soft); color: var(--warn-ink); }
.recs-mh { padding: 16px 4px 8px; font-weight: 700; font-size: 15px; position: sticky; top: 46px; background: var(--surface); z-index: 1; }
.rec-main { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-width: 0; border: 0; background: none; padding: 0; font: inherit; color: var(--ink); text-align: left; cursor: pointer; }
.rec-main b { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .rec-main small { color: var(--muted); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.self-box > .mebox { background: transparent; padding: 0; }   /* 카드 안 회색 상자 두 겹 없애기 */
.me-embed .skpage > a.small:first-child { display: none; } .me-embed .skpage .hello h1 { font-size: 22px; }
@media (max-width: 900px) { .ov-two { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) {
  .me-tabs a { padding: 12px 12px; }
  .flow-row { display: flex; flex-wrap: wrap; gap: 2px 12px; } .flow-what { flex-basis: 100%; order: -1; } .flow-row .chev { display: none; }
  .recs-q { flex-basis: 100%; }
  .recs-q .in { width: 100%; }
}

/* ---------- 준비 목록 — 시안 P1 ---------- */
.preplist { display: flex; flex-direction: column; gap: 28px; } .preplist > * { margin: 0; flex-shrink: 0; }
.psec { display: flex; flex-direction: column; gap: 12px; } .psec h2 { margin: 0; font-size: 17px; font-weight: 800; } .psec > .row { gap: 12px; align-items: baseline; flex-wrap: wrap; }   /* 준비 목록 카드만 — 왼쪽 메뉴 계정 칸(.pcard)의 여백을 덮어 안쪽으로 줄던 것 */
 .pcard .dday { color: var(--warn-ink); font-size: 22px; }
.pc-title { font-size: 17px; }
.dots3 { display: inline-flex; gap: 4px; flex: none; } .dots3 i { width: 8px; height: 8px; border-radius: 50%; background: var(--line); } .dots3 i.on { background: var(--proof); }
.kgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(200px, 100%), 1fr)); gap: 12px; }
.ktile { margin: 0; gap: 4px; min-height: 100px; color: var(--ink); } .ktile:hover { text-decoration: none; }
.ktile .ct-ic { width: 40px; height: 40px; font-size: 12px; margin-bottom: 8px; } .ktile small { color: var(--ink-2); font-size: 13px; }
.plist { padding: 4px 20px; margin: 0; } .prow { padding: 16px 0; border-top: 1px solid var(--bg); gap: 8px; flex-wrap: wrap; } .prow:first-child { border-top: 0; }
.prow a { color: var(--ink); } .react { flex: 1 1 280px; flex-wrap: nowrap; }

/* ---------- 준비 상세 — 시안 P3(머리 · 탭 셋 · 초안 + 오른쪽 확인할 것) ---------- */
.pdetail { display: flex; flex-direction: column; gap: 20px; } .pdetail > * { margin: 0; flex-shrink: 0; }
.p3-head { display: flex; align-items: flex-end; gap: 16px; flex-wrap: wrap; } .p3-head > div { flex: 1; min-width: 0; }
.p3-head h2.big { margin: 2px 0 0; font-size: 28px; font-weight: 800; }
.p3-dd { font-size: 28px; color: var(--warn-ink); font-variant-numeric: tabular-nums; }
.ptabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.ptabs button { min-height: 44px; padding: 0 16px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: var(--muted); font: inherit; cursor: pointer; white-space: nowrap; }
.ptabs button[aria-selected="true"] { border-bottom-color: var(--ink); color: var(--ink); font-weight: 700; }
.p3 { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; align-items: start; }
@media (min-width: 1100px) { .p3 { grid-template-columns: minmax(0, 1fr) 320px; } }
.p3-doc { margin: 0; padding: 28px 32px; gap: 16px; } @media (max-width: 520px) { .p3-doc { padding: 20px 20px; } }
.p3-side { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 16px; } .p3-side > .card { margin: 0; }
.p3-warn { background: var(--warn-soft); gap: 8px; } .p3-warn b { color: var(--warn-ink); }
.p3-out { gap: 12px; } .p3-out .btn { width: 100%; }
.md { display: flex; flex-direction: column; gap: 8px; line-height: 1.65; overflow-wrap: anywhere; }
.md h2 { font-size: 17px; font-weight: 800; margin: 16px 0 2px; } .md h3 { font-size: 15px; margin: 12px 0 0; } .md p { margin: 0; }
.md .li { padding-left: 16px; position: relative; } .md .li::before { content: "·"; position: absolute; left: 2px; color: var(--muted); } .md .li.sub { padding-left: 28px; color: var(--ink-2); font-size: 15px; } .md .li.sub::before { left: 16px; }

/* ---------- 폼 공통 — 칸 높이 맞춤 · 카드 밖으로 안 나가게 · 파일 고르기 단추 ---------- */
.form, .form label, .form .row, .form > * { min-width: 0; }
.grid2 { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: end; }   /* 설명 줄이 있는 칸도 입력칸 아래끝을 맞춘다 */
@media (max-width: 560px) { .grid2 { grid-template-columns: minmax(0, 1fr); } }
.form p, .card p, .sheet p { overflow-wrap: anywhere; }
input.in[type="file"] { height: auto; min-height: 48px; padding: 8px; display: flex; align-items: center; color: var(--ink-2); font-size: 15px; cursor: pointer; }
input[type="file"]::file-selector-button { margin-right: 12px; padding: 0 16px; height: 36px; border: 0; border-radius: var(--r-ctl); background: var(--ink); color: var(--surface); font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }
input[type="file"]:not(.in) { max-width: 100%; font-size: 13px; color: var(--ink-2); }
.csheet .upcard { background: transparent; padding: 0; } .csheet .up-h { display: none; }   /* 시트 제목과 겹치는 안쪽 제목은 숨긴다 */
.csheet .in, .csheet textarea.in, .csheet .upcard .in { background: var(--surface-2); }

/* ---------- 이번 주 한 장 — 시안 W1(한 장 카드 · 고치기 모드 · 아래 단추) ---------- */
/* 폭 제한(760px)을 풀어 본문 폭을 채운다 — 넓은 화면에서 오른쪽 300px 이 비던 것(화면 점검 11-23 16번, DESIGN-v7 원칙 5) */
.weekly { display: flex; flex-direction: column; gap: 16px; } .weekly > * { margin: 0; flex-shrink: 0; }
.wk-nav { gap: 8px; } .wk-title h1 { font-size: 28px; line-height: 35px; margin: 2px 0 0; letter-spacing: -.02em; }
.wk-sheet { gap: 20px; padding: 24px 20px; } .wk-sheet hr { border: 0; border-top: 1px solid var(--bg); margin: 0; width: 100%; }
.wk-part { display: flex; flex-direction: column; gap: 12px; }
.wk-k { font-size: 13px; font-weight: 700; color: var(--muted); } .wk-k.acc { color: var(--accent); } .wk-k.warn { color: var(--warn-ink); }
.wk-done { display: flex; align-items: flex-start; gap: 12px; }
.wk-dot { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; flex: none; margin-top: 2px; background: var(--bg); }
.wk-dot i { width: 7px; height: 7px; border-radius: 50%; } .wk-dot.confirmed { background: var(--proof-soft); } .wk-dot.confirmed i { background: var(--proof); }
.wk-dot.stated i { border: 1.5px solid var(--proof); box-sizing: border-box; } .wk-dot.ai i { border: 1.5px dashed var(--muted); box-sizing: border-box; }
.wk-t { flex: 1; min-width: 0; text-align: left; font-size: 15px; color: var(--ink); overflow-wrap: anywhere; }
.wk-src { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 12px 16px; border-radius: var(--r-ctl); background: var(--surface-2); }
.wk-bar { display: flex; gap: 8px; }
.wk-bar .btn { min-height: 56px; border-radius: var(--r-card); font-size: 17px; font-weight: 700; } .wk-bar .btn:first-child { flex: 1; } .wk-bar .btn.primary { flex: 2; }
@media (max-width: 960px) { .wk-bar { position: sticky; bottom: calc(72px + env(safe-area-inset-bottom)); z-index: 5; padding: 12px 0 4px; background: var(--bg); } }

/* ---------- 사건 시트 — 시안 E1(큰 수치 · 증명 줄 그 자리 채우기 · 한마디 ＋더하기 · 근거 한 줄) ---------- */
.evsheet { background: var(--bg); gap: 12px; } .evsheet > .card { margin: 0; }
.evhero { display: flex; flex-direction: column; gap: 12px; padding: 4px 4px 8px; }
.evhero h3 { font-size: 22px; line-height: 1.35; font-weight: 800; }
.evbig { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; } .evbig > b { font-size: 28px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; overflow-wrap: anywhere; }
.proofchip { padding: 2px 8px; border-radius: 999px; background: var(--proof-soft); color: var(--proof-ink); white-space: nowrap; } .proofchip b { font-size: 13px; }
.evkv { padding: 8px 20px; gap: 0; }
.kvrow { padding: 12px 0; border-top: 1px solid var(--bg); } .kvrow:first-child { border-top: 0; }
.kvrow > .row { flex-wrap: nowrap; gap: 12px; align-items: baseline; }
.kv-l { color: var(--muted); font-size: 15px; flex: none; } .kv-v { text-align: right; min-width: 0; overflow-wrap: anywhere; }
.kv-fill { color: var(--accent); font-weight: 700; white-space: nowrap; }
.kvrow .askrow { margin-top: 12px; }
.btn.soft { background: var(--accent-soft); color: var(--accent); border-color: transparent; font-weight: 700; }
.evsheet .notes { background: var(--surface); padding: 20px; } .evsheet .notes > .row { gap: 8px; align-items: baseline; }
.evi { padding: 8px 20px; } .evi-sum { min-height: 64px; } .evi-sum .lrow-ic i { background: var(--ink-2); }
.proofchip { flex: none; } .evhead > .small.muted { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- 준비 만들기 — 시안 P2(걸음 표시 · ③ 근거 고르기) ---------- */
.psteps { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; }
.psteps li { padding: 8px 12px; border-radius: 999px; background: var(--surface); color: var(--muted); }
.psteps li.done { background: var(--proof-soft); color: var(--proof-ink); font-weight: 600; } .psteps li.cur { background: var(--ink); color: var(--surface); font-weight: 700; }
.p2 { display: flex; flex-direction: column; gap: 20px; } .p2 > * { flex-shrink: 0; margin: 0; }
.p2-head { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding: 12px 16px; border-radius: var(--r-card); background: var(--surface); }
.p2-t { flex: 1; min-width: 200px; display: flex; flex-direction: column; } .p2-t b { font-size: 17px; }
.p2-body { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; align-items: start; }
@media (min-width: 961px) { .p2-body { grid-template-columns: 280px minmax(0, 1fr); } .p2-crit { position: sticky; top: 16px; } }
.p2-crit { display: flex; flex-direction: column; gap: 8px; }
.p2-c { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 52px; padding: 8px 16px; border-radius: var(--r-ctl); border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; text-align: left; cursor: pointer; }
.p2-c.on { background: var(--ink); color: var(--surface); border-color: var(--ink); font-weight: 700; } .p2-c.on .dots3 i:not(.on) { background: color-mix(in srgb, var(--surface) 30%, transparent); }
.p2-ct { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.p2-main { display: flex; flex-direction: column; gap: 12px; min-width: 0; } .p2-main h1 { font-size: 22px; margin: 0; } .p2-main .lede { margin: 0; }
.p2-ev { margin: 0; flex-direction: row; align-items: flex-start; gap: 16px; cursor: pointer; border: 2px solid transparent; }
.p2-ev.on { border-color: var(--ink); } .p2-ev input { width: 20px; height: 20px; margin-top: 4px; flex: none; accent-color: var(--accent); }
.p2-evb { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; } .p2-evb b { font-size: 17px; } .p2-evb .chips { gap: 8px; flex-wrap: wrap; }
.p2-warn { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 12px 12px; border-radius: var(--r-ctl); background: var(--warn-soft); color: var(--ink-2); font-size: 13px; }
.p2-more { margin: 0; gap: 12px; border: 1px dashed var(--line); } .p2-more .row { flex-wrap: wrap; gap: 8px; }
.p2-foot { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 16px 16px; border-radius: var(--r-card); background: var(--surface); }
.p2-foot .small { flex: 1; text-align: center; min-width: 160px; }
@media (max-width: 960px) { .p2-foot { position: sticky; bottom: calc(72px + env(safe-area-inset-bottom)); z-index: 5; } }
.evsub { margin-top: -8px; overflow-wrap: anywhere; }

/* ---------- 상태(X1) — 오프라인 한 줄 ---------- */
.offbar { position: sticky; top: 8px; z-index: 30; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: var(--r-ctl); background: #191F28; color: #FFFFFF; font-size: 15px; }
.offbar > i { width: 8px; height: 8px; border-radius: 50%; background: var(--warn); flex: none; }
.offbar > span { flex: 1; min-width: 0; }
.offbar .btn { color: #FFFFFF; border-color: rgba(255,255,255,.3); background: transparent; }
:root[data-theme="dark"] .offbar { background: var(--surface-2); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .offbar { background: var(--surface-2); } }

/* ---------- 설정 › AI(S2) — 세부 설정 · 일지 거르기 ---------- */
.tunes { display: flex; flex-direction: column; }
.tune { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.tune-d { flex: 1; min-width: 0; font-size: 15px; }
.tune-v { display: inline-flex; align-items: center; gap: 8px; } .tune-v .in { width: 76px; height: 40px; text-align: right; } .tune-v .small { width: 14px; }
.tune-r { width: 60px; text-align: right; }
@media (max-width: 520px) { .tune { flex-wrap: wrap; } .tune-d { flex-basis: 100%; } .tune-r { margin-left: auto; } }
.row.chips { flex-wrap: wrap; gap: 8px; }
.row.chips .chip, .chips .chip { height: 32px; padding: 0 12px; border-radius: 999px; border: 0; background: var(--surface-2); color: var(--ink-2); font: inherit; font-size: 13px; cursor: pointer; }
.chips .chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); font-weight: 700; }
.chips .chip.made { outline: 1px dashed var(--muted); outline-offset: -1px; }   /* 설정 › 가릴 이름: 떼어 만든 이름(눌러서 빼기) */
.mask-chips span.chip { display: inline-flex; align-items: center; cursor: default; }   /* 단추 칩(점선)과 같은 높이 */
.opk { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 999px; background: var(--surface-2); color: var(--ink-2); font-size: 12px; font-weight: 600; flex: none; }
.opk.warn { background: var(--warn-soft); color: var(--warn-ink); }

/* ---------- 잘 다루는 것 정리(M3) ---------- */
.skpage { display: flex; flex-direction: column; gap: 16px; }
.skgrid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 380px); gap: 20px; align-items: start; }
.skgrid > .col { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
@media (max-width: 960px) { .skgrid { grid-template-columns: minmax(0, 1fr); } }
.skrow { display: grid; grid-template-columns: minmax(0, 1.4fr) 64px minmax(0, 1.6fr) 36px 48px; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); color: inherit; text-decoration: none; }
.skrow.head { border-top: 0; padding: 0; font-weight: 600; color: var(--muted); }
.skrow .r { text-align: right; } .skrow b { overflow-wrap: anywhere; }
.skrow.loose { color: var(--muted); } .skrow.loose > span:first-child { overflow-wrap: anywhere; }
a.skrow:hover b { color: var(--accent); }
@media (max-width: 520px) { .skrow.head { display: none; } .skrow { grid-template-columns: minmax(0, 1fr) 36px; } .skrow > :nth-child(2), .skrow > :nth-child(5) { display: none; } .skrow > .gbar2 { grid-column: 1 / -1; grid-row: 2; } }
.sk-tools { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; padding-bottom: 8px; }
.sk-more { margin-top: 8px; align-self: flex-start; }
.sk-loose { margin-top: 12px; border-top: 1px solid var(--line); padding-top: 12px; } .sk-loose > summary { cursor: pointer; padding: 4px 0; }
.sk-ignd > summary { cursor: pointer; padding: 4px 0; } .sk-ignd[open] > summary { margin-bottom: 12px; }
.sk-pick { align-items: center; }
.skchip { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 999px; background: var(--surface-2); color: var(--ink-2); font-size: 12px; font-weight: 600; justify-self: start; }
.gbar2 { display: flex; height: 8px; border-radius: var(--r-sm); overflow: hidden; background: var(--surface-2); }
.gbar2 i { display: block; height: 100%; } .gbar2 .c, .sk-legend .c { background: var(--proof); } .gbar2 .s, .sk-legend .s { background: color-mix(in srgb, var(--proof) 45%, var(--surface)); } .gbar2 .a, .sk-legend .a { background: var(--faint); }
.sk-legend { display: inline-flex; gap: 12px; flex-wrap: wrap; } .sk-legend i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 4px; }
.sk-props { display: flex; flex-direction: column; }
.sk-prop { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-top: 1px solid var(--line); cursor: pointer; }
.sk-prop input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--accent); flex: none; }
.sk-prop > span { min-width: 0; overflow-wrap: anywhere; }
.sk-ign { display: flex; flex-direction: column; gap: 8px; border-top: 1px solid var(--line); padding-top: 12px; }
.sk-empty { background: var(--surface-2); border: 1px dashed var(--faint); }

/* ---------- 준비 상세 · 받은 반응(P4) ---------- */
.p4 { display: flex; flex-direction: column; gap: 16px; }
.p4.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 380px); gap: 20px; align-items: start; }
.p4 .col { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
@media (max-width: 960px) { .p4.two { grid-template-columns: minmax(0, 1fr); } }
.retro { display: flex; flex-direction: column; gap: 16px; }
.retro label { display: flex; flex-direction: column; gap: 8px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.retro label .muted { font-weight: 400; }
.retro textarea.in { height: auto; padding: 12px 12px; resize: vertical; }
.retro-list { display: flex; flex-direction: column; gap: 2px; border-top: 1px solid var(--line); padding-top: 12px; }
.retro-row { display: flex; align-items: center; gap: 12px; padding: 8px 0; border: 0; background: none; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.retro-row b { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.todo-q { display: flex; flex-direction: column; gap: 8px; padding: 12px 0; border-top: 1px solid var(--line); }
.todo-q > b { font-size: 15px; overflow-wrap: anywhere; }
.todo-a { font-size: 15px; color: var(--ink-2); background: var(--surface-2); border-radius: var(--r-ctl); padding: 12px 12px; overflow-wrap: anywhere; }
.prac { display: flex; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); font-size: 15px; }
.prac-s { flex: 1; min-width: 0; color: var(--ink-2); overflow-wrap: anywhere; }
.vers { display: flex; flex-direction: column; gap: 12px; border-top: 1px solid var(--line); padding-top: 12px; }
.diff { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; line-height: 1.7; background: var(--surface-2); border-radius: var(--r-ctl); padding: 12px 16px; max-height: 420px; overflow: auto; }
.diff > div { white-space: pre-wrap; overflow-wrap: anywhere; padding: 0 4px; }
.diff .add { background: var(--proof-soft); color: var(--proof-ink); } .diff .del { background: color-mix(in srgb, var(--danger) 12%, var(--surface)); color: var(--danger-ink); } .diff .ctx { color: var(--muted); }
.imp { display: flex; flex-direction: column; gap: 4px; margin-top: 12px; }
.imp-row { border-top: 1px solid var(--line); padding-top: 8px; } .imp-t { min-width: 0; overflow-wrap: anywhere; }
.outq { display: flex; flex-direction: column; gap: 8px; }
.outq label { display: flex; flex-direction: column; gap: 8px; font-size: 13px; font-weight: 600; color: var(--ink-2); } .outq label .muted { font-weight: 400; }
.outq textarea.in { height: auto; padding: 12px 12px; resize: vertical; }
.ev.outrow { display: flex; align-items: center; gap: 12px; background: none; } .outrow .t { flex: 1; min-width: 0; cursor: pointer; } .outrow .t:hover { color: var(--accent); }
@media (max-width: 520px) { .ev.outrow { flex-wrap: wrap; } .outrow .t { flex-basis: 100%; } }

/* ---------- 나와 맞는 곳(M4) ---------- */
.fitpage { display: flex; flex-direction: column; gap: 16px; }
.fitgrid { display: grid; grid-template-columns: minmax(300px, 400px) minmax(0, 1fr); gap: 20px; align-items: start; }
.fitgrid > .col { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
@media (max-width: 960px) { .fitgrid { grid-template-columns: minmax(0, 1fr); } }
.fcond { display: flex; flex-direction: column; gap: 4px; padding: 12px 0; border-top: 1px solid var(--line); }
.fcond-t { flex: 1; min-width: 0; font-weight: 700; color: var(--ink); text-decoration: none; overflow-wrap: anywhere; } .fcond-t:hover { color: var(--accent); }
.fgrade { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 600; color: var(--proof-ink); }
.fgrade i { width: 7px; height: 7px; border-radius: 50%; box-sizing: border-box; } .fgrade.c i { background: var(--proof); } .fgrade.s i { border: 1.5px solid var(--proof); } .fgrade.a { color: var(--muted); } .fgrade.a i { border: 1px dashed var(--muted); border-radius: var(--r-sm); }
.ftypes { background: var(--surface-2); border: 1px dashed var(--faint); }
.fcrit { display: flex; gap: 8px; align-items: center; padding: 8px 0; border-top: 1px solid var(--line); }
.fcrit-t { flex: 1; min-width: 0; overflow-wrap: anywhere; border: 0; background: none; font: inherit; color: inherit; text-align: left; padding: 8px 0; cursor: text; border-radius: var(--r-md); } .fcrit-t:hover { background: var(--surface-2); }
.fcrit-in { flex: 1; min-width: 0; height: 40px; }
.fmust { border: 0; cursor: pointer; font: inherit; font-size: 12px; } .fmust.on { background: var(--ink); color: var(--bg); }
.fcands .st-detail .fcand { border: 0; padding: 0; background: none; }   /* 살펴보는 곳 두 칸(11-21) — 오른쪽 칸이 이미 카드라 카드 안 카드가 되지 않게 */
.fc-item { color: inherit; } .fc-item:hover { text-decoration: none; } .fc-item .fscore { flex: none; font-weight: 700; font-variant-numeric: tabular-nums; }
.fcand { display: flex; flex-direction: column; gap: 8px; padding: 16px 20px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--surface); min-width: 0; }
.fcand-h { flex-wrap: wrap; gap: 8px; align-items: baseline; } .fcand-h > b { font-size: 17px; overflow-wrap: anywhere; }
.fscore { color: var(--accent); font-size: 15px; } .fscore.bad { color: var(--danger-ink); }
.fmark-row { display: flex; gap: 12px; align-items: center; font-size: 15px; } .fmark-row > span { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.fmark { width: 32px; height: 32px; border-radius: var(--r-md); border: 0; font: inherit; font-weight: 800; cursor: pointer; flex: none; }
.fmark.yes { background: var(--proof-soft); color: var(--proof-ink); } .fmark.no { background: color-mix(in srgb, var(--danger) 12%, var(--surface)); color: var(--danger-ink); } .fmark.q { background: var(--surface-2); color: var(--muted); }
.fhint { color: var(--ink-2); background: var(--surface-2); border-radius: var(--r-ctl); padding: 8px 12px; overflow-wrap: anywhere; }
.fadd { flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 12px; } .fadd .in { flex: 1 1 160px; min-width: 0; }
.ahead .fit-link { margin-top: 8px; }
.fpick { flex: none; white-space: nowrap; }
@media (max-width: 520px) { .kgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ktile { min-height: 0; } }
.kquick { margin-top: 12px; } .kquick a { font-weight: 600; }
.wline { display: flex; gap: 8px; margin-top: 8px; } .wline .in { flex: 1; min-width: 0; } .wline.big { flex-direction: column; } .wline.big textarea.in { height: auto; padding: 12px 12px; } .wline.big .btn { align-self: flex-end; }

/* ---------- 글자 크기(S1 화면 탭) — 화면 전체를 같은 비율로 ---------- */
:root[data-size="lg"] body { zoom: 1.1; }
:root[data-size="xl"] body { zoom: 1.2; }

/* ---------- 그 자리 시트(X2) ---------- */
@media (min-width: 641px) { .sheet.wide { width: min(760px, calc(100vw - 48px)); } .sheet.csheet { bottom: auto; top: 50%; transform: translate(-50%, -50%); border-radius: var(--r-card); max-height: 86vh; } }
.sheet-ask { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-radius: var(--r-ctl); background: var(--warn-soft); color: var(--ink); font-weight: 600; }
.btn.danger { background: var(--danger); color: #FFFFFF; border-color: transparent; }
.evlist { display: flex; flex-direction: column; }
.evline { display: flex; align-items: center; gap: 12px; padding: 12px 0; border: 0; border-top: 1px solid var(--line); background: none; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.evline-t { flex: 1; min-width: 0; overflow-wrap: anywhere; } .evline:hover .evline-t { color: var(--accent); }
.big-cta { height: 52px; border-radius: var(--r-card); font-size: 17px; font-weight: 700; width: 100%; }
.newprep { display: flex; flex-direction: column; gap: 16px; }
.np-name { display: flex; flex-direction: column; gap: 8px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.np-name input { border: 0; border-bottom: 2px solid var(--line); background: transparent; font: inherit; font-size: 22px; font-weight: 600; color: var(--ink); padding: 4px 0 8px; outline: none; }
.np-name input:focus { border-bottom-color: var(--accent); }
.np-when { display: flex; flex-direction: column; gap: 8px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.np-jd { display: flex; flex-direction: column; gap: 8px; font-size: 13px; font-weight: 600; color: var(--ink-2); } .np-jd .muted { font-weight: 400; } .np-jd textarea.in { height: auto; padding: 12px 12px; }
.np-crit { border: 0; background: var(--surface-2); border-radius: var(--r-ctl); padding: 12px 16px; font: inherit; font-size: 15px; color: var(--ink-2); text-align: left; cursor: pointer; overflow-wrap: anywhere; } .np-crit b { color: var(--accent); }
button.ktile { text-align: left; font: inherit; cursor: pointer; border: 0; }
.ready-head { font-size: 17px; font-weight: 700; color: var(--ink); }
.md-table { overflow-x: auto; margin: 8px 0 12px; } .md-table table { border-collapse: collapse; width: 100%; font-size: 15px; }
.md-table th, .md-table td { border-bottom: 1px solid var(--line); padding: 8px 12px; text-align: left; vertical-align: top; } .md-table th { color: var(--ink-2); font-weight: 700; background: var(--surface-2); }
.pk-drop { flex: none; white-space: nowrap; }
.p3-ai { display: flex; flex-direction: column; gap: 8px; border-top: 1px solid var(--line); padding-top: 12px; } .p3-ai .row { flex-wrap: wrap; gap: 8px; }
.steps-wrap { display: flex; flex-direction: column; gap: 8px; }
.steps li button { border: 0; background: none; font: inherit; color: inherit; cursor: pointer; padding: 0; }
.step-date { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); } .step-date .in { height: 36px; width: auto; }
.askrow .chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.kv-fill.soft { color: var(--muted); font-weight: 600; margin-left: 12px; }
.kvrow .kv-v { overflow-wrap: anywhere; text-align: right; min-width: 0; }
.trackchip { position: relative; }
.pill.track-work { background: var(--accent-soft); color: var(--accent); } .pill.track-side { background: var(--proof-soft); color: var(--proof-ink); } .pill.track-none { background: var(--surface-2); color: var(--muted); }
.trackchip > .pill { border: 0; font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; }
.trackpop { position: absolute; top: calc(100% + 6px); left: 0; z-index: 5; display: flex; flex-direction: column; min-width: 140px; padding: 8px; border-radius: var(--r-ctl); background: var(--surface); box-shadow: 0 8px 28px rgba(0,0,0,.18); border: 1px solid var(--line); }
.trackpop button { border: 0; background: none; font: inherit; font-size: 15px; text-align: left; padding: 8px 12px; border-radius: var(--r-md); cursor: pointer; color: var(--ink); } .trackpop button:hover { background: var(--surface-2); } .trackpop button[aria-checked="true"] { font-weight: 700; color: var(--accent); }

/* ---------- 모의 면접(P5) ---------- */
.mock { display: flex; flex-direction: column; gap: 16px; }
.mnote { margin: 0; }
.mstart { gap: 12px; }
.mchat { gap: 16px; }
.mturns { display: flex; flex-direction: column; gap: 12px; max-height: min(60vh, 640px); overflow-y: auto; padding: 4px 2px; }
.mt { display: flex; flex-direction: column; gap: 4px; max-width: 82%; } .mt.ai { align-self: flex-start; } .mt.me { align-self: flex-end; align-items: flex-end; }
.mbub { padding: 12px 16px; border-radius: var(--r-card); font-size: 15px; line-height: 1.55; overflow-wrap: anywhere; white-space: pre-wrap; }
.mt.ai .mbub { background: var(--surface-2); border-top-left-radius: var(--r-md); } .mt.ai.follow .mbub { background: var(--accent-soft); }
.mt.me .mbub { background: var(--accent); color: var(--on-accent); border-top-right-radius: var(--r-md); }
.mbox { display: flex; flex-direction: column; gap: 8px; border-top: 1px solid var(--line); padding-top: 12px; }
.mbox textarea.in { height: auto; padding: 12px 12px; resize: vertical; }
.mbox .row { flex-wrap: wrap; gap: 8px; }
.mtime { font-size: 22px; color: var(--accent); } .mtime.over { color: var(--danger-ink); }
.pill.ok { background: var(--proof-soft); color: var(--proof-ink); font-weight: 600; }
.coding { display: flex; flex-direction: column; gap: 12px; } .coding-p { display: flex; flex-direction: column; gap: 8px; }
.mhow { margin: 0; padding: 8px 12px 8px 28px; border-radius: var(--r-md); background: var(--surface-2); display: flex; flex-direction: column; gap: 2px; }
.mlisten { display: inline-flex; align-items: center; gap: 8px; color: var(--danger-ink); font-weight: 600; }
.mlisten i { width: 8px; height: 8px; border-radius: 50%; background: var(--danger); animation: mpulse 1.2s ease-in-out infinite; }
@keyframes mpulse { 50% { opacity: .3; } } @media (prefers-reduced-motion: reduce) { .mlisten i { animation: none; } }
.mrow { display: flex; align-items: center; gap: 8px; } .mrow > .evline { flex: 1; min-width: 0; } .mdel-ask { gap: 8px; flex-wrap: nowrap; }
/* 지원 여정(JOURNEY-v7) — 전형 흐름 · 전형 카드 */
.journey { display: flex; flex-direction: column; gap: 12px; margin: 4px 0 12px; }
.jsteps { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.jsteps li { display: flex; align-items: center; gap: 8px; }
.jnow { margin-top: 12px; padding: 12px 16px; border-radius: var(--r-ctl); background: var(--accent-soft, var(--surface-2)); display: grid; gap: 8px; } .jnow.fail { background: var(--warn-soft); }
.rtc { display: grid; gap: 12px; } .rtc-a { display: grid; gap: 8px; } .rtc-a ul { margin: 4px 0 0; padding-left: 20px; } .rtc-a li { font-size: 15px; }
.rtc-imp { display: grid; gap: 8px; border-top: 1px solid var(--line); padding-top: 12px; } .rtc-ch { display: grid; gap: 8px; } .rtc-row { display: grid; gap: 2px; font-size: 15px; min-width: 0; overflow-wrap: anywhere; }
.rtc-acts { flex-wrap: wrap; gap: 8px; } .rtc-acts .in { width: auto; } .rtc .doc { max-height: 50vh; overflow: auto; white-space: pre-wrap; }
.pwait { display: grid; gap: 8px; margin-top: 12px; } .pwait .linkbtn { justify-self: start; }
.jnow-q { flex-wrap: wrap; gap: 8px; align-items: center; } .jnow-subs { flex-wrap: wrap; gap: 8px; align-items: center; } .jnow-add { gap: 8px; flex-wrap: wrap; } .jnow-add .in { width: auto; min-width: 0; }
.jsteps li + li::before { content: ""; width: 12px; height: 1px; background: var(--line); }
.jsteps li.jedit::before { display: none; }
.jsteps button:not(.linkbtn) { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); font: inherit; font-size: 13px; cursor: pointer; }
.jsteps button[aria-expanded="true"] { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-soft); }
.jsteps .js-cur button { color: var(--accent); font-weight: 700; border-color: var(--accent); }
.jsteps .js-done button { color: var(--ink); } .jsteps .js-done .jmark { color: var(--proof-ink); }
.jsteps .js-fail button, .jsteps .js-stop button { color: var(--danger-ink); } .jbtns { flex-wrap: wrap; } .jsteps .js-skip button, .jsteps .js-next button { color: var(--muted); }
.jdate { color: var(--muted); }
.jcard { display: flex; flex-direction: column; gap: 12px; }
.js-pill-done { background: var(--proof-soft); color: var(--proof-ink); } .js-pill-fail { background: color-mix(in srgb, var(--danger) 14%, transparent); color: var(--danger-ink); }
.js-pill-cur { background: var(--accent-soft); color: var(--accent); }
.jfmt { display: flex; flex-direction: column; gap: 8px; padding: 12px 12px; border: 1px solid var(--line); border-radius: var(--r-ctl); }
.jfmt-row { flex-wrap: wrap; gap: 8px; } .jfmt-row label { display: inline-flex; align-items: center; gap: 4px; } .jfmt-row .in.num { width: 72px; }
.jmeta { flex-wrap: wrap; gap: 8px; color: var(--ink-2); } .jguide { padding: 8px 12px; border-radius: var(--r-md); background: var(--surface-2); color: var(--ink-2); }
.jadd-one { gap: 8px; flex-wrap: nowrap; } .jadd-one .in { width: 180px; }
.jmenu { flex-wrap: wrap; gap: 8px; padding: 8px 12px; border-radius: var(--r-ctl); background: var(--surface-2); }
.jnote summary { cursor: pointer; } .jnote textarea { margin-top: 8px; width: 100%; }
.jsubs, .jadd { display: flex; flex-direction: column; gap: 8px; } .jsub { padding: 8px 12px; border: 1px solid var(--line); border-radius: var(--r-ctl); }
.jsub .row { flex-wrap: wrap; } .jsub-text { max-height: 320px; overflow: auto; white-space: pre-wrap; margin: 8px 0 0; }
.jadd .row > input.in { flex: 1; min-width: 0; }
.tailor { display: flex; flex-direction: column; gap: 12px; }
.tl-reqs { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; } .tl-reqs .row { gap: 8px; flex-wrap: nowrap; align-items: baseline; }
.tl-checks { display: flex; flex-direction: column; gap: 4px; padding: 8px 12px; border-radius: var(--r-md); background: var(--warn-soft); }
.tl-ai, .tl-draft { display: flex; flex-direction: column; gap: 8px; }
.tl-row { display: flex; gap: 12px; align-items: flex-start; padding: 8px 12px; border: 1px solid var(--line); border-radius: var(--r-ctl); cursor: pointer; } .tl-row input { margin-top: 4px; }
.tl-old { text-decoration: line-through; }
.janal { display: flex; flex-direction: column; gap: 8px; padding: 12px 12px; border-radius: var(--r-ctl); background: var(--surface-2); }
/* 연습 화면(docs/reviews/2026-10-12-practice-ux.md) — 집중 화면 · 말할 거리 · 켬/끔 스위치 */
body.mfocus .journey, body.mfocus .p3-head, body.mfocus .ptabs, body.mfocus .pdetail > a.small, body.mfocus .mstep, body.mfocus .mock > .card:not(.mchat) { display: none; }
.mchat { display: flex; flex-direction: column; gap: 12px; padding: 16px; border-radius: var(--r-card); background: var(--surface); }
.mbar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; position: sticky; top: 0; z-index: 3; padding: 4px 0 12px; border-bottom: 1px solid var(--line); background: var(--surface); }
.mgrid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 16px; align-items: start; }
.mmain { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.mcur { max-width: 100%; } .mcur .mbub.mq { font-size: 17px; font-weight: 600; line-height: 1.5; }
.mhist summary { cursor: pointer; color: var(--muted); padding: 2px 0; } .mhist .mturns { margin-top: 8px; }
.mfoot { align-items: center; } .mfoot .mtime { font-size: 22px; }
.msw { gap: 8px; flex-wrap: wrap; align-items: center; padding-top: 4px; }
.sw { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 8px 0 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); font: inherit; font-size: 13px; cursor: pointer; }
.sw .sw-state { font-size: 12px; min-width: 30px; text-align: center; padding: 2px 8px; border-radius: 999px; background: var(--surface-2); color: var(--muted); }
.sw.on { border-color: var(--accent); color: var(--ink); } .sw.on .sw-state { background: var(--accent); color: var(--on-accent); }
.mhint { position: sticky; top: 64px; display: flex; flex-direction: column; gap: 12px; padding: 16px; border: 1px solid var(--line); border-radius: var(--r-ctl); background: var(--surface-2); max-height: calc(100vh - 96px); overflow-y: auto; }
.mhint.closed { gap: 8px; }
.mh-frame { margin: 4px 0 0; padding-left: 20px; display: flex; flex-direction: column; gap: 4px; }
.mh-story { display: flex; flex-direction: column; gap: 2px; margin-top: 8px; padding: 8px 12px; border-radius: var(--r-md); background: var(--surface); }
.mh-num { font-weight: 700; color: var(--accent); } .mh-avoid { color: var(--ink-2); }
.mh-prep summary { cursor: pointer; } .mh-prep > div { margin-top: 8px; white-space: pre-wrap; }
.mh-ex { display: flex; flex-direction: column; gap: 8px; padding: 12px; border-radius: var(--r-md); background: var(--surface); }
.mcall-face { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; font-size: 28px; font-weight: 700; background: #33343C; color: #E5E7EB; }
@media (max-width: 900px) {
  .mgrid { display: flex; flex-direction: column; }
  .mmain { display: contents; }                                  /* 휴대폰 — 질문 → 말할 거리 → 지난 문답 → 답 칸 순서 */
  .mmain > .mcall { order: 1; } .mmain > .mcur { order: 2; } .mhint { order: 3; position: static; max-height: 30svh; overflow-y: auto; overscroll-behavior: contain; }   /* 답 칸이 첫 화면에 보이게 — 말할 거리는 칸 안에서 스크롤(실전 점검: 답 칸이 889px, 화면 844px) */ .mmain > .mhist { order: 4; } .mmain > .mbox, .mmain > .mturns { order: 5; }
}
.csetup { display: flex; flex-direction: column; gap: 12px; }
.cs-state { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; } .cs-state > div { display: flex; align-items: center; gap: 8px; } .cs-path { flex-basis: 100%; overflow-wrap: anywhere; }
.cs-body { display: flex; flex-direction: column; gap: 8px; } .cs-body p { margin: 0; }
.cs-code { display: flex; gap: 8px; align-items: flex-start; } .cs-code pre { flex: 1; min-width: 0; margin: 0; padding: 12px 12px; border-radius: var(--r-md); background: var(--surface-2); font-size: 12px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.cs-rules ul, .cs-rules ol { margin: 0; padding-left: 20px; display: grid; gap: 4px; }
.cs-merged { list-style: none; padding-left: 0 !important; } .cs-merged li { display: flex; gap: 8px; align-items: center; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--line, rgba(0,0,0,.06)); } .cs-merged li > span { min-width: 0; overflow-wrap: anywhere; }
.cc-org input, .cc-org select { max-width: 320px; flex: 1; min-width: 0; } .cc-hint { display: block; margin: -4px 0 2px; line-height: 1.5; } .cc-org .in.warn { border-color: var(--warn, #d97706); }
.cs-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 8px; } .cs-stats > div { display: grid; gap: 2px; padding: 8px 12px; border-radius: var(--r-md); background: var(--surface-2); min-width: 0; }
.cs-prompt summary { cursor: pointer; padding: 8px 0; } .cs-prompt pre { margin: 4px 0 0; padding: 12px 12px; border-radius: var(--r-md); background: var(--surface-2); font-size: 12px; line-height: 1.55; white-space: pre-wrap; overflow-wrap: anywhere; max-height: 360px; overflow: auto; } .mpace { margin: 0; }
.btn.on { background: var(--ink); color: var(--bg); }
.maxes { display: flex; flex-direction: column; gap: 8px; }
.maxis { display: grid; grid-template-columns: 80px minmax(0, 1fr) 24px; gap: 12px; align-items: center; font-size: 15px; }
.maxis i { display: block; height: 8px; border-radius: var(--r-sm); background: linear-gradient(90deg, var(--accent) var(--v), var(--surface-2) var(--v)); }
.msum { margin: 0; font-weight: 600; }
.mans { border-top: 1px solid var(--line); padding: 12px 0; } .mans summary { cursor: pointer; } .mans > div { margin-top: 8px; }
.mme { background: var(--surface-2); border-radius: var(--r-ctl); padding: 12px 12px; font-size: 15px; white-space: pre-wrap; overflow-wrap: anywhere; }
.mbetter { border: 1px dashed var(--faint); border-radius: var(--r-ctl); padding: 12px 12px; display: flex; flex-direction: column; gap: 8px; font-size: 15px; }

/* ---------- 나 인터뷰 ---------- */
.about-basics { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) auto; gap: 12px; align-items: end; }
.about-basics label { display: flex; flex-direction: column; gap: 8px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
@media (max-width: 520px) { .about-basics { grid-template-columns: minmax(0, 1fr); } }
.about-start { display: flex; flex-direction: column; gap: 12px; background: var(--surface-2); border-radius: var(--r-ctl); padding: 16px 16px; }
.about-turns { max-height: min(52vh, 560px); }
.facts { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
/* 코치 서랍(docs/COACH-v1.md) — 대화 흐름 + 아래 입력칸 고정 */
.sheet.coach { display: flex; flex-direction: column; } .sheet.coach .coach-log { display: flex; flex-direction: column; gap: 12px; flex: 1; } .coach-quick { gap: 8px; flex-wrap: wrap; } .coach-quick .btn { min-width: 72px; }
.coach .mt.ai { max-width: 100%; } .coach .mt.ai .mbub { max-width: 82%; white-space: pre-wrap; } .coach .mt.ask .mbub { background: var(--accent-soft); font-weight: 600; }
.co-fact { flex-direction: column; align-items: stretch; } .co-fact .fact-t { min-width: 0; } .co-fact .fact-edit { width: 100%; font: inherit; font-size: 15px; line-height: 1.5; padding: 8px 12px; } .co-fact-acts { justify-content: flex-end; gap: 12px; }
/* 코치 화면(#/coach) — 보통 AI 챗 꼴: 왼쪽 대화 목록 · 가운데 대화(빈 화면엔 주제 카드) · 오른쪽 지금 주제. 휴대폰은 가운데만, 목록은 「☰ 대화」 */
.coach-shell { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; align-items: start; }
@media (min-width: 1000px) { .coach-shell { grid-template-columns: 260px minmax(0, 1fr); } .coach-shell.folded { grid-template-columns: minmax(0, 1fr); } .coach-shell.folded .coach-listwrap { display: none; } .coach-shell.folded .coach-listbtn { display: inline-flex; } }
.coach-main { display: flex; flex-direction: column; min-height: min(78svh, 820px); padding: 0; overflow: hidden; }
.coach-head { padding: 12px 16px; border-bottom: 1px solid var(--line); gap: 12px; } .coach-head b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.coach-listbtn { display: none; }
.coach-log { display: flex; flex-direction: column; gap: 12px; flex: 1; padding: 16px; overflow-y: auto; }
.coach-log .mt.ai { max-width: 100%; } .coach-log .mt.ai .mbub { max-width: 82%; white-space: pre-wrap; } .coach-log .mt.ask .mbub { background: var(--accent-soft); font-weight: 600; }
.coach-home { display: flex; flex-direction: column; gap: 12px; align-items: center; text-align: center; margin: auto; max-width: 720px; padding: 24px 0; }
.coach-home h2 { margin: 0; font-size: 22px; } .coach-home p { margin: 0; }
.composer { display: flex; flex-direction: column; gap: 8px; padding: 12px 16px 16px; background: var(--surface); }
.composer-box { display: flex; flex-direction: column; gap: 4px; padding: 8px 8px 8px 4px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--surface); box-shadow: 0 2px 10px rgba(0,0,0,.05); cursor: text; transition: border-color .15s, box-shadow .15s; }
.composer-box:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.composer textarea.in { height: auto; min-height: 40px; max-height: 220px; resize: none; padding: 8px 12px; line-height: 1.5; border: 0; background: transparent; box-shadow: none; outline: none; }
.composer-bar { align-items: center; gap: 12px; padding-left: 8px; }
.composer .send { width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--accent); color: var(--on-accent); font-size: 17px; font-weight: 700; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.composer .send:disabled { opacity: .45; cursor: default; } .composer .send .spin { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; animation: coach-spin .9s linear infinite; }
.coach-list { display: flex; flex-direction: column; gap: 12px; padding: 12px; background: var(--surface-2); border-radius: var(--r-card); max-height: min(78svh, 820px); overflow-y: auto; }
.cl-top { gap: 8px; } .coach-list .new-chat { flex: 1; justify-content: center; } .cl-fold { flex: none; }
.cl-group { display: flex; flex-direction: column; gap: 2px; } .cl-h { padding: 8px 8px 2px; }
.cl-item { display: flex; align-items: center; gap: 2px; border-radius: var(--r-ctl); padding-right: 4px; min-width: 0; position: relative; } .cl-item.cur { background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.cl-main { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 8px 8px; border: 0; background: none; color: var(--ink); text-align: left; cursor: pointer; font: inherit; }
.cl-main b { font-size: 13px; font-weight: 600; width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .cl-main small { font-size: 11px; }
.cl-rename { flex: 1; min-width: 0; font-size: 13px; height: 34px; margin: 4px 0 4px 4px; }
.cl-menu { flex: none; position: relative; } .cl-menu summary { list-style: none; cursor: pointer; width: 28px; height: 28px; border-radius: var(--r-md); display: inline-flex; align-items: center; justify-content: center; color: var(--muted); font-weight: 700; opacity: 0; }
.cl-menu summary::-webkit-details-marker { display: none; } .cl-item:hover .cl-menu summary, .cl-item.cur .cl-menu summary, .cl-menu[open] summary { opacity: 1; } .cl-menu summary:hover { background: var(--surface-2); color: var(--ink); }
.cl-pop { position: absolute; right: 0; top: 30px; z-index: 5; min-width: 128px; display: flex; flex-direction: column; padding: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-ctl); box-shadow: 0 8px 24px rgba(0,0,0,.12); }
.cl-pop button { border: 0; background: none; color: var(--ink); font: inherit; font-size: 13px; text-align: left; padding: 8px 12px; border-radius: var(--r-md); cursor: pointer; } .cl-pop button:hover { background: var(--surface-2); } .cl-pop .danger { color: var(--warn-ink); }
.coach-wait { display: inline-flex; align-items: center; gap: 8px; }
.coach-wait .spin { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--line); border-top-color: var(--accent); animation: coach-spin .9s linear infinite; }
@keyframes coach-spin { to { transform: rotate(360deg); } }
.co-fact.saved { opacity: .8; } .co-q { display: block; margin-top: 2px; }
.co-checks { gap: 12px; flex-wrap: wrap; margin: 4px 0 2px; } .co-where { display: block; margin-top: 4px; } .co-prev summary { cursor: pointer; } .co-prev span { display: block; margin-top: 4px; color: var(--ink-2); white-space: pre-wrap; }
@media (pointer: coarse) { .co-keys { display: none; } }
@media (max-width: 999px) {
  .coach-listbtn { display: inline-flex; }
  .coach-listwrap { display: none; position: fixed; inset: 0; z-index: 60; background: rgba(0,0,0,.35); padding: 16px; }
  .coach-listwrap.open { display: block; } .coach-listwrap.open .coach-list { max-width: 360px; max-height: calc(100svh - 32px); background: var(--surface); }
}
@media (max-width: 720px) { .coach-main { min-height: calc(100svh - 150px); } .coach-home h2 { font-size: 22px; } }   /* 메뉴 버튼 — 나머지 모양은 .nav :is(a, .nav-btn) 와 같은 규칙을 그대로 받는다 */
.fact { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; background: var(--surface); border: 1px dashed var(--faint); border-radius: var(--r-ctl); padding: 8px 12px; }
.fact-t { flex: 1; min-width: 12em; font-size: 15px; overflow-wrap: anywhere; }
.sheetform { display: flex; flex-direction: column; gap: 12px; } .sheetform .f { display: flex; flex-direction: column; gap: 8px; font-size: 13px; font-weight: 600; color: var(--ink-2); } .sheetform textarea.in { height: auto; padding: 12px 12px; }
.sheet .tr-form { display: flex; flex-direction: column; align-items: stretch; gap: 12px; } .sheet .tr-form .f { display: flex; flex-direction: column; gap: 8px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.sheet .tr-form select.in { width: 100%; } .sheet .tr-form textarea.in { width: 100%; height: auto; min-height: 96px; padding: 12px 16px; line-height: 1.55; resize: vertical; font: inherit; }
.sheet .tr-form .tr-go { display: flex; justify-content: flex-end; gap: 8px; margin-top: 4px; } .sheet .life-edit { background: none; padding: 0; border: 0; }
/* 성향 테스트 */
.st-q { display: flex; flex-direction: column; gap: 12px; }
.st-prog { height: 4px; border-radius: var(--r-sm); background: var(--surface-2); overflow: hidden; } .st-prog i { display: block; height: 100%; background: var(--accent); }
.st-scene { margin: 4px 0 0; font-size: 17px; }
.st-opts { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
.st-opt { background: var(--surface-2); border-radius: var(--r-ctl); padding: 12px; font-size: 15px; line-height: 1.5; overflow-wrap: anywhere; } .st-opt b { color: var(--accent); margin-right: 4px; }
.st-scale { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; }
.st-pick { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 12px 0; border: 0; background: none; font: inherit; color: var(--ink-2); cursor: pointer; border-radius: var(--r-ctl); }
@media (hover: hover) { .st-pick:hover { background: var(--surface-2); } }
.st-pick .dot { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--faint); }
.st-pick:nth-child(1) .dot, .st-pick:nth-child(5) .dot { width: 36px; height: 36px; } .st-pick:nth-child(3) .dot { width: 22px; height: 22px; }
.st-pick.on .dot { background: var(--accent); border-color: var(--accent); }
.st-result { display: flex; flex-direction: column; gap: 16px; }
.st-dims { display: flex; flex-direction: column; gap: 8px; }
.st-dim { display: grid; grid-template-columns: 6.5em minmax(0, 1fr) 6.5em; align-items: center; gap: 8px; font-size: 13px; }
.st-pole { color: var(--muted); } .st-pole.b { text-align: right; } .st-pole.on { color: var(--ink); font-weight: 700; }
.st-bar { position: relative; height: 8px; border-radius: var(--r-md); background: var(--surface-2); }
.st-bar::after { content: ""; position: absolute; left: 50%; top: -3px; bottom: -3px; width: 1px; background: var(--faint); }
.st-bar i { position: absolute; top: 0; bottom: 0; background: var(--accent); border-radius: var(--r-md); } .st-bar i.neg { right: 50%; } .st-bar i.pos { left: 50%; }
@media (max-width: 520px) { .st-opts { grid-template-columns: minmax(0, 1fr); } }
/* 면접 연습 흐름 */
.mgrowth { display: flex; flex-direction: column; gap: 12px; }
.mg-axes { display: grid; grid-template-columns: repeat(auto-fit, minmax(5.8em, 1fr)); gap: 8px; }
.mg-ax { display: flex; flex-direction: column; gap: 2px; background: var(--surface-2); border-radius: var(--r-ctl); padding: 12px 12px; font-size: 13px; color: var(--ink-2); }
.mg-ax b { font-size: 17px; color: var(--ink); } .mg-ax.mg-weak { box-shadow: inset 0 0 0 2px var(--warn); }
.mg-cols { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 16px; }
.mg-habit { padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 15px; } .mg-habit:last-child { border-bottom: 0; }
.mg-speech { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
@media (max-width: 640px) { .mg-cols { grid-template-columns: minmax(0, 1fr); } }
/* 모의 면접 · 캠 연습 */
.mcall { display: flex; flex-direction: column; gap: 8px; }
.mcall-tiles { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; width: 100%; max-width: 980px; margin: 0 auto; }
.mcall-tile { position: relative; aspect-ratio: 16 / 10; border-radius: var(--r-card); overflow: hidden; background: #1C1D22; color: #F3F4F6; }
.mcall-tile.who { display: flex; align-items: center; justify-content: center; padding: 28px 20px; }
.mcall-q { font-size: 17px; line-height: 1.55; text-align: center; overflow-wrap: anywhere; max-height: 100%; overflow-y: auto; }
.mcall-tile video { width: 100%; height: 100%; object-fit: cover; transform: scaleX(-1); display: block; }
.mcall-name { position: absolute; left: 10px; bottom: 10px; font-size: 12px; font-weight: 600; background: rgba(0, 0, 0, .55); padding: 4px 8px; border-radius: var(--r-md); }
.mcall-time { position: absolute; right: 10px; bottom: 10px; font-size: 13px; background: rgba(0, 0, 0, .55); padding: 4px 8px; border-radius: var(--r-md); }
.mcall-wait { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 13px; color: #9CA3AF; }
.mcall-rec { color: #F87171; margin-left: 4px; }
.mcall-clips { display: flex; flex-direction: column; gap: 8px; }
.mcall-clip { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 12px; align-items: center; }
.mcall-clip video { width: 100%; border-radius: var(--r-md); background: #000; }
@media (max-width: 640px) {
  .mcall-tiles { grid-template-columns: minmax(0, 1fr); }
  .mcall-tile.who { aspect-ratio: auto; min-height: 120px; }
  .mcall-clip { grid-template-columns: minmax(0, 1fr); }
}
.vpick { display: inline-flex; gap: 8px; align-items: center; } .vpick select.in { height: 32px; padding: 0 8px; font-size: 13px; width: auto; }
/* 준비 › 당일 한 장 */
.dayof { display: flex; flex-direction: column; gap: 16px; }
.do-habits { display: flex; flex-direction: column; gap: 4px; background: var(--warn-soft); border-radius: var(--r-ctl); padding: 12px 16px; font-size: 15px; }
.do-story { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.do-story:last-child { border-bottom: 0; }
.do-intro { background: var(--surface-2); border-radius: var(--r-ctl); padding: 12px 16px; }
.do-intro p { margin: 8px 0 0; font-size: 15px; line-height: 1.6; white-space: pre-wrap; }
.do-probe { margin-top: 8px; color: var(--warn-ink); display: flex; flex-direction: column; gap: 2px; }
/* 면접 중 보는 화면(컨닝페이퍼) — 전체 화면 · 글자 크게 · 두 단 */
.cheat { position: fixed; inset: 0; z-index: 70; background: var(--surface); color: var(--ink); overflow: auto; font-size: var(--cheat-fs, 17px); line-height: 1.5; padding: 0 16px 40px; }
.cheat-bar { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 12px 0; background: var(--surface); border-bottom: 1px solid var(--line); }
.cheat-cols { display: grid; grid-template-columns: 1fr; gap: 0 28px; max-width: 1400px; margin: 0 auto; }
@media (min-width: 1000px) { .cheat-cols { grid-template-columns: 1.15fr 1fr; } }
.cheat-sec { padding: 16px 0; border-bottom: 1px solid var(--line); }
/* 면접 중 화면 › 실전 — 질문 목록 + 말할 답 크게 */
.lv { display: grid; grid-template-columns: 1fr; gap: 0 28px; max-width: 1400px; margin: 0 auto; }
@media (min-width: 900px) { .lv { grid-template-columns: 340px minmax(0, 1fr); } .lv-list { position: sticky; top: 56px; align-self: start; max-height: calc(100vh - 70px); overflow: auto; } }
.lv-list { display: flex; flex-direction: column; gap: 2px; padding: 12px 0 24px; } .lv-list .in { margin-bottom: 8px; min-height: 40px; flex: 0 0 auto; } .lv-s { margin: 8px 0 2px 8px; font-size: 12px; color: var(--muted); }
.lv-q { font: inherit; font-size: 15px; text-align: left; padding: 8px 12px; border: 0; border-radius: var(--r-md); background: none; color: var(--ink); cursor: pointer; line-height: 1.4; }
.lv-q:hover { background: var(--surface-2); } .lv-q.on { background: var(--accent-soft); color: var(--accent-ink); font-weight: 700; }
.lv-cards { padding: 8px 0 40vh; min-width: 0; } .lv-h { margin: 4px 0 12px; font-size: 1.15em; }
.lv-card { padding: 16px 0 8px; border-bottom: 1px solid var(--line); scroll-margin-top: 124px; } .lv-card.on .lv-h { color: var(--accent-ink); }
.lv-sub { margin: 24px 0 0; font-size: 13px; color: var(--muted); } .lv-hint { padding-top: 16px; }
.lv-sent { display: block; margin: 0 0 .3em; } .lv-skel summary { cursor: pointer; list-style: none; } .lv-skel summary::-webkit-details-marker { display: none; } .lv-skel-more { margin-top: 8px; padding-top: 8px; border-top: 1px dashed var(--line); }
.lv-skel { margin: 0 0 12px; padding: 8px 12px; border-radius: var(--r-ctl); background: var(--surface-2); font-size: 0.85em; color: var(--ink-2); }
.lv-a { margin: 0 0 16px; font-size: 1.25em; line-height: 1.75; overflow-wrap: anywhere; }
@media (max-width: 899px) { .lv-list { display: none; } .lv-card { scroll-margin-top: 170px; } }
.lv2 { max-width: 1400px; margin: 0 auto; }
.lv-cats { position: sticky; top: 52px; z-index: 1; display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 0; background: var(--surface); border-bottom: 1px solid var(--line); }
.lv-cat { font: inherit; font-size: 15px; display: inline-flex; gap: 8px; align-items: center; padding: 8px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); cursor: pointer; }
.lv-cat[aria-selected="true"] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); font-weight: 700; }
.lv-key { font-size: 12px; opacity: .7; } .lv-find { flex: 1 1 160px; max-width: 260px; min-height: 36px; margin-left: auto; }
.lv2 .lv-list .lv-q { font-size: 15px; padding: 12px 12px; }
.lv2 .lv { grid-template-columns: 1fr; } @media (min-width: 900px) { .lv2 .lv { grid-template-columns: 320px minmax(0, 1fr); } .lv2 .lv-list { top: 112px; } }
/* 면접 중 화면 › 대본(마스터 페이퍼) — 왼쪽 목차 고정, 오른쪽 글. 화면 하나에 띄워 두고 훑기 좋게 */
.pp { display: grid; grid-template-columns: 1fr; gap: 0 28px; max-width: 1400px; margin: 0 auto; }
@media (min-width: 900px) { .pp { grid-template-columns: 230px minmax(0, 1fr); } .pp-nav { position: sticky; top: 56px; align-self: start; max-height: calc(100vh - 70px); overflow: auto; } }
.pp-nav { display: flex; flex-direction: column; gap: 2px; padding: 12px 0; }
.pp-nav .in { margin-bottom: 4px; } .pp-hide { display: flex; gap: 8px; align-items: center; margin: 2px 0 8px; }
.pp-nl { font: inherit; font-size: 14px; text-align: left; padding: 8px 8px; border: 0; border-radius: var(--r-md); background: none; color: var(--ink-2); cursor: pointer; }
.pp-nl:hover { background: var(--surface-2); color: var(--ink); }
@media (max-width: 899px) { .pp-nav { flex-direction: row; flex-wrap: wrap; gap: 8px; } .pp-nav .in { flex: 1 1 100%; } .pp-hide { flex: 1 1 100%; margin: 0; } .pp-nl { flex: 0 0 auto; background: var(--surface-2); border-radius: 999px; padding: 8px 12px; font-size: 13px; } }
.pp-body { min-width: 0; }
.pp-sec { padding: 16px 0 20px; border-bottom: 1px solid var(--line); scroll-margin-top: 60px; }
.pp-sec > h3 { margin: 0 0 12px; font-size: 1.15em; }
.pp-h4 { margin: 16px 0 8px; font-size: 1em; }
.pp-p { margin: 8px 0; } .pp-q { margin: 8px 0; padding: 8px 12px; border-left: 3px solid var(--accent); background: var(--surface-2); border-radius: 0 var(--r-md) var(--r-md) 0; }
.pp-li { margin: 4px 0 4px calc(var(--ind, 0) * 1.2em); padding-left: 1em; text-indent: -0.8em; overflow-wrap: anywhere; } .pp-li:not(.num)::before { content: "• "; color: var(--muted); }
.pp-qa { margin: 10px 0 10px calc(var(--ind, 0) * 1.2em); padding: 12px 16px; border-radius: var(--r-ctl); background: var(--surface-2); }
.pp-qk { font-weight: 700; font-size: 0.92em; color: var(--accent-ink); margin-bottom: 4px; } .pp-qv { line-height: 1.65; overflow-wrap: anywhere; }
.pp-proj { margin: 24px 0 8px; padding-top: 12px; border-top: 1px dashed var(--line); font-size: 1.05em; } .pp-sec > .pp-proj:first-of-type { border-top: 0; padding-top: 0; }
.pp-table { border-collapse: collapse; margin: 8px 0; width: 100%; font-size: 0.92em; } .pp-table td { border: 1px solid var(--line); padding: 8px 8px; vertical-align: top; overflow-wrap: anywhere; }
.pp-table tr:first-child td { font-weight: 700; background: var(--surface-2); }
.cheat-sec h3 { margin: 0 0 8px; font-size: 0.85em; color: var(--muted); font-weight: 700; }
.cheat-intro { margin: 0; white-space: pre-wrap; font-size: 1.05em; }
.cheat-story { padding: 8px 0; }
.cheat-st { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.cheat-line { margin: 4px 0 0 36px; }
.cheat-nums { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 4px 0 0 36px; }
.cheat-nums b { font-size: 1.1em; } .cheat-nums small { color: var(--muted); }
.cheat-probe { margin: 8px 0 0 36px; display: flex; flex-direction: column; gap: 4px; }
.cheat-a { color: var(--ink-2); margin-top: 2px; white-space: pre-wrap; }
.cheat-qa { padding: 8px 0; } .cheat-qa summary { cursor: pointer; }
.cheat-warn { background: var(--warn-soft); border-radius: var(--r-ctl); padding: 12px 16px; border-bottom: 0; margin-top: 16px; }
.cheat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(11em, 1fr)); gap: 8px; }
.cheat-grid > div { display: flex; flex-direction: column; background: var(--surface-2); border-radius: var(--r-ctl); padding: 8px 12px; overflow-wrap: anywhere; }
.cheat-grid b { font-size: 1.15em; } .cheat-grid small { color: var(--muted); }
.do-n { width: 28px; height: 28px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-weight: 700; display: flex; align-items: center; justify-content: center; }
.do-nums { display: flex; flex-direction: column; margin-top: 8px; }   /* 숫자 표 — 카드 안 타일 여덟 장(높이가 제각각)이던 것(DESIGN-v6 남은 손질) */
.do-nums > div { display: grid; grid-template-columns: minmax(10em, 18em) minmax(0, 1fr); gap: 2px 16px; padding: 8px 0; border-top: 1px solid var(--line); overflow-wrap: anywhere; }
.do-nums > div:first-child { border-top: 0; }
.do-nums b { font-size: 15px; grid-row: span 2; } .do-nums span { grid-column: 2; }
@media (max-width: 640px) { .do-nums > div { grid-template-columns: minmax(0, 1fr); } .do-nums b { grid-row: auto; } .do-nums span { grid-column: 1; } }
.do-list { margin: 8px 0 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
@media print { .noprint, nav, .tabbar, .side, .ptabs { display: none !important; } .dayof { box-shadow: none; }
  body { grid-template-columns: minmax(0, 1fr) !important; }   /* 사이드를 숨겨도 220px 칸이 남아 본문이 64px 로 줄던 것(검토) */
  .do-nums > div { grid-template-columns: minmax(0, 12em) minmax(0, 1fr); } }
/* 면접관 패널 */
.pn-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(15em, 1fr)); gap: 12px; }
.pn-card { display: flex; flex-direction: column; gap: 8px; background: var(--surface-2); border-radius: var(--r-card); padding: 16px; }
.pn-av { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; margin-right: 12px; background: var(--accent-soft); color: var(--accent); flex: none; }
.pn-card.lead .pn-av, .mt.by-lead .mbub { --pn: #0E9F6E; } .pn-card.exec .pn-av, .mt.by-exec .mbub { --pn: #C2410C; }
.pn-card.lead .pn-av { background: color-mix(in srgb, #0E9F6E 16%, transparent); color: #0E9F6E; } .pn-card.exec .pn-av { background: color-mix(in srgb, #C2410C 16%, transparent); color: #C2410C; }
.mt.ai.by-lead .mbub { box-shadow: inset 3px 0 0 #0E9F6E; } .mt.ai.by-exec .mbub { box-shadow: inset 3px 0 0 #C2410C; } .mt.ai.by-hr .mbub { box-shadow: inset 3px 0 0 var(--accent); }
.pn-looks { display: flex; flex-wrap: wrap; gap: 4px; }
.pn-form { display: flex; flex-direction: column; gap: 8px; } .pn-f { display: flex; flex-direction: column; gap: 4px; font-size: 12px; font-weight: 600; color: var(--ink-2); }
.pn-views { display: grid; grid-template-columns: repeat(auto-fit, minmax(13em, 1fr)); gap: 8px; }
.pn-view { background: var(--surface-2); border-radius: var(--r-ctl); padding: 12px 12px; display: flex; flex-direction: column; gap: 4px; }
.ptab-hint { margin-left: 8px; font-size: 12px; color: var(--muted); font-weight: 500; }
.sec-h { margin: 12px 0 0; font-size: 22px; font-weight: 800; }
.mrec { display: flex; flex-direction: column; gap: 2px; background: var(--surface-2); border-radius: var(--r-ctl); padding: 12px 16px; } .mrec b { font-size: 15px; }
.mopts { display: flex; flex-direction: column; gap: 12px; border-top: 1px solid var(--line); padding-top: 12px; } .mopts .chips { margin-top: 8px; flex-wrap: wrap; }
/* 준비 목록 v6.1 — 연습 띠 · 회사별 한 줄 */
.pband { flex-direction: row; align-items: center; gap: 12px; flex-wrap: wrap; background: var(--accent-soft); color: var(--ink); }   /* 두 테마 모두 — 글자색을 바탕으로 쓰면 어두운 테마에서 흰 띠가 된다 */

.pband .pb-t { flex: 1; min-width: 14em; } .pband .linkbtn { color: inherit; opacity: .8; }
/* 홈 v6.1 — 오늘의 연습 */
.nowprac { gap: 8px; background: var(--accent-soft); color: var(--ink); border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent); }   /* 두 테마 모두 — 글자색 바탕은 어두운 테마에서 흰 판이 된다 */
.nowprac .np-eye, .nowprac .np-line { color: var(--ink-2); } .nowprac .np-title { font-size: 22px; line-height: 1.35; }
.nowprac .np-fix { opacity: .9; } .nowprac .np-other { color: inherit; opacity: .8; }
.nowprac .row { gap: 12px; align-items: center; }
/* 나 v6.1 — 나 알아가기 입구 하나 */

/* 첫날 v6.1 — 지금 상황 */
.fd-situ { display: flex; flex-direction: column; gap: 8px; }
.fd-sit { display: flex; flex-direction: column; gap: 2px; text-align: left; padding: 16px 16px; border-radius: var(--r-ctl); border: 1px solid var(--line); background: var(--surface); font: inherit; color: inherit; cursor: pointer; }
.fd-sit small { color: var(--muted); } .fd-sit.on { border: 2px solid var(--accent); padding: 12px 16px; }
/* 될 때까지 다시 — 시도 비교 */
.mdrill { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 4px 0; }
.md-try { font-size: 12px; padding: 4px 8px; border-radius: 999px; background: var(--surface-2); color: var(--ink-2); } .md-try.last { background: var(--accent-soft); color: var(--accent); font-weight: 700; }
.mdue { gap: 8px; }
.mydoc textarea.in { height: auto; } .mydoc summary h2 { display: inline; font-size: 17px; }
.mydoc[open] { gap: 12px; }
.mchecks { display: flex; gap: 12px; flex-wrap: wrap; margin: 4px 0; } .mdrillbox { display: flex; flex-direction: column; gap: 8px; margin: 8px 0; }
/* 연봉 협상 한 장 */
.salary { display: flex; flex-direction: column; gap: 16px; } .sal-form { gap: 12px; } .sal-form h2 { margin: 0; }
.sal-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(140px, 100%), 1fr)); gap: 12px; }
.sal-grid label, .sal-form > label { display: flex; flex-direction: column; gap: 8px; font-size: 13px; font-weight: 600; color: var(--ink-2); }

/* ---------- 디자인 규칙 v6 — 페르소나 P4 검토(docs/reviews/2026-10-13-personas.md P2). 화면마다 다르던 것을 여기서 한 번에 맞춘다 ---------- */
/* 페이지 머리: h1 28/700 하나 */
.hello h1, .home .hello h1, .s-head h1 { font-size: 28px; line-height: 38px; font-weight: 700; letter-spacing: -.02em; }
.me-embed .skpage .hello h1 { font-size: 22px; line-height: 28px; }   /* 탭 안의 화면은 섹션 머리 크기 */
/* 섹션 머리: 카드 밖 20/700, 카드 안 18/700 */
.csec-h h2 { font-size: 22px; font-weight: 700; }
.card-h h2, .card > h2 { font-size: 17px; font-weight: 700; }
/* 단추 4종 — primary(강조색) · secondary · ghost · link. 검정 단추는 쓰지 않는다 */
.s-head .btn:not(.primary):not(.ghost), .hello .btn:not(.primary):not(.ghost) {
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }   /* 페이지 바탕 위의 보조 단추는 흰 면 + 선 — 바탕과 같은 색이라 글자처럼 보이던 것 */
/* 「선택됨」 색 하나 — 강조색 */

/* 사이드바 활성 표시 하나 — 주 메뉴와 설정 하위 메뉴가 같게(연한 강조 면 + 강조 글자) */
.nav :is(a, .nav-btn)[aria-current="page"] { background: var(--accent-soft); color: var(--ink); font-weight: 700; }   /* 글자는 진하게(강조색 글자는 4.45:1) · 아이콘만 강조색 */
.nav :is(a, .nav-btn)[aria-current="page"] svg { color: var(--accent); }
.snav-ic, .s-back-ic { background: transparent; width: 24px; height: 24px; }
.snav a[aria-current="page"] .snav-ic { background: transparent; color: var(--accent); }
.snav a { height: 48px; padding: 0 16px; gap: 12px; }

/* 휴대폰 전용 줄 — PC 는 프로필 카드 메뉴에 같은 것이 있다 */
.only-phone { display: none; }
@media (max-width: 640px) { .only-phone { display: flex; flex-direction: column; gap: 12px; margin: 0; } .only-phone .row { gap: 12px; } }

/* AI 와 채우기 · 더 맞는 지표(fill.py) */
.ai-btn { background: var(--accent-soft); color: var(--accent); border: 0; }
.ai-link { color: var(--accent); margin-left: 8px; } .ai-go { align-self: flex-start; color: var(--accent); }
.fill-chat { display: flex; flex-direction: column; gap: 8px; max-height: 42vh; overflow-y: auto; padding: 4px 2px; }
.fill-t { display: flex; } .fill-t.me { justify-content: flex-end; }
.fill-t .mbub { max-width: 80%; padding: 12px 16px; border-radius: var(--r-card); background: var(--surface-2); line-height: 1.5; } .fill-t.me .mbub { background: var(--accent-soft); }
.fill-in { display: flex; flex-direction: column; gap: 8px; } .fill-in textarea.in { height: auto; padding: 12px 12px; font: inherit; } .fill-in .btn { align-self: flex-end; }
.fill-prop { display: flex; flex-direction: column; gap: 8px; padding: 16px; border-radius: var(--r-ctl); background: var(--proof-soft); }
.fill-row { display: grid; grid-template-columns: 20px 110px minmax(0, 1fr); gap: 8px; align-items: start; font-size: 15px; } .fill-k { color: var(--muted); font-weight: 600; }
.kpi-row { align-items: flex-start; }

/* 나 v3(docs/ME-SPEC-v3.md) — 프로젝트 갈래 · 6칸 글자 · 추천 · 자기소개 */
.pj-views { display: flex; gap: 4px; border-bottom: 1px solid var(--line); }
.pj-views button { border: 0; background: none; padding: 12px 16px; font: inherit; font-weight: 600; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; cursor: pointer; }
.pj-views button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--accent); } .pj-views .num { font-size: 12px; color: var(--muted); }
.pj-card .seg { align-self: flex-start; margin: 12px 0 2px; flex-wrap: wrap; }
.pj-slots.lab { gap: 4px; } .pj-slots.lab i { width: 20px; height: 20px; border-radius: var(--r-md); display: grid; place-items: center; font-style: normal; font-size: 11px; font-weight: 700; color: var(--muted); background: var(--surface-2); border: 1px solid var(--line); }
.pj-slots.lab i.on { background: var(--proof-soft); color: var(--proof-ink); border-color: transparent; } .pj-slots.lab i.na { background: none; border-style: dashed; color: var(--faint); }
.pj-slots.lab i.na::after { display: none; }
.pill.rec { background: var(--accent-soft); color: var(--accent-ink); font-weight: 700; } .bp-why { margin: 0 0 8px; color: var(--accent); }
.intro-box { gap: 12px; } .intro-box textarea.in { height: auto; padding: 12px 16px; font: inherit; line-height: 1.6; } .intro-box .card-h { flex-wrap: wrap; gap: 8px; }
.intro-bar { gap: 12px; } .intro-bar .seg { flex-wrap: wrap; align-self: flex-start; }

/* AI 여러 안 고르기(docs/ME-SPEC-v3.md §5.9) */
.opt-list { display: flex; flex-direction: column; gap: 8px; }
.opt { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 12px 16px; border-radius: var(--r-ctl); border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; text-align: left; cursor: pointer; }
.opt:hover { border-color: var(--accent); background: var(--accent-soft); } .opt .opt-t { line-height: 1.55; }
.opts { display: flex; flex-direction: column; gap: 8px; }
.opt[aria-checked="true"] { border-color: var(--accent); background: var(--accent-soft); }
.pj-lite { white-space: nowrap; } .pj-act button { white-space: nowrap; }

.intro-prev { padding: 12px 16px; border-radius: var(--r-ctl); background: var(--surface-2); } .intro-prev p { margin: 4px 0; line-height: 1.55; }

/* 전형 코스(course.py) */
.course { gap: 12px; } .course .card-h b { font-size: 22px; }
.course-next { display: flex; flex-direction: column; gap: 4px; padding: 16px 16px; border-radius: var(--r-ctl); background: var(--accent-soft); } .course-next .btn { align-self: flex-start; margin-top: 8px; }
.course-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.course-steps li { display: flex; align-items: flex-start; gap: 12px; padding: 12px 2px; border-top: 1px solid var(--line); } .course-steps li:first-child { border-top: 0; }
.course-steps .cs-n { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 700; background: var(--surface-2); color: var(--muted); }
.course-steps li.done .cs-n { background: var(--proof-soft); color: var(--proof-ink); } .course-steps li.now .cs-n { background: var(--accent); color: var(--on-accent); }
.course-steps li.done .cs-t b { color: var(--muted); }
.course-steps .cs-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; } .course-steps .cs-t small { color: var(--muted); }
.cs-checks { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; margin-top: 8px; }

/* 나 › 공부(docs/ME-STUDY.md) — 숙달도 머리 · 일마다 숙달 · 카드 한 판 · 파고들기 */
.study { display: flex; flex-direction: column; gap: 16px; }
.st-list { list-style: none; margin: 0; padding: 0; } .st-list li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); } .st-list li:first-child { border-top: 0; }
.st-list li > span { flex: 1; min-width: 0; display: flex; flex-direction: column; } .st-list small { color: var(--muted); }
.st-card { display: flex; flex-direction: column; gap: 16px; }
.st-front { font-size: 17px; font-weight: 700; line-height: 1.5; }
.st-card textarea.in { height: auto; padding: 12px 12px; font: inherit; }
.st-conf, .st-grade { display: flex; flex-direction: column; gap: 8px; } .st-conf .row .btn, .st-grade .row .btn { flex: 1; }
.st-back { padding: 16px 16px; border-radius: var(--r-ctl); background: var(--proof-soft); display: flex; flex-direction: column; gap: 8px; }
.st-backt { white-space: pre-wrap; line-height: 1.6; font-weight: 600; }
.st-mine { padding: 12px 16px; border-radius: var(--r-ctl); background: var(--surface-2); display: flex; flex-direction: column; gap: 8px; } .st-mine > div { white-space: pre-wrap; }
.st-mine .btn { align-self: flex-start; }
.st-ai { display: flex; flex-direction: column; gap: 2px; } .st-ai .btn.ghost.tr-del { color: color-mix(in srgb, var(--danger) 80%, var(--ink)); }   /* 빼기 — 글자용 섞은 색(바탕용 --danger 는 4.5:1 미달, 검토) */
.st-end { display: flex; flex-direction: column; gap: 12px; padding: 8px 0; }
.st-turn { display: flex; flex-direction: column; gap: 8px; }
.st-v { padding-left: 4px; } .st-add { margin-top: 4px; color: var(--accent); }
.fill-in .row .btn { align-self: auto; }
@media (max-width: 640px) {
  .st-front { font-size: 17px; }
}
/* 공부 창 — 높이 고정 · 대화만 스크롤 · 입력 칸은 아래(문답이 늘 때 창이 위아래로 커지던 것) */
.sheet.st-deep { overflow: hidden; }
@media (min-width: 641px) { .sheet.st-deep { height: min(760px, 86vh); } }
@media (max-width: 640px) { .sheet.st-deep { height: 92vh; max-height: 92vh; } }
.st-deep .st-chat { flex: 1; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; gap: 12px; padding: 2px; }
.st-deep .st-in { flex: none; border-top: 1px solid var(--line); padding-top: 12px; }
.st-ex { padding: 12px 16px; border-radius: var(--r-ctl); background: var(--accent-soft); display: flex; flex-direction: column; gap: 4px; line-height: 1.6; }
.st-exbtn { color: var(--accent); align-self: flex-start; }
/* 지나온 곳 — 종류별 묶음 · 같은 곳 여러 역할 · 가져오기 표 */
.pl-group { display: flex; flex-direction: column; margin-top: 8px; }
.pl-h { display: flex; gap: 8px; align-items: baseline; padding: 12px 0 4px; font-size: 13px; color: var(--ink-2); border-bottom: 1px solid var(--line); }
.pl-org { display: flex; flex-direction: column; padding: 12px 0 2px; border-bottom: 1px solid var(--line); }
.pl-oh { display: flex; gap: 12px; align-items: baseline; } .pl-oh small { font-size: 12px; }
.pl-org .pl-role { padding-left: 16px; border-left: 2px solid var(--line); margin-left: 2px; }
.pl-rt { font-weight: 600; font-size: 15px; }
.pl-how { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 2px; }
.pl-imp { display: flex; flex-direction: column; gap: 8px; max-height: 52vh; overflow-y: auto; }
.pl-ir { display: grid; grid-template-columns: 20px 170px minmax(0, 1.3fr) minmax(0, 1fr) 64px; gap: 8px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); } .pl-ir:first-child { border-top: 0; }
.pl-ir .pl-dates { grid-column: 2 / 5; grid-row: 2; } .pl-ir .pill { grid-column: 5; grid-row: 1; }   /* 이름 · 역할 칸이 좁아 글자가 잘리던 것 — 기간은 둘째 줄로 */
.pl-ir.off { opacity: .55; } .pl-ir .pill { justify-self: start; }
.pl-dates { display: flex; gap: 4px; align-items: center; } .pl-dates .in { width: 168px; }
@media (max-width: 760px) { .pl-ir { grid-template-columns: 20px minmax(0, 1fr); } .pl-ir > :not(input[type=checkbox]) { grid-column: 2 !important; grid-row: auto !important; } .pl-dates .in { width: auto; flex: 1; min-width: 0; } }
/* 나다움 — 네 묶음 · 위 칩으로 바로 가기 */

.selftab .ov-two { align-items: stretch; }
/* 프로필 이미지 */
.avatar, .acct-ava { overflow: hidden; } .avatar img, .acct-ava img { width: 100%; height: 100%; object-fit: cover; display: block; }
.acct-ava-btns { display: flex; gap: 8px; justify-self: end; align-items: center; }
/* 모의 면접 — 말 다듬기 알림 */
.mfix { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; padding: 8px 12px; border-radius: var(--r-ctl); background: var(--surface-2); color: var(--ink-2); }
.mfix .linkbtn { color: var(--accent); margin-left: 4px; }
/* 공부 — 휴대폰에서 창 제목이 두 줄이면 ✕ 가 따로 떨어지던 것 */
.st-sheet > .grab + .row { flex-wrap: nowrap; align-items: flex-start; } .st-sheet > .grab + .row h2 { flex: 1; min-width: 0; }
.st-noai { padding: 8px 12px; border-radius: var(--r-ctl); background: var(--warn-soft); }
.do-rev { display: flex; flex-direction: column; gap: 8px; } .do-rev form .in { flex: 1; min-width: 0; } .do-rev .linkbtn { color: var(--accent); }
/* 전체 검토 B — 일 옆 창 머리 두 줄 · 휴대폰 성과 줄 · 「나」 탭 줄 넘김 표시 */
.evhead { flex-wrap: wrap; row-gap: 8px; } .evhead > .small.muted { white-space: normal; overflow: visible; flex-basis: 100%; order: 9; }   /* 날짜 · 소속은 둘째 줄 — 「2026.10.1…」로 잘리던 것 */
@media (max-width: 640px) {
  .pj-row { grid-template-columns: minmax(0, 1fr) auto; } .pj-main { grid-column: 1 / -1; } .pj-row > .pj-slots { grid-row: auto; grid-column: 2; }
  .pj-miss { grid-column: 1; } .pj-act { grid-column: 1 / -1; flex-wrap: wrap; } .pj-act .linkbtn { white-space: nowrap; }
  .me-tabs { -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
}
/* 전체 검토 C — 글자 크게(zoom)에서 사이드바가 화면보다 길어 프로필 카드가 밖으로 나가던 것 · 연습 중엔 아래 탭 · 전형 카드 숨김 · 설정 위 탭 넘김 표시 */
:root[data-size="lg"] .side { height: calc(100vh / 1.1); } :root[data-size="xl"] .side { height: calc(100vh / 1.2); }
body.mfocus .tabs, body.mfocus .jcard { display: none !important; }
@media (max-width: 640px) { body.mfocus main { padding-bottom: 24px; } }
.only-phone-link { display: none; } @media (max-width: 640px) { .only-phone-link { display: inline-block; margin: 4px 0 8px; } }   /* 휴대폰 연결 화면에서 설정으로 돌아갈 길 */
.digest .lrow-t b { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }   /* 오늘 모은 것 제목이 거의 다 잘리던 것 — 두 줄까지 */
.evhead > .iconbtn.round { margin-left: auto; }   /* 옆 창 머리 — ✕ 는 첫 줄 오른쪽 끝에(혼자 둘째 줄로 떨어지던 것) */

/* ---------- 간격 규칙 v7(2026-10-13) — 화면마다 14 · 18 · 28px 로 제각각이던 위아래 간격을 하나로.
 * 블록(카드 · 탭 줄 · 칩 줄) 사이 16px · 섹션 제목은 위로 32px, 자기 내용과는 8px(가까운 것끼리 묶여 보이게) ---------- */
:root { --g-block: 16px; --g-sec: 32px; --g-head: 8px; }
main, .mepage2, .pdetail, .settings2, .s-body, .p4, .p4 .col, .ov, .selftab, .study, .mesec { gap: var(--g-block); }
.sec-h { margin-top: calc(var(--g-sec) - var(--g-block)) !important; margin-bottom: calc(var(--g-head) - var(--g-block)) !important; }
.pj-legend { margin: 0 !important; }
.me-tabs + * { margin-top: 0; }
.lrow:not(.card) { padding-top: 8px; padding-bottom: 8px; }   /* 줄 글이 두 줄로 넘어가면 다음 줄에 붙던 것(여백 0 · 높이만 64) */
.pl-group > .lrow { border-bottom: 1px solid var(--line); } .pl-group > .lrow:last-child, .pl-org > .lrow:last-child { border-bottom: 0; }
.pl-org > .pl-oh { padding-top: 4px; }

/* 나 › 이력서(docs/RESUME-v1.md) */
.resume { display: flex; flex-direction: column; gap: var(--g-block); }
.rs-top { display: flex; flex-direction: column; gap: 12px; }
.rs-miss, .rs-chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.rs-kv { margin: 0; }
.rs-form { display: flex; flex-direction: column; gap: 12px; }
.rs-f { display: flex; flex-direction: column; gap: 4px; min-width: 0; } .rs-f .in { width: 100%; }
.rs-two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; } @media (max-width: 640px) { .rs-two { grid-template-columns: 1fr; } }
.rs-gpa { gap: 8px; align-items: center; flex-wrap: nowrap; } .rs-gpa .in:first-child { width: 90px; flex: none; }
.rs-skill { display: inline-flex; align-items: center; gap: 4px; padding: 4px 8px 4px 12px; } .rs-skill .linkbtn { color: var(--muted); }
.rs-doc { white-space: pre-wrap; max-height: 60vh; overflow: auto; padding: 16px; border-radius: var(--r-ctl); background: var(--surface-2); font-size: 13px; line-height: 1.7; }
.rs-miss .chip, .rs-chips .chip { min-height: 30px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); font: inherit; font-size: 13px; cursor: pointer; }   /* 빈 칸 · 추천 칩 — 앱 칩과 같은 모양(각진 회색 상자로 보이던 것) */
.rs-miss .chip:hover, .rs-chips .chip:hover { border-color: var(--accent); color: var(--accent); }
@media (max-width: 640px) { .rs-top .card-h { flex-wrap: wrap; row-gap: 8px; } .rs-top .card-h h2 { flex-basis: 100%; } .rs-top .card-h .spacer { display: none; } }
@media (min-width: 641px) and (max-width: 1100px) {   /* 태블릿 폭 — 성과 줄을 두 줄로(제목이 「액션…」으로 잘리고 날짜가 꺾이던 것) */
  .pj-row { grid-template-columns: minmax(0, 1fr) auto; gap: 8px 12px; } .pj-main { grid-column: 1 / -1; }
  .pj-row > .pj-slots { grid-row: auto; grid-column: 2; } .pj-miss { grid-column: 1; } .pj-act { grid-column: 1 / -1; justify-content: flex-end; }
}
/* 이력서 · 경력기술서 보기 — 높이 고정 · 문서만 스크롤 · 위 줄(맞춤 · 복사 · 인쇄)은 찌그러지지 않게 */
.sheet.doc-sheet { overflow: hidden; max-width: none; } @media (min-width: 641px) { .sheet.doc-sheet { width: min(980px, calc(100vw - 48px)); height: 90vh; max-height: 90vh; } }   /* .csheet 의 max-width 720 이 980 을 막고 있었다 */
@media (min-width: 641px) { .sheet.doc-sheet.doc-full { width: calc(100vw - 24px); height: calc(100vh - 24px); max-height: none; } }   /* 크게 보기 — 화면 가득, 종이는 .doc-wrap 의 zoom 으로 폭에 맞춤 */
.doc-sheet > .doc-bar, .doc-sheet > p { flex: none; } .doc-bar { flex-wrap: wrap; gap: 8px; } .doc-bar .seg { flex: none; }
.doc-wrap { flex: 1; min-height: 0; overflow-y: auto; padding: 16px; margin: 0 -8px; border-radius: var(--r-ctl); background: var(--bg); }
/* 이력서 v2 — 불러오기 줄 · 미리보기 고르기 · 경력 줄 단추 */
.rs-import { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 12px 12px; border-radius: var(--r-ctl); background: var(--surface-2); } .rs-import select.in { flex: 1; min-width: 200px; width: auto; }
.rs-ipick { display: flex; flex-wrap: wrap; gap: 8px 16px; } .rs-ip { display: inline-flex; gap: 8px; align-items: center; font-size: 15px; }
.rs-ibox { display: flex; flex-direction: column; gap: 2px; padding: 12px 12px; border-radius: var(--r-ctl); background: var(--surface-2); }
.rs-crow .lrow-t small { display: block; } .rs-acts { display: flex; gap: 8px; flex: none; } .rs-doc-edit { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; line-height: 1.6; }
@media (max-width: 640px) { .rs-crow { flex-wrap: wrap; } .rs-acts { width: 100%; justify-content: flex-end; } }

/* 공부 — 이야기 5칸(공부 v2 에서 이어 씀) */
.st-how { margin: 0; padding: 12px 16px 12px 32px; border-radius: var(--r-ctl); background: var(--surface); display: flex; flex-direction: column; gap: 4px; color: var(--ink-2); line-height: 1.6; }
.st-story { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.st-sl { display: grid; grid-template-columns: 24px 10em minmax(0, 1fr); gap: 12px; align-items: baseline; line-height: 1.65; padding: 12px 0; border-bottom: 1px solid var(--line); }
.st-sl:last-child { border-bottom: 0; }
.st-sn { color: var(--muted); font-size: 12px; } .st-sk { color: var(--ink-2); font-size: 13px; font-weight: 600; }
.st-sv { overflow-wrap: anywhere; font-size: 15px; } .st-sl.st-blank .st-sv { color: var(--muted); }
.st-fill { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; width: 100%; padding: 8px 12px; border: 1px dashed var(--line); border-radius: var(--r-ctl); background: none; font: inherit; font-size: 15px; text-align: left; cursor: pointer; color: var(--faint); }
.st-fill:hover { border-color: var(--accent); background: var(--accent-soft); } .st-fill-go { color: var(--accent-ink); font-weight: 600; font-size: 13px; }
.st-acts { flex-wrap: wrap; gap: 8px; align-items: center; }

/* 공부 v4(docs/ME-UX-v4.md) — 위 띠 + 탭 + 일 지도 두 칸(트리 · 일 상세). 아래로 펼치던 아코디언 대신 */
.study2 { display: flex; flex-direction: column; gap: 16px; }
.st-stats { display: flex; gap: 20px; font-size: 13px; color: var(--muted); } .st-stats b { font-size: 17px; color: var(--ink); } .st-stats small { color: var(--muted); }
.st-bandbar { flex: 1; min-width: 60px; height: 6px; border-radius: var(--r-md); background: var(--line); overflow: hidden; } .st-bandbar i { display: block; height: 100%; background: var(--proof); }
.st-help { width: 36px; padding: 0; justify-content: center; }
.st-views { display: inline-flex; gap: 2px; flex-wrap: wrap; align-self: flex-start; padding: 4px; border-radius: var(--r-ctl); background: var(--bg); }
.st-views button { height: 34px; padding: 0 16px; border: 0; border-radius: var(--r-md); background: transparent; color: var(--muted); font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }
.st-views button.on { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px rgba(0, 0, 0, .08); }
.st-map { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 16px; align-items: start; }
.st-tree { padding: 12px; gap: 4px; position: sticky; top: 16px; max-height: calc(100vh - 32px); overflow-y: auto; }
.st-tco { display: flex; flex-direction: column; gap: 2px; padding-bottom: 8px; }
.st-tco + .st-tco { border-top: 1px solid var(--line); padding-top: 8px; }
.st-tco-h { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; padding: 8px 8px; } .st-tco-h b { font-size: 15px; } .st-tco-h .linkbtn { margin-left: auto; }
.st-tpj { display: flex; flex-direction: column; margin: 8px 0 2px; } .st-tpj-h { padding: 8px 8px 4px 12px; font-weight: 700; }
/* 묶음(고객 · 프로젝트) 머리와 일을 구분 — 머리는 작은 대문자 꼬리표 + 왼쪽 줄, 일은 그 줄 안쪽으로(사용자 캡처: 머리와 일이 섞여 보이던 것) */
.st-tpj-h span { color: var(--ink-2); font-size: 12px; letter-spacing: .02em; display: inline-flex; align-items: center; gap: 8px; }
.st-tpj-h span::before { content: ""; width: 6px; height: 6px; border-radius: var(--r-sm); background: var(--accent); flex: none; }
.st-tpj > :not(.st-tpj-h) { margin-left: 12px; border-left: 2px solid var(--line); padding-left: 2px; }
.st-tpj + .st-tpj { border-top: 1px dashed var(--line); padding-top: 4px; }
.st-titem { display: flex; align-items: center; gap: 12px; width: 100%; padding: 8px 12px 8px 12px; border: 0; border-radius: var(--r-ctl); background: transparent; font: inherit; font-size: 15px; color: var(--ink); text-align: left; cursor: pointer; }
.st-titem.on { background: var(--accent-soft); font-weight: 600; }
@media (hover: hover) { .st-titem:not(.on):hover { background: var(--surface-2); } }
.st-titem-t { flex: 1; min-width: 0; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; line-height: 1.4; }   /* 두 줄까지 — 한 줄 말줄임이면 고를 근거가 없던 것 */
.st-mini { flex: none; width: 36px; height: 4px; border-radius: var(--r-sm); background: var(--line); overflow: hidden; } .st-mini i { display: block; height: 100%; background: var(--proof); }
.st-mini.wide { width: 100%; }
.st-detail { padding: 24px 28px; gap: 16px; min-width: 0; }
.st-goback { display: none; align-self: flex-start; }
.st-dh { display: flex; flex-direction: column; gap: 4px; } .st-dh h2 { margin: 0; font-size: 22px; line-height: 1.4; }
.st-dtabs { display: flex; gap: 24px; border-bottom: 1px solid var(--line); }
.st-dtabs button { padding: 0 0 12px; border: 0; border-bottom: 2px solid transparent; background: none; font: inherit; font-size: 15px; color: var(--muted); cursor: pointer; }
.st-dtabs button[aria-selected="true"] { border-bottom-color: var(--ink); color: var(--ink); font-weight: 700; }
.st-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.st-tile { gap: 8px; } .st-tile .btn { align-self: flex-start; margin-top: 4px; }
@media (max-width: 900px) {
  .st-map { grid-template-columns: minmax(0, 1fr); }
  .st-tree { position: static; max-height: none; }
  .st-map.detail .st-tree { display: none; } .st-map:not(.detail) .st-detail { display: none; }
  .st-goback { display: inline-flex; }
  .st-sl { grid-template-columns: 24px minmax(0, 1fr); } .st-sv { grid-column: 2; }
  .st-detail { padding: 20px; }
}

/* 나 v4(docs/ME-UX-v4.md) — 이름 한 줄 · 탭(｜정리함) · 프로필 한 장(격자 두 칸) */
.me-slim { align-items: center; gap: 12px; } .me-slim b { font-size: 22px; }   /* 보이기 · 숨기기는 .only-phone 이(PC 에 「나」 머리가 보이던 것 — display:flex 가 덮어씀, v7) */
.me-tabs-sep { width: 1px; height: 16px; background: var(--line); align-self: center; flex: none; }
.tidy-h { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.tidy-t { display: inline-flex; align-items: center; gap: 4px; height: 36px; padding: 0 16px; border-radius: 999px; background: var(--surface); color: var(--ink-2); font-size: 15px; }
.tidy-t.on { background: var(--ink); color: var(--surface); font-weight: 600; } .tidy-t:hover { text-decoration: none; }
.tidy-grades { display: flex; gap: 16px; color: var(--muted); } .tidy-grades a { color: var(--muted); } .tidy-grades b { color: var(--ink); font-size: 15px; margin-right: 2px; }
.prof { display: grid; grid-template-columns: minmax(300px, 380px) minmax(0, 1fr); gap: 16px; align-items: start; }
.prof-l, .prof-r { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.prof-card { gap: 12px; }
.prof-who { display: flex; align-items: center; gap: 16px; }
.prof-ava { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: none; }
.prof-ava.ini { display: flex; align-items: center; justify-content: center; background: var(--accent-soft); color: var(--accent); font-weight: 700; font-size: 17px; }
.prof-name { font-size: 22px; }
.prof-intro { margin: 0; font-size: 17px; font-weight: 600; line-height: 1.55; }
.prof-traits { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; line-height: 1.55; }
.prof-next { display: flex; flex-direction: column; gap: 8px; padding: 20px 24px; border-radius: var(--r-card); background: var(--accent); color: var(--on-accent); }   /* 강조색 — 다크 모드에서 --ink 배경이 밝아져 흰 글자가 사라지던 것 */
.prof-next-1 { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; } .prof-next-1 b { flex: 1; min-width: 200px; font-size: 15px; line-height: 1.5; }
.prof-next-tag { font-size: 12px; padding: 4px 12px; border-radius: 999px; background: rgba(255, 255, 255, .14); }
.prof-next .btn { background: var(--on-accent); color: var(--accent); }
.prof-more { color: var(--on-accent); opacity: .85; align-self: flex-start; }
.prof-todo { margin: 0; padding: 0 0 0 20px; display: flex; flex-direction: column; gap: 8px; } .prof-todo li { display: flex; align-items: center; gap: 12px; font-size: 15px; } .prof-todo li span { flex: 1; }
.prof-reps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.prof-rep { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 16px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--surface); font: inherit; color: var(--ink); text-align: left; cursor: pointer; min-width: 0; }
@media (hover: hover) { .prof-rep:hover { border-color: var(--accent); } }
.prof-rep b { font-size: 15px; line-height: 1.5; overflow-wrap: anywhere; }
.prof-num { font-size: 15px; font-weight: 700; color: var(--accent); overflow-wrap: anywhere; }
.prof-rep .grade { margin-top: auto; }
.prof-line { display: flex; gap: 4px; }
.prof-seg { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 2px; padding: 8px 12px; border-radius: var(--r-ctl); background: var(--accent-soft); color: var(--ink); overflow: hidden; }
.prof-seg b, .prof-seg small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .prof-seg b { font-size: 13px; } .prof-seg small { font-size: 11px; color: var(--muted); }
.prof-seg.now { background: var(--accent); color: var(--on-accent); } .prof-seg.now small { color: rgba(255, 255, 255, .8); }
.prof .mebox { background: none; padding: 0; border-radius: 0; }
@media (max-width: 1100px) { .prof { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .prof-reps { grid-template-columns: minmax(0, 1fr); } .me-slim.only-phone { flex-direction: row; justify-content: flex-end; } }   /* 이름 머리는 뺐다(사용자 10-24) — 휴대폰엔 설정 단추만 오른쪽에 */
@media (max-width: 640px) { .me-tabs { -webkit-mask-image: linear-gradient(to right, #000 82%, transparent); mask-image: linear-gradient(to right, #000 82%, transparent); padding-right: 24px; } }

/* 대표 성과 목록-상세 · 자기소개 편집기 + 재료(docs/ME-UX-v4.md) */
.pj-views { align-items: center; } .pj-views button.on .num { color: inherit; } .pj-sub { margin-left: auto; }
.pj2 { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 16px; align-items: start; }
.pj2-tree { padding: 12px; gap: 4px; position: sticky; top: 16px; max-height: calc(100vh - 32px); overflow-y: auto; }
.pj2-co { display: flex; flex-direction: column; gap: 2px; padding-bottom: 8px; } .pj2-co + .pj2-co { border-top: 1px solid var(--line); padding-top: 8px; }
.pj2-coh { display: flex; flex-direction: column; gap: 2px; padding: 8px 8px; } .pj2-coh b { font-size: 15px; }
.pj2-item { display: flex; align-items: center; gap: 8px; width: 100%; padding: 8px 12px; border: 0; border-radius: var(--r-ctl); background: transparent; font: inherit; font-size: 15px; color: var(--ink); text-align: left; cursor: pointer; }
.pj2-item.on { background: var(--accent-soft); font-weight: 600; }
@media (hover: hover) { .pj2-item:not(.on):hover { background: var(--surface-2); } }
.pj2-t { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pj2-item .bp-cat { flex: none; font-size: 12px; }
.pj2-detail { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.pj2-detail > .bp { background: var(--surface); border-radius: var(--r-card); padding: 24px 24px; }
.intro2 { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 16px; align-items: start; }
.intro2-main { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.intro2-side { position: sticky; top: 16px; max-height: calc(100vh - 32px); overflow-y: auto; border-radius: var(--r-card); }
.intro-lens { display: flex; gap: 8px; flex-wrap: wrap; }
.intro-lens button { height: 36px; padding: 0 16px; border: 0; border-radius: 999px; background: var(--surface-2); color: var(--ink-2); font: inherit; font-size: 15px; cursor: pointer; }
.intro-lens button.on { background: var(--ink); color: var(--surface); font-weight: 600; }
.intro-tgt { align-items: center; gap: 12px; flex-wrap: wrap; } .intro-tgt select.in { width: auto; min-width: 220px; flex: 0 1 auto; }
@media (max-width: 1000px) { .intro2 { grid-template-columns: minmax(0, 1fr); } .intro2-side { position: static; max-height: none; } }
@media (max-width: 900px) { .pj2 { grid-template-columns: minmax(0, 1fr); } .pj2-tree { position: static; max-height: none; } }

/* 이력서 v4 — 왼쪽 목차(빈 칸 표시) + 오른쪽 묶음 하나(docs/ME-UX-v4.md) */
.rs2 { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 16px; align-items: start; }
.rs2-toc { padding: 12px; gap: 2px; position: sticky; top: 16px; }
.rs2-t { display: flex; align-items: center; gap: 8px; width: 100%; padding: 12px 12px; border: 0; border-radius: var(--r-ctl); background: transparent; font: inherit; font-size: 15px; color: var(--ink); text-align: left; cursor: pointer; }
.rs2-t span { flex: 1; } .rs2-t.on { background: var(--accent-soft); font-weight: 600; }
@media (hover: hover) { .rs2-t:not(.on):hover { background: var(--surface-2); } }
.rs2-views { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); } .rs2-views .btn { width: 100%; justify-content: center; }
.rs2-body { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
@media (max-width: 900px) {
  .rs2 { grid-template-columns: minmax(0, 1fr); }
  .rs2-toc { position: static; flex-direction: row; flex-wrap: wrap; padding: 8px; gap: 4px; }   /* 휴대폰 — 가로로 넘기던 목차를 감싸서 한눈에(「경력」이 끝에서 잘려 넘길 줄 모르던 것) */
  .rs2-t { width: auto; flex: none; white-space: nowrap; }
  .rs2-views { flex-direction: row; flex-basis: 100%; margin: 4px 0 0; padding: 8px 0 0; border-top: 1px solid var(--line); border-left: 0; } .rs2-views .btn { flex: 1; white-space: nowrap; }   /* 감싼 목차 아래 한 줄 — 「이력서 보기」가 화면 밖에 숨던 것 */
}
.kv dd { overflow-wrap: anywhere; }
.self-top { display: flex; flex-direction: column; gap: 8px; }
.self-grid { align-items: stretch; }
/* 정리함 › 쌓인 기록 — 고르기 칸 · 고른 것 띠 */
.rec-ck { width: 18px; height: 18px; margin: 0; accent-color: var(--accent); }
.recs-pick { position: sticky; top: 8px; z-index: 2; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 12px 16px; border-radius: var(--r-ctl); background: var(--ink); color: var(--surface); }
.recs-pick .muted { color: rgba(255, 255, 255, .7); } .recs-pick .btn.ghost { color: var(--surface); }

/* 홈 v4 — PC 두 칸(docs/ME-UX-v4.md) */
.home2 { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 16px; align-items: start; }
.home2-main, .home2-side { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.home2-side { position: sticky; top: 16px; }
.home2-side .week .bars { max-width: 100%; }
/* 준비 › 준비하기 묶음 탭 · 요구사항과 근거 나란히(docs/ME-UX-v4.md) */
.psecs { margin-top: 4px; }
.psec-two { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 16px; align-items: start; }
.psec-col { display: flex; flex-direction: column; gap: 8px; min-width: 0; } .psec-col .sec-h { margin: 0 !important; }
/* 오른쪽 「근거」 칸은 좁아 제목이 4~5글자만 보이던 것(화면 점검 11-23 21번) — 제목은 첫 줄 전체(두 줄까지), 등급 · 날짜 · 빼기는 둘째 줄 */
.psec-col .ev.picked { grid-template-columns: auto auto minmax(0, 1fr) auto; row-gap: 4px; }
.psec-col .ev.picked .t { grid-column: 1 / -1; white-space: normal; overflow-wrap: anywhere; }
.psec-col .ev.picked .t-in { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }
.psec-col .ev.picked .date { display: inline; } .psec-col .ev.picked .pk-drop { grid-column: -2 / -1; justify-self: end; }
/* 요구사항을 못 뽑아 왼쪽 카드가 없으면 근거 칸이 폭 전체를 쓴다(왼쪽 칸에 혼자 남아 오른쪽이 비던 것) */
.psec-two > .psec-col:first-child { grid-column: 1 / -1; }
@media (max-width: 1100px) { .psec-two { grid-template-columns: minmax(0, 1fr); } }
/* 준비 목록 — PC 두 칸: 진행 중(넓게) · 시작하기(옆 칸, 타일 세로)(docs/ME-UX-v4.md) */

.st-tpj-h { display: flex; align-items: center; gap: 8px; } .st-tpj-h span { flex: 1; min-width: 0; } .st-tpj-h .linkbtn { font-weight: 400; }
.st-flag { flex: none; width: 7px; height: 7px; border-radius: 50%; border: 1.5px solid var(--faint); }
.st-flag.stuck { border-color: var(--warn); background: var(--warn); }
.pj-views.st-views button { border-bottom: 0; }
.pj-views.st-views { border-bottom: 0; gap: 8px; }
.pj-views.st-views button { height: 34px; padding: 0 16px; margin: 0; border-radius: var(--r-md); font-size: 15px; }
.pj-views.st-views button.on { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px rgba(0, 0, 0, .08); }

/* 공부 › 성장(docs/GROW-v1.md) — 왼쪽 방향 칸 · 오른쪽 격차 지도 + 학습 코스 */
.study-modes { display: flex; flex-direction: column; gap: 16px; }
/* 코딩 테스트 홈(docs/CODING-UI-v1.md A) — me-os 카드 · 탭 · 두 칸 그대로 */
.cd-home, .cd-today, .cd-company { display: flex; flex-direction: column; gap: 16px; }
.cd-band { display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: 12px 20px; text-align: left; }
.cd-band-t { display: flex; flex-direction: column; gap: 2px; min-width: 0; } .cd-band-t b { font-size: 17px; }
.cd-ws { font: inherit; font-weight: 700; font-size: 15px; max-width: 420px; }
.cd-band .st-stats { margin-left: auto; }
.cd-band .cd-bar { flex-basis: 100%; }
.cd-plan h2, .cd-company h2 { margin: 0; font-size: 17px; } .cd-plan .row { align-items: baseline; gap: 12px; }
.cd-list { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.cd-list li { display: flex; align-items: center; gap: 12px; padding: 12px 12px; border: 1px solid var(--line); border-radius: var(--r-ctl); background: var(--surface); }
.cd-list li.cur { border-color: var(--accent); background: var(--accent-soft); }
.cd-list li.done { opacity: .75; }
.cd-li-t { flex: 1; min-width: 0; }
.cd-real { margin-top: 12px; align-items: center; gap: 12px; }
.cd-two { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.cd-two h3, .cd-company h3 { margin: 0 0 8px; font-size: 15px; }
.cd-axes { display: flex; flex-direction: column; gap: 8px; }
.cd-axis { display: grid; grid-template-columns: 9.5em minmax(0, 1fr) 2.4em; align-items: center; gap: 12px; font-size: 13px; }
.cd-axis.weak span:first-child { color: var(--warn-ink); font-weight: 700; }
.cd-bar { display: block; height: 6px; border-radius: var(--r-md); background: var(--line); overflow: hidden; } .cd-bar i { display: block; height: 100%; background: var(--accent); }
.cd-axis.weak .cd-bar i { background: var(--warn); }
.pill.cd-lv2 { color: var(--accent-ink); } .pill.cd-lv3 { color: var(--proof-ink); font-weight: 700; }
.cd-guide { align-self: flex-start; margin-top: 8px; } .cd-rv-bar { width: 120px; flex-basis: auto !important; }
.cd-schema { font: 12px/1.5 var(--mono, ui-monospace, monospace); white-space: pre-wrap; background: var(--surface-2); border-radius: var(--r-md); padding: 12px 12px; }
/* 폭 제한(560px)을 풀어 카드 폭을 채운다 — 카드 안 오른쪽 반이 비던 것(화면 점검 11-23 16번) */
.cd-form { display: flex; flex-direction: column; gap: 8px; } .cd-form .btn { align-self: flex-start; }
/* 코딩 테스트 풀기(docs/CODING-UI-v1.md B) — 세 칸 · 손잡이 · 편집기. 높이는 화면만큼, 각 칸이 스스로 넘친다 */
.cx { display: flex; flex-direction: column; gap: 12px; height: calc(100svh - 150px); min-height: 540px; }
.cx-bar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.cx-timer { font-size: 17px; font-weight: 700; padding: 4px 12px; border-radius: var(--r-md); background: var(--surface-2); } .cx-timer.low { color: var(--warn-ink); }
.cx-stage { flex: 1; min-height: 0; display: grid; grid-template-columns: var(--c1, minmax(280px, 30%)) 6px minmax(0, 1fr) 6px var(--c3, minmax(300px, 28%));
  border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; background: var(--surface); }
.cx-pane, .cx-pane-in { display: flex; flex-direction: column; min-height: 0; min-width: 0; }
.cx-pane-in { flex: 1; }
.cx-split { background: var(--line); cursor: col-resize; position: relative; touch-action: none; }
.cx-hsplit { height: 6px; background: var(--line); cursor: row-resize; position: relative; touch-action: none; }
.cx-split::after { content: ""; position: absolute; inset: 0 -4px; } .cx-hsplit::after { content: ""; position: absolute; inset: -4px 0; }
.cx-split:hover, .cx-split.on, .cx-split:focus-visible, .cx-hsplit:hover, .cx-hsplit.on, .cx-hsplit:focus-visible { background: var(--accent); outline: none; }
.cx-tabs { display: flex; gap: 16px; padding: 12px 16px 0; border-bottom: 1px solid var(--line); flex: none; }
.cx-tabs button { border: 0; background: none; font: inherit; font-size: 15px; color: var(--muted); padding: 0 0 8px; border-bottom: 2px solid transparent; cursor: pointer; }
.cx-tabs button[aria-selected="true"] { color: var(--ink); font-weight: 700; border-bottom-color: var(--ink); }
.cx-tab-t { font-weight: 700; padding-bottom: 8px; }
.cx-scroll { flex: 1; overflow: auto; padding: 16px 16px; display: flex; flex-direction: column; gap: 12px; }
.cx-h { margin: 0; font-size: 22px; } .cx-scroll h3 { margin: 8px 0 0; font-size: 15px; }
.cx-ret, .cx-out pre, .cx-err { font: 12px/1.5 var(--mono, ui-monospace, monospace); white-space: pre-wrap; word-break: break-word; background: var(--surface-2); border-radius: var(--r-md); padding: 8px 12px; margin: 0; }
.cx-err { color: var(--warn-ink); }
.cx-hints { border: 1px solid var(--warn); border-radius: var(--r-ctl); padding: 12px 12px; } .cx-hints ol { margin: 8px 0 0; padding-left: 20px; }
.cx-work { background: var(--surface); display: grid; grid-template-rows: auto minmax(0, 1fr) 6px auto var(--out-h, minmax(140px, 32%)); }
.cx-ebar { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.cx-file { font: 500 12px var(--mono, ui-monospace, monospace); color: var(--muted); }
.cx-editor { display: grid; grid-template-columns: auto minmax(0, 1fr); min-height: 0; overflow: hidden; background: var(--surface-2); }
.cx-gutter { margin: 0; padding: 12px 8px 12px 12px; font: 13px/1.6 var(--mono, ui-monospace, monospace); color: var(--muted); text-align: right; overflow: hidden; user-select: none; }
.cx-codewrap { position: relative; min-width: 0; }
.cx-hl, .cx-code-in { position: absolute; inset: 0; margin: 0; padding: 12px 16px; font: 13px/1.6 var(--mono, ui-monospace, monospace); white-space: pre; overflow: auto; tab-size: 4; border: 0; }
.cx-hl { pointer-events: none; color: var(--ink); }
.cx-code-in { background: transparent; color: transparent; caret-color: var(--ink); resize: none; outline: none; }
.cx-code-in::selection { background: color-mix(in srgb, var(--accent) 30%, transparent); color: transparent; }
.cx-console { overflow: auto; padding: 12px 16px; min-height: 0; }
.cx-checks { list-style: none; margin: 4px 0; padding: 0; font-size: 13px; }
.cx-sql { display: flex; flex-direction: column; gap: 8px; } .cx-sql-in { flex: 1; font: 12px/1.5 var(--mono, ui-monospace, monospace); }
.cx-table { overflow: auto; } .cx-table table { border-collapse: collapse; font: 12px/1.5 var(--mono, ui-monospace, monospace); }
.cx-table th, .cx-table td { border: 1px solid var(--line); padding: 4px 8px; text-align: left; white-space: nowrap; }
.cx-chat-wrap { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.cx-chat { flex: 1; overflow: auto; padding: 12px 16px; display: flex; flex-direction: column; gap: 12px; }
.cx-msg { border-radius: var(--r-ctl); padding: 8px 12px; font-size: 15px; line-height: 1.55; overflow-wrap: anywhere; }
.cx-msg.me { align-self: flex-end; max-width: 92%; background: var(--accent-soft); white-space: pre-wrap; }
.cx-msg.ai { background: var(--surface-2); }
.cx-reply .md table { border-collapse: collapse; font-size: 13px; } .cx-reply .md td, .cx-reply .md th { border: 1px solid var(--line); padding: 4px 8px; vertical-align: top; }
.cx-code { display: flex; flex-direction: column; gap: 4px; margin: 8px 0; }
.cx-code pre { margin: 0; font: 12px/1.5 var(--mono, ui-monospace, monospace); white-space: pre; overflow: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 8px 12px; }
.cx-compose { border-top: 1px solid var(--line); padding: 12px 12px; display: flex; flex-direction: column; gap: 8px; flex: none; }
.cx-compose .row { gap: 12px; }
.cx-coach { align-self: flex-end; max-width: 92%; border-left: 3px solid var(--accent); padding: 8px 12px; background: var(--surface); }
.cx-steps { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 12px; } .cx-steps li.done { color: var(--muted); } .cx-steps li.on { font-weight: 400; }
.cx-grade { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 8px; } .cx-grade li.done { color: var(--proof-ink); } .cx-grade li.run { font-weight: 700; }
.tk-kw { color: #7c3aed; } .tk-str { color: #b45309; } .tk-com { color: var(--muted); font-style: italic; } .tk-num { color: #0e7490; } .tk-fn { color: #2563eb; } .tk-bi { color: #0f766e; } .tk-deco { color: #9333ea; }
:root[data-theme="dark"] .tk-kw { color: #c4b5fd; } :root[data-theme="dark"] .tk-str { color: #fcd34d; } :root[data-theme="dark"] .tk-num { color: #67e8f9; } :root[data-theme="dark"] .tk-fn { color: #93c5fd; } :root[data-theme="dark"] .tk-bi { color: #5eead4; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .tk-kw { color: #c4b5fd; } :root:not([data-theme="light"]) .tk-str { color: #fcd34d; } :root:not([data-theme="light"]) .tk-num { color: #67e8f9; } :root:not([data-theme="light"]) .tk-fn { color: #93c5fd; } :root:not([data-theme="light"]) .tk-bi { color: #5eead4; } }
/* 배우기 코스(docs/CODING-UI-v1.md C) — 풀기 화면 왼쪽 「코스」 칸 */
.cl { gap: 12px; } .cx-keep { display: flex; flex-direction: column; flex: 1; min-height: 0; } .cx-keep[hidden] { display: none; }
.cl-head { display: flex; flex-direction: column; gap: 8px; } .cl-head p { margin: 0; }
.cl-ph { list-style: none; display: flex; gap: 8px; flex-wrap: wrap; margin: 0; padding: 0; }
.cl-ph li { padding: 4px 12px; border-radius: 999px; border: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.cl-ph li.on { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-ink); font-weight: 700; } .cl-ph li.done { color: var(--proof-ink); }
.cl-card { gap: 12px; } .cl-card h2 { margin: 2px 0; font-size: 17px; line-height: 1.45; } .cl-card h2 .md p { margin: 0; }
.cl-choices { display: flex; flex-direction: column; gap: 8px; }
.cl-choice { text-align: left; font: inherit; font-size: 15px; padding: 12px 12px; border: 1px solid var(--line); border-radius: var(--r-ctl); background: var(--surface); color: var(--ink); cursor: pointer; }
.cl-choice.sel { border-color: var(--accent); background: var(--accent-soft); }
.cl-choice.right, .cl-pl.right { border-color: var(--proof); background: color-mix(in srgb, var(--proof) 12%, transparent); }
.cl-choice.wrong, .cl-pl.wrong { border-color: var(--warn); background: color-mix(in srgb, var(--warn) 12%, transparent); }
.cl-choice.missed { border-style: dashed; border-color: var(--warn); }
.cl-fb { border-radius: var(--r-ctl); padding: 12px 12px; font-size: 15px; background: var(--surface-2); } .cl-fb.ok { border-left: 3px solid var(--proof); } .cl-fb.no { border-left: 3px solid var(--warn); }
.cl-fb p { margin: 4px 0; }
.cl-picker { border: 1px solid var(--line); border-radius: var(--r-md); overflow: auto; background: var(--surface-2); display: flex; flex-direction: column; }
.cl-pl { display: flex; gap: 12px; text-align: left; border: 0; border-bottom: 1px solid var(--line); background: transparent; padding: 4px 12px; font: 12px/1.6 var(--mono, ui-monospace, monospace); color: var(--ink); cursor: pointer; white-space: pre; border-left: 3px solid transparent; }
.cl-pl.sel { background: var(--accent-soft); border-left-color: var(--accent); } .cl-pl .ln { color: var(--muted); min-width: 2ch; text-align: right; user-select: none; }
.cl-pl code { background: none; padding: 0; border: 0; font: inherit; color: inherit; }
.cl-demo { display: grid; grid-template-columns: auto 1fr; gap: 8px 12px; margin: 0; } .cl-demo dt { color: var(--muted); font-size: 13px; } .cl-demo dd { margin: 0; }
.cl-said { border-left: 3px solid var(--accent); padding: 8px 12px; background: var(--surface-2); border-radius: 0 var(--r-md) var(--r-md) 0; font-size: 15px; }
.cl-fields { display: flex; flex-direction: column; gap: 8px; } .cl-fields label { display: flex; flex-direction: column; gap: 4px; }
.cl-in { flex: 1; min-width: 0; }
.cl-mini { display: flex; flex-direction: column; gap: 8px; max-height: 320px; overflow: auto; }
.cl-tip { border-left: 3px solid var(--warn); padding: 8px 12px; background: var(--surface-2); }
.cl-cmp { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; } .cl-cmp pre { font: 12px/1.5 var(--mono, ui-monospace, monospace); white-space: pre-wrap; background: var(--surface); padding: 8px 8px; border-radius: var(--r-md); margin: 4px 0 0; max-height: 200px; overflow: auto; }
.cl-tutor { gap: 8px; } .cl-nav { position: sticky; bottom: -16px; margin-bottom: -16px; background: var(--surface); padding: 12px 0 16px; border-top: 1px solid var(--line); }
.cx-stage.learn { grid-template-columns: var(--c1, minmax(360px, 40%)) 6px minmax(0, 1fr) 6px var(--c3, minmax(280px, 26%)); }   /* 배우기 — 코스 칸을 넓게 */
@media (max-width: 1000px) {                                              /* 좁은 화면 — 세 칸을 위아래로, 손잡이 없이 */
  .cx { height: auto; }
  .cx-stage { grid-template-columns: minmax(0, 1fr) !important; grid-template-rows: auto minmax(460px, auto) auto; }
  .cx-split { display: none; } .cx-pane { min-height: 380px; } .cx-scroll { max-height: 60svh; }
}
.grow-page { display: flex; flex-direction: column; gap: 16px; }
.gr2 { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 16px; align-items: start; }
.gr-side, .gr-main { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.gr-side { position: sticky; top: 16px; }
.gr-dir h2 { margin: 0; font-size: 22px; }
.gr-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.gr-trend { margin: 0; padding: 8px 12px; border-radius: var(--r-ctl); background: var(--surface-2); }
.gr-count { display: flex; flex-wrap: wrap; gap: 12px; color: var(--muted); } .gr-count b { color: var(--ink); }
.gr-others { display: flex; flex-direction: column; } .gr-other { display: flex; align-items: center; gap: 8px; padding: 8px 0; border-top: 1px solid var(--line); } .gr-other:first-child { border-top: 0; } .gr-other .linkbtn { flex: 1; text-align: left; }
.gr-needs { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.gr-need { display: grid; grid-template-columns: minmax(0, 1fr) auto auto 92px; align-items: center; gap: 12px; padding: 12px 8px; border-top: 1px solid var(--line); border-radius: var(--r-ctl); }
.gr-need:first-child { border-top: 0; } .gr-need.on { background: var(--accent-soft); }
.gr-need-t { display: flex; flex-direction: column; gap: 2px; min-width: 0; border: 0; background: none; padding: 0; font: inherit; color: var(--ink); text-align: left; cursor: pointer; }
.gr-act { justify-self: end; }
.gr-none { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.gr-steps { display: flex; flex-direction: column; gap: 12px; }
.gr-step { padding: 12px 16px; border-radius: var(--r-ctl); background: var(--surface-2); } .gr-step p { margin: 8px 0 0; white-space: pre-wrap; line-height: 1.7; }
.gr-empty { gap: 12px; } .gr-empty h2 { margin: 0; }
@media (max-width: 900px) {
  .gr2 { grid-template-columns: minmax(0, 1fr); } .gr-side { position: static; }
  .gr-need { grid-template-columns: minmax(0, 1fr) auto; } .gr-ev { grid-column: 1; } .gr-act { grid-column: 2; grid-row: 1 / span 2; }
}
.gr-need .pill { white-space: nowrap; }
/* 이력서 보기 — 양식 고르기(papers.js) */
.doc-tpls { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 2px; }
.doc-tpl { flex: none; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 12px 16px; border: 1px solid var(--line); border-radius: var(--r-ctl); background: var(--surface); font: inherit; color: var(--ink); text-align: left; cursor: pointer; max-width: 220px; }
.doc-tpl small { color: var(--muted); font-size: 12px; line-height: 1.4; } .doc-tpl.on { border-color: var(--accent); background: var(--accent-soft); }
@media (max-width: 900px) { .gr-need .pill { justify-self: start; } }

/* 공부 › 이번 면접(2026-10-14) — 왼쪽 날짜별 계획 · 오른쪽 왜 빠르게 · 이번 면접 카드 / 60초 말해 보기 · 왜 채우기 창 */
.fc { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 16px; align-items: start; }
.fc-main, .fc-side { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.fc-side { position: sticky; top: 16px; } .fc-side .card { gap: 12px; } .fc-side .btn { align-self: flex-start; }
.fc-head { gap: 12px; } .fc-ht { display: flex; align-items: center; gap: 12px; } .fc-ht b { font-size: 17px; }
.fc-prog { display: flex; align-items: center; gap: 12px; } .fc-prog .st-bandbar { flex: 1; }
.fc-day summary { cursor: pointer; } details.fc-day { display: block; } details.fc-day[open] > summary { margin-bottom: 12px; }   /* 접힌 날 카드 밑 빈 칸 — flex gap 이 숨은 내용에도 붙던 것 */
.fc-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.fc-stories { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; } .fc-story { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 12px; border-radius: var(--r-ctl); background: var(--surface-2); }
.fc-sn { width: 24px; height: 24px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; } .fc-st { display: flex; flex-direction: column; gap: 2px; min-width: 0; } .fc-st b { font-size: 15px; } .fc-st small { overflow-wrap: anywhere; }
@media (max-width: 640px) { .fc-story { grid-template-columns: 24px minmax(0, 1fr); } .fc-story .fc-acts { grid-column: 2; } }
.fc-row { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); } .fc-row:first-child { border-top: 0; }
.fc-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; border: 0; background: none; padding: 0; font: inherit; color: var(--ink); text-align: left; cursor: pointer; }
.fc-t b { font-weight: 600; }
.tk-box, .tk-res { display: flex; flex-direction: column; gap: 12px; }
.tk-box textarea.in, .wy-panel textarea.in { height: auto; padding: 12px 12px; font: inherit; line-height: 1.6; }
.tk-verdict { display: flex; align-items: baseline; gap: 12px; padding: 12px 16px; border-radius: var(--r-ctl); background: var(--warn-soft); } .tk-verdict.ok { background: var(--proof-soft); }
.tk-slots { display: flex; flex-wrap: wrap; gap: 8px; }
.wy-q { padding: 12px 16px; border-radius: var(--r-ctl); background: var(--surface-2); } .wy-q > small { display: block; margin-bottom: 2px; }
@media (max-width: 900px) { .fc { grid-template-columns: minmax(0, 1fr); } .fc-side { position: static; } .fc-row { flex-wrap: wrap; } .fc-row .btn { margin-left: auto; } }
.st-stats { flex-wrap: wrap; row-gap: 4px; } .st-stats span, .fc-ht .pill { white-space: nowrap; } .fc-ht .pill { flex: none; }
/* 받아쓰기 방식 고르기(mic.js) */
.mic-eng { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; } .mic-eng .chip.on { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
.mic-mid { color: var(--muted); } .mic-prep { padding: 8px 12px; border-radius: var(--r-ctl); background: var(--surface-2); }
/* 말해 보기 · 꼬리질문 · 오늘 한 번에 */
.tk-panel, .wy-panel { display: flex; flex-direction: column; gap: 12px; }
.tk-follow { display: flex; flex-direction: column; gap: 8px; padding: 12px 16px; border-radius: var(--r-ctl); border: 1px solid var(--line); }
.tk-fbox { display: flex; flex-direction: column; gap: 8px; } .tk-fbox textarea.in { height: auto; padding: 12px 12px; font: inherit; }
.td-prog { gap: 8px; align-items: center; }
/* 일 상세 머리 — AI 도우미 링크는 제목 왼쪽 끝에 맞춰 한 줄로 */
.evhero .evai { display: flex; flex-wrap: wrap; gap: 8px 16px; } .evhero .evai .ai-link { margin: 0; }
/* 옆 창 머리 — 채우기 · 고치기 · ✕ 는 한 덩이로 오른쪽 끝에(✕ 나 고치기만 둘째 줄로 떨어지던 것) */
.evhead .evh-act { display: flex; align-items: center; gap: 8px; flex: none; margin-left: auto; }
/* 이력서 목록 — 책 표지 · 상장 그림 */
.rs-thumb { flex: none; width: 44px; height: 58px; padding: 0; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; background: var(--surface-2); cursor: zoom-in; }
.rs-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.rs-imgadd { flex: none; cursor: pointer; }
.rs-big { display: block; max-width: 100%; max-height: 70vh; margin: 0 auto; border-radius: var(--r-md); }
/* 이력서 — 뺀 학교 · 회사 */
.rs-hidden { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line); }
.rs-hid { display: inline-flex; align-items: baseline; gap: 8px; }
/* 「왜」 예시 셋 · 카드 맥락 줄 */
.wy-exbtn { align-self: flex-start; color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; min-height: 32px; }
.wy-ex { display: flex; flex-direction: column; gap: 8px; } .st-fill-in { width: 100%; min-height: 96px; font: inherit; line-height: 1.55; padding: 12px 12px; resize: vertical; color: var(--ink); }
.wy-exi { text-align: left; font: inherit; line-height: 1.55; color: var(--ink); padding: 12px 12px; border-radius: var(--r-ctl); border: 1px solid var(--line); background: var(--surface); cursor: pointer; }
.wy-exi:hover, .wy-exi:focus-visible { border-color: var(--accent); background: var(--accent-soft); }
.st-ctx { padding: 8px 12px; border-radius: var(--r-ctl); background: var(--surface-2); line-height: 1.55; }
/* 공부 순서 띠 — ① 왜 → ② 말해 보기 → ③ 카드 */
.st-path { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.st-path li { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: var(--r-ctl); background: var(--surface); border: 1px solid var(--line); min-width: 0; }
.st-path li.on { border-color: var(--accent); background: var(--accent-soft); }
.st-path li.done { background: var(--surface-2); } .st-path li.done .st-pn { background: var(--proof-soft); color: var(--proof-ink); }   /* opacity 로 흐리면 보조 글 대비가 무너진다 */
.st-pn { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 700; background: var(--surface-2); }
.st-path li.on .st-pn { background: var(--accent); color: var(--on-accent); }
.st-pt { display: flex; flex-direction: column; min-width: 0; flex: 1; } .st-pt small { line-height: 1.45; }
.st-path .btn { flex: none; }
/* AI 방향 제안 — 오른쪽 패널 · 비교 줄 · 옆으로 넘기는 한 장씩 */
@media (min-width: 721px) { .sheet.csheet.gr-drawer { left: auto; right: 0; top: 0; bottom: 0; transform: none; width: min(560px, 100vw); max-width: none; max-height: none; height: 100dvh; margin: 0; border-radius: var(--r-card) 0 0 var(--r-card); } }
.gr-pick { margin: 0; padding: 12px 16px; border-radius: var(--r-ctl); background: var(--accent-soft); line-height: 1.55; }
.gr-cmp { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 8px; }
.gr-cmp button { display: flex; flex-direction: column; gap: 8px; min-width: 0; text-align: left; font: inherit; color: var(--ink); padding: 12px; border-radius: var(--r-ctl); border: 1px solid var(--line); background: var(--surface); cursor: pointer; }
.gr-cmp button b { font-size: 13px; line-height: 1.35; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.gr-cmp button.on { border-color: var(--accent); background: var(--accent-soft); }
.gr-bar { display: flex; height: 6px; border-radius: var(--r-sm); overflow: hidden; background: var(--surface-2); } .gr-bar i { display: block; } .gr-bar .have { background: var(--proof); } .gr-bar .thin { background: repeating-linear-gradient(45deg, var(--proof) 0 2px, transparent 2px 4px); }
.gr-slides { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; gap: 0; } .gr-slides::-webkit-scrollbar { display: none; }
.gr-slide { flex: 0 0 100%; min-width: 0; scroll-snap-align: start; display: flex; flex-direction: column; gap: 12px; padding: 4px; }
.gr-cmp button:focus-visible { outline-offset: 0; border-radius: var(--r-ctl); }
.gr-slide h2 { margin: 0; font-size: 17px; } .gr-slide .row { gap: 8px; align-items: center; } .gr-slide > .btn { align-self: flex-start; }
.gr-fit { display: flex; flex-direction: column; gap: 2px; padding: 12px 12px; border-radius: var(--r-ctl); background: var(--surface-2); }
.gr-mkt { display: flex; flex-direction: column; gap: 8px; padding: 12px 12px; border-radius: var(--r-ctl); border: 1px solid var(--line); line-height: 1.55; }
.gr-links { flex-wrap: wrap; gap: 8px; }
.gr-nav { align-items: center; }
/* 손가락으로 누르는 기기 — 누를 곳 44px(2026-10-15 검토: 작은 단추 · 칩 · 링크 단추가 32~36px) */
@media (pointer: coarse) {
  .btn.small, .btn.mini, .st-views button, .chip, .seg button { min-height: 44px; }
  .iconbtn { min-width: 44px; min-height: 44px; }
  .linkbtn { min-height: 44px; }   /* 높이만 — display 를 바꾸면 .lrow-t(세로 flex) 정렬과 .st-goback 숨김을 덮는다(검토) */
  .st-help { width: 44px; }
}
/* 휴대폰 — 지원 건 머리가 첫 화면 절반이던 것: 제목 · D-day 를 줄여 내용이 위로 */
@media (max-width: 640px) {
  .p3-head { align-items: center; gap: 8px; } .p3-head h2.big { font-size: 22px; line-height: 1.35; } .p3-dd { font-size: 22px; }
}
/* 오늘 N분 계획(docs/TODAY-PLAN-v1.md) — 시간 칩 + 순서 띠 */
.st-plan { gap: 12px; }
.st-plan-h { align-items: center; gap: 12px; flex-wrap: wrap; } .st-plan-h .seg button { min-height: 36px; padding: 4px 16px; font-size: 15px; }
.st-plan-done { margin: 0; padding: 12px 12px; border-radius: var(--r-ctl); background: var(--proof-soft); } .st-plan-done b { color: var(--proof-ink); }
.np-today { display: block; padding-top: 12px; border-top: 1px solid var(--line); color: var(--ink-2); } .np-today b { color: var(--ink); }   /* 홈 — 오늘 계획 한 줄 */
/* 프로젝트 점검(docs/PROJECT-CHECK-v1.md) */
.fc-acts { flex: none; gap: 8px; flex-wrap: nowrap; }
.pc-conf { gap: 8px; } .pc-conf .btn { flex: 1; }
.pc-none { border: 1px dashed var(--line); background: var(--surface); }
@media (max-width: 640px) { .fc-row { flex-wrap: wrap; } .fc-acts { width: 100%; justify-content: flex-end; } }   /* 휴대폰 — 단추 두 개는 아래 줄로(제목 칸이 50~80px 로 좁아지던 것) */
.pc-title { font-size: 15px; line-height: 1.4; } .pc-none textarea.in { height: auto; padding: 12px 12px; font: inherit; line-height: 1.55; }

/* 낸 서류(공부 › 나 · 서류) — 문단마다 이야기 번호 */
.st-docs { gap: 12px; } .st-docst { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 13px; color: var(--ink-2); } .st-docst li { display: inline-flex; align-items: center; gap: 8px; }
.st-doctabs { display: flex; gap: 8px; flex-wrap: wrap; } .st-doctabs button { font: inherit; font-size: 13px; font-weight: 600; padding: 8px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); cursor: pointer; } .st-doctabs button.on { background: var(--ink); color: var(--surface); border-color: var(--ink); }
.st-doc { display: flex; flex-direction: column; gap: 12px; } .st-doch { margin: 8px 0 0; font-size: 15px; font-weight: 700; color: var(--ink); }
.st-docp { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: start; padding: 12px 12px; border-radius: var(--r-ctl); background: var(--surface-2); } .st-docp p { margin: 0; font-size: 15px; line-height: 1.65; color: var(--ink-2); white-space: pre-wrap; } .st-docp.hit { background: var(--accent-soft); } .st-docp.hit p { color: var(--ink); }
.st-docn { display: flex; flex-direction: column; gap: 8px; align-items: flex-end; } .st-docb { display: inline-flex; align-items: center; gap: 8px; font: inherit; padding: 4px 8px 4px 4px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; color: var(--ink); }
@media (max-width: 640px) { .st-docp { grid-template-columns: minmax(0, 1fr); } .st-docn { flex-direction: row; flex-wrap: wrap; align-items: center; } }

/* 예상 질문 한 화면 */
.st-qs { gap: 12px; } .st-qlist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.st-q { display: flex; flex-direction: column; gap: 8px; padding: 12px 16px; border-radius: var(--r-ctl); background: var(--surface-2); } .st-q.has { background: var(--proof-soft); }
.st-qh { display: flex; gap: 8px; align-items: flex-start; } .st-qh b { font-size: 15px; line-height: 1.5; } .st-qm { display: flex; gap: 8px 12px; flex-wrap: wrap; align-items: center; } .st-qa { margin: 0; font-size: 15px; line-height: 1.65; color: var(--ink-2); white-space: pre-wrap; }

/* 나 › 잘 다루는 것 — 보유 기술 칩 */
.stack-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 8px; } .stack-chips .chip { display: inline-flex; align-items: baseline; gap: 4px; padding: 4px 12px; border-radius: 999px; background: var(--surface-2); color: var(--ink); font-size: 13px; font-weight: 600; text-decoration: none; } .stack-chips .chip small { color: var(--muted); font-weight: 400; } .stack-chips .chip.thin { color: var(--ink-2); font-weight: 400; }

/* 휴대폰 — 「나」 탭 여섯 개가 한 줄에(「정리함」이 잘려 안 보이던 것) */
@media (max-width: 720px) {
  .me-tabs { gap: 0; } .me-tabs a { padding: 12px 8px; font-size: 15px; } .me-tabs-sep { margin: 0 4px; }
}

.ptabs-now { margin-left: auto; align-self: center; white-space: nowrap; padding: 0 4px; }   /* 아래 탭이 어느 전형 기준인지(10-18) */

/* 대외활동 · 지식 지도 — docs/ACTIVITY-v1.md */
.act-topic, .act-log { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.act-session .act-topic:first-of-type { border-top: 0; }
.act-topic .st, .act-log .st { padding: 2px 8px; min-width: 64px; flex: none; }
.act-tt { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.act-tt b { overflow-wrap: anywhere; }
.act-session + .act-session { margin-top: 12px; }
.act-logadd { display: grid; grid-template-columns: 150px 1fr 1fr auto; gap: 8px; margin-top: 12px; }
.act-status { width: auto; }
.kmap-box { width: 100%; overflow: auto; border-radius: var(--r-ctl); background: var(--surface-2); }   /* 좁은 화면은 그림(최소 760px)을 옆으로 밀어 본다(docs/PRODUCT-v6.md A) */
.kmap-box svg { display: block; height: auto; }
.kmap .kl { stroke: var(--line); stroke-width: 1.2; } .kmap .kl.on { stroke: var(--accent); stroke-width: 2; }
.kmap .kn { cursor: pointer; outline: none; }
.kmap .kn circle { stroke: var(--surface); stroke-width: 2; }
.kmap .kn.skill circle { stroke: var(--ink-2); stroke-width: 1.5; } .kmap .kn.work circle { stroke: var(--proof-ink); stroke-width: 1.5; }
.kmap .kn.sel circle, .kmap .kn:focus-visible circle { stroke: var(--accent); stroke-width: 3; }
.kmap .kn text { font-size: 11px; fill: var(--ink); paint-order: stroke; stroke: var(--surface-2); stroke-width: 3px; pointer-events: none; }
.kmap .kn.me text, .kmap .kn.activity text { font-size: 13px; font-weight: 700; }
.kmap-sel { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.row.wrap { flex-wrap: wrap; }
@media (max-width: 640px) { .act-logadd { grid-template-columns: 1fr; } }

/* 배움 두 칸(docs/ACTIVITY-v1.md · 2026-10-22) — 면접 대비의 st-map 짜임을 그대로, 주제 점 · 상세 칸 */

.tp-sec { display: flex; flex-direction: column; gap: 8px; border-top: 1px solid var(--line); padding-top: 12px; }
.tp-mat { white-space: pre-wrap; font-size: 13px; line-height: 1.6; color: var(--ink-2); background: var(--surface-2); border-radius: var(--r-ctl); padding: 12px 16px; max-height: 220px; overflow: hidden; overflow-wrap: anywhere; }
.tp-mat.open { max-height: none; }
.tp-checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.tp-checks li { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; font-size: 13px; } .tp-checks .st { padding: 1px 8px; }
.tp-know { background: var(--proof-soft); border-radius: var(--r-ctl); padding: 12px 16px; } .tp-know p { margin: 4px 0 0; }
.tp-mat .tp-h { display: block; color: var(--ink); margin: 4px 0 2px; }

/* 배움 흐름(docs/LEARN-FLOW-v1.md · 2026-10-23) — 단계 띠 · 익히기 카드 · 떠올리기 · 문제 옆 재료 · 내 답 | 예시 답 */
.lf-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 13px; color: var(--muted); }
.lf-steps li { display: inline-flex; align-items: center; gap: 8px; }
.lf-steps i { font-style: normal; display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; border: 1px solid var(--line); font-size: 11px; font-weight: 700; }
.lf-steps li.on { color: var(--ink); font-weight: 700; } .lf-steps li.on i { background: var(--accent); border-color: var(--accent); color: #fff; }
.lf-steps li.done { color: var(--proof-ink); } .lf-steps li.done i { border-color: var(--proof); color: var(--proof-ink); }
.lf-card { display: flex; flex-direction: column; gap: 16px; max-width: 760px; }
.lf-card p { margin: 4px 0 0; }
.lf-pts { margin: 8px 0 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; line-height: 1.6; }
.lf-miss { background: var(--warn-soft); border-radius: var(--r-ctl); padding: 12px 16px; }
.lf-acts { border-top: 1px solid var(--line); padding-top: 12px; }
.lf-choices { display: flex; flex-direction: column; gap: 8px; }
.lf-choice { display: flex; gap: 12px; align-items: flex-start; text-align: left; padding: 12px 16px; border-radius: var(--r-ctl); border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; cursor: pointer; min-height: 44px; }
.lf-choice .num { color: var(--muted); font-weight: 700; }
.lf-choice.right { border-color: var(--proof); background: var(--proof-soft); color: var(--proof-ink); }
.lf-choice.wrong { border-color: var(--warn); background: var(--warn-soft); color: var(--warn-ink); }
.lf-choice:disabled { cursor: default; opacity: 1; }
.lf-ans { display: flex; flex-direction: column; gap: 8px; border-radius: var(--r-ctl); padding: 12px 16px; background: var(--surface-2); }
.lf-ans.ok { background: var(--proof-soft); color: var(--proof-ink); } .lf-ans.no { background: var(--warn-soft); color: var(--warn-ink); }
.lf-basis { display: flex; flex-direction: column; gap: 8px; border-left: 3px solid var(--line); padding: 2px 0 2px 12px; }   /* 틀렸을 때 원문 근거(docs/LEARN-PRACTICE-v1.md B) */
.lf-basis p { margin: 0; display: flex; flex-direction: column; gap: 2px; line-height: 1.55; overflow-wrap: anywhere; }
.tp-mat.lf-mat { max-height: 320px; overflow: auto; }   /* tp-mat.open 의 max-height: none 을 이긴다 */
.lf-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.lf-pair > div { background: var(--surface-2); border-radius: var(--r-ctl); padding: 12px 16px; min-width: 0; overflow-wrap: anywhere; }
.lf-pair p { margin: 4px 0 0; white-space: pre-wrap; }
@media (max-width: 640px) { .lf-pair { grid-template-columns: 1fr; } }

/* 지원 현황판(docs/APPLY-BOARD-v1.md) */
.bt-head { flex-wrap: wrap; gap: 8px 16px; }
.bt-funnel { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; font-size: 13px; color: var(--ink-2, var(--ink)); }
.bt-funnel b { font-size: 15px; } .bt-arr { color: var(--muted); }
.bt-tools { gap: 12px; flex-wrap: wrap; margin: 4px 0 12px; } .bt-q { flex: 1; min-width: 160px; max-width: 320px; }
.bt { padding: 0; overflow: hidden; }
.bt-row { display: grid; grid-template-columns: minmax(0, 1.7fr) 4.2em minmax(0, 1.5fr) 7.5em 4.5em minmax(0, 1.4fr); gap: 12px; align-items: center; padding: 12px 16px; color: inherit; text-decoration: none; border-bottom: 1px solid var(--line); }
.bt-row:last-child { border-bottom: 0; } a.bt-row:hover { background: var(--surface-2); }
.bt-th { font-size: 12px; font-weight: 600; color: var(--muted); padding-top: 8px; padding-bottom: 8px; background: var(--surface-2); }
.bt-name { display: flex; flex-direction: column; min-width: 0; } .bt-name b, .bt-name small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bt-track { display: flex; flex-direction: column; gap: 1px; min-width: 0; } .bt-track small { color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bt-dots { display: flex; gap: 4px; font-size: 11px; line-height: 1; } .bt-dots i { font-style: normal; width: 14px; text-align: center; color: var(--muted); }
.bt-dots .d-done { color: var(--proof-ink); } .bt-dots .d-cur { color: var(--accent-ink); } .bt-dots .d-fail, .bt-dots .d-stop { color: var(--danger-ink); } .bt-dots .d-skip { opacity: .35; }
.bt-res { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.bt-chip { font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: var(--accent-soft, var(--surface-2)); color: var(--accent-ink); white-space: nowrap; }
.bt-chip.ok { background: var(--proof-soft); color: var(--proof-ink); } .bt-chip.no { background: color-mix(in srgb, var(--danger) 14%, transparent); color: color-mix(in srgb, var(--danger) 80%, var(--ink)); } .bt-chip.muted { background: var(--surface-2); color: var(--muted); }
.bt-nx { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--accent-ink); } .bt-empty { padding: 16px; }
.bt-start { gap: 8px; } .bt-links { display: flex; flex-wrap: wrap; gap: 4px 16px; }
@media (max-width: 900px) { .bt-row { grid-template-columns: minmax(0, 1.6fr) 4em minmax(0, 1.4fr) 7em; } .bt-ch, .bt-nx { display: none; } }
@media (max-width: 640px) { .bt-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; padding: 12px 12px; } .bt-row > :nth-child(2) { display: none; } .bt-q { max-width: none; } }
.doc-tgt { max-width: min(280px, 100%); min-width: 0; }   /* 지원 건이 많으면(4개 이상) 버튼 줄 대신 고르기 — 화면 밖으로 넘치던 것 */
/* 「나」 에이전트(docs/ME-AGENT-v1.md) — 코치 화면의 자유 대화 */
.md .li.ol { padding-left: 24px; } .md .li.ol::before { content: none; } .md .li.ol > .num:first-child { position: absolute; left: 0; color: var(--muted); }
.md a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 2px; word-break: break-all; }
.ag-bub { max-width: min(760px, 100%); } .ag-bub .md { display: flex; flex-direction: column; gap: 4px; } .ag-bub .md h2 { font-size: 15px; margin: 8px 0 2px; } .ag-bub .md h3 { font-size: 15px; margin: 8px 0 2px; } .ag-bub .md p { margin: 2px 0; }
.ag-bub .md-table { overflow-x: auto; max-width: 100%; }
.ag-steps { margin-top: 4px; } .ag-steps summary { cursor: pointer; } .ag-note { margin-top: 4px; }
.ag-live { gap: 8px; } .ag-trail { display: flex; flex-direction: column; gap: 2px; } .ag-trail .now { color: var(--ink-2); }
/* 비서 단계 줄(AE 처럼 — 사용자 11-02): 접는 머리(소요 시간 · 도구 호출 N) · 도구마다 아이콘 · 무엇을 · 걸린 시간 */
.ag-run { align-self: stretch; max-width: min(760px, 100%); border: 1px solid var(--line); border-radius: var(--r-ctl); background: var(--surface); margin-bottom: 8px; }
.ag-run > summary { list-style: none; display: flex; align-items: center; gap: 8px; padding: 8px 12px; cursor: pointer; font-size: 13px; border-radius: var(--r-ctl); }
.ag-run > summary::-webkit-details-marker { display: none; } .ag-run > summary:hover { background: var(--surface-2); }
.ag-runh { display: inline-flex; align-items: center; gap: 8px; } .ag-runh b { font-weight: 600; color: var(--ink); }
.ag-chev { color: var(--muted); transition: transform .15s; font-size: 15px; line-height: 1; } .ag-run[open] .ag-chev { transform: rotate(90deg); }
.ag-okdot { display: inline-flex; width: 18px; height: 18px; border-radius: 50%; align-items: center; justify-content: center; background: var(--proof-soft); color: var(--proof-ink); } .ag-okdot .ag-ico { width: 12px; height: 12px; }
.ag-run .spin, .ag-steps2 .spin { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--line); border-top-color: var(--accent); animation: coach-spin .9s linear infinite; flex: none; }
.ag-steps2 { list-style: none; margin: 0; padding: 2px 12px 12px; display: flex; flex-direction: column; gap: 2px; border-top: 1px solid var(--line); }
.ag-steps2 li { display: grid; grid-template-columns: 22px auto minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: 8px 0; font-size: 13px; color: var(--ink-2); }
.ag-steps2 li + li { border-top: 1px dashed var(--line); } .ag-steps2 li.now { color: var(--ink); }
.ag-icobox { display: inline-flex; width: 22px; height: 22px; border-radius: var(--r-md); align-items: center; justify-content: center; background: var(--surface-2); color: var(--accent-ink); }
.ag-k { font-weight: 600; color: var(--ink); white-space: nowrap; } .ag-t { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .ag-s { font-size: 12px; white-space: nowrap; }
.ag-wait { padding: 4px 12px 12px; }
/* 마크다운 더(코드 블록 · 인용 · 가로줄 · 그림) */
.md-code { position: relative; border-radius: var(--r-ctl); background: var(--surface-2); border: 1px solid var(--line); overflow: hidden; }
.md-code pre { margin: 0; padding: 12px 12px; overflow-x: auto; font: 12.5px/1.6 ui-monospace, SFMono-Regular, Menlo, monospace; white-space: pre; } .md-code code { background: none; padding: 0; font: inherit; }
.md-lang { display: block; padding: 4px 12px 0; font-size: 11px; color: var(--muted); }   /* 코드 위 한 줄 — 위에 겹쳐 두면 긴 줄과 겹쳤다 */
.md-quote { margin: 0; padding: 4px 0 4px 12px; border-left: 3px solid var(--accent-soft); color: var(--ink-2); display: flex; flex-direction: column; gap: 4px; }
.md-hr { border: 0; border-top: 1px solid var(--line); margin: 8px 0; width: 100%; }
.md-img { margin: 0; display: flex; flex-direction: column; gap: 4px; } .md-img img { max-width: 100%; height: auto; border-radius: var(--r-ctl); border: 1px solid var(--line); }
.md .md-ev { font-size: inherit; padding: 0; color: var(--accent-ink); text-decoration: underline dotted; }
.md code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .9em; background: var(--surface-2); border-radius: var(--r-sm); padding: 0 4px; }
/* 이력서 › 내 링크 */
.ml-rows { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr)); gap: 8px 20px; }
.ml-row { display: flex; align-items: center; gap: 8px; min-width: 0; } .ml-t { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.ml-t small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .ml-t b { overflow-wrap: anywhere; }
/* 공개 사이트 — 사이트마다 한 상자(이름 · 상태 띠 · 원본/만든/올린 · 단추) · 올리기 확인 창의 파일 목록 */
.site-rows { display: grid; gap: 12px; } .site-row { border: 1px solid var(--line); border-radius: var(--r-ctl); padding: 12px 12px; display: grid; gap: 8px; min-width: 0; }
.site-t { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; } .site-t small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.site-kv { grid-template-columns: 48px minmax(0, 1fr); font-size: 13px; } .site-kv dd { margin: 0; overflow-wrap: anywhere; } .site-acts { flex-wrap: wrap; }
.site-files { max-height: 40vh; overflow: auto; border: 1px solid var(--line); border-radius: var(--r-ctl); font-size: 13px; }
.site-f { display: flex; gap: 8px; align-items: center; padding: 4px 8px; border-top: 1px solid var(--line); } .site-f:first-child { border-top: 0; }
.site-fs { flex: 0 0 48px; font-size: 12px; color: var(--muted); } .site-f.new .site-fs, .site-f.changed .site-fs { color: var(--warn-ink); font-weight: 600; }
.site-fp { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.site-check { display: grid; gap: 8px; border-top: 1px dashed var(--line); padding-top: 8px; min-width: 0; }
.site-marks { display: flex; flex-wrap: wrap; gap: 8px; } .site-mark { font-size: 12px; padding: 2px 8px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface-2); color: var(--ink-2); }
.site-nums summary { cursor: pointer; font-size: 13px; } .site-nums .site-files { margin-top: 8px; }
.site-proof .site-fs { color: var(--proof-ink); font-weight: 600; } .site-none .site-fs { color: var(--warn-ink); font-weight: 600; } .site-stated .site-fs { color: var(--ink-2); }   /* 상태 글자 — 「.proof」 는 다른 카드 클래스라 접두어를 붙인다 */
.site-np { white-space: normal; display: grid; gap: 2px; } .site-np small { display: block; }
.site-miss .site-fs { flex-basis: 56px; color: var(--ink-2); } .site-miss .btn { flex: none; align-self: center; }
.ml-edit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) auto; gap: 8px; align-items: center; }
@media (max-width: 640px) { .ml-edit { grid-template-columns: minmax(0, 1fr) auto; } .ml-edit input:first-child { grid-column: 1; grid-row: 1; } .ml-edit input:nth-child(2) { grid-column: 1; grid-row: 2; } .ml-edit button { grid-column: 2; grid-row: 1 / span 2; } }

/* 배움 = 코스 › 단원 › 레슨(docs/LEARN-COURSE-v1.md · 2026-10-23) — 내 코스 · 커리큘럼 · 레슨 플레이어 · 오늘 복습. 상자 높이는 줄 안에서 같게, 글자 위계는 눈썹 글 → 제목 → 보조 */
.lc-top { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 16px; align-items: stretch; }
.lc-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--accent-ink); text-transform: uppercase; }
.lc-eyerow { min-height: 32px; }
.lc-crumb { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lc-resume { gap: 8px; padding: 24px 28px; background: var(--surface); }   /* 평면 — 그라데이션 없음 */
.lc-resume h2 { margin: 2px 0 2px; font-size: 22px; line-height: 1.3; letter-spacing: -.01em; overflow-wrap: anywhere; }
.lc-cta { margin-top: auto; padding-top: 12px; }
.lc-big { height: 44px; padding: 0 24px; font-size: 15px; }
.lc-today { gap: 8px; padding: 24px 24px; }
.lc-bignum { display: flex; align-items: baseline; gap: 8px; } .lc-bignum b { font-size: 28px; line-height: 1.1; letter-spacing: -.02em; }
.lc-today .btn { align-self: stretch; }
.lc-sec { display: flex; flex-direction: column; gap: 12px; margin-top: 8px; }
.lc-sech { gap: 12px; } .lc-sech h2 { margin: 0; font-size: 17px; } .lc-sech .num { font-size: 13px; padding: 1px 8px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); }
.lc-ring { --p: 0; width: 56px; height: 56px; border-radius: 50%; background: conic-gradient(var(--accent) calc(var(--p) * 1%), var(--line) 0); display: grid; place-items: center; flex: none; }
.lc-ring i { width: 44px; height: 44px; border-radius: 50%; background: var(--surface); display: grid; place-items: center; font-style: normal; font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--ink-2); }
.lc-weekcard { gap: 16px; padding: 20px 24px; }
.lc-week { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.lc-week > div { display: flex; flex-direction: column; gap: 2px; padding-left: 16px; border-left: 2px solid var(--line); min-width: 0; }
.lc-week b { font-size: 28px; line-height: 1.1; letter-spacing: -.02em; color: var(--ink); }
.lc-links { display: flex; flex-wrap: wrap; gap: 4px 20px; } .lc-week + .lc-links { padding-top: 4px; border-top: 1px solid var(--line); }   /* 이번 주 숫자가 없을 땐 선 없이(빈 구분선만 보이던 것, 11-21) */
.lc-links :is(a, .linkbtn) { color: var(--accent-ink); font-size: inherit; }   /* 링크 · 단추를 같은 글자색으로(단추 둘만 검게 보이던 것) — 글자는 대비 4.5:1 토큰 */
.lc-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 16px; padding: 4px 2px 2px; } .lc-head h1 { margin: 0; font-size: 22px; letter-spacing: -.01em; }
.lc-back { color: var(--muted); } .lc-back:hover { color: var(--ink); }
.lc-unit h4 { margin: 0; padding: 12px 8px 8px; font-size: 12px; font-weight: 700; letter-spacing: .04em; color: var(--muted); display: flex; justify-content: space-between; gap: 8px; }
.lc-unit + .lc-unit { border-top: 1px solid var(--line); margin-top: 4px; }
.lc-lesson { display: flex; align-items: center; gap: 12px; width: 100%; padding: 8px 8px; border: 0; border-radius: var(--r-ctl); background: transparent; font: inherit; font-size: 15px; color: var(--ink); text-align: left; cursor: pointer; }
.lc-lesson.on { background: var(--accent-soft); font-weight: 600; }
@media (hover: hover) { .lc-lesson:not(.on):hover { background: var(--surface-2); } }
.lc-st { flex: none; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; font-size: 11px; font-style: normal; color: var(--muted); }
.lc-st.now { border-color: var(--accent); color: var(--accent-ink); } .lc-st.done { background: var(--proof-soft); border-color: transparent; color: var(--proof-ink); }
.lc-st.solid { background: var(--proof); border-color: transparent; color: var(--on-accent); } .lc-st.fade { border-color: var(--warn); color: var(--warn-ink); }
.lc-n { color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; width: 18px; flex: none; text-align: right; }
.lc-t { flex: 1; min-width: 0; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; line-height: 1.4; }
.lc-player { padding: 28px 32px 24px; gap: 12px; min-width: 0; } .lc-player h2 { margin: 0; font-size: 22px; line-height: 1.35; letter-spacing: -.01em; overflow-wrap: anywhere; }
.lc-player > .lf-steps { padding: 12px 0 12px; border-bottom: 1px solid var(--line); }
.lc-body { display: flex; flex-direction: column; gap: 12px; }
.lc-body .q { font-size: 17px; line-height: 1.6; margin: 8px 0; }
.lc-foot { display: flex; align-items: center; gap: 12px; border-top: 1px solid var(--line); padding-top: 16px; margin-top: 8px; flex-wrap: wrap; }
@media (max-width: 900px) { .lc-top { grid-template-columns: minmax(0, 1fr); } .lc-player { padding: 20px; } .lc-resume h2, .lc-player h2 { font-size: 22px; } .lc-week { grid-template-columns: 1fr; gap: 12px; } }
.lc-genprev { display: flex; flex-direction: column; gap: 12px; } .lc-genprev fieldset.pick { margin: 0; }
/* 레슨 플레이어 v2(docs/LEARN-COURSE-v2.md) — 코스 머리 띠 · 본문 가운데 68자 · 오른쪽 목차(단원 › 레슨 › 항목) · 이전/다음 */
.lp-head { flex-direction: row; align-items: center; flex-wrap: wrap; gap: 12px 16px; padding: 12px 20px; }
.lp-crumb { display: flex; flex-direction: column; min-width: 0; flex: 1 1 280px; } .lp-crumb b { font-size: 15px; letter-spacing: -.01em; line-height: 1.35; overflow-wrap: anywhere; }
.lp-pos { color: var(--ink-2); font-size: 13px; white-space: nowrap; }
.lp-prog { display: flex; align-items: center; gap: 8px; flex: 0 1 240px; min-width: 160px; } .lp-prog small { white-space: nowrap; }
.lp-bar { flex: 1; height: 6px; border-radius: 999px; background: var(--line); overflow: hidden; display: block; } .lp-bar i { display: block; height: 100%; background: var(--accent); }
.lp-body { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 12px; align-items: start; } .lp-body.narrow { grid-template-columns: minmax(0, 1fr); }
.lp-main { padding: 0; gap: 0; } .lp-col { max-width: none; margin: 0; width: 100%;   /* 상자 폭을 따라간다 — 68ch 가운데 칸이 큰 상자 안에 좁게 떠 있던 것(사용자 10-31) */ padding: 26px clamp(16px, 4vw, 40px) 20px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.lp-kicker { flex-wrap: wrap; } .lp-title { margin: 0; font-size: 28px; line-height: 1.3; letter-spacing: -.02em; text-wrap: balance; overflow-wrap: anywhere; }
.lp-col .lf-card { font-size: 17px; line-height: 1.7; } .lp-col .lf-pts li { margin: 4px 0; } .lp-col .q { font-size: 17px; }
.lp-foot { padding: 14px clamp(16px, 4vw, 40px); margin: 0; flex-wrap: nowrap; } .lp-foot .spacer { flex: 0 0 8px; } .lp-foot .btn { flex: none; white-space: nowrap; }
.lp-nextt { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: right; }   /* 다음 항목 제목이 길어도 한 줄 안에 */
.lp-pill { display: inline-flex; align-items: center; padding: 1px 8px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--surface-2); color: var(--ink-2); border: 1px solid var(--line); white-space: nowrap; }
.lp-pill.t { background: var(--accent-soft); color: var(--accent-ink); border-color: transparent; } .lp-pill.q { background: var(--warn-soft); color: var(--warn-ink); border-color: transparent; } .lp-pill.e { background: var(--proof-soft); color: var(--proof-ink); border-color: transparent; }
.lp-toc { padding: 16px 12px; position: sticky; top: 12px; max-height: calc(100vh - 24px); overflow: auto; gap: 2px; }
.sheet .lp-toc { position: static; max-height: none; border: 0; padding: 0; } .sheet .lp-toch { display: none; }   /* 서랍 제목이 「목차」라 머리줄은 숨긴다 */
.lp-toch { display: flex; justify-content: space-between; align-items: baseline; padding: 0 8px 8px; } .lp-toch b { font-size: 15px; }
.lp-unit { display: flex; align-items: center; gap: 8px; width: 100%; padding: 12px 8px 8px; border: 0; background: none; font: inherit; font-size: 12px; font-weight: 700; letter-spacing: .03em; color: var(--muted); text-align: left; cursor: pointer; border-radius: var(--r-md); }
.lp-unit:disabled { cursor: default; } .lp-unit .lp-ut { flex: 1; min-width: 0; } .lp-chev { width: 12px; color: var(--faint); }
.lp-items { display: grid; gap: 1px; padding: 2px 0 8px 32px; }
.lp-item { display: grid; grid-template-columns: 14px 1fr auto; gap: 8px; align-items: center; padding: 8px 8px; border: 0; border-radius: var(--r-md); background: transparent; font: inherit; font-size: 13px; color: var(--ink-2); text-align: left; cursor: pointer; min-width: 0; }
.lp-item.on { background: var(--surface-2); color: var(--ink); font-weight: 600; } @media (hover: hover) { .lp-item:not(.on):hover { background: var(--surface-2); } }
.lp-it { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lp-dot { width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid var(--faint); display: inline-grid; place-items: center; font-size: 9px; font-style: normal; color: var(--on-accent); }
.lp-dot.ok { background: var(--proof); border-color: transparent; } .lp-dot.no { background: var(--danger); border-color: transparent; } .lp-dot.now { background: var(--accent); border-color: transparent; }
.lp-unitrow { display: flex; align-items: center; gap: 4px; } .lp-unitrow .lp-unit { flex: 1; min-width: 0; } .lp-enrich { white-space: nowrap; flex: none; padding-right: 8px; }
.lp-live { gap: 8px; }
.lp-theory { gap: 16px; } .lp-theory .md { font-size: 17px; line-height: 1.75; } .lp-theory .md h2 { font-size: 22px; margin: 12px 0 0; letter-spacing: -.015em; } .lp-theory .md h3 { font-size: 17px; margin: 8px 0 0; }
.lp-theory .md .li { padding-left: 1.1em; text-indent: -1.1em; margin: 4px 0; } .lp-theory .md .li::before { content: "•"; color: var(--muted); margin-right: .5em; }
.lp-theory .md .md-table { overflow-x: auto; } .lp-theory .md table { border-collapse: collapse; width: 100%; font-size: 15px; } .lp-theory .md th, .lp-theory .md td { text-align: left; padding: 8px 12px; border-bottom: 1px solid var(--line); vertical-align: top; } .lp-theory .md th { color: var(--muted); font-weight: 600; font-size: 13px; }
.lp-scn { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; align-items: start; padding: 16px 16px; border-left: 3px solid var(--accent); background: var(--accent-soft); border-radius: 0 var(--r-ctl) var(--r-ctl) 0; }
.lp-scnl { color: var(--accent-ink); font-weight: 700; font-size: 13px; white-space: nowrap; padding-top: 2px; } .lp-scn p { margin: 0; font-size: 15px; line-height: 1.6; } .lp-scn small { display: block; margin-top: 4px; font-size: 12px; }
.lp-pill.mine { background: var(--proof-soft); color: var(--proof-ink); border-color: transparent; }
.lp-srcs { display: flex; gap: 12px; flex-wrap: wrap; } .lp-srcs a { color: var(--accent-ink); }
.lp-mine { border: 1px solid var(--line); border-radius: var(--r-ctl); padding: 12px 16px; } .lp-mine summary { cursor: pointer; } .lp-mine .tp-mat { margin-top: 8px; font-size: 15px; }
.lp-crit { border: 1px solid var(--line); border-radius: var(--r-ctl); padding: 12px 16px; display: grid; gap: 8px; }
.lp-crith { display: flex; justify-content: space-between; align-items: center; gap: 8px; } .lp-crith b { font-size: 15px; color: var(--ink-2); }
.lp-critbar { display: block; height: 5px; border-radius: 999px; background: var(--line); overflow: hidden; } .lp-critbar i { display: block; height: 100%; background: var(--proof); }
.lp-c { display: grid; grid-template-columns: 16px 1fr; gap: 12px; align-items: start; font-size: 15px; color: var(--ink-2); padding: 8px 0; border-top: 1px solid var(--line); } .lp-c:first-of-type { border-top: 0; }
.lp-c .lp-dot { width: 16px; height: 16px; margin-top: 4px; font-size: 10px; } .lp-c.ok .lp-dot { background: var(--proof); border-color: transparent; } .lp-c.no .lp-dot { background: var(--danger); border-color: transparent; }
.lp-c.ok { color: var(--ink); }
.lp-work { display: grid; grid-template-columns: auto 1fr; gap: 12px 12px; align-items: start; padding: 12px 16px; border-radius: var(--r-ctl); background: var(--surface-2); } .lp-work b { color: var(--proof-ink); white-space: nowrap; font-size: 13px; } .lp-work a { color: var(--accent-ink); }
.lp-enrichbox { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; padding: 12px 16px; border-radius: var(--r-ctl); background: var(--surface-2); color: var(--ink-2); } .lp-enrichbox > span { flex: 1 1 260px; }
@media (max-width: 960px) { .lp-title { font-size: 22px; } .lp-col .lf-card { font-size: 15px; } .lp-prog { flex: 1 1 100%; } .lp-scn { grid-template-columns: 1fr; } .lp-theory .md { font-size: 15px; } }

/* 면접 — 이야기 작업대(docs/INTERVIEW-HUB-v1.md 1단계) */
.tk { display: flex; flex-direction: column; gap: 16px; }
.tk-band { display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.tk-band-t { display: flex; flex-direction: column; gap: 2px; min-width: 0; } .tk-band-t b { font-size: 17px; }
.tk-tsel { font: inherit; font-weight: 700; font-size: 15px; max-width: min(600px, 100%); }
.tk-band .st-stats { margin-left: auto; }
.tk-next { flex-basis: 100%; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: var(--r-ctl); background: var(--accent-soft); }
.tk-next b { flex: 1; min-width: 0; }
.tk-h { align-items: baseline; gap: 12px; } .tk-h h2 { margin: 0; font-size: 17px; }
.tk-bench { gap: 20px; }
.tk-sec { display: flex; flex-direction: column; gap: 8px; } .tk-sec h3 { margin: 0; font-size: 15px; } .tk-sec .row { gap: 12px; }
.tk-say { margin: 0; font-size: 15px; line-height: 1.75; padding: 12px 16px; background: var(--surface-2); border-radius: var(--r-ctl); white-space: pre-wrap; }   /* 한쪽 세로선 없음(DESIGN-v6) */
.tk-f { border: 1px solid var(--line); border-radius: var(--r-ctl); overflow: hidden; } .tk-f.ok { border-color: var(--proof); }
.tk-fh { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 12px; border: 0; background: var(--surface); font: inherit; color: var(--ink); text-align: left; cursor: pointer; }
.tk-fq { flex: 1; min-width: 0; font-size: 15px; line-height: 1.5; }
.tk-fb { display: flex; flex-direction: column; gap: 8px; padding: 0 12px 12px; }
.tk-ans { display: flex; flex-direction: column; gap: 8px; padding: 12px 12px; background: var(--surface-2); border-radius: var(--r-ctl); } .tk-ans p { margin: 0; white-space: pre-wrap; }
.tk-checks { gap: 12px; }
.tk-pick { display: flex; flex-direction: column; gap: 8px; } .tk-pick label { gap: 8px; align-items: center; }


/* 면접 2단계 — 나 한 장 · 예상 질문 */
.tk-tabs { margin-bottom: -4px; }
.tk-sheet, .tk-qa, .tk-prac { display: flex; flex-direction: column; gap: 12px; }
.tk-slot { display: flex; flex-direction: column; gap: 8px; } .tk-slot > .row { gap: 12px; align-items: baseline; flex-wrap: wrap; }
.tk-draft { display: flex; flex-direction: column; gap: 8px; padding: 12px 12px; border: 1px dashed var(--line); border-radius: var(--r-ctl); } .tk-draft p { margin: 0; white-space: pre-wrap; line-height: 1.65; }
.tk-qlist { padding: 4px 0; }
.tk-q { display: flex; align-items: flex-start; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); } .tk-q:last-child { border-bottom: 0; }
.tk-qb { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; line-height: 1.5; }
.tk-qa-a { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tk-chips { gap: 8px; flex-wrap: wrap; }
.tk-chips .chip { min-height: 30px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--accent-ink); font: inherit; font-size: 12px; cursor: pointer; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* 나 › 담당 고객(docs/BOOK-METRICS-v1.md) */
.bk { display: flex; flex-direction: column; gap: 16px; }
.bk-head { display: flex; flex-direction: column; gap: 16px; }
.bk-range { gap: 8px; align-items: center; flex-wrap: wrap; } .bk-range select.in { width: auto; }
.bk-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.bk-kpi { display: flex; flex-direction: column; gap: 4px; padding: 12px 16px; border: 1px solid var(--line); border-radius: var(--r-ctl); } .bk-kpi > b { font-size: 28px; }
.bk-arr { display: flex; gap: 16px; align-items: baseline; flex-wrap: wrap; font-size: 15px; }
.bk-bar { display: flex; height: 10px; border-radius: var(--r-md); overflow: hidden; background: var(--line); }
.bk-new, .bk-l.new::before { background: var(--accent); } .bk-exp, .bk-l.exp::before { background: var(--proof); } .bk-con, .bk-l.con::before { background: #f59e0b; } .bk-chu, .bk-l.chu::before { background: #ef4444; }
.bk-legend { gap: 16px; flex-wrap: wrap; } .bk-l::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 8px; }
.bk-flag { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--warn-ink); vertical-align: middle; }
.bk-move { display: flex; gap: 12px; align-items: baseline; font-size: 15px; }
.bk-note { display: grid; grid-template-columns: 9em 1fr; gap: 8px 16px; margin: 0; } .bk-note dt { color: var(--muted); font-size: 13px; } .bk-note dd { margin: 0; white-space: pre-wrap; }
.bk-pre { text-align: left; font-size: 12px; background: var(--surface-2); padding: 12px 12px; border-radius: var(--r-md); overflow-x: auto; }
@media (max-width: 640px) { .bk-kpis { grid-template-columns: 1fr; } .bk-note { grid-template-columns: 1fr; } }
.sal-book { display: flex; flex-direction: column; gap: 8px; padding: 12px 16px; border: 1px solid var(--line); border-radius: var(--r-ctl); }

/* ---------- 화면 다시 짜기 v6(docs/DESIGN-v6.md) — 공통 틀 ---------- */
.phead { display: flex; flex-direction: column; gap: 4px; margin: 0 0 4px; min-width: 0; }
.phead-back { color: var(--muted); align-self: flex-start; }
.phead-row { display: flex; align-items: center; gap: 12px; min-width: 0; }
.phead-row h1 { margin: 0; font-size: 28px; line-height: 1.3; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; }
.phead-act { flex: none; display: flex; gap: 8px; align-items: center; }
.phead-sub { min-width: 0; }
@media (max-width: 640px) { .phead-row h1 { font-size: 22px; } }
/* 홈 「지금」 큰 카드(DESIGN-v6 2단계) */
.nowt { display: flex; flex-direction: column; gap: 12px; }
.nowt-h { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.nowt .np-title { font-size: 22px; line-height: 1.35; overflow-wrap: anywhere; }
.nowt-next { display: flex; flex-direction: column; gap: 2px; padding: 12px 16px; border-radius: var(--r-ctl); background: var(--surface-2); }
.nowt-next b { font-size: 17px; }
.nowt-act { gap: 16px; align-items: center; }
@media (max-width: 640px) { .home .pulse-line.warn .pl-t { position: static; width: auto; height: auto; overflow: hidden; clip: auto; white-space: nowrap; text-overflow: ellipsis; max-width: 60vw; } }   /* 문제가 있을 땐 휴대폰에서도 글자로(점 하나만 보이던 것) */
@media (max-width: 640px) { .home .hello { flex-wrap: wrap; } .home .hello .pulse-line.warn { order: 3; flex-basis: 100%; max-width: 100%; justify-content: flex-start; border-radius: var(--r-ctl); padding: 0 16px; } .home .hello .pulse-line.warn .pl-t { max-width: none; } }   /* 휴대폰 — 문제 알림은 제 줄에 글자로(「자…」로 잘리던 것) */
/* 면접(DESIGN-v6 3단계) */
.accent-t { color: var(--accent-ink); }
.tk .phead .tk-tsel { max-width: min(420px, 55vw); font-size: 15px; height: 40px; }
.tk-who { color: var(--ink); font-weight: 600; }
@media (max-width: 640px) { .tk .phead-row { flex-wrap: wrap; } .tk .phead .tk-tsel { max-width: 100%; width: 100%; } .tk .phead-act { flex: 1 1 100%; } }
.tk-rows { padding: 4px 0; }
.tk-row { display: flex; align-items: center; gap: 12px; width: 100%; padding: 16px 20px; border: 0; border-bottom: 1px solid var(--line); background: none; font: inherit; color: var(--ink); text-align: left; cursor: pointer; } .tk-row:last-child { border-bottom: 0; }
.tk-row:hover { background: var(--surface-2); }
.tk-row-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.tk-row-s { display: flex; gap: 12px; flex: none; }
.tk-qi .st-titem-t { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tk-qm { flex: none; font-size: 12px; }
.tk-qd { display: flex; flex-direction: column; gap: 12px; }
.tk-qd h2 { font-size: 17px; line-height: 1.5; }
/* 준비(DESIGN-v6 4단계) */
.pdetail .psecs { background: none; padding: 0; gap: 4px 16px; }   /* 준비하기 안의 묶음 — 알약(세 번째 겹) 대신 조용한 글자 줄 */
.pdetail .psecs button { height: 30px; padding: 0; border-radius: 0; background: none; box-shadow: none; color: var(--muted); font-size: 15px; border-bottom: 2px solid transparent; }
.pdetail .psecs button.on { background: none; box-shadow: none; color: var(--ink); border-bottom-color: var(--ink); }
.p3-head .phead-row h1 { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
@media (max-width: 900px) { .bt-row .bt-nx { display: block; grid-column: 1 / -1; margin-top: -4px; } }   /* 휴대폰 — 「다음 할 일」을 두 번째 줄로(가장 중요한 칸이 빠지던 것) */
.pwait { margin: 0; }
.pdetail .pwait { display: block; }   /* 옛 grid 규칙이 남아 글과 버튼이 두 줄로 갈리던 것 */
@media (max-width: 900px) { .bt-th .bt-nx { display: none; } }
.jsteps .js-more { display: none; }
@media (max-width: 640px) { .pdetail .jsteps li.js-far { display: none; } .pdetail .jsteps.all li.js-far, .pdetail .jsteps li.js-far:has(.jsel) { display: flex; } .jsteps .js-more { display: flex; } .jsteps .js-more::before { display: none; } }   /* 휴대폰 — 지금 · 다음 둘 + 「전체 N단계」(DESIGN-v6) */
/* 나(DESIGN-v6 5단계) */
.me-tidy { align-self: center; color: var(--muted); white-space: nowrap; } .me-tidy.on { color: var(--ink); font-weight: 600; }
.prof-next { background: var(--accent-soft); color: var(--ink); }   /* 강조색으로 꽉 찬 띠가 화면에서 가장 세던 것 → 옅은 한 줄 */
.prof-next-tag { background: var(--surface); color: var(--accent-ink); }
.prof-next .btn { background: var(--surface); color: var(--ink); }
.prof-reps { display: flex; flex-direction: column; gap: 0; }
.prof-rep { border: 0; border-radius: 0; padding: 12px 0; border-bottom: 1px solid var(--line); background: none; }   /* 카드 안 카드 대신 줄 목록 */
.prof-rep:last-child { border-bottom: 0; }
@media (max-width: 640px) { .me-slim.only-phone { justify-content: flex-start; } }
/* 나 첫 화면 — 마크업은 읽는 순서 그대로(명함 → 다음 한 걸음 → 대표 성과 → 경력 흐름 → 잘 다루는 것), 넓은 화면만 두 칸 격자 */
.prof { display: flex; flex-direction: column; gap: 16px; } .prof > * { min-width: 0; }
@media (min-width: 1101px) {
  .prof { display: grid; grid-template-columns: minmax(300px, 380px) minmax(0, 1fr); align-items: start; }
  .prof-ai { grid-column: 1 / -1; grid-row: 1; }   /* 옛 「다음 한 걸음」 띠 자리 — AI 가 본 나 세 줄(docs/ME-v8.md) */
  .prof-card { grid-column: 1; grid-row: 2; } .prof-str { grid-column: 1; grid-row: 3 / span 2; }   /* 줄을 엇갈려 걸쳐 두 칸이 저마다 위 카드 바로 밑에서 이어지게(빈 띠 없이) */
  .prof-best { grid-column: 2; grid-row: 2 / span 2; } .prof-flow { grid-column: 2; grid-row: 4; }
  .prof-mtr { grid-column: 1; grid-row: 3; } .prof:has(.prof-mtr) .prof-str { grid-row: 4 / span 2; } .prof:has(.prof-mtr) .prof-flow { grid-row: 4 / span 2; }   /* 지금 소속의 직무 지표(docs/DESIGN-v7.md) — 명함 바로 밑 */
}
.me-tidy-m { color: var(--muted); margin-right: 4px; align-items: center; min-height: 36px; padding: 0 8px; }
@media (max-width: 640px) { .me-tidy-m { display: inline-flex; } }   /* 휴대폰만(PC 는 탭 줄 오른쪽 「정리함 ›」) */ .me-tidy-m.on { color: var(--ink); font-weight: 600; }
@media (max-width: 640px) { .me-tabs .me-tidy, .me-tabs .spacer { display: none; } }   /* 휴대폰 — 정리함은 머리 줄로(가로로 흐르는 탭 줄 끝에 숨던 것) */
@media (max-width: 640px) { .prof > * { min-width: 0; max-width: 100%; } .flow-what { min-width: 0; overflow: hidden; } .flow-what b, .flow-what small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } }   /* 순서를 바꾸려 감싸개를 풀며(display: contents) 폭 제한이 사라져 긴 직함이 옆으로 밀던 것 */
.prof-next .prof-more, .prof-next .prof-todo { color: var(--ink-2); } .prof-next .prof-more { color: var(--accent-ink); opacity: 1; }   /* 옛 .85 투명도가 대비를 4.5:1 밑으로(검토) */
.prof-name { margin: 0; font-size: 22px; line-height: 1.35; }   /* 명함 이름이 이 화면의 h1 */
/* 대표 성과(DESIGN-v6 5단계) */
.pj-menu { display: flex; flex-direction: column; gap: 8px; } .pj-menu .btn { justify-content: flex-start; text-align: left; height: auto; min-height: 44px; white-space: normal; }
.pj-more { flex: none; }
.pj2-stories { border-bottom: 1px solid var(--line); padding-bottom: 8px; margin-bottom: 4px; }
.pj2-back { display: none; align-self: flex-start; }
.pj-legend-btn { align-self: flex-start; }
@media (max-width: 900px) { .pj2.detail .pj2-tree { display: none; } .pj2:not(.detail) .pj2-detail { display: none; } .pj2-back { display: inline-flex; margin-bottom: 8px; } }
/* 나다움(DESIGN-v6 5단계) — 머리 ⋯ 메뉴 · 줄 전체가 고치기 단추 */
.km-wrap { position: relative; display: inline-flex; }
.km-menu { position: absolute; right: 0; top: calc(100% + 4px); z-index: 20; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 8px 12px; min-width: 150px; border-radius: var(--r-ctl); background: var(--surface); box-shadow: 0 4px 16px rgba(0, 0, 0, .12); }
.tr-row { width: 100%; border: 0; background: none; font: inherit; color: var(--ink); text-align: left; cursor: pointer; border-radius: var(--r-ctl); }
.tr-row:hover { background: var(--surface-2); }
.danger-t { color: var(--danger-ink); }
.pj-row > .pj-act { grid-column: -2 / -1; justify-self: end; }   /* ⋯ 는 늘 맨 오른쪽 칸(★ 줄만 6칸 칩이 있어 자리가 갈리던 것) */
/* 제목이 잘리며 줄 가운데(120~200px 칸)가 비던 것(화면 점검 11-23 21번) — 제목이 남는 폭을 쓴다. ★ 아닌 줄(칸 칩 없음)은 세 칸,
 * ★ 줄은 칸 칩을 ⋯ 바로 앞에 두어 줄끼리 칩 자리가 같고, 빈 칸 글(내용 폭, 최대 200px)은 칩 앞에 */
@media (min-width: 1101px) {
  .pj-row { grid-template-columns: minmax(0, 1fr) auto auto auto; } .pj-row > .pj-miss { grid-column: 2; grid-row: 1; max-width: 200px; text-align: right; }
  .pj-row > .pj-slots { grid-column: 3; grid-row: 1; }
  .pj-row:has(> .pj-lite) { grid-template-columns: minmax(0, 1fr) auto auto; }
}

/* 정리함 받은편지함 두 칸(DESIGN-v6 5단계) — 왼쪽 날짜 묶음 한 줄 목록 · 오른쪽 고른 기록 한 장 · 고른 것은 아래 띠 */
.recs2 { display: flex; flex-direction: column; gap: 12px; }
.recs2 .recs-bar { padding-bottom: 0; border-bottom: 0; }
.recs2-two { display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: 16px; align-items: start; }
.recs2-list { padding: 4px 12px 12px; gap: 0; position: sticky; top: 16px; max-height: calc(100vh - 32px); overflow-y: auto; }
.recs2-list .recs-mh { display: flex; align-items: baseline; gap: 8px; justify-content: space-between; top: 0; padding: 12px 4px 8px; font-size: 13px; }
.rec2 { display: grid; grid-template-columns: 20px minmax(0, 1fr) 10px; align-items: center; gap: 12px; padding: 0 8px; border-radius: var(--r-ctl); }
.rec2 .rec-main { padding: 8px 0; }
.rec2.on { background: var(--accent-soft); }
.rec2.picked:not(.on) { background: var(--surface-2); }
@media (hover: hover) { .rec2:not(.on):hover { background: var(--surface-2); } }
.rec2 .rec-main b { font-weight: 600; } .rec2.on .rec-main b { font-weight: 700; }
.rec-dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.rec-dot.confirmed { background: var(--proof); } .rec-dot.stated { border: 1.6px solid var(--ink); } .rec-dot.ai { border: 1.6px dashed var(--muted); }
.recs2-list .recs-more { margin-top: 8px; }
.recs2-detail { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.recs2-back { display: none; align-self: flex-start; }
.recd { padding: 24px 28px; gap: 12px; }
.recd-h { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.recd h2 { margin: 0; font-size: 22px; line-height: 1.4; overflow-wrap: anywhere; }
.recd-m { display: flex; flex-wrap: wrap; gap: 8px; }
.recd-sum { margin: 0; line-height: 1.6; overflow-wrap: anywhere; }
.recd-kv { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 8px 12px; margin: 0; } .recd-kv dt { color: var(--muted); font-size: 13px; } .recd-kv dd { margin: 0; overflow-wrap: anywhere; }
.recd-act { gap: 8px; padding-top: 4px; }
.recs2 .recs-pick { position: sticky; top: auto; bottom: 16px; }
@media (max-width: 900px) {
  .recs2-two { grid-template-columns: minmax(0, 1fr); }
  .recs2-list { position: static; max-height: none; }
  .recs2-two.detail .recs2-list { display: none; } .recs2-two:not(.detail) .recs2-detail { display: none; }
  .recs2-back { display: inline-flex; }
  .recd { padding: 20px; }
  .recs2 .recs-pick { bottom: 76px; }   /* 휴대폰 아래 탭 위 */
}
@media (max-width: 640px) { .recs2 .recs-q { flex-basis: 100%; } .recs2 .recs-q .in { width: 100%; } }
.recs-fil { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.recs2-list .recs-mh .linkbtn { font-weight: 600; color: var(--accent-ink); }
@media (max-width: 640px) {
  .recs-fil { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; flex-basis: 100%; } .recs-fil::-webkit-scrollbar { display: none; }
  .recs-fil > * { flex: none; }
  .recs2 .recs-n, .recs2 .recs-bar .spacer, .recs-pick-sub { display: none; }
  .recs2 .recs-pick { flex-wrap: nowrap; }
}

/* 코딩 리포트 한 화면(docs/CODING-REPORT-v1.md 1단계) — 총점 + 축 넷 · 두 칸 채점 결과 · 구두 질문 · 줄 강조 소스코드 */
.cr-page { display: flex; flex-direction: column; gap: 16px; }
.cr-note { margin: 0; padding: 12px 16px; border-radius: var(--r-ctl); background: var(--warn-soft); color: var(--warn-ink); }
.cr-kpis { display: grid; grid-template-columns: 1.2fr repeat(4, minmax(0, 1fr)); gap: 12px; }
.cr-kpi { display: flex; flex-direction: column; gap: 8px; padding: 16px 20px; border-radius: var(--r-card); background: var(--surface); min-width: 0; }
.cr-kpi b { font-size: 22px; } .cr-kpi b small { font-size: 13px; color: var(--muted); font-weight: 600; }
.cr-kpi.total b { font-size: 28px; }
.cr-grp { display: flex; flex-direction: column; gap: 2px; padding-top: 8px; margin-top: 4px; border-top: 1px solid var(--line); }
.cr-grp-h { display: flex; justify-content: space-between; align-items: baseline; padding: 8px 12px 2px; color: var(--ink-2); font-weight: 700; }
.cr-st { flex: none; font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
.cr-st.ok { background: var(--proof-soft); color: var(--proof-ink); } .cr-st.part { background: var(--warn-soft); color: var(--warn-ink); } .cr-st.miss { background: color-mix(in srgb, var(--danger) 14%, transparent); color: var(--danger-ink); }
.cr-detail h2:focus { outline: none; } .cr-detail h3 { margin: 4px 0 0; font-size: 15px; } .cr-detail ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 4px; }
.cr-next { display: flex; flex-direction: column; gap: 2px; padding: 12px 16px; border-radius: var(--r-ctl); background: var(--accent-soft); }
.cr-quote { margin: 0; padding: 12px 16px; border-left: 3px solid var(--line); background: var(--bg); border-radius: 0 var(--r-ctl) var(--r-ctl) 0; font-size: 13px; overflow-wrap: anywhere; }
.cr-tocode { align-self: flex-start; }
.cr-auto { display: flex; flex-direction: column; gap: 4px; padding: 12px 0; border-top: 1px solid var(--line); } .cr-auto ul { margin: 0; padding-left: 20px; }
.cr-rw { display: flex; flex-direction: column; gap: 4px; padding: 12px 0; border-top: 1px solid var(--line); overflow-wrap: anywhere; }
.cr-oral { gap: 16px; }
.cr-oral-h { display: flex; gap: 16px; align-items: flex-start; padding-bottom: 12px; border-bottom: 1px solid var(--line); } .cr-oral-h > b { font-size: 28px; flex: none; } .cr-oral-h small { font-size: 13px; color: var(--muted); }
.cr-code { gap: 12px; --cr-lh: 20px; }
.cr-files { flex-wrap: wrap; gap: 8px; }
.cr-files .chip { height: 32px; padding: 0 12px; border-radius: 999px; border: 0; background: var(--bg); color: var(--ink-2); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; } .cr-files .chip.on { background: var(--ink); color: var(--surface); }
.cr-src { display: grid; grid-template-columns: auto minmax(0, 1fr); border: 1px solid var(--line); border-radius: var(--r-ctl); overflow: hidden; background: var(--surface); }
.cr-src pre { margin: 0; padding: 12px; font: 13px/var(--cr-lh) var(--mono, ui-monospace, monospace); }
.cr-ln { text-align: right; color: var(--muted); background: var(--bg); user-select: none; }
.cr-body { overflow-x: auto; } .cr-in { position: relative; display: inline-block; min-width: 100%; vertical-align: top; } .cr-body pre { white-space: pre; position: relative; }
.cr-band { position: absolute; left: 0; right: 0; background: color-mix(in srgb, var(--accent) 16%, transparent); border-left: 3px solid var(--accent); pointer-events: none; }
.cr-spec summary { cursor: pointer; }
@media (max-width: 900px) { .cr-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cr-kpi.total { grid-column: 1 / -1; } }
@media (max-width: 640px) {   /* 휴대폰 — 총점 한 줄 + 축 넷 한 줄(점수 카드가 세 줄을 차지하던 것) */
  .cr-kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
  .cr-kpi { padding: 12px 12px; gap: 4px; } .cr-kpi b { font-size: 17px; } .cr-kpi b small { display: none; }
  .cr-kpi.total { flex-direction: row; align-items: baseline; justify-content: space-between; } .cr-kpi.total b { font-size: 22px; } .cr-kpi.total b small { display: inline; }
}
/* 작업 로그(docs/CODING-REPORT-v1.md 2단계) — 단계 흐름 칩 · 단계 점 · 대화 두 쪽 */
.cr-log { display: flex; flex-direction: column; gap: 12px; }
.cr-flow { gap: 12px; }
.cr-segs { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.cr-segs li + li::before { content: "›"; color: var(--muted); margin-right: 8px; }
.cr-seg { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px; border: 0; border-radius: 999px; background: var(--bg); color: var(--ink); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.cr-ph { flex: none; width: 9px; height: 9px; border-radius: 50%; display: inline-block; background: var(--muted); }
.cr-ph[data-ph="확인"] { background: var(--accent); } .cr-ph[data-ph="구현"] { background: var(--ink-2); } .cr-ph[data-ph="검증"] { background: var(--proof); }
.cr-ph[data-ph="힌트"] { background: var(--warn); } .cr-ph[data-ph="제출"] { background: var(--ink); } .cr-ph[data-ph="설명"] { background: var(--accent-ink); border: 2px solid var(--accent-soft); }
.cr-phf { align-self: flex-start; flex-wrap: wrap; }
.cr-llist .st-titem { align-items: flex-start; } .cr-llist .cr-ph { margin-top: 8px; }
.cr-lt { flex: none; font-size: 13px; padding-top: 1px; }
.cr-say { display: flex; flex-direction: column; gap: 4px; padding: 12px 16px; border-radius: var(--r-ctl); background: var(--bg); overflow-wrap: anywhere; min-width: 0; } .cr-say.me { background: var(--accent-soft); }
.cr-say .md { min-width: 0; } .cr-say pre { overflow-x: auto; }
.cr-sql { margin: 0; padding: 12px; border-radius: var(--r-ctl); background: var(--bg); font: 13px/1.5 var(--mono, ui-monospace, monospace); white-space: pre-wrap; overflow-wrap: anywhere; }
.cr-jump { gap: 8px; flex-wrap: wrap; }
@media (max-width: 640px) {   /* 휴대폰 — 리포트 탭 넷 · 단계 거르기는 한 줄로 밀기(두 줄로 갈리던 것) */
  .cr-tabs, .cr-phf { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; max-width: 100%; } .cr-tabs::-webkit-scrollbar, .cr-phf::-webkit-scrollbar { display: none; }
  .cr-tabs > *, .cr-phf > * { flex: none; }
}
/* 구두 질문(3단계) — 질문마다 내 답 ↔ 모범 답 · 코드와 맞는지 */
.cr-qs { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.cr-q { display: flex; flex-direction: column; gap: 8px; padding-top: 16px; border-top: 1px solid var(--line); } .cr-q:first-child { border-top: 0; padding-top: 0; }
.cr-q-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.cr-q-t { font-size: 17px; line-height: 1.5; overflow-wrap: anywhere; }
.cr-qa { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .cr-qa.one { grid-template-columns: minmax(0, 1fr); }
.cr-st.none { background: var(--bg); color: var(--muted); }
@media (max-width: 900px) { .cr-qa { grid-template-columns: minmax(0, 1fr); } }
/* 면접 질문으로 보내기(코딩 리포트 4단계) · 면접 › 예상 질문의 리포트 참고 */
.cr-send-t { gap: 12px; } .cr-send-t select { flex: 1; min-width: 0; }
.cr-send { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; max-height: 50vh; overflow-y: auto; }
.cr-send label { display: flex; gap: 12px; align-items: flex-start; padding: 12px 8px; border-radius: var(--r-ctl); cursor: pointer; } .cr-send label:hover { background: var(--surface-2); }
.cr-send input { margin-top: 4px; width: 18px; height: 18px; flex: none; accent-color: var(--accent); }
.cr-send label > span { display: flex; flex-direction: column; gap: 2px; min-width: 0; overflow-wrap: anywhere; }
.tk-hint { display: flex; flex-direction: column; gap: 4px; padding: 12px 16px; border-radius: var(--r-ctl); background: var(--accent-soft); overflow-wrap: anywhere; }

/* 공부(DESIGN-v6 6단계) — 머리 오른쪽 10 · 30 · 60분, 오늘 할 것 카드 머리 */
.st-plan-h h2 { margin: 0; font-size: 17px; }
.st-sv code { font: 13px var(--mono, ui-monospace, monospace); background: var(--bg); padding: 1px 4px; border-radius: var(--r-sm); }
@media (max-width: 640px) { .study-modes .phead-row { flex-wrap: wrap; } .study-modes .phead-act { flex: 1 1 100%; } }
.gr-esteps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }   /* 성장 빈 상태 세 걸음 — 학습 코스 단계 .gr-steps 와 다른 이름(검토) */
.gr-esteps li { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border-radius: var(--r-ctl); background: var(--bg); }
.gr-esteps li > .num { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); font-size: 13px; font-weight: 700; }
.gr-esteps li div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
@media (max-width: 900px) { .gr-esteps { grid-template-columns: minmax(0, 1fr); } }
/* 배움 첫 화면(DESIGN-v6 6단계) — 오늘 복습이 없으면 한 칸, 코스는 한 줄 목록 */
.lc-top.one { grid-template-columns: minmax(0, 1fr); }
.lc-rows { padding: 8px 20px; gap: 0; }
.lc-row { display: flex; align-items: center; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); min-width: 0; } .lc-row:first-child { border-top: 0; }
.lc-row.dim .lc-row-t { opacity: .7; }
.lc-row-t { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; } .lc-row-t b { font-size: 15px; overflow-wrap: anywhere; }
.lc-row-a { flex: none; gap: 8px; }
@media (max-width: 640px) { .lc-row { flex-wrap: wrap; } .lc-row-a { margin-left: auto; } }
/* 코딩 테스트 첫 화면(DESIGN-v6 6단계) — 함정 카드가 없으면 한 칸, 지원 건 칩 */
.cd-two.one { grid-template-columns: minmax(0, 1fr); }
.cd-picks { flex-wrap: wrap; gap: 8px; }
.cd-picks .chip { min-height: 32px; padding: 8px 12px; line-height: 1.4; text-align: left; border-radius: var(--r-card); border: 0; background: var(--bg); color: var(--ink-2); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; } .cd-picks .chip.on { background: var(--ink); color: var(--surface); }
/* 코치 빈 화면(DESIGN-v6 6단계) — 제안 세 줄 · 휴대폰은 입력칸을 아래 탭 위에 고정 */
.co-sugg { list-style: none; margin: 8px 0 0; display: flex; flex-direction: column; width: 100%; border-radius: var(--r-card); background: var(--bg); padding: 4px; }
.co-row { display: flex; align-items: center; gap: 12px; width: 100%; padding: 16px 16px; border: 0; border-radius: var(--r-ctl); background: transparent; color: var(--ink); font: inherit; text-align: left; cursor: pointer; }
.co-sugg li + li .co-row { border-top: 1px solid var(--line); border-radius: 0 0 var(--r-ctl) var(--r-ctl); }
.co-row.now { background: var(--accent-soft); border-radius: var(--r-ctl); } .co-sugg li:has(.co-row.now) + li .co-row { border-top: 0; }
@media (hover: hover) { .co-row:not(.now):hover { background: var(--surface); } }
.co-row-t { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; } .co-row-t b { font-size: 15px; overflow-wrap: anywhere; }
.co-tag { color: var(--accent-ink); font-weight: 700; font-size: 12px; }
.co-ex { align-self: center; }
@media (max-width: 640px) {
  .coach-main { overflow: visible; min-height: calc(100svh - 150px); }
  .coach-main .composer { position: sticky; bottom: calc(66px + env(safe-area-inset-bottom, 0px)); z-index: 3; border-radius: 0 0 var(--r-card) var(--r-card); }
  .coach-end { scroll-margin-bottom: calc(220px + env(safe-area-inset-bottom, 0px)); }   /* 새 답으로 내려갈 때 고정된 입력칸 · 아래 탭 위에 멈춘다(검토 — 답이 입력칸 밑에 가리던 것) */
}
/* 설정(DESIGN-v6 6단계) — 휴대폰 메뉴 목록 · AI 쓴 양 */
.s-menu .lrow { color: var(--ink); } .s-menu .lrow:hover { text-decoration: none; }
.s-aiuse { display: flex; align-items: center; gap: 12px; margin-top: 4px; } .s-aiuse .aibar { width: 160px; flex: none; }
/* 준비 상세 「그 뒤」 — 면접 전에는 한 장 세 줄 */
.aft { gap: 0; } .aft .card-h { padding-bottom: 8px; }
.aft-row { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); flex-wrap: wrap; }
.aft-t { flex: 1 1 260px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.aft-in { flex: 1 1 320px; gap: 8px; } .aft-in .in { flex: 1; min-width: 0; }
/* 화면 모양 뼈대(PageSkeleton) */
.psk { display: flex; flex-direction: column; gap: 16px; }
.psk-h { height: 30px; width: min(320px, 60%); border-radius: var(--r-md); }
.psk-tabs { height: 22px; width: min(420px, 80%); border-radius: var(--r-md); }
.psk-two { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 16px; } @media (max-width: 900px) { .psk-two { grid-template-columns: minmax(0, 1fr); } .psk-two > :last-child { display: none; } }
/* 분석 보고형(docs/CODING-REPORT-v1.md 5단계) — 풀기 화면 보고서 탭 · 리포트의 보고서 · 돌려준 숫자 */
.cx-report textarea.in { min-height: 260px; resize: vertical; line-height: 1.6; font-size: 15px; }
.cr-report { padding: 4px 2px; overflow-wrap: anywhere; }
.cr-val { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 4px; }
/* 면접 이야기 ↔ 고객 자료 */
.tk-ctx summary { cursor: pointer; list-style: none; display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: baseline; } .tk-ctx summary::-webkit-details-marker { display: none; }
.tk-ctx summary::before { content: "›"; color: var(--muted); transition: transform .15s; } .tk-ctx[open] summary::before { transform: rotate(90deg); }
.tk-ctx[open] { display: flex; flex-direction: column; gap: 12px; }
.tk-docs { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.tk-docs li { display: grid; grid-template-columns: 4.5em minmax(0, 1fr); gap: 12px; } .tk-docs li div { display: flex; flex-direction: column; gap: 2px; min-width: 0; overflow-wrap: anywhere; }
/* 여러 파일 과제(docs/CODING-REPO-v1.md B2) — 파일 줄 · 테스트 결과 */
.cx-rfiles { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; min-width: 0; }
.cx-rgroup { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.cx-rg { font-family: var(--mono, ui-monospace, monospace); }
.cx-rfiles .chip { height: 28px; padding: 0 12px; border-radius: 999px; border: 0; background: var(--bg); color: var(--ink-2); font: 600 12px var(--mono, ui-monospace, monospace); cursor: pointer; }
.cx-rfiles .chip[aria-selected="true"] { background: var(--ink); color: var(--surface); }
.cx-readme { background: var(--surface-2); }
.cx-tests { list-style: none; margin: 4px 0; padding: 0; font: 12px/1.6 var(--mono, ui-monospace, monospace); display: flex; flex-direction: column; gap: 2px; }
.cx-tests summary { cursor: pointer; } .cx-tests pre { margin: 4px 0 8px; }
.cr-repo { display: flex; flex-direction: column; gap: 4px; margin-top: 8px; } .cr-repo ul { margin: 0; padding-left: 20px; } .cr-repo code { font-size: 12px; }   /* 여러 파일 과제 — 바뀐 파일 · 테스트 · DECISIONS */
.cr-rjump { flex-wrap: wrap; gap: 4px 12px; } .cr-rjump .linkbtn { font-family: var(--mono, ui-monospace, monospace); font-size: 12px; }   /* 여러 파일 리포트 — 파일로 가기 · 바뀐 줄 */
.cr-band.chg { background: color-mix(in srgb, var(--proof) 14%, transparent); border-left-color: var(--proof); }
.cr-chg-key::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 4px; vertical-align: -1px; border-left: 3px solid var(--proof); background: color-mix(in srgb, var(--proof) 14%, transparent); }
.cr-anchor { position: absolute; left: 0; width: 1px; height: 1px; scroll-margin-top: 80px; pointer-events: none; }

/* 비서(사용자 10-30 「채널톡처럼」 → 11-21 PC 는 왼쪽 메뉴 맨 아래 한 줄 · 떠 있는 단추가 오른쪽 칸 링크를 가리던 것) — 작은 대화창(휴대폰은 화면 가득) */
.nav .nav-btn { width: 100%; border: 0; background: none; font: inherit; cursor: pointer; text-align: left; }
.nav .nav-btn[aria-expanded="true"] { color: var(--ink); background: var(--surface-2); }
.nav-asst { margin-bottom: 8px; } .nav-asst kbd { margin-left: auto; }
main { padding-bottom: 112px; }   /* 끝까지 내렸을 때 마지막 카드 밑 여백 */
.asst { position: fixed; right: 24px; bottom: 24px; width: 400px; max-width: calc(100vw - 32px); height: min(660px, calc(100svh - 116px)); z-index: 19;   /* 화면에서 연 시트 · 일 패널(21)이 위로 — 창을 연 채 화면을 쓰므로(검토) */ background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: 0 12px 40px rgba(0, 0, 0, .22); display: flex; flex-direction: column; overflow: hidden; }
.asst-acts { display: flex; flex-wrap: wrap; gap: 8px; }
.asst-ctx { padding: 8px 12px; border-radius: var(--r-ctl); background: var(--surface-2); }
.coach-shell.compact { display: flex; flex-direction: column; flex: 1; min-height: 0; gap: 0; position: relative; }
.coach-shell.compact .coach-listwrap { display: none; position: absolute; inset: 0; z-index: 6; padding: 0; background: rgba(0, 0, 0, .25); }
.coach-shell.compact .coach-listwrap.open { display: block; }
.coach-shell.compact .coach-listwrap .coach-list { max-width: 300px; height: 100%; max-height: none; border-radius: 0; background: var(--surface); }
.coach-shell.compact .coach-listbtn { display: inline-flex; }
.coach-shell.compact .coach-main { flex: 1; min-height: 0; overflow: hidden; border: 0; border-radius: 0; box-shadow: none; }
.coach-shell.compact .coach-head { padding: 12px 12px 12px 12px; gap: 8px; }
.coach-shell.compact .coach-log { padding: 16px; }
.coach-shell.compact .coach-home { align-items: stretch; text-align: left; margin: 0; max-width: none; padding: 8px 2px; gap: 12px; }
.coach-shell.compact .coach-home h2 { font-size: 20px; }
.coach-shell.compact .co-ex { align-self: flex-start; }
.coach-shell.compact .co-keys { display: none; }
.coach-shell.compact .composer { position: static; padding: 12px 12px 12px; border-radius: 0; }
@media (max-width: 640px) {
  .asst { inset: 0; width: auto; max-width: none; height: auto; border: 0; border-radius: 0; padding-bottom: env(safe-area-inset-bottom, 0px); }
  main { padding-bottom: 152px; }
}
.nav kbd { font: 11px var(--mono, ui-monospace, monospace); color: var(--muted); margin-left: 4px; }
/* 배움 › 주제 */
.tp { display: flex; flex-direction: column; gap: 16px; }
.tp-next { display: flex; flex-direction: row; align-items: center; gap: 16px; } .tp-next h2 { margin: 2px 0; font-size: 20px; } .tp-next > div { flex: 1; min-width: 0; }
.tp-bar { flex-wrap: wrap; gap: 8px; } .tp-bar .seg { flex-wrap: wrap; }
.tp-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 8px; vertical-align: 0; }
.tp-steps { margin: 0; padding-left: 20px; color: var(--muted); display: flex; flex-direction: column; gap: 4px; } .tp-steps li.done { color: var(--ink); }
.tp-bring { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.tp-bring a { display: flex; flex-direction: column; gap: 2px; padding: 12px 12px; border-radius: var(--r-ctl); background: var(--surface-2); color: inherit; text-decoration: none; }
/* 지원 건 안의 단계 줄 — 탭 8개가 좁은 화면에서 줄바꿈되게 */
.psteps { flex-wrap: wrap; row-gap: 4px; }
.tp-bring button { display: flex; flex-direction: column; gap: 2px; width: 100%; text-align: left; padding: 12px 12px; border: 0; border-radius: var(--r-ctl); background: var(--surface-2); color: inherit; font: inherit; cursor: pointer; }
.tp-src { align-self: flex-start; flex-wrap: wrap; max-width: 100%; }
/* 코스 칩은 이름 그대로 — 글자 수(14자)로 자르던 것을 빼고, 칸보다 길 때만 끝을 줄인다(넓은 PC 에서도 「Forward Fello…」이던 것, 화면 점검 11-23 30번) */
.tp-src button { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tp-today { display: block; }
.mh-learned { padding: 2px 0; }

/* 회사 한 장(docs/NEXT-PATH-v1.md F1) — 공시 · 뉴스 · 국민연금, 숫자마다 출처 · 기준일 */
.co-card { display: flex; flex-direction: column; gap: 12px; }
.co-id { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 12px; } .co-id b { font-size: 17px; }
.co-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 8px; }
.co-tiles > div { display: flex; flex-direction: column; gap: 2px; padding: 12px 12px; border-radius: var(--r-ctl); background: var(--surface-2); } .co-tiles b { font-size: 18px; }
.co-fin { width: 100%; border-collapse: collapse; font-size: 14px; } .co-fin th, .co-fin td { padding: 8px 8px; border-bottom: 1px solid var(--line); text-align: right; } .co-fin th:first-child { text-align: left; color: var(--muted); font-weight: 600; } .co-fin td { white-space: nowrap; }
@media (max-width: 640px) { .co-fin { font-size: 13px; } .co-fin th, .co-fin td { padding: 8px 4px; } }
.co-nps { display: flex; flex-direction: column; gap: 2px; }
.co-news h3 { margin: 0 0 4px; } .co-news ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.co-news li { display: flex; flex-direction: column; gap: 1px; } .co-news li a { overflow-wrap: anywhere; }
.co-src { display: block; }
.co-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.co-cands { display: flex; flex-direction: column; gap: 8px; } .co-cand { display: flex; gap: 8px; align-items: flex-start; padding: 8px 12px; border-radius: var(--r-ctl); background: var(--surface-2); cursor: pointer; }

/* 성향 검사(docs/NEXT-PATH-v1.md F2) — 열 문항씩 · 다섯 칸 · 요인 막대 */
.ps-page, .ps-take { display: flex; flex-direction: column; gap: 16px; }
.ps-forms { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.ps-form { display: flex; flex-direction: column; gap: 2px; align-items: flex-start; padding: 16px 16px; border: 1px solid var(--line); border-radius: var(--r-ctl); background: var(--surface-2); color: var(--ink); font: inherit; cursor: pointer; text-align: left; }
.ps-form.rec { border-color: var(--accent); background: var(--accent-soft); }
.ps-res { display: flex; flex-direction: column; gap: 16px; }
.ps-f { display: flex; flex-direction: column; gap: 8px; } .ps-f-h { gap: 8px; align-items: baseline; } .ps-f-h .num { font-size: 18px; }
.ps-d.up { color: var(--proof-ink); } .ps-d.down { color: var(--warn-ink); }
.ps-bar { position: relative; height: 8px; border-radius: var(--r-sm); background: linear-gradient(90deg, var(--surface-2), var(--accent-soft)); border: 1px solid var(--line); }
.ps-bar i { position: absolute; top: 50%; width: 14px; height: 14px; margin-left: -7px; transform: translateY(-50%); border-radius: 50%; background: var(--accent); border: 2px solid var(--surface); }
.ps-ends { justify-content: space-between; gap: 12px; } .ps-ends span:last-child { text-align: right; }
.ps-hist .row { gap: 12px; padding: 4px 0; flex-wrap: wrap; }
.ps-cite { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 4px; overflow-wrap: anywhere; }
.ps-progbar { height: 6px; border-radius: var(--r-sm); background: var(--surface-2); overflow: hidden; } .ps-progbar i { display: block; height: 100%; background: var(--accent); }
.ps-items { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.ps-item { display: flex; flex-direction: column; gap: 12px; } .ps-item p { margin: 0; font-size: 16px; font-weight: 600; }
.ps-scale { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.ps-scale button { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 4px; border: 1px solid var(--line); border-radius: var(--r-ctl); background: var(--surface); color: var(--ink); font: inherit; cursor: pointer; }
.ps-scale button small { font-size: 12px; color: var(--muted); text-align: center; line-height: 1.3; }
.ps-scale button.on { border-color: var(--accent); background: var(--accent-soft); } .ps-scale button.on small { color: var(--accent-ink); }
.ps-nav { gap: 8px; } .ps-left { text-align: right; margin: 0; }
@media (max-width: 640px) { .ps-scale button { padding: 8px 2px; } .ps-scale button small { font-size: 11px; } .ps-ends { flex-direction: column; gap: 2px; } .ps-ends span:last-child { text-align: left; } }

/* 내 리뷰(docs/NEXT-PATH-v1.md F3) — 별 다섯 · 팝업 폼 · 목록 */
.rv-page { display: flex; flex-direction: column; gap: 16px; }
.rv-form { display: flex; flex-direction: column; gap: 12px; }
.rv-f { display: flex; flex-direction: column; gap: 4px; }
.rv-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; } .rv-row > .small:first-child { min-width: 88px; }
.rv-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 8px 16px; }
.rv-stars { display: inline-flex; gap: 2px; } .rv-stars button { border: 0; background: none; padding: 2px 4px; font-size: 22px; line-height: 1; color: var(--line); cursor: pointer; }
.rv-stars button.on { color: var(--warn-ink); }
.rv-st { color: var(--warn-ink); letter-spacing: 1px; } .rv-st .muted { color: var(--line); }
.rv-foot { gap: 8px; }
.rv-card { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; } .rv-sum { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; }
.rv-todo { display: flex; flex-wrap: wrap; gap: 8px; }
.rv-todo .chip { height: auto; min-height: 32px; padding: 6px 12px; line-height: 1.4; text-align: left; }   /* 역할까지 붙어 휴대폰에서 두 줄 — 높이 고정이면 글자가 알약 밖으로(11-23 검토) */
.rv-row-b { width: 100%; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; } .rv-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }

/* 화면 개편 v7(docs/DESIGN-v7.md) — 왼쪽 목차 · 소속 한 장 · 지표 카드 */
.stoc-wrap { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 20px; align-items: start; }
.stoc { display: flex; flex-direction: column; gap: 2px; position: sticky; top: 60px; }
.stoc a { padding: 12px 16px; border-radius: var(--r-ctl); font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.stoc a:hover { text-decoration: none; background: color-mix(in srgb, var(--surface) 60%, transparent); } .stoc a.on { background: var(--surface); color: var(--ink); }
.stoc-body { min-width: 0; display: flex; flex-direction: column; gap: 16px; }
@media (max-width: 1100px) { .stoc-wrap { grid-template-columns: minmax(0, 1fr); gap: 12px; } .stoc { flex-direction: row; overflow-x: auto; position: static; scrollbar-width: none; } .stoc a { flex: none; padding: 8px 16px; } }
.mtr-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.mtr-tiles > div { background: var(--surface-2); border-radius: var(--r-ctl); padding: 12px 16px; display: flex; flex-direction: column; gap: 2px; } .mtr-tiles b { font-size: 22px; }
.pl-page { display: flex; flex-direction: column; gap: 16px; }
.pl-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 16px; align-items: start; } .pl-grid > div { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
@media (max-width: 1000px) { .pl-grid { grid-template-columns: minmax(0, 1fr); } }
.pl-works { display: flex; flex-direction: column; } .pl-works button { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; padding: 12px 4px; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.pl-works button + button { border-top: 1px solid var(--line); } .pl-works b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .pl-works small { grid-column: 1; }
.mtr-card { display: flex; flex-direction: column; gap: 12px; color: inherit; } a.mtr-card:hover { text-decoration: none; }
/* v7 ② 지원(docs/DESIGN-v7.md 3) — 머리 탭 + ＋ · 두 칸(왼쪽 건 목록 · 오른쪽 미리 보기) */
.ap-tabs { align-items: center; } .ap-tabs .ap-new { margin: 0 2px 8px 0; }
.bt-two { display: grid; grid-template-columns: minmax(300px, 400px) minmax(0, 1fr); gap: 16px; align-items: start; }
.bt-two .bt { padding: 12px; display: flex; flex-direction: column; overflow: visible; }
.bt-two .bt-tools { margin: 0 4px 8px; } .bt-two .bt-q { max-width: none; }
.bt-two .bt-row { display: flex; flex-direction: column; align-items: stretch; gap: 4px; padding: 12px; border-radius: var(--r-ctl); border-bottom: 0; }
.bt-two .bt-row { position: relative; } .bt-two .bt-row + .bt-row::before { content: ""; position: absolute; left: 12px; right: 12px; top: 0; height: 1px; background: var(--line); }   /* 곧은 구분선 — 둥근 줄에 그림자로 그려 모서리에서 휘던 것(11-21) */
.bt-two .bt-row.on { background: var(--accent-soft); } .bt-two .bt-row.on::before, .bt-two .bt-row.on + .bt-row::before { display: none; }
.bt-meta { display: flex; align-items: center; gap: 12px; min-width: 0; } .bt-meta .bt-track { flex-direction: row; align-items: center; gap: 8px; flex: 1; min-width: 0; }
.bt-pv { position: sticky; top: 64px; gap: 16px; }
.bt-pv-h { gap: 12px; flex-wrap: wrap; } .bt-pv-h h2 { font-size: 22px; }
.bt-pv-track { display: flex; flex-wrap: wrap; gap: 8px 8px; align-items: center; font-size: 14px; }
.bt-pv-st.d-done { color: var(--proof-ink); } .bt-pv-st.d-cur { color: var(--accent-ink); font-weight: 700; } .bt-pv-st.d-fail, .bt-pv-st.d-stop { color: var(--danger-ink); } .bt-pv-st.d-next, .bt-pv-st.d-skip { color: var(--muted); }
.bt-pv-next { display: flex; align-items: center; gap: 16px; padding: 16px 20px; border-radius: var(--r-card); background: var(--accent-soft); } .bt-pv-next > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.bt-pv-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.bt-pv-grid a { display: flex; flex-direction: column; gap: 2px; padding: 12px 16px; border-radius: var(--r-ctl); background: var(--surface-2); color: inherit; } .bt-pv-grid a:hover { text-decoration: none; background: var(--accent-soft); }
@media (max-width: 1000.98px) { .bt-two { grid-template-columns: minmax(0, 1fr); } }
.ptabs.me-tabs button { min-height: 46px; font-size: 15px; }
.ap-tabs .ap-new { margin-left: auto; flex: none; }
@media (max-width: 640px) { .bt-two .bt-row > :nth-child(2) { display: flex; } .bt-two .bt-row { padding: 12px 12px; } }   /* 옛 표 규칙(둘째 칸 숨김)이 두 칸 목록의 전형 점을 지우던 것 */
body.mfocus .stoc { display: none; } body.mfocus .stoc-wrap { grid-template-columns: minmax(0, 1fr); }   /* 연습 집중 화면 — 면접 목차도 숨김(누르면 진행 중인 판이 내려가던 것, 검토) */
.me-tabs.ap-tabs, .me-tabs.st-tabs { -webkit-mask-image: none; mask-image: none; }   /* 탭 줄 오른쪽 흐림이 주 단추(＋ 지원 건 · 들여오기)를 흐리던 것(검토) */
.st-tabs { align-items: center; } .st-tabs-act { display: flex; align-items: center; gap: 8px; flex: none; padding-bottom: 4px; } .st-tabs-sub { margin: 4px 2px 0; }

/* 모은 공고(docs/NEXT-PATH-v1.md F4) */
.jb { gap: 12px; } .jb-list { display: flex; flex-direction: column; }
.jb-row { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 12px; align-items: start; padding: 12px 0; } .jb-row + .jb-row { border-top: 1px solid var(--line); }
.jb-sc { display: grid; place-items: center; width: 36px; height: 36px; border-radius: var(--r-ctl); background: var(--accent-soft); color: var(--accent-ink); font-size: 15px; }
.jb-t { display: flex; flex-direction: column; gap: 4px; min-width: 0; } .jb-t b { overflow-wrap: anywhere; } .jb-why { display: flex; flex-wrap: wrap; gap: 4px; }
.jb-act { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.jb-src { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }   /* 통로 하나 = 한 줄(격자 규칙이 잘못돼 세로로 늘어지던 것) */
.jb-src select { flex: 0 0 210px; } .jb-src input { flex: 1 1 160px; min-width: 0; } .jb-src > .btn { flex: none; }
@media (max-width: 640px) { .jb-row { grid-template-columns: 36px minmax(0, 1fr); } .jb-act { grid-column: 2; flex-direction: row; align-items: center; } .jb-src select { flex: 1 1 100%; } }
/* 모은 활동(acts.js) — 마감까지 남은 날 표식 + 공고 줄과 같은 줄 모양 */
.ac { gap: 12px; } .ac-list { display: flex; flex-direction: column; }
.ac-item { align-items: flex-start; } .ac-item .ac-due { flex: none; margin-top: 2px; } .ac-more { align-self: flex-start; margin: 4px 12px; }   /* 활동 두 칸(11-21) — 왼쪽 목록 줄 */
.ac-due { display: grid; place-items: center; min-width: 52px; height: 32px; padding: 0 8px; border-radius: var(--r-md); background: var(--accent-soft); color: var(--accent-ink); font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
.ac-due.soon { background: var(--warn-soft); color: var(--warn-ink); } .ac-due.none { background: var(--surface-2); color: var(--muted); font-weight: 500; }
.chance { gap: 8px; } .ch-list { list-style: none; margin: 0; padding: 0; } .ch-list li + li { border-top: 1px solid var(--line); } .ch-list a { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 8px 0; color: var(--ink); } .ch-list li.small { padding: 8px 0; } .ch-t { min-width: 0; overflow-wrap: anywhere; font-weight: 600; }
.ac-form3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 640px) { .ac-form3 { grid-template-columns: minmax(0, 1fr); } }

/* 맞는 길(docs/NEXT-PATH-v1.md F5) */
.fpaths { gap: 12px; } .fp-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }   /* 한 줄에 하나(11-21) — 둘씩 놓아 셋째 카드 옆이 비던 것 */
.fp { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 12px 24px; padding: 16px 20px; border-radius: var(--r-card); background: var(--surface-2); min-width: 0; } .fp-t { font-size: 16px; }
.fp-main, .fp-side { display: flex; flex-direction: column; gap: 8px; min-width: 0; } .fp-side .fp-co { border-top: 0; padding-top: 4px; }
@media (max-width: 900px) { .fp { grid-template-columns: minmax(0, 1fr); } .fp-side .fp-co { border-top: 1px solid var(--line); padding-top: 8px; } }
.fp-ev { display: flex; flex-wrap: wrap; gap: 4px; } .fp-ev a { color: inherit; } .fp-ev a:hover { text-decoration: none; background: var(--accent-soft); }
.fp-co { display: flex; flex-direction: column; gap: 4px; padding-top: 8px; border-top: 1px solid var(--line); } .fp-co a { overflow-wrap: anywhere; }
.fp-evs div { padding: 4px 0; overflow-wrap: anywhere; }
/* 비서 답 폭 — 코드 블록(pre) · 표가 말풍선 · 창을 밀어 오른쪽이 잘리던 것(11-02 캡처) */
.coach-log .mt, .ag-bub, .ag-bub .md, .ag-run { min-width: 0; } .md-code { max-width: 100%; min-width: 0; } .ag-bub .md > * { max-width: 100%; }
.coach-main, .coach-shell.compact .coach-main { min-width: 0; } .coach-shell.compact .coach-main { align-self: stretch; width: 100%; max-width: 100%; } .coach-head { flex-wrap: nowrap; } .coach-head b { min-width: 0; flex: 0 1 auto; } .coach-head .pill { flex: none; }   /* 긴 대화 제목이 줄지 않아 비서 창을 밀던 것 — 말줄임으로 */

/* 배움 과제 작업 공간(docs/WORKSPACE-v1.md) — 레슨 과제 카드 · 응시 화면(왼쪽 iframe · 오른쪽 패널) · 결과 */
.lp-pill.w { background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--accent-ink); border-color: transparent; }
.ws-card .ws-title, .ws-result .ws-title, .ws-panel .ws-title { margin: 0; font-size: 22px; line-height: 1.3; letter-spacing: -.01em; overflow-wrap: anywhere; }
.ws-files { margin: 8px 0 0; padding-left: 20px; } .ws-files code { font-size: 12.5px; }
.ws-steps { margin: 0; padding-left: 20px; display: grid; gap: 4px; } .ws-pre { white-space: pre-wrap; overflow-wrap: anywhere; margin: 8px 0 0; max-height: 260px; overflow: auto; background: var(--surface-2); padding: 8px 12px; border-radius: var(--r-ctl); }
.ws-preview { display: flex; flex-direction: column; gap: 12px; }
.ws-take { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 380px); gap: 12px; align-items: stretch; height: calc(100vh - 32px); min-height: 520px; }
.ws-frame { padding: 0; overflow: hidden; display: flex; flex-direction: column; min-width: 0; } .ws-frame iframe { flex: 1; width: 100%; border: 0; background: #1f1f1f; min-height: 0; }
.ws-wait { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: 24px; }
.ws-framefoot { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-top: 1px solid var(--line); }
.ws-panel { display: flex; flex-direction: column; gap: 12px; min-height: 0; overflow: hidden; } .ws-panel .ws-body { overflow: auto; min-height: 0; display: flex; flex-direction: column; gap: 12px; padding-right: 2px; }
.ws-head { gap: 8px; flex-wrap: wrap; } .ws-timer { font-size: 20px; font-weight: 800; letter-spacing: .02em; }
.ws-narrow { display: flex; flex-direction: column; height: auto; } .ws-narrow .ws-panel { overflow: visible; }
.ws-done { max-width: 900px; } .ws-result { gap: 12px; } .ws-total { gap: 12px; align-items: baseline; flex-wrap: wrap; } .ws-score { font-size: 40px; font-weight: 800; letter-spacing: -.02em; }
.ws-summary { margin: 0; font-size: 17px; line-height: 1.6; } .ws-scores { display: grid; gap: 12px; } .ws-sc { display: flex; flex-direction: column; gap: 4px; }
@media (max-width: 960px) { .ws-take { grid-template-columns: minmax(0, 1fr); height: auto; } }
body.mfocus .ws-take { height: calc(100vh - 24px); }
.ws-entry { gap: 8px; flex-wrap: wrap; padding-top: 4px; border-top: 1px solid var(--line); }   /* 서술 아래 — 과제가 없는 레슨의 과제 만들기 입구 */

/* ---------- v8 토대(docs/REPLAN-v1.md 14-10) — 카드 · 단추 · 탭은 v5.1 자리(위)에서 직접 바꿨다(끝에서 덮으면 뒤의 특수 · 휴대폰 규칙을 이겨 버린다, 11-09 새 눈 검토).
   여기는 다른 규칙과 겨루지 않는 것만 ---------- */
a.card:hover, button.card:hover, .card[role="button"]:hover { box-shadow: var(--shadow-hover); }
.btn { transition: transform .2s cubic-bezier(.2, .9, .25, 1.25), filter .15s; }
.btn:active:not(:disabled) { transform: scale(.96); }
.nav :is(a, .nav-btn)[aria-current="page"] { background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); }   /* 사이드바가 흰 면이라 활성은 회색 면 + 선 */
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } }

/* ---------- v8 2단계 브리핑 홈 · 휴대폰 앱 막대 · 아래 탭 다섯(docs/HOME-v8.md) ---------- */
.home.brief { display: flex; flex-direction: column; gap: var(--g-block, 16px); }
.hb-chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.tk-g { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; } .tk-g .chips { display: flex; flex-wrap: wrap; gap: 8px; }
.kpis { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; }
.kpi { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card, 16px); box-shadow: var(--shadow); padding: 16px 16px 12px; display: flex; flex-direction: column; gap: 4px; min-width: 0; overflow: hidden; }
.kpi-h { display: flex; gap: 8px; align-items: baseline; } .kpi-l { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.kpi-v { font-size: 28px; font-weight: 700; line-height: 1.15; color: var(--ink); font-variant-numeric: tabular-nums; } .kpi-v small { font-size: 14px; font-weight: 600; color: var(--muted); margin-left: 2px; }
.kpi-f { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; min-height: 18px; padding-right: 100px; }
.kpi-d { font-size: 12px; font-weight: 700; } .kpi-d.up { color: var(--proof-ink, var(--proof)); } .kpi-d.down { color: var(--warn-ink, var(--warn)); }
.kpi-mini { position: absolute; right: 14px; bottom: 12px; width: 96px; height: 30px; color: var(--accent); }
.kpi-mini rect { fill: var(--surface-2); } .kpi-mini rect.on { fill: currentColor; }
.kpi-mini path { stroke: currentColor; } .kpi-mini circle { fill: currentColor; }
.brief-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(300px, 1fr); gap: 16px; align-items: start; }
.brief-main, .brief-side { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.brief-side .kpis { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }   /* 두 칸 화면에선 지표가 오른쪽 칸 맨 위(11-21) — 좁으면 한 줄에 하나, 넓으면 둘 */
.brief-eye { font-weight: 700; letter-spacing: .02em; margin-bottom: -8px; }
.brief-end { text-align: center; padding: 8px 0 4px; }
.rest .lrow { width: 100%; text-align: left; }
.lrow-ic.area-me i { background: var(--accent); } .lrow-ic.area-chance i { background: var(--warn); } .lrow-ic.area-grow i { background: var(--proof); }
.redis { display: flex; flex-direction: column; gap: 8px; }
.heat { display: grid; grid-template-rows: repeat(7, 1fr); grid-auto-flow: column; grid-auto-columns: minmax(0, 28px); gap: 4px; }   /* 칸은 28px 까지 — 넓은 화면에서 칸이 37px 로 커져 카드가 400px 넘게 길어지던 것(11-21) */
.heatcard .heat, .heatcard .heat-lg { max-width: 420px; }   /* 범례를 잔디 오른쪽 끝에 맞춘다 */
.heat .hl { font-size: 10px; color: var(--muted); line-height: 1; align-self: center; padding-right: 4px; }
.heat i, .heat-lg i { display: block; aspect-ratio: 1; border-radius: var(--r-sm); background: var(--surface-2); }
.heat i.fut { visibility: hidden; }
.heat i.lv1, .heat-lg i.lv1 { background: color-mix(in srgb, var(--accent) 28%, var(--surface-2)); }
.heat i.lv2, .heat-lg i.lv2 { background: color-mix(in srgb, var(--accent) 50%, var(--surface-2)); }
.heat i.lv3, .heat-lg i.lv3 { background: color-mix(in srgb, var(--accent) 75%, var(--surface-2)); }
.heat i.lv4, .heat-lg i.lv4 { background: var(--accent); }
.heat-lg { display: flex; align-items: center; gap: 4px; justify-content: flex-end; margin-top: 8px; } .heat-lg i { width: 11px; height: 11px; flex: none; margin: 0; }
.appbar { display: none; }
@media (max-width: 960px) { .brief-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) {
  body:has(> #app > .appbar) { grid-template-rows: auto 1fr; align-content: start; }   /* 앱 막대 한 줄 + 본문 — 남는 높이를 막대가 나눠 갖지 않게 */
  .appbar { display: flex; position: relative; z-index: 14; align-items: center; gap: 8px; margin: 0; padding: calc(8px + env(safe-area-inset-top, 0px)) 8px 8px 14px;
    background: color-mix(in srgb, var(--bg) 82%, transparent); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
  .appbar .mark { width: 28px; height: 28px; border-radius: var(--r-md); display: grid; place-items: center; background: var(--accent); color: var(--on-accent); font-weight: 800; font-size: 14px; }
  .appbar-t { font-size: 16px; } .appbar .iconbtn { width: 44px; height: 44px; position: relative; color: var(--ink-2); }
  .appbar .badge { position: absolute; top: 6px; right: 6px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: var(--r-md); background: var(--accent); color: var(--on-accent); font-size: 10px; display: inline-grid; place-items: center; }
  .tabs { grid-template-columns: repeat(5, 1fr); }
  .tab-asst { border: 0; background: none; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 12px; font-weight: 600; color: var(--ink-2); cursor: pointer; }
  .tab-orb { width: 40px; height: 40px; margin-top: -16px; border-radius: 50%; display: grid; place-items: center; background: var(--primary); color: var(--on-primary); box-shadow: 0 6px 16px rgba(0, 0, 0, .18); }
  .tab-asst[aria-expanded="true"] .tab-orb { background: var(--accent); color: var(--on-accent); }
  .hb-chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px; padding: 0 16px 2px; scrollbar-width: none; } .hb-chips > * { flex: none; }
  .kpis { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 16px; margin: 0 -16px; padding: 0 16px 4px; gap: 12px; scrollbar-width: none; }   /* scroll-padding — 넘김 멈춤 자리가 안쪽 여백을 지키게(사파리에서 첫 카드가 화면 끝에 붙던 것) */
  .kpis .kpi { flex: 0 0 72%; scroll-snap-align: start; }
}
@media (prefers-reduced-motion: reduce) { .kpis { scroll-behavior: auto; } }

/* ---------- v8 3단계 나: 한 장 · 기록 두 층(docs/ME-v8.md) ---------- */
.rec-tab { display: flex; flex-direction: column; gap: 12px; }
.rec-views { align-items: center; gap: 12px; flex-wrap: wrap; }
.rec-views .seg button { padding: 8px 16px; min-height: 36px; }
.prof-ai-l { margin: 0; padding-left: 20px; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 8px 28px; }

/* ---------- v8 4단계 기회: 지원 건 = 전형이 곧 탭 · 목록 탭 둘(docs/CHANCE-v8.md) ---------- */
.jx-band { display: flex; flex-direction: column; gap: 8px; }
body.mfocus .jx-tabs, body.mfocus .jx-rec, body.mfocus .jx-body > .course, body.mfocus .pwait { display: none; }   /* 연습 집중 화면 — 결과 · 회사 단추 · 코스 · 기록 줄도 숨김 */
.jx-tabs { gap: 8px; flex-wrap: wrap; }
.jx-tabs .btn.on { background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--ink); color: var(--ink); }
.jsteps button.jsel { box-shadow: inset 0 0 0 2px var(--ink); border-radius: 999px; }
.jx-body { display: flex; flex-direction: column; gap: 16px; }
.jx-rec { gap: 12px; align-items: baseline; flex-wrap: wrap; padding-top: 4px; border-top: 1px solid var(--line); }
.ap-filter { align-items: center; gap: 12px; margin-top: 12px; }
.ap-filter .seg button { padding: 8px 16px; min-height: 36px; }

/* ---------- v8 4-2 추천 카드(docs/CHANCE-v8.md 3절) — 세 칸 막대(색만으로 말하지 않게 글자 함께) · 이유마다 출처 ---------- */
.frec { display: flex; flex-direction: column; gap: 8px; padding: 12px 12px; border-radius: var(--r-ctl); background: var(--surface-2); }
.frec-l { display: flex; align-items: center; gap: 8px; }
.frec-g { display: inline-flex; gap: 4px; } .frec-g i { width: 14px; height: 6px; border-radius: var(--r-sm); background: var(--line); }
.frec.lv-good .frec-g i.on { background: var(--proof); } .frec.lv-mid .frec-g i.on { background: var(--accent); } .frec.lv-bad .frec-g i.on { background: var(--warn); }
.frec.lv-good .frec-l b { color: var(--proof-ink, var(--ink)); } .frec.lv-bad .frec-l b { color: var(--warn-ink, var(--ink)); } .frec.lv-few .frec-l b { color: var(--muted); font-weight: 600; }
.frec-r { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 4px; font-size: 13.5px; }
.frec-r li span { margin-right: 8px; }
.frec-src { color: var(--muted); font-size: 11.5px; border: 1px solid var(--line); border-radius: 999px; padding: 0 8px; white-space: nowrap; }
.frec-c { color: var(--ink-2); }
.st-plan-h { align-items: baseline; gap: 12px; margin: 8px 0 2px; } .st-plan-h b { font-size: 15px; }

/* 소속 한 장 — 성과를 분류 › 곳으로 묶음(docs/CAREER-AGENT-v1.md R1) */
.pl-groups { display: flex; flex-direction: column; gap: 20px; } .pl-cat { display: flex; flex-direction: column; gap: 8px; } .pl-cat > h3 { margin: 0; font-weight: 600; }
details.pl-group { border: 1px solid var(--line); border-radius: var(--r-ctl); } details.pl-group > summary { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 12px 16px; cursor: pointer; list-style: none; min-height: 44px; }
details.pl-group > summary::-webkit-details-marker { display: none; } details.pl-group > summary::before { content: "›"; color: var(--ink-2); margin-right: 2px; transition: transform .12s; display: inline-block; } details.pl-group[open] > summary::before { transform: rotate(90deg); }
details.pl-group > summary > b { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } details.pl-group > summary > span { flex: none; } details.pl-group > .pl-works { padding: 0 16px 8px; }

/* 나도 모르는 나(docs/CAREER-AGENT-v1.md R2) */
.dc { display: flex; flex-direction: column; gap: 16px; } .dc-two { align-items: stretch; }
.dc-said { margin: 0; display: grid; grid-template-columns: minmax(84px, auto) minmax(0, 1fr); gap: 12px 16px; } .dc-said dd { margin: 0; } .dc-said dt { padding-top: 2px; }
.dc-test { display: block; margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--line); color: var(--ink-2); } .dc-test b { color: var(--ink); margin-right: 8px; }
.dc-seen { display: flex; flex-direction: column; gap: 20px; } .dc-obs-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; } .dc-line { margin: 2px 0 8px; }
.dc-bars { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(64px, max-content) minmax(0, 1fr) max-content; gap: 8px 12px; align-items: center; } .dc-bars li { display: contents; }
.dc-bar { display: block; height: 8px; border-radius: var(--r-sm); background: var(--line); overflow: hidden; } .dc-bar i { display: block; height: 100%; border-radius: var(--r-sm); background: var(--accent); transition: width .25s ease; }
.dc-asks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; } .dc-ask { border: 1px solid var(--line); border-radius: var(--r-ctl); padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.dc-q { margin: 0; font-weight: 600; } .dc-ask textarea { width: 100%; resize: vertical; } .dc-ask-f { gap: 8px; align-items: center; flex-wrap: wrap; } .dc-ask-f select { margin-left: 4px; }
@media (prefers-reduced-motion: reduce) { .dc-bar i { transition: none; } }
.dc-letters { font-weight: 700; letter-spacing: .08em; color: var(--ink); } .ps-letters { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--line); }
.ps-letters b { font-size: 22px; letter-spacing: .12em; } .ps-letters b i { font-style: normal; color: var(--ink-2); }
.dc-rels { display: flex; flex-direction: column; gap: 8px; } .dc-rel-b { padding: 0 16px 12px; display: flex; flex-direction: column; gap: 8px; } .dc-rel-b textarea { width: 100%; resize: vertical; }

/* 시장 살피기 — 셈(docs/CAREER-AGENT-v1.md R4) */
.mk-two { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 24px; align-items: start; } @media (max-width: 900px) { .mk-two { grid-template-columns: minmax(0, 1fr); } }
.mk-bars { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(72px, max-content) minmax(0, 1fr) max-content max-content; gap: 8px 12px; align-items: center; } .mk-bars li { display: contents; }
.mk-bars li.gap .dc-bar i { background: var(--warn); } .mk-t { font-weight: 600; }
.mk-side { display: flex; flex-direction: column; gap: 16px; } .mk-side h3 { margin: 0 0 8px; font-weight: 600; }
.mk-gaps { list-style: none; margin: 0; padding: 0; } .mk-gaps a { display: flex; align-items: baseline; gap: 12px; padding: 12px 0; min-height: 44px; color: var(--ink); border-top: 1px solid var(--line); } .mk-gaps li:first-child a { border-top: 0; } .mk-gaps a:hover { text-decoration: none; } .mk-gaps a span.small { flex: 1; }
.mk-moves { display: flex; flex-wrap: wrap; gap: 8px; } .mk-move { display: inline-flex; align-items: baseline; gap: 4px; padding: 4px 12px; border-radius: 999px; background: var(--surface-2); font-size: 13px; } .mk-move.up b { color: var(--proof-ink); } .mk-move.down b { color: var(--warn-ink); }
.mk-bars .pill.on { background: var(--proof-soft); color: var(--proof-ink); font-weight: 600; } .mk-bars li.gap .pill { background: var(--warn-soft); color: var(--warn-ink); }
.mk-brief { border-top: 1px solid var(--line); padding-top: 16px; display: flex; flex-direction: column; gap: 12px; } .mk-brief h3 { margin: 0; font-size: 15px; } .mk-brief .row { gap: 12px; align-items: baseline; } .mk-brief h4 { margin: 0 0 4px; font-weight: 600; }
.mk-brief-g { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 24px; } @media (max-width: 900px) { .mk-brief-g { grid-template-columns: minmax(0, 1fr); } }
.mk-list { margin: 0 0 12px; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; } .mk-list a { white-space: nowrap; }
/* 내 저장소로 배우기(docs/OWN-CODE-v1.md) — 후보 줄 · 코드 원문 · 인용 */
.oc-cand { align-items: flex-start; } .oc-cand-b { display: flex; flex-direction: column; gap: 4px; min-width: 0; } .oc-cand-b .num { overflow-wrap: anywhere; }
.oc-code { margin: 0; padding: 12px 12px; border-radius: var(--r-md); background: var(--surface-2); font: 12.5px/1.6 ui-monospace, SFMono-Regular, Menlo, monospace; white-space: pre; overflow: auto; max-height: 60vh; }
.oc-refs { display: flex; flex-direction: column; gap: 8px; } .oc-refs blockquote { margin: 0; padding: 4px 12px; border-left: 3px solid var(--line); color: var(--ink-2); }
/* 내 저장소 코스 — AI 사용 습관(docs/OWN-CODE-v1.md 13절): 주마다 쌓은 막대 · 범례 · 예시 */
.oc-habit { gap: 12px; } .oc-habit > summary { cursor: pointer; gap: 8px; list-style: none; } .oc-habit > summary::-webkit-details-marker { display: none; }
.oc-hweeks { display: flex; flex-direction: column; gap: 8px; } .oc-hrow { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 4px 12px; align-items: center; }
.oc-hrow > .small:last-child { grid-column: 2; }
.oc-hbar { display: flex; height: 12px; min-width: 8px; border-radius: 4px; overflow: hidden; background: var(--surface-2); }
.oc-hbar i, .oc-hlegend i { display: block; } .oc-hlegend i { width: 12px; height: 12px; border-radius: 4px; display: inline-block; margin-right: 4px; vertical-align: -2px; }
.oc-h-delegate { background: var(--warn); } .oc-h-follow { background: var(--accent); } .oc-h-concept { background: var(--proof); } .oc-h-other { background: var(--line); }
.oc-hex { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; } .oc-hex ul { margin: 4px 0 0; padding-left: 16px; color: var(--ink-2); } .oc-hex li { overflow-wrap: anywhere; }
.wk-habit { gap: 12px; } .wk-hrow { display: grid; grid-template-columns: minmax(96px, 160px) minmax(0, 1fr); gap: 4px 16px; align-items: baseline; padding-top: 8px; border-top: 1px solid var(--line); }
.wk-hrow > .muted:last-child { grid-column: 2; } @media (max-width: 600px) { .wk-hrow { grid-template-columns: minmax(0, 1fr); } .wk-hrow > .muted:last-child { grid-column: 1; } }
.wk-picks { gap: 12px; } .wk-pick { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 16px; align-items: start; padding-top: 12px; border-top: 1px solid var(--line); }
.wk-pick-t { display: flex; flex-direction: column; gap: 4px; min-width: 0; } .wk-pick-t b { overflow-wrap: anywhere; } .wk-pick-a { display: flex; align-items: center; gap: 12px; }
@media (max-width: 600px) { .wk-pick { grid-template-columns: minmax(0, 1fr); } }   /* 금요일 추천(docs/AUTO-DECIDE-v1.md) — 휴대폰은 단추를 아래로 */
