:root {
    --nc-green: #295157;
    --nc-green-2: #466265;
    --nc-bg: #F5F5F7;
    --nc-card: #FFFFFF;
    --nc-surface: #FBFBFD;
    --nc-text: #1D1D1F;
    --nc-muted: #6E6E73;
    --nc-faint: #8E8E93;
    --nc-gold: #C6A35B;
    --nc-border: rgba(41, 81, 87, .12);
    --nc-shadow: 0 18px 45px rgba(29, 29, 31, .07);
    --nc-shadow-soft: 0 8px 24px rgba(29, 29, 31, .055);
    --nc-tabbar-height: 48px;
    --nc-tabbar-pad-x: 16px;
    --nc-tabbar-font-size: 13px;
    --nc-tabbar-weight: 600;
    --nc-tabbar-active-weight: 650;
    --nc-tabbar-border: 2px;
    --nc-tabbar-total-height: calc(var(--nc-tabbar-height) + var(--nc-tabbar-border));
    --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", Inter, "Segoe UI", Roboto, Arial, sans-serif;
}

html,
body,
.fi-body {
    font-family: var(--font-sans);
    letter-spacing: 0;
    max-width: 100%;
    overflow-x: hidden;
}

body,
.fi-body,
.fi-main {
    background:
        radial-gradient(circle at 34% 0%, rgba(198, 163, 91, .09), transparent 25rem),
        linear-gradient(180deg, #fff 0%, var(--nc-bg) 42%, var(--nc-bg) 100%) !important;
    color: var(--nc-text);
}

.fi-main,
.fi-page,
.fi-page-content,
.fi-layout,
.fi-main-ctn {
    max-width: 100% !important;
    min-width: 0 !important;
}

.fi-page-content,
.fi-ta-content,
.fi-ta-table,
.fi-section-content,
.bd-table-wrap,
.or-table-wrap,
.nc-table-wrap,
.crm-kanban,
.module-subnav {
    max-width: 100% !important;
}

.fi-ta-content,
.bd-table-wrap,
.or-table-wrap,
.nc-table-wrap,
.crm-kanban,
.module-subnav:not(.module-subnav--with-menus) {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
}

.fi-ta-table table,
.nc-table,
.bd-table,
.or-table,
.crm-table {
    width: 100%;
    min-width: 780px;
}

.dark body,
.dark .fi-body,
.dark .fi-main {
    background:
        radial-gradient(circle at top left, rgba(198, 163, 91, .08), transparent 26rem),
        linear-gradient(180deg, #171717 0%, #101112 100%) !important;
}

.fi-sidebar {
    background: rgba(255, 255, 255, .84) !important;
    border-right: 1px solid var(--nc-border) !important;
    box-shadow: 18px 0 50px rgba(29, 29, 31, .045);
    backdrop-filter: blur(22px);
}

.dark .fi-sidebar {
    background: rgba(22, 24, 25, .9) !important;
    border-right-color: rgba(255, 255, 255, .08) !important;
}

.fi-logo,
.fi-sidebar-header {
    color: var(--nc-text) !important;
    font-weight: 850 !important;
    letter-spacing: -.02em;
}

.dark .fi-logo,
.dark .fi-sidebar-header {
    color: #F5F5F7 !important;
}

.fi-sidebar-group-label {
    color: var(--nc-faint) !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    letter-spacing: .08em !important;
    text-transform: uppercase !important;
}

.fi-sidebar-item a {
    border-radius: 16px !important;
    min-height: 42px;
    transition: background .18s ease, color .18s ease, transform .18s ease;
}

.fi-sidebar-item a:hover {
    background: rgba(41, 81, 87, .075) !important;
    color: var(--nc-green) !important;
}

.fi-sidebar-item-active a,
.fi-sidebar-item.fi-active a {
    background: linear-gradient(135deg, var(--nc-green), var(--nc-green-2)) !important;
    color: white !important;
    box-shadow: 0 10px 24px rgba(41, 81, 87, .22);
}

.fi-sidebar-item-active a *,
.fi-sidebar-item.fi-active a *,
.fi-sidebar-item-active svg,
.fi-sidebar-item.fi-active svg {
    color: #fff !important;
    stroke: currentColor !important;
}

.fi-topbar,
.fi-header {
    background: rgba(255, 255, 255, .72) !important;
    border-color: rgba(41, 81, 87, .08) !important;
    backdrop-filter: blur(18px);
}

.dark .fi-topbar,
.dark .fi-header {
    background: rgba(18, 18, 20, .72) !important;
    border-color: rgba(255, 255, 255, .08) !important;
}

.fi-header-heading {
    color: var(--nc-text) !important;
    font-size: clamp(20px, 1.9vw, 26px) !important;
    font-weight: 650 !important;
    letter-spacing: -.015em !important;
    line-height: 1.2;
}

.dark .fi-header-heading {
    color: #F5F5F7 !important;
}

.fi-header-subheading {
    margin-top: 6px !important;
    max-width: 760px;
    color: var(--nc-muted) !important;
    font-size: 14px !important;
    font-weight: 450 !important;
    line-height: 1.5;
}

.dark .fi-header-subheading {
    color: #a8a8b3 !important;
}

.nc-ui-unified-head .fi-header {
    gap: 14px;
    padding: 2px 0 0;
    background: transparent !important;
    border: none !important;
    backdrop-filter: none;
}

@media (min-width: 640px) {
    .nc-ui-unified-head .fi-header {
        align-items: flex-end;
    }
}

.fi-section,
.fi-ta,
.fi-fo-section,
.fi-wi-stats-overview-stat,
.fi-modal-window,
.fi-dropdown-panel,
.nc-card,
.bd-card,
.or-card,
.crm-card,
.crm-col {
    border: 1px solid var(--nc-border) !important;
    border-radius: 22px !important;
    background: rgba(255, 255, 255, .9) !important;
    box-shadow: var(--nc-shadow-soft) !important;
}

.dark .fi-section,
.dark .fi-ta,
.dark .fi-fo-section,
.dark .fi-wi-stats-overview-stat,
.dark .fi-modal-window,
.dark .fi-dropdown-panel,
.dark .nc-card,
.dark .bd-card,
.dark .or-card,
.dark .crm-card,
.dark .crm-col {
    background: rgba(28, 28, 30, .86) !important;
    border-color: rgba(255, 255, 255, .09) !important;
    box-shadow: 0 18px 45px rgba(0, 0, 0, .22) !important;
}

.fi-section-header,
.fi-ta-header,
.fi-fo-section-header {
    background: transparent !important;
}

/* Filament ikonos űrlapfülek – egységes megjelenés */
.fi-sc-tabs,
.fi-fo-tabs {
    gap: 0.35rem;
}

.fi-sc-tabs-tab,
.fi-tabs-item,
.fi-fo-tabs-tab {
    gap: 0.45rem;
    font-weight: 650;
    letter-spacing: -.01em;
}

.fi-sc-tabs-tab.fi-active,
.fi-tabs-item.fi-active,
.fi-fo-tabs-tab.fi-active,
.fi-sc-tabs-tab[aria-selected="true"],
.fi-fo-tabs-tab[aria-selected="true"] {
    color: #295157 !important;
}

.fi-sc-tabs-tab.fi-active .fi-icon,
.fi-tabs-item.fi-active .fi-icon,
.fi-fo-tabs-tab.fi-active .fi-icon,
.fi-sc-tabs-tab[aria-selected="true"] .fi-icon,
.fi-fo-tabs-tab[aria-selected="true"] .fi-icon {
    color: #295157 !important;
}

.nc-tabbar-icon {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
    color: currentColor;
    opacity: .88;
}

.nc-tabbar > a.is-active .nc-tabbar-icon,
.nc-tabbar > button.is-active .nc-tabbar-icon,
.nc-tabbar-item.is-active .nc-tabbar-icon {
    color: #295157;
    opacity: 1;
}

.dark .nc-tabbar > a.is-active .nc-tabbar-icon,
.dark .nc-tabbar > button.is-active .nc-tabbar-icon,
.dark .nc-tabbar-item.is-active .nc-tabbar-icon {
    color: #9fd0d1;
}

.fi-ta-table,
.bd-table,
.or-table,
.nc-table,
.crm-table {
    border-collapse: separate !important;
    border-spacing: 0 !important;
}

.fi-ta-row {
    transition: background .16s ease;
}

.fi-ta-row:hover {
    background: rgba(41, 81, 87, .045) !important;
}

.fi-ta-cell,
.fi-ta-header-cell,
.bd-table td,
.or-table td,
.nc-table td,
.crm-table td {
    border-color: rgba(41, 81, 87, .08) !important;
}

.fi-ta .fi-ta-header-cell .fi-ta-header-cell-label {
    font-size: 12px !important;
    font-weight: 850 !important;
    color: var(--nc-muted) !important;
}

.fi-ta .fi-ta-cell {
    font-size: 13px;
}

.bd-table th,
.or-table th,
.nc-table th,
.crm-table th {
    color: var(--nc-muted) !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    text-transform: none;
}

.fi-badge,
.bd-pill,
.or-badge {
    border-radius: 999px !important;
    font-weight: 780 !important;
    letter-spacing: 0 !important;
}

.fi-btn,
.bd-button,
.or-button,
.crm-btn,
.nc-action {
    border-radius: 14px !important;
    font-weight: 780 !important;
    box-shadow: none !important;
}

.fi-btn-color-primary,
.bd-button:not(.secondary):not(.danger),
.or-button:not(.secondary):not(.danger) {
    background: linear-gradient(135deg, var(--nc-green), var(--nc-green-2)) !important;
    color: #fff !important;
}

.fi-btn-color-primary *,
.bd-button:not(.secondary):not(.danger) *,
.or-button:not(.secondary):not(.danger) * {
    color: #fff !important;
}

.fi-btn-color-primary:hover,
.bd-button:not(.secondary):not(.danger):hover,
.or-button:not(.secondary):not(.danger):hover {
    filter: brightness(1.04);
}

.ada-widget-action.nc-action {
    background: linear-gradient(135deg, var(--nc-green), var(--nc-green-2)) !important;
    color: #fff !important;
}

.ada-widget-action.nc-action *,
.ada-widget-action.nc-action svg {
    color: #fff !important;
}

.nc-back-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    min-height: 34px;
    margin-bottom: 8px;
    padding: 0 12px;
    border: 1px solid rgba(41, 81, 87, .16);
    border-radius: 999px;
    background: rgba(255, 255, 255, .74);
    color: var(--nc-green);
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 8px 18px rgba(29, 29, 31, .045);
}

.fi-header .nc-back-button {
    margin: 0 0 10px;
}

.nc-page-head > .nc-back-button,
.nc-page-head-record > .nc-back-button {
    margin: 0 0 12px;
}

.nc-back-button:hover {
    background: rgba(41, 81, 87, .08);
    color: var(--nc-green);
}

.dark .nc-back-button {
    border-color: rgba(255, 255, 255, .11);
    background: rgba(28, 28, 30, .78);
    color: #D7E3E4;
}

.fi-input,
.fi-select-input,
.fi-textarea,
.nc-input,
.nc-select,
.nc-textarea,
.bd-field input,
.bd-field select,
.or-field input,
.or-field select {
    border-radius: 14px !important;
    border-color: rgba(41, 81, 87, .16) !important;
    background: rgba(251, 251, 253, .95) !important;
}

.dark .fi-input,
.dark .fi-select-input,
.dark .fi-textarea,
.dark .nc-input,
.dark .nc-select,
.dark .nc-textarea,
.dark .bd-field input,
.dark .bd-field select,
.dark .or-field input,
.dark .or-field select {
    background: rgba(39, 39, 42, .88) !important;
    border-color: rgba(255, 255, 255, .11) !important;
    color: #f4f4f5 !important;
}

.nc-kpi,
.fi-wi-stats-overview-stat {
    border-left: 0 !important;
    min-height: 112px;
}

.nc-kpi strong,
.crm-card b {
    letter-spacing: -.025em;
}

.bd-thumb,
.or-thumb,
.product-thumb {
    border-radius: 14px !important;
}

.nc-quickbar,
.bd-actions,
.or-actions {
    border-radius: 20px !important;
    border-color: var(--nc-border) !important;
    box-shadow: var(--nc-shadow) !important;
}

.nc-quickbar {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: visible !important;
}

.nc-quickbar .nc-quick-action {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    min-height: 40px;
    min-width: 0;
    padding: 6px 12px 6px 6px;
    border-radius: 12px !important;
    border: 1px solid rgba(41, 81, 87, .14) !important;
    background: #fff !important;
    color: rgb(30 41 59) !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
    text-decoration: none !important;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .04) !important;
    transition: transform .14s ease, border-color .14s ease, box-shadow .14s ease, background .14s ease;
}

.nc-quickbar .nc-quick-action__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    border-radius: 8px;
    background: rgba(41, 81, 87, .1);
    color: var(--nc-green) !important;
}

.nc-quickbar .nc-quick-action__icon svg,
.nc-quickbar .nc-quick-action__label {
    color: inherit !important;
}

.nc-quickbar .nc-quick-action__icon svg {
    width: 16px;
    height: 16px;
}

.nc-quickbar .nc-quick-action:hover {
    transform: translateY(-1px);
    border-color: rgba(41, 81, 87, .28) !important;
    background: rgba(41, 81, 87, .04) !important;
    color: var(--nc-green) !important;
    box-shadow: 0 8px 18px rgba(15, 23, 42, .08) !important;
}

.nc-quickbar .nc-quick-action:hover .nc-quick-action__icon {
    background: var(--nc-green) !important;
    color: #fff !important;
}

.dark .nc-quickbar .nc-quick-action {
    border-color: rgba(255, 255, 255, .1) !important;
    background: rgb(39 39 42) !important;
    color: rgb(244 244 245) !important;
}

.dark .nc-quickbar .nc-quick-action__icon {
    background: rgba(255, 255, 255, .08);
    color: #d7e3e4 !important;
}

.dark .nc-quickbar .nc-quick-action:hover {
    background: rgb(30 30 33) !important;
    color: #fff !important;
}

.dark .nc-quickbar .nc-quick-action:hover .nc-quick-action__icon {
    background: var(--nc-green-2) !important;
    color: #fff !important;
}

.nc-quickbar .nc-action {
    min-height: 34px !important;
    padding: 0 10px !important;
    border-radius: 13px !important;
    border: 1px solid rgba(41, 81, 87, .12) !important;
    background: rgba(41, 81, 87, .08) !important;
    color: var(--nc-green) !important;
    font-size: 12px !important;
    line-height: 1 !important;
}

.nc-quickbar .nc-action,
.nc-quickbar .nc-action *,
.nc-quickbar .nc-action svg {
    color: var(--nc-green) !important;
}

.nc-quickbar .nc-action:hover {
    background: var(--nc-green) !important;
    color: #fff !important;
}

.nc-quickbar .nc-action:hover,
.nc-quickbar .nc-action:hover *,
.nc-quickbar .nc-action:hover svg {
    color: #fff !important;
}

.dark .nc-quickbar .nc-action {
    border-color: rgba(255, 255, 255, .1) !important;
    background: rgba(255, 255, 255, .06) !important;
    color: #D7E3E4 !important;
}

.dark .nc-quickbar .nc-action:hover {
    background: var(--nc-green-2) !important;
    color: #fff !important;
}

.nc-sidebar-user {
    position: relative;
    padding: 12px 16px 16px;
}

.nc-sidebar-user-card {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 12px;
    border: 1px solid rgba(41, 81, 87, .14);
    border-radius: 18px;
    background: rgba(255, 255, 255, .62);
    box-shadow: 0 10px 28px rgba(29, 29, 31, .06);
    backdrop-filter: blur(14px);
}

.nc-sidebar-user-trigger {
    cursor: pointer;
    text-align: left;
    transition: border-color .16s ease, box-shadow .16s ease;
}

.nc-sidebar-user-trigger:hover,
.nc-sidebar-user-trigger[aria-expanded="true"] {
    border-color: rgba(40, 93, 92, .28);
    box-shadow: 0 12px 30px rgba(40, 93, 92, .1);
}

.nc-sidebar-user-chevron {
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
    color: var(--nc-muted);
    transition: transform .16s ease;
}

.nc-sidebar-user-chevron.is-open {
    transform: rotate(180deg);
}

.nc-sidebar-user-menu {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: calc(100% - 4px);
    z-index: 50;
    display: grid;
    gap: 4px;
    padding: 8px;
    border: 1px solid rgba(41, 81, 87, .14);
    border-radius: 16px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 16px 40px rgba(29, 29, 31, .14);
    backdrop-filter: blur(18px);
}

.dark .nc-sidebar-user-menu {
    border-color: rgba(255, 255, 255, .1);
    background: rgba(28, 28, 30, .96);
}

.nc-sidebar-user-menu-section {
    display: grid;
    gap: 4px;
    padding-bottom: 4px;
    margin-bottom: 4px;
    border-bottom: 1px solid rgba(41, 81, 87, .1);
}

.dark .nc-sidebar-user-menu-section {
    border-bottom-color: rgba(255, 255, 255, .08);
}

.nc-sidebar-user-menu-label {
    padding: 4px 10px 2px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--nc-muted);
}

.nc-sidebar-user-menu-hint {
    padding: 4px 10px 8px;
    font-size: 11px;
    line-height: 1.35;
    color: var(--nc-muted);
}

.nc-sidebar-user-menu-item {
    display: block;
    width: 100%;
    padding: 10px 12px;
    border: none;
    border-radius: 12px;
    background: transparent;
    color: var(--nc-text);
    font-size: 13px;
    font-weight: 700;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
    transition: background .12s ease;
}

.nc-sidebar-user-menu-item:hover,
.nc-sidebar-user-menu-item.is-active-mode {
    background: rgba(40, 93, 92, .08);
    color: var(--nc-green);
}

.nc-sidebar-user-menu-item.danger {
    color: #b42318;
}

.nc-sidebar-user-menu-item.danger:hover {
    background: rgba(180, 35, 24, .08);
    color: #b42318;
}

.dark .nc-sidebar-user-menu-item {
    color: #F5F5F7;
}

.dark .nc-sidebar-user-card {
    border-color: rgba(255, 255, 255, .1);
    background: rgba(28, 28, 30, .7);
}

.nc-sidebar-avatar {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--nc-green), var(--nc-green-2));
    color: white;
    font-size: 12px;
    font-weight: 850;
}

.nc-sidebar-user-meta {
    min-width: 0;
    flex: 1;
}

.nc-sidebar-user-name,
.nc-sidebar-user-role {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nc-sidebar-user-name {
    color: var(--nc-text);
    font-size: 13px;
    font-weight: 850;
}

.dark .nc-sidebar-user-name {
    color: #F5F5F7;
}

.nc-sidebar-user-role {
    color: var(--nc-muted);
    font-size: 12px;
}

.nc-sidebar-logout-form {
    margin-top: 8px;
}

.nc-sidebar-logout {
    width: 100%;
    height: 36px;
    border: 1px solid rgba(41, 81, 87, .14);
    border-radius: 14px;
    background: rgba(255, 255, 255, .54);
    color: var(--nc-green);
    font-size: 13px;
    font-weight: 780;
}

.dark .nc-sidebar-logout {
    border-color: rgba(255, 255, 255, .1);
    background: rgba(39, 39, 42, .6);
    color: #D7E3E4;
}

.nc-sidebar-module-order-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 32px;
    height: 32px;
    border: 1px solid rgba(41, 81, 87, .12);
    border-radius: 12px;
    background: rgba(255, 255, 255, .72);
    color: var(--nc-green);
    text-decoration: none;
    transition: background .16s ease, border-color .16s ease, transform .16s ease;
}

.nc-sidebar-module-order-icon svg {
    width: 16px;
    height: 16px;
}

.nc-sidebar-module-order-icon:hover {
    background: rgba(41, 81, 87, .06);
    border-color: rgba(41, 81, 87, .22);
    transform: translateY(-1px);
}

.dark .nc-sidebar-module-order-icon {
    border-color: rgba(255, 255, 255, .1);
    background: rgba(39, 39, 42, .72);
    color: #D7E3E4;
}

.nc-workbench {
    display: grid;
    gap: 16px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

/* Modul listák: ugyanaz a fejléc + munkafelület mint a workbench oldalakon */
.fi-page:has(.nc-list-workbench) .fi-header {
    display: none !important;
}

.fi-resource-list-records-page .fi-page-content:has(.nc-list-workbench) {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    overflow-x: clip !important;
    max-width: 100%;
}

.fi-page-content:has(.nc-list-workbench) .fi-sc,
.fi-page-content:has(.nc-list-workbench) .fi-grid-col,
.fi-page-content:has(.nc-list-workbench) .fi-sc-component {
    min-width: 0;
    max-width: 100%;
}

.nc-list-workbench .nc-workbench-panel {
    margin: 0;
    max-width: 100%;
    overflow: hidden;
}

.nc-list-workbench .module-subnav-wrap {
    margin: 0;
}

.nc-list-workbench .module-subnav-wrap.nc-tab-shell {
    border: none !important;
    box-shadow: none !important;
    border-radius: 0;
    background: transparent;
}

.nc-list-workbench .module-subnav-wrap.nc-tab-shell .nc-tabbar-row {
    border-radius: 0;
}

.nc-list-workbench .nc-workbench-surface {
    padding-top: 0;
    min-width: 0;
    max-width: 100%;
    overflow-x: clip;
}

.nc-list-workbench .nc-workbench-surface > * {
    min-width: 0;
    max-width: 100%;
}

.nc-list-workbench .nc-workbench-surface > * + * {
    border-top: 1px solid rgba(41, 81, 87, .08);
    margin-top: 0;
    padding-top: 14px;
}

.dark .nc-list-workbench .nc-workbench-surface > * + * {
    border-top-color: rgba(255, 255, 255, .08);
}

.nc-list-workbench .fi-ta,
.nc-list-workbench .fi-ta .fi-ta-ctn {
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
    border-radius: 0 !important;
}

.nc-list-workbench .fi-ta .fi-ta-filters-above-content-ctn {
    border-top: 0;
    margin-top: 0;
    padding-top: 0;
}

.nc-list-workbench .ol-workbench {
    margin-bottom: 0;
    min-width: 0;
    max-width: 100%;
}

.nc-list-workbench .ol-finance-grid,
.nc-list-workbench .ol-pipeline-card {
    min-width: 0;
    max-width: 100%;
}

.nc-list-workbench .ol-pipeline-track {
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.nc-list-workbench .ol-pipeline-stage {
    flex: 0 0 168px;
}

.nc-list-workbench .fi-ta,
.nc-list-workbench .fi-ta .fi-ta-ctn,
.nc-list-workbench .fi-ta .fi-ta-main {
    min-width: 0;
    max-width: 100%;
}

.nc-list-workbench .fi-ta-content,
.nc-list-workbench .fi-ta-table {
    overflow-x: auto !important;
    max-width: 100%;
}

.nc-list-workbench .fi-ta-table table {
    width: 100%;
    min-width: 720px;
}

.nc-page-subtitle {
    margin: 0;
    color: var(--nc-muted);
    font-size: 15px;
}

.nc-page-head {
    display: grid;
    gap: 6px;
    padding: 2px 0 0;
    min-width: 0;
}

.nc-page-kicker {
    margin: 0;
    color: var(--nc-muted);
    font-size: 12px;
    font-weight: 550;
    letter-spacing: 0;
    text-transform: none;
}

.nc-page-head-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}

.nc-page-head-copy {
    min-width: 0;
    flex: 1 1 240px;
}

.nc-page-title {
    margin: 0;
    font-size: clamp(20px, 1.9vw, 26px);
    font-weight: 650;
    letter-spacing: -.015em;
    color: var(--nc-text);
    line-height: 1.2;
}

.nc-page-meta {
    margin: 6px 0 0;
    max-width: 760px;
    color: var(--nc-muted);
    font-size: 14px;
    font-weight: 450;
    line-height: 1.5;
}

.nc-page-head-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.nc-page-head-record {
    padding: 0;
}

.nc-page-head-record .nc-page-kicker {
    text-transform: none;
    letter-spacing: 0;
    font-size: 12px;
    font-weight: 550;
}

.nc-ui-unified-head .fi-page:has(.nc-page-head) .fi-header-heading {
    display: none !important;
}

.nc-ui-unified-head .fi-page:has(.nc-page-head) .fi-header {
    display: none !important;
}

@media (max-width: 680px) {
    .nc-page-head-row {
        align-items: flex-start;
        flex-direction: column;
    }
}

.lead-header-card.nc-page-head-record {
    padding: 0;
}

.lead-header-card.nc-page-head-record > .nc-back-button {
    margin: 16px 18px 0;
}

.lead-header-card.nc-page-head-record .lead-hero {
    padding: 16px 18px 14px;
}

.lead-header-card.nc-page-head-record .nc-page-title {
    font-size: clamp(22px, 2.6vw, 32px);
}

.lead-header-card.nc-page-head-record .nc-page-kicker {
    text-transform: none;
    letter-spacing: 0;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 2px;
}

/* ── Egységes panel + fül sáv (lead munkalap mintája) ── */
.nc-panel,
.lead-card.lead-panel,
.lead-card:not(.lead-header-card):has(.nc-tabbar),
.lead-card:not(.lead-header-card):has(.lead-tabbar) {
    background: rgba(255, 255, 255, .94);
    border: 1px solid rgba(41, 81, 87, .12);
    border-radius: 22px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, .06);
    overflow: hidden;
    min-width: 0;
}

.dark .nc-panel,
.dark .lead-card.lead-panel,
.dark .lead-card:not(.lead-header-card):has(.nc-tabbar),
.dark .lead-card:not(.lead-header-card):has(.lead-tabbar) {
    background: rgba(30, 30, 34, .94);
    border-color: rgba(255, 255, 255, .1);
    box-shadow: none;
}

.nc-workbench-panel {
    display: grid;
    min-width: 0;
}

.nc-tabbar-panel {
    overflow: hidden;
    margin-bottom: 12px;
    border: 1px solid rgba(41, 81, 87, .12);
    border-radius: 22px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 18px 45px rgba(15, 23, 42, .06);
}

.dark .nc-tabbar-panel {
    background: rgba(30, 30, 34, .94);
    border-color: rgba(255, 255, 255, .1);
    box-shadow: none;
}

.nc-tabbar-panel .nc-tabbar {
    border-radius: 22px 22px 0 0;
}

.nc-panel-content,
.lead-panel-content {
    padding: 14px 16px 16px;
    min-width: 0;
}

.nc-tabbar-shell,
.module-subnav-wrap,
.nc-tab-shell.module-subnav-wrap {
    min-width: 0;
}

.nc-list-module-nav {
    margin-bottom: 12px;
}

.nc-tabbar-row {
    display: flex;
    align-items: stretch;
    height: var(--nc-tabbar-height);
    min-height: var(--nc-tabbar-height);
    box-sizing: content-box;
    overflow: visible;
    background: linear-gradient(180deg, rgba(251, 251, 253, .98) 0%, rgba(255, 255, 255, .92) 100%);
    border-bottom: var(--nc-tabbar-border) solid rgba(41, 81, 87, .12);
}

.dark .nc-tabbar-row {
    background: linear-gradient(180deg, rgba(30, 30, 34, .98) 0%, rgba(24, 24, 27, .95) 100%);
    border-bottom-color: rgba(255, 255, 255, .1);
}

.nc-tabbar-row .nc-tabbar,
.nc-tabbar-row nav.hr-main-nav,
.nc-tabbar-row nav.fn-main-nav {
    flex: 1 1 auto;
    min-width: 0;
    height: 100%;
    min-height: 0 !important;
    max-height: 100%;
    border-bottom: 0 !important;
    background: transparent !important;
}

.nc-tabbar-row .nc-tabbar > a,
.nc-tabbar-row .nc-tabbar > button,
.nc-tabbar-row nav.hr-main-nav > a,
.nc-tabbar-row nav.fn-main-nav > a {
    height: 100%;
    min-height: 0 !important;
    max-height: 100%;
    box-sizing: border-box;
    align-items: center;
    line-height: 1.2;
}

.nc-tabbar-row .nc-tabbar > a::after,
.nc-tabbar-row .nc-tabbar > button::after,
.nc-tabbar-row nav.hr-main-nav > a::after,
.nc-tabbar-row nav.fn-main-nav > a::after {
    bottom: 0;
    left: 10px;
    right: 10px;
    height: 3px;
}

.nc-tabbar-row .nc-nav-actions {
    flex: 0 0 auto;
    align-self: stretch;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0 var(--nc-tabbar-pad-x);
    border-top: 0;
    border-left: 1px solid rgba(41, 81, 87, .1);
    background: transparent;
    min-height: 0;
}

.dark .nc-tabbar-row .nc-nav-actions {
    border-left-color: rgba(255, 255, 255, .08);
    background: transparent;
}

.nc-workbench-panel > :is(.module-subnav-wrap, .nc-tab-shell) .nc-tabbar-row {
    border-radius: 0;
}

.module-subnav-wrap.nc-tab-shell .nc-tabbar-row {
    border-radius: 18px 18px 0 0;
}

.fi-resource-list-records-page .fi-page-content:has(.module-subnav-wrap) .module-subnav-wrap .nc-tabbar-row {
    border-radius: 0;
    height: var(--nc-tabbar-height);
    min-height: var(--nc-tabbar-height);
    box-sizing: content-box;
}

.fi-resource-list-records-page .fi-page-content:has(.module-subnav-wrap) .module-subnav-wrap .nc-tabbar-row .nc-tabbar > a {
    min-height: var(--nc-tabbar-height) !important;
    height: 100% !important;
}

.nc-workbench-panel > .nc-tabbar-shell,
.nc-workbench-panel > .module-subnav-wrap,
.nc-workbench-panel > .nc-tab-shell,
.hr-workbench-nav,
.fn-workbench-nav,
.nc-tabbar-panel {
    position: static;
    margin: 0;
    padding: 0;
    overflow: visible;
    background: transparent;
    backdrop-filter: none;
    border: none;
    box-shadow: none;
}

/* ── Egységes munkafelület: egy külső panel, lapos belső rétegek ── */
.nc-workbench-panel > :is(
    .module-subnav-wrap,
    .nc-tab-shell,
    .fn-workbench-nav,
    .hr-workbench-nav,
    .nc-workbench-nav
) {
    border: none !important;
    box-shadow: none !important;
    border-radius: 0;
    background: transparent;
    overflow: hidden;
}

.nc-workbench-panel > :is(.module-subnav-wrap, .nc-tab-shell, .fn-workbench-nav, .hr-workbench-nav) :is(.nc-tabbar, .fn-main-nav, .hr-main-nav) {
    border-bottom: 0 !important;
}

.nc-workbench-panel > :is(.module-subnav-wrap, .nc-tab-shell, .fn-workbench-nav, .hr-workbench-nav) .nc-tabbar-row {
    border-bottom: var(--nc-tabbar-border) solid rgba(41, 81, 87, .12);
}

.dark .nc-workbench-panel > :is(.module-subnav-wrap, .nc-tab-shell, .fn-workbench-nav, .hr-workbench-nav) .nc-tabbar-row {
    border-bottom-color: rgba(255, 255, 255, .08);
}

.dark .nc-workbench-panel > :is(.module-subnav-wrap, .nc-tab-shell, .fn-workbench-nav, .hr-workbench-nav) :is(.nc-tabbar, .fn-main-nav, .hr-main-nav) {
    border-bottom-color: transparent;
}

.nc-workbench-panel > :is(.module-subnav-wrap, .nc-tab-shell, .fn-workbench-nav, .hr-workbench-nav) :is(.nc-tabbar, .fn-main-nav, .hr-main-nav) > a.is-active {
    background: transparent;
    box-shadow: inset 0 -3px 0 #295157;
}

.dark .nc-workbench-panel > :is(.module-subnav-wrap, .nc-tab-shell, .fn-workbench-nav, .hr-workbench-nav) :is(.nc-tabbar, .fn-main-nav, .hr-main-nav) > a.is-active {
    background: transparent;
    box-shadow: inset 0 -3px 0 #9fd0d1;
}

.nc-workbench-panel > :is(.fn-workbench-nav, .hr-workbench-nav, .nc-finance-section-context) :is(.fn-workbench-context, .hr-workbench-context) {
    border-radius: 0;
}

.nc-workbench-surface {
    display: grid;
    gap: 0;
    padding-top: 12px;
    min-width: 0;
}

.nc-workbench-surface > * + * {
    border-top: 1px solid rgba(41, 81, 87, .08);
    margin-top: 18px;
    padding-top: 18px;
}

.dark .nc-workbench-surface > * + * {
    border-top-color: rgba(255, 255, 255, .08);
}

.nc-workbench-surface :is(
    .sales-card.sales-section,
    .sales-section.sales-pipeline-compact,
    .crm-card.crm-section,
    .inst-card.inst-section,
    .fn-panel,
    .hr-panel,
    .dl-section,
    .bm-section,
    .module-panel,
    .proc-card:not(.proc-kpi),
    .nc-filter-panel:not(.is-flat),
    .nc-report-filter
) {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding-left: 0;
    padding-right: 0;
}

.nc-workbench-surface :is(
    .sales-card.sales-kpi,
    .crm-card.crm-kpi,
    .inst-card.inst-kpi,
    .proc-card.proc-kpi,
    .module-stat,
    .nc-settings-card,
    .fn-mini-stat,
    .hr-mini-stat,
    .fn-alert-card,
    .hr-alert-card,
    .nc-kpi-card
) {
    box-shadow: none !important;
    border-color: rgba(41, 81, 87, .08) !important;
    background: rgba(41, 81, 87, .03) !important;
}

.dark .nc-workbench-surface :is(
    .sales-card.sales-kpi,
    .crm-card.crm-kpi,
    .inst-card.inst-kpi,
    .proc-card.proc-kpi,
    .module-stat,
    .nc-settings-card,
    .fn-mini-stat,
    .hr-mini-stat,
    .fn-alert-card,
    .hr-alert-card,
    .nc-kpi-card
) {
    border-color: rgba(255, 255, 255, .08) !important;
    background: rgba(255, 255, 255, .04) !important;
}

.nc-workbench-surface .sales-module-card {
    background: rgba(41, 81, 87, .04) !important;
}

.nc-workbench-surface :is(
    .sales-row,
    .sales-order-stat,
    .crm-row,
    .crm-mini,
    .inst-row,
    .module-action-compact,
    .fn-click-card,
    .hr-click-card,
    .fn-due-row,
    .hr-data-row,
    .em-top-item
) {
    background: rgba(41, 81, 87, .03);
    border-color: rgba(41, 81, 87, .07);
    box-shadow: none;
}

