/* Weekly growth report */
.report { display: flex; flex-direction: column; gap: 0; padding: 0; position: relative; overflow: hidden; scroll-margin-top: 72px; }
.report > * { padding: 18px 20px; }
.report > * + * { border-top: 1px solid var(--line); }
.report-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 10px 16px; }
.report-head-copy { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.report-head h2 { font-size: clamp(1.5rem, 5vw, 1.9rem); font-weight: 850; font-stretch: 84%; }
.report-head h2:focus { outline: none; }
.report-note { font-size: 0.84rem; }

.report-hero { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 28px; }
.report-panel { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.report-panel + .report-panel { border-left: 1px solid var(--line); padding-left: 28px; }
.report-big { font-family: var(--font-display); font-weight: 750; font-size: 1.2rem; line-height: 1.2; }
.report-gain-value { color: var(--ink); }

.report-pace-rows { display: grid; gap: 10px; }
.report-pace-row { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 10px; font-size: 0.85rem; }
.report-pace-row > span { color: var(--muted); font-weight: 600; }
.report-pace-row b { font-size: 0.95rem; font-weight: 800; min-width: 7ch; text-align: right; }
.report-pace-row .bar { height: 10px; }
.report-pace-row .bar > i { background: var(--ring-create); }
.report-pace-row.need .bar > i { background: var(--muted); opacity: 0.5; }

.report-delta { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 0 4px; font-size: 0.8rem; font-weight: 600; color: var(--muted); }
.report-delta b { display: inline-flex; align-items: center; gap: 3px; font-weight: 750; white-space: nowrap; }
.report-delta > span { white-space: nowrap; }
.report-delta.up > span, .report-delta.down > span { color: var(--muted); font-weight: 500; }
.report-delta svg { width: 10px; height: 10px; fill: currentColor; flex: none; }
.report-delta.up { color: var(--good); }
.report-delta.down { color: var(--bad); }

.report-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px 28px; align-items: start; }
.report .report-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
.report-stats .stat { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.report .report-stats .v { font-size: 1.7rem; line-height: 1.1; }
.report-stats .v small { font-size: 0.55em; color: var(--muted); font-weight: 650; font-stretch: 100%; }

.report-figure { margin: 0; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.report-chart { width: 100%; max-width: 420px; display: flex; flex-direction: column; gap: 6px; }
.report-chart svg { width: 100%; height: auto; display: block; }
.report-chart-row { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); text-align: center; font-family: var(--font-display); font-variant-numeric: tabular-nums; font-size: 0.72rem; font-weight: 600; color: var(--muted); }
.report-values { color: var(--ink); font-weight: 800; }
.report-days .today { color: var(--ink); font-weight: 800; }
.report-chart .report-track { fill: var(--track); }
.report-chart .report-bar { fill: var(--ink); }
.report-chart .report-bar.full { fill: var(--ring-create); }
.report-chart .report-base { stroke: transparent; }

.report-videos { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 16px 28px; }
.report-best { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.report-best-title { font-weight: 650; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.report-best-title a { color: var(--ink); text-decoration: none; }
.report-best-title a:hover { text-decoration: underline; }
.report-best-views { font-weight: 800; color: var(--post-ink); }
.report-videos .stat { display: flex; flex-direction: column; gap: 2px; min-width: 0; }

.report-next { display: flex; flex-direction: column; gap: 10px; }
.report-next ol { margin: 0; padding: 0; list-style: none; counter-reset: report-tip; display: grid; gap: 10px; }
.report-next li { counter-increment: report-tip; display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 10px; align-items: start; font-size: 0.94rem; }
.report-next li::before { content: counter(report-tip); width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--bg); font-family: var(--font-display); font-size: 0.78rem; font-weight: 800; }

.report-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.report-copy-text { position: absolute; left: 0; bottom: 0; width: 1px; height: 1px; padding: 0; border: 0; opacity: 0; pointer-events: none; resize: none; }
.report > .report-copy-text { padding: 0; border: 0; }

/* Locked: a blurred sample report behind the unlock card */
.report-locked { display: grid; isolation: isolate; }
.report-locked > * { grid-area: 1 / 1; min-width: 0; }
.report-preview { max-height: 520px; overflow: hidden; filter: blur(6px); opacity: 0.7; pointer-events: none; user-select: none; -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent); mask-image: linear-gradient(to bottom, #000 55%, transparent); }
.report-lock { align-self: center; justify-self: center; width: min(100% - 24px, 560px); margin-block: 24px; z-index: 1; }
.report-lock .locked-panel { box-shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.45); }

/* Monday banner on Today */
.banner.report-banner { padding: 12px 12px 12px 14px; }
.banner.report-banner p { font-size: 0.9rem; }
.report-banner strong { display: block; font-weight: 700; color: var(--ink); }
.report-banner-icon { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: var(--ring-create); flex: none; }
.report-banner-icon svg { width: 18px; height: 18px; fill: none; stroke: #FFFFFF; stroke-width: 2.2; stroke-linecap: round; }

@media (max-width: 760px) {
	.report-body, .report-videos { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
	.report > * { padding: 16px; }
	.report-hero { grid-template-columns: minmax(0, 1fr); }
	.report-panel + .report-panel { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 16px; }
	.banner.report-banner p { flex-basis: calc(100% - 50px); }
	.report-banner .btn { width: 100%; }
}
@media (max-width: 360px) {
	.report .report-stats .v { font-size: 1.35rem; }
}
