/* The app's own styles. The screens' pieces (ui.page, ui.tabScreen, ui.welcome, ui.list, ui.card…) and the kit's
   (buttons, fields, alerts, windows, drawers) come from the core in vbox.css: change their look in ⋯ › Tema › App
   (colours, corners, density, the tokens --vb-app-*) or, last, in @layer project over the public classes the guide lists
   (core/<version>/docs/app.md §6.4) — never by restyling the others. No inline styles: the CSP refuses them. */
.app { min-height: 100vh; min-height: 100dvh; }
.app-stack { display: flex; flex-direction: column; gap: var(--vb-space-4); }
.app-center { display: flex; flex-direction: column; align-items: center; gap: var(--vb-space-4); text-align: center; }
.app-muted { color: var(--vb-text-muted); font-size: var(--vb-text-sm); }
.app-lead { margin: 0; color: var(--vb-text-muted); }
.app-brand { font-size: var(--vb-text-lg); }
.app-form-alert:empty { display: none; }
.app-login-row { display: flex; align-items: center; justify-content: space-between; gap: var(--vb-space-3); flex-wrap: wrap; }

/* "Minha conta" */
.app-profile { display: flex; flex-direction: column; align-items: center; gap: var(--vb-space-1); padding: var(--vb-space-2) 0; text-align: center; }
.app-profile .vb-app-avatar { margin-bottom: var(--vb-space-2); }
.app-profile__name { font-size: var(--vb-text-lg); }
.app-file { position: absolute; width: 1px; height: 1px; opacity: 0; }
.app-file:focus-visible + label { box-shadow: var(--vb-focus); }
label.is-busy { opacity: 0.6; pointer-events: none; }

/* Sobre */
.app-about { display: flex; flex-direction: column; align-items: center; gap: var(--vb-space-2); padding: var(--vb-space-4) 0; text-align: center; }
.app-about .app-brand { font-size: var(--vb-text-xl); }
.app-about__version { padding: var(--vb-space-1) var(--vb-space-3); border-radius: var(--vb-radius-pill); background: var(--vb-app-group-bg); color: var(--vb-text-muted); font-size: var(--vb-text-sm); }
.app-news { margin: var(--vb-space-1) 0 0; padding-left: var(--vb-space-5); }
.app-news li + li { margin-top: var(--vb-space-1); }

/* the "Mensagens" screen */
.app-message { padding: var(--vb-space-4); border-radius: var(--vb-app-group-radius); background: var(--vb-app-group-bg); }
.app-message--unread { box-shadow: inset 3px 0 0 var(--vb-accent); }
.app-message__head { display: flex; justify-content: space-between; gap: var(--vb-space-3); }
.app-message__body { margin: var(--vb-space-2) 0 0; white-space: pre-line; }
.app-message__actions { display: flex; flex-wrap: wrap; gap: var(--vb-space-2); margin-top: var(--vb-space-3); }
