/* big chart */
.chart-card { padding: 18px 0 8px; }
.chart-card .ch-head { padding: 0 20px 6px 20px; }
.chart { width: 100%; height: 260px; display: block; overflow: visible; }
.chart text { font: 500 11px var(--sans); fill: var(--faint); }
.chart .grid-l { stroke: var(--line); }
.chart .band { fill: var(--ok); opacity: .09; }
.chart .band-l { stroke: var(--ok); stroke-dasharray: 3 4; opacity: .5; }
.chart .line { fill: none; stroke: var(--c, var(--brand)); stroke-width: 2.6; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.3s var(--ease) .1s forwards; }
.chart .area { opacity: 0; animation: fadein .9s ease .5s forwards; }
.chart .pt { fill: var(--surface); stroke-width: 2.4; opacity: 0; animation: fadein .4s ease forwards; }
.chart .pt.sel { r: 6; }
.chart .hit { fill: transparent; cursor: pointer; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadein { to { opacity: 1; } }
.tip { position: absolute; pointer-events: none; background: var(--ink); color: var(--bg); border-radius: 10px; padding: 7px 10px; font: 600 12.5px var(--display); white-space: nowrap; transform: translate(-50%, -120%); transition: opacity .15s; box-shadow: 0 8px 20px rgba(0,0,0,.18); }
.tip small { display: block; opacity: .65; font-weight: 500; }

.stat-strip { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat-strip > div { padding: 16px 20px; }
.stat-strip > div + div { border-left: 1px solid var(--line); }
.stat-strip b { display: block; font: 700 22px/1.1 var(--display); letter-spacing: -.03em; margin-top: 6px; font-variant-numeric: tabular-nums; }
.stat-strip b small { font: 500 12px var(--sans); color: var(--muted); margin-left: 3px; letter-spacing: 0; }

.hero-val { display: flex; align-items: baseline; gap: 8px; }
.hero-val b { font: 800 56px/1 var(--display); letter-spacing: -.05em; color: var(--c); font-variant-numeric: tabular-nums; }
.hero-val span { font: 600 16px var(--display); color: var(--muted); }

.hist { display: flex; flex-direction: column; }
.hist .h { display: grid; grid-template-columns: 1fr auto auto; gap: 14px; align-items: center; padding: 13px 20px; }
.hist .h + .h { border-top: 1px solid var(--line); }
.hist .h b { font: 700 15px var(--display); font-variant-numeric: tabular-nums; }

/* plan */
.plan-item { display: flex; gap: 14px; padding: 16px 20px; align-items: flex-start; position: relative; }
.plan-item + .plan-item::before { content: ''; position: absolute; left: 56px; right: 20px; top: 0; height: 1px; background: var(--line); }
.check { width: 24px; height: 24px; border-radius: 50%; border: 0; box-shadow: inset 0 0 0 2px var(--line-2); background: none; flex: none; display: grid; place-items: center; margin-top: 1px; transition: .2s var(--ease); padding: 0; }
.check svg { width: 14px; height: 14px; color: #fff; opacity: 0; transform: scale(.5); transition: .25s var(--ease); }
.check.on { background: var(--ok); box-shadow: none; }
.check.on svg { opacity: 1; transform: none; }
.plan-item .t { font: 600 15px/1.3 var(--display); letter-spacing: -.01em; }
.plan-item.done .t { color: var(--faint); text-decoration: line-through; }
.plan-item .why { color: var(--ink-2); font-size: 13.5px; margin-top: 4px; line-height: 1.45; }
.plan-item .prep { margin-top: 8px; font-size: 12.5px; color: var(--muted); background: var(--surface-2); border-radius: 10px; padding: 8px 11px; line-height: 1.45; }
.plan-item .meta { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
.progress { height: 8px; border-radius: 8px; background: var(--track); overflow: hidden; }
.progress i { display: block; height: 100%; border-radius: 8px; background: var(--ok); transition: width 1s var(--ease); }

/* upload */
.drop { display: block; border-radius: var(--r); background: var(--surface); box-shadow: var(--shadow); padding: 38px 20px; text-align: center; cursor: pointer; transition: .2s var(--ease); outline: 2px dashed var(--line-2); outline-offset: -10px; }
.drop:hover, .drop.over { outline-color: var(--brand); background: var(--brand-wash); }
.drop .ic { width: 56px; height: 56px; border-radius: 18px; margin: 0 auto 14px; background: var(--ink); color: var(--bg); display: grid; place-items: center; }
.drop .ic svg { width: 24px; height: 24px; }
.drop h3 { font: 700 18px var(--display); margin-bottom: 4px; }
.thumbs { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; justify-content: center; }
.thumbs div { width: 56px; height: 74px; border-radius: 10px; background: var(--surface-2) center/cover; box-shadow: 0 0 0 1px var(--line); font: 700 10px var(--display); display: grid; place-items: center; color: var(--muted); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.steps div { padding: 16px; }
.steps b { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--surface-2); font: 700 13px var(--display); margin-bottom: 10px; }
.urow { display: flex; align-items: center; gap: 14px; padding: 15px 20px; position: relative; }
.urow + .urow::before { content: ''; position: absolute; left: 20px; right: 20px; top: 0; height: 1px; background: var(--line); }
.urow .ic { width: 40px; height: 40px; border-radius: 12px; background: var(--surface-2); display: grid; place-items: center; flex: none; color: var(--muted); }
.urow .ic svg { width: 19px; height: 19px; }
.review { display: grid; grid-template-columns: 300px 1fr; gap: 14px; align-items: start; }
.review .pages { position: sticky; top: 20px; max-height: calc(100vh - 40px); overflow: auto; display: flex; flex-direction: column; gap: 10px; }
.review .pages img { width: 100%; border-radius: 12px; box-shadow: var(--shadow); cursor: zoom-in; display: block; }
.rv { display: grid; grid-template-columns: minmax(0, 1fr) 104px 112px 36px; gap: 8px; align-items: center; padding: 9px 20px; }
.rv + .rv { border-top: 1px solid var(--line); }
.rv .inp { height: 38px; border-radius: 10px; font-size: 14px; padding: 0 10px; }
.rv .nm { font: 600 13.5px/1.3 var(--display); }
.rv .nm small { display: block; font: 500 11.5px var(--sans); color: var(--muted); margin-top: 2px; }
.banner { display: flex; align-items: center; gap: 14px; padding: 16px 20px; border-radius: var(--r); background: var(--ink); color: var(--bg); margin-bottom: 14px; }
.banner .muted { color: color-mix(in srgb, var(--bg) 65%, transparent); }
.banner .spin { border-color: rgba(255,255,255,.2); border-top-color: var(--bg); }