.dark .nc-workbench-surface :is(
    .sales-row,
    .sales-order-stat,
    .crm-row,
    .crm-mini,
    .inst-row,
    .module-action-compact,
    .fn-click-card,
    .hr-click-card,
    .fn-due-row,
    .hr-data-row,
    .em-top-item
) {
    background: rgba(255, 255, 255, .04);
    border-color: rgba(255, 255, 255, .07);
}

.nc-workbench-surface .sales-pipeline-stage {
    background: rgba(41, 81, 87, .035);
    border-color: rgba(41, 81, 87, .08);
    box-shadow: none;
}

.dark .nc-workbench-surface .sales-pipeline-stage {
    background: rgba(255, 255, 255, .04);
    border-color: rgba(255, 255, 255, .08);
}

.nc-workbench-surface .sales-pipeline-lead {
    background: rgba(255, 255, 255, .72);
    border-color: rgba(41, 81, 87, .07);
    box-shadow: none;
}

.dark .nc-workbench-surface .sales-pipeline-lead {
    background: rgba(255, 255, 255, .05);
    border-color: rgba(255, 255, 255, .07);
}

/* Filament listák: fül + táblázat egy panelben */
.fi-resource-list-records-page .fi-page-content:has(.module-subnav-wrap, .nc-list-module-nav) {
    background: rgba(255, 255, 255, .94);
    border: 1px solid rgba(41, 81, 87, .12);
    border-radius: 22px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, .06);
    overflow: hidden;
    padding: 0;
}

.dark .fi-resource-list-records-page .fi-page-content:has(.module-subnav-wrap, .nc-list-module-nav) {
    background: rgba(30, 30, 34, .94);
    border-color: rgba(255, 255, 255, .1);
    box-shadow: none;
}

.fi-resource-list-records-page .fi-page-content:has(.module-subnav-wrap) .module-subnav-wrap.nc-tab-shell {
    border: none !important;
    box-shadow: none !important;
    border-radius: 0;
    background: transparent;
}

.fi-resource-list-records-page .fi-page-content:has(.module-subnav-wrap) .fi-ta,
.fi-resource-list-records-page .fi-page-content:has(.module-subnav-wrap) .fi-ta .fi-ta-ctn {
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
    border-radius: 0 !important;
}

.fi-resource-list-records-page .fi-page-content:has(.module-subnav-wrap) .fi-ta .fi-ta-filters-above-content-ctn {
    border-top: 1px solid rgba(41, 81, 87, .08);
    margin-top: 0;
    padding-top: 12px;
}

.dark .fi-resource-list-records-page .fi-page-content:has(.module-subnav-wrap) .fi-ta .fi-ta-filters-above-content-ctn {
    border-top-color: rgba(255, 255, 255, .08);
}

.nc-tab-shell {
    overflow: hidden;
    min-width: 0;
}

.nc-workbench-panel > .nc-tab-shell .nc-tabbar-primary,
.nc-workbench-panel > nav.nc-tabbar-primary {
    border-radius: 22px 22px 0 0;
}

.nc-tabbar-secondary-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    padding: 8px 14px 10px;
    border-top: 1px solid rgba(41, 81, 87, .1);
    background: rgba(251, 251, 253, .82);
}

.dark .nc-tabbar-secondary-wrap {
    background: rgba(24, 24, 27, .82);
    border-top-color: rgba(255, 255, 255, .08);
}

.nc-tabbar-secondary-label {
    flex: 0 0 auto;
    color: #6e6e73;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .05em;
    text-transform: uppercase;
    white-space: nowrap;
}

.dark .nc-tabbar-secondary-label {
    color: #a8a8b3;
}

.nc-tabbar-secondary {
    display: flex;
    flex: 1 1 auto;
    flex-wrap: wrap;
    gap: 2px 4px;
    align-items: center;
    overflow-x: auto;
    padding: 0;
    background: transparent;
    border: 0;
    -webkit-overflow-scrolling: touch;
}

.nc-tabbar-secondary > a,
.nc-tabbar-secondary > button {
    flex: 0 0 auto;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 0;
    background: transparent;
    border-radius: 999px;
    padding: 7px 11px;
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    color: #6e6e73;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: color .18s ease, background .18s ease;
}

.nc-tabbar-secondary > a:hover,
.nc-tabbar-secondary > button:hover {
    color: #295157;
    background: rgba(41, 81, 87, .06);
}

.nc-tabbar-secondary > a.is-active,
.nc-tabbar-secondary > button.is-active {
    color: #295157;
    font-weight: 900;
    background: rgba(41, 81, 87, .1);
}

.dark .nc-tabbar-secondary > a,
.dark .nc-tabbar-secondary > button {
    color: #a8a8b3;
}

.dark .nc-tabbar-secondary > a:hover,
.dark .nc-tabbar-secondary > button:hover,
.dark .nc-tabbar-secondary > a.is-active,
.dark .nc-tabbar-secondary > button.is-active {
    color: #e8f6f6;
    background: rgba(159, 208, 209, .1);
}

.nc-nav-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 0 var(--nc-tabbar-pad-x);
    border-top: 1px solid rgba(41, 81, 87, .1);
    background: rgba(251, 251, 253, .82);
    min-height: var(--nc-tabbar-height);
}

.dark .nc-nav-actions {
    background: rgba(24, 24, 27, .82);
    border-top-color: rgba(255, 255, 255, .08);
}

.nc-nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border: 1px solid rgba(41, 81, 87, .14);
    border-radius: 999px;
    background: rgba(255, 255, 255, .88);
    color: #295157;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: border-color .18s ease, background .18s ease, color .18s ease;
}

.nc-nav-btn:hover {
    border-color: rgba(41, 81, 87, .28);
    background: rgba(41, 81, 87, .06);
}

.nc-nav-btn.is-active {
    background: rgba(41, 81, 87, .1);
    border-color: rgba(41, 81, 87, .24);
    color: #295157;
    font-weight: 900;
}

.nc-nav-btn-primary {
    background: #295157;
    border-color: #295157;
    color: #fff;
}

.nc-nav-btn-primary:hover {
    background: #3a666d;
    border-color: #3a666d;
    color: #fff;
}

.dark .nc-nav-btn {
    background: rgba(39, 39, 42, .88);
    border-color: rgba(255, 255, 255, .11);
    color: #d7e3e4;
}

.dark .nc-nav-btn.is-active {
    background: rgba(159, 208, 209, .12);
    border-color: rgba(159, 208, 209, .24);
    color: #e8f6f6;
}

.dark .nc-nav-btn-primary {
    background: #3a666d;
    border-color: #3a666d;
    color: #fff;
}

.nc-tabbar,
.lead-tabbar,
nav.module-subnav,
nav.hr-main-nav,
nav.fn-main-nav,
.crm-viewbar.nc-tabbar {
    display: flex;
    gap: 2px;
    align-items: stretch;
    min-height: var(--nc-tabbar-height);
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0;
    background: linear-gradient(180deg, rgba(251, 251, 253, .98) 0%, rgba(255, 255, 255, .92) 100%);
    border-bottom: 2px solid rgba(41, 81, 87, .12);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

.dark .nc-tabbar,
.dark .lead-tabbar,
.dark nav.module-subnav,
.dark nav.hr-main-nav,
.dark nav.fn-main-nav,
.dark .crm-viewbar.nc-tabbar {
    background: linear-gradient(180deg, rgba(30, 30, 34, .98) 0%, rgba(24, 24, 27, .95) 100%);
    border-bottom-color: rgba(255, 255, 255, .1);
}

.nc-tabbar-item,
.lead-tabbar-item,
.nc-tabbar > a,
.nc-tabbar-primary > a,
.nc-tabbar > button,
.lead-tabbar > button,
.module-subnav > a,
.hr-main-nav > a,
.fn-main-nav > a,
.crm-viewbar.nc-tabbar > a,
.nc-report-tabs.nc-tabbar > a {
    flex: 0 0 auto;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: var(--nc-tabbar-height);
    border: 0;
    background: transparent;
    border-radius: 0;
    padding: 0 var(--nc-tabbar-pad-x);
    font: inherit;
    font-size: var(--nc-tabbar-font-size);
    font-weight: var(--nc-tabbar-weight);
    letter-spacing: -.01em;
    color: #6e6e73;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: color .18s ease, background .18s ease;
}

.nc-tabbar-item::after,
.lead-tabbar-item::after,
.nc-tabbar > a::after,
.nc-tabbar > button::after,
.lead-tabbar > button::after,
.module-subnav > a::after,
.hr-main-nav > a::after,
.fn-main-nav > a::after,
.crm-viewbar.nc-tabbar > a::after,
.nc-report-tabs.nc-tabbar > a::after {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: -2px;
    height: 3px;
    border-radius: 999px 999px 0 0;
    background: transparent;
    transition: background .18s ease, height .18s ease, box-shadow .18s ease;
}

.nc-tabbar-item:hover,
.lead-tabbar-item:hover,
.nc-tabbar > a:hover,
.nc-tabbar > button:hover,
.lead-tabbar > button:hover,
.module-subnav > a:hover,
.hr-main-nav > a:hover,
.fn-main-nav > a:hover,
.crm-viewbar.nc-tabbar > a:hover,
.nc-report-tabs.nc-tabbar > a:hover {
    color: #295157;
    background: rgba(41, 81, 87, .04);
}

.nc-tabbar-item.is-active,
.lead-tabbar-item.is-active,
.nc-tabbar > a.is-active,
.nc-tabbar > a.active,
.nc-tabbar > button.is-active,
.lead-tabbar > button.is-active,
.module-subnav > a.is-active,
.hr-main-nav > a.is-active,
.fn-main-nav > a.is-active,
.crm-viewbar.nc-tabbar > a.is-active,
.nc-report-tabs.nc-tabbar > a.active {
    color: #295157;
    font-weight: var(--nc-tabbar-active-weight);
    background: rgba(41, 81, 87, .07);
}

.nc-tabbar-item.is-active::after,
.lead-tabbar-item.is-active::after,
.nc-tabbar > a.is-active::after,
.nc-tabbar > a.active::after,
.nc-tabbar > button.is-active::after,
.lead-tabbar > button.is-active::after,
.module-subnav > a.is-active::after,
.hr-main-nav > a.is-active::after,
.fn-main-nav > a.is-active::after,
.crm-viewbar.nc-tabbar > a.is-active::after,
.nc-report-tabs.nc-tabbar > a.active::after {
    background: linear-gradient(90deg, #295157, #3a666d);
    height: 4px;
    box-shadow: 0 2px 10px rgba(41, 81, 87, .35);
}

.dark .nc-tabbar-item,
.dark .lead-tabbar-item,
.dark .nc-tabbar > a,
.dark .nc-tabbar > button,
.dark .lead-tabbar > button,
.dark .module-subnav > a,
.dark .hr-main-nav > a,
.dark .fn-main-nav > a,
.dark .crm-viewbar.nc-tabbar > a,
.dark .nc-report-tabs.nc-tabbar > a {
    color: #a8a8b3;
}

.dark .nc-tabbar-item:hover,
.dark .lead-tabbar-item:hover,
.dark .nc-tabbar > a:hover,
.dark .module-subnav > a:hover,
.dark .hr-main-nav > a:hover,
.dark .fn-main-nav > a:hover {
    color: #d4f0f1;
    background: rgba(255, 255, 255, .04);
}

.dark .nc-tabbar-item.is-active,
.dark .lead-tabbar-item.is-active,
.dark .nc-tabbar > a.is-active,
.dark .nc-tabbar > a.active,
.dark .module-subnav > a.is-active,
.dark .hr-main-nav > a.is-active,
.dark .fn-main-nav > a.is-active,
.dark .crm-viewbar.nc-tabbar > a.is-active,
.dark .nc-report-tabs.nc-tabbar > a.active {
    color: #e8f6f6;
    background: rgba(159, 208, 209, .08);
}

.dark .nc-tabbar-item.is-active::after,
.dark .lead-tabbar-item.is-active::after,
.dark .nc-tabbar > a.is-active::after,
.dark .module-subnav > a.is-active::after,
.dark .hr-main-nav > a.is-active::after,
.dark .fn-main-nav > a.is-active::after {
    background: linear-gradient(90deg, #9fd0d1, #6fb3b5);
    box-shadow: 0 2px 10px rgba(159, 208, 209, .25);
}

.nc-tabbar-badge,
.module-subnav-badge,
.hr-main-nav-badge,
.fn-main-nav-badge,
.crm-viewbar .crm-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    max-height: 20px;
    padding: 1px 6px;
    border-radius: 999px;
    background: rgba(198, 163, 91, .18);
    color: #755f22;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.2;
}

.nc-tabbar-item.is-active .nc-tabbar-badge,
.module-subnav > a.is-active .module-subnav-badge,
.hr-main-nav > a.is-active .hr-main-nav-badge,
.fn-main-nav > a.is-active .fn-main-nav-badge,
.crm-viewbar.nc-tabbar > a.is-active .crm-count {
    background: rgba(41, 81, 87, .12);
    color: #295157;
}

.dark .nc-tabbar-item.is-active .nc-tabbar-badge,
.dark .module-subnav > a.is-active .module-subnav-badge,
.dark .hr-main-nav > a.is-active .hr-main-nav-badge,
.dark .fn-main-nav > a.is-active .fn-main-nav-badge {
    background: rgba(159, 208, 209, .16);
    color: #d4f0f1;
}

.hr-workbench-nav,
.fn-workbench-nav {
    display: grid;
    gap: 0;
    overflow: visible;
    min-width: 0;
    border: none;
    box-shadow: none;
    background: transparent;
    border-radius: 0;
}

.dark .hr-workbench-nav,
.dark .fn-workbench-nav {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
}

.hr-workbench-nav .nc-tabbar-row,
.fn-workbench-nav .nc-tabbar-row {
    border: none;
    box-shadow: none;
    border-radius: 22px 22px 0 0;
}

.hr-workbench-nav .hr-main-nav,
.fn-workbench-nav .fn-main-nav {
    border: none;
    box-shadow: none;
    background: transparent;
    border-radius: 0;
}

.hr-workbench-nav:not(:has(.nc-nav-actions)) .nc-tabbar-row,
.fn-workbench-nav:not(:has(.nc-nav-actions)) .nc-tabbar-row {
    border-radius: 22px 22px 0 0;
}

.hr-workbench-context,
.fn-workbench-context {
    border-top: 1px solid rgba(41, 81, 87, .1);
    background: rgba(251, 251, 253, .72);
    border-radius: 0 0 22px 22px;
}

.dark .hr-workbench-context,
.dark .fn-workbench-context {
    background: rgba(24, 24, 27, .72);
    border-top-color: rgba(255, 255, 255, .08);
}

.nc-tabbar-secondary,
.hr-context-links,
.fn-context-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 0;
    min-width: 0;
}

.nc-tabbar-secondary a,
.hr-context-links a,
.fn-context-links a {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 10px;
    border: 0;
    background: transparent;
    color: #6e6e73;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.nc-tabbar-secondary a:hover,
.hr-context-links a:hover,
.fn-context-links a:hover {
    color: #295157;
}

.nc-tabbar-secondary a.is-active,
.hr-context-links a.is-active,
.fn-context-links a.is-active {
    color: #295157;
    font-weight: 900;
    text-decoration: underline;
    text-underline-offset: 3px;
}

@media (max-width: 760px) {
    .nc-tabbar-row {
        height: 40px;
        min-height: 40px;
    }

    .fi-resource-list-records-page .fi-page-content:has(.module-subnav-wrap) .module-subnav-wrap .nc-tabbar-row .nc-tabbar > a,
    .module-subnav-wrap .nc-tabbar-row .nc-tabbar > a {
        min-height: 40px !important;
    }

    .nc-tabbar,
    .lead-tabbar,
    nav.module-subnav,
    nav.hr-main-nav,
    nav.fn-main-nav {
        padding: 0 10px;
    }

    .nc-tabbar-item,
    .lead-tabbar-item,
    .module-subnav > a,
    .hr-main-nav > a,
    .fn-main-nav > a,
    .nc-tabbar > a,
    .nc-tabbar > button {
        padding: 0 12px;
        font-size: 12px;
    }
}

.nc-kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(185px, 1fr));
    gap: 10px;
}

.nc-kpi-card,
.nc-panel,
.nc-mini-card {
    border: 1px solid var(--nc-border);
    border-radius: 22px;
    background: rgba(255, 255, 255, .9);
    box-shadow: var(--nc-shadow-soft);
}

.nc-kpi-card {
    min-width: 0;
    padding: 14px 16px;
}

a.nc-kpi-card,
.nc-kpi-card.nc-clickable {
    position: relative;
    display: block;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
    transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}

a.nc-kpi-card::after,
.nc-kpi-card.nc-clickable::after {
    content: "→";
    position: absolute;
    top: 12px;
    right: 14px;
    color: var(--nc-muted);
    font-weight: 900;
}

a.nc-kpi-card:hover,
.nc-kpi-card.nc-clickable:hover {
    transform: translateY(-1px);
    border-color: rgba(41, 81, 87, .32);
    box-shadow: 0 20px 44px rgba(15, 23, 42, .1);
}

a.nc-kpi-card.active {
    border-color: rgba(41, 81, 87, .38);
    background: linear-gradient(180deg, rgba(246, 248, 246, .98), rgba(255, 255, 255, .94));
    box-shadow: 0 18px 42px rgba(41, 81, 87, .12);
}

a.nc-kpi-card.active::after {
    color: var(--nc-green);
}

.nc-clickable-row {
    cursor: pointer;
}

.nc-clickable-row:hover td {
    background: rgba(41, 81, 87, .045);
}

.nc-kpi-card span,
.nc-mini-card span,
.nc-panel small,
.nc-list-row small,
.nc-table small {
    color: var(--nc-muted);
}

.nc-kpi-card strong {
    display: block;
    margin-top: 5px;
    color: var(--nc-text);
    font-size: 24px;
    line-height: 1.1;
    letter-spacing: -.02em;
}

.nc-kpi-card small {
    display: block;
    margin-top: 5px;
    color: var(--nc-muted);
    font-size: 12px;
    font-weight: 700;
}

.nc-two-col {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr);
    gap: 14px;
    align-items: start;
    min-width: 0;
}

.sales-desk,
.sales-grid,
.sales-stack,
.sales-card,
.sales-row,
.nc-dashboard,
.nc-grid-main,
.nc-stack,
.nc-card {
    min-width: 0 !important;
    max-width: 100% !important;
}

.sales-grid,
.nc-grid-main {
    grid-template-columns: minmax(0, 1.6fr) minmax(300px, .75fr) !important;
}

.sales-grid > aside .sales-row {
    grid-template-columns: minmax(0, 1fr) !important;
}

.sales-row strong,
.sales-row span,
.nc-alert,
.nc-list-row,
.nc-card {
    overflow-wrap: anywhere;
}

.nc-panel,
.nc-table,
.bd-table,
.fi-ta-table {
    word-break: normal !important;
    overflow-wrap: normal !important;
}

.nc-cell-nowrap,
.nc-table .nc-nowrap,
.bd-table .bd-nowrap {
    min-width: max-content;
    white-space: nowrap !important;
}

.nc-cell-title,
.nc-table .nc-title-cell,
.bd-table .bd-title-cell {
    min-width: 180px;
    max-width: 360px;
    white-space: normal !important;
    word-break: normal !important;
}

.nc-panel {
    min-width: 0;
    padding: 16px;
}

.nc-panel h2,
.nc-panel-head h2 {
    margin: 0;
    color: var(--nc-text);
    font-size: 18px;
    font-weight: 850;
    letter-spacing: -.01em;
}

.nc-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.nc-panel-head a,
.nc-link {
    color: var(--nc-green);
    font-size: 13px;
    font-weight: 850;
    text-decoration: none;
    white-space: nowrap;
}

.nc-table {
    border-collapse: separate;
    border-spacing: 0;
    table-layout: auto;
}

.nc-table th,
.nc-table td {
    padding: 10px 12px;
    border-bottom: 1px solid rgba(41, 81, 87, .08);
    text-align: left;
    vertical-align: middle;
    color: var(--nc-text);
    word-break: normal;
    overflow-wrap: normal;
}

.nc-table th {
    color: var(--nc-muted);
    font-size: 12px;
    font-weight: 850;
}

.nc-table td {
    font-size: 13px;
}

.nc-line-clamp {
    display: -webkit-box;
    max-width: 340px;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.nc-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(41, 81, 87, .08);
    color: var(--nc-green);
    font-size: 11px;
    font-weight: 850;
    white-space: nowrap;
}

.nc-badge.success { background: rgba(16, 185, 129, .12); color: #047857; }
.nc-badge.warn { background: rgba(245, 158, 11, .14); color: #92400e; }
.nc-badge.danger { background: rgba(244, 63, 94, .12); color: #be123c; }
.nc-badge.info { background: rgba(59, 130, 246, .1); color: #1d4ed8; }

.nc-mini-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
}

.nc-mini-card {
    padding: 12px;
}

.nc-mini-card strong {
    display: block;
    margin-top: 4px;
    color: var(--nc-text);
    font-size: 20px;
}

.nc-empty {
    padding: 18px;
    border: 1px dashed rgba(41, 81, 87, .2);
    border-radius: 16px;
    color: var(--nc-muted) !important;
    text-align: center !important;
}

/* Egységes szűrő panel (workbench / modul oldalak) */
.nc-filter-panel {
    display: grid;
    gap: 0;
    padding: 14px 16px;
    border: 1px solid var(--nc-border);
    border-radius: 18px;
    background: rgba(255, 255, 255, .94);
    box-shadow: var(--nc-shadow-soft);
}

.dark .nc-filter-panel {
    background: rgba(24, 24, 27, .94);
}

.nc-filter-panel.is-flat {
    border: 0;
    border-radius: 0;
    box-shadow: none;
    padding: 14px 18px;
    border-bottom: 1px solid rgb(241 245 249);
    background: transparent;
}

.nc-panel > .nc-filter-panel.is-flat {
    margin: 0 0 12px;
    padding: 0 0 14px;
}

.dark .nc-filter-panel.is-flat {
    border-bottom-color: rgb(63 63 70);
}

.nc-filter-form {
    display: grid;
    gap: 14px;
}

.nc-filter-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgb(241 245 249);
}

.dark .nc-filter-top {
    border-bottom-color: rgb(63 63 70);
}

.nc-filter-title {
    margin: 0;
    font-size: 16px;
    font-weight: 900;
    color: var(--nc-text);
}

.nc-filter-lead {
    margin: 4px 0 0;
    color: var(--nc-muted);
    font-size: 13px;
    line-height: 1.4;
}

.nc-filter-presets {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.nc-filter-preset {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 11px;
    border: 1px solid transparent;
    border-radius: 999px;
    background: rgb(248 250 252);
    color: rgb(71 85 105);
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: background .14s ease, color .14s ease;
}

.nc-filter-preset:hover {
    background: rgba(41, 81, 87, .08);
    color: rgb(41 81 87);
}

.nc-filter-preset.is-active {
    background: rgba(41, 81, 87, .12);
    color: rgb(41 81 87);
    font-weight: 800;
}

.dark .nc-filter-preset {
    background: rgb(39 39 42);
    color: rgb(203 213 225);
}

.dark .nc-filter-preset.is-active {
    background: rgba(70, 98, 101, .35);
    color: rgb(226 232 240);
}

.nc-filter-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 10px 12px;
}

.nc-filter-field {
    display: grid;
    gap: 5px;
    flex: 0 0 auto;
    width: fit-content;
    max-width: 100%;
}

.nc-filter-label {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--nc-muted);
    line-height: 1.2;
}

.nc-filter-control {
    display: flex;
    align-items: center;
    min-height: 38px;
    padding: 0 11px;
    border: 1px solid var(--nc-border);
    border-radius: 11px;
    background: #fff;
    color: var(--nc-text);
    box-sizing: border-box;
    transition: border-color .14s ease;
}

.nc-filter-control:focus-within {
    border-color: rgba(41, 81, 87, .38);
}

.nc-filter-control.is-autocomplete {
    position: relative;
    overflow: visible;
    z-index: 90;
}

.dark .nc-filter-control {
    background: rgb(24 24 27);
    border-color: rgb(63 63 70);
    color: rgb(248 250 252);
}

.nc-filter-control input:not([type="checkbox"]),
.nc-filter-control select,
.nc-filter-control textarea {
    width: 100%;
    min-height: 36px;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font-size: 13px;
    font-weight: 600;
    box-sizing: border-box;
    outline: none;
}

.nc-filter-control select {
    appearance: none;
    padding-right: 24px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%2394A3B8' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0 center;
    cursor: pointer;
}

.nc-filter-control input[type="month"],
.nc-filter-control input[type="date"] {
    cursor: pointer;
}

.nc-filter-field--period .nc-filter-control { min-width: 10.5rem; }
.nc-filter-field--user .nc-filter-control { min-width: 11.5rem; }
.nc-filter-field--module .nc-filter-control { min-width: 12.5rem; }
.nc-filter-field--type .nc-filter-control { min-width: 14rem; }
.nc-filter-field--unit .nc-filter-control { min-width: 10.5rem; }
.nc-filter-field--direction .nc-filter-control { min-width: 10rem; }
.nc-filter-field--payment .nc-filter-control { min-width: 11.5rem; }
.nc-filter-field--partner .nc-filter-control { min-width: 14rem; }
.nc-filter-field--amount .nc-filter-control { min-width: 10.5rem; }
.nc-filter-field--search .nc-filter-control { min-width: 16rem; }
.nc-filter-field--year .nc-filter-control { min-width: 6.5rem; }
.nc-filter-field--month .nc-filter-control { min-width: 6.5rem; }

.nc-filter-foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 12px;
    border-top: 1px solid rgb(241 245 249);
}

.dark .nc-filter-foot {
    border-top-color: rgb(63 63 70);
}

.nc-filter-options {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.nc-filter-option {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 34px;
    padding: 0 11px;
    border: 1px solid var(--nc-border);
    border-radius: 999px;
    background: #fff;
    color: var(--nc-text);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    user-select: none;
    transition: border-color .14s ease, background .14s ease;
}

.nc-filter-option:has(input:checked) {
    border-color: rgba(41, 81, 87, .28);
    background: rgba(41, 81, 87, .06);
    color: rgb(41 81 87);
}

.dark .nc-filter-option {
    background: rgb(24 24 27);
    border-color: rgb(63 63 70);
}

.dark .nc-filter-option:has(input:checked) {
    background: rgba(70, 98, 101, .22);
    color: rgb(226 232 240);
}

.nc-filter-checkbox {
    width: 15px;
    height: 15px;
    margin: 0;
    flex: 0 0 15px;
    accent-color: rgb(41 81 87);
    cursor: pointer;
}

.nc-filter-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.nc-filter-submit {
    min-height: 34px;
    padding: 0 16px;
    border: 0;
    border-radius: 999px;
    background: rgb(41 81 87);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
}

.nc-filter-submit:hover {
    background: rgb(31 61 66);
}

.nc-filter-reset,
.nc-filter-actions .nc-filter-reset {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--nc-muted);
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}

.nc-filter-reset:hover {
    color: rgb(41 81 87);
    background: rgba(41, 81, 87, .06);
}

.nc-active-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.nc-filter-chip,
.nc-active-filters span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 28px;
    padding: 0 9px;
    border-radius: 999px;
    background: rgba(41, 81, 87, .07);
    color: rgb(41 81 87);
    font-size: 11px;
    font-weight: 800;
    text-decoration: none;
}

.nc-filter-chip em {
    color: var(--nc-muted);
    font-style: normal;
    font-weight: 900;
}

.nc-filter-details {
    width: 100%;
    border: 1px solid rgba(41, 81, 87, .1);
    border-radius: 16px;
    padding: 10px 12px;
    background: rgba(251, 251, 253, .74);
}

.nc-filter-details summary {
    cursor: pointer;
    color: var(--nc-muted);
    font-size: 12px;
    font-weight: 850;
}

.nc-filter-details .nc-filter-grid {
    margin-top: 10px;
}

@media (max-width: 900px) {
    .nc-filter-grid { gap: 10px; }
    .nc-filter-field { width: 100%; max-width: 100%; }
    .nc-filter-field .nc-filter-control { width: 100%; min-width: 0 !important; }
    .nc-filter-foot { flex-direction: column; align-items: stretch; }
    .nc-filter-actions { margin-left: 0; width: 100%; }
}

@media (max-width: 560px) {
    .nc-filter-top { flex-direction: column; align-items: flex-start; }
    .nc-filter-presets { gap: 5px; }
    .nc-filter-submit,
    .nc-filter-reset { flex: 1; justify-content: center; }
}

/* Filament táblázat felső szűrői – nc-filter-panel kinézet (lapos, a táblázat kártyáján belül) */
.fi-ta .fi-ta-ctn {
    background: transparent !important;
    box-shadow: none !important;
    --tw-ring-offset-shadow: 0 0 #0000 !important;
    --tw-ring-shadow: 0 0 #0000 !important;
    --tw-shadow: 0 0 #0000 !important;
}

.fi-ta .fi-ta-filters-above-content-ctn {
    margin: 0;
    padding: 16px 18px 14px !important;
    border: 0 !important;
    border-radius: 0 !important;
    border-bottom: 1px solid rgb(241 245 249) !important;
    background: transparent !important;
    box-shadow: none !important;
}

.dark .fi-ta .fi-ta-filters-above-content-ctn {
    background: transparent !important;
    border-bottom-color: rgb(63 63 70) !important;
}

.fi-ta .fi-ta-filters-above-content-ctn .fi-ta-filters {
    display: grid;
    gap: 12px;
}

.fi-ta .fi-ta-filters-above-content-ctn .fi-ta-filters-header {
    align-items: center;
    gap: 12px;
    padding-bottom: 0;
    border-bottom: 0;
}

.fi-ta .fi-ta-filters-above-content-ctn .fi-ta-filters-heading {
    margin: 0;
    font-size: 16px;
    font-weight: 900;
    letter-spacing: -.01em;
    color: var(--nc-text) !important;
}

.fi-ta .fi-ta-filters-above-content-ctn .fi-ta-filters-header .fi-link,
.fi-ta .fi-ta-filters-above-content-ctn .fi-ta-filters-header button {
    min-height: 34px;
    padding: 0 12px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: transparent !important;
    color: var(--nc-muted) !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    box-shadow: none !important;
}

.fi-ta .fi-ta-filters-above-content-ctn .fi-ta-filters-header .fi-link:hover,
.fi-ta .fi-ta-filters-above-content-ctn .fi-ta-filters-header button:hover {
    color: rgb(41 81 87) !important;
    background: rgba(41, 81, 87, .06) !important;
}

.fi-ta .fi-ta-filters-above-content-ctn .fi-ta-filters-actions-ctn {
    display: none;
}

.fi-ta .fi-ta-filters-above-content-ctn .nc-filament-filter-selects > .fi-sc.fi-grid {
    display: flex !important;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 10px 12px;
    padding-top: 2px;
}

.fi-ta .fi-ta-filters-above-content-ctn .nc-filament-filter-toggles {
    display: grid;
    gap: 8px;
    padding-top: 10px;
    margin-top: 2px;
    border-top: 1px solid rgb(241 245 249);
}

.dark .fi-ta .fi-ta-filters-above-content-ctn .nc-filament-filter-toggles {
    border-top-color: rgb(63 63 70);
}

.fi-ta .fi-ta-filters-above-content-ctn .nc-filament-filter-toggles::before {
    content: 'Gyors szűrők';
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--nc-muted);
    line-height: 1.2;
}

.fi-ta .fi-ta-filters-above-content-ctn .nc-filament-filter-toggles > .fi-sc.fi-grid {
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.fi-ta .fi-ta-filters-above-content-ctn .nc-filament-filter-selects .fi-grid-col {
    flex: 0 0 auto;
    width: fit-content;
    max-width: 100%;
}

.fi-ta .fi-ta-filters-above-content-ctn .nc-filament-filter-selects .fi-grid-col:nth-child(1) .fi-fo-field { min-width: 12.5rem; }
.fi-ta .fi-ta-filters-above-content-ctn .nc-filament-filter-selects .fi-grid-col:nth-child(2) .fi-fo-field { min-width: 14rem; }
.fi-ta .fi-ta-filters-above-content-ctn .nc-filament-filter-selects .fi-grid-col:nth-child(3) .fi-fo-field { min-width: 14rem; }
.fi-ta .fi-ta-filters-above-content-ctn .nc-filament-filter-selects .fi-grid-col:nth-child(4) .fi-fo-field { min-width: 12rem; }

.fi-ta .fi-ta-filters-above-content-ctn .nc-filament-filter-selects .fi-fo-field {
    display: grid;
    gap: 5px;
}

.fi-ta .fi-ta-filters-above-content-ctn .nc-filament-filter-selects .fi-fo-field-label-col,
.fi-ta .fi-ta-filters-above-content-ctn .nc-filament-filter-selects .fi-fo-field-content-col {
    width: 100%;
}

.fi-ta .fi-ta-filters-above-content-ctn .nc-filament-filter-selects .fi-fo-field-label {
    margin: 0;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--nc-muted) !important;
}

.fi-ta .fi-ta-filters-above-content-ctn .nc-filament-filter-selects .fi-fo-field-label-content {
    font-size: inherit;
    font-weight: inherit;
    letter-spacing: inherit;
    text-transform: inherit;
    color: inherit;
}

.fi-ta .fi-ta-filters-above-content-ctn .nc-filament-filter-selects .fi-input-wrp {
    min-height: 38px;
    padding: 0 11px;
    border: 1px solid var(--nc-border) !important;
    border-radius: 11px !important;
    background: #fff !important;
    box-shadow: none !important;
}

.dark .fi-ta .fi-ta-filters-above-content-ctn .nc-filament-filter-selects .fi-input-wrp {
    background: rgb(24 24 27) !important;
    border-color: rgb(63 63 70) !important;
}

.fi-ta .fi-ta-filters-above-content-ctn .nc-filament-filter-selects .fi-input-wrp:focus-within {
    border-color: rgba(41, 81, 87, .38) !important;
    box-shadow: none !important;
}

.fi-ta .fi-ta-filters-above-content-ctn .nc-filament-filter-selects .fi-fo-select-native .fi-select-input {
    min-height: 36px;
    padding: 0 24px 0 0;
    border: 0;
    background-color: transparent !important;
    font-size: 13px;
    font-weight: 600;
    color: var(--nc-text) !important;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%2394A3B8' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0 center;
    cursor: pointer;
}

