.app { max-width: 480px; margin: 0 auto; min-height: 100vh; position: relative; }
.page { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
.pad { padding: 12px 16px; }
.hdr { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 4px; height: 52px; padding: env(safe-area-inset-top) 8px 0 8px; background: var(--bg-base); }
.hdr .btn-text { font-size: 22px; color: var(--text-primary); }
.tabbar { position: fixed; bottom: 0; left: 50%; transform: translateX(-50%); width: 100%; max-width: 480px; display: flex; background: var(--bg-card); border-top: 1px solid var(--border); padding-bottom: env(safe-area-inset-bottom); z-index: 20; }
.tabbar a { flex: 1; height: 56px; display: flex; align-items: center; justify-content: center; color: var(--text-secondary); font-size: 14px; }
.tabbar a.on { color: var(--brand); font-weight: 600; }
.login { padding: 24px; max-width: 420px; margin: 0 auto; }
.logo { width: 64px; height: 64px; border-radius: 16px; background: var(--brand); color: #181A20; font-size: 34px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.ticker { padding: 12px 4px 0; }
.steps { display: flex; justify-content: space-between; padding: 8px 24px; position: relative; }
.steps::before { content: ""; position: absolute; left: 36px; right: 36px; top: 21px; height: 1px; background: var(--border); }
.steps .st { width: 26px; height: 26px; border-radius: 50%; background: var(--bg-card); color: var(--text-secondary); display: flex; align-items: center; justify-content: center; font-size: 13px; position: relative; box-shadow: inset 0 0 0 1px var(--border); }
.steps .st.on { background: var(--brand); color: #181A20; box-shadow: none; }
.steps .st.done { color: var(--up); box-shadow: inset 0 0 0 1px var(--up); }
.mb { margin-bottom: 12px; }
.footer-bar { position: fixed; bottom: 0; left: 50%; transform: translateX(-50%); width: 100%; max-width: 480px; display: flex; gap: 12px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: var(--bg-base); border-top: 1px solid var(--border); z-index: 15; }
.prow { padding: 10px 0; border-bottom: 1px solid var(--border); }
.prow:last-child { border-bottom: 0; }
.stepper { display: flex; align-items: center; background: var(--bg-elevated); border-radius: 8px; height: 40px; flex: none; }
.stepper button { width: 40px; height: 40px; border: 0; background: none; font-size: 18px; cursor: pointer; color: var(--text-primary); }
.stepper input { width: 64px; height: 40px; border: 0; background: none; text-align: center; outline: none; }
.stepper input.err { color: var(--danger); }
.bars { display: flex; align-items: flex-end; gap: 2px; height: 80px; }
.bars .bar { flex: 1; height: 100%; display: flex; align-items: flex-end; }
.bars .bar i { display: block; width: 100%; background: var(--brand); border-radius: 2px 2px 0 0; min-height: 2px; opacity: .85; }
details summary { cursor: pointer; }
