/* Dorax Finance — the first week's card (features/profile/profile.view.js: firstSteps) and the diary of wins (features/profile/first-week.view.js). */
.fsteps .step .grow { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.fsteps .fw-day { font-size: 12px; font-weight: 500; letter-spacing: .02em; color: var(--ink-3); }
.fsteps .fw-today { align-self: flex-start; margin-bottom: 2px; padding: 2px 8px; font-size: 12px; background: var(--select); color: var(--brand); }
.fsteps .step.next { position: relative; }
.fsteps .step.next .tickbox { border-color: var(--brand); box-shadow: 0 0 0 3px var(--select); }
.fsteps .fw-foot { display: flex; justify-content: flex-start; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.fsteps .fw-foot .linkbtn { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 500; }      /* a thumb's size (tests/qc-thumb.js) */
.fsteps .fw-foot { padding-top: 4px; }
.fsteps .fw-foot .linkbtn svg { width: 16px; height: 16px; }

.wins { display: flex; flex-direction: column; gap: 18px; }
.wins-top { display: flex; align-items: baseline; gap: 8px; color: var(--ink-2); font-size: 15px; }
.wins-n { font-size: 40px; line-height: 1; font-weight: 600; letter-spacing: -.02em; color: var(--ink-strong); }
.wins-meter { height: 6px; margin-top: -8px; border-radius: 3px; background: var(--track); overflow: hidden; }
.wins-meter i { display: block; height: 100%; border-radius: 3px; background: var(--brand); }
.wins-g h3 { margin: 0 0 8px; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.wins-g ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.wins-g li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.wins-g li:last-child { border-bottom: 0; }
.wins-g .grow { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.wins-g b { font-size: 15px; font-weight: 500; color: var(--ink-strong); }
.wins-g small { font-size: 13px; color: var(--ink-2); line-height: 1.4; }
.win-ico { flex: none; width: 40px; height: 40px; }
.wins-g li:not(.on) .win-ico { opacity: .38; filter: grayscale(1); }
.wins-g li:not(.on) b { color: var(--ink-2); }
.win-tick { flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--good); color: var(--bg); }
.win-tick svg { width: 14px; height: 14px; }
@media (max-width: 920px) { .win-ico { width: 44px; height: 44px; } .wins-g li { padding: 12px 0; } }
/* a phone: today's mission says what it is and why; the others their name and their button, under it, so the words keep the width of the card */
@media (max-width: 920px) {
  .fsteps .step:not(.ok) { flex-wrap: wrap; align-items: flex-start; row-gap: 10px; }
  .fsteps .step:not(.ok) .grow { flex: 1 1 calc(100% - 34px); }
  .fsteps .step:not(.ok) > :last-child:not(.grow) { margin-left: 34px; }
  .fsteps .step:not(.ok) .tickbox { margin-top: 2px; }
  .fsteps .step:not(.next):not(.ok) .note { display: none; }
  .fsteps .step.ok .note { display: none; }
}