.fi-ta .fi-ta-filters-above-content-ctn .nc-filament-filter-selects .fi-fo-select:not(.fi-fo-select-native) .fi-select-input {
    display: block;
    width: 100%;
    min-height: 0;
    padding: 0;
    border: 0;
    background: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
}

.fi-ta .fi-ta-filters-above-content-ctn .nc-filament-filter-selects .fi-fo-select:not(.fi-fo-select-native) .fi-select-input-ctn,
.fi-ta .fi-ta-filters-above-content-ctn .nc-filament-filter-selects .fi-fo-select:not(.fi-fo-select-native) .fi-select-input-btn {
    width: 100%;
    min-height: 36px;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.fi-ta .fi-ta-filters-above-content-ctn .nc-filament-filter-selects .fi-fo-select:not(.fi-fo-select-native) .fi-select-input-btn {
    padding: 0;
    color: var(--nc-text);
    text-align: left;
    cursor: pointer;
}

.fi-ta .fi-ta-filters-above-content-ctn .nc-filament-filter-selects .fi-fo-select:not(.fi-fo-select-native) .fi-select-input-value-ctn {
    display: flex;
    align-items: center;
    min-height: 36px;
    width: 100%;
    padding-right: 22px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%2394A3B8' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0 center;
}

.fi-ta .fi-ta-filters-above-content-ctn .nc-filament-filter-selects .fi-fo-select:not(.fi-fo-select-native) .fi-select-input-value-label,
.fi-ta .fi-ta-filters-above-content-ctn .nc-filament-filter-selects .fi-fo-select:not(.fi-fo-select-native) .fi-select-input-placeholder {
    color: var(--nc-text) !important;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fi-ta .fi-ta-filters-above-content-ctn .nc-filament-filter-selects .fi-fo-select:not(.fi-fo-select-native) .fi-select-input-placeholder {
    color: var(--nc-muted) !important;
    font-weight: 500;
}

.dark .fi-ta .fi-ta-filters-above-content-ctn .nc-filament-filter-selects .fi-fo-select-native .fi-select-input {
    color: rgb(248 250 252) !important;
}

.dark .fi-ta .fi-ta-filters-above-content-ctn .nc-filament-filter-selects .fi-fo-select:not(.fi-fo-select-native) .fi-select-input-btn,
.dark .fi-ta .fi-ta-filters-above-content-ctn .nc-filament-filter-selects .fi-fo-select:not(.fi-fo-select-native) .fi-select-input-value-label,
.dark .fi-ta .fi-ta-filters-above-content-ctn .nc-filament-filter-selects .fi-fo-select:not(.fi-fo-select-native) .fi-select-input-placeholder {
    color: rgb(248 250 252) !important;
}

.dark .fi-ta .fi-ta-filters-above-content-ctn .nc-filament-filter-selects .fi-fo-select:not(.fi-fo-select-native) .fi-select-input-placeholder {
    color: rgb(161 161 170) !important;
}

.fi-ta .fi-ta-filters-above-content-ctn .nc-filament-filter-toggles .fi-grid-col {
    flex: 0 0 auto;
    width: fit-content;
    max-width: 100%;
}

.fi-ta .fi-ta-filters-above-content-ctn .nc-filament-filter-toggles .fi-fo-field {
    margin: 0;
}

.fi-ta .fi-ta-filters-above-content-ctn .nc-filament-filter-toggles .fi-fo-field-label {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0;
    min-height: 34px;
    margin: 0;
    padding: 0 12px;
    border: 1px solid var(--nc-border);
    border-radius: 999px;
    background: #fff;
    color: var(--nc-text);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
    cursor: pointer;
    user-select: none;
    white-space: nowrap;
    transition: border-color .14s ease, background .14s ease, color .14s ease, transform .14s ease;
}

.fi-ta .fi-ta-filters-above-content-ctn .nc-filament-filter-toggles .fi-fo-field-label:hover {
    border-color: rgba(41, 81, 87, .22);
    background: rgba(41, 81, 87, .03);
}

.dark .fi-ta .fi-ta-filters-above-content-ctn .nc-filament-filter-toggles .fi-fo-field-label {
    background: rgb(24 24 27);
    border-color: rgb(63 63 70);
    color: rgb(248 250 252);
}

.fi-ta .fi-ta-filters-above-content-ctn .nc-filament-filter-toggles .fi-fo-field-label:has(.fi-checkbox:checked) {
    border-color: rgba(41, 81, 87, .28);
    background: rgba(41, 81, 87, .06);
    color: rgb(41 81 87);
}

.dark .fi-ta .fi-ta-filters-above-content-ctn .nc-filament-filter-toggles .fi-fo-field-label:has(.fi-checkbox:checked) {
    background: rgba(70, 98, 101, .22);
    color: rgb(226 232 240);
}

.fi-ta .fi-ta-filters-above-content-ctn .nc-filament-filter-toggles .fi-checkbox-input {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.fi-ta .fi-ta-filters-above-content-ctn .nc-filament-filter-toggles .fi-fo-field-label-content {
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
}

.fi-ta .fi-ta-filter-indicators {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 10px 18px;
    border: 0;
    border-bottom: 1px solid rgb(241 245 249);
    border-radius: 0;
    background: transparent;
}

.dark .fi-ta .fi-ta-filter-indicators {
    border-bottom-color: rgb(63 63 70);
}

.fi-ta .fi-ta-filter-indicators .fi-badge {
    border-radius: 999px !important;
    background: rgba(41, 81, 87, .07) !important;
    color: rgb(41 81 87) !important;
    font-size: 11px !important;
    font-weight: 800 !important;
}

@media (max-width: 900px) {
    .fi-ta .fi-ta-filters-above-content-ctn .nc-filament-filter-selects .fi-grid-col,
    .fi-ta .fi-ta-filters-above-content-ctn .nc-filament-filter-selects .fi-fo-field {
        width: 100%;
        min-width: 0 !important;
    }

    .fi-ta .fi-ta-filters-above-content-ctn .nc-filament-filter-selects .fi-input-wrp {
        width: 100%;
    }

    .fi-ta .fi-ta-filters-above-content-ctn .nc-filament-filter-toggles .fi-fo-field-label {
        white-space: normal;
    }
}

.nc-product-thumb,
.nc-product-placeholder {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 14px;
}

.nc-product-thumb {
    object-fit: cover;
    background: #eef1f2;
}

.nc-product-placeholder {
    border: 1px dashed rgba(41, 81, 87, .22);
    color: var(--nc-muted);
    font-size: 10px;
    font-weight: 800;
    text-align: center;
}

.nc-bar-row {
    display: grid;
    gap: 7px;
    margin-top: 12px;
}

.nc-bar-row-sub {
    margin-top: 4px;
    margin-left: 14px;
    padding-left: 10px;
    border-left: 2px solid rgba(184, 134, 11, .35);
}

.nc-bar-row-sub > div:first-child {
    font-size: 12px;
    color: var(--nc-muted);
}

.nc-bar-row > div:first-child {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    color: var(--nc-text);
    font-size: 13px;
}

.nc-bar {
    height: 10px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(41, 81, 87, .08);
}

.nc-bar span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(135deg, var(--nc-green), var(--nc-green-2));
}

.nc-bar.gold span {
    background: linear-gradient(135deg, var(--nc-gold), #d9bd7a);
}

.nc-report-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    align-items: end;
    padding: 18px;
    border: 1px solid rgba(41, 81, 87, .1);
    border-radius: 22px;
    background: rgba(255, 255, 255, .88);
    box-shadow: 0 18px 46px rgba(29, 29, 31, .055);
}

.nc-report-header.compact {
    align-items: center;
}

.nc-report-header span {
    color: var(--nc-muted);
    font-size: 12px;
    font-weight: 850;
}

.nc-report-header h2 {
    margin: 4px 0;
    color: var(--nc-text);
    font-size: 22px;
    font-weight: 900;
}

.nc-report-header p {
    margin: 0;
    color: var(--nc-muted);
    font-size: 13px;
}

.nc-report-filter {
    margin-top: 0;
}

.nc-report-nav {
    margin-bottom: 0;
}

.nc-report-picker {
    margin: 0 0 16px;
}

.nc-report-picker.is-hub {
    margin-top: 4px;
}

.nc-report-picker-head h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 850;
    letter-spacing: -.01em;
}

.nc-report-picker-head p {
    margin: 6px 0 0;
    color: var(--nc-muted);
    font-size: 14px;
    max-width: 62ch;
}

.nc-report-picker-head.is-compact {
    margin-bottom: 8px;
}

.nc-report-picker-label {
    color: var(--nc-muted);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}

/* Report workbench – lekerekített panelek, színkitöltéses KPI-k */
.nc-report-workbench .nc-report-sheet {
    display: grid;
    gap: 18px;
}

.nc-report-section {
    padding: 18px 20px;
    border: 1px solid rgba(41, 81, 87, .12);
    border-radius: 20px;
    background: rgba(255, 255, 255, .88);
    box-shadow: 0 10px 28px rgba(15, 23, 42, .05);
}

.nc-report-section-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.nc-report-section-head h2 {
    margin: 0;
    font-size: 16px;
    font-weight: 850;
    letter-spacing: -.01em;
}

.nc-report-section-head p {
    margin: 4px 0 0;
    color: var(--nc-muted);
    font-size: 13px;
}

.nc-report-section-head a {
    flex: 0 0 auto;
    color: #295157;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

.nc-report-section-head a:hover {
    text-decoration: underline;
}

.nc-report-metric-row {
    display: grid;
    gap: 12px;
}

.nc-report-metric-row.cols-1 { grid-template-columns: 1fr; }
.nc-report-metric-row.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.nc-report-metric-row.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.nc-report-metric-row.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.nc-report-metric-row.cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.nc-report-metric-row.cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }

.nc-controlling-workbench .nc-controlling-sheet {
    display: grid;
    gap: 16px;
}

.nc-controlling-workbench .nc-controlling-footnotes {
    display: grid;
    gap: 8px;
}

.nc-controlling-workbench .nc-controlling-footnote {
    margin: 0;
    padding: 12px 14px;
    border-left: 3px solid rgba(41, 81, 87, .24);
    background: rgba(248, 250, 252, .9);
    color: rgb(71, 85, 105);
    font-size: 13px;
    line-height: 1.5;
}

.nc-controlling-workbench .nc-report-metric.tone-positive .nc-report-metric-value {
    color: rgb(41, 81, 87);
}

.nc-controlling-workbench .nc-report-metric.tone-negative .nc-report-metric-value {
    color: rgb(201, 42, 42);
}

.nc-controlling-workbench .nc-report-metric.tone-negative-strong {
    border-color: rgba(201, 42, 42, .28);
    background: rgba(254, 242, 242, .72);
}

.nc-controlling-workbench .nc-report-metric.tone-negative-strong .nc-report-metric-label {
    color: rgb(127, 29, 29);
}

.nc-controlling-workbench .nc-report-metric.tone-negative-strong .nc-report-metric-value {
    color: rgb(185, 28, 28);
    font-size: 1.08rem;
}

.nc-controlling-workbench .nc-report-metric.is-filled:not(.tone-negative-strong) {
    border: 1px solid rgba(41, 81, 87, .1);
    background: rgba(255, 255, 255, .92);
    color: rgb(15, 23, 42);
    box-shadow: 0 8px 22px rgba(15, 23, 42, .05);
}

.nc-controlling-workbench .nc-report-metric.is-filled:not(.tone-negative-strong) .nc-report-metric-label,
.nc-controlling-workbench .nc-report-metric.is-filled:not(.tone-negative-strong) .nc-report-metric-sub {
    color: rgb(100, 116, 139);
}

.nc-controlling-workbench .nc-report-metric.is-link {
    position: relative;
    padding-right: 34px;
}

.nc-controlling-workbench .nc-report-metric.is-link::after {
    content: '→';
    position: absolute;
    top: 16px;
    right: 16px;
    color: rgb(148, 163, 184);
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
}

.nc-controlling-workbench .nc-controlling-nav-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.nc-controlling-workbench .nc-controlling-nav-link {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid rgba(41, 81, 87, .16);
    background: rgba(255, 255, 255, .92);
    color: rgb(41, 81, 87);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 6px 16px rgba(15, 23, 42, .04);
}

.nc-controlling-workbench .nc-controlling-nav-link:hover {
    background: rgba(248, 250, 252, .98);
}

.nc-controlling-targets {
    display: grid;
    gap: 16px;
}

.nc-controlling-targets-head {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: space-between;
    align-items: flex-start;
}

.nc-controlling-targets-title {
    margin: 0;
    font-size: 20px;
    font-weight: 800;
    color: rgb(15, 23, 42);
}

.nc-controlling-targets-lead {
    margin: 6px 0 0;
    color: rgb(100, 116, 139);
    font-size: 14px;
    line-height: 1.5;
}

.nc-controlling-targets-back,
.nc-controlling-targets-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
}

.nc-controlling-targets-back {
    background: rgba(255, 255, 255, .92);
    border-color: rgba(41, 81, 87, .16);
    color: rgb(41, 81, 87);
}

.nc-controlling-targets-readonly {
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid rgba(234, 179, 8, .24);
    background: rgba(255, 251, 235, .92);
    color: rgb(146, 64, 14);
    font-size: 13px;
    line-height: 1.5;
}

.nc-controlling-targets-form {
    display: grid;
    gap: 16px;
}

.nc-controlling-targets-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.nc-controlling-targets-field.is-wide {
    grid-column: 1 / -1;
}

.nc-controlling-targets-label {
    display: block;
    margin-bottom: 6px;
    color: rgb(100, 116, 139);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.nc-controlling-targets-input,
.nc-controlling-targets-textarea {
    width: 100%;
    border-radius: 12px;
    border: 1px solid rgba(41, 81, 87, .16);
    background: rgba(255, 255, 255, .96);
    padding: 10px 12px;
    color: rgb(15, 23, 42);
    font-size: 14px;
}

.nc-controlling-targets-textarea {
    resize: vertical;
    min-height: 92px;
}

.nc-controlling-targets-input:disabled,
.nc-controlling-targets-textarea:disabled {
    background: rgba(248, 250, 252, .92);
    color: rgb(100, 116, 139);
}

.nc-controlling-targets-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.nc-controlling-targets-btn.is-primary {
    background: rgb(41, 81, 87);
    color: #fff;
}

.nc-controlling-targets-btn.is-danger {
    background: rgba(254, 242, 242, .96);
    border-color: rgba(201, 42, 42, .18);
    color: rgb(185, 28, 28);
}

@media (max-width: 960px) {
    .nc-controlling-targets-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .nc-controlling-targets-grid {
        grid-template-columns: 1fr;
    }
}

.nc-controlling-plan {
    display: grid;
    gap: 14px;
    padding: 16px;
    border-radius: 18px;
    border: 1px solid rgba(41, 81, 87, .1);
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 8px 22px rgba(15, 23, 42, .05);
}

.nc-controlling-plan-head {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: space-between;
    align-items: flex-start;
}

.nc-controlling-plan-title {
    margin: 0;
    font-size: 18px;
    font-weight: 800;
    color: rgb(15, 23, 42);
}

.nc-controlling-plan-lead,
.nc-controlling-plan-empty-note {
    margin: 6px 0 0;
    color: rgb(100, 116, 139);
    font-size: 13px;
    line-height: 1.5;
}

.nc-controlling-plan-meta {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(248, 250, 252, .96);
    border: 1px solid rgba(41, 81, 87, .1);
    color: rgb(71, 85, 105);
    font-size: 12px;
    font-weight: 700;
}

.nc-controlling-plan-empty {
    display: grid;
    gap: 10px;
    padding: 14px;
    border-radius: 14px;
    background: rgba(248, 250, 252, .92);
    border: 1px dashed rgba(41, 81, 87, .16);
}

.nc-controlling-plan-empty-text {
    margin: 0;
    color: rgb(51, 65, 85);
    font-size: 14px;
    font-weight: 600;
}

.nc-controlling-plan-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-height: 36px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgb(41, 81, 87);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.nc-controlling-plan-wrap {
    overflow-x: auto;
}

.nc-controlling-plan-table {
    width: 100%;
    min-width: 860px;
    border-collapse: collapse;
}

.nc-controlling-plan-table th,
.nc-controlling-plan-table td {
    padding: 11px 12px;
    border-bottom: 1px solid rgba(41, 81, 87, .08);
    text-align: left;
    vertical-align: middle;
    font-size: 13px;
}

.nc-controlling-plan-table thead th {
    color: rgb(100, 116, 139);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    background: rgba(248, 250, 252, .82);
}

.nc-controlling-plan-table tbody th {
    color: rgb(15, 23, 42);
    font-weight: 700;
    white-space: nowrap;
}

.nc-controlling-plan-table tbody td {
    color: rgb(51, 65, 85);
    white-space: nowrap;
}

.nc-controlling-plan-badge {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .02em;
}

.nc-controlling-plan-badge.is-good {
    background: rgba(236, 253, 245, .96);
    color: rgb(4, 120, 87);
}

.nc-controlling-plan-badge.is-warning {
    background: rgba(255, 251, 235, .96);
    color: rgb(180, 83, 9);
}

.nc-controlling-plan-badge.is-danger {
    background: rgba(254, 242, 242, .96);
    color: rgb(185, 28, 28);
}

.nc-controlling-plan-badge.is-missing,
.nc-controlling-plan-badge.is-neutral {
    background: rgba(241, 245, 249, .96);
    color: rgb(100, 116, 139);
}

.nc-controlling-comparison-block {
    display: grid;
    gap: 14px;
    padding: 16px;
    border-radius: 18px;
    border: 1px solid rgba(41, 81, 87, .1);
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 8px 22px rgba(15, 23, 42, .05);
}

.nc-controlling-comparison-block-head {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: space-between;
    align-items: flex-start;
}

.nc-controlling-comparison-block-title {
    margin: 0;
    font-size: 18px;
    font-weight: 800;
    color: rgb(15, 23, 42);
}

.nc-controlling-comparison-block-lead {
    margin: 6px 0 0;
    color: rgb(100, 116, 139);
    font-size: 13px;
    line-height: 1.5;
}

.nc-controlling-comparison-block-meta {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(248, 250, 252, .96);
    border: 1px solid rgba(41, 81, 87, .1);
    color: rgb(71, 85, 105);
    font-size: 12px;
    font-weight: 700;
}

.nc-controlling-comparison-block-wrap {
    overflow-x: auto;
}

.nc-controlling-comparison-block-table {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
}

.nc-controlling-comparison-block-table th,
.nc-controlling-comparison-block-table td {
    padding: 11px 12px;
    border-bottom: 1px solid rgba(41, 81, 87, .08);
    text-align: left;
    vertical-align: middle;
    font-size: 13px;
}

.nc-controlling-comparison-block-table thead th {
    color: rgb(100, 116, 139);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    background: rgba(248, 250, 252, .82);
}

.nc-controlling-comparison-block-table tbody th {
    color: rgb(15, 23, 42);
    font-weight: 700;
    white-space: nowrap;
}

.nc-controlling-comparison-block-table tbody td {
    color: rgb(51, 65, 85);
    white-space: nowrap;
}

.nc-controlling-comparison-block-badge {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .02em;
}

.nc-controlling-comparison-block-badge.is-good {
    background: rgba(236, 253, 245, .96);
    color: rgb(4, 120, 87);
}

.nc-controlling-comparison-block-badge.is-danger {
    background: rgba(254, 242, 242, .96);
    color: rgb(185, 28, 28);
}

.nc-controlling-comparison-block-badge.is-neutral {
    background: rgba(241, 245, 249, .96);
    color: rgb(100, 116, 139);
}

.nc-controlling-trend {
    display: grid;
    gap: 14px;
    padding: 16px;
    border-radius: 18px;
    border: 1px solid rgba(41, 81, 87, .1);
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 8px 22px rgba(15, 23, 42, .05);
}

.nc-controlling-trend-head {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: space-between;
    align-items: flex-start;
}

.nc-controlling-trend-title {
    margin: 0;
    font-size: 18px;
    font-weight: 800;
    color: rgb(15, 23, 42);
}

.nc-controlling-trend-lead {
    margin: 6px 0 0;
    color: rgb(100, 116, 139);
    font-size: 13px;
    line-height: 1.5;
}

.nc-controlling-trend-meta {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(248, 250, 252, .96);
    border: 1px solid rgba(41, 81, 87, .1);
    color: rgb(71, 85, 105);
    font-size: 12px;
    font-weight: 700;
}

.nc-controlling-trend-wrap {
    overflow-x: auto;
}

.nc-controlling-trend-table {
    width: 100%;
    min-width: 920px;
    border-collapse: collapse;
}

.nc-controlling-trend-table th,
.nc-controlling-trend-table td {
    padding: 11px 12px;
    border-bottom: 1px solid rgba(41, 81, 87, .08);
    text-align: left;
    vertical-align: middle;
    font-size: 13px;
}

.nc-controlling-trend-table thead th {
    color: rgb(100, 116, 139);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    background: rgba(248, 250, 252, .82);
}

.nc-controlling-trend-table tbody th {
    min-width: 140px;
    color: rgb(15, 23, 42);
    font-weight: 700;
}

.nc-controlling-trend-table tbody td {
    color: rgb(51, 65, 85);
    white-space: nowrap;
}

.nc-controlling-trend-month {
    display: block;
    margin-bottom: 6px;
}

.nc-controlling-trend-bar {
    display: block;
    width: 100%;
    max-width: 120px;
    height: 6px;
    border-radius: 999px;
    background: rgba(226, 232, 240, .92);
    overflow: hidden;
}

.nc-controlling-trend-bar-fill {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, rgba(41, 81, 87, .72), rgba(41, 81, 87, .96));
}

.nc-controlling-trend-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.nc-controlling-trend-summary-card {
    display: grid;
    gap: 4px;
    padding: 12px;
    border-radius: 14px;
    background: rgba(248, 250, 252, .92);
    border: 1px solid rgba(41, 81, 87, .08);
}

