/* ===== Feature visuals (.fv) =====
   Small mock UIs of signed-in features (progress tracking, a Circle, the
   Action Plan), drawn in HTML and SVG so they stay sharp and follow the
   theme. Used by the home page showcase and the /dashboard/ sign-in view.
   Sample numbers only. Bump ?v= in both links when this file changes. */

.fv { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--card-shadow); padding: 22px; color: var(--ink); font-size: 13px; }
.fv-kicker { font-size: 11px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; color: var(--ink-subtle); }
.fv-meta { font-size: 12px; color: var(--ink-subtle); }
.fv-head { display: flex; align-items: center; gap: 18px; }
.fv-ring-num { font-family: var(--serif); font-size: 30px; font-weight: 600; fill: var(--ink); }
.fv-big { font-family: var(--serif); font-size: 26px; font-weight: 600; line-height: 1.2; }
.fv-up { font-family: var(--sans); font-size: 12px; font-weight: 700; color: var(--ok); background: var(--ok-soft); border: 1px solid var(--ok-line); border-radius: var(--r-pill); padding: 2px 9px; vertical-align: middle; }
.fv-chart { width: 100%; height: 124px; margin: 14px 0 10px; display: block; overflow: visible; }
.fv-grid { stroke: var(--grid-line); stroke-width: 1; stroke-dasharray: 3 4; }
.fv-axis { font-size: 10.5px; fill: var(--ink-subtle); font-family: var(--sans); }
.fv-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.fv-tile { position: relative; border: 1px solid var(--line); border-top: 3px solid var(--c); border-radius: var(--r-sm); padding: 8px 9px 4px; display: grid; gap: 1px; min-width: 0; }
.fv-tile svg { width: 100%; height: 22px; }
.fv-tile-name { font-size: 11.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fv-tile-score { font-family: var(--serif); font-size: 20px; font-weight: 600; }
.fv-tile-score small { font-family: var(--sans); font-size: 10px; color: var(--ink-subtle); font-weight: 400; }
.fv-tile .fv-chip { position: absolute; right: 7px; top: 27px; }
.fv-chip { font-size: 10.5px; font-weight: 700; color: var(--ok); background: var(--ok-soft); border: 1px solid var(--ok-line); border-radius: var(--r-pill); padding: 1px 7px; }
.fv-chip--lg { font-size: 13px; padding: 4px 12px; }
.fv-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.fv-title { font-family: var(--serif); font-size: 22px; font-weight: 600; }
.fv-avs { display: flex; }
.fv-av { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; color: #fff; background: var(--c); border: 2px solid var(--card); margin-left: -8px; }
.fv-radar-wrap { display: grid; justify-items: center; margin: 4px 0 8px; }
.fv-radar { width: 100%; max-width: 300px; height: auto; overflow: visible; }
.fv-radar .fv-axis { font-size: 10px; font-weight: 600; }
.fv-web { fill: none; stroke: var(--grid-line); stroke-width: 1; }
.fv-band { fill: color-mix(in srgb, var(--d-social) 38%, transparent); }
.fv-you { fill: color-mix(in srgb, var(--accent) 12%, transparent); stroke: var(--accent); stroke-width: 2.4; stroke-linejoin: round; }
.fv-legend { display: flex; gap: 18px; font-size: 12px; color: var(--ink-soft); }
.fv-legend span { display: inline-flex; align-items: center; gap: 6px; }
.fv-key { width: 14px; height: 10px; border-radius: 3px; display: inline-block; }
.fv-key--you { border: 2px solid var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent); }
.fv-key--band { background: color-mix(in srgb, var(--d-social) 38%, transparent); }
.fv-focus { border-top: 1px solid var(--line); padding-top: 12px; }
.fv-focus-top { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 8px; font-size: 13px; }
.fv-bar { height: 7px; border-radius: 99px; background: var(--grid-line); overflow: hidden; }
.fv-bar i { display: block; height: 100%; border-radius: 99px; background: var(--accent); }
.fv-arrow { display: flex; align-items: center; gap: 10px; color: var(--ink-subtle); }
.fv-num { font-family: var(--serif); font-size: 42px; font-weight: 600; line-height: 1; color: var(--ink); }
.fv-num--to { color: var(--accent); }
.fv-road { display: flex; align-items: center; margin: 22px 4px 6px; }
.fv-road i { flex: 1; height: 3px; background: linear-gradient(90deg, var(--accent), var(--d-physical), var(--d-mental)); }
.fv-node { width: 38px; height: 38px; border-radius: 50%; border: 3px solid var(--c); background: var(--card); display: grid; place-items: center; font-size: 11.5px; font-weight: 700; }
.fv-road-lbl { display: flex; justify-content: space-between; font-size: 11.5px; font-weight: 600; color: var(--ink-soft); margin-bottom: 12px; }
.fv-steps { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 7px; }
.fv-step { display: grid; grid-template-columns: 20px 1fr auto; gap: 10px; align-items: center; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 8px 11px; }
.fv-step b { color: var(--ok); font-size: 14px; }
.fv-step-t { font-weight: 600; font-size: 13px; line-height: 1.3; }
.fv-step-t small { display: flex; align-items: center; gap: 5px; font-weight: 600; font-size: 11px; color: var(--c); margin-top: 2px; }
.fv-step-t small i { width: 6px; height: 6px; border-radius: 50%; background: var(--c); }
.fv-check { width: 18px; height: 18px; border-radius: 5px; border: 2px solid var(--ink-faint); display: grid; place-items: center; color: #fff; }
.fv-step.is-done .fv-check { background: var(--accent); border-color: var(--accent); }
.fv-step.is-done .fv-step-t { color: var(--ink-subtle); text-decoration: line-through; }
.fv-progress { display: grid; gap: 6px; }


@media (max-width: 640px) {
  .fv { padding: 16px; }
  .fv-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fv-num { font-size: 36px; }
}
