/* Client app: one mobile column (390px design width), large tap targets, numbers big; tab bar at the bottom. */

.client-app { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; max-width: 480px; margin: 0 auto; background: var(--canvas); }
.client-main { flex: 1; display: flex; flex-direction: column; gap: 20px; padding: 20px 20px 24px; }
.client-main--with-tabs { padding-bottom: 104px; }

.client-top { display: flex; align-items: center; justify-content: space-between; height: 44px; }

.intro { display: flex; flex-direction: column; gap: 8px; }
.intro p { font-size: 15px; line-height: 22px; color: var(--ink-2); }

.progress { display: flex; flex-direction: column; gap: 8px; }
.progress__labels { display: flex; justify-content: space-between; font-size: 13px; font-weight: 600; }
.progress__labels span + span { color: var(--ink-2); font-weight: 500; }
.progress__track { height: 8px; border-radius: 4px; background: var(--line); overflow: hidden; }
.progress__bar { height: 8px; border-radius: 4px; background: var(--accent); }

.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.step { display: flex; align-items: center; gap: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l); padding: 14px 16px; }
.step__text { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.step__title { font-size: 15px; font-weight: 600; }
.step__detail { font-size: 13px; color: var(--ink-2); }
.step--current { flex-direction: column; align-items: stretch; gap: 14px; border: 2px solid var(--accent); padding: 16px; }
.step--current .step__row { display: flex; align-items: center; gap: 14px; }
.step--locked .step__title { color: var(--ink-2); }
.step--locked .step__detail { color: var(--ink-3); }
.step__soon { font-size: 13px; color: var(--ink-2); text-align: center; padding: 12px; border-radius: var(--radius); background: var(--canvas); }

.client-foot { margin-top: auto; display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 14px; color: var(--ink-2); }

.consent { display: flex; flex-direction: column; gap: 10px; }
.consent__body { margin: 0; padding-left: 18px; color: var(--ink-2); font-size: 14px; display: flex; flex-direction: column; gap: 6px; }
.consent__required { font-size: 12px; font-weight: 700; color: var(--ink-2); }

.tab-bar {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%); width: 100%; max-width: 480px;
  background: var(--surface); border-top: 1px solid var(--line);
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 8px 8px calc(8px + env(safe-area-inset-bottom, 16px));
}
.tab-bar__link {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 52px;
  font-size: 11.5px; font-weight: 600; text-decoration: none; border-radius: 10px; color: #5A626A;
}
.tab-bar__link[aria-current="page"] { color: var(--accent); }
.tab-bar__link[aria-disabled="true"] { opacity: 0.45; pointer-events: none; }