.nc-controlling-trend-summary-label {
    color: rgb(100, 116, 139);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.nc-controlling-trend-summary-card strong {
    color: rgb(15, 23, 42);
    font-size: 15px;
    font-weight: 800;
}

@media (max-width: 960px) {
    .nc-controlling-trend-summary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .nc-controlling-trend-summary {
        grid-template-columns: 1fr;
    }
}

.nc-controlling-comparison-wrap {
    overflow-x: auto;
}

.nc-controlling-comparison {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.nc-controlling-comparison th,
.nc-controlling-comparison td {
    padding: 10px 12px;
    border-bottom: 1px solid rgb(226, 232, 240);
    text-align: right;
    white-space: nowrap;
}

.nc-controlling-comparison th:first-child,
.nc-controlling-comparison td:first-child {
    text-align: left;
}

.nc-controlling-comparison thead th {
    color: rgb(71, 85, 105);
    font-weight: 600;
    background: rgb(248, 250, 252);
}

.nc-controlling-comparison tbody th {
    color: rgb(51, 65, 85);
    font-weight: 500;
}

.nc-controlling-workbench .nc-controlling-ai-block {
    display: grid;
    gap: 14px;
    padding: 16px;
    border-radius: 18px;
    border: 1px solid rgba(41, 81, 87, .1);
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 8px 22px rgba(15, 23, 42, .05);
}

.nc-controlling-workbench .nc-controlling-ai-head {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: space-between;
    align-items: flex-start;
}

.nc-controlling-workbench .nc-controlling-ai-title {
    margin: 0;
    font-size: 18px;
    font-weight: 800;
    color: rgb(15, 23, 42);
}

.nc-controlling-workbench .nc-controlling-ai-lead,
.nc-controlling-workbench .nc-controlling-ai-meta,
.nc-controlling-workbench .nc-controlling-ai-disclaimer {
    margin: 6px 0 0;
    color: rgb(100, 116, 139);
    font-size: 13px;
    line-height: 1.5;
}

.nc-controlling-workbench .nc-controlling-ai-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 16px;
    border: 0;
    border-radius: 999px;
    background: rgb(41, 81, 87);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.nc-controlling-workbench .nc-controlling-ai-btn:disabled {
    opacity: .65;
    cursor: wait;
}

.nc-controlling-workbench .nc-controlling-ai-readonly {
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(248, 250, 252, .96);
    border: 1px dashed rgba(41, 81, 87, .16);
    color: rgb(100, 116, 139);
    font-size: 13px;
    font-weight: 600;
}

.nc-controlling-workbench .nc-controlling-ai-loading {
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(239, 246, 255, .96);
    border: 1px solid rgba(59, 130, 246, .18);
    color: rgb(30, 64, 175);
    font-size: 13px;
    font-weight: 600;
}

.nc-controlling-workbench .nc-controlling-ai-error {
    display: grid;
    gap: 6px;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(254, 242, 242, .96);
    border: 1px solid rgba(239, 68, 68, .18);
}

.nc-controlling-workbench .nc-controlling-ai-error-title {
    margin: 0;
    color: rgb(185, 28, 28);
    font-size: 14px;
    font-weight: 800;
}

.nc-controlling-workbench .nc-controlling-ai-error-text {
    margin: 0;
    color: rgb(127, 29, 29);
    font-size: 13px;
    line-height: 1.5;
}

.nc-controlling-workbench .nc-controlling-ai-empty {
    padding: 14px;
    border-radius: 14px;
    background: rgba(248, 250, 252, .92);
    border: 1px dashed rgba(41, 81, 87, .16);
}

.nc-controlling-workbench .nc-controlling-ai-empty-text {
    margin: 0;
    color: rgb(71, 85, 105);
    font-size: 13px;
    font-weight: 600;
}

.nc-controlling-workbench .nc-controlling-ai-result {
    display: grid;
    gap: 14px;
}

.nc-controlling-workbench .nc-controlling-ai-summary-head {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: space-between;
    align-items: center;
}

.nc-controlling-workbench .nc-controlling-ai-section-title {
    margin: 0;
    color: rgb(15, 23, 42);
    font-size: 14px;
    font-weight: 800;
}

.nc-controlling-workbench .nc-controlling-ai-confidence {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .02em;
}

.nc-controlling-workbench .nc-controlling-ai-confidence.is-high {
    background: rgba(236, 253, 245, .96);
    color: rgb(4, 120, 87);
}

.nc-controlling-workbench .nc-controlling-ai-confidence.is-medium {
    background: rgba(255, 251, 235, .96);
    color: rgb(180, 83, 9);
}

.nc-controlling-workbench .nc-controlling-ai-confidence.is-low {
    background: rgba(254, 242, 242, .96);
    color: rgb(185, 28, 28);
}

.nc-controlling-workbench .nc-controlling-ai-confidence.is-neutral {
    background: rgba(241, 245, 249, .96);
    color: rgb(100, 116, 139);
}

.nc-controlling-workbench .nc-controlling-ai-summary {
    margin: 0;
    color: rgb(51, 65, 85);
    font-size: 14px;
    line-height: 1.6;
}

.nc-controlling-workbench .nc-controlling-ai-section {
    display: grid;
    gap: 8px;
}

.nc-controlling-workbench .nc-controlling-ai-list {
    margin: 0;
    padding-left: 18px;
    color: rgb(51, 65, 85);
    font-size: 13px;
    line-height: 1.55;
}

.nc-controlling-workbench .nc-controlling-ai-list li + li {
    margin-top: 4px;
}

.nc-controlling-workbench .nc-controlling-ai-list.is-risk li::marker {
    color: rgb(185, 28, 28);
}

.nc-controlling-workbench .nc-controlling-ai-list.is-action li::marker {
    color: rgb(41, 81, 87);
}

.nc-controlling-workbench .nc-controlling-ai-list.is-question li::marker {
    color: rgb(100, 116, 139);
}

.nc-controlling-drilldown {
    display: grid;
    gap: 16px;
}

.nc-controlling-drilldown-head {
    display: grid;
    gap: 10px;
}

.nc-controlling-drilldown-back {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    color: rgb(41, 81, 87);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.nc-controlling-drilldown-back:hover {
    text-decoration: underline;
}

.nc-controlling-drilldown-title {
    margin: 0;
    color: rgb(15, 23, 42);
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.3;
}

.nc-controlling-drilldown-meta {
    margin: 4px 0 0;
    color: rgb(100, 116, 139);
    font-size: 13px;
}

.nc-controlling-drilldown-note {
    margin: 0;
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(248, 250, 252, .95);
    color: rgb(71, 85, 105);
    font-size: 13px;
}

.nc-controlling-drilldown-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid rgb(226, 232, 240);
    border-radius: 12px;
    background: rgb(255, 255, 255);
}

.nc-controlling-drilldown-table {
    width: 100%;
    min-width: 720px;
    border-collapse: collapse;
    font-size: 13px;
}

.nc-controlling-drilldown-table th,
.nc-controlling-drilldown-table td {
    padding: 10px 12px;
    border-bottom: 1px solid rgb(241, 245, 249);
    text-align: left;
    vertical-align: top;
    white-space: nowrap;
}

.nc-controlling-drilldown-table thead th {
    color: rgb(71, 85, 105);
    font-weight: 600;
    background: rgb(248, 250, 252);
}

.nc-controlling-drilldown-table tbody th[scope="row"] {
    color: rgb(51, 65, 85);
    font-weight: 600;
}

.nc-controlling-drilldown-table td:nth-child(n+5),
.nc-controlling-drilldown-table th:nth-child(n+5) {
    text-align: right;
}

.nc-controlling-drilldown-link {
    color: rgb(41, 81, 87);
    font-weight: 600;
    text-decoration: none;
}

.nc-controlling-drilldown-link:hover {
    text-decoration: underline;
}

.nc-controlling-drilldown-empty {
    margin: 0;
    padding: 18px 16px;
    color: rgb(100, 116, 139);
    font-size: 14px;
}

.nc-controlling-drilldown-operating {
    display: grid;
    gap: 18px;
}

.nc-controlling-drilldown-summary {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
}

.nc-controlling-drilldown-summary-card {
    display: grid;
    gap: 6px;
    padding: 14px 16px;
    border: 1px solid rgba(41, 81, 87, .1);
    border-radius: 14px;
    background: rgba(255, 255, 255, .94);
}

.nc-controlling-drilldown-summary-label {
    color: rgb(100, 116, 139);
    font-size: 12px;
    font-weight: 600;
}

.nc-controlling-drilldown-summary-card strong {
    color: rgb(15, 23, 42);
    font-size: 1.05rem;
    font-weight: 700;
}

.nc-controlling-drilldown-section {
    display: grid;
    gap: 10px;
}

.nc-controlling-drilldown-section-title {
    margin: 0;
    color: rgb(51, 65, 85);
    font-size: 14px;
    font-weight: 700;
}

@media (max-width: 1200px) {
    .nc-controlling-drilldown-summary {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .nc-controlling-drilldown-summary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 1200px) {
    .nc-report-metric-row.cols-6 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .nc-report-metric-row.cols-6,
    .nc-report-metric-row.cols-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.nc-report-metric {
    display: grid;
    gap: 6px;
    min-width: 0;
    min-height: 92px;
    padding: 16px 18px;
    border: 1px solid rgba(41, 81, 87, .1);
    border-radius: 16px;
    background: rgba(255, 255, 255, .92);
    color: inherit;
    text-decoration: none;
    box-shadow: 0 8px 22px rgba(15, 23, 42, .05);
    transition: transform .16s ease, box-shadow .16s ease;
}

.nc-report-metric.is-link:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, .08);
}

.nc-report-metric-label {
    color: var(--nc-muted);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.nc-report-metric-value {
    font-size: 22px;
    line-height: 1.15;
    letter-spacing: -.02em;
}

.nc-report-metric-sub {
    color: var(--nc-muted);
    font-size: 12px;
}

.nc-report-metric.is-filled {
    border: 0;
    color: #fff;
    box-shadow: 0 12px 28px rgba(15, 23, 42, .12);
}

.nc-report-metric.is-filled .nc-report-metric-label,
.nc-report-metric.is-filled .nc-report-metric-sub {
    color: rgba(255, 255, 255, .88);
}

.nc-report-metric.is-filled.tone-success { background: linear-gradient(135deg, #2f9e44, #37b24d); }
.nc-report-metric.is-filled.tone-danger { background: linear-gradient(135deg, #e03131, #f03e3e); }
.nc-report-metric.is-filled.tone-info { background: linear-gradient(135deg, #1971c2, #228be6); }
.nc-report-metric.is-filled.tone-purple { background: linear-gradient(135deg, #6741d9, #7950f2); }
.nc-report-metric.is-filled.tone-warning { background: linear-gradient(135deg, #e67700, #f08c00); }
.nc-report-metric.is-filled.tone-neutral { background: linear-gradient(135deg, #495057, #868e96); }

.nc-report-picker-row {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 12px;
}

.nc-report-picker-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 12px;
}

.nc-report-picker.is-hub .nc-report-picker-grid {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.nc-report-picker-row .nc-report-card,
.nc-report-picker-grid .nc-report-card {
    min-height: 118px;
}

.nc-report-picker.is-hub .nc-report-link-intro {
    margin-bottom: 10px;
}

.nc-report-link-intro {
    display: grid;
    gap: 2px;
}

.nc-report-link-intro strong {
    font-size: 13px;
    font-weight: 850;
}

.nc-report-link-intro span {
    color: var(--nc-muted);
    font-size: 13px;
}

.nc-report-split {
    display: grid;
    gap: 14px;
}

.nc-report-split-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.nc-report-split-3 .nc-report-section {
    margin: 0;
    height: 100%;
}

.nc-report-chart {
    display: grid;
    gap: 10px;
    padding: 14px 16px;
    border: 1px solid rgba(41, 81, 87, .1);
    border-radius: 16px;
    background: rgba(255, 255, 255, .72);
}

.nc-report-chart-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.nc-report-chart-head h3 {
    margin: 0;
    font-size: 14px;
    font-weight: 850;
}

.nc-report-chart-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    color: var(--nc-muted);
    font-size: 12px;
}

.nc-report-chart-legend i {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin-right: 6px;
    border-radius: 999px;
    vertical-align: middle;
}

.nc-report-chart-wrap {
    display: grid;
    gap: 8px;
}

.nc-report-line-chart {
    width: 100%;
    height: 220px;
    overflow: visible;
}

.nc-trend-line-chart .nc-report-chart-head.is-legend-only {
    justify-content: flex-end;
    margin-bottom: 4px;
}

.nc-trend-chart-body {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 10px;
}

.nc-trend-chart-yaxis {
    display: grid;
    grid-template-rows: repeat(5, 1fr);
    align-items: center;
    color: var(--nc-muted);
    font-size: 10px;
    font-weight: 700;
    text-align: right;
    padding: 8px 0 28px;
}

.nc-trend-chart-main {
    display: grid;
    gap: 8px;
    position: relative;
    min-height: 220px;
}

.nc-trend-chart-grid {
    position: absolute;
    inset: 0 0 28px;
    display: grid;
    grid-template-rows: repeat(5, 1fr);
    pointer-events: none;
}

.nc-trend-chart-grid span {
    border-top: 1px dashed rgba(41, 81, 87, .1);
}

.nc-trend-chart-plot {
    position: relative;
    height: 192px;
    margin-bottom: 0;
}

.nc-trend-chart-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.nc-trend-chart-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    margin-left: -4px;
    margin-bottom: -4px;
    border-radius: 999px;
    border: 2px solid #fff;
    box-shadow: 0 0 0 1px rgba(15, 23, 42, .08);
    z-index: 2;
    cursor: default;
}

.nc-trend-chart-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 8px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(41, 81, 87, .08);
    color: var(--nc-muted);
    font-size: 12px;
    font-weight: 750;
}

.nc-trend-chart-summary strong {
    color: var(--nc-text);
    font-weight: 850;
}

.dark .nc-trend-chart-dot {
    border-color: rgba(28, 28, 30, .96);
}

.dark .nc-trend-chart-grid span {
    border-top-color: rgba(255, 255, 255, .08);
}

.dark .nc-trend-chart-summary {
    border-top-color: rgba(255, 255, 255, .08);
}

@media (max-width: 980px) {
    .nc-trend-chart-body {
        grid-template-columns: 1fr;
    }

    .nc-trend-chart-yaxis {
        display: none;
    }
}

.nc-report-chart-labels {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
    gap: 4px;
    color: var(--nc-muted);
    font-size: 11px;
    text-align: center;
}

.nc-report-chart-split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.nc-report-donut-block {
    display: grid;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid rgba(41, 81, 87, .1);
    border-radius: 16px;
    background: rgba(255, 255, 255, .72);
}

.nc-report-donut-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
}

.nc-report-donut-head h3 {
    margin: 0;
    font-size: 14px;
    font-weight: 850;
}

.nc-report-donut-head span {
    color: var(--nc-muted);
    font-size: 12px;
    font-weight: 750;
}

.nc-report-donut-layout {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
}

.nc-report-donut-chart {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    position: relative;
}

.nc-report-donut-hole {
    position: absolute;
    inset: 28%;
    border-radius: 50%;
    background: rgba(255, 255, 255, .96);
}

.nc-report-donut-legend {
    display: grid;
    gap: 8px;
    max-height: 280px;
    overflow: auto;
}

.nc-report-donut-row {
    display: grid;
    grid-template-columns: 12px minmax(0, 1fr) auto auto;
    gap: 8px;
    align-items: center;
    font-size: 12px;
}

.nc-report-donut-swatch {
    width: 10px;
    height: 10px;
    border-radius: 999px;
}

.nc-report-donut-label {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nc-report-rank-list {
    display: grid;
    gap: 8px;
}

.nc-report-rank-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    padding: 10px 12px;
    border: 1px solid rgba(41, 81, 87, .08);
    border-radius: 12px;
    background: rgba(255, 255, 255, .72);
    color: inherit;
    text-decoration: none;
    transition: background .14s ease, box-shadow .14s ease;
}

.nc-report-rank-row:hover {
    background: rgba(41, 81, 87, .04);
    box-shadow: 0 6px 16px rgba(15, 23, 42, .05);
}

.nc-report-rank-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 13px;
    font-weight: 750;
}

.nc-report-rank-values {
    text-align: right;
}

.nc-report-rank-values strong {
    display: block;
    font-size: 12px;
    white-space: nowrap;
}

.nc-report-rank-values small {
    display: block;
    margin-top: 2px;
    color: var(--nc-muted);
    font-size: 11px;
    white-space: nowrap;
}

.nc-report-area-chart {
    width: 100%;
    height: 240px;
    overflow: visible;
}

.dark .nc-report-section,
.dark .nc-report-chart,
.dark .nc-report-donut-block {
    background: rgba(28, 28, 30, .82);
    border-color: rgba(255, 255, 255, .09);
}

.dark .nc-report-metric:not(.is-filled) {
    background: rgba(28, 28, 30, .82);
    border-color: rgba(255, 255, 255, .09);
}

.dark .nc-report-rank-row {
    background: rgba(28, 28, 30, .72);
    border-color: rgba(255, 255, 255, .08);
}

.dark .nc-report-donut-hole {
    background: rgba(28, 28, 30, .96);
}

.dark .nc-report-section-head a {
    color: #9fd0d1;
}

@media (max-width: 980px) {
    .nc-report-split-3,
    .nc-report-metric-row.cols-3,
    .nc-report-metric-row.cols-4 {
        grid-template-columns: 1fr;
    }

    .nc-report-metric-row.cols-2 {
        grid-template-columns: 1fr;
    }

    .nc-report-chart-split,
    .nc-report-donut-layout {
        grid-template-columns: 1fr;
        justify-items: start;
    }
}

.nc-filter-active {
    margin: 4px 0 0;
    color: #295157;
    font-size: 13px;
    font-weight: 750;
}

.dark .nc-filter-active {
    color: #9fd0d1;
}

.nc-report-filter.is-note {
    padding-bottom: 4px;
}

.nc-report-picker-groups {
    display: grid;
    gap: 14px;
}

.nc-report-picker-group h3 {
    margin: 0 0 8px;
    color: var(--nc-muted);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.nc-report-card {
    display: grid;
    gap: 8px;
    align-content: start;
    min-height: 118px;
    padding: 16px 18px;
    border: 1px solid rgba(41, 81, 87, .12);
    border-radius: 18px;
    background: rgba(255, 255, 255, .88);
    color: inherit;
    text-decoration: none;
    transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.nc-report-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
}

.nc-report-card strong {
    font-size: 14px;
    font-weight: 850;
    line-height: 1.35;
}

.nc-report-card-badge {
    flex: 0 0 auto;
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(41, 81, 87, .1);
    color: #295157;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .03em;
    text-transform: uppercase;
}

.nc-report-card-desc {
    color: var(--nc-muted);
    font-size: 12px;
    line-height: 1.5;
}

.nc-report-card-params {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: auto;
    padding-top: 2px;
}

.nc-report-card-params span {
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(41, 81, 87, .06);
    color: var(--nc-muted);
    font-size: 10px;
    font-weight: 750;
    line-height: 1.2;
}

.nc-report-card span {
    color: var(--nc-muted);
    font-size: 12px;
    line-height: 1.45;
}

.nc-report-card:hover {
    border-color: rgba(41, 81, 87, .28);
    box-shadow: 0 10px 24px rgba(15, 23, 42, .06);
    transform: translateY(-1px);
}

.nc-report-card.is-active {
    border-color: rgba(41, 81, 87, .42);
    background: rgba(41, 81, 87, .05);
    box-shadow: inset 0 0 0 1px rgba(41, 81, 87, .08);
}

.dark .nc-report-card {
    background: rgba(28, 28, 30, .82);
    border-color: rgba(255, 255, 255, .09);
}

.dark .nc-report-card.is-active {
    background: rgba(41, 81, 87, .18);
    border-color: rgba(159, 208, 209, .28);
}

.dark .nc-report-card-badge {
    background: rgba(159, 208, 209, .12);
    color: #9fd0d1;
}

.dark .nc-report-card-params span {
    background: rgba(255, 255, 255, .06);
}

@media (max-width: 640px) {
    .nc-report-picker-grid,
    .nc-report-picker.is-hub .nc-report-picker-grid,
    .nc-report-picker-row {
        grid-template-columns: 1fr;
    }
}

.nc-financial-filter-grid .nc-filter-control input[type="date"] {
    width: 100%;
    min-height: 40px;
    padding: 0 12px;
    border: 1px solid rgba(41, 81, 87, .14);
    border-radius: 12px;
    background: #fff;
    color: inherit;
    font: inherit;
}

.nc-financial-filter-foot {
    align-items: center;
    gap: 12px;
}

.nc-financial-presets {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.nc-financial-preset {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border: 1px solid rgba(41, 81, 87, .14);
    border-radius: 999px;
    background: rgba(255, 255, 255, .88);
    color: inherit;
    font-size: 12px;
    font-weight: 750;
    text-decoration: none;
}

.nc-financial-preset.is-active,
.nc-financial-preset:hover {
    border-color: rgba(41, 81, 87, .34);
    background: rgba(41, 81, 87, .06);
}

.nc-financial-dashboard {
    display: grid;
    gap: 18px;
}

.nc-financial-section-title {
    margin: 0 0 12px;
    font-size: 18px;
    font-weight: 850;
    letter-spacing: -.01em;
}

.nc-financial-stat-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 12px;
}

.nc-financial-stat-card {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 96px;
    padding: 16px 18px;
    border-radius: 16px;
    color: #fff;
    box-shadow: 0 12px 28px rgba(15, 23, 42, .12);
}

.nc-financial-stat-card span {
    display: block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    opacity: .92;
}

.nc-financial-stat-card strong {
    display: block;
    margin-top: 6px;
    font-size: 24px;
    line-height: 1.1;
    letter-spacing: -.02em;
}

.nc-financial-stat-icon {
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .18);
    display: grid;
    place-items: center;
}

.nc-financial-stat-icon svg {
    width: 22px;
    height: 22px;
}

.nc-financial-stat-card.tone-success { background: linear-gradient(135deg, #2f9e44, #37b24d); }
.nc-financial-stat-card.tone-danger { background: linear-gradient(135deg, #e03131, #f03e3e); }
.nc-financial-stat-card.tone-info { background: linear-gradient(135deg, #1971c2, #228be6); }
.nc-financial-stat-card.tone-purple { background: linear-gradient(135deg, #6741d9, #7950f2); }
.nc-financial-stat-card.tone-warning { background: linear-gradient(135deg, #e67700, #f08c00); }
.nc-financial-stat-card.tone-neutral { background: linear-gradient(135deg, #495057, #868e96); }

.nc-financial-chart-panel .nc-panel-head {
    align-items: center;
}

.nc-financial-chart-panel h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 850;
}

.nc-financial-chart-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 12px;
    color: var(--nc-muted);
}

.nc-financial-chart-legend i {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin-right: 6px;
    border-radius: 999px;
    vertical-align: middle;
}

.nc-financial-chart-wrap {
    display: grid;
    gap: 8px;
}

.nc-financial-chart {
    width: 100%;
    height: 220px;
    overflow: visible;
}

.nc-financial-chart-labels {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
    gap: 4px;
    color: var(--nc-muted);
    font-size: 11px;
    text-align: center;
}

@media (max-width: 980px) {
    .nc-financial-stat-row {
        grid-template-columns: 1fr;
    }

    .nc-expense-stat-cards,
    .nc-expense-donut-grid {
        grid-template-columns: 1fr;
    }

    .nc-donut-layout {
        grid-template-columns: 1fr;
        justify-items: center;
    }
}

.nc-expense-statistics {
    display: grid;
    gap: 18px;
}

.nc-expense-stat-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.nc-expense-stat-card {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 104px;
    padding: 16px 18px;
    border: 1px solid rgba(41, 81, 87, .12);
    border-radius: 16px;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 10px 24px rgba(15, 23, 42, .05);
}

.nc-expense-stat-card span {
    display: block;
    color: var(--nc-muted);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.nc-expense-stat-values strong {
    display: block;
    margin-top: 6px;
    font-size: 18px;
    line-height: 1.2;
}

.nc-expense-stat-values small {
    display: block;
    margin-top: 4px;
    color: var(--nc-muted);
    font-size: 13px;
}

.nc-expense-stat-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    color: #fff;
}

.nc-expense-stat-icon svg {
    width: 22px;
    height: 22px;
}

.nc-expense-stat-card.tone-success .nc-expense-stat-icon { background: #40c057; }
.nc-expense-stat-card.tone-info .nc-expense-stat-icon { background: #228be6; }
.nc-expense-stat-card.tone-danger .nc-expense-stat-icon { background: #fa5252; }

.nc-expense-annual-panel {
    margin-top: 0;
}

.nc-expense-donut-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.nc-donut-layout {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 18px;
    align-items: center;
}

.nc-donut-chart {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    position: relative;
}

.nc-donut-hole {
    position: absolute;
    inset: 28%;
    border-radius: 50%;
    background: rgba(255, 255, 255, .96);
}

.dark .nc-donut-hole {
    background: rgba(28, 28, 30, .96);
}

.nc-donut-legend {
    display: grid;
    gap: 8px;
    max-height: 320px;
    overflow: auto;
}

.nc-donut-legend-row {
    display: grid;
    grid-template-columns: 14px minmax(0, 1fr) auto auto;
    gap: 8px;
    align-items: center;
    font-size: 12px;
}

.nc-donut-swatch {
    width: 10px;
    height: 10px;
    border-radius: 999px;
}

.nc-donut-label {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nc-donut-legend-row strong {
    font-size: 12px;
    white-space: nowrap;
}

.nc-donut-legend-row small {
    color: var(--nc-muted);
    white-space: nowrap;
}

.dark .nc-expense-stat-card {
    background: rgba(28, 28, 30, .82);
    border-color: rgba(255, 255, 255, .09);
}

.nc-filter-scope {
    margin: 4px 0 0;
    color: #6e6e73;
    font-size: 13px;
}

.nc-report-filter .nc-export-actions {
    margin-left: auto;
}

.nc-report-tabs,
.nc-export-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.nc-report-tabs.single {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 2px;
}

.nc-export-actions.compact {
    flex-wrap: nowrap;
}

.nc-report-tabs a,
.nc-export-actions a {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 13px;
    border: 1px solid rgba(41, 81, 87, .12);
    border-radius: 999px;
    background: rgba(255, 255, 255, .72);
    color: var(--nc-text);
    font-size: 12px;
    font-weight: 850;
    text-decoration: none;
}

.nc-report-tabs a.active,
.nc-report-tabs a:hover,
.nc-export-actions a:hover {
    border-color: rgba(41, 81, 87, .28);
    background: rgba(41, 81, 87, .08);
}

.nc-kpi-grid-primary {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.nc-kpi-primary {
    min-height: 132px;
}

.nc-kpi-primary strong {
    font-size: 30px;
}

.nc-report-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(280px, .65fr);
    gap: 14px;
    align-items: stretch;
}

.nc-chart-panel {
    min-height: 360px;
}

.nc-column-chart {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(42px, 1fr));
    gap: 10px;
    align-items: end;
    min-height: 230px;
    padding-top: 18px;
}

.nc-column-item {
    display: grid;
    grid-template-rows: auto 1fr auto;
    gap: 7px;
    min-width: 0;
    height: 230px;
}

.nc-column-value {
    min-height: 28px;
    color: var(--nc-muted);
    font-size: 11px;
    font-weight: 800;
    text-align: center;
    line-height: 1.15;
}

.nc-column-track {
    display: flex;
    align-items: end;
    justify-content: center;
    min-height: 150px;
    border-radius: 14px;
    background: rgba(41, 81, 87, .06);
    overflow: hidden;
}

.nc-column-track span {
    width: 100%;
    min-height: 6px;
    border-radius: 14px 14px 0 0;
    background: linear-gradient(180deg, var(--nc-green-2), var(--nc-green));
}

.nc-column-item small {
    color: var(--nc-muted);
    font-size: 11px;
    font-weight: 900;
    text-align: center;
}

.nc-chart-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 8px;
    margin-top: 12px;
}

.nc-report-visuals {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.nc-report-visual {
    min-width: 0;
}

.nc-report-visual.is-full {
    grid-column: 1 / -1;
}

.nc-report-visual.is-half {
    grid-column: span 1;
}

.nc-report-visual .nc-report-section {
    margin: 0;
    height: 100%;
}

.nc-report-visual .nc-report-metric-row {
    margin-bottom: 12px;
}

@media (max-width: 980px) {
    .nc-report-visuals {
        grid-template-columns: 1fr;
    }

    .nc-report-visual.is-half {
        grid-column: 1 / -1;
    }
}

.nc-invoice-monthly-chart .nc-invoice-chart-body {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr) 56px;
    gap: 10px;
    min-height: 300px;
}

.nc-invoice-chart-yaxis {
    display: grid;
    grid-template-rows: repeat(5, 1fr);
    align-items: center;
    color: var(--nc-muted);
    font-size: 10px;
    font-weight: 700;
    text-align: right;
    padding: 22px 0 78px;
}

.nc-invoice-chart-yaxis-right {
    text-align: left;
    color: #b8860b;
    padding-left: 2px;
}

.nc-invoice-chart-main {
    position: relative;
    min-height: 300px;
}

.nc-invoice-chart-grid {
    position: absolute;
    inset: 22px 0 78px;
    display: grid;
    grid-template-rows: repeat(5, 1fr);
    pointer-events: none;
}

.nc-invoice-chart-grid span {
    border-top: 1px dashed rgba(41, 81, 87, .1);
}

.nc-invoice-chart-columns {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(52px, 1fr));
    gap: 8px;
    align-items: end;
    height: 100%;
    min-height: 300px;
    padding: 22px 0 0;
}

.nc-invoice-chart-col {
    display: grid;
    grid-template-rows: auto 1fr 28px auto;
    gap: 4px;
    min-width: 0;
    height: 236px;
}

.nc-invoice-chart-col-top {
    min-height: 28px;
    display: flex;
    align-items: end;
    justify-content: center;
}

.nc-invoice-chart-net-label {
    display: block;
    color: var(--nc-text);
    font-size: 10px;
    font-weight: 800;
    text-align: center;
    line-height: 1.25;
    padding: 0 2px;
}

.nc-invoice-chart-bar-track {
    display: flex;
    align-items: end;
    justify-content: center;
    min-height: 130px;
    border-radius: 10px 10px 0 0;
    background: transparent;
}

.nc-invoice-chart-col.is-empty .nc-invoice-chart-bar-track {
    background: rgba(41, 81, 87, .03);
    border: 1px dashed rgba(41, 81, 87, .08);
    border-bottom: 0;
}

.nc-invoice-chart-bar {
    width: min(100%, 32px);
    border-radius: 8px 8px 2px 2px;
    background: linear-gradient(180deg, #4dabf7, #228be6);
    transition: height .2s ease;
}

.nc-invoice-chart-count-track {
    display: flex;
    align-items: end;
    justify-content: center;
    height: 28px;
    border-top: 1px solid rgba(41, 81, 87, .08);
    background: rgba(250, 176, 5, .06);
    border-radius: 0 0 8px 8px;
}

.nc-invoice-chart-count-bar {
    width: min(100%, 18px);
    min-height: 0;
    border-radius: 4px 4px 0 0;
    background: linear-gradient(180deg, #ffd43b, #fab005);
}

.nc-invoice-chart-col-foot {
    display: grid;
    gap: 2px;
    text-align: center;
    padding-top: 2px;
}

.nc-invoice-chart-col-foot strong {
    color: var(--nc-text);
    font-size: 11px;
    font-weight: 850;
}

.nc-invoice-chart-col-foot small {
    color: #b8860b;
    font-size: 10px;
    font-weight: 800;
}

.nc-invoice-chart-col-foot small.is-zero {
    color: var(--nc-muted);
    font-weight: 650;
}

.nc-hbar-chart .nc-hbar-list,
.nc-comparison-bars-list {
    display: grid;
    gap: 10px;
}

.nc-hbar-row {
    display: grid;
    gap: 6px;
    color: inherit;
    text-decoration: none;
    transition: transform .14s ease;
}

.nc-hbar-row:hover {
    transform: translateX(2px);
}

.nc-hbar-meta,
.nc-comparison-bar-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    font-size: 12px;
}

.nc-hbar-meta strong,
.nc-comparison-bar-head strong {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 800;
}

.nc-hbar-meta span,
.nc-comparison-bar-head span {
    color: var(--nc-muted);
    font-size: 11px;
    font-weight: 800;
    white-space: nowrap;
}

.nc-hbar-track,
.nc-comparison-bar-track {
    height: 10px;
    border-radius: 999px;
    background: rgba(41, 81, 87, .08);
    overflow: hidden;
}

.nc-hbar-track span,
.nc-comparison-bar-track span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--nc-green-2), var(--nc-green));
}

.nc-comparison-bar-track.is-expense span {
    background: linear-gradient(90deg, #ff8787, #fa5252);
}

.nc-comparison-bars-meta {
    color: var(--nc-muted);
    font-size: 12px;
    font-weight: 750;
}

.dark .nc-invoice-chart-col.is-empty .nc-invoice-chart-bar-track {
    background: rgba(255, 255, 255, .03);
    border-color: rgba(255, 255, 255, .08);
}

.dark .nc-invoice-chart-grid span {
    border-top-color: rgba(255, 255, 255, .08);
}

.dark .nc-invoice-chart-count-track {
    background: rgba(250, 176, 5, .08);
    border-top-color: rgba(255, 255, 255, .08);
}

@media (max-width: 980px) {
    .nc-invoice-chart-body {
        grid-template-columns: 1fr;
    }

    .nc-invoice-chart-yaxis,
    .nc-invoice-chart-yaxis-right {
        display: none;
    }
}

.nc-chart-summary span {
    min-width: 0;
    padding: 9px 10px;
    border-radius: 14px;
    background: rgba(41, 81, 87, .055);
    color: var(--nc-muted);
    font-size: 12px;
    font-weight: 750;
}

.nc-chart-summary strong {
    display: block;
    margin-top: 3px;
    color: var(--nc-text);
}

.nc-top-grid,
.nc-attention-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.nc-attention-grid {
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.nc-compact-row,
.nc-attention-card {
    min-width: 0;
    display: grid;
    gap: 4px;
    padding: 10px 11px;
    border: 1px solid rgba(41, 81, 87, .1);
    border-radius: 14px;
    background: var(--nc-surface);
    color: inherit;
    text-decoration: none;
}

.nc-compact-row {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    margin-top: 7px;
}

.nc-compact-row strong {
    min-width: 0;
    color: var(--nc-text);
    font-size: 13px;
    line-height: 1.25;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.nc-compact-row span,
.nc-attention-card span,
.nc-attention-card small {
    color: var(--nc-muted);
    font-size: 12px;
    font-weight: 800;
}

.nc-attention-card strong {
    color: var(--nc-text);
    font-size: 22px;
    line-height: 1.1;
}

.nc-compact-row:hover,
.nc-attention-card:hover {
    border-color: rgba(41, 81, 87, .26);
    background: rgba(41, 81, 87, .055);
}

.nc-list {
    display: grid;
    gap: 8px;
}

.nc-list-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    border: 1px solid rgba(41, 81, 87, .1);
    border-radius: 16px;
    background: var(--nc-surface);
    color: var(--nc-text);
    text-decoration: none;
}

.nc-list-row span {
    min-width: 0;
}

.nc-list-row strong,
.nc-list-row small {
    display: block;
}

.dark .nc-kpi-card,
.dark .nc-panel,
.dark .nc-mini-card,
.dark .nc-report-header {
    background: rgba(28, 28, 30, .86);
    border-color: rgba(255, 255, 255, .09);
    box-shadow: 0 18px 45px rgba(0, 0, 0, .22);
}

.dark .nc-kpi-card strong,
.dark .nc-mini-card strong,
.dark .nc-panel h2,
.dark .nc-panel-head h2,
.dark .nc-report-header h2,
.dark .nc-table td,
.dark .nc-list-row,
.dark .nc-bar-row > div:first-child {
    color: #F5F5F7;
}

.dark .nc-page-subtitle,
.dark .nc-kpi-card span,
.dark .nc-kpi-card small,
.dark .nc-mini-card span,
.dark .nc-report-header p,
.dark .nc-report-header span,
.dark .nc-list-row small,
.dark .nc-table small,
.dark .nc-table th {
    color: #A1A1AA;
}

.dark a.nc-kpi-card.active,
.dark .nc-report-tabs a.active,
.dark .nc-report-tabs a:hover,
.dark .nc-export-actions a:hover,
.dark .nc-compact-row:hover,
.dark .nc-attention-card:hover {
    border-color: rgba(255, 255, 255, .18);
    background: rgba(255, 255, 255, .08);
}

.dark .nc-report-tabs a,
.dark .nc-export-actions a {
    background: rgba(255, 255, 255, .04);
    border-color: rgba(255, 255, 255, .1);
    color: #F5F5F7;
}

.dark .nc-list-row,
.dark .nc-column-track,
.dark .nc-chart-summary span,
.dark .nc-compact-row,
.dark .nc-attention-card {
    background: rgba(255, 255, 255, .045);
    border-color: rgba(255, 255, 255, .09);
}

.dark .nc-chart-summary strong,
.dark .nc-compact-row strong,
.dark .nc-attention-card strong {
    color: #F5F5F7;
}

.dark .nc-table td,
.dark .nc-table th {
    border-color: rgba(255, 255, 255, .08);
}

.nc-notification-bell {
    position: relative;
    margin-left: .5rem;
    z-index: 10000;
}

.nc-notification-bell summary {
    list-style: none;
}

.nc-notification-bell summary::-webkit-details-marker {
    display: none;
}

.nc-notification-trigger {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(41, 81, 87, .14);
    border-radius: 999px;
    background: rgba(255, 255, 255, .84);
    color: #295157;
    cursor: pointer;
    transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.nc-notification-trigger:hover {
    transform: translateY(-1px);
    border-color: rgba(41, 81, 87, .28);
    box-shadow: 0 10px 28px rgba(15, 23, 42, .12);
}

.nc-notification-icon {
    width: 18px;
    height: 18px;
}

.nc-notification-count {
    position: absolute;
    top: -5px;
    right: -5px;
    min-width: 19px;
    height: 19px;
    padding: 0 5px;
    border-radius: 999px;
    background: #D97706;
    color: #fff;
    border: 2px solid #fff;
    font-size: 10px;
    font-weight: 800;
    line-height: 15px;
    text-align: center;
}

.nc-notification-panel {
    position: fixed;
    top: 86px;
    right: 24px;
    z-index: 10000;
    width: min(390px, calc(100vw - 24px));
    max-height: calc(100vh - 112px);
    border: 1px solid rgba(15, 23, 42, .1);
    border-radius: 18px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 24px 70px rgba(15, 23, 42, .18);
    overflow: hidden;
    backdrop-filter: blur(18px);
}

.nc-notification-panel__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 16px 12px;
    border-bottom: 1px solid rgba(15, 23, 42, .08);
}

.nc-notification-panel__title {
    margin: 0;
    font-size: 15px;
    font-weight: 800;
    color: #111827;
}

.nc-notification-panel__subtitle {
    margin: 2px 0 0;
    font-size: 12px;
    color: #6B7280;
}

.nc-notification-link,
.nc-notification-item__actions button {
    border: 0;
    background: transparent;
    color: #295157;
    cursor: pointer;
    font-size: 12px;
    font-weight: 700;
    padding: 0;
}

.nc-notification-filters {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding: 10px 14px;
    border-bottom: 1px solid rgba(15, 23, 42, .06);
}

.nc-notification-filter-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.nc-notification-filters label {
    flex: 0 0 auto;
    border: 1px solid rgba(41, 81, 87, .12);
    border-radius: 999px;
    padding: 4px 9px;
    font-size: 11px;
    color: #4B5563;
    background: #F8FAFC;
    cursor: pointer;
    transition: border-color .16s ease, background .16s ease, color .16s ease;
}

.nc-notification-filters label:hover {
    border-color: rgba(41, 81, 87, .28);
    background: rgba(41, 81, 87, .08);
    color: #295157;
}

#nc-notification-filter-all:checked ~ .nc-notification-filters label[for="nc-notification-filter-all"],
#nc-notification-filter-important:checked ~ .nc-notification-filters label[for="nc-notification-filter-important"],
#nc-notification-filter-approval:checked ~ .nc-notification-filters label[for="nc-notification-filter-approval"],
#nc-notification-filter-overdue:checked ~ .nc-notification-filters label[for="nc-notification-filter-overdue"],
#nc-notification-filter-today:checked ~ .nc-notification-filters label[for="nc-notification-filter-today"],
#nc-notification-filter-system:checked ~ .nc-notification-filters label[for="nc-notification-filter-system"] {
    background: #295157;
    border-color: #295157;
    color: #fff;
}

.nc-notification-list {
    max-height: min(420px, calc(100vh - 270px));
    overflow-y: auto;
}

.nc-notification-item {
    padding: 13px 16px;
    border-bottom: 1px solid rgba(15, 23, 42, .06);
}

#nc-notification-filter-important:checked ~ .nc-notification-list .nc-notification-item:not(.nc-filter-important),
#nc-notification-filter-approval:checked ~ .nc-notification-list .nc-notification-item:not(.nc-filter-approval),
#nc-notification-filter-overdue:checked ~ .nc-notification-list .nc-notification-item:not(.nc-filter-overdue),
#nc-notification-filter-today:checked ~ .nc-notification-list .nc-notification-item:not(.nc-filter-today),
#nc-notification-filter-system:checked ~ .nc-notification-list .nc-notification-item:not(.nc-filter-system) {
    display: none;
}

.nc-notification-item:hover {
    background: rgba(41, 81, 87, .045);
}

.nc-notification-item__meta,
.nc-notification-item__actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 11px;
    color: #6B7280;
}

.nc-notification-item__title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 5px;
    color: #111827;
    font-weight: 800;
    font-size: 13px;
    text-decoration: none;
}

.nc-notification-item__title span,
.nc-priority-label {
    border-radius: 999px;
    background: rgba(41, 81, 87, .08);
    color: #295157;
    padding: 2px 7px;
    font-size: 10px;
    font-weight: 800;
}

.nc-notification-item p {
    margin: 4px 0 8px;
    color: #4B5563;
    font-size: 12px;
    line-height: 1.45;
}

.nc-notification-item__actions a {
    color: #295157;
    font-weight: 700;
    text-decoration: none;
}

.nc-priority-urgent {
    box-shadow: inset 3px 0 0 #DC2626;
}

.nc-priority-high {
    box-shadow: inset 3px 0 0 #D97706;
}

.nc-notification-empty {
    padding: 24px 16px;
    color: #6B7280;
    font-size: 13px;
    text-align: center;
}

.nc-notification-all {
    display: block;
    padding: 13px 16px;
    background: #F8FAFC;
    color: #295157;
    font-size: 13px;
    font-weight: 800;
    text-align: center;
    text-decoration: none;
}

.fi-sidebar-item-badge {
    border-radius: 999px !important;
    font-weight: 800 !important;
}

.dark .nc-notification-trigger,
.dark .nc-notification-panel {
    background: rgba(24, 24, 27, .96);
    border-color: rgba(255, 255, 255, .1);
}

.dark .nc-notification-panel__title,
.dark .nc-notification-item__title {
    color: #F5F5F7;
}

.dark .nc-notification-panel__subtitle,
.dark .nc-notification-item p,
.dark .nc-notification-item__meta,
.dark .nc-notification-item__actions {
    color: #A1A1AA;
}

.dark .nc-notification-filters label,
.dark .nc-notification-all {
    background: rgba(255, 255, 255, .05);
    border-color: rgba(255, 255, 255, .1);
}

@media (max-width: 1100px) {
    .nc-two-col,
    .sales-grid,
    .nc-grid-main,
    .nc-report-hero-grid,
    .nc-top-grid,
    .nc-report-header {
        grid-template-columns: 1fr !important;
    }

    .nc-report-filter {
        justify-content: flex-start;
    }

    .nc-chart-summary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .nc-kpi-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .nc-column-chart {
        overflow-x: auto;
        grid-template-columns: repeat(12, minmax(48px, 1fr));
    }

    .nc-kpi-card strong {
        font-size: 20px;
    }
}

@media (max-width: 520px) {
    .nc-kpi-grid {
        grid-template-columns: 1fr;
    }

    .nc-chart-summary {
        grid-template-columns: 1fr;
    }

    .nc-notification-panel {
        top: 74px;
        right: 12px;
        left: 12px;
        width: auto;
        max-height: calc(100vh - 92px);
    }
}

/* Filament listák – egységes kereső és eszköztár */
.fi-resource-orders.fi-resource-list-records-page,
.fi-resource-purchase-orders.fi-resource-list-records-page,
.fi-resource-purchase-receipts.fi-resource-list-records-page,
.fi-resource-customers.fi-resource-list-records-page {
    --nc-list-search-width: min(100%, 420px);
    --nc-list-search-min-width: min(100%, 260px);
}

.fi-resource-orders.fi-resource-list-records-page .fi-ta-header-toolbar,
.fi-resource-purchase-orders.fi-resource-list-records-page .fi-ta-header-toolbar,
.fi-resource-purchase-receipts.fi-resource-list-records-page .fi-ta-header-toolbar,
.fi-resource-customers.fi-resource-list-records-page .fi-ta-header-toolbar {
    justify-content: flex-end !important;
    gap: 12px 16px !important;
    padding: 12px 18px !important;
    border-bottom: 1px solid rgb(241 245 249);
}

.dark .fi-resource-orders.fi-resource-list-records-page .fi-ta-header-toolbar,
.dark .fi-resource-purchase-orders.fi-resource-list-records-page .fi-ta-header-toolbar,
.dark .fi-resource-purchase-receipts.fi-resource-list-records-page .fi-ta-header-toolbar,
.dark .fi-resource-customers.fi-resource-list-records-page .fi-ta-header-toolbar {
    border-bottom-color: rgb(63 63 70);
}

.fi-resource-orders.fi-resource-list-records-page .fi-ta-header-toolbar > :nth-child(1):not(:empty),
.fi-resource-purchase-orders.fi-resource-list-records-page .fi-ta-header-toolbar > :nth-child(1):not(:empty),
.fi-resource-purchase-receipts.fi-resource-list-records-page .fi-ta-header-toolbar > :nth-child(1):not(:empty),
.fi-resource-customers.fi-resource-list-records-page .fi-ta-header-toolbar > :nth-child(1):not(:empty) {
    margin-inline-end: auto !important;
}

.fi-resource-orders.fi-resource-list-records-page .fi-ta-header-toolbar > :nth-child(2),
.fi-resource-purchase-orders.fi-resource-list-records-page .fi-ta-header-toolbar > :nth-child(2),
.fi-resource-purchase-receipts.fi-resource-list-records-page .fi-ta-header-toolbar > :nth-child(2),
.fi-resource-customers.fi-resource-list-records-page .fi-ta-header-toolbar > :nth-child(2) {
    margin-inline-start: 0 !important;
    margin-inline-end: 10px !important;
}

.fi-resource-orders.fi-resource-list-records-page .fi-ta-search-field,
.fi-resource-purchase-orders.fi-resource-list-records-page .fi-ta-search-field,
.fi-resource-purchase-receipts.fi-resource-list-records-page .fi-ta-search-field,
.fi-resource-customers.fi-resource-list-records-page .fi-ta-search-field {
    width: var(--nc-list-search-width);
    min-width: var(--nc-list-search-min-width);
}

.fi-resource-orders.fi-resource-list-records-page .fi-ta-search-field .fi-input-wrp,
.fi-resource-purchase-orders.fi-resource-list-records-page .fi-ta-search-field .fi-input-wrp,
.fi-resource-purchase-receipts.fi-resource-list-records-page .fi-ta-search-field .fi-input-wrp,
.fi-resource-customers.fi-resource-list-records-page .fi-ta-search-field .fi-input-wrp {
    min-height: 48px;
    border-radius: 16px !important;
    border: 1.5px solid rgba(41, 81, 87, .22) !important;
    background: linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(248, 250, 252, .94)) !important;
    box-shadow: 0 12px 28px rgba(15, 23, 42, .07);
}

.fi-resource-orders.fi-resource-list-records-page .fi-ta-search-field .fi-input,
.fi-resource-purchase-orders.fi-resource-list-records-page .fi-ta-search-field .fi-input,
.fi-resource-purchase-receipts.fi-resource-list-records-page .fi-ta-search-field .fi-input,
.fi-resource-customers.fi-resource-list-records-page .fi-ta-search-field .fi-input {
    min-height: 46px;
    font-size: 15px !important;
    font-weight: 650 !important;
}

.fi-resource-orders.fi-resource-list-records-page .fi-ta-search-field .fi-input-wrp:focus-within,
.fi-resource-purchase-orders.fi-resource-list-records-page .fi-ta-search-field .fi-input-wrp:focus-within,
.fi-resource-purchase-receipts.fi-resource-list-records-page .fi-ta-search-field .fi-input-wrp:focus-within,
.fi-resource-customers.fi-resource-list-records-page .fi-ta-search-field .fi-input-wrp:focus-within {
    border-color: rgba(41, 81, 87, .48) !important;
    box-shadow: 0 0 0 4px rgba(41, 81, 87, .10), 0 14px 30px rgba(15, 23, 42, .08) !important;
}

.dark .fi-resource-orders.fi-resource-list-records-page .fi-ta-search-field .fi-input-wrp,
.dark .fi-resource-purchase-orders.fi-resource-list-records-page .fi-ta-search-field .fi-input-wrp,
.dark .fi-resource-purchase-receipts.fi-resource-list-records-page .fi-ta-search-field .fi-input-wrp,
.dark .fi-resource-customers.fi-resource-list-records-page .fi-ta-search-field .fi-input-wrp {
    background: linear-gradient(180deg, rgba(39, 39, 42, .95), rgba(24, 24, 27, .92)) !important;
    border-color: rgba(255, 255, 255, .12) !important;
    box-shadow: none;
}

.dark .fi-resource-orders.fi-resource-list-records-page .fi-ta-search-field .fi-input-wrp:focus-within,
.dark .fi-resource-purchase-orders.fi-resource-list-records-page .fi-ta-search-field .fi-input-wrp:focus-within,
.dark .fi-resource-purchase-receipts.fi-resource-list-records-page .fi-ta-search-field .fi-input-wrp:focus-within,
.dark .fi-resource-customers.fi-resource-list-records-page .fi-ta-search-field .fi-input-wrp:focus-within {
    border-color: rgba(45, 212, 191, .42) !important;
    box-shadow: 0 0 0 4px rgba(45, 212, 191, .12) !important;
}

.fi-ta .fi-ta-filters-above-content-ctn .nc-filament-filter-search {
    margin-bottom: 4px;
}

.fi-ta .fi-ta-filters-above-content-ctn .nc-filament-filter-search .fi-fo-field {
    width: 100%;
}

.fi-ta .fi-ta-filters-above-content-ctn .nc-filament-filter-search .fi-input-wrp {
    min-height: 48px;
    border-radius: 16px !important;
    border: 1.5px solid rgba(41, 81, 87, .22) !important;
    background: linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(248, 250, 252, .94)) !important;
    box-shadow: 0 12px 28px rgba(15, 23, 42, .07);
}

.dark .fi-ta .fi-ta-filters-above-content-ctn .nc-filament-filter-search .fi-input-wrp {
    background: linear-gradient(180deg, rgba(39, 39, 42, .92), rgba(24, 24, 27, .92)) !important;
    border-color: rgba(255, 255, 255, .08) !important;
    box-shadow: none;
}

.fi-ta .fi-ta-filters-above-content-ctn .nc-filament-filter-search .fi-input {
    min-height: 46px;
    font-size: 15px !important;
    font-weight: 650 !important;
}

.fi-ta .fi-ta-filters-above-content-ctn .nc-filament-filter-search .fi-input-wrp:focus-within {
    border-color: rgba(41, 81, 87, .48) !important;
    box-shadow: 0 0 0 4px rgba(41, 81, 87, .10), 0 14px 30px rgba(15, 23, 42, .08) !important;
}

.dark .fi-ta .fi-ta-filters-above-content-ctn .nc-filament-filter-search .fi-input-wrp:focus-within {
    border-color: rgba(45, 212, 191, .42) !important;
    box-shadow: 0 0 0 4px rgba(45, 212, 191, .12) !important;
}

.fi-resource-customers.fi-resource-list-records-page .fi-ta-search-field {
    display: none !important;
}

.fi-resource-list-records-page .fi-ta:has(.nc-filament-filter-search) .fi-ta-search-field,
.fi-resource-list-records-page .fi-ta:has(.nc-document-filter-toolbar) .fi-ta-search-field,
.fi-resource-list-records-page .fi-ta:has(.nc-order-filter-toolbar) .fi-ta-search-field,
.fi-resource-orders.fi-resource-list-records-page .fi-ta-search-field {
    display: none !important;
}

/* Bizonylat / rendelés lista – kereső + fő szűrők egy sorban, teljes szélesség */
.fi-ta:has(.nc-document-filter-toolbar) .fi-ta-filters-above-content-ctn,
.fi-ta:has(.nc-order-filter-toolbar) .fi-ta-filters-above-content-ctn {
    padding: 10px 14px 8px !important;
    max-width: 100%;
    overflow: visible;
}

.fi-ta:has(.nc-document-filter-toolbar) .fi-ta-filters,
.fi-ta:has(.nc-order-filter-toolbar) .fi-ta-filters {
    gap: 8px;
    width: 100%;
    max-width: 100%;
}

.fi-ta:has(.nc-document-filter-toolbar) .fi-ta-filters-header,
.fi-ta:has(.nc-order-filter-toolbar) .fi-ta-filters-header {
    display: none;
}

.nc-document-filter-toolbar,
.nc-order-filter-toolbar {
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.nc-document-filter-toolbar > .fi-sc.fi-grid,
.nc-order-filter-toolbar > .fi-sc.fi-grid {
    display: grid !important;
    width: 100%;
    max-width: 100%;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.35fr);
    gap: 10px 14px;
    align-items: start;
}

.nc-document-filter-toolbar:has(.fi-grid-col:nth-child(5)) > .fi-sc.fi-grid {
    grid-template-columns: minmax(0, 1.75fr) repeat(4, minmax(0, 1fr));
}

.nc-document-filter-toolbar .fi-grid-col,
.nc-order-filter-toolbar .fi-grid-col {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
}

.nc-document-filter-toolbar .fi-sc-component,
.nc-document-filter-toolbar [data-field-wrapper],
.nc-order-filter-toolbar .fi-sc-component,
.nc-order-filter-toolbar [data-field-wrapper] {
    min-width: 0;
    max-width: 100%;
}

.nc-document-filter-toolbar .fi-fo-field,
.nc-order-filter-toolbar .fi-fo-field {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: auto auto !important;
    gap: 4px !important;
    align-items: start !important;
    width: 100%;
    min-width: 0;
}

.nc-document-filter-toolbar .fi-fo-field-label-col,
.nc-document-filter-toolbar .fi-fo-field-content-col,
.nc-order-filter-toolbar .fi-fo-field-label-col,
.nc-order-filter-toolbar .fi-fo-field-content-col {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    display: block !important;
}

.nc-document-filter-toolbar .fi-fo-field-label-col,
.nc-order-filter-toolbar .fi-fo-field-label-col {
    grid-column: 1;
    grid-row: 1;
}

.nc-document-filter-toolbar .fi-fo-field-content-col,
.nc-order-filter-toolbar .fi-fo-field-content-col {
    grid-column: 1;
    grid-row: 2;
    min-width: 0;
}

.nc-document-filter-toolbar .fi-fo-field-label,
.nc-order-filter-toolbar .fi-fo-field-label {
    display: block !important;
    margin: 0;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--nc-muted) !important;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nc-document-filter-toolbar .fi-input-wrp,
.nc-document-filter-toolbar .fi-fo-select-native .fi-select-input,
.nc-document-filter-toolbar .fi-fo-select:not(.fi-fo-select-native) > .fi-select-input,
.nc-order-filter-toolbar .fi-input-wrp,
.nc-order-filter-toolbar .fi-fo-select-native .fi-select-input,
.nc-order-filter-toolbar .fi-fo-select:not(.fi-fo-select-native) > .fi-select-input {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    min-height: 36px;
    padding: 0 11px;
    border: 1px solid var(--nc-border) !important;
    border-radius: 11px !important;
    background: #fff !important;
    box-shadow: none !important;
    transition: border-color .14s ease;
}

.dark .nc-document-filter-toolbar .fi-input-wrp,
.dark .nc-document-filter-toolbar .fi-fo-select-native .fi-select-input,
.dark .nc-document-filter-toolbar .fi-fo-select:not(.fi-fo-select-native) > .fi-select-input,
.dark .nc-order-filter-toolbar .fi-input-wrp,
.dark .nc-order-filter-toolbar .fi-fo-select-native .fi-select-input,
.dark .nc-order-filter-toolbar .fi-fo-select:not(.fi-fo-select-native) > .fi-select-input {
    background: rgb(24 24 27) !important;
    border-color: rgb(63 63 70) !important;
}

.nc-document-filter-toolbar .fi-input-wrp:focus-within,
.nc-document-filter-toolbar .fi-fo-select-native .fi-select-input:focus-within,
.nc-document-filter-toolbar .fi-fo-select:not(.fi-fo-select-native) > .fi-select-input:focus-within,
.nc-order-filter-toolbar .fi-input-wrp:focus-within,
.nc-order-filter-toolbar .fi-fo-select-native .fi-select-input:focus-within,
.nc-order-filter-toolbar .fi-fo-select:not(.fi-fo-select-native) > .fi-select-input:focus-within {
    border-color: rgba(41, 81, 87, .38) !important;
    box-shadow: none !important;
}

.dark .nc-document-filter-toolbar .fi-input-wrp:focus-within,
.dark .nc-document-filter-toolbar .fi-fo-select-native .fi-select-input:focus-within,
.dark .nc-document-filter-toolbar .fi-fo-select:not(.fi-fo-select-native) > .fi-select-input:focus-within,
.dark .nc-order-filter-toolbar .fi-input-wrp:focus-within,
.dark .nc-order-filter-toolbar .fi-fo-select-native .fi-select-input:focus-within,
.dark .nc-order-filter-toolbar .fi-fo-select:not(.fi-fo-select-native) > .fi-select-input:focus-within {
    border-color: rgba(159, 208, 209, .42) !important;
}

.nc-document-filter-toolbar .fi-select-input-btn,
.nc-document-filter-toolbar .fi-select-input-ctn,
.nc-order-filter-toolbar .fi-select-input-btn,
.nc-order-filter-toolbar .fi-select-input-ctn {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.nc-document-filter-toolbar .fi-input,
.nc-order-filter-toolbar .fi-input {
    min-height: 34px;
    width: 100%;
    min-width: 0;
    padding: 0;
    border: 0;
    background: transparent !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    box-shadow: none !important;
}

.nc-document-filter-toolbar .fi-fo-select-native .fi-select-input,
.nc-order-filter-toolbar .fi-fo-select-native .fi-select-input {
    width: 100%;
    min-width: 0;
    min-height: 34px;
    padding: 0 24px 0 0;
    border: 0 !important;
    background-color: transparent !important;
    font-size: 13px;
    font-weight: 600;
    color: var(--nc-text) !important;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%2394A3B8' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0 center;
    cursor: pointer;
    box-shadow: none !important;
}

.nc-document-filter-toolbar .fi-fo-select:not(.fi-fo-select-native) .fi-select-input,
.nc-order-filter-toolbar .fi-fo-select:not(.fi-fo-select-native) .fi-select-input {
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.nc-document-filter-toolbar .fi-fo-select:not(.fi-fo-select-native) .fi-select-input-ctn,
.nc-document-filter-toolbar .fi-fo-select:not(.fi-fo-select-native) .fi-select-input-btn,
.nc-order-filter-toolbar .fi-fo-select:not(.fi-fo-select-native) .fi-select-input-ctn,
.nc-order-filter-toolbar .fi-fo-select:not(.fi-fo-select-native) .fi-select-input-btn {
    min-height: 34px;
    padding: 0;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.nc-document-filter-toolbar .fi-fo-select:not(.fi-fo-select-native) .fi-select-input-value-label,
.nc-document-filter-toolbar .fi-fo-select:not(.fi-fo-select-native) .fi-select-input-placeholder,
.nc-order-filter-toolbar .fi-fo-select:not(.fi-fo-select-native) .fi-select-input-value-label,
.nc-order-filter-toolbar .fi-fo-select:not(.fi-fo-select-native) .fi-select-input-placeholder {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 1100px) {
    .nc-document-filter-toolbar > .fi-sc.fi-grid,
    .nc-document-filter-toolbar:has(.fi-grid-col:nth-child(5)) > .fi-sc.fi-grid,
    .nc-order-filter-toolbar > .fi-sc.fi-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .nc-document-filter-toolbar .fi-grid-col:first-child,
    .nc-order-filter-toolbar .fi-grid-col:first-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 560px) {
    .nc-document-filter-toolbar > .fi-sc.fi-grid,
    .nc-document-filter-toolbar:has(.fi-grid-col:nth-child(5)) > .fi-sc.fi-grid,
    .nc-order-filter-toolbar > .fi-sc.fi-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .nc-document-filter-toolbar .fi-grid-col:first-child,
    .nc-order-filter-toolbar .fi-grid-col:first-child {
        grid-column: auto;
    }
}

.nc-document-filter-advanced {
    margin-top: 2px;
}

.nc-document-filter-advanced > .fi-section {
    border: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    padding: 0 !important;
}

.nc-document-filter-advanced .fi-section-header {
    min-height: 0;
    padding: 0 !important;
}

.nc-document-filter-advanced .fi-section-header-heading {
    font-size: 12px !important;
    font-weight: 800 !important;
    color: var(--nc-muted) !important;
}

.nc-document-filter-advanced .fi-section-content {
    padding: 6px 0 0 !important;
    display: grid;
    gap: 8px;
}

.nc-filament-filter-selects--compact > .fi-sc.fi-grid {
    gap: 8px !important;
}

.nc-filament-filter-selects--compact .fi-fo-field-label {
    font-size: 11px;
    font-weight: 750;
}

.nc-filament-filter-selects--compact .fi-input-wrp {
    min-height: 34px;
    border-radius: 10px !important;
    box-shadow: none !important;
}

.nc-filament-filter-toggles--inline {
    padding-top: 0 !important;
    margin-top: 0 !important;
    border-top: 0 !important;
}

.nc-filament-filter-toggles--inline::before {
    content: none !important;
    display: none !important;
}

.nc-filament-filter-toggles--inline > .fi-sc.fi-grid {
    gap: 6px !important;
}

.nc-filament-filter-toggles--inline .fi-fo-field-label {
    min-height: 32px;
    padding: 0 10px !important;
    font-size: 11px !important;
    font-weight: 750 !important;
    border-radius: 999px !important;
}

.nc-filament-filter-toggles--inline .fi-checkbox-input {
    width: 14px;
    height: 14px;
}

.fi-resource-warehouse-documents.fi-resource-list-records-page .fi-ta-search-field {
    display: none !important;
}

/* Felső szűrős listák – görgetésmentes, tömör oszlopok */
.fi-resource-list-records-page .fi-ta:has(.fi-ta-filters-above-content-ctn) .fi-page-content,
.fi-resource-list-records-page .fi-ta:has(.fi-ta-filters-above-content-ctn),
.fi-resource-list-records-page .fi-ta:has(.fi-ta-filters-above-content-ctn) .fi-ta-ctn,
.fi-resource-list-records-page .fi-ta:has(.fi-ta-filters-above-content-ctn) .fi-ta-main {
    max-width: 100%;
    min-width: 0;
}

.fi-resource-list-records-page .fi-ta:has(.fi-ta-filters-above-content-ctn) .fi-ta-content,
.fi-resource-list-records-page .fi-ta:has(.fi-ta-filters-above-content-ctn) .fi-ta-table {
    overflow-x: visible !important;
    max-width: 100%;
}

.fi-resource-list-records-page .fi-ta:has(.fi-ta-filters-above-content-ctn) .fi-ta-table table {
    width: 100% !important;
    min-width: 0 !important;
    table-layout: fixed;
}

.fi-resource-list-records-page .fi-ta:has(.fi-ta-filters-above-content-ctn) .fi-ta-text-item {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
}

.fi-resource-list-records-page .fi-ta:has(.fi-ta-filters-above-content-ctn) .fi-ta-filters-above-content-ctn {
    max-width: 100%;
}

/* HR munkapult */
.hr-desk {
    display: grid;
    gap: 14px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    color: var(--nc-text);
}

.hr-block-title {
    margin: 0;
    font-size: 17px;
    font-weight: 900;
    letter-spacing: -.01em;
}

.hr-subblock-title {
    margin: 0;
    font-size: 14px;
    font-weight: 900;
}

/* Modul alfunkció navigáció – fül sáv (lásd nc-tabbar blokk fent) */
.nc-module-subnav-slot,
.products-subnav {
    margin: 0 0 12px;
}

.module-subnav-wrap {
    position: sticky;
    top: 0;
    z-index: 20;
    margin: 0;
    padding: 0;
    max-width: 100%;
    overflow: visible;
}

.module-subnav-wrap.nc-tab-shell {
    overflow: visible;
}

.module-subnav-wrap .module-subnav {
    border: 1px solid rgba(41, 81, 87, .12);
    border-radius: 18px 18px 0 0;
    box-shadow: 0 10px 28px rgba(29, 29, 31, .045);
}

.dark .module-subnav-wrap .module-subnav {
    border-color: rgba(255, 255, 255, .1);
    box-shadow: none;
}

.module-subnav {
    max-height: none;
    align-items: stretch;
}

/* Modul alfunkció chip navigáció – legördülő csoportokkal */
.module-subnav-wrap--with-menus,
.nc-workbench-panel > :is(
    .module-subnav-wrap--with-menus,
    .fn-workbench-nav--with-menus,
    .hr-workbench-nav--with-menus
) {
    overflow: visible !important;
    z-index: 30;
}

.fi-page-content:has(.module-subnav-wrap--with-menus),
.fi-page:has(.module-subnav-wrap--with-menus),
.fi-page-content:has(.fn-workbench-nav--with-menus),
.fi-page:has(.fn-workbench-nav--with-menus),
.fi-page-content:has(.hr-workbench-nav--with-menus),
.fi-page:has(.hr-workbench-nav--with-menus) {
    overflow: visible !important;
}

.nc-workbench-panel > :is(
    .module-subnav-wrap--with-menus,
    .fn-workbench-nav--with-menus,
    .hr-workbench-nav--with-menus
) .nc-nav-actions {
    position: relative;
    z-index: 4;
}

.module-subnav--with-menus {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
    max-height: none !important;
    overflow: visible !important;
    padding: 3px 2px 7px;
}

.module-subnav-wrap.nc-tab-shell {
    border: 1px solid rgba(41, 81, 87, .12);
    border-radius: 18px;
    box-shadow: 0 10px 28px rgba(29, 29, 31, .045);
    overflow: visible;
}

.dark .module-subnav-wrap.nc-tab-shell {
    border-color: rgba(255, 255, 255, .1);
    box-shadow: none;
}

.module-subnav-wrap.nc-tab-shell .nc-tabbar-row {
    border-radius: 18px 18px 0 0;
}

.module-subnav-wrap.nc-tab-shell:not(:has(.nc-nav-actions)) .nc-tabbar-row .nc-tabbar,
.module-subnav-wrap.nc-tab-shell:not(:has(.nc-nav-actions)) .nc-tabbar {
    border-bottom: 0 !important;
    border-radius: 0;
}

.module-subnav-wrap .nc-tabbar {
    gap: 0;
    padding: 0;
    background: transparent !important;
}

.dark .module-subnav-wrap .nc-tabbar {
    background: transparent !important;
}

.module-subnav-wrap .nc-tabbar > a {
    position: relative;
    margin: 0;
    min-height: var(--nc-tabbar-height);
    height: 100%;
    padding: 0 var(--nc-tabbar-pad-x);
    border-right: 1px solid rgba(41, 81, 87, .1);
    border-radius: 0;
    color: #6e6e73;
    font-weight: var(--nc-tabbar-weight);
    transition: color .18s ease, background .18s ease, box-shadow .18s ease;
}

.module-subnav-wrap .nc-tabbar-row .nc-tabbar > a {
    min-height: var(--nc-tabbar-height) !important;
    height: 100% !important;
}

.module-subnav-wrap .nc-tabbar > a:last-child {
    border-right: 0;
}

.module-subnav-wrap .nc-tabbar > a::after {
    bottom: 0;
    height: 3px;
}

.module-subnav-wrap .nc-tabbar > a:hover {
    color: #295157;
    background: rgba(41, 81, 87, .05);
}

.module-subnav-wrap .nc-tabbar > a.is-active,
.fi-resource-list-records-page .fi-page-content:has(.module-subnav-wrap) .module-subnav-wrap .nc-tabbar > a.is-active,
.nc-workbench-panel .module-subnav-wrap .nc-tabbar > a.is-active {
    color: #295157;
    font-weight: var(--nc-tabbar-active-weight);
    background: transparent;
    box-shadow: inset 0 -3px 0 #295157;
    z-index: 1;
}

.module-subnav-wrap .nc-tabbar > a.is-active::after {
    height: 0;
    box-shadow: none;
}

.dark .module-subnav-wrap .nc-tabbar > a {
    border-right-color: rgba(255, 255, 255, .08);
    color: #a8a8b3;
}

.dark .module-subnav-wrap .nc-tabbar > a:hover {
    color: #e8f6f6;
    background: rgba(255, 255, 255, .04);
}

.dark .module-subnav-wrap .nc-tabbar > a.is-active,
.dark .fi-resource-list-records-page .fi-page-content:has(.module-subnav-wrap) .module-subnav-wrap .nc-tabbar > a.is-active,
.dark .nc-workbench-panel .module-subnav-wrap .nc-tabbar > a.is-active {
    color: #e8f6f6;
    background: transparent;
    box-shadow: inset 0 -3px 0 #9fd0d1;
}

.module-subnav-menu {
    position: relative;
    display: inline-flex;
    flex: 0 0 auto;
}

.nc-nav-actions .module-subnav-menu > summary {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: calc(var(--nc-tabbar-height) - 10px);
    padding: 0 12px;
    border: 1px solid rgba(41, 81, 87, .14);
    border-radius: 999px;
    background: rgba(255, 255, 255, .88);
    color: #295157;
    font-size: 12px;
    font-weight: 650;
    list-style: none;
    cursor: pointer;
    user-select: none;
    white-space: nowrap;
    box-shadow: 0 8px 22px rgba(29, 29, 31, .035);
}

.nc-nav-actions .module-subnav-menu > summary::-webkit-details-marker {
    display: none;
}

.nc-nav-actions .module-subnav-menu > summary::after {
    content: "▾";
    margin-left: 2px;
    font-size: 10px;
    opacity: .82;
}

.nc-nav-actions .module-subnav-menu > summary:hover,
.nc-nav-actions .module-subnav-menu[open]:not(.is-active) > summary {
    border-color: rgba(41, 81, 87, .28);
}

.nc-nav-actions .module-subnav-menu.is-active > summary,
.nc-nav-actions .module-subnav-menu.is-active[open] > summary {
    background: #295157;
    color: #fff;
    border-color: #295157;
    box-shadow: 0 12px 24px rgba(41, 81, 87, .15);
}

.module-subnav-menu-panel {
    position: absolute;
    left: 0;
    right: auto;
    top: calc(100% + 8px);
    z-index: 1200;
    display: grid;
    gap: 4px;
    min-width: max(230px, 100%);
    width: max-content;
    max-width: min(320px, calc(100vw - 24px));
    padding: 8px;
    border: 1px solid rgba(41, 81, 87, .12);
    border-radius: 16px;
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 18px 40px rgba(15, 23, 42, .14);
}

.module-subnav-menu:last-of-type .module-subnav-menu-panel {
    left: auto;
    right: 0;
}

.module-subnav-menu-panel a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 0;
    padding: 10px 11px;
    border: 0;
    border-radius: 11px;
    background: transparent;
    color: #1d1d1f;
    font-size: 13px;
    font-weight: 850;
    box-shadow: none;
    white-space: normal;
    text-decoration: none;
}

.module-subnav-menu-panel a:hover {
    background: rgba(41, 81, 87, .06);
    color: #295157;
}

.module-subnav-menu-panel a.is-active {
    background: rgba(41, 81, 87, .1);
    color: #295157;
}

.dark .nc-nav-actions .module-subnav-menu > summary,
.dark .nc-nav-actions .module-subnav-menu.is-active > summary,
.dark .nc-nav-actions .module-subnav-menu.is-active[open] > summary {
    background: rgba(39, 39, 42, .88);
    border-color: rgba(255, 255, 255, .11);
    color: #d7e3e4;
    box-shadow: none;
}

.dark .nc-nav-actions .module-subnav-menu.is-active > summary,
.dark .nc-nav-actions .module-subnav-menu.is-active[open] > summary {
    background: #3a666d;
    border-color: #3a666d;
    color: #fff;
}

.dark .module-subnav-menu-panel {
    background: rgba(24, 24, 27, .98);
    border-color: rgba(255, 255, 255, .1);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .35);
}

.dark .module-subnav-menu-panel a {
    color: #f5f5f7;
}

.dark .module-subnav-menu-panel a:hover,
.dark .module-subnav-menu-panel a.is-active {
    background: rgba(70, 98, 101, .24);
    color: #d7e3e4;
}

@media (max-width: 760px) {
    .nc-nav-actions .module-subnav-menu > summary {
        min-height: 34px;
        padding: 0 11px;
        font-size: 12px;
    }
}

.hr-workbench-nav--with-menus .hr-main-nav {
    position: relative;
    z-index: 2;
    overflow-x: auto !important;
    flex-wrap: nowrap;
}

.hr-workbench-context {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 14px;
    padding: 9px 14px 11px;
    border-top: 1px solid rgba(41, 81, 87, .1);
    background: rgba(41, 81, 87, .035);
    border-radius: 0 0 18px 18px;
}

.hr-workbench-context-label {
    flex: 0 0 auto;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: #6e6e73;
}

.hr-context-links {
    display: flex;
    flex: 1 1 auto;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 0;
    min-width: 0;
}

.hr-context-links a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #295157;
    font-size: 12px;
    font-weight: 750;
    line-height: 1.35;
    text-decoration: none;
    white-space: nowrap;
}

.hr-context-links a:not(:last-child)::after {
    content: "·";
    margin-left: 10px;
    color: rgba(41, 81, 87, .28);
    font-weight: 500;
    pointer-events: none;
}

.hr-context-links a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.hr-context-links a.is-active {
    font-weight: 900;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.hr-context-links-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    padding: 1px 6px;
    border-radius: 999px;
    background: rgba(198, 163, 91, .22);
    color: #755f22;
    font-size: 10px;
    font-weight: 900;
    line-height: 1.2;
}

.dark .hr-workbench-nav {
    background: rgba(24, 24, 27, .92);
}

.dark .hr-workbench-context {
    background: rgba(255, 255, 255, .03);
    border-top-color: rgba(255, 255, 255, .08);
}

.dark .hr-workbench-context-label {
    color: #a1a1aa;
}

.dark .hr-context-links a {
    color: #d4d4d8;
}

.dark .hr-context-links a:not(:last-child)::after {
    color: rgba(255, 255, 255, .18);
}

.hr-section-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.hr-section-nav a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 32px;
    padding: 0 11px;
    border: 1px solid var(--nc-border);
    border-radius: 999px;
    background: #fff;
    color: var(--nc-text);
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}

.hr-section-nav a.is-active {
    border-color: rgba(41, 81, 87, .35);
    background: rgba(41, 81, 87, .08);
    color: var(--nc-green);
}

.hr-section-nav-badge {
    padding: 1px 6px;
    border-radius: 999px;
    background: rgba(198, 163, 91, .18);
    font-size: 10px;
    font-weight: 900;
}

.hr-quick-actions-block {
    display: grid;
    gap: 10px;
}

.hr-quick-actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 8px;
}

.hr-quick-action-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-height: 48px;
    padding: 0 16px;
    border: 1px solid var(--nc-border);
    border-radius: 14px;
    background: #fff;
    color: var(--nc-text);
    font-size: 14px;
    font-weight: 900;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(15, 23, 42, .04);
    transition: transform .16s ease, border-color .16s ease;
}

.hr-quick-action-btn:hover {
    transform: translateY(-1px);
    border-color: rgba(41, 81, 87, .28);
}

.hr-quick-action-btn.primary {
    background: #295157;
    border-color: #295157;
    color: #fff;
}

.hr-quick-action-btn em {
    color: var(--nc-muted);
    font-style: normal;
    font-weight: 900;
}

.hr-quick-action-btn.primary em {
    color: rgba(255, 255, 255, .75);
}

.hr-click-card {
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.hr-click-card:hover {
    transform: translateY(-1px);
    border-color: rgba(41, 81, 87, .28);
}

.hr-card-arrow {
    display: block;
    margin-top: 4px;
    color: var(--nc-green);
    font-style: normal;
    font-size: 11px;
    font-weight: 850;
}

.hr-mini-stat-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 12px;
}

.hr-mini-stat {
    display: grid;
    gap: 2px;
    padding: 10px 12px;
    border: 1px solid var(--nc-border);
    border-radius: 14px;
    background: #fbfbfd;
    position: relative;
}

.hr-mini-stat strong {
    font-size: 22px;
    font-variant-numeric: tabular-nums;
}

.hr-mini-stat span {
    font-size: 11px;
    font-weight: 800;
    color: var(--nc-muted);
}

.hr-mini-stat em {
    position: absolute;
    top: 10px;
    right: 10px;
    font-style: normal;
    color: var(--nc-muted);
    font-size: 12px;
}

.hr-presence-split {
    margin-top: 4px;
}

.hr-panel-nested {
    padding: 12px;
    background: #fbfbfd;
    box-shadow: none;
}

.hr-panel-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.hr-monthly-compact .hr-monthly-grid {
    margin-top: 0;
}

.hr-monthly-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 8px;
}

.hr-monthly-card {
    display: grid;
    gap: 3px;
    padding: 12px;
    border: 1px solid var(--nc-border);
    border-radius: 14px;
    background: #fff;
}

.hr-monthly-card strong {
    font-size: 20px;
}

.hr-monthly-card span {
    font-size: 12px;
    font-weight: 800;
    color: var(--nc-muted);
}

.hr-monthly-card em {
    justify-self: end;
    font-style: normal;
    color: var(--nc-muted);
}

.hr-link-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 10px;
}

.hr-link-card {
    display: grid;
    gap: 4px;
    padding: 16px;
    border: 1px solid var(--nc-border);
    border-radius: 16px;
    background: rgba(255, 255, 255, .92);
    box-shadow: var(--nc-shadow-soft);
}

.hr-link-card strong {
    font-size: 15px;
}

.hr-link-card small {
    color: var(--nc-muted);
    font-size: 12px;
}

.hr-link-card em {
    margin-top: 4px;
    color: var(--nc-green);
    font-style: normal;
    font-size: 12px;
    font-weight: 850;
}

.dark .hr-main-nav,
.dark .hr-link-card,
.dark .hr-quick-action-btn,
.dark .hr-monthly-card {
    background: rgba(24, 24, 27, .92);
    border-color: rgba(255, 255, 255, .09);
}

.dark .hr-main-nav a.is-active {
    background: #466265;
    border-color: #466265;
}

.dark .hr-mini-stat,
.dark .hr-panel-nested {
    background: rgba(39, 39, 42, .72);
}

@media (max-width: 900px) {
    .hr-mini-stat-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .hr-mini-stat-row,
    .hr-quick-actions-grid {
        grid-template-columns: 1fr;
    }
}

.hr-hero {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.hr-hero-copy h1 {
    margin: 0;
    font-size: clamp(24px, 2.4vw, 30px);
    font-weight: 900;
    letter-spacing: -.02em;
}

.hr-hero-copy p {
    max-width: 760px;
    margin: 6px 0 0;
    color: var(--nc-muted);
    font-size: 14px;
    line-height: 1.5;
}

.hr-hero-kicker {
    margin: 0 0 4px;
    color: var(--nc-green);
    font-size: 12px;
    font-weight: 850;
    letter-spacing: .02em;
    text-transform: uppercase;
}

.hr-primary-action {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 16px;
    border-radius: 999px;
    background: var(--nc-green);
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 12px 26px rgba(41, 81, 87, .18);
}

.hr-quick-bar {
    display: flex;
    align-items: center;
    gap: 10px 12px;
    flex-wrap: wrap;
    padding: 8px 12px;
    border: 1px solid var(--nc-border);
    border-radius: 16px;
    background: rgba(255, 255, 255, .92);
    box-shadow: var(--nc-shadow-soft);
}

.hr-quick-bar-label {
    color: var(--nc-muted);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .04em;
    text-transform: uppercase;
    white-space: nowrap;
}

.hr-quick-bar-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    min-width: 0;
    flex: 1 1 auto;
}

.hr-quick-bar-action {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 11px;
    border: 1px solid var(--nc-border);
    border-radius: 999px;
    background: #fff;
    color: var(--nc-green);
    font-size: 12px;
    font-weight: 850;
    text-decoration: none;
    white-space: nowrap;
}

.hr-quick-bar-action:hover {
    border-color: rgba(41, 81, 87, .28);
}

.hr-quick-bar-action.primary {
    background: #295157;
    border-color: #295157;
    color: #fff;
}

.hr-quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hr-subnav {
    display: grid;
    gap: 10px;
    padding: 12px 14px;
    border: 1px solid var(--nc-border);
    border-radius: 20px;
    background: rgba(255, 255, 255, .9);
    box-shadow: var(--nc-shadow-soft);
}

.hr-subnav-group {
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr);
    gap: 10px 14px;
    align-items: start;
}

.hr-subnav-label {
    padding-top: 7px;
    color: var(--nc-muted);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.hr-subnav-items {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.hr-subnav-items a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 34px;
    padding: 0 12px;
    border: 1px solid var(--nc-border);
    border-radius: 999px;
    background: #fff;
    color: var(--nc-green);
    font-size: 12px;
    font-weight: 850;
    text-decoration: none;
    white-space: nowrap;
}

.hr-subnav-items a:hover {
    border-color: rgba(41, 81, 87, .28);
}

.hr-subnav-items a.is-active {
    background: #295157;
    border-color: #295157;
    color: #fff;
    box-shadow: 0 10px 22px rgba(41, 81, 87, .14);
}

.hr-subnav-badge,
.hr-view-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    padding: 2px 7px;
    border-radius: 999px;
    background: rgba(198, 163, 91, .18);
    color: #755f22;
    font-size: 11px;
    font-weight: 900;
}

.hr-view-tabs a.is-active .hr-view-badge,
.hr-subnav-items a.is-active .hr-subnav-badge {
    background: rgba(255, 255, 255, .18);
    color: #fff;
}

.dark .hr-subnav {
    background: rgba(24, 24, 27, .92);
    border-color: rgba(255, 255, 255, .09);
    box-shadow: none;
}

.dark .hr-subnav-items a {
    background: rgba(28, 28, 30, .88);
    border-color: rgba(255, 255, 255, .1);
    color: #d7e3e4;
}

.dark .hr-subnav-items a.is-active {
    background: #466265;
    border-color: #466265;
    color: #fff;
}

.hr-category-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.hr-category-card,
.hr-kpi-card,
.hr-panel,
.hr-stat-card,
.hr-approval-card,
.hr-export-card {
    border: 1px solid var(--nc-border);
    border-radius: 20px;
    background: rgba(255, 255, 255, .92);
    box-shadow: var(--nc-shadow-soft);
}

.hr-category-card {
    display: grid;
    gap: 4px;
    min-height: 96px;
    padding: 15px;
    color: inherit;
    text-decoration: none;
    transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.hr-category-card:hover {
    transform: translateY(-1px);
    border-color: rgba(41, 81, 87, .28);
    box-shadow: 0 16px 34px rgba(15, 23, 42, .08);
}

.hr-category-card span,
.hr-kpi-card span {
    color: var(--nc-muted);
    font-size: 12px;
    font-weight: 800;
}

.hr-category-card strong,
.hr-kpi-card strong {
    font-size: 28px;
    line-height: 1.05;
    letter-spacing: -.03em;
    font-variant-numeric: tabular-nums;
}

.hr-category-card small,
.hr-kpi-card small {
    color: var(--nc-muted);
    font-size: 11px;
    font-weight: 700;
}

.hr-kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.hr-kpi-card {
    display: grid;
    gap: 4px;
    min-height: 96px;
    padding: 14px 15px;
    color: inherit;
    text-decoration: none;
    transition: transform .16s ease, border-color .16s ease;
}

.hr-kpi-card:hover {
    transform: translateY(-1px);
    border-color: rgba(41, 81, 87, .28);
}

.hr-kpi-card strong {
    font-size: 24px;
}

.hr-panel {
    padding: 16px 18px;
}

.hr-panel-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.hr-panel h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 900;
    letter-spacing: -.01em;
}

.hr-panel-lead {
    margin: 4px 0 0;
    color: var(--nc-muted);
    font-size: 13px;
    line-height: 1.4;
}

.hr-link,
.hr-link-inline {
    color: var(--nc-green);
    font-size: 13px;
    font-weight: 850;
    text-decoration: none;
    white-space: nowrap;
}

.hr-quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hr-quick-action {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 14px;
    border: 1px solid var(--nc-border);
    border-radius: 999px;
    background: #fff;
    color: var(--nc-green);
    font-size: 13px;
    font-weight: 850;
    text-decoration: none;
    white-space: nowrap;
}

.hr-quick-action.primary {
    background: #1d1d1f;
    border-color: #1d1d1f;
    color: #fff;
}

.hr-risk-list,
.hr-data-list,
.hr-closing-list {
    display: grid;
    gap: 8px;
}

.hr-panel-head-inline {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.hr-risk-panel {
    padding-top: 14px;
    padding-bottom: 14px;
}

.hr-risk-summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 8px;
}

.hr-risk-summary-card {
    display: grid;
    gap: 4px;
    min-height: 88px;
    padding: 11px 12px;
    border: 1px solid rgba(41, 81, 87, .12);
    border-radius: 14px;
    background: #fbfbfd;
    color: inherit;
    text-decoration: none;
    transition: border-color .16s ease, transform .16s ease;
}

.hr-risk-summary-card:hover {
    transform: translateY(-1px);
    border-color: rgba(41, 81, 87, .24);
    background: #fff;
}

.hr-risk-summary-card.warning { border-color: rgba(249, 115, 22, .22); }
.hr-risk-summary-card.danger { border-color: rgba(220, 38, 38, .2); }

.hr-risk-summary-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.hr-risk-summary-top strong {
    font-size: 22px;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.hr-risk-summary-title {
    font-size: 13px;
    font-weight: 900;
    line-height: 1.25;
}

.hr-risk-summary-card small {
    color: var(--nc-muted);
    font-size: 11px;
    line-height: 1.35;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hr-empty.compact {
    padding: 14px;
    font-size: 12px;
}

.dark .hr-risk-summary-card {
    background: rgba(39, 39, 42, .72);
    border-color: rgba(255, 255, 255, .08);
}

.dark .hr-risk-summary-card:hover {
    background: rgba(46, 46, 50, .86);
}

.hr-risk-row,
.hr-data-row,
.hr-closing-row {
    display: grid;
    gap: 10px;
    align-items: center;
    padding: 12px 14px;
    border: 1px solid rgba(41, 81, 87, .1);
    border-radius: 16px;
    background: #fbfbfd;
    color: inherit;
    text-decoration: none;
    transition: border-color .16s ease, background .16s ease;
}

.hr-risk-row {
    grid-template-columns: minmax(0, 1.4fr) auto;
    border-left-width: 4px;
}

.hr-risk-row.warning,
.hr-risk-row.danger {
    border-left-color: #f97316;
}

.hr-risk-row.danger {
    border-left-color: #dc2626;
}

.hr-data-row {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, .9fr) auto;
}

.hr-data-row.compact,
.hr-closing-row {
    grid-template-columns: minmax(0, 1fr) auto;
}

.hr-closing-row {
    grid-template-columns: minmax(0, 1.2fr) minmax(120px, .5fr) auto;
}

.hr-risk-row:hover,
.hr-data-row:hover,
.hr-closing-row:hover {
    border-color: rgba(41, 81, 87, .22);
    background: #fff;
}

.hr-risk-main strong,
.hr-data-main strong,
.hr-closing-main strong {
    display: block;
    font-size: 13px;
    font-weight: 900;
}

.hr-risk-main small,
.hr-data-main small,
.hr-data-mid small,
.hr-closing-main small {
    display: block;
    margin-top: 2px;
    color: var(--nc-muted);
    font-size: 12px;
    line-height: 1.35;
}

.hr-risk-meta {
    display: grid;
    justify-items: end;
    gap: 6px;
}

.hr-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px 9px;
    border-radius: 999px;
    background: #eef2f7;
    color: #475569;
    font-size: 11px;
    font-weight: 900;
    white-space: nowrap;
}

.hr-pill.success { background: #ecfdf5; color: #047857; }
.hr-pill.warning { background: #fff7ed; color: #c2410c; }
.hr-pill.danger { background: #fef2f2; color: #b91c1c; }
.hr-pill.info { background: #eff6ff; color: #1d4ed8; }

.hr-two-col {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr);
    gap: 14px;
    align-items: start;
}

.hr-stack {
    display: grid;
    gap: 14px;
}

.hr-stat-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.hr-stat-card {
    padding: 12px;
    box-shadow: none;
}

.hr-stat-card strong {
    display: block;
    font-size: 20px;
    font-weight: 900;
}

.hr-stat-card small {
    display: block;
    margin-top: 2px;
    color: var(--nc-muted);
    font-size: 12px;
}

.hr-approval-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.hr-approval-grid.wide {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.hr-approval-card {
    display: grid;
    gap: 4px;
    padding: 16px;
    color: inherit;
    text-decoration: none;
    transition: transform .16s ease, border-color .16s ease;
}

.hr-approval-card:hover {
    transform: translateY(-1px);
    border-color: rgba(41, 81, 87, .28);
}

.hr-approval-card strong {
    font-size: 30px;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.hr-approval-card span {
    font-size: 14px;
    font-weight: 900;
}

.hr-approval-card small {
    color: var(--nc-muted);
    font-size: 12px;
    line-height: 1.35;
}

.hr-approval-card em {
    margin-top: 6px;
    color: var(--nc-green);
    font-style: normal;
    font-size: 12px;
    font-weight: 850;
}

.hr-approval-card.warning { border-color: rgba(249, 115, 22, .24); }
.hr-approval-card.success { border-color: rgba(22, 163, 74, .2); }

.hr-closing-progress {
    display: grid;
    gap: 4px;
    justify-items: stretch;
}

.hr-progress-bar {
    height: 8px;
    border-radius: 999px;
    background: rgba(41, 81, 87, .1);
    overflow: hidden;
}

.hr-progress-bar span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #295157, #4f8f97);
}

.hr-closing-progress small {
    color: var(--nc-muted);
    font-size: 11px;
    font-weight: 800;
    text-align: right;
}

.hr-export-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 12px;
}

.hr-export-card {
    display: grid;
    gap: 6px;
    min-height: 120px;
    padding: 18px;
    color: inherit;
    text-decoration: none;
    transition: transform .16s ease, border-color .16s ease;
}

.hr-export-card:hover {
    transform: translateY(-1px);
    border-color: rgba(41, 81, 87, .28);
}

.hr-export-card strong {
    font-size: 16px;
    font-weight: 900;
}

.hr-export-card small {
    color: var(--nc-muted);
    font-size: 13px;
    line-height: 1.4;
}

.hr-export-card em {
    margin-top: auto;
    color: var(--nc-green);
    font-style: normal;
    font-size: 12px;
    font-weight: 850;
}

.hr-empty {
    padding: 20px;
    border: 1px dashed rgba(41, 81, 87, .18);
    border-radius: 16px;
    color: var(--nc-muted);
    text-align: center;
    font-size: 13px;
}

.hr-category-card.warning,
.hr-kpi-card.warning { border-color: rgba(249, 115, 22, .24); }
.hr-category-card.danger,
.hr-kpi-card.danger { border-color: rgba(220, 38, 38, .22); }
.hr-category-card.success,
.hr-kpi-card.success { border-color: rgba(22, 163, 74, .2); }
.hr-category-card.info,
.hr-kpi-card.info { border-color: rgba(37, 99, 235, .2); }

.dark .hr-category-card,
.dark .hr-kpi-card,
.dark .hr-panel,
.dark .hr-stat-card,
.dark .hr-approval-card,
.dark .hr-export-card {
    background: rgba(24, 24, 27, .92);
    border-color: rgba(255, 255, 255, .09);
    box-shadow: none;
}

.dark .hr-view-tabs a {
    background: rgba(28, 28, 30, .88);
    border-color: rgba(255, 255, 255, .1);
    color: #d7e3e4;
}

.dark .hr-view-tabs a.is-active {
    background: #466265;
    border-color: #466265;
    color: #fff;
}

.dark .hr-risk-row,
.dark .hr-data-row,
.dark .hr-closing-row {
    background: rgba(39, 39, 42, .72);
    border-color: rgba(255, 255, 255, .08);
}

.dark .hr-quick-bar {
    background: rgba(24, 24, 27, .92);
    border-color: rgba(255, 255, 255, .09);
    box-shadow: none;
}

.dark .hr-quick-bar-action {
    background: rgba(39, 39, 42, .9);
    border-color: rgba(255, 255, 255, .1);
    color: #d7e3e4;
}

.dark .hr-quick-bar-action.primary {
    background: #466265;
    border-color: #466265;
    color: #fff;
}

.dark .hr-quick-action {
    background: rgba(39, 39, 42, .9);
    border-color: rgba(255, 255, 255, .1);
    color: #d7e3e4;
}

.dark .hr-quick-action.primary {
    background: #f5f5f7;
    border-color: #f5f5f7;
    color: #1d1d1f;
}

@media (max-width: 1180px) {
    .hr-category-grid,
    .hr-kpi-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .hr-subnav-group {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .hr-subnav-label {
        padding-top: 0;
    }

    .hr-two-col,
    .hr-approval-grid {
        grid-template-columns: 1fr;
    }

    .hr-data-row,
    .hr-closing-row,
    .hr-risk-row {
        grid-template-columns: 1fr;
    }

    .hr-risk-meta {
        justify-items: start;
    }
}

@media (max-width: 680px) {
    .hr-hero {
        align-items: flex-start;
        flex-direction: column;
    }

    .hr-quick-bar {
        align-items: flex-start;
    }

    .hr-quick-bar-actions {
        width: 100%;
    }

    .hr-category-grid,
    .hr-kpi-grid,
    .hr-stat-grid {
        grid-template-columns: 1fr;
    }
}

/* Pénzügyi munkapult */
.fn-desk {
    display: grid;
    gap: 14px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    color: var(--nc-text);
}

.fn-hero-copy h1 {
    margin: 0;
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 900;
    letter-spacing: -.02em;
}

.fn-hero-kicker {
    margin: 0 0 6px;
    color: var(--nc-muted);
    font-size: 12px;
    font-weight: 800;
}

.fn-hero-copy p:last-child {
    margin: 8px 0 0;
    color: var(--nc-muted);
    font-size: 14px;
    line-height: 1.45;
}

.fn-block-title {
    margin: 0;
    font-size: 17px;
    font-weight: 900;
    letter-spacing: -.01em;
}

.fn-workbench-nav--with-menus {
    overflow: visible !important;
    z-index: 30;
}

.fi-page-content:has(.fn-workbench-nav--with-menus),
.fi-page:has(.fn-workbench-nav--with-menus) {
    overflow: visible !important;
}

.fn-workbench-nav--with-menus .fn-main-nav {
    position: relative;
    z-index: 2;
    overflow-x: auto !important;
    flex-wrap: nowrap;
}

.fn-main-nav > a {
    flex: 0 0 auto;
}

.fn-workbench-context,
.nc-finance-section-context {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 14px;
    padding: 9px 14px 11px;
    border-top: 1px solid rgba(41, 81, 87, .1);
    background: rgba(41, 81, 87, .035);
    border-radius: 0 0 18px 18px;
}

.fn-workbench-context-label,
.nc-finance-section-context-label {
    flex: 0 0 auto;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: #6e6e73;
}

.fn-context-links,
.nc-finance-section-context-links {
    display: flex;
    flex: 1 1 auto;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 0;
    min-width: 0;
}

.fn-context-links a,
.nc-finance-section-context-links a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #295157;
    font-size: 12px;
    font-weight: 750;
    line-height: 1.35;
    text-decoration: none;
    white-space: nowrap;
}

.fn-context-links a:not(:last-child)::after {
    content: "·";
    margin-left: 10px;
    color: rgba(41, 81, 87, .28);
    font-weight: 500;
    pointer-events: none;
}

.fn-context-links a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.fn-context-links a.is-active {
    font-weight: 900;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.fn-context-links-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    padding: 1px 6px;
    border-radius: 999px;
    background: rgba(198, 163, 91, .22);
    color: #755f22;
    font-size: 10px;
    font-weight: 900;
    line-height: 1.2;
}

.dark .fn-workbench-nav {
    background: rgba(24, 24, 27, .92);
}

.dark .fn-workbench-context {
    background: rgba(255, 255, 255, .03);
    border-top-color: rgba(255, 255, 255, .08);
}

.dark .fn-workbench-context-label {
    color: #a1a1aa;
}

.dark .fn-context-links a {
    color: #d4d4d8;
}

.dark .fn-context-links a:not(:last-child)::after {
    color: rgba(255, 255, 255, .18);
}

.fn-section-nav-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    padding: 2px 7px;
    border-radius: 999px;
    background: rgba(198, 163, 91, .2);
    color: #755f22;
    font-size: 11px;
    font-weight: 900;
}

.fn-section-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.fn-section-nav a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 32px;
    padding: 0 11px;
    border: 1px solid var(--nc-border);
    border-radius: 999px;
    background: #fff;
    color: var(--nc-text);
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}

.fn-section-nav a.is-active {
    border-color: rgba(41, 81, 87, .35);
    background: rgba(41, 81, 87, .08);
    color: var(--nc-green);
}

.fn-quick-actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 8px;
}

.fn-quick-action-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-height: 50px;
    padding: 0 16px;
    border: 1px solid var(--nc-border);
    border-radius: 14px;
    background: #fff;
    color: var(--nc-text);
    font-size: 14px;
    font-weight: 900;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(15, 23, 42, .04);
    transition: transform .16s ease, border-color .16s ease;
}

.fn-quick-action-btn:hover {
    transform: translateY(-1px);
    border-color: rgba(41, 81, 87, .28);
}

.fn-quick-action-btn.primary {
    background: #295157;
    border-color: #295157;
    color: #fff;
}

.fn-quick-action-btn em,
.fn-link-card em,
.fn-mini-stat em {
    color: var(--nc-muted);
    font-style: normal;
    font-weight: 900;
}

.fn-quick-action-btn.primary em { color: rgba(255, 255, 255, .75); }

.fn-click-card {
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.fn-click-card:hover {
    transform: translateY(-1px);
    border-color: rgba(41, 81, 87, .28);
}

.fn-card-arrow,
.fn-link {
    color: var(--nc-green);
    font-style: normal;
    font-size: 12px;
    font-weight: 850;
    text-decoration: none;
}

.fn-panel {
    display: grid;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid var(--nc-border);
    border-radius: 20px;
    background: rgba(255, 255, 255, .92);
    box-shadow: var(--nc-shadow-soft);
}

.fn-panel-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    flex-wrap: wrap;
}

.fn-panel-lead {
    margin: 4px 0 0;
    color: var(--nc-muted);
    font-size: 13px;
}

.fn-alert-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.fn-alert-card {
    display: grid;
    gap: 4px;
    padding: 12px 14px;
    border: 1px solid var(--nc-border);
    border-radius: 16px;
    background: #fff;
}

.fn-alert-card.danger { border-color: rgba(220, 38, 38, .24); }
.fn-alert-card.warning { border-color: rgba(249, 115, 22, .24); }
.fn-alert-card.info { border-color: rgba(37, 99, 235, .22); }

.fn-alert-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.fn-alert-title { font-size: 13px; font-weight: 850; }

.fn-pill {
    display: inline-flex;
    align-items: center;
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 900;
    background: rgba(41, 81, 87, .08);
    color: var(--nc-green);
}

.fn-pill.warning { background: #fff7ed; color: #c2410c; }
.fn-pill.danger { background: #fef2f2; color: #b91c1c; }
.fn-pill.success { background: #ecfdf5; color: #047857; }

.fn-due-list { display: grid; gap: 8px; }

.fn-due-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(140px, 220px) auto;
    gap: 10px;
    align-items: center;
    padding: 10px 12px;
    border: 1px solid var(--nc-border);
    border-radius: 14px;
    background: #fff;
}

.fn-due-main small { color: var(--nc-muted); font-size: 11px; }

.fn-due-values { display: grid; gap: 4px; }

.fn-bar {
    height: 4px;
    border-radius: 999px;
    background: rgba(41, 81, 87, .08);
    overflow: hidden;
}

.fn-bar span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #295157, #466265);
}

.fn-bar.gold span { background: linear-gradient(90deg, #c6a35b, #e7c98d); }

.fn-mini-stat-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.fn-mini-stat-row.wide { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.fn-mini-stat {
    display: grid;
    gap: 3px;
    padding: 12px;
    border: 1px solid var(--nc-border);
    border-radius: 14px;
    background: #fff;
}

.fn-mini-stat.danger { border-color: rgba(220, 38, 38, .22); }
.fn-mini-stat.warning { border-color: rgba(249, 115, 22, .22); }

.fn-monthly-grid,
.fn-link-grid,
.fn-export-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 8px;
}

.fn-monthly-card,
.fn-link-card,
.fn-export-card {
    display: grid;
    gap: 4px;
    padding: 14px;
    border: 1px solid var(--nc-border);
    border-radius: 16px;
    background: #fff;
}

.fn-data-list .nc-list-row {
    border-radius: 12px;
    margin-bottom: 6px;
}

.fn-empty {
    padding: 18px;
    border: 1px dashed var(--nc-border);
    border-radius: 16px;
    color: var(--nc-muted);
    text-align: center;
}

.fn-empty.compact { padding: 12px; font-size: 13px; }

@media (max-width: 1100px) {
    .fn-alert-grid,
    .fn-mini-stat-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .fn-alert-grid,
    .fn-mini-stat-row,
    .fn-mini-stat-row.wide {
        grid-template-columns: 1fr;
    }

    .fn-due-row {
        grid-template-columns: 1fr;
    }
}

/* Cashflow naptár */
.fn-cashflow-summary-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}

.fn-cashflow-summary-foot {
    display: grid;
    gap: 4px;
    color: var(--nc-muted);
    font-size: 13px;
}

.fn-cashflow-summary-foot p { margin: 0; }

.fn-cashflow-calendar-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.fn-cashflow-period-switcher {
    display: inline-flex;
    align-items: stretch;
    max-width: 100%;
    border: 1px solid var(--nc-border);
    border-radius: 16px;
    background: linear-gradient(180deg, #fff 0%, rgba(248, 250, 252, .92) 100%);
    box-shadow: 0 8px 22px rgba(15, 23, 42, .04);
    overflow: hidden;
}

.fn-cashflow-period-arrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 44px;
    padding: 0 14px;
    color: var(--nc-green);
    font-size: 13px;
    font-weight: 850;
    text-decoration: none;
    white-space: nowrap;
    transition: background .16s ease, color .16s ease;
}

.fn-cashflow-period-arrow:hover {
    background: rgba(41, 81, 87, .07);
}

.fn-cashflow-period-arrow.is-next {
    /* grouped layout */
}

.fn-cashflow-period-switcher > * + * {
    border-left: 1px solid var(--nc-border);
}

.fn-cashflow-period-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 999px;
    background: rgba(41, 81, 87, .08);
    color: var(--nc-green);
    font-size: 16px;
    font-weight: 900;
    line-height: 1;
}

.fn-cashflow-period-current {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 148px;
    min-height: 44px;
    padding: 0 18px;
    color: var(--nc-text);
    font-size: 15px;
    font-weight: 900;
    letter-spacing: -.01em;
    text-align: center;
    white-space: nowrap;
}

.fn-cashflow-export-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 16px;
    border: 1px solid rgba(41, 81, 87, .18);
    border-radius: 14px;
    background: #fff;
    color: var(--nc-green);
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(15, 23, 42, .04);
    transition: transform .16s ease, border-color .16s ease, background .16s ease;
}

.fn-cashflow-export-btn:hover {
    transform: translateY(-1px);
    border-color: rgba(41, 81, 87, .32);
    background: rgba(41, 81, 87, .04);
}

.fn-cashflow-export-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 999px;
    background: rgba(41, 81, 87, .08);
    font-size: 13px;
    font-weight: 900;
    line-height: 1;
}

.fn-cashflow-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.fn-cashflow-note {
    margin: 0;
    color: var(--nc-muted);
    font-size: 12px;
}

.fn-cashflow-weekdays {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 6px;
    margin-bottom: 6px;
    color: var(--nc-muted);
    font-size: 11px;
    font-weight: 900;
    text-align: center;
}

.fn-cashflow-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 6px;
}

.fn-cashflow-cell {
    display: grid;
    gap: 6px;
    min-height: 108px;
    padding: 8px;
    border: 1px solid var(--nc-border);
    border-radius: 12px;
    background: #fff;
    font-size: 11px;
}

.fn-cashflow-cell.is-outside { opacity: .45; }
.fn-cashflow-cell.is-dimmed { opacity: .35; pointer-events: none; }
.fn-cashflow-cell.is-today { border-color: rgba(41, 81, 87, .45); box-shadow: inset 0 0 0 1px rgba(41, 81, 87, .12); }

.fn-cashflow-cell.risk-positive { border-left: 3px solid #2f855a; }
.fn-cashflow-cell.risk-negative { border-left: 3px solid #c05621; }
.fn-cashflow-cell.risk-critical { border-left: 3px solid #c53030; background: rgba(197, 48, 48, .04); }
.fn-cashflow-cell.risk-neutral { border-left: 3px solid #cbd5e0; }

.fn-cashflow-cell-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4px;
}

.fn-cashflow-cell-lines {
    display: grid;
    gap: 2px;
    font-weight: 800;
}

.fn-cashflow-cell-lines .in { color: #2f855a; }
.fn-cashflow-cell-lines .out { color: #c05621; }
.fn-cashflow-cell-lines .net.pos { color: #2f855a; }
.fn-cashflow-cell-lines .net.neg { color: #c53030; }

.fn-cashflow-empty-day { color: var(--nc-muted); }

.fn-cashflow-week-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 8px;
}

.fn-cashflow-week-col {
    display: grid;
    gap: 6px;
    padding: 10px;
    border: 1px solid var(--nc-border);
    border-radius: 14px;
    background: #fff;
}

.fn-cashflow-item-list {
    display: grid;
    gap: 6px;
}

.fn-cashflow-item {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 10px;
    align-items: center;
    padding: 10px 12px;
    border: 1px solid var(--nc-border);
    border-radius: 12px;
    background: #fff;
}

.fn-cashflow-item small {
    display: block;
    color: var(--nc-muted);
    font-size: 12px;
}

.fn-cashflow-list-group {
    display: grid;
    gap: 8px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--nc-border);
}

.fn-cashflow-list-group:last-child { border-bottom: 0; padding-bottom: 0; }

.fn-cashflow-list-head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px;
}

.fn-cashflow-list-subtitle {
    margin: 0;
    font-size: 12px;
    font-weight: 900;
    color: var(--nc-green);
}

.fn-cashflow-detail {
    border-color: rgba(41, 81, 87, .22);
    box-shadow: 0 14px 34px rgba(15, 23, 42, .06);
}

.fn-cashflow-detail-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--nc-border);
}

.fn-cashflow-detail-copy {
    display: grid;
    gap: 8px;
    min-width: 0;
}

.fn-cashflow-detail-kicker {
    margin: 0;
    color: var(--nc-muted);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.fn-cashflow-detail-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.fn-cashflow-detail-stat {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 11px;
    border: 1px solid var(--nc-border);
    border-radius: 999px;
    background: #fff;
    font-size: 12px;
    font-weight: 800;
}

.fn-cashflow-detail-stat.in { color: #2f855a; border-color: rgba(47, 133, 90, .18); background: rgba(47, 133, 90, .06); }
.fn-cashflow-detail-stat.out { color: #c05621; border-color: rgba(192, 86, 33, .18); background: rgba(192, 86, 33, .06); }
.fn-cashflow-detail-stat.net { color: var(--nc-text); }
.fn-cashflow-detail-stat.risk-positive { color: #2f855a; border-color: rgba(47, 133, 90, .18); background: rgba(47, 133, 90, .06); }
.fn-cashflow-detail-stat.risk-negative { color: #c05621; border-color: rgba(192, 86, 33, .18); background: rgba(192, 86, 33, .06); }
.fn-cashflow-detail-stat.risk-critical { color: #c53030; border-color: rgba(197, 48, 48, .18); background: rgba(197, 48, 48, .06); }
.fn-cashflow-detail-stat.risk-neutral { color: var(--nc-muted); }

.fn-cashflow-detail-close {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 0 14px;
    border: 1px solid rgba(41, 81, 87, .16);
    border-radius: 999px;
    background: #fff;
    color: var(--nc-green);
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
    box-shadow: 0 8px 18px rgba(15, 23, 42, .04);
    transition: transform .16s ease, border-color .16s ease, background .16s ease;
    flex-shrink: 0;
}

.fn-cashflow-detail-close:hover {
    transform: translateY(-1px);
    border-color: rgba(41, 81, 87, .28);
    background: rgba(41, 81, 87, .05);
}

.fn-cashflow-detail-close-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 999px;
    background: rgba(41, 81, 87, .08);
    font-size: 16px;
    font-weight: 900;
    line-height: 1;
}

@media (max-width: 1100px) {
    .fn-cashflow-summary-grid,
    .fn-cashflow-week-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .fn-cashflow-summary-grid,
    .fn-cashflow-grid,
    .fn-cashflow-week-grid {
        grid-template-columns: 1fr;
    }

    .fn-cashflow-weekdays { display: none; }

    .fn-cashflow-calendar-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .fn-cashflow-period-switcher {
        width: 100%;
    }

    .fn-cashflow-period-arrow {
        flex: 1 1 0;
        justify-content: center;
        padding: 0 10px;
        font-size: 12px;
    }

    .fn-cashflow-period-arrow span:not(.fn-cashflow-period-icon) {
        display: none;
    }

    .fn-cashflow-period-current {
        flex: 1.4 1 0;
        min-width: 0;
        padding: 0 10px;
        font-size: 14px;
    }

    .fn-cashflow-export-btn {
        justify-content: center;
        width: 100%;
    }

    .fn-cashflow-detail-head {
        flex-direction: column;
    }

    .fn-cashflow-detail-close {
        width: 100%;
        justify-content: center;
    }
}

/* Központi vállalati naptár */
.cal-workbench { display: grid; gap: 18px; width: 100%; }
.cal-panel { border: 1px solid rgb(226 232 240); border-radius: 16px; background: white; padding: 16px; box-shadow: 0 1px 2px rgba(15,23,42,.04); }
.dark .cal-panel { background: rgb(24 24 27); border-color: rgb(63 63 70); }
.cal-block-title { margin: 0; font-size: 18px; font-weight: 900; }
.cal-panel-lead { margin: 6px 0 0; color: rgb(100 116 139); font-size: 13px; }
.cal-summary-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.cal-summary-card { display: grid; gap: 4px; padding: 14px; border-radius: 14px; border: 1px solid rgb(226 232 240); text-decoration: none; color: inherit; background: white; }
.cal-summary-card strong { font-size: 24px; color: rgb(15 23 42); }
.cal-summary-card span { font-size: 12px; font-weight: 800; color: rgb(100 116 139); }
.cal-tone-blue { border-left: 4px solid rgb(59 130 246); }
.cal-tone-green { border-left: 4px solid rgb(16 185 129); }
.cal-tone-orange { border-left: 4px solid rgb(249 115 22); }
.cal-tone-brown { border-left: 4px solid rgb(120 53 15); }
.cal-tone-purple { border-left: 4px solid rgb(168 85 247); }
.cal-tone-gold { border-left: 4px solid rgb(245 158 11); }
.cal-tone-danger { border-left: 4px solid rgb(244 63 94); }

.cal-period-switcher { display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 14px; }
.cal-period-switcher a,
.cal-period-switcher .cal-period-nav { width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; border: 1px solid rgb(226 232 240); text-decoration: none; color: rgb(51 65 85); font-size: 22px; background: #fff; cursor: pointer; padding: 0; }
.cal-period-switcher .cal-period-nav:hover { background: rgb(248 250 252); }
.cal-month-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.cal-weekday { text-align: center; font-size: 12px; font-weight: 900; color: rgb(100 116 139); padding: 6px 0; }
.cal-day-cell { min-height: 110px; border: 1px solid rgb(241 245 249); border-radius: 12px; padding: 8px; color: inherit; background: rgb(248 250 252); display: grid; align-content: start; gap: 6px; position: relative; }
.cal-day-head { display: flex; align-items: center; justify-content: space-between; gap: 6px; min-height: 24px; }
.cal-day-add { width: 24px; height: 24px; border-radius: 999px; border: 1px solid rgba(41,81,87,.28); background: #fff; color: rgb(41 81 87); font-size: 17px; font-weight: 800; line-height: 1; cursor: pointer; display: grid; place-items: center; flex-shrink: 0; box-shadow: 0 1px 2px rgba(15,23,42,.06); transition: background .15s, color .15s, transform .15s; }
.cal-day-add:hover { background: rgb(41 81 87); color: #fff; transform: scale(1.05); }
.cal-day-add--compact { width: 22px; height: 22px; font-size: 15px; }
.cal-day-add--labeled { width: auto; height: auto; border-radius: 999px; padding: 6px 12px; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; }
.cal-day-add--labeled span:first-child { font-size: 16px; line-height: 1; }
.cal-day-view-link { position: absolute; top: 34px; right: 8px; font-size: 10px; text-decoration: none; color: rgb(100 116 139); opacity: 0; transition: opacity .15s; border: 0; background: transparent; cursor: pointer; padding: 0; }
.cal-day-cell:hover .cal-day-view-link { opacity: 1; }
.cal-event-pill.is-system { border-style: dashed; }
.cal-event-pill.is-company { font-weight: 700; }
.cal-week-head { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 10px; border-bottom: 1px solid rgb(226 232 240); font-size: 12px; font-weight: 800; flex-shrink: 0; }
.cal-week-head-main { display: grid; gap: 2px; min-width: 0; }
.cal-week-head.is-today { background: rgba(41,81,87,.08); }
.cal-week-grid { display: grid; grid-template-columns: repeat(7, minmax(168px, 1fr)); gap: 10px; overflow-x: auto; align-items: start; padding-bottom: 4px; }
.cal-week-column { display: flex; flex-direction: column; min-width: 168px; min-height: 240px; border: 1px solid rgb(241 245 249); border-radius: 12px; background: rgb(248 250 252); overflow: hidden; }
.dark .cal-week-column { background: rgba(39,39,42,.55); border-color: rgba(255,255,255,.08); }
.cal-week-body { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.cal-all-day-block, .cal-timed-block, .cal-day-group, .cal-list-group { display: grid; gap: 6px; padding: 8px; min-width: 0; }
.cal-all-day-block { border-bottom: 1px dashed rgb(226 232 240); padding-bottom: 10px; }
.cal-timed-block { flex: 1; align-content: start; }
.cal-week-event.cal-event-pill { display: grid; gap: 2px; white-space: normal; line-height: 1.3; padding: 6px 8px; overflow: hidden; text-overflow: unset; text-decoration: none; border: 1px solid transparent; }
.cal-week-event-time { display: block; font-size: 10px; font-weight: 800; color: rgb(71 85 105); line-height: 1.2; }
.dark .cal-week-event-time { color: rgb(161 161 170); }
.cal-week-event-title { display: block; font-size: 11px; font-weight: 700; overflow-wrap: anywhere; line-height: 1.35; }
.cal-week-event.is-overdue { box-shadow: inset 0 0 0 1px rgba(244,63,94,.35); }
.cal-week-column .cal-empty-day { padding: 12px 8px; font-size: 11px; line-height: 1.35; }
.cal-modal-backdrop { position: fixed; inset: 0; background: rgba(15,23,42,.42); backdrop-filter: blur(3px); z-index: 60; display: grid; place-items: center; padding: 16px; overflow-y: auto; }
.cal-modal { width: min(520px, 100%); background: rgba(255,255,255,.98); border: 1px solid rgba(41,81,87,.12); border-radius: 18px; box-shadow: 0 18px 45px rgba(15,23,42,.18); }
.dark .cal-modal { background: rgba(30,30,34,.98); border-color: rgba(255,255,255,.1); box-shadow: none; }
.cal-modal-create { overflow: visible; }
.cal-modal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-bottom: 1px solid rgba(41,81,87,.1); background: rgba(251,251,253,.88); border-radius: 18px 18px 0 0; }
.cal-modal-head-compact h2, .cal-modal-head > h2 { margin: 0; font-size: 17px; font-weight: 900; letter-spacing: -.02em; color: #1d1d1f; flex: 1; min-width: 0; }
.dark .cal-modal-head-compact h2, .dark .cal-modal-head > h2 { color: #f5f5f7; }
.cal-modal-head-actions { display: flex; gap: 6px; flex-shrink: 0; align-items: center; }
.dark .cal-modal-head { background: rgba(24,24,27,.88); border-bottom-color: rgba(255,255,255,.08); }
.cal-modal-form { display: block; }
.cal-modal-fields { display: grid; gap: 8px; padding: 12px 14px 14px; }
.cal-modal-fields-compact { gap: 7px; }
.cal-field { display: grid; gap: 4px; min-width: 0; }
.cal-field > span { font-size: 10px; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; color: #6e6e73; }
.dark .cal-field > span { color: #a8a8b3; }
.cal-modal-form input:not([type="checkbox"]), .cal-modal-form textarea, .cal-modal-form select { width: 100%; border: 1px solid rgba(41,81,87,.18); border-radius: 12px; background: #fff; padding: 8px 10px; color: #1d1d1f; font-size: 13px; font: inherit; min-width: 0; }
.dark .cal-modal-form input:not([type="checkbox"]), .dark .cal-modal-form textarea, .dark .cal-modal-form select { background: #18181b; border-color: rgba(255,255,255,.14); color: #f5f5f7; }
.cal-modal-form input:not([type="checkbox"]):focus, .cal-modal-form textarea:focus, .cal-modal-form select:focus { outline: none; border-color: rgba(41,81,87,.42); box-shadow: 0 0 0 2px rgba(41,81,87,.1); }
.cal-modal-form textarea { min-height: 52px; max-height: 80px; resize: vertical; }
.cal-field.cal-inline-check, .cal-field-check { display: flex !important; flex-direction: row; align-items: center; gap: 8px; padding: 0; }
.cal-field-check > span { font-size: 12px; font-weight: 700; text-transform: none; letter-spacing: 0; color: #475569; }
.dark .cal-field-check > span { color: #d4d4d8; }
.cal-field-check input[type="checkbox"] { width: 15px; height: 15px; margin: 0; accent-color: #295157; }
.cal-modal-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cal-modal-row-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cal-modal-more { border: 1px solid rgba(41,81,87,.1); border-radius: 12px; background: #fbfbfd; overflow: hidden; }
.dark .cal-modal-more { background: rgba(39,39,42,.5); border-color: rgba(255,255,255,.08); }
.cal-modal-more summary { padding: 8px 10px; font-size: 12px; font-weight: 800; color: #295157; cursor: pointer; list-style: none; }
.cal-modal-more summary::-webkit-details-marker { display: none; }
.dark .cal-modal-more summary { color: #9fd0d1; }
.cal-modal-more-body { display: grid; gap: 8px; padding: 0 10px 10px; border-top: 1px solid rgba(41,81,87,.08); }
.cal-modal-more[open] summary { border-bottom: 1px solid rgba(41,81,87,.08); margin-bottom: 8px; }
.cal-modal-actions { display: flex; justify-content: flex-end; gap: 8px; padding: 12px 18px; border-top: 1px solid rgba(41,81,87,.1); background: rgba(251,251,253,.88); }
.dark .cal-modal-actions { background: rgba(24,24,27,.88); border-top-color: rgba(255,255,255,.08); }
.cal-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 32px; border-radius: 999px; padding: 6px 12px; border: 1px solid rgba(41,81,87,.14); background: #fff; color: #295157; font-size: 12px; font-weight: 800; cursor: pointer; text-decoration: none; white-space: nowrap; }
.cal-btn-primary { background: #295157; color: #fff; border-color: #295157; }
.cal-btn-muted { background: transparent; border-color: transparent; color: #6e6e73; font-weight: 700; }
.dark .cal-btn { background: #27272a; border-color: rgba(255,255,255,.1); color: #f5f5f7; }
.dark .cal-btn-primary { background: #466265; border-color: #466265; color: #fff; }
.cal-help { margin: 0; font-size: 11px; color: #6e6e73; }
.cal-lead-picker { display: grid; gap: 8px; padding: 10px; border-radius: 12px; background: #fbfbfd; border: 1px solid rgba(41,81,87,.09); }
.cal-lead-results { list-style: none; margin: 0; padding: 0; border: 1px solid rgba(41,81,87,.12); border-radius: 12px; max-height: 120px; overflow-y: auto; }
.cal-lead-results li + li { border-top: 1px solid rgba(41,81,87,.1); }
.cal-lead-results button { width: 100%; text-align: left; border: 0; background: #fff; padding: 8px 10px; font: inherit; cursor: pointer; font-size: 12px; }
.cal-lead-selected { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 7px 10px; border-radius: 12px; background: rgba(41,81,87,.07); border: 1px solid rgba(41,81,87,.14); font-size: 12px; }
.cal-lead-clear { border: 0; background: transparent; font-size: 16px; cursor: pointer; color: #6e6e73; }
.cal-suggest-box { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 8px 10px; border-radius: 12px; background: #fffbeb; border: 1px solid #fde68a; }
.cal-modal-wide { width: min(640px, 100%); }
@media (max-width: 640px) { .cal-modal-row, .cal-modal-row-3 { grid-template-columns: 1fr; } .cal-modal-head { flex-wrap: wrap; } .cal-modal-head-actions { width: 100%; justify-content: flex-end; } }
.cal-link-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 6px 0; }
.cal-link-label { font-weight: 800; color: rgb(51 65 85); min-width: 88px; }
.cal-btn-danger { background: rgba(254,226,226,.9); color: #991b1b; border: 1px solid rgba(239,68,68,.25); }
.cal-day-cell.is-outside { opacity: .45; }
.cal-day-cell.is-today { border-color: rgba(41,81,87,.35); box-shadow: inset 0 0 0 2px rgba(41,81,87,.12); }
.cal-day-cell.is-selected { background: rgba(41,81,87,.08); }
.cal-day-number { font-weight: 900; color: rgb(15 23 42); }
.cal-day-count { font-size: 10px; font-weight: 700; color: rgb(100 116 139); }
.cal-day-events { display: grid; gap: 4px; }
.cal-event-pill { display: block; font-size: 11px; line-height: 1.25; padding: 4px 6px; border-radius: 8px; background: rgba(59,130,246,.12); color: rgb(30 64 175); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.cal-more { font-size: 11px; font-weight: 800; color: rgb(100 116 139); }
.cal-event-row { display: grid; grid-template-columns: 72px 1fr auto; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 12px; border: 1px solid rgb(226 232 240); background: white; text-decoration: none; color: inherit; }
.cal-event-row.is-detailed { grid-template-columns: 88px 1fr auto; }
.cal-event-row.is-overdue { border-color: rgba(244,63,94,.35); }
.cal-event-time { font-size: 12px; font-weight: 800; color: rgb(100 116 139); }
.cal-event-body { display: grid; gap: 2px; }
.cal-event-body strong { font-size: 14px; }
.cal-event-body small { color: rgb(100 116 139); font-size: 12px; }
.cal-event-badge { font-size: 11px; font-weight: 900; color: rgb(190 18 60); background: rgba(244,63,94,.1); padding: 4px 8px; border-radius: 999px; }
.cal-color-blue, .cal-event-pill.cal-color-blue, .cal-event-row.cal-color-blue { background: rgba(59,130,246,.1); border-color: rgba(59,130,246,.18); }
.cal-color-green, .cal-event-pill.cal-color-green, .cal-event-row.cal-color-green { background: rgba(16,185,129,.1); border-color: rgba(16,185,129,.18); }
.cal-color-orange, .cal-event-pill.cal-color-orange, .cal-event-row.cal-color-orange { background: rgba(249,115,22,.12); border-color: rgba(249,115,22,.18); }
.cal-color-brown, .cal-event-pill.cal-color-brown, .cal-event-row.cal-color-brown { background: rgba(120,53,15,.1); border-color: rgba(120,53,15,.18); }
.cal-color-purple, .cal-event-pill.cal-color-purple, .cal-event-row.cal-color-purple { background: rgba(168,85,247,.1); border-color: rgba(168,85,247,.18); }
.cal-color-gold, .cal-event-pill.cal-color-gold, .cal-event-row.cal-color-gold { background: rgba(245,158,11,.12); border-color: rgba(245,158,11,.22); }
.cal-color-gray, .cal-event-pill.cal-color-gray, .cal-event-row.cal-color-gray { background: rgba(100,116,139,.1); border-color: rgba(100,116,139,.18); }
.cal-empty, .cal-empty-day { padding: 18px; border: 1px dashed rgb(203 213 225); border-radius: 12px; color: rgb(100 116 139); text-align: center; }
.cal-detail-panel { border: 1px solid rgb(226 232 240); border-radius: 16px; padding: 18px; background: white; display: grid; gap: 14px; }
.cal-detail-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.cal-detail-type { margin: 0 0 6px; font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; }
.cal-detail-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin: 0; }
.cal-detail-grid dt { font-size: 12px; font-weight: 800; color: rgb(100 116 139); }
.cal-detail-grid dd { margin: 4px 0 0; font-weight: 700; color: rgb(15 23 42); }
.cal-detail-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cal-detail-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.cal-detail-badge { display: inline-flex; align-items: center; min-height: 24px; padding: 2px 10px; border-radius: 999px; font-size: 11px; font-weight: 900; background: rgba(100,116,139,.12); color: rgb(51 65 85); }
.cal-detail-badge.danger { background: rgba(244,63,94,.12); color: rgb(190 18 60); }
.cal-detail-description h3 { margin: 0 0 8px; font-size: 13px; font-weight: 900; color: rgb(51 65 85); }
.cal-detail-description p { margin: 0; color: rgb(30 41 59); line-height: 1.5; white-space: pre-wrap; }
.cal-lead-card { display: grid; gap: 10px; padding: 12px 14px; border-radius: 14px; border: 1px solid rgba(41,81,87,.12); background: rgba(251,251,253,.92); }
.cal-lead-card-main { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.cal-lead-card-main strong { font-size: 15px; color: rgb(15 23 42); }
.cal-lead-card-status { font-size: 11px; font-weight: 900; padding: 3px 8px; border-radius: 999px; background: rgba(59,130,246,.12); color: rgb(30 64 175); }
.cal-lead-card-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 8px 12px; margin: 0; }
.cal-lead-card-meta dt { font-size: 11px; font-weight: 800; color: rgb(100 116 139); }
.cal-lead-card-meta dd { margin: 2px 0 0; font-weight: 700; }
.cal-lead-card-meta a { color: rgb(41 81 87); text-decoration: none; }
.cal-lead-card-meta a:hover { text-decoration: underline; }
.cal-muted { color: rgb(100 116 139); }
.cal-alert.info { padding: 10px 12px; border-radius: 12px; background: rgba(59,130,246,.08); border: 1px solid rgba(59,130,246,.16); color: rgb(30 64 175); font-size: 13px; line-height: 1.45; }
.cal-list-intro h2 { margin: 0 0 4px; font-size: 20px; }
@media (max-width: 900px) {
    .cal-month-grid { gap: 4px; }
    .cal-day-cell { min-height: 88px; padding: 6px; }
    .cal-week-grid { grid-template-columns: repeat(7, minmax(168px, 1fr)); }
    .cal-day-group .cal-event-row,
    .cal-list-group .cal-event-row { grid-template-columns: 1fr; }
}

/* Könyvjelzők modul */
.bm-workbench { display: grid; gap: 16px; width: 100%; }
.bm-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.bm-toolbar-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.bm-layout-toggle { display: inline-flex; gap: 6px; padding: 4px; border: 1px solid rgba(41, 81, 87, .12); border-radius: 999px; background: rgba(255,255,255,.82); }
.bm-layout-btn { border: 0; background: transparent; color: #4b5563; font-size: 12px; font-weight: 800; padding: 7px 12px; border-radius: 999px; cursor: pointer; }
.bm-layout-btn.is-active { background: #295157; color: #fff; }
.bm-filter-count { color: #6e6e73; font-size: 13px; font-weight: 700; }
.bm-section { display: grid; gap: 12px; }
.bm-section-head h2 { margin: 0; font-size: 18px; font-weight: 850; color: #1d1d1f; }
.bm-section-head p { margin: 4px 0 0; color: #6e6e73; font-size: 13px; }
.bm-featured-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; }
.bm-card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 12px; }
.bm-card { display: grid; gap: 10px; padding: 14px; border: 1px solid rgba(41, 81, 87, .12); border-radius: 18px; background: rgba(255,255,255,.88); box-shadow: 0 10px 28px rgba(29,29,31,.045); transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease; }
.bm-card:hover { transform: translateY(-1px); border-color: rgba(41, 81, 87, .24); box-shadow: 0 15px 32px rgba(29,29,31,.075); }
.bm-card-compact { min-height: 0; }
.bm-card-link { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; color: inherit; text-decoration: none; }
.bm-card-icon { width: 44px; height: 44px; border-radius: 12px; background: #f5f5f7; display: grid; place-items: center; overflow: hidden; font-size: 20px; }
.bm-card-icon img { width: 24px; height: 24px; object-fit: contain; }
.bm-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.bm-card-body h3 { margin: 0; font-size: 15px; font-weight: 850; color: #1d1d1f; }
.bm-card-body p { margin: 6px 0 0; color: #6e6e73; font-size: 13px; line-height: 1.45; }
.bm-url { display: block; margin-top: 6px; color: #86868b; font-size: 11px; word-break: break-all; }
.bm-card-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.bm-badge { display: inline-flex; align-items: center; padding: 4px 8px; border-radius: 999px; background: rgba(41,81,87,.08); color: #295157; font-size: 11px; font-weight: 800; }
.bm-badge-featured { background: rgba(198,163,91,.16); color: #72591f; }
.bm-badge-unit { background: rgba(59,130,246,.12); color: #1d4ed8; }
.bm-tag { display: inline-flex; padding: 4px 8px; border-radius: 999px; background: #f0f2f4; color: #52525b; font-size: 11px; font-weight: 750; }
.bm-card-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.bm-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 36px; padding: 0 14px; border-radius: 12px; border: 1px solid rgba(41,81,87,.14); background: #fff; color: #295157; font-size: 13px; font-weight: 800; text-decoration: none; cursor: pointer; }
.bm-btn:hover { background: #295157; color: #fff; }
.bm-btn-primary { background: #295157; color: #fff; border-color: #295157; }
.bm-btn-muted { background: #f5f5f7; color: #4b5563; }
.bm-btn-small { min-height: 32px; padding: 0 11px; font-size: 12px; }
.bm-empty { padding: 18px; border: 1px dashed rgba(41, 81, 87, .2); border-radius: 16px; color: #6e6e73; text-align: center; }
.bm-list-wrap { overflow-x: auto; }
.bm-list-table { width: 100%; min-width: 860px; border-collapse: collapse; font-size: 13px; }
.bm-list-table th { text-align: left; color: #6e6e73; font-weight: 800; border-bottom: 1px solid rgba(41, 81, 87, .12); padding: 8px; }
.bm-list-table td { border-bottom: 1px solid rgba(41, 81, 87, .08); padding: 10px 8px; vertical-align: middle; color: #1d1d1f; }
.bm-list-actions { display: flex; gap: 6px; justify-content: flex-end; }
.bm-dashboard-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 8px; }
.bm-dashboard-link { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid rgb(226 232 240); border-radius: 12px; background: rgb(248 250 252); color: inherit; text-decoration: none; transition: transform .16s ease, border-color .16s ease; }
.bm-dashboard-link:hover { transform: translateY(-1px); border-color: rgba(41, 81, 87, .28); background: #fff; }
.bm-dashboard-icon { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 8px; background: #fff; overflow: hidden; flex: 0 0 auto; }
.bm-dashboard-icon img { width: 18px; height: 18px; object-fit: contain; }
.bm-dashboard-copy strong { display: block; font-size: 13px; color: #1d1d1f; }
.bm-dashboard-copy small { display: block; margin-top: 2px; color: #6e6e73; font-size: 11px; }
.dark .bm-card, .dark .bm-layout-toggle { background: rgba(28,28,30,.82); border-color: rgba(255,255,255,.09); }
.dark .bm-card-body h3, .dark .bm-list-table td, .dark .bm-dashboard-copy strong { color: #f5f5f7; }
.dark .bm-card-body p, .dark .bm-section-head p, .dark .bm-url, .dark .bm-empty, .dark .bm-list-table th { color: #a1a1aa; }
.dark .bm-card-icon, .dark .bm-btn-muted, .dark .bm-dashboard-link { background: rgba(39,39,42,.72); border-color: rgba(255,255,255,.08); color: #f5f5f7; }
.dark .bm-layout-btn { color: #d4d4d8; }
.dark .bm-layout-btn.is-active { background: #466265; color: #fff; }
.dark .bm-filter-count { color: #a1a1aa; }
@media (max-width: 760px) { .bm-card-link { grid-template-columns: 1fr; } }

/* Dokumentumtár modul */
.dl-workbench { display: grid; gap: 16px; width: 100%; }
.dl-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.dl-toolbar-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.dl-layout-toggle { display: inline-flex; gap: 6px; padding: 4px; border: 1px solid rgba(41, 81, 87, .12); border-radius: 999px; background: rgba(255,255,255,.82); }
.dl-layout-btn { border: 0; background: transparent; color: #4b5563; font-size: 12px; font-weight: 800; padding: 7px 12px; border-radius: 999px; cursor: pointer; }
.dl-layout-btn.is-active { background: #295157; color: #fff; }
.dl-filter-count { color: #6e6e73; font-size: 13px; font-weight: 700; }
.dl-attention-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; }
.dl-attention-card { display: grid; gap: 4px; padding: 12px 14px; border: 1px solid rgba(41, 81, 87, .12); border-radius: 16px; background: rgba(255,255,255,.88); text-align: left; cursor: pointer; transition: transform .16s ease, border-color .16s ease; }
.dl-attention-card:hover { transform: translateY(-1px); border-color: rgba(41, 81, 87, .28); }
.dl-attention-card span { color: #6e6e73; font-size: 12px; font-weight: 700; }
.dl-attention-card strong { font-size: 22px; color: #1d1d1f; }
.dl-attention-danger { border-color: rgba(220, 38, 38, .18); background: rgba(254, 242, 242, .72); }
.dl-section { display: grid; gap: 12px; }
.dl-section-head h2 { margin: 0; font-size: 18px; font-weight: 850; color: #1d1d1f; }
.dl-section-head p { margin: 4px 0 0; color: #6e6e73; font-size: 13px; }
.dl-featured-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 10px; }
.dl-card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 12px; }
.dl-card { display: grid; gap: 10px; padding: 14px; border: 1px solid rgba(41, 81, 87, .12); border-radius: 18px; background: rgba(255,255,255,.88); box-shadow: 0 10px 28px rgba(29,29,31,.045); transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease; }
.dl-card:hover { transform: translateY(-1px); border-color: rgba(41, 81, 87, .24); box-shadow: 0 15px 32px rgba(29,29,31,.075); }
.dl-card-compact { min-height: 0; }
.dl-card-link { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; color: inherit; text-decoration: none; }
.dl-card-icon { width: 44px; height: 44px; border-radius: 12px; background: #f5f5f7; display: grid; place-items: center; font-size: 22px; }
.dl-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.dl-card-badges { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.dl-card-body h3 { margin: 0; font-size: 15px; font-weight: 850; color: #1d1d1f; }
.dl-card-body p { margin: 6px 0 0; color: #6e6e73; font-size: 13px; line-height: 1.45; }
.dl-card-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.dl-badge { display: inline-flex; align-items: center; padding: 4px 8px; border-radius: 999px; background: rgba(41,81,87,.08); color: #295157; font-size: 11px; font-weight: 800; }
.dl-badge-featured { background: rgba(198,163,91,.16); color: #72591f; }
.dl-badge-confidential { background: rgba(127,29,29,.12); color: #991b1b; }
.dl-badge-unit { background: rgba(59,130,246,.12); color: #1d4ed8; }
.dl-badge-status { background: rgba(100,116,139,.12); color: #475569; }
.dl-badge-file { background: #f0f2f4; color: #52525b; }
.dl-badge-warning { background: rgba(245,158,11,.16); color: #92400e; }
.dl-badge-danger { background: rgba(239,68,68,.14); color: #b91c1c; }
.dl-related, .dl-expiry { margin-top: 8px; font-size: 12px; color: #6e6e73; }
.dl-link { color: #295157; font-weight: 800; text-decoration: none; }
.dl-link:hover { text-decoration: underline; }
.dl-card-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.dl-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 36px; padding: 0 14px; border-radius: 12px; border: 1px solid rgba(41,81,87,.14); background: #fff; color: #295157; font-size: 13px; font-weight: 800; text-decoration: none; cursor: pointer; }
.dl-btn:hover { background: #295157; color: #fff; }
.dl-btn-primary { background: #295157; color: #fff; border-color: #295157; }
.dl-btn-muted { background: #f5f5f7; color: #4b5563; }
.dl-btn-small { min-height: 32px; padding: 0 11px; font-size: 12px; }
.dl-empty { padding: 18px; border: 1px dashed rgba(41, 81, 87, .2); border-radius: 16px; color: #6e6e73; text-align: center; }
.dl-list-wrap { overflow-x: auto; }
.dl-list-table { width: 100%; min-width: 980px; border-collapse: collapse; font-size: 13px; }
.dl-list-table th { text-align: left; color: #6e6e73; font-weight: 800; border-bottom: 1px solid rgba(41, 81, 87, .12); padding: 8px; }
.dl-list-table td { border-bottom: 1px solid rgba(41, 81, 87, .08); padding: 10px 8px; vertical-align: middle; color: #1d1d1f; }
.dl-list-actions { display: flex; gap: 6px; justify-content: flex-end; flex-wrap: wrap; }
.dl-dashboard-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 8px; margin-top: 12px; }
.dl-dashboard-link { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid rgb(226 232 240); border-radius: 12px; background: rgb(248 250 252); color: inherit; text-decoration: none; transition: transform .16s ease, border-color .16s ease; }
.dl-dashboard-link:hover { transform: translateY(-1px); border-color: rgba(41, 81, 87, .28); background: #fff; }
.dl-dashboard-icon { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 8px; background: #fff; flex: 0 0 auto; font-size: 18px; }
.dl-dashboard-copy strong { display: block; font-size: 13px; color: #1d1d1f; }
.dl-dashboard-copy small { display: block; margin-top: 2px; color: #6e6e73; font-size: 11px; }
.dark .dl-card, .dark .dl-layout-toggle, .dark .dl-attention-card { background: rgba(28,28,30,.82); border-color: rgba(255,255,255,.09); }
.dark .dl-card-body h3, .dark .dl-list-table td, .dark .dl-dashboard-copy strong, .dark .dl-attention-card strong { color: #f5f5f7; }
.dark .dl-card-body p, .dark .dl-section-head p, .dark .dl-empty, .dark .dl-list-table th, .dark .dl-attention-card span, .dark .dl-filter-count { color: #a1a1aa; }
.dark .dl-card-icon, .dark .dl-btn-muted, .dark .dl-dashboard-link { background: rgba(39,39,42,.72); border-color: rgba(255,255,255,.08); color: #f5f5f7; }
.dark .dl-layout-btn { color: #d4d4d8; }
.dark .dl-layout-btn.is-active { background: #466265; color: #fff; }
@media (max-width: 760px) { .dl-card-link { grid-template-columns: 1fr; } }

.fn-period-switch { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.fn-period-switch a { display: inline-flex; align-items: center; min-height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(41, 81, 87, .14); color: var(--nc-green); font-size: 13px; font-weight: 700; text-decoration: none; }
.fn-period-switch a.is-active { background: #295157; border-color: #295157; color: #fff; }
.fn-kpi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin-bottom: 18px; }
.fn-kpi-card { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border-radius: 16px; border: 1px solid rgba(41, 81, 87, .12); background: #fff; text-decoration: none; color: inherit; min-height: 110px; }
.fn-kpi-card.danger { border-color: rgba(220, 38, 38, .25); background: rgba(254, 242, 242, .7); }
.fn-kpi-card.warning { border-color: rgba(217, 119, 6, .25); background: rgba(255, 251, 235, .85); }
.fn-kpi-card.success { border-color: rgba(22, 163, 74, .25); background: rgba(240, 253, 244, .85); }
.fn-kpi-card.info { border-color: rgba(37, 99, 235, .2); background: rgba(239, 246, 255, .85); }
.fn-kpi-label { font-size: 12px; font-weight: 700; color: #6e6e73; }
.fn-kpi-amount { font-size: 22px; font-weight: 850; color: #1d1d1f; line-height: 1.1; }
.fn-todo-list, .fn-payables-table, .fn-category-list, .fn-breakdown-list { display: grid; gap: 6px; }
.fn-breakdown-head {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(112px, 132px) minmax(190px, 1fr) 28px;
    gap: 12px;
    padding: 0 14px 2px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .03em;
    text-transform: uppercase;
    color: #8e8e93;
}
.fn-breakdown-head span:nth-child(2),
.fn-breakdown-head span:nth-child(3) { text-align: right; }
.fn-breakdown-row {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(112px, 132px) minmax(190px, 1fr) 28px;
    gap: 12px;
    align-items: center;
    padding: 10px 14px;
    border: 1px solid rgba(41, 81, 87, .1);
    border-radius: 14px;
    background: #fff;
    text-decoration: none;
    color: inherit;
    transition: border-color .16s ease, transform .16s ease;
}
.fn-breakdown-row:hover {
    border-color: rgba(41, 81, 87, .28);
    transform: translateY(-1px);
}
.fn-breakdown-main {
    display: grid;
    gap: 3px;
    min-width: 0;
}
.fn-breakdown-main strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 14px;
    font-weight: 850;
}
.fn-breakdown-count {
    font-size: 11px;
    font-weight: 750;
    color: #8e8e93;
}
.fn-breakdown-amount {
    text-align: right;
}
.fn-breakdown-amount b {
    font-size: 15px;
    font-weight: 850;
    white-space: nowrap;
}
.fn-breakdown-status {
    display: grid;
    gap: 2px;
    justify-items: end;
    font-size: 11px;
    line-height: 1.35;
    color: #475569;
}
.fn-breakdown-status em {
    font-style: normal;
    color: #8e8e93;
    margin-right: 4px;
}
.fn-breakdown-status--empty { visibility: hidden; }
.fn-breakdown-row .fn-card-arrow {
    justify-self: end;
    color: #8e8e93;
    font-style: normal;
    font-weight: 900;
}
.fn-todo-row, .fn-payable-row, .fn-category-row { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: center; padding: 12px 14px; border: 1px solid rgba(41, 81, 87, .1); border-radius: 14px; background: #fff; text-decoration: none; color: inherit; }
.fn-payable-row { grid-template-columns: 1.2fr 1fr auto auto; }
.fn-payable-meta { display: flex; flex-direction: column; gap: 2px; font-size: 12px; color: #6e6e73; }
.fn-payable-values { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.fn-bu-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.fn-bu-card { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px; border-radius: 16px; border: 1px solid rgba(41, 81, 87, .12); background: #fff; text-decoration: none; color: inherit; }
.fn-bu-amount { font-size: 20px; font-weight: 850; }
.fn-two-col-panels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: 16px; }
.dark .fn-kpi-card, .dark .fn-todo-row, .dark .fn-payable-row, .dark .fn-category-row, .dark .fn-breakdown-row, .dark .fn-bu-card, .dark .fn-mini-stat { background: rgba(28, 28, 30, .82); border-color: rgba(255, 255, 255, .08); color: #f5f5f7; }
.dark .fn-kpi-amount, .dark .fn-bu-amount { color: #f5f5f7; }
.dark .fn-breakdown-count, .dark .fn-breakdown-head, .dark .fn-breakdown-status em { color: #a1a1aa; }
.dark .fn-breakdown-status { color: #d4d4d8; }
@media (max-width: 900px) {
    .fn-two-col-panels { grid-template-columns: 1fr; }
    .fn-payable-row { grid-template-columns: 1fr; }
    .fn-payable-values { align-items: flex-start; }
    .fn-breakdown-head { display: none; }
    .fn-breakdown-row {
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas:
            "main amount"
            "status arrow";
        row-gap: 6px;
    }
    .fn-breakdown-main { grid-area: main; }
    .fn-breakdown-amount { grid-area: amount; }
    .fn-breakdown-status { grid-area: status; justify-items: start; }
    .fn-breakdown-row .fn-card-arrow { grid-area: arrow; align-self: center; }
    .fn-breakdown-status--empty { display: none; }
}

/* Jogosultságkezelő */
.perm-desk { display: grid; gap: 16px; color: #1d1d1f; }
.perm-hero { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; align-items: flex-start; }
.perm-kicker { margin: 0 0 4px; font-size: 12px; font-weight: 700; color: #6e6e73; text-transform: uppercase; letter-spacing: .04em; }
.perm-hero h1 { margin: 0; font-size: 28px; font-weight: 850; }
.perm-intro { margin: 8px 0 0; max-width: 720px; color: #6e6e73; line-height: 1.5; }
.perm-back-link { color: #295157; font-weight: 700; text-decoration: none; }
.perm-layout { display: grid; grid-template-columns: minmax(260px, 320px) minmax(0, 1fr); gap: 16px; align-items: start; }
.perm-users-panel, .perm-editor-panel { border: 1px solid rgba(41, 81, 87, .12); border-radius: 18px; background: rgba(255,255,255,.92); box-shadow: 0 10px 28px rgba(29,29,31,.045); }
.perm-users-panel { padding: 12px; max-height: calc(100vh - 220px); overflow: auto; }
.perm-editor-panel { padding: 16px; }
.perm-search-wrap { margin-bottom: 10px; }
.perm-search { width: 100%; min-height: 42px; padding: 0 12px; border-radius: 12px; border: 1px solid rgba(41, 81, 87, .14); background: #fff; }
.perm-user-list { display: grid; gap: 8px; }
.perm-user-card { display: grid; gap: 4px; width: 100%; padding: 12px; border-radius: 14px; border: 1px solid rgba(41, 81, 87, .1); background: #fbfbfd; text-align: left; cursor: pointer; }
.perm-user-card.is-active { border-color: rgba(41, 81, 87, .34); background: rgba(41, 81, 87, .06); }
.perm-user-card strong { font-size: 14px; }
.perm-user-card small { color: #6e6e73; font-size: 12px; }
.perm-user-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 12px; color: #6e6e73; }
.perm-user-summary { font-size: 12px; color: #295157; }
.perm-editor-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.perm-editor-head h2 { margin: 0; font-size: 22px; }
.perm-editor-head p { margin: 6px 0 0; color: #6e6e73; font-size: 13px; }
.perm-role-note { font-size: 12px !important; color: #295157 !important; }
.perm-template-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.perm-select { min-height: 40px; padding: 0 10px; border-radius: 12px; border: 1px solid rgba(41, 81, 87, .14); background: #fff; min-width: 220px; }
.perm-alert { padding: 12px 14px; border-radius: 12px; margin-bottom: 12px; font-size: 13px; font-weight: 650; }
.perm-alert.warning { background: rgba(255, 251, 235, .95); border: 1px solid rgba(217, 119, 6, .25); color: #92400e; }
.perm-alert.info { background: rgba(239, 246, 255, .95); border: 1px solid rgba(59, 130, 246, .25); color: #1e40af; }
.perm-permission-group { margin-bottom: 16px; }
.perm-group-title { margin: 0 0 8px; font-size: 13px; font-weight: 700; color: var(--nc-muted, #64748b); text-transform: uppercase; letter-spacing: .04em; }
.perm-toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 12px; }
.perm-count { font-size: 12px; color: #6e6e73; font-weight: 700; }
.perm-modules { display: grid; gap: 10px; max-height: calc(100vh - 420px); overflow: auto; padding-right: 4px; }
.perm-module { border: 1px solid rgba(41, 81, 87, .1); border-radius: 14px; background: #fff; overflow: hidden; }
.perm-module summary { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; align-items: center; padding: 12px 14px; cursor: pointer; list-style: none; }
.perm-module summary::-webkit-details-marker { display: none; }
.perm-module-title { font-size: 15px; font-weight: 800; }
.perm-switch { display: inline-flex; gap: 8px; align-items: center; font-size: 12px; font-weight: 700; color: #295157; }
.perm-module-body { padding: 0 14px 14px; border-top: 1px solid rgba(41, 81, 87, .08); }
.perm-module-actions { display: flex; gap: 12px; padding: 10px 0; }
.perm-link-btn { border: 0; background: none; color: #295157; font-size: 12px; font-weight: 750; cursor: pointer; padding: 0; }
.perm-link-btn.danger { color: #b91c1c; }
.perm-permission-grid { display: grid; gap: 8px; }
.perm-permission-row { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; padding: 10px 12px; border-radius: 12px; background: rgba(41, 81, 87, .03); font-size: 13px; }
.perm-permission-row strong { display: block; font-weight: 750; }
.perm-permission-row small { display: block; margin-top: 2px; color: #6e6e73; }
.perm-footer { display: flex; justify-content: flex-end; gap: 10px; margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(41, 81, 87, .08); }
.perm-btn { min-height: 42px; padding: 0 16px; border-radius: 14px; border: 1px solid rgba(41, 81, 87, .14); background: #fff; color: #295157; font-size: 14px; font-weight: 800; cursor: pointer; }
.perm-btn.primary { background: #295157; border-color: #295157; color: #fff; }
.perm-btn.ghost { background: transparent; }
.perm-btn:disabled { opacity: .55; cursor: not-allowed; }
.perm-pill { display: inline-flex; align-items: center; padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 800; }
.perm-pill.success { background: rgba(22, 163, 74, .12); color: #166534; }
.perm-pill.neutral { background: rgba(107, 114, 128, .12); color: #374151; }
.perm-empty { padding: 24px; text-align: center; color: #6e6e73; }
.perm-empty.large { min-height: 280px; display: flex; align-items: center; justify-content: center; }
.dark .perm-desk { color: #f5f5f7; }
.dark .perm-users-panel, .dark .perm-editor-panel, .dark .perm-module, .dark .perm-search, .dark .perm-select, .dark .perm-user-card, .dark .perm-btn { background: rgba(28,28,30,.82); border-color: rgba(255,255,255,.08); color: #f5f5f7; }
.dark .perm-user-card.is-active { background: rgba(45, 212, 191, .08); border-color: rgba(45, 212, 191, .24); }
.dark .perm-permission-row { background: rgba(255,255,255,.04); }
.dark .perm-btn.primary { background: #295157; color: #fff; }
.perm-desk--simple .perm-intro { max-width: 560px; }
.perm-unsaved-banner { padding: 10px 14px; border-radius: 12px; background: rgba(255, 251, 235, .95); border: 1px solid rgba(217, 119, 6, .25); color: #92400e; font-size: 13px; font-weight: 700; margin-bottom: 12px; }
.perm-role-chip { display: inline-flex; padding: 2px 8px; border-radius: 999px; background: rgba(41, 81, 87, .08); color: #295157; font-style: normal; font-weight: 700; font-size: 11px; }
.perm-step-head { margin-bottom: 16px; }
.perm-step-head h2 { margin: 0; font-size: 22px; }
.perm-step-head p { margin: 6px 0 0; color: #6e6e73; font-size: 13px; }
.perm-section { margin-bottom: 18px; padding-bottom: 18px; border-bottom: 1px solid rgba(41, 81, 87, .08); }
.perm-section h3 { margin: 0 0 12px; font-size: 16px; font-weight: 850; }
.perm-section h4 { margin: 0 0 8px; font-size: 13px; font-weight: 800; color: #295157; }
.perm-template-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 8px; margin-bottom: 10px; }
.perm-template-card { display: grid; gap: 4px; padding: 10px 12px; border-radius: 12px; border: 1px solid rgba(41, 81, 87, .12); background: #fff; text-align: left; cursor: pointer; font: inherit; }
.perm-template-card.is-active { border-color: rgba(41, 81, 87, .34); background: rgba(41, 81, 87, .06); }
.perm-template-card strong { font-size: 13px; }
.perm-template-desc { margin: 0 0 10px; color: #6e6e73; font-size: 13px; line-height: 1.45; }
.perm-template-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.perm-help { color: #6e6e73; font-size: 12px; max-width: 420px; line-height: 1.4; }
.perm-summary-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 8px; margin-bottom: 10px; }
.perm-summary-card { padding: 10px 12px; border-radius: 12px; border: 1px solid rgba(41, 81, 87, .1); background: rgba(41, 81, 87, .03); }
.perm-summary-card span { display: block; font-size: 11px; color: #6e6e73; font-weight: 700; }
.perm-summary-card strong { display: block; margin-top: 2px; font-size: 16px; font-weight: 900; }
.perm-module-lists { display: grid; gap: 10px; margin-top: 10px; font-size: 12px; color: #6e6e73; }
.perm-group { border: 1px solid rgba(41, 81, 87, .1); border-radius: 12px; margin-bottom: 8px; overflow: hidden; }
.perm-group summary { padding: 10px 12px; cursor: pointer; font-weight: 800; list-style: none; background: rgba(41, 81, 87, .03); }
.perm-group summary::-webkit-details-marker { display: none; }
.perm-level-table { display: grid; gap: 8px; padding: 10px 12px 12px; }
.perm-level-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(180px, 220px); gap: 10px; align-items: center; }
.perm-level-label { font-size: 13px; font-weight: 650; }
.perm-level-select { min-width: 0; width: 100%; }
.perm-overrides-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin-bottom: 10px; }
.perm-override-item { display: flex; justify-content: space-between; gap: 8px; align-items: center; padding: 8px 10px; border-radius: 10px; background: rgba(41, 81, 87, .04); font-size: 12px; margin-bottom: 6px; }
.perm-muted { margin: 0; color: #6e6e73; font-size: 12px; }
.perm-section-toggle { width: 100%; text-align: left; border: 0; background: rgba(41, 81, 87, .04); padding: 10px 12px; border-radius: 12px; font-size: 14px; font-weight: 800; cursor: pointer; color: #295157; }
.perm-special-category { margin-top: 12px; }
.perm-sticky-bar { position: sticky; bottom: 0; z-index: 20; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; padding: 12px 16px; margin-top: 12px; border-top: 1px solid rgba(41, 81, 87, .12); background: rgba(255,255,255,.96); backdrop-filter: blur(8px); }
.dark .perm-sticky-bar { background: rgba(28,28,30,.92); }
.perm-editor-panel { padding-bottom: 72px; }
@media (max-width: 960px) {
    .perm-level-row { grid-template-columns: 1fr; }
    .perm-sticky-bar { justify-content: stretch; }
    .perm-sticky-bar .perm-btn { flex: 1 1 calc(50% - 8px); }
}
.perm-preview { margin-bottom: 14px; padding: 14px; border-radius: 14px; border: 1px solid rgba(41, 81, 87, .1); background: rgba(41, 81, 87, .03); }
.perm-preview h3 { margin: 0 0 10px; font-size: 15px; font-weight: 850; }
.perm-preview-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; font-size: 12px; }
.perm-preview-grid strong { display: block; margin-bottom: 2px; color: #295157; }
.perm-preview-grid p { margin: 0; color: #6e6e73; line-height: 1.4; }
.perm-legend { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.perm-source-badge { display: inline-flex; align-items: center; padding: 2px 8px; border-radius: 999px; font-size: 10px; font-weight: 800; }
.perm-source-badge.tone-inherited { background: rgba(59, 130, 246, .12); color: #1d4ed8; }
.perm-source-badge.tone-allow { background: rgba(22, 163, 74, .12); color: #166534; }
.perm-source-badge.tone-deny { background: rgba(239, 68, 68, .12); color: #b91c1c; }
.perm-source-badge.tone-none { background: rgba(107, 114, 128, .12); color: #4b5563; }
.perm-matrix-wrap { margin-bottom: 14px; }
.perm-matrix-wrap h3, .perm-special h3 { margin: 0 0 10px; font-size: 15px; font-weight: 850; }
.perm-matrix-scroll { overflow: auto; border: 1px solid rgba(41, 81, 87, .1); border-radius: 12px; }
.perm-matrix { width: 100%; border-collapse: collapse; font-size: 12px; min-width: 640px; }
.perm-matrix th, .perm-matrix td { border-bottom: 1px solid rgba(41, 81, 87, .08); padding: 8px; text-align: center; }
.perm-matrix th[scope="row"] { text-align: left; font-weight: 800; white-space: nowrap; }
.perm-matrix thead th { background: rgba(41, 81, 87, .04); font-size: 11px; }
.perm-matrix-cell { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 8px; font-weight: 900; }
.perm-matrix-cell.tone-inherited { background: rgba(59, 130, 246, .12); color: #1d4ed8; }
.perm-matrix-cell.tone-allow { background: rgba(22, 163, 74, .12); color: #166534; }
.perm-matrix-cell.tone-deny { background: rgba(239, 68, 68, .12); color: #b91c1c; }
.perm-matrix-cell.tone-none { background: rgba(107, 114, 128, .08); color: #9ca3af; }
.perm-special { margin-bottom: 14px; }
.perm-inline-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.perm-modal-backdrop { position: fixed; inset: 0; z-index: 60; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(15, 23, 42, .45); }
.perm-modal { width: min(480px, 100%); padding: 18px; border-radius: 18px; background: #fff; box-shadow: 0 24px 48px rgba(15, 23, 42, .18); }
.perm-modal h3 { margin: 0 0 8px; font-size: 18px; font-weight: 850; }
.perm-modal-warning { margin: 0 0 14px; color: #92400e; font-size: 13px; font-weight: 650; }
.perm-modal-field { display: grid; gap: 6px; margin-bottom: 12px; font-size: 13px; font-weight: 700; }
.perm-modal-options { display: grid; gap: 8px; margin: 0 0 14px; padding: 12px; border: 1px solid rgba(41, 81, 87, .1); border-radius: 12px; font-size: 13px; }
.perm-modal-options legend { font-weight: 800; padding: 0 4px; }
.perm-modal-options label { display: flex; gap: 8px; align-items: center; font-weight: 650; }
.perm-modal-actions { display: flex; justify-content: flex-end; gap: 8px; }
.user-perm-panel { margin-top: 20px; padding: 16px; border: 1px solid rgba(41, 81, 87, .12); border-radius: 18px; background: rgba(255,255,255,.92); }
.user-perm-panel h3 { margin: 0 0 10px; font-size: 18px; font-weight: 850; }
.user-perm-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; margin-bottom: 12px; }
.user-perm-stat { padding: 10px 12px; border-radius: 12px; background: rgba(41, 81, 87, .04); font-size: 12px; }
.user-perm-stat strong { display: block; font-size: 18px; font-weight: 900; }
@media (max-width: 960px) {
    .perm-layout { grid-template-columns: 1fr; }
    .perm-users-panel { max-height: none; }
    .perm-modules { max-height: none; }
    .perm-module-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .perm-top-actions { width: 100%; }
}

/* OVIP modul-alapú jogosultságkezelő */
.perm-desk--ovip .perm-top-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.perm-user-head { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid rgba(41, 81, 87, .08); }
.perm-user-avatar { width: 56px; height: 56px; border-radius: 16px; overflow: hidden; display: grid; place-items: center; background: rgba(41, 81, 87, .08); color: #295157; font-weight: 900; font-size: 18px; }
.perm-user-avatar img { width: 100%; height: 100%; object-fit: cover; }
.perm-user-details h2 { margin: 0; font-size: 22px; }
.perm-user-details p { margin: 4px 0 0; color: #6e6e73; font-size: 13px; }
.perm-user-role-line { font-size: 12px !important; }
.perm-user-danger-actions { display: flex; flex-direction: column; gap: 6px; align-items: flex-end; }
.perm-section.compact { margin-bottom: 12px; padding-bottom: 12px; }
.perm-module-tabs { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.perm-module-tab { display: grid; gap: 4px; padding: 10px 12px; border-radius: 12px; border: 1px solid rgba(41, 81, 87, .12); background: #fff; text-align: left; cursor: pointer; font: inherit; }
.perm-module-tab strong { font-size: 13px; }
.perm-module-tab small { font-size: 11px; font-weight: 700; color: #6e6e73; }
.perm-module-tab.is-active { border-color: rgba(41, 81, 87, .34); box-shadow: inset 0 0 0 1px rgba(41, 81, 87, .12); }
.perm-module-tab.tone-success { border-color: rgba(22, 163, 74, .28); background: rgba(22, 163, 74, .06); }
.perm-module-tab.tone-success small { color: #166534; }
.perm-module-tab.tone-info { border-color: rgba(59, 130, 246, .24); background: rgba(59, 130, 246, .06); }
.perm-module-tab.tone-info small { color: #1d4ed8; }
.perm-module-tab.tone-warning { border-color: rgba(245, 158, 11, .28); background: rgba(255, 251, 235, .8); }
.perm-module-tab.tone-warning small { color: #92400e; }
.perm-module-tab.tone-neutral { border-color: rgba(107, 114, 128, .18); background: rgba(107, 114, 128, .05); }
.perm-module-head { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 12px; }
.perm-module-head h3 { margin: 0; }
.perm-pill.tone-success { background: rgba(22, 163, 74, .12); color: #166534; }
.perm-pill.tone-info { background: rgba(59, 130, 246, .12); color: #1d4ed8; }
.perm-pill.tone-warning { background: rgba(245, 158, 11, .14); color: #92400e; }
.perm-pill.tone-neutral { background: rgba(107, 114, 128, .12); color: #374151; }
.perm-switch-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 8px; margin-bottom: 14px; }
.perm-switch-row { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 12px; background: rgba(41, 81, 87, .03); font-size: 13px; cursor: pointer; }
.perm-switch-copy { display: grid; gap: 4px; }
.perm-switch-copy strong { font-weight: 750; }
.perm-access-table-wrap { overflow: auto; border: 1px solid rgba(41, 81, 87, .1); border-radius: 12px; margin-bottom: 14px; }
.perm-access-table { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 420px; }
.perm-access-table th, .perm-access-table td { border-bottom: 1px solid rgba(41, 81, 87, .08); padding: 10px 12px; vertical-align: middle; }
.perm-access-table th[scope="row"] { text-align: left; font-weight: 700; }
.perm-access-table thead th { background: rgba(41, 81, 87, .04); font-size: 12px; text-align: center; }
.perm-cell-toggle { display: inline-flex; gap: 8px; align-items: center; justify-content: center; width: 100%; cursor: pointer; }
.perm-subsection { margin-top: 14px; }
.perm-subsection h4 { margin: 0 0 8px; font-size: 14px; font-weight: 850; }
.perm-special-block { margin-top: 12px; border: 1px solid rgba(41, 81, 87, .1); border-radius: 12px; padding: 0 12px 12px; }
.perm-special-block summary { padding: 10px 0; cursor: pointer; font-weight: 800; color: #295157; list-style: none; }
.perm-special-block summary::-webkit-details-marker { display: none; }
.perm-btn.danger, .perm-btn.primary.danger { background: #b91c1c; border-color: #b91c1c; color: #fff; }
@media (max-width: 960px) {
    .perm-user-head { grid-template-columns: 1fr; }
    .perm-user-danger-actions { align-items: stretch; }
}

/* HR heti beosztás tervező */
.sch-planner { display: grid; gap: 14px; }
.sch-summary-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 8px; }
.sch-summary-card { display: grid; gap: 4px; padding: 12px 14px; border: 1px solid var(--nc-border); border-radius: 14px; background: rgba(255,255,255,.92); }
.sch-summary-card span { color: var(--nc-muted); font-size: 11px; font-weight: 800; }
.sch-summary-card strong { font-size: 20px; font-weight: 900; }
.sch-summary-card.tone-warning { border-color: rgba(245,158,11,.25); }
.sch-summary-card.tone-info { border-color: rgba(59,130,246,.22); }
.sch-summary-card.tone-success { border-color: rgba(22,163,74,.22); }
.sch-hours-col { min-width: 110px; text-align: center; }
.sch-hours-badge { display: inline-flex; padding: 4px 8px; border-radius: 999px; font-size: 12px; font-weight: 900; background: #f1f5f9; }
.sch-hours-badge.tone-success { background: #ecfdf5; color: #047857; }
.sch-hours-badge.tone-warning { background: #fff7ed; color: #c2410c; }
.sch-hours-badge.tone-danger { background: #fef2f2; color: #b91c1c; }
.sch-hours-badge.tone-empty { background: #f8fafc; color: #64748b; }
.sch-row-hours { display: block; margin-top: 4px; font-size: 10px; font-weight: 800; }
.sch-day-copy-btn { margin-top: 4px; border: 0; background: transparent; cursor: pointer; font-size: 12px; opacity: .7; }
.sch-day-copy-btn:hover { opacity: 1; }
.sch-planner-hero-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.sch-planner-toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 12px 14px; border: 1px solid var(--nc-border); border-radius: 18px; background: rgba(255,255,255,.92); }
.sch-week-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.sch-week-nav strong { font-size: 15px; font-weight: 900; }
.sch-toolbar-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.sch-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 36px; padding: 0 14px; border-radius: 12px; border: 1px solid rgba(41,81,87,.14); background: #fff; color: #295157; font-size: 13px; font-weight: 800; cursor: pointer; text-decoration: none; }
.sch-btn:hover { background: rgba(41,81,87,.06); }
.sch-btn.primary { background: #295157; border-color: #295157; color: #fff; }
.sch-btn.danger { background: rgba(254,242,242,.9); border-color: rgba(239,68,68,.25); color: #991b1b; }
.sch-btn.small { min-height: 30px; padding: 0 10px; font-size: 11px; }
.sch-grid-wrap { overflow: auto; border: 1px solid var(--nc-border); border-radius: 18px; background: #fff; }
.sch-grid { width: 100%; min-width: 920px; border-collapse: collapse; font-size: 13px; }
.sch-grid th, .sch-grid td { border-bottom: 1px solid rgba(41,81,87,.08); padding: 8px; vertical-align: middle; text-align: center; }
.sch-grid thead th { background: rgba(41,81,87,.04); font-size: 12px; font-weight: 900; }
.sch-grid thead th small { display: block; color: var(--nc-muted); font-weight: 700; }
.sch-sticky-col { position: sticky; left: 0; z-index: 2; background: #fff; text-align: left !important; min-width: 140px; font-weight: 900; }
.sch-actions-col { min-width: 120px; }
.sch-cell { display: grid; gap: 2px; width: 100%; min-height: 54px; padding: 8px; border-radius: 12px; border: 1px solid rgba(41,81,87,.1); background: #fbfbfd; cursor: pointer; font: inherit; color: inherit; text-align: center; }
.sch-cell.readonly { cursor: default; }
.sch-cell small { color: var(--nc-muted); font-size: 10px; font-weight: 800; }
.sch-cell.is-empty { border-style: dashed; background: rgba(255,251,235,.5); }
.sch-cell.tone-neutral { background: #f8fafc; }
.sch-cell.tone-gray { background: #f1f5f9; color: #64748b; }
.sch-cell.tone-info { background: rgba(239,246,255,.95); border-color: rgba(59,130,246,.2); color: #1d4ed8; }
.sch-cell.tone-warning { background: rgba(255,251,235,.95); border-color: rgba(245,158,11,.25); color: #92400e; }
.sch-cell.tone-empty { background: rgba(255,251,235,.35); }
.sch-legend { display: flex; flex-wrap: wrap; gap: 8px; }
.sch-legend-item { display: inline-flex; align-items: center; min-height: 28px; padding: 0 10px; border-radius: 999px; font-size: 11px; font-weight: 800; border: 1px solid rgba(41,81,87,.12); }
.sch-legend-item.tone-success { background: #ecfdf5; color: #047857; }
.sch-modal-backdrop { position: fixed; inset: 0; background: rgba(15,23,42,.45); z-index: 60; display: grid; place-items: center; padding: 20px; }
.sch-modal { width: min(560px, 100%); background: #fff; border-radius: 16px; padding: 18px; box-shadow: 0 20px 50px rgba(15,23,42,.25); display: grid; gap: 14px; max-height: 90vh; overflow: auto; }
.sch-modal.small { width: min(420px, 100%); }
.sch-modal-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.sch-modal-head h2 { margin: 0; font-size: 18px; font-weight: 900; }
.sch-modal-head p { margin: 4px 0 0; color: var(--nc-muted); font-size: 13px; }
.sch-presets { display: flex; flex-wrap: wrap; gap: 6px; }
.sch-preset-btn { min-height: 32px; padding: 0 10px; border-radius: 999px; border: 1px solid rgba(41,81,87,.14); background: #fff; font-size: 12px; font-weight: 800; cursor: pointer; }
.sch-modal-form { display: grid; gap: 12px; }
.sch-modal-form label { display: grid; gap: 6px; font-size: 13px; font-weight: 650; }
.sch-modal-form input, .sch-modal-form textarea, .sch-modal-form select { width: 100%; border: 1px solid rgb(226 232 240); border-radius: 10px; padding: 8px 10px; font: inherit; }
.sch-modal-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.sch-modal-foot { display: flex; justify-content: flex-end; gap: 8px; }
.sch-inline-check { display: flex !important; align-items: center; gap: 8px; }
.sch-employee-checks { display: grid; gap: 6px; max-height: 180px; overflow: auto; }
.sch-hint { margin: 0; color: var(--nc-muted); font-size: 12px; }
.sch-empty { padding: 18px; text-align: center; color: var(--nc-muted); }
.dark .sch-planner-toolbar, .dark .sch-grid-wrap, .dark .sch-modal, .dark .sch-sticky-col { background: rgba(24,24,27,.92); border-color: rgba(255,255,255,.09); color: #f5f5f7; }
.dark .sch-btn, .dark .sch-preset-btn { background: rgba(39,39,42,.9); border-color: rgba(255,255,255,.1); color: #d4d4d8; }
.dark .sch-btn.primary { background: #466265; border-color: #466265; color: #fff; }
@media (max-width: 760px) {
    .sch-modal-row { grid-template-columns: 1fr; }
    .sch-toolbar-actions { width: 100%; }
}

.sar-report { display: grid; gap: 14px; }
.sar-hero-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.sar-filters { display: grid; gap: 12px; padding: 14px; border: 1px solid var(--nc-border); border-radius: 18px; background: rgba(255,255,255,.92); }
.sar-filter-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; }
.sar-field { display: grid; gap: 4px; font-size: 12px; font-weight: 700; color: var(--nc-muted); }
.sar-field select, .sar-field input[type="date"] { width: 100%; padding: 8px 10px; border: 1px solid var(--nc-border); border-radius: 10px; background: #fff; font-size: 13px; }
.sar-toggle-row { display: flex; flex-wrap: wrap; gap: 12px; }
.sar-toggle { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; cursor: pointer; }
.sar-summary-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 8px; }
.sar-summary-card { display: grid; gap: 4px; padding: 12px 14px; border: 1px solid var(--nc-border); border-radius: 14px; background: rgba(255,255,255,.92); }
.sar-summary-card span { color: var(--nc-muted); font-size: 11px; font-weight: 800; }
.sar-summary-card strong { font-size: 20px; font-weight: 900; }
.sar-summary-card.tone-warning { border-color: rgba(245,158,11,.25); }
.sar-summary-card.tone-danger { border-color: rgba(239,68,68,.25); }
.sar-summary-card.tone-info { border-color: rgba(59,130,246,.22); }
.sar-summary-card.tone-success { border-color: rgba(22,163,74,.22); }
.sar-table-wrap { overflow-x: auto; border: 1px solid var(--nc-border); border-radius: 18px; background: rgba(255,255,255,.92); }
.sar-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.sar-table th, .sar-table td { padding: 10px 12px; border-bottom: 1px solid var(--nc-border); text-align: left; vertical-align: top; }
.sar-table th { font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: var(--nc-muted); }
.sar-expand-btn { border: 0; background: transparent; cursor: pointer; font-size: 12px; padding: 0; }
.sar-detail-row td { background: #f8fafc; padding: 0; }
.sar-day-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.sar-day-table th, .sar-day-table td { padding: 8px 10px; border-bottom: 1px solid var(--nc-border); }
.sar-badge { display: inline-flex; padding: 3px 8px; border-radius: 999px; font-size: 11px; font-weight: 800; background: #f1f5f9; color: #334155; }
.sar-badge-sm { font-size: 10px; padding: 2px 6px; margin-left: 4px; }
.sar-badge.tone-success { background: #ecfdf5; color: #047857; }
.sar-badge.tone-warning { background: #fff7ed; color: #c2410c; }
.sar-badge.tone-danger { background: #fef2f2; color: #b91c1c; }
.sar-badge.tone-info { background: #eff6ff; color: #1d4ed8; }
.sar-badge.tone-gray { background: #f8fafc; color: #64748b; }
.sar-note { display: block; color: var(--nc-muted); margin-top: 2px; }
.dark .sar-filters, .dark .sar-table-wrap, .dark .sar-summary-card { background: rgba(24,24,27,.92); border-color: rgba(255,255,255,.09); color: #f5f5f7; }
.dark .sar-field select, .dark .sar-field input[type="date"] { background: rgba(39,39,42,.9); border-color: rgba(255,255,255,.1); color: #f5f5f7; }
.dark .sar-detail-row td { background: rgba(39,39,42,.5); }
@media (max-width: 760px) {
    .sar-table th:nth-child(n+4), .sar-table td:nth-child(n+4) { display: none; }
    .sar-table-desktop { display: none; }
    .sar-mobile-list { display: grid; gap: 10px; padding: 10px; }
}
@media (min-width: 761px) {
    .sar-mobile-list { display: none; }
}
.sar-mobile-card { display: grid; gap: 8px; padding: 12px; border: 1px solid var(--nc-border); border-radius: 14px; background: #fff; }
.sar-mobile-card-head { display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.sar-mobile-stats { display: grid; gap: 4px; font-size: 12px; color: var(--nc-muted); }
.sar-mobile-days { display: grid; gap: 8px; margin-top: 8px; }
.sar-mobile-day { display: grid; gap: 4px; padding: 8px; border-radius: 10px; background: #f8fafc; font-size: 12px; }

.mhr-body { margin: 0; background: #f3f6f8; color: #0f172a; font-family: Inter, system-ui, sans-serif; }
.mhr-header, .mhr-main { max-width: 720px; margin: 0 auto; }
.mhr-header { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 18px 16px 8px; }
.mhr-header h1 { margin: 0; font-size: 24px; }
.mhr-header-link { font-size: 13px; font-weight: 700; color: #0f766e; text-decoration: none; }
.mhr-main { padding: 0 16px 24px; }
.mhr-dashboard { display: grid; gap: 12px; }
.mhr-quick-nav { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; }
.mhr-quick-link { flex: 0 0 auto; padding: 10px 12px; border-radius: 999px; background: #fff; border: 1px solid #dbe3ea; font-size: 13px; font-weight: 700; text-decoration: none; color: #0f172a; }
.mhr-quick-link.primary { background: #0f766e; border-color: #0f766e; color: #fff; }
.mhr-card { background: #fff; border: 1px solid #dbe3ea; border-radius: 18px; padding: 14px; display: grid; gap: 12px; }
.mhr-card.compact { gap: 6px; }
.mhr-card-head { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.mhr-kicker { margin: 0; font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: #64748b; }
.mhr-card h2 { margin: 4px 0 0; font-size: 20px; }
.mhr-label { display: block; font-size: 11px; font-weight: 800; color: #64748b; margin-bottom: 4px; }
.mhr-info-grid { display: grid; gap: 12px; }
.mhr-action-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mhr-btn { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; padding: 12px 16px; border: 1px solid #cbd5e1; border-radius: 14px; background: #fff; font-size: 15px; font-weight: 800; cursor: pointer; text-decoration: none; color: #0f172a; }
.mhr-btn.primary { background: #0f766e; border-color: #0f766e; color: #fff; }
.mhr-btn.ghost { min-height: auto; padding: 8px 10px; font-size: 12px; }
.mhr-week-nav { display: flex; gap: 6px; flex-wrap: wrap; }
.mhr-badge { display: inline-flex; padding: 4px 8px; border-radius: 999px; font-size: 11px; font-weight: 800; background: #f1f5f9; }
.mhr-badge.tone-success { background: #ecfdf5; color: #047857; }
.mhr-badge.tone-warning { background: #fff7ed; color: #c2410c; }
.mhr-badge.tone-danger { background: #fef2f2; color: #b91c1c; }
.mhr-badge.tone-info { background: #eff6ff; color: #1d4ed8; }
.mhr-badge.tone-gray, .mhr-badge.tone-neutral { background: #f8fafc; color: #64748b; }
.mhr-alert { padding: 10px 12px; border-radius: 12px; font-size: 13px; font-weight: 700; }
.mhr-alert.tone-success { background: #ecfdf5; color: #047857; }
.mhr-alert.tone-warning { background: #fff7ed; color: #c2410c; }
.mhr-alert.tone-danger { background: #fef2f2; color: #b91c1c; }
.mhr-alert.tone-info { background: #eff6ff; color: #1d4ed8; }
.mhr-alert.tone-neutral { background: #f8fafc; color: #475569; }
.mhr-day-list { display: grid; gap: 10px; }
.mhr-day-card { padding: 12px; border-radius: 14px; border: 1px solid #e2e8f0; background: #f8fafc; display: grid; gap: 6px; }
.mhr-day-card.is-today { border-color: #0f766e; background: #ecfdf5; }
.mhr-day-head { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; }
.mhr-day-title { margin: 0; font-size: 16px; font-weight: 800; }
.mhr-note { display: block; color: #64748b; font-size: 12px; }
.mhr-form { display: grid; gap: 10px; }
.mhr-form label { display: grid; gap: 4px; font-size: 12px; font-weight: 700; color: #475569; }
.mhr-form input, .mhr-form select, .mhr-form textarea { width: 100%; padding: 12px; border: 1px solid #cbd5e1; border-radius: 12px; font-size: 15px; box-sizing: border-box; }
.mhr-empty { padding: 12px; color: #64748b; font-size: 13px; }
.mhr-care-lead { padding: 10px 12px; border-radius: 12px; background: #eff6ff; border: 1px solid #bfdbfe; display: grid; gap: 4px; }
.mhr-care-lead strong { font-size: 16px; }
.mhr-dashboard--filament .mhr-header { display: none; }
@media (min-width: 900px) {
    .mhr-info-grid { grid-template-columns: 1fr 1fr; }
}

.hier-desk { display: grid; gap: 16px; color: #1d1d1f; }
.hier-hero { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; align-items: flex-start; }
.hier-kicker { margin: 0; font-size: 12px; font-weight: 700; color: #6e6e73; }
.hier-intro { margin: 6px 0 0; max-width: 640px; color: #6e6e73; font-size: 14px; }
.hier-top-actions, .hier-form-actions, .hier-sub-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.hier-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 38px; padding: 8px 14px; border-radius: 10px; border: 1px solid #d2d2d7; background: #fff; color: #1d1d1f; font-size: 13px; font-weight: 700; text-decoration: none; cursor: pointer; }
.hier-btn.primary { background: #0f766e; border-color: #0f766e; color: #fff; }
.hier-btn.ghost { background: transparent; }
.hier-btn.small { min-height: 32px; padding: 6px 10px; font-size: 12px; }
.hier-card { background: #fff; border: 1px solid #e5e5ea; border-radius: 16px; padding: 16px; display: grid; gap: 14px; }
.hier-card-head h2, .hier-manager-head h3 { margin: 0; font-size: 18px; }
.hier-form-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); align-items: end; }
.hier-form-grid label { display: grid; gap: 6px; font-size: 12px; font-weight: 700; color: #6e6e73; }
.hier-form-grid select { width: 100%; min-height: 42px; border: 1px solid #d2d2d7; border-radius: 10px; padding: 8px 10px; font-size: 14px; background: #fff; }
.hier-checkbox { display: flex !important; flex-direction: row; align-items: center; gap: 8px; min-height: 42px; }
.hier-error { color: #b42318; font-size: 12px; font-weight: 600; }
.hier-cards-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.hier-manager-head { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: start; }
.hier-avatar { width: 52px; height: 52px; border-radius: 50%; overflow: hidden; background: #eef2ff; display: grid; place-items: center; font-weight: 800; color: #4338ca; }
.hier-avatar img { width: 100%; height: 100%; object-fit: cover; }
.hier-manager-head p, .hier-manager-head small { margin: 2px 0 0; color: #6e6e73; font-size: 13px; }
.hier-inline-add { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: center; }
.hier-inline-add select { min-height: 38px; border: 1px solid #d2d2d7; border-radius: 10px; padding: 8px 10px; }
.hier-subordinate-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.hier-subordinate-list li { display: flex; justify-content: space-between; gap: 10px; align-items: center; padding: 10px 12px; border: 1px solid #ececf1; border-radius: 12px; background: #fafafa; }
.hier-sub-main { display: grid; gap: 4px; }
.hier-sub-main strong { font-size: 14px; }
.hier-sub-main small { color: #6e6e73; font-size: 12px; }
.hier-pill { display: inline-flex; width: fit-content; padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 700; }
.hier-pill.success { background: #ecfdf5; color: #047857; }
.hier-pill.warning { background: #fff7ed; color: #c2410c; }
.hier-pill.neutral { background: #f1f5f9; color: #475569; }
.hier-icon-btn { width: 32px; height: 32px; border-radius: 8px; border: 1px solid #d2d2d7; background: #fff; cursor: pointer; font-size: 16px; line-height: 1; }
.hier-icon-btn.danger { color: #b42318; border-color: #fecaca; background: #fff5f5; }
.hier-empty { padding: 18px; text-align: center; color: #6e6e73; font-size: 14px; }
.hier-empty.large { min-height: 120px; display: grid; place-items: center; }
.hier-empty.inline { background: transparent; border: none; padding: 8px 0; text-align: left; }
.hier-tree, .hier-tree ul { list-style: none; margin: 0; padding: 0; }
.hier-tree-node { margin-left: calc(var(--depth, 0) * 18px); padding-left: 12px; border-left: 2px solid #e5e5ea; margin-top: 8px; }
.hier-tree-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 8px 0; }
.user-hier-panel, .user-hier-block { margin-top: 16px; padding-top: 16px; border-top: 1px solid #ececf1; }
.user-hier-stats { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; }
.user-hier-stat { min-width: 120px; padding: 10px 12px; border-radius: 12px; background: #f5f5f7; }
.user-hier-stat span { display: block; font-size: 12px; color: #6e6e73; }
.user-hier-stat strong { font-size: 18px; }
.user-hier-note { font-size: 13px; color: #c2410c; margin: 8px 0 0; }
.user-hier-block ul { margin: 8px 0 0; padding-left: 18px; font-size: 13px; }
.dark .hier-desk, .dark .hier-card { color: #f5f5f7; background: rgba(24,24,27,.92); border-color: rgba(255,255,255,.09); }
.dark .hier-btn { background: rgba(39,39,42,.9); border-color: rgba(255,255,255,.1); color: #f5f5f7; }
.dark .hier-form-grid select, .dark .hier-inline-add select { background: rgba(39,39,42,.9); border-color: rgba(255,255,255,.1); color: #f5f5f7; }
.dark .hier-subordinate-list li { background: rgba(39,39,42,.55); border-color: rgba(255,255,255,.08); }

