/* UI-1: dashboard and master data (/app, /app/accounts, …). Uses the --mz-* tokens of app.css. */

/* dashboard */
.ui1-welcome { background: linear-gradient(180deg, #fff 0%, var(--mz-teal-50) 100%); animation: ui1-rise .45s ease-out both; }
.ui1-welcome .mz-steps { padding-top: .75rem; }
.ui1-stat-link { display: block; height: 100%; color: inherit; text-decoration: none; border-radius: var(--mz-radius); transition: transform .15s, box-shadow .15s; }
.ui1-stat-link:hover, .ui1-stat-link:focus-visible { transform: translateY(-2px); box-shadow: var(--mz-shadow); }
.ui1-stat-link .mz-stat { cursor: pointer; }

@keyframes ui1-rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
    .ui1-welcome { animation: none; }
    .ui1-stat-link { transition: none; }
}

/* chart-of-accounts tree */
.ui1-tree .ui1-node { display: flex; align-items: center; gap: .45rem; flex-wrap: wrap; min-width: 0; }
.ui1-tree .ui1-caret { display: inline-flex; width: 1.25rem; justify-content: center; flex: 0 0 auto; color: var(--mz-muted); text-decoration: none; }
.ui1-tree .ui1-code { min-width: 3.2rem; color: var(--mz-muted); font-feature-settings: "tnum" 1; }
.ui1-tree tr.ui1-level-1 > td { background: var(--mz-teal-50); }
.ui1-tree tr.ui1-level-1 .ui1-code { color: var(--mz-navy-800); font-weight: 700; }
.ui1-tree tr.ui1-level-2 .ui1-code { color: var(--mz-navy-700); }
