/* Portal – dopasowanie widoków Finance Analyzer do układu Meno */
.fa-logo-text { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; }
.fa-logo-mark { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 9px; background: rgb(var(--primary-rgb)); color: #fff; font-weight: 700; font-size: 14px; letter-spacing: .5px; }
.fa-logo-name { font-weight: 600; font-size: 1.05rem; color: var(--default-text-color); white-space: nowrap; }
.fa-login-body { background: rgb(var(--body-bg-rgb)); }
.fa-avatar { font-weight: 600; }
.fa-head-title { font-weight: 600; margin-inline-start: .5rem; }
.fa-portal-main .fa-wrap { margin: 0; max-width: none; }
.app-header .menu-btn-close { display: none !important; }

/* Tryb ciemny – widoki Finance Analyzer */
[data-theme-mode=dark] .fa-wrap {
    --fa-ink: #e8ecf4; --fa-muted: #9aa5b8; --fa-line: rgba(255,255,255,.10); --fa-bg: rgba(255,255,255,.05);
    --fa-card: rgb(var(--body-bg-rgb)); --fa-brand: #7aa2ff; --fa-pos: #4ade80; --fa-neg: #f87171;
}
[data-theme-mode=dark] .fa-wrap a { color: #8fb0ff; }
[data-theme-mode=dark] .fa-btn { background: #e8ecf4; border-color: #e8ecf4; color: #0d1c30 !important; }
[data-theme-mode=dark] .fa-btn-ghost { background: transparent; color: var(--fa-ink) !important; border-color: rgba(255,255,255,.25); }
[data-theme-mode=dark] .fa-btn-primary { background: #3b6cf5; border-color: #3b6cf5; color: #fff !important; }
[data-theme-mode=dark] .fa-table thead th, [data-theme-mode=dark] .fa-table tfoot td { background: rgba(255,255,255,.05); border-color: var(--fa-line); }
[data-theme-mode=dark] .fa-table tbody tr:hover { background: rgba(255,255,255,.04); }
[data-theme-mode=dark] .fa-tree tr.fa-r-year td { background: rgba(255,255,255,.08); }
[data-theme-mode=dark] .fa-tree tr.fa-r-quarter td { background: rgba(255,255,255,.04); }
[data-theme-mode=dark] .fa-form input[type=text], [data-theme-mode=dark] .fa-form input[type=url], [data-theme-mode=dark] .fa-form input[type=password],
[data-theme-mode=dark] .fa-form input[type=number], [data-theme-mode=dark] .fa-form input[type=date], [data-theme-mode=dark] .fa-form select,
[data-theme-mode=dark] .fa-form textarea, [data-theme-mode=dark] .fa-toolbar select, [data-theme-mode=dark] .fa-toolbar input, [data-theme-mode=dark] .fa-wrap input[type=search],
[data-theme-mode=dark] .fa-wrap select { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.18); color: var(--fa-ink); }
[data-theme-mode=dark] .fa-plan-table input:hover, [data-theme-mode=dark] .fa-plan-table input:focus { background: rgba(255,255,255,.08); }
[data-theme-mode=dark] .fa-badge, [data-theme-mode=dark] .fa-tag, [data-theme-mode=dark] .fa-b-pending { background: rgba(255,255,255,.10); color: #cbd2e0; }
[data-theme-mode=dark] .fa-b-ok { background: rgba(74,222,128,.15); color: #86efac; }
[data-theme-mode=dark] .fa-b-warn { background: rgba(251,191,36,.15); color: #fcd34d; }
[data-theme-mode=dark] .fa-b-bad, [data-theme-mode=dark] .fa-b-none { background: rgba(248,113,113,.16); color: #fca5a5; }
[data-theme-mode=dark] .fa-b-unplanned { background: rgba(167,139,250,.18); color: #c4b5fd; }
[data-theme-mode=dark] .fa-bar, [data-theme-mode=dark] .fa-share { background: rgba(255,255,255,.12); }
[data-theme-mode=dark] .fa-notice-ok { background: rgba(74,222,128,.12); border-color: rgba(74,222,128,.3); color: #86efac; }
[data-theme-mode=dark] .fa-notice-err { background: rgba(248,113,113,.12); border-color: rgba(248,113,113,.3); color: #fca5a5; }
[data-theme-mode=dark] .fa-notice-warn { background: rgba(251,191,36,.12); border-color: rgba(251,191,36,.3); color: #fcd34d; }
[data-theme-mode=dark] .fa-savebar { background: rgb(var(--body-bg-rgb)); border-color: var(--fa-line); }
[data-theme-mode=dark] .fa-chip, [data-theme-mode=dark] .fa-seg span { background: transparent; color: var(--fa-ink); border-color: rgba(255,255,255,.2); }
[data-theme-mode=dark] .fa-r-month .fa-label { color: var(--fa-ink); }
.breadcrumb-item + .breadcrumb-item::before { content: "/" !important; font-family: inherit !important; }
