/* Pénztár workbench — admin STYLES_AFTER. Teljes szélességű napi munkafelület. */

.nc-cash-wb-layout {
    display: grid;
    gap: 1rem;
    width: 100%;
    max-width: 100%;
}

.nc-cash-wb {
    display: grid;
    gap: 1rem;
    width: 100%;
}

.nc-cash-wb-hero {
    display: grid;
    gap: 0.85rem 1.25rem;
    padding: 0.95rem 1.15rem;
    border: 1px solid rgba(41, 81, 87, 0.12);
    border-radius: 1rem;
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(29, 29, 31, 0.06);
    width: 100%;
}

.nc-cash-wb-hero-main {
    display: grid;
    gap: 0.45rem;
    min-width: 0;
}

.nc-cash-wb-hero__title-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    align-items: center;
}

.nc-cash-wb-title {
    margin: 0;
    font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.625rem);
    line-height: 1.25;
    font-weight: 650;
    color: #1d1d1f;
    max-width: 100%;
    overflow-wrap: anywhere;
}

@media (min-width: 1100px) {
    .nc-cash-wb-title {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        overflow-wrap: normal;
    }
}

@media (min-width: 768px) and (max-width: 1099px) {
    .nc-cash-wb-title {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
}

.nc-cash-wb-badge {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    min-height: 1.75rem;
    padding: 0.2rem 0.7rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 650;
    line-height: 1.2;
}

.nc-cash-wb-badge--success { background: #dcfce7; color: #166534; }
.nc-cash-wb-badge--info { background: #e0f2fe; color: #075985; }
.nc-cash-wb-badge--warning { background: #ffedd5; color: #9a3412; }
.nc-cash-wb-badge--danger { background: #ffe4e6; color: #9f1239; }
.nc-cash-wb-badge--gray { background: #f4f4f5; color: #3f3f46; }
.nc-cash-wb-badge--muted { background: #fafafa; color: #71717a; }

.nc-cash-wb-balance {
    margin: 0;
    min-width: 0;
}

.nc-cash-wb-balance__label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: #6e6e73;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.nc-cash-wb-balance__value {
    display: inline-flex;
    align-items: baseline;
    gap: 0.35rem;
    margin-top: 0.15rem;
    font-size: clamp(1.75rem, 1.4rem + 1vw, 2.25rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #1d1d1f;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    line-height: 1.15;
}

.nc-cash-wb-balance__currency {
    font-size: 0.55em;
    font-weight: 650;
    color: #6e6e73;
}

.nc-cash-wb-hero__aside {
    display: grid;
    gap: 1rem;
    min-width: 0;
}

.nc-cash-wb-schedule {
    display: grid;
    gap: 0.35rem;
    margin: 0;
    min-width: 0;
}

.nc-cash-wb-schedule dt {
    margin: 0;
    font-size: 0.75rem;
    color: #6e6e73;
}

.nc-cash-wb-schedule dd {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: #1d1d1f;
    white-space: nowrap;
}

.nc-cash-wb-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-content: start;
    justify-content: flex-start;
}

.nc-cash-wb-btn--quiet {
    background: transparent;
    color: #6e6e73;
    border-color: rgba(41, 81, 87, 0.12);
    font-weight: 550;
}

.nc-cash-wb-btn--quiet:hover {
    color: #295157;
    border-color: rgba(41, 81, 87, 0.28);
}

@media (min-width: 1100px) {
    .nc-cash-wb-hero {
        grid-template-columns: minmax(0, 1.35fr) minmax(12rem, 0.9fr) minmax(14rem, auto);
        align-items: center;
    }
}

@media (min-width: 768px) and (max-width: 1099px) {
    .nc-cash-wb-hero {
        grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
        align-items: start;
    }

    .nc-cash-wb-hero__aside {
        grid-column: 1 / -1;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: start;
    }
}

.nc-cash-wb-btn {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.5rem;
    padding: 0.6rem 1rem;
    border-radius: 0.75rem;
    border: 1px solid transparent;
    font-size: 0.875rem;
    font-weight: 650;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
}

@media (max-width: 639px) {
    .nc-cash-wb-actions {
        display: grid;
        width: 100%;
    }

    .nc-cash-wb-btn {
        width: 100%;
    }

    .nc-cash-wb-schedule dd {
        white-space: normal;
    }
}

.nc-cash-wb-btn--primary {
    background: #295157;
    color: #fff;
}

.nc-cash-wb-btn--danger {
    background: #be123c;
    color: #fff;
}

.nc-cash-wb-btn--secondary {
    background: #fff;
    color: #3f3f46;
    border-color: rgba(41, 81, 87, 0.16);
}

.nc-cash-wb-kpis {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: 1fr;
    width: 100%;
}

@media (min-width: 640px) {
    .nc-cash-wb-kpis {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .nc-cash-wb-kpis {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.nc-cash-wb-kpi {
    display: grid;
    align-content: start;
    gap: 0.4rem;
    min-height: 5.25rem;
    padding: 1rem;
    border-radius: 0.9rem;
    border: 1px solid rgba(41, 81, 87, 0.1);
    background: #fff;
}

.nc-cash-wb-kpi__label {
    margin: 0;
    font-size: 0.75rem;
    font-weight: 600;
    color: #6e6e73;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.nc-cash-wb-kpi__value {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: #1d1d1f;
    white-space: nowrap;
}

.nc-cash-wb-alert {
    display: grid;
    gap: 0.85rem;
    align-items: start;
    padding: 1rem 1.1rem;
    border-radius: 0.9rem;
    border: 1px solid transparent;
    width: 100%;
}

@media (min-width: 768px) {
    .nc-cash-wb-alert {
        grid-template-columns: auto 1fr auto;
        align-items: center;
    }
}

.nc-cash-wb-alert--closing_due,
.nc-cash-wb-alert--opening_needed {
    background: #fff7ed;
    border-color: #fdba74;
}

.nc-cash-wb-alert--previous_day_overdue {
    background: #fff1f2;
    border-color: #fda4af;
}

.nc-cash-wb-alert__icon {
    width: 2.5rem;
    height: 2.5rem;
    flex: 0 0 2.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.7);
    color: #9a3412;
}

.nc-cash-wb-alert--previous_day_overdue .nc-cash-wb-alert__icon {
    color: #9f1239;
}

.nc-cash-wb-alert__icon svg {
    width: 1.25rem !important;
    height: 1.25rem !important;
    max-width: 1.25rem !important;
}

.nc-cash-wb-alert__title {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 700;
}

.nc-cash-wb-alert__text {
    margin: 0.25rem 0 0;
    font-size: 0.875rem;
    line-height: 1.45;
    color: #3f3f46;
}

.nc-cash-wb-movements {
    padding: 1rem 1.1rem;
    border-radius: 0.9rem;
    border: 1px solid rgba(41, 81, 87, 0.1);
    background: #fff;
    width: 100%;
    min-height: 0;
}

.nc-cash-wb-section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.nc-cash-wb-section-head h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 650;
}

.nc-cash-wb-empty {
    margin: 0;
    font-size: 0.875rem;
    color: #6e6e73;
}

.nc-cash-wb-table-wrap {
    width: 100%;
    overflow-x: auto;
}

.nc-cash-wb-table {
    width: 100%;
    min-width: 0;
    border-collapse: collapse;
    font-size: 0.875rem;
    table-layout: auto;
}

.nc-cash-wb-table th,
.nc-cash-wb-table td {
    padding: 0.5rem 0.55rem;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    text-align: left;
    vertical-align: middle;
}

.nc-cash-wb-table th {
    font-size: 0.75rem;
    color: #6e6e73;
    font-weight: 650;
    white-space: nowrap;
}

.nc-cash-wb-table td {
    white-space: nowrap;
}

.nc-cash-wb-table td.nc-cash-wb-cell-wrap {
    white-space: normal;
    max-width: 16rem;
}

.nc-cash-wb-table--movements tbody tr:hover {
    background: rgba(41, 81, 87, 0.035);
}

.nc-cash-wb-source-primary {
    display: block;
    font-weight: 650;
    color: #1d1d1f;
}

.nc-cash-wb-source-secondary {
    display: block;
    margin-top: 0.12rem;
    font-size: 0.78rem;
    line-height: 1.35;
    color: #3f3f46;
}

.nc-cash-wb-table--movements {
    min-width: 40rem;
}

@media (min-width: 1100px) {
    .nc-cash-wb-table--movements {
        min-width: 0;
    }

    .nc-cash-wb-movements .nc-cash-wb-table-wrap {
        overflow-x: visible;
    }
}

.nc-cash-wb-nowrap {
    white-space: nowrap;
}

.nc-cash-wb-money {
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
    font-weight: 650;
}

.nc-cash-wb-pill {
    display: inline-flex;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 650;
    white-space: nowrap;
}

.nc-cash-wb-pill--compact {
    max-width: 9.5rem;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nc-cash-wb-pill--success { background: #dcfce7; color: #166534; }
.nc-cash-wb-pill--warning { background: #ffedd5; color: #9a3412; }
.nc-cash-wb-pill--danger { background: #fee2e2; color: #991b1b; }
.nc-cash-wb-pill--gray { background: #f4f4f5; color: #3f3f46; }

.nc-cash-wb-status-cell {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.15rem;
    min-width: 0;
}

.nc-cash-wb-col-status {
    min-width: 7.5rem;
    width: 7.5rem;
}

.nc-cash-wb-status-relation {
    display: block;
    max-width: 11rem;
    font-size: 0.72rem;
    line-height: 1.3;
    color: #52525b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Secondary: teljes szélességű history, alatta side kártyák */
.nc-cash-wb-secondary-grid,
.nc-cash-wb-secondary-grid--stacked {
    display: grid;
    gap: 1.5rem;
    width: 100%;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    min-height: 0;
}

.nc-cash-wb-history-card,
.nc-cash-wb-side-stack {
    min-width: 0;
    max-width: 100%;
}

.nc-cash-wb-history-card,
.nc-cash-wb-history-card--full {
    padding: 1rem 1.1rem;
    border-radius: 0.9rem;
    border: 1px solid rgba(41, 81, 87, 0.1);
    background: #fff;
    width: 100%;
    min-height: 0;
    overflow: hidden;
}

.nc-cash-wb-side-stack {
    display: grid;
    gap: 0.75rem;
    align-content: start;
    grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 768px) {
    .nc-cash-wb-side-stack {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }
}

/* Alap: kártyás history. Desktop tábla 1200 px felett, horizontális scroll nélkül. */
.nc-cash-history {
    width: 100%;
    min-width: 0;
}

.nc-cash-history-desktop {
    display: none;
}

.nc-cash-history-cards {
    display: grid;
    gap: 0.75rem;
}

.nc-cash-history-table-wrap {
    width: 100%;
    min-width: 0;
    overflow-x: visible;
}

.nc-cash-history-table {
    table-layout: fixed;
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.8125rem;
}

.nc-cash-history-table th,
.nc-cash-history-table td {
    padding: 0.65rem 0.7rem;
    vertical-align: top;
    text-align: left;
    border-bottom: 1px solid rgba(41, 81, 87, 0.08);
}

.nc-cash-history-table th {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #6e6e73;
    white-space: nowrap;
}

.nc-cash-history-table th:nth-child(1),
.nc-cash-history-table td:nth-child(1) { width: 14%; }
.nc-cash-history-table th:nth-child(2),
.nc-cash-history-table td:nth-child(2) { width: 12%; }
.nc-cash-history-table th:nth-child(3),
.nc-cash-history-table td:nth-child(3) { width: 16%; }
.nc-cash-history-table th:nth-child(4),
.nc-cash-history-table td:nth-child(4) { width: 14%; }
.nc-cash-history-table th:nth-child(5),
.nc-cash-history-table td:nth-child(5) { width: 10%; }
.nc-cash-history-table th:nth-child(6),
.nc-cash-history-table td:nth-child(6) { width: 18%; }
.nc-cash-history-table th:nth-child(7),
.nc-cash-history-table td:nth-child(7) { width: 16%; }

.nc-cash-history-cell {
    min-width: 0;
}

.nc-cash-history-meta {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}

.nc-cash-history-meta__primary {
    font-weight: 700;
    color: #1d1d1f;
    white-space: nowrap;
}

.nc-cash-history-meta__secondary {
    font-size: 0.72rem;
    color: #6e6e73;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.nc-cash-history-stack {
    display: grid;
    gap: 0.35rem;
    margin: 0;
    min-width: 0;
}

.nc-cash-history-stack > div {
    min-width: 0;
}

.nc-cash-history-stack dt {
    margin: 0;
    font-size: 0.68rem;
    color: #6e6e73;
    font-weight: 600;
}

.nc-cash-history-stack dd {
    margin: 0.05rem 0 0;
    font-size: 0.8125rem;
    color: #1d1d1f;
    font-weight: 650;
}

.nc-cash-history-balance dd {
    white-space: nowrap;
}

.nc-cash-history-variance {
    display: inline-flex;
    align-items: center;
    padding: 0.18rem 0.55rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.nc-cash-history-variance--zero {
    background: #dcfce7;
    color: #166534;
}

.nc-cash-history-variance--shortage {
    background: #fee2e2;
    color: #991b1b;
}

.nc-cash-history-variance--surplus {
    background: #ffedd5;
    color: #9a3412;
}

.nc-cash-history-variance--none {
    background: #f4f4f5;
    color: #52525b;
}

.nc-cash-history-document {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
    min-width: 0;
}

.nc-cash-history-document__number {
    font-weight: 700;
    color: #1d1d1f;
    overflow-wrap: anywhere;
    word-break: break-word;
    line-height: 1.25;
}

.nc-cash-history-empty {
    color: #a1a1aa;
}

.nc-cash-history-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 0.4rem;
    min-width: 0;
}

.nc-cash-history-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    padding: 0.35rem 0.65rem;
    border-radius: 0.55rem;
    border: 1px solid rgba(41, 81, 87, 0.18);
    background: #fff;
    color: #295157;
    font-size: 0.75rem;
    font-weight: 650;
    cursor: pointer;
    list-style: none;
    white-space: nowrap;
}

.nc-cash-history-btn::-webkit-details-marker {
    display: none;
}

.nc-cash-history-btn--secondary {
    background: #f8fafb;
}

.nc-cash-history-btn:hover {
    border-color: rgba(41, 81, 87, 0.35);
}

.nc-cash-history-details,
.nc-cash-history-menu {
    position: relative;
}

.nc-cash-history-details__panel,
.nc-cash-history-menu__panel {
    position: absolute;
    z-index: 20;
    top: calc(100% + 0.3rem);
    right: 0;
    min-width: 14rem;
    max-width: min(20rem, 80vw);
    padding: 0.65rem 0.75rem;
    border-radius: 0.7rem;
    border: 1px solid rgba(41, 81, 87, 0.14);
    background: #fff;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.12);
}

.nc-cash-history-menu__panel {
    display: grid;
    gap: 0.2rem;
    padding: 0.35rem;
}

.nc-cash-history-menu__item {
    display: block;
    width: 100%;
    text-align: left;
    padding: 0.45rem 0.6rem;
    border: 0;
    border-radius: 0.45rem;
    background: transparent;
    color: #1d1d1f;
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: pointer;
}

.nc-cash-history-menu__item:hover,
.nc-cash-history-menu__item:focus-visible {
    background: #f4f7f8;
    outline: none;
}

.nc-cash-history-card {
    padding: 0.9rem 1rem;
    border-radius: 0.8rem;
    border: 1px solid rgba(41, 81, 87, 0.12);
    background: #fafafa;
    min-width: 0;
}

.nc-cash-history-card__head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.nc-cash-history-card__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.55rem 0.85rem;
    margin: 0 0 0.85rem;
}

@media (min-width: 640px) {
    .nc-cash-history-card__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.nc-cash-history-card__grid dt {
    margin: 0;
    font-size: 0.7rem;
    color: #6e6e73;
}

.nc-cash-history-card__grid dd {
    margin: 0.1rem 0 0;
    font-size: 0.875rem;
    color: #1d1d1f;
    font-weight: 650;
}

.nc-cash-history-card__document {
    grid-column: 1 / -1;
}

.nc-cash-history-card__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
}

.nc-cash-history-card__actions .nc-cash-history-details,
.nc-cash-history-card__actions .nc-cash-history-menu {
    width: 100%;
}

.nc-cash-history-card__actions .nc-cash-history-btn {
    width: 100%;
}

.nc-cash-history-card__actions .nc-cash-history-details__panel,
.nc-cash-history-card__actions .nc-cash-history-menu__panel {
    left: 0;
    right: auto;
    width: min(18rem, calc(100vw - 2.5rem));
}

@media (min-width: 1200px) {
    .nc-cash-history-desktop {
        display: block;
    }

    .nc-cash-history-cards {
        display: none;
    }
}

/* Legacy class alias — ne törjön el más partial, ha még hivatkozik. */
.nc-cash-wb-history-desktop {
    display: none;
}

.nc-cash-wb-history-cards {
    display: none;
}

.nc-cash-wb-history-table-wrap {
    width: 100%;
    overflow-x: visible;
}

.nc-cash-wb-table--history {
    table-layout: fixed;
    width: 100%;
    min-width: 0;
    font-size: 0.8125rem;
    border-collapse: separate;
    border-spacing: 0;
}

.nc-cash-wb-table--history th,
.nc-cash-wb-table--history td {
    padding: 0.5rem 0.55rem;
    position: static;
}

.nc-cash-wb-history-card-item {
    padding: 0.85rem 0.95rem;
    border-radius: 0.8rem;
    border: 1px solid rgba(41, 81, 87, 0.12);
    background: #fafafa;
}

.nc-cash-wb-history-card-item__head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.65rem;
}

.nc-cash-wb-history-card-item__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.55rem 0.75rem;
    margin: 0 0 0.65rem;
}

@media (min-width: 640px) {
    .nc-cash-wb-history-card-item__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.nc-cash-wb-history-card-item__grid dt {
    margin: 0;
    font-size: 0.7rem;
    color: #6e6e73;
}

.nc-cash-wb-history-card-item__grid dd {
    margin: 0.1rem 0 0;
    font-size: 0.875rem;
    color: #1d1d1f;
    font-weight: 600;
}

.nc-cash-wb-disclosure {
    border: 1px solid rgba(41, 81, 87, 0.1);
    border-radius: 0.9rem;
    background: #fff;
    padding: 0;
    min-height: 0;
}

.nc-cash-wb-disclosure > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    cursor: pointer;
    list-style: none;
    font-weight: 650;
    color: #1d1d1f;
    font-size: 0.95rem;
    padding: 0.85rem 1rem;
    min-height: 2.75rem;
}

.nc-cash-wb-disclosure > summary::-webkit-details-marker {
    display: none;
}

.nc-cash-wb-disclosure__label {
    flex: 1 1 auto;
    min-width: 0;
}

.nc-cash-wb-disclosure__chevron {
    flex: 0 0 auto;
    width: 0.65rem;
    height: 0.65rem;
    border-right: 2px solid #6e6e73;
    border-bottom: 2px solid #6e6e73;
    transform: rotate(-45deg);
    transition: transform 0.15s ease;
}

.nc-cash-wb-disclosure[open] > summary .nc-cash-wb-disclosure__chevron {
    transform: rotate(45deg);
}

.nc-cash-wb-disclosure__body {
    padding: 0 1rem 0.95rem;
    display: grid;
    gap: 0.55rem;
}

.nc-cash-wb-meta-row {
    display: grid;
    grid-template-columns: minmax(7rem, 40%) 1fr;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.nc-cash-wb-meta-row dt {
    margin: 0;
    color: #6e6e73;
}

.nc-cash-wb-meta-row dd {
    margin: 0;
    color: #1d1d1f;
    font-weight: 550;
}

.nc-cash-wb-status-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 0.25rem;
}

.nc-cash-wb-status-badge {
    display: inline-flex;
    align-items: center;
    min-height: 1.6rem;
    padding: 0.15rem 0.55rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 650;
    line-height: 1.2;
}

.nc-cash-wb-status-badge--success {
    background: #dcfce7;
    color: #166534;
}

.nc-cash-wb-status-badge--info {
    background: #e0f2fe;
    color: #075985;
}

.nc-cash-wb-status-badge--muted {
    background: #f4f4f5;
    color: #52525b;
}

.nc-cash-wb-details summary {
    cursor: pointer;
    color: #295157;
    font-weight: 650;
    white-space: nowrap;
}

.nc-cash-wb-details__list {
    margin: 0.5rem 0 0;
    display: grid;
    gap: 0.35rem;
}

.nc-cash-wb-details__list dt {
    font-size: 0.7rem;
    color: #6e6e73;
}

.nc-cash-wb-details__list dd {
    margin: 0;
    font-size: 0.8rem;
}

.nc-cash-wb-session-short {
    display: block;
    font-weight: 650;
}

.nc-cash-wb-session-full {
    display: block;
    margin-top: 0.1rem;
    font-size: 0.7rem;
    color: #6e6e73;
    white-space: normal;
    overflow-wrap: anywhere;
}

/* Filament view record: a workbench ne essen féloszlopba, ne legyen üres min-height. */
.fi-resource-cash-registers-view-record .fi-sc-component:has(.nc-cash-wb-layout),
.fi-resource-cash-registers-view-record .fi-sc-component:has(.nc-cash-wb),
.fi-resource-cash-registers-view-record .fi-sc-component:has(.nc-cash-wb-secondary-grid) {
    grid-column: 1 / -1;
    width: 100%;
    min-height: 0;
}

.fi-resource-cash-registers-view-record .fi-section:has(.nc-cash-wb-layout),
.fi-resource-cash-registers-view-record .fi-section:has(.nc-cash-wb),
.fi-resource-cash-registers-view-record .fi-section:has(.nc-cash-wb-secondary-grid) {
    grid-column: 1 / -1;
    min-height: 0;
}
