/* A 카톡 같이 읽기 report on the web, as the app draws it (FileReport.tsx): the other in the brand blue, me in grey. Used by
   the shared-report page (/r, share.html) and a web reading's result (/talk/r, talk-r.html); drawn by report-view.js. */
.chart { margin-top: 12px; border-radius: 20px; background: var(--canvas); padding: 16px; }
.legend { display: flex; gap: 14px; margin-top: 10px; font-size: 13px; font-weight: 600; color: var(--ink2); }
.legend i { display: inline-block; width: 8px; height: 8px; border-radius: 4px; margin-right: 6px; vertical-align: 1px; }
.legend .legend-note { margin-left: auto; font-weight: 400; color: var(--ink3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.them-c { background: var(--primary); } .me-c { background: var(--control); }
.bars { display: flex; align-items: flex-end; gap: 8px; margin-top: 14px; }
.bars.dense { gap: 4px; }
.bar-col { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.bar-pair { width: 100%; display: flex; align-items: flex-end; justify-content: center; gap: 2px; }
.bar-pair i { display: block; width: 42%; border-radius: 5px 5px 2px 2px; }
.bar-col small { font-size: 11px; line-height: 14px; font-weight: 500; color: var(--ink3); white-space: nowrap; }
.bar-col:last-child small { font-weight: 700; color: var(--ink); }
.figs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 22px; }
.fig { border-radius: 16px; background: var(--paper); padding: 12px; display: flex; flex-direction: column; gap: 2px; }
.fig b { font-size: 17px; line-height: 23px; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; } /* a long count is set smaller by SB_TALK.fitFigures */
.figs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fig small { font-size: 12px; line-height: 16px; color: var(--ink3); }
.meters { display: flex; flex-direction: column; gap: 14px; margin-top: 18px; }
.meter { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; align-items: baseline; }
.meter span { font-size: 15px; font-weight: 600; }
.meter b { font-size: 13px; font-weight: 600; color: var(--ink2); font-variant-numeric: tabular-nums; }
.meter .m { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 4px; }
.meter .m i { display: block; height: 8px; border-radius: 4px; }
.meter .m .meter-track { height: 8px; background: var(--line2); border-radius: 4px; overflow: hidden; }
.rows { margin-top: 16px; background: var(--sunk); border-radius: 16px; padding: 4px 16px; }
.rows div { height: auto; justify-content: flex-start; min-height: 44px; padding: 10px 0; display: flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--line2); font-size: 15px; line-height: 22px; }
.rows div:last-child { border-bottom: 0; }
.rows span { flex: 1; color: var(--ink2); }
.rows b { text-align: right; font-weight: 600; }
.text { margin: 14px 0 0; font-size: 16px; line-height: 26px; color: var(--ink2); white-space: pre-line; }
.list { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; counter-reset: n; }
.list li { position: relative; padding-left: 34px; }
.list li::before { counter-increment: n; content: counter(n); position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 11px; background: var(--ink); color: #fff; font-size: 12px; line-height: 22px; text-align: center; font-weight: 700; }
.list b { display: block; font-size: 16px; line-height: 23px; }
.list span { display: block; font-size: 15px; line-height: 23px; color: var(--ink2); }
.bullets { margin: 14px 0 0; padding-left: 18px; display: flex; flex-direction: column; gap: 8px; font-size: 15px; line-height: 23px; color: var(--ink2); }
.timeline { list-style: none; margin: 16px 0 0; padding: 0; }
.timeline li { position: relative; padding: 0 0 18px 26px; }
.timeline li::before { content: ""; position: absolute; left: 1px; top: 7px; width: 10px; height: 10px; border-radius: 5px; background: var(--line); }
.timeline li::after { content: ""; position: absolute; left: 5px; top: 21px; bottom: 2px; width: 2px; background: var(--line2); }
.timeline li:last-child { padding-bottom: 0; }
.timeline li:last-child::before { background: var(--primary); }
.timeline li:last-child::after { display: none; }
.timeline small { display: block; font-size: 13px; font-weight: 600; color: var(--ink3); }
.timeline li:last-child small { color: var(--primary); }
.timeline b { display: block; font-size: 15px; line-height: 22px; }
.bubble-wrap { margin-top: 16px; display: flex; flex-direction: column; gap: 4px; }
.bubble-wrap.me { align-items: flex-end; }
.bubble-wrap small { font-size: 12px; color: var(--ink3); }
.bubble { max-width: 88%; padding: 12px 16px; border-radius: 22px 22px 22px 6px; background: var(--sunk); font-size: 18px; line-height: 26px; font-weight: 600; }
.bubble-wrap.me .bubble { border-radius: 22px 6px 22px 22px; background: var(--ember); color: #fff; }
.notice { margin-top: 18px; border-radius: 16px; background: var(--sunk); padding: 14px 16px; font-size: 14px; line-height: 21px; color: var(--ink2); }
.err { margin: 0; padding: 12px 14px; border-radius: 14px; background: #fff1f0; color: #b42318; font-size: 14px; line-height: 20px; }
.lean-sub { margin: 10px 0 0; font-size: 14px; line-height: 21px; color: var(--ink3); }

/* The report as the app draws it (FileReport.tsx FileFull, founder 10/20 night: "꾸밈이 없는데 … 두 개 싱크 맞추고"):
   white cards on the grey page, each with its coloured icon and name (the app's Section), a marked lead line. */
.rbar { position: sticky; top: 0; z-index: 3; height: 52px; display: grid; place-items: center; background: color-mix(in srgb, var(--paper) 92%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); font-size: 17px; font-weight: 700; letter-spacing: -0.01em; }
.report .rhead { padding-top: 16px; }
.report .rhead .display { margin-bottom: 4px; }
.report .rhead .figs { margin-top: 28px; }
#rBody { background: var(--canvas); padding: 12px 16px 4px; display: flex; flex-direction: column; gap: 12px; }
.rcard { background: var(--paper); border-radius: 20px; padding: 20px 18px; }
.rc-head { display: flex; align-items: center; gap: 10px; }
.rc-head h2 { margin: 0; font-size: 17px; line-height: 24px; font-weight: 700; letter-spacing: -0.01em; }
.rc-lead { margin: 14px 0 0; font-size: 16px; line-height: 24px; font-weight: 600; color: var(--ink); }
.rc-sub { margin: 6px 0 0; font-size: 13px; line-height: 19px; color: var(--ink3); }
.rcard .chart { background: var(--canvas); }
.rcard .rows { background: var(--canvas); }
.rcard .text.strong { color: var(--ink); }
.rcard .note { margin-top: 12px; }
.rc-hours { margin-top: 16px; height: 64px; }
/* The icons and tones (also report-story.js's page kicker). */
.st-ic { flex: none; width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; }
.st-ic svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.st-coach { background: var(--tide-tint); color: var(--primary); } .st-blush { background: var(--blush-tile); color: var(--blush-ink); }
.st-warm { background: var(--warm-tile); color: var(--warm-ink); } .st-calm { background: var(--calm-tile); color: var(--calm-ink); }
.st-sun { background: var(--sun-tile); color: var(--sun-ink); } .st-stone { background: #eceff4; color: #39434f; }
.st-hours { display: flex; align-items: flex-end; gap: 2px; height: 72px; }
.st-hours i { flex: 1; height: 0; border-radius: 3px 3px 1px 1px; background: var(--tide-tint); transition: height 480ms var(--ease); }
.st-hours i.peak { background: var(--primary); }
.st-ticks { display: flex; margin-top: 6px; font-size: 11px; color: var(--ink3); } .st-ticks span { flex: 1; }
/* The AI coach's own line beside its heart (the app's CoachSays). */
.coach-says { display: flex; align-items: flex-start; gap: 10px; padding: 4px 4px 0; }
.coach-says .cs-mark { flex: none; width: 32px; height: 32px; display: grid; place-items: center; margin-top: 2px; }
.coach-says small { display: block; font-size: 12px; line-height: 16px; font-weight: 700; color: var(--primary); }
.coach-says p { margin: 4px 0 0; padding: 12px 16px; border-radius: 4px 18px 18px 18px; background: var(--tide-tint); font-size: 15px; line-height: 23px; color: var(--ink); }
.st-stack .coach-says { padding: 0; }
/* The lines one could send, copied with a tap (the app's Drafts). */
.draft { width: 100%; margin-top: 8px; display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 0; border-radius: 16px; background: var(--warm-soft); font: inherit; font-size: 16px; line-height: 24px; text-align: left; color: var(--ink); cursor: pointer; }
.draft:active { background: var(--warm-tile); }
.draft span { flex: 1; }
.draft i svg { width: 18px; height: 18px; fill: none; stroke: var(--ink2); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; display: block; }
.st-stack.drafts .draft { margin-top: 0; }
.st-stack.drafts .rc-sub { margin: 0; }
/* The checks a report leads on to, as the app's 마음 검사 cards (TestTile, PartnerTile wide). */
.next-checks { display: flex; flex-direction: column; gap: 10px; }
.nc-title { margin: 8px 4px 0; font-size: 13px; line-height: 18px; font-weight: 700; color: var(--ink3); }
.tcard { position: relative; min-height: 132px; border-radius: 24px; overflow: hidden; padding: 18px 124px 18px 18px; display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: var(--ink); }
.tcard[data-hue="stone"] { background: #eceff4; }
.tcard:active { opacity: 0.85; }
.tc-pill { align-self: flex-start; height: 24px; padding: 0 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.7); display: grid; place-items: center; font-size: 12px; font-weight: 700; color: var(--ink2); }
.tcard b { margin-top: 4px; font-size: 19px; line-height: 26px; font-weight: 700; letter-spacing: -0.01em; color: var(--ink); }
.tcard small { font-size: 13px; line-height: 19px; color: var(--ink2); }
.tc-face { position: absolute; right: 6px; bottom: -18px; width: 104px; height: 104px; pointer-events: none; }
.report .rhead .fig { background: var(--sunk); }
