/* Bezalt · app.css, layered on terminal.css for the on-chain interface. */
.app-intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.app-wallet { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.app-wallet-info { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.app-balances { font-size: 13px; color: var(--muted, rgba(255,255,255,.62)); }
.app-banner { margin: 0 0 18px; }
.app-banner--warn { border-color: var(--line-gold-strong); }
.app-tabs { display: flex; gap: 6px; margin: 26px 0 18px; border-bottom: 1px solid var(--line); }
.app-tab { appearance: none; background: none; border: 0; border-bottom: 2px solid transparent; color: var(--muted, rgba(255,255,255,.62)); font: inherit; font-weight: 600; font-size: 14px; padding: 10px 14px; cursor: pointer; margin-bottom: -1px; }
.app-tab:hover { color: #fff; }
.app-tab.is-active { color: var(--tint); border-bottom-color: var(--tint); }
.app-panel[hidden] { display: none; }
.app-steps { min-height: 1.2em; word-break: break-word; }
.app-steps:empty { display: none; }
.app-actions { white-space: normal; }
.app-actions .term-link-btn { margin: 2px 10px 2px 0; }
.term-status.is-bad { border-color: rgba(255, 90, 90, .55); color: #ff9a9a; }
.term-status.is-bad::before { background: #ff5a5a; }
.term-status.is-warn { border-color: var(--line-gold-strong); }
#positions-wrap .docs-table { min-width: 720px; font-size: 13.5px; }
#positions-wrap td, #positions-wrap th { white-space: nowrap; }
@media (max-width: 720px) {
    .app-intro { align-items: flex-start; }
    .app-wallet { align-items: flex-start; }
    .app-wallet-info { justify-content: flex-start; }
    .app-tabs { overflow-x: auto; }
}
.app-wallet-info[hidden] { display: none; }
