/* 암뮤니티 톤앤매너 — 파랑 + 순백 + 둥근 카드.
   외부 폰트를 부르지 않는다: CDN 을 쓰면 "누가 언제 이 화면을 봤는지"가
   남의 서버 기록에 남는다. */
:root { --blue:#1B64DA; --ink:#1a1d22; --muted:#6b7280; --line:#e5e7eb; --bg:#f5f7fa; }
* { box-sizing:border-box; }
body { margin:0; background:var(--bg); color:var(--ink); font-size:16px; line-height:1.6;
  font-family:-apple-system,BlinkMacSystemFont,"Apple SD Gothic Neo","Malgun Gothic",sans-serif; }
.wrap { min-height:100vh; display:flex; align-items:center; justify-content:center; padding:24px; }
.card { background:#fff; border-radius:20px; padding:36px 32px; width:100%; max-width:400px;
  box-shadow:0 1px 3px rgba(16,24,40,.06), 0 12px 32px rgba(16,24,40,.08); }
h1 { margin:0 0 4px; font-size:22px; letter-spacing:-.02em; }
.sub { margin:0 0 28px; color:var(--muted); font-size:14px; }
label { display:block; font-size:14px; font-weight:600; margin-bottom:6px; }
input { width:100%; padding:12px 14px; font-size:16px; border:1px solid var(--line);
  border-radius:12px; background:#fff; color:var(--ink); font-family:inherit; }
input:focus { outline:none; border-color:var(--blue); box-shadow:0 0 0 3px rgba(27,100,218,.12); }
.field { margin-bottom:16px; }
button { width:100%; padding:13px; font-size:16px; font-weight:600; color:#fff;
  background:var(--blue); border:0; border-radius:12px; cursor:pointer; font-family:inherit; }
button:hover { background:#1655bd; }
button[disabled] { opacity:.55; cursor:default; }
.alert { background:#fef2f2; color:#b42318; border-radius:12px; padding:12px 14px;
  font-size:14px; margin:0 0 20px; }
.code { letter-spacing:.4em; text-align:center; font-size:22px; font-variant-numeric:tabular-nums; }
.foot { margin-top:22px; font-size:13px; color:var(--muted); text-align:center; }
.hint { font-size:14px; color:var(--muted); }
.checkline { font-weight:400; color:var(--muted); display:flex; align-items:center; gap:8px; }
.checkline input { width:auto; }
#logout { margin-top:24px; background:#fff; color:var(--blue); border:1px solid var(--line); }
#logout:hover { background:#f8fafc; }
[hidden] { display:none !important; }

/* --- 로그인 뒤 화면 ------------------------------------------------------ */
.page { max-width:720px; margin:0 auto; padding:24px 20px 64px; }
.topbar { display:flex; align-items:flex-start; justify-content:space-between; gap:16px;
  margin-bottom:24px; }
.pagetitle { margin:0; font-size:26px; letter-spacing:-.02em; }
.topbar .sub { margin:2px 0 0; }
button.small { width:auto; padding:9px 16px; font-size:14px; }
.searchbar { display:flex; gap:8px; margin-bottom:20px; }
.searchbar input { flex:1; }
.memberlist { list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:10px; }
.member { background:#fff; border-radius:16px; padding:16px 18px;
  box-shadow:0 1px 2px rgba(16,24,40,.05), 0 6px 18px rgba(16,24,40,.05); }
.member-top { display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
.member-name { font-weight:700; font-size:17px; }
.member-contact { margin-top:6px; color:var(--muted); font-size:14px;
  font-variant-numeric:tabular-nums; display:flex; gap:14px; flex-wrap:wrap; }
.chip { font-size:12px; font-weight:600; padding:3px 10px; border-radius:999px; white-space:nowrap; }
.chip-동의 { background:#e8f0fe; color:var(--blue); }
.chip-미동의 { background:#fef2f2; color:#b42318; }
.chip-문항없음 { background:#f1f3f5; color:var(--muted); }
.chip-판정불가 { background:#fff7e6; color:#b54708; }
.chip-count { background:#f1f3f5; color:var(--ink); margin-left:auto; }
#more { margin-top:20px; }

/* --- 회원 상세 ----------------------------------------------------------- */
.card.wide { max-width:none; margin-bottom:16px; padding:24px; }
.sectiontitle { margin:0 0 14px; font-size:15px; font-weight:700; color:var(--muted);
  letter-spacing:.02em; }
.contactbox { display:flex; flex-direction:column; gap:6px; margin-top:14px;
  font-variant-numeric:tabular-nums; }
.contactbox a { color:var(--blue); text-decoration:none; font-size:17px; font-weight:600; }
.contactbox a:hover { text-decoration:underline; }
.stats { display:flex; gap:28px; flex-wrap:wrap; }
.stat-n { font-size:26px; font-weight:700; line-height:1.2; }
.stat-label { font-size:13px; color:var(--muted); }
.cats { display:flex; gap:8px; flex-wrap:wrap; margin-top:18px; }
.cat { background:#e8f0fe; color:var(--blue); border-radius:999px;
  padding:5px 12px; font-size:13px; font-weight:600; }
.evidence, .timeline { list-style:none; margin:0; padding:0;
  display:flex; flex-direction:column; gap:12px; }
.evidence li, .timeline li { border-left:3px solid var(--line); padding-left:14px; }
.evidence li.current { border-left-color:var(--blue); }
.ev-q { font-size:14px; color:var(--muted); }
.ev-a { font-weight:600; margin-top:2px; }
.ev-meta, .tl-meta { font-size:13px; color:var(--muted); margin-top:2px; }
.tl-title { font-weight:600; }
.member { cursor:pointer; }
.member:hover { box-shadow:0 1px 2px rgba(16,24,40,.05), 0 8px 24px rgba(27,100,218,.14); }
.tl-kind { font-size:12px; font-weight:600; padding:2px 8px; border-radius:999px;
  background:#f1f3f5; color:var(--muted); margin-right:8px; }
.tl-kind.activity { background:#e8f0fe; color:var(--blue); }
.sectionhead { display:flex; align-items:center; justify-content:space-between; gap:12px;
  margin-bottom:10px; }
.sectionhead .sectiontitle { margin:0; }
