/* 채틀라이저. 사이트 모양(home.css)을 그대로 쓰고 여기는 이 페이지에만 있는 것 */
.hint { margin: 14px 0 0; color: var(--faint); font-size: 13.5px; }
.step { position: relative; padding: 28px 0; display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 24px; }
.step + .step::before { content: ""; position: absolute; inset: 0 0 auto; height: 1px; background: var(--fade-line); }
.step .no { color: var(--faint); font-size: 13.5px; padding-top: 4px; }
.step h2 { margin: 0; font-size: 20px; font-weight: 600; letter-spacing: -.4px; }
.step p { margin: 6px 0 0; color: var(--muted); font-size: 15px; line-height: 1.6; }
.step p:empty { display: none; }
.step .bigtabs { margin: 12px 0 0; font-size: 17px; }
.dim { opacity: .4; pointer-events: none; }
.file { display: flex; align-items: center; gap: 14px; margin-top: 12px; padding: 14px 16px; border-radius: 12px; background: var(--surface); }
.file > div { min-width: 0; }
.file b { font-size: 15px; overflow-wrap: anywhere; }
.file span { display: block; color: var(--faint); font-size: 13px; margin-top: 2px; }
.file .btn { margin-left: auto; flex: none; height: 38px; padding: 0 14px; font-size: 14px; border-radius: 8px; white-space: nowrap; }
.err { color: #b42318 !important; }
.dates { display: flex; gap: 8px; align-items: center; margin-top: 12px; color: var(--muted); }
.dates input { font: inherit; padding: 6px 8px; border: 1px solid var(--line); border-radius: 8px; background: var(--card); color: var(--ink); }
.chk { display: flex; align-items: center; gap: 10px; margin-top: 12px; font-size: 15px; cursor: pointer; }
.chk input { width: 18px; height: 18px; accent-color: var(--accent); }
.people { display: flex; flex-wrap: wrap; gap: 4px 20px; margin-top: 8px; }
.people .chk { margin-top: 6px; }
.people em { font-style: normal; color: var(--faint); font-size: 13px; }
.go { padding: 12px 0 56px; }
.go .btn { height: 48px; padding: 0 28px; font-size: 16px; }
.btn { cursor: pointer; font-family: inherit; }
.rhead .btns { margin-top: 16px; }
.rhead .btn { height: 36px; padding: 0 14px; font-size: 14px; border-radius: 8px; }
.pane { display: none; padding-bottom: 56px; }
.pane.on { display: block; }
.label { margin: 40px 0 0; color: var(--faint); font-size: 13.5px; }
/* 요약 줄: 작품 목록(.art) 모양, 오른쪽 그림 자리에 작은 그래프 */
.art .artsum { white-space: normal; overflow: visible; }
.viz { flex: none; width: 230px; height: 130px; border-radius: 12px; padding: 16px; display: flex; align-items: flex-end; gap: 6px; }
.viz i { flex: 1; min-height: 2px; border-radius: 3px 3px 0 0; background: currentColor; opacity: .35; }
.viz i.on { opacity: 1; }
.viz.rows { flex-direction: column; align-items: stretch; justify-content: center; gap: 8px; }
.viz.rows div { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; }
.viz.rows span { width: 34px; flex: none; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.viz.rows b { height: 8px; min-width: 3px; border-radius: 4px; background: currentColor; opacity: .35; }
.viz.rows b.on { opacity: 1; }
.c1 { background: #e8eefc; color: #2563eb; } .c2 { background: #f3ead7; color: #a3741c; }
.c3 { background: #f0e2e2; color: #a54747; } .c4 { background: #e3ece5; color: #4c7a5b; }
/* 표 */
.tblwrap { overflow-x: auto; }
.tbl { width: 100%; border-collapse: collapse; font-size: 15px; margin-top: 12px; }
.tbl th, .tbl td { padding: 12px 8px; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; }
.tbl th { color: var(--muted); font-weight: 500; font-size: 13px; }
.tbl td:first-child { font-weight: 600; }
.pairs { list-style: none; padding: 0; margin: 12px 0 0; }
.pairs li { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.pairs li b { margin-left: auto; color: var(--muted); font-weight: 500; }
/* 시간대 */
.chart { display: flex; align-items: flex-end; gap: 4px; height: 160px; margin-top: 16px; border-bottom: 1px solid var(--line); }
.chart i { flex: 1; min-height: 2px; background: #c7d7fb; border-radius: 4px 4px 0 0; }
.chart i.on { background: var(--accent); }
.axis { display: flex; justify-content: space-between; font-size: 11px; color: var(--faint); margin-top: 4px; }
.chart.week i { background: #b9d3c1; } .chart.week i.on { background: #4c7a5b; }
.axis.week { justify-content: space-around; }
/* 클로드쨩: 카톡 말풍선 */
.chat { margin: 24px 0 0; padding: 28px 0 32px; }
.msg { display: flex; gap: 10px; align-items: flex-start; max-width: 600px; }
.msg img { width: 40px; height: 40px; border-radius: 14px; background: #fff; padding: 3px; flex: none; }
.msg > div { min-width: 0; }
.msg .name { font-size: 13px; color: var(--muted); margin: 0 0 6px; }
.bub { background: #fff; color: #111827; border-radius: 4px 16px 16px 16px; padding: 10px 14px; font-size: 15px; line-height: 1.6; margin: 0 0 6px; width: fit-content; max-width: 100%; overflow-wrap: anywhere; }
.bub.head { font-weight: 700; }
.bub.wait { color: #4b5563; }
.time { font-size: 11px; color: var(--faint); margin: 2px 0 0; }
.who { list-style: none; padding: 0; margin: 12px 0 0; }
.who li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.who li b { font-size: 16px; }
.who li em { font-style: normal; margin-left: 8px; color: var(--accent-ink); font-size: 14px; font-weight: 600; }
.who li p { margin: 4px 0 0; color: var(--muted); font-size: 15px; line-height: 1.6; }
.after { padding: 20px 0 0; display: flex; gap: 8px 16px; flex-wrap: wrap; align-items: center; }
.after .bigtabs { margin: 0; font-size: 16px; }
.after .btn { height: 38px; padding: 0 14px; font-size: 14px; border-radius: 8px; }
.dots::after { content: ""; animation: dots 1.4s steps(4) infinite; }
@keyframes dots { 0% { content: ""; } 25% { content: "."; } 50% { content: ".."; } 75% { content: "..."; } }
/* 리포트: 긴 글(참고: whatbrandonthinks). PART 머리는 가운데 아이콘 · 번호 · 제목 · ◆, 실제 대사는 카톡 말풍선 */
.rep { max-width: 720px; margin: 0 auto; padding-top: 28px; }
.rnote { margin: 0 0 16px; padding: 10px 14px; border-radius: 10px; background: var(--accent-soft); color: var(--accent-ink); font-size: 14px; }
.rhd { position: relative; }
.rt { margin: 0; font-size: 34px; line-height: 1.3; font-weight: 800; letter-spacing: -.8px; word-break: keep-all; }
.who1 { display: flex; align-items: center; gap: 12px; margin: 20px 0 0; padding: 12px 16px; border: 1px solid var(--line); border-radius: 14px; }
.who1 img { width: 44px; height: 44px; border-radius: 50%; background: var(--surface); padding: 3px; flex: none; }
.who1 b { display: block; font-size: 15px; }
.who1 span { display: block; color: var(--muted); font-size: 13.5px; margin-top: 2px; }
.rmeta { margin: 14px 0 0; color: var(--faint); font-size: 13.5px; }
.toc { margin-top: 40px; }
.toc .label { margin: 24px 0 4px; text-align: center; font-weight: 600; color: var(--ink); font-size: 15px; }
.toc ol, .toc ul { list-style: none; padding: 0; margin: 0; }
.toc li { border-top: 1px solid var(--line); text-align: center; }
.toc li:last-child { border-bottom: 1px solid var(--line); }
.toc a { display: block; padding: 12px 8px; color: var(--ink); font-size: 15.5px; }
.toc a:hover { color: var(--accent-ink); }
.part { position: relative; margin-top: 64px; }
.ph { position: relative; text-align: center; margin-bottom: 20px; }
.pi { display: inline-flex; align-items: center; justify-content: center; min-width: 56px; height: 56px; padding: 0 12px; border-radius: 28px; border: 1px solid var(--line); background: var(--card); font-size: 26px; box-shadow: 0 2px 8px rgba(0, 0, 0, .06); }
.pk { margin: 10px 0 0; color: var(--faint); font-size: 12px; font-weight: 700; letter-spacing: .08em; }
.ph h3 { margin: 8px 0 0; font-size: 25px; line-height: 1.4; font-weight: 700; letter-spacing: -.5px; word-break: keep-all; }
.pd { display: block; margin-top: 10px; font-style: normal; font-size: 10px; color: var(--ink); }
.pd::before, .pd::after { content: ""; display: inline-block; width: 28px; height: 1px; margin: 0 8px; vertical-align: middle; background: var(--muted); }
.rp { margin: 16px 0 0; font-size: 16.5px; line-height: 1.85; color: var(--ink); word-break: keep-all; overflow-wrap: anywhere; }
.rp b { font-weight: 700; }
.rp.pending { color: var(--faint); text-align: center; }
.qs { margin: 14px 0 6px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.q { position: relative; margin: 0; max-width: 88%; background: #dcf8d2; color: #111827; border-radius: 4px 16px 16px 16px; padding: 9px 14px; font-size: 15.5px; line-height: 1.55; overflow-wrap: anywhere; }
.q span { display: block; font-size: 12px; color: #3f6b35; margin-bottom: 2px; font-weight: 600; }
.awards { list-style: none; padding: 0; margin: 0; counter-reset: a; }
.awards li { position: relative; padding: 20px 0; border-top: 1px solid var(--line); }
.an { margin: 0; font-size: 17px; font-weight: 700; }
.an::before { counter-increment: a; content: "🏅 " counter(a) ". "; }
.aw { margin: 4px 0 0; color: var(--accent-ink); font-weight: 600; font-size: 15px; }
.awards .rp { margin-top: 6px; }
.mems details { position: relative; border-top: 1px solid var(--line); }
.mems details:last-child { border-bottom: 1px solid var(--line); }
.mems summary { cursor: pointer; padding: 14px 4px; text-align: center; font-size: 16.5px; font-weight: 600; list-style: none; }
.mems summary::-webkit-details-marker { display: none; }
.mems details[open] { padding-bottom: 20px; }
.mems details[open] summary { font-size: 19px; font-weight: 700; }
.save { display: block; margin: 0 0 10px auto; height: 30px; padding: 0 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--card); color: var(--muted); font: 500 12.5px/1 var(--font); cursor: pointer; }
.save:hover { color: var(--ink); border-color: var(--faint); }
.save:disabled { opacity: .5; cursor: wait; }
.btn.save { display: inline-flex; margin: 0; height: 38px; padding: 0 14px; font-size: 14px; border-radius: 8px; color: var(--ink); }
/* 비밀번호 · 지난 리포트 · 리포트 위 버튼 */
.gate { display: flex; gap: 8px; margin-top: 20px; }
.gate input { width: 160px; height: 42px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; font: inherit; font-size: 16px; background: var(--card); color: var(--ink); }
.hist { padding: 8px 0 12px; }
.hist .err:empty { display: none; }
.hist ul { list-style: none; padding: 0; margin: 8px 0 0; }
.hist li { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; padding: 14px 0; }
.hist li + li::before { content: ""; position: absolute; inset: 0 0 auto; height: 1px; background: var(--fade-line); }
.hopen { flex: 1 1 260px; min-width: 0; padding: 0; border: 0; background: none; text-align: left; cursor: pointer; font: inherit; color: var(--ink); }
.hopen b { display: block; font-size: 16px; }
.hopen span { display: block; margin-top: 2px; color: var(--muted); font-size: 14px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.hopen:hover b { color: var(--accent-ink); }
.hist em { font-style: normal; color: var(--faint); font-size: 13px; }
.hacts { display: flex; gap: 6px; margin-left: auto; }
.hacts { flex-wrap: wrap; }
.hacts .save, .save.inl { margin: 0; }
.save.inl { display: inline-block; margin-left: 8px; vertical-align: middle; }
.rbar { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; }
.rbar .btn, .after [data-act] { height: 38px; padding: 0 14px; font-size: 14px; border-radius: 8px; }
/* 진행 막대 */
.prog { margin: 24px 0 0; }
.rep .prog { margin: 0 0 24px; }
.pbar { height: 8px; border-radius: 4px; background: var(--surface); overflow: hidden; }
.pbar i { display: block; height: 100%; border-radius: 4px; background: var(--accent); transition: width .8s ease; }
.prog p { margin: 8px 0 0; color: var(--muted); font-size: 14px; }
.prog b { color: var(--ink); }
/* 저장용 카드(화면 밖에서 그려 찍음) */
.shotbox { position: absolute; left: -10000px; top: 0; width: 680px; padding: 28px 32px 36px; background: #fff; color: #111827; }
.shotbox .sb-top { display: flex; align-items: center; gap: 8px; margin: 0 0 18px; color: #8b929c; font-size: 13px; }
.shotbox .sb-top img { width: 22px; height: 22px; }
.shotbox .part { margin-top: 0; }
.shotbox .pane { display: block; padding-bottom: 0; }
.shotbox .after { display: none; }
@media (max-width: 760px) {
  .rt { font-size: 26px; }
  .ph h3 { font-size: 21px; }
  .rp { font-size: 16px; line-height: 1.8; }
  .part { margin-top: 52px; }
  .save { height: 28px; padding: 0 8px; font-size: 12px; }
  .step { grid-template-columns: minmax(0, 1fr); gap: 6px; padding: 22px 0; }
  .viz { width: 110px; height: 84px; padding: 10px; gap: 4px; }
  .viz.rows span { display: none; }
  .viz.rows { gap: 6px; }
  .tbl { font-size: 14px; }
  .tbl th, .tbl td { padding: 10px 6px; }
  .chart { height: 120px; gap: 2px; }
}

/* 어두운 화면(2026-11-15, 사이트 전체가 어둡게): 어두운 바탕에서 안 보이는 것만 고침. 말풍선 · 색 딱지는 제 바탕 · 글자색을 같이 가져서 그대로 */
:root[data-theme="dark"] .err { color: #f87171 !important; }
:root[data-theme="dark"] .chart i { background: #3b5ea8; }
:root[data-theme="dark"] .chart.week i { background: #2f4a39; }
:root[data-theme="dark"] .chart.week i.on { background: #6fae84; }
/* 캡처용 상자는 흰 종이 그림으로 내보내는 것이라 어두운 화면에서도 밝은 값으로 그림 */
.shotbox { --bg: #fff; --surface: #f6f8fa; --card: #fff; --ink: #111827; --muted: #4b5563; --faint: #6b7280; --line: #e5e7eb; --line2: #d1d5db; --accent: #2563eb; --accent-ink: #1d4ed8; --accent-soft: #eff6ff; color-scheme: light; }
