.customer-overview-page {
    background: #f7f8fc;
    min-height: 100vh;
    padding: 1.5rem;
}

.customer-overview-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    box-shadow: none;
    border-radius: 6px;
}

.customer-overview-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.customer-overview-table {
    width: 100%;
}

.customer-col-contact,
.customer-col-tax,
.customer-col-address {
    white-space: nowrap;
}

@media (max-width: 1024px) {
    .customer-col-address {
        display: none;
    }
}

@media (max-width: 768px) {
    .customer-overview-page {
        padding: 1rem;
    }

    .portal-comment-notification-card {
        padding: 1rem !important;
    }

    .portal-comment-notification-card__header {
        flex-direction: column;
        gap: 0.75rem;
    }

    .customer-col-tax {
        display: none;
    }
}

@media (max-width: 600px) {
    .customer-col-contact {
        display: none;
    }
}

.flow-board-card {
    margin-top: 1rem;
}

.portal-comment-notification-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    border-left: 3px solid #2563eb;
    padding: 1.15rem 1.25rem !important;
}

.portal-comment-notification-card.is-empty {
    border-left-color: #cbd5e1;
}

.portal-comment-notification-card__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    max-width: 58rem;
}

.portal-comment-notification-card__header h3 {
    margin: 0;
    color: #0f172a;
    font-size: 1.05rem;
}

.portal-comment-notification-card__header p {
    margin: 0.2rem 0 0;
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.35;
}

.portal-comment-notification-card__count {
    flex: 0 0 auto;
    min-width: 2rem;
    border-radius: 999px;
    background: #dbeafe;
    color: #1d4ed8;
    font-weight: 700;
    text-align: center;
    padding: 0.25rem 0.65rem;
}

.portal-comment-notification-card.is-empty .portal-comment-notification-card__count {
    background: #f1f5f9;
    color: #64748b;
}

.portal-comment-notification-card__empty {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    max-width: 58rem;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    background: #f8fafc;
    color: #334155;
    padding: 0.9rem 1rem;
}

.portal-comment-notification-card__empty .rzi {
    color: #64748b;
    font-size: 1.4rem;
    line-height: 1;
}

.portal-comment-notification-card__empty strong {
    display: block;
    color: #0f172a;
    margin-bottom: 0.15rem;
}

.portal-comment-notification-card__empty p {
    margin: 0;
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.4;
}

.portal-comment-notification-card__list {
    display: grid;
    gap: 0.5rem;
}

.portal-comment-notification-card__item {
    width: 100%;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    background: #f8fafc;
    color: #0f172a;
    padding: 0.75rem;
    text-align: left;
    display: grid;
    gap: 0.35rem;
    cursor: pointer;
}

.portal-comment-notification-card__item:hover,
.portal-comment-notification-card__item:focus-visible {
    border-color: #93c5fd;
    background: #eff6ff;
    outline: none;
}

.portal-comment-notification-card__item small {
    display: block;
    color: #64748b;
    margin-top: 0.1rem;
}

.portal-comment-notification-card__item > span:last-child {
    color: #334155;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.flow-board {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.flow-column {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    box-shadow: none;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    min-height: 220px;
    position: relative;
}

.flow-column--active {
    border-color: #22c55e;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
}

.flow-column-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 600;
    color: #0f172a;
}

.flow-count {
    background: #dbeafe;
    color: #1d4ed8;
    border-radius: 999px;
    padding: 0.2rem 0.6rem;
    font-size: 0.85rem;
}

.flow-column-body {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding-bottom: 2.5rem;
}

.flow-empty {
    color: #64748b;
    font-size: 0.95rem;
    padding: 0.5rem 0;
}

.flow-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.flow-card[draggable="true"] {
    cursor: grab;
}

.flow-card[draggable="true"]:active {
    cursor: grabbing;
}

.flow-card--ready {
    border-color: #22c55e;
    box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.15);
}

.flow-card--review {
    border-color: #6366f1;
    background: linear-gradient(180deg, #f8faff 0%, #ffffff 100%);
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.12);
}

.flow-card--focus {
    border-color: #4f46e5;
    background: linear-gradient(180deg, #eef2ff 0%, #ffffff 100%);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.2);
}

.flow-card--alert {
    border-color: #ef4444;
    background: #fef2f2;
}

.flow-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.flow-card-line {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    min-width: 0;
    white-space: nowrap;
}

.flow-card-line span {
    white-space: nowrap;
}

.flow-card-number,
.flow-card-amount {
    font-weight: 600;
    color: #0f172a;
}

.flow-card-company {
    color: #475569;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
}

.flow-card-separator {
    color: #94a3b8;
}

.flow-card-due {
    color: #b91c1c;
    font-weight: 600;
}

.flow-card-actions {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.flow-card-action {
    min-width: 36px;
    min-height: 36px;
    padding: 0;
}

.flow-card-title {
    font-weight: 600;
    color: #0f172a;
}

.flow-card-badge {
    border-radius: 999px;
    padding: 0.15rem 0.55rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
}

.flow-card-badge--review,
.flow-card-badge--focus {
    background: #eef2ff;
    color: #3730a3;
}

.flow-card-badge--focus {
    border: 1px solid rgba(79, 70, 229, 0.25);
}

.flow-card-menu {
    min-width: 36px;
    min-height: 36px;
    padding: 0;
}

.flow-card-meta {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
    color: #475569;
    font-size: 0.9rem;
}

.flow-card-total {
    font-weight: 600;
    color: #0f172a;
}

.flow-card-status {
    background: #e2e8f0;
    color: #475569;
    border-radius: 999px;
    padding: 0.15rem 0.6rem;
    font-size: 0.8rem;
    align-self: flex-start;
}

.flow-card-status--review {
    background: #eef2ff;
    color: #3730a3;
}

.flow-card-status--released,
.flow-card-status--sent {
    background: #dcfce7;
    color: #166534;
}

.flow-card-status--archived,
.flow-card-status--expired {
    background: #f1f5f9;
    color: #64748b;
}

.flow-card-status--rejected {
    background: #fee2e2;
    color: #991b1b;
}

.flow-card-hint {
    color: #4338ca;
    font-size: 0.84rem;
    line-height: 1.35;
}

.flow-card-hint--focus {
    font-weight: 600;
}

.flow-card-due {
    color: #b91c1c;
    font-size: 0.85rem;
    font-weight: 600;
}

.flow-card-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.flow-card-link {
    min-height: 36px;
}

.flow-add-button {
    position: absolute;
    left: 0.75rem;
    bottom: 0.75rem;
    border-radius: 999px;
    min-width: 40px;
    min-height: 40px;
    padding: 0;
}

@media (min-width: 768px) {
    .flow-board {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .flow-column {
        flex: 1 1 calc(50% - 0.5rem);
    }
}

@media (min-width: 1100px) {
    .flow-column {
        flex: 1 1 calc(33.333% - 0.75rem);
    }
}
