.btw-filter-actions > button,
.btw-filter-actions > a {
    min-height: 44px;
    justify-content: center;
}

.btw-export-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.btw-export-actions .with-icon,
.btw-export-actions a.with-icon {
    min-height: 44px;
    justify-content: center;
    width: 100%;
    font-family: inherit;
    font-size: 1rem;
    line-height: 1.2;
    white-space: nowrap;
}

.btw-period-card {
    margin-top: 0.75rem;
    border: 1px solid #d2deea;
    border-radius: 0.75rem;
    background: #f8fbfe;
    padding: 0.7rem 0.85rem;
    display: grid;
    gap: 0.2rem;
}

.btw-period-card p {
    margin: 0;
    color: #365672;
}

.btw-report-table-wrap {
    margin-top: 0.85rem;
    border: 1px solid var(--line);
    border-radius: 0.75rem;
    background: #ffffff;
}

.btw-totals-grid {
    margin-top: 0.85rem;
    display: grid;
    gap: 0.65rem;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.btw-total-card {
    border: 1px solid #c8d7e7;
    border-radius: 0.75rem;
    background: #ffffff;
    padding: 0.7rem 0.8rem;
}

.btw-total-card .kpi-value {
    font-size: 1.32rem;
    font-variant-numeric: tabular-nums;
}

.btw-total-card.payable {
    border-color: #9fc1de;
    background: #eef6fd;
}

.btw-disclaimer {
    margin-top: 0.85rem;
}

.sales-report-page {
    max-width: 1120px;
}

.sales-report-hero {
    border: 1px solid #b7cfe2;
    border-radius: 0.9rem;
    padding: 1rem;
    background: linear-gradient(150deg, #f5fbff 0%, #edf6ff 58%, #f8fcff 100%);
    margin-bottom: 0.85rem;
}

.sales-report-eyebrow {
    margin: 0;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #2b5f86;
    font-weight: 700;
}

.sales-report-hero h2 {
    margin: 0.35rem 0 0;
    color: #1d4463;
}

.sales-report-hero > p {
    margin: 0.5rem 0 0;
    color: #46657f;
    max-width: 78ch;
}

.sales-report-summary-chips {
    margin-top: 0.75rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.sales-report-summary-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.32rem;
    padding: 0.3rem 0.58rem;
    border-radius: 999px;
    border: 1px solid #c0d7ea;
    background: #ffffff;
    color: #305671;
    font-size: 0.84rem;
    font-weight: 650;
}

.sales-report-summary-chip strong {
    font-variant-numeric: tabular-nums;
}

.sales-report-summary-chip.turnover,
.sales-report-summary-chip.incl,
.sales-report-summary-chip.avg {
    border-color: #afd2f3;
    background: #e8f3ff;
    color: #0d5c98;
}

.sales-report-summary-chip.vat {
    border-color: #bdd1e2;
    background: #eaf1f7;
    color: #31506b;
}

.sales-report-summary-chip.warning {
    border-color: #ecc187;
    background: #fff6ea;
    color: #8b4f05;
}

.sales-report-list-card {
    border: 1px solid #ccdeec;
    border-radius: 0.88rem;
    background: #ffffff;
    overflow: hidden;
}

.sales-report-list-card-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.7rem;
    padding: 0.65rem 0.8rem;
    border-bottom: 1px solid #d9e7f2;
    background: #f8fbfe;
}

.sales-report-list-card-head h2 {
    margin: 0;
}

.sales-report-list-card-head p {
    margin: 0;
    color: #4a6b84;
    font-size: 0.87rem;
}

.sales-report-list-card .table-wrap {
    border: 0;
    border-radius: 0;
}

.sales-kpi-grid {
    margin-top: 0.85rem;
    display: grid;
    gap: 0.7rem;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.sales-report-grid {
    margin-top: 0.85rem;
    display: grid;
    gap: 0.75rem;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.sales-report-card {
    padding: 0.95rem 1rem;
}

.sales-report-card h2 {
    margin: 0 0 0.55rem;
}

.sales-status-list {
    display: grid;
    gap: 0.45rem;
}

.sales-status-list p {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    padding: 0.45rem 0.55rem;
    border: 1px solid #d6e1eb;
    border-radius: 0.6rem;
    background: #fbfdff;
}

.risk-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.18rem 0.52rem;
    border-radius: 999px;
    border: 1px solid #c8d8e8;
    font-size: 0.78rem;
    font-weight: 760;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.risk-pill.risk-laag {
    border-color: #98d6ac;
    background: #e2f5e9;
    color: #1b6b38;
}

.risk-pill.risk-middel {
    border-color: #ecc187;
    background: #fff6ea;
    color: #8b4f05;
}

.risk-pill.risk-hoog {
    border-color: #e5a6ae;
    background: #fdeff1;
    color: #972432;
}

@media (max-width: 860px) {
    .btw-report-list-card-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .btw-report-filters {
        grid-template-columns: 1fr;
    }

    .btw-export-actions {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .site-footer {
        gap: 0.85rem;
    }

    .site-footer-main {
        flex-direction: column;
        align-items: flex-start;
    }

    .site-footer-bottom {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
    }

    .site-footer-links {
        flex-wrap: wrap;
    }
}

@media print {
    .site-header,
    .alerts,
    .btw-report-filters,
    .quick-actions,
    .recent-invoices,
    .recent-supplier-invoices,
    .btw-disclaimer {
        display: none !important;
    }

    .container,
    .shell,
    .dashboard,
    .sales-report-card,
    .btw-total-card,
    .financial-item,
    .kpi-card {
        box-shadow: none !important;
    }

    .dashboard,
    .sales-report-card,
    .btw-total-card,
    .financial-item,
    .kpi-card,
    .btw-period-card,
    .btw-report-table-wrap {
        border-color: #9aa8b6 !important;
    }

    .btw-report-page,
    .sales-report-page {
        max-width: 100%;
        margin: 0;
        padding: 0;
    }

    table {
        min-width: 0;
        font-size: 0.9rem;
    }

    .btw-totals-grid,
    .sales-kpi-grid,
    .sales-report-grid {
        break-inside: avoid;
    }
}

.trend-grid {
    margin-top: 0.7rem;
    display: grid;
    gap: 0.65rem;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.trend-item {
    border: 1px solid #c8d7e7;
    border-radius: 0.7rem;
    padding: 0.6rem 0.7rem;
    background: #ffffff;
}

.trend-label {
    margin: 0;
    color: #4b6a82;
    font-size: 0.86rem;
}

.trend-value {
    margin: 0.22rem 0 0;
    font-size: 1.02rem;
    font-weight: 720;
    font-variant-numeric: tabular-nums;
}

.trend-value span {
    color: #4b6a82;
    font-size: 0.9rem;
    font-weight: 600;
}

.trend-item.trend-up {
    border-color: #aad7b6;
    background: #f2fbf5;
}

.trend-item.trend-up .trend-value {
    color: #1e6a3b;
}

.trend-item.trend-down {
    border-color: #e7b7be;
    background: #fff3f4;
}

.trend-item.trend-down .trend-value {
    color: #9c2a37;
}

.trend-item.trend-flat {
    border-color: #cad7e3;
    background: #f8fbfe;
}

.trend-item.trend-flat .trend-value {
    color: #365672;
}

.dashboard-chart {
    margin-top: 0.85rem;
    border: 1px solid #c8d9e8;
    border-radius: 0.8rem;
    background: #ffffff;
    padding: 0.75rem 0.8rem;
}

.dashboard-chart-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.7rem;
}

.dashboard-chart-head h3 {
    margin: 0;
    font-size: 1rem;
    color: #1d3c57;
}

.dashboard-chart-legend {
    display: inline-flex;
    gap: 0.7rem;
    color: #486581;
    font-size: 0.86rem;
}

.dashboard-chart-legend span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.dashboard-chart-legend .dot {
    width: 0.7rem;
    height: 0.7rem;
    border-radius: 999px;
    display: inline-block;
}

.dashboard-chart-legend .dot.revenue,
.dashboard-chart-bars .bar.revenue {
    background: #1e7ac6;
}

.dashboard-chart-legend .dot.costs,
.dashboard-chart-bars .bar.costs {
    background: #f2994a;
}

.dashboard-chart-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(95px, 1fr));
    gap: 0.6rem;
}

.dashboard-chart-row {
    border: 1px solid #d8e4ef;
    border-radius: 0.65rem;
    background: #f8fbfe;
    padding: 0.5rem;
}

.dashboard-chart-label {
    margin: 0;
    color: #365672;
    font-size: 0.82rem;
    font-weight: 700;
}

.dashboard-chart-bars {
    margin-top: 0.45rem;
    height: 108px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: end;
    gap: 0.32rem;
}

.dashboard-chart-bars .bar {
    border-radius: 0.38rem 0.38rem 0.22rem 0.22rem;
    min-height: 4px;
}

.dashboard-chart-margin {
    margin: 0.45rem 0 0;
    font-size: 0.8rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: #1e6a3b;
}

.dashboard-chart-margin.neg {
    color: #a12d39;
}

@media (max-width: 860px) {
    .dashboard-chart-grid {
        grid-template-columns: repeat(3, minmax(120px, 1fr));
    }
}

@media (max-width: 560px) {
    .sales-report-list-card-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .dashboard-section-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .dashboard-chart-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .dashboard-chart-grid {
        grid-template-columns: repeat(2, minmax(120px, 1fr));
    }
}

.quick-actions h2,
.recent-invoices h2,
.recent-supplier-invoices h2,
.supplier-summary h2 {
    margin-top: 0;
}

.dashboard-page .quick-actions h2,
.dashboard-page .recent-invoices h2,
.dashboard-page .recent-supplier-invoices h2,
.dashboard-page .supplier-summary h2 {
    margin-bottom: 0;
}

.rotation-summary-card {
    margin-top: 1rem;
}

.start-here-collapsible > summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
}

.start-here-collapsible > summary::-webkit-details-marker {
    display: none;
}

.start-here-summary-title {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 1.03rem;
    font-weight: 780;
    color: #1d3c57;
}

.start-here-summary-state {
    color: #4a6b84;
    font-size: 0.88rem;
    font-weight: 650;
}

.start-here-collapsible[open] .start-here-summary-state {
    color: #1d567f;
}

.start-here-collapsible[open] .start-here-summary-state::before {
    content: "Inklappen";
}

.start-here-collapsible:not([open]) .start-here-summary-state::before {
    content: "Uitklappen";
}

.start-here-collapsible > summary:focus-visible {
    outline: 2px solid #79aeda;
    outline-offset: 0.2rem;
    border-radius: 0.4rem;
}

.start-here-content {
    margin-top: 0.7rem;
}

.rotation-summary-value {
    font-size: 1.05rem;
}

.quick-actions-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.start-here-actions {
    margin-top: 0.35rem;
}

.table-wrap {
    overflow-x: auto;
}

.relations-list-page {
    display: grid;
    gap: 0.95rem;
}

.relations-hero {
    border: 1px solid #b7cfe2;
    border-radius: 0.9rem;
    padding: 1rem;
    background: linear-gradient(150deg, #f5fbff 0%, #edf6ff 58%, #f8fcff 100%);
}

.relations-eyebrow {
    margin: 0;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #2b5f86;
    font-weight: 700;
}

.relations-hero h2 {
    margin: 0.35rem 0 0;
    color: #1d4463;
}

.relations-hero > p {
    margin: 0.5rem 0 0;
    color: #46657f;
    max-width: 78ch;
}

.relations-summary-chips {
    margin-top: 0.75rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.relations-summary-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.32rem;
    padding: 0.3rem 0.58rem;
    border-radius: 999px;
    border: 1px solid #c0d7ea;
    background: #ffffff;
    color: #305671;
    font-size: 0.84rem;
    font-weight: 650;
}

.relations-summary-chip strong {
    font-variant-numeric: tabular-nums;
}

.relations-summary-chip.customer {
    border-color: #bdd9f2;
    background: #e9f5ff;
    color: #0d5c98;
}

.relations-summary-chip.supplier {
    border-color: #c7e4c9;
    background: #eef8ee;
    color: #1f6a38;
}

.relations-summary-chip.both {
    border-color: #d8cef8;
    background: #f2efff;
    color: #4d3b8e;
}

.relations-list-card {
    border: 1px solid #ccdeec;
    border-radius: 0.88rem;
    background: #ffffff;
    overflow: hidden;
}

.relations-list-card-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.7rem;
    padding: 0.65rem 0.8rem;
    border-bottom: 1px solid #d9e7f2;
    background: #f8fbfe;
}

.relations-list-card-head h3 {
    margin: 0;
    color: #1f4564;
    font-size: 1rem;
}

.relations-list-card-head p {
    margin: 0;
    color: #4a6b84;
    font-size: 0.87rem;
}

.relations-toolbar {
    display: grid;
    gap: 0.8rem;
    padding: 0.85rem;
    border: 1px solid #ccdeec;
    border-radius: 0.88rem;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(16, 42, 67, 0.06);
}

.relations-toolbar-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.8rem;
}

.relations-heading h1 {
    margin: 0;
}

.relations-heading p {
    margin: 0.28rem 0 0;
    color: #496a83;
    font-size: 0.92rem;
}

.relations-search-form {
    display: grid;
    grid-template-columns: minmax(300px, 1fr) minmax(180px, 230px) auto auto;
    align-items: end;
    gap: 0.48rem;
    margin: 0;
}

.relations-search-form input[type="search"] {
    width: 100%;
    min-width: 0;
}

.relations-search-form select {
    width: 100%;
}

.relations-create-btn {
    white-space: nowrap;
}

.relations-table-wrap {
    border: 0;
    border-radius: 0;
    background: #ffffff;
}

.relations-table {
    min-width: 920px;
}

.relations-table thead th {
    color: #40617b;
    font-size: 0.88rem;
    background: #eef4fa;
}

.relations-table tbody tr {
    transition: background-color 0.15s ease;
}

.relations-table tbody tr:nth-child(even) {
    background: #fbfdff;
}

.relations-table tbody tr:hover {
    background: #f2f8fd;
}

.relations-table tbody td:first-child {
    font-weight: 650;
    color: #18344c;
}

.relations-table td:last-child,
.relations-table th:last-child {
    text-align: right;
    white-space: nowrap;
}

.relations-list-page .table-actions {
    justify-content: flex-end;
}

.relations-list-page .table-actions .icon-only {
    border: 1px solid #c6d9ea;
    background: #f5faff;
    border-radius: 0.52rem;
}

.relations-list-page .table-actions .icon-only:hover {
    background: #ebf5ff;
    border-color: #adcbe4;
}

.relations-empty-state {
    border: 1px dashed #b8cfe3;
    border-radius: 0.85rem;
    background: #f7fbff;
    padding: 0.9rem;
    display: grid;
    gap: 0.5rem;
    justify-items: start;
}

.relations-empty-state h3 {
    margin: 0;
    color: #244a69;
}

.relations-empty-state p {
    margin: 0;
    color: #4a6b84;
}

.row-actions-dropdown {
    position: relative;
    display: inline-block;
}

.row-actions-dropdown > summary {
    list-style: none;
}

.row-actions-dropdown > summary::-webkit-details-marker {
    display: none;
}

.row-actions-toggle {
    width: 2rem;
    height: 2rem;
    border: 1px solid #c6d9ea;
    border-radius: 0.52rem;
    background: #f5faff;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.row-actions-toggle:hover {
    background: #ebf5ff;
    border-color: #adcbe4;
}

.row-actions-dropdown[open] .row-actions-toggle {
    background: #e9f3ff;
    border-color: #9fc2df;
}

.row-actions-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 0.35rem);
    width: 240px;
    max-width: calc(100vw - 24px);
    min-width: 170px;
    border: 1px solid #c8dbea;
    border-radius: 0.62rem;
    background: #ffffff;
    box-shadow: 0 14px 28px rgba(17, 45, 70, 0.18);
    padding: 0.32rem;
    z-index: 1200;
    display: grid;
    gap: 0.12rem;
}

.row-actions-dropdown.opens-up .row-actions-menu {
    top: auto;
    bottom: calc(100% + 0.35rem);
}

.row-actions-item {
    width: 100%;
    border: 0;
    background: transparent;
    text-align: left;
    color: #244861;
    text-decoration: none;
    font: inherit;
    font-size: 0.89rem;
    padding: 0.45rem 0.5rem;
    border-radius: 0.46rem;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    cursor: pointer;
}

.row-actions-item:hover {
    background: #eef5fb;
}

.row-actions-item-danger {
    color: #8f2230;
}

.row-actions-item-danger:hover {
    background: #fff0f2;
}

.row-actions-item-disabled {
    color: #8fa3b4;
    cursor: not-allowed;
}

.row-actions-item-disabled:hover {
    background: transparent;
}

.row-actions-status-form {
    display: block;
}

.row-actions-status-row {
    width: 100%;
    padding: 0.4rem 0.45rem;
    border-radius: 0.46rem;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 0.35rem;
    color: #244861;
}

.row-actions-status-row:hover {
    background: #eef5fb;
}

.row-actions-select {
    min-width: 0;
    width: 100%;
    padding: 0.32rem 0.38rem;
    height: 1.95rem;
    font-size: 0.82rem;
    border-radius: 0.4rem;
}

.row-actions-apply {
    width: 1.8rem;
    height: 1.8rem;
    padding: 0;
    border-radius: 0.4rem;
    border: 1px solid #bbd2e5;
    background: #f5faff;
    color: #1c5e90;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.row-actions-apply:hover {
    background: #e8f3ff;
    border-color: #a5c7e2;
}

.role-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.16rem 0.52rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    border: 1px solid transparent;
    text-transform: lowercase;
}

.role-pill.role-customer {
    background: #e9f5ff;
    color: #0d5c98;
    border-color: #bdd9f2;
}

.role-pill.role-supplier {
    background: #eef8ee;
    color: #1f6a38;
    border-color: #c7e4c9;
}

.role-pill.role-both {
    background: #f2efff;
    color: #4d3b8e;
    border-color: #d8cef8;
}

.customers-table-section .table-wrap {
    border: 1px solid var(--line);
    border-radius: 0.8rem;
    background: #ffffff;
}

.customers-table {
    min-width: 780px;
}

.customers-table tbody tr:nth-child(even) {
    background: #fbfdff;
}

.customers-table tbody tr:hover {
    background: #f3f8fc;
}

.customers-table td {
    vertical-align: top;
}

.customers-table .cell-primary {
    margin: 0;
    font-weight: 650;
    line-height: 1.3;
}

.customers-table .cell-secondary {
    margin: 0.2rem 0 0;
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.35;
}

.count-badge {
    display: inline-flex;
    min-width: 2rem;
    height: 2rem;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #e8f3ff;
    color: #0d5c98;
    border: 1px solid #afd2f3;
    font-weight: 700;
}

.articles-table-section .table-wrap {
    border: 1px solid var(--line);
    border-radius: 0.8rem;
    background: #ffffff;
}

.articles-hero {
    border: 1px solid #b7cfe2;
    border-radius: 0.9rem;
    padding: 1rem;
    background: linear-gradient(150deg, #f5fbff 0%, #edf6ff 58%, #f8fcff 100%);
    margin-bottom: 0.85rem;
}

.articles-eyebrow {
    margin: 0;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #2b5f86;
    font-weight: 700;
}

.articles-hero h2 {
    margin: 0.35rem 0 0;
    color: #1d4463;
}

.articles-hero > p {
    margin: 0.5rem 0 0;
    color: #46657f;
    max-width: 78ch;
}

.articles-summary-chips {
    margin-top: 0.75rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.articles-summary-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.32rem;
    padding: 0.3rem 0.58rem;
    border-radius: 999px;
    border: 1px solid #c0d7ea;
    background: #ffffff;
    color: #305671;
    font-size: 0.84rem;
    font-weight: 650;
}

.articles-summary-chip strong {
    font-variant-numeric: tabular-nums;
}

.articles-summary-chip.coded {
    border-color: #b8d7f1;
    background: #ebf5ff;
    color: #0f5c94;
}

.articles-summary-chip.uncoded {
    border-color: #d6e3ee;
    background: #f5f9fc;
    color: #45617a;
}

.articles-list-card {
    border: 1px solid #ccdeec;
    border-radius: 0.88rem;
    background: #ffffff;
    overflow: hidden;
}

.articles-list-card-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.7rem;
    padding: 0.65rem 0.8rem;
    border-bottom: 1px solid #d9e7f2;
    background: #f8fbfe;
}

.articles-list-card-head h3 {
    margin: 0;
    color: #1f4564;
    font-size: 1rem;
}

.articles-list-card-head p {
    margin: 0;
    color: #4a6b84;
    font-size: 0.87rem;
}

.articles-list-card .table-wrap {
    border: 0;
    border-radius: 0;
}

.articles-empty-state {
    border: 1px dashed #b8cfe3;
    border-radius: 0.85rem;
    background: #f7fbff;
    padding: 0.9rem;
    display: grid;
    gap: 0.5rem;
    justify-items: start;
}

.articles-empty-state h3 {
    margin: 0;
    color: #244a69;
}

.articles-empty-state p {
    margin: 0;
    color: #4a6b84;
}

.invoices-list-page {
    display: grid;
    gap: 1.15rem;
}

.invoices-hero {
    border: 1px solid #b7cfe2;
    border-radius: 0.9rem;
    padding: 1.05rem;
    background: linear-gradient(150deg, #f5fbff 0%, #edf6ff 58%, #f8fcff 100%);
}

.invoices-eyebrow {
    margin: 0;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #2b5f86;
    font-weight: 700;
}

.invoices-hero h2 {
    margin: 0.35rem 0 0;
    color: #1d4463;
}

.invoices-hero > p {
    margin: 0.5rem 0 0;
    color: #46657f;
    max-width: 78ch;
}

.invoices-summary-chips {
    margin-top: 0.75rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.invoices-summary-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.32rem;
    padding: 0.3rem 0.58rem;
    border-radius: 999px;
    border: 1px solid #c0d7ea;
    background: #ffffff;
    color: #305671;
    font-size: 0.84rem;
    font-weight: 650;
}

.invoices-summary-chip strong {
    font-variant-numeric: tabular-nums;
}

.invoices-summary-chip.concept {
    border-color: #bdd1e2;
    background: #eaf1f7;
    color: #31506b;
}

.invoices-summary-chip.quote {
    border-color: #d7caf0;
    background: #f3efff;
    color: #59428f;
}

.invoices-summary-chip.original {
    border-color: #afd2f3;
    background: #e8f3ff;
    color: #0d5c98;
}

.invoices-summary-chip.paid {
    border-color: #98d6ac;
    background: #e2f5e9;
    color: #1b6b38;
}

.invoices-summary-chip.amount {
    border-color: #b7d2e7;
    background: #f0f7fd;
}

.invoices-list-card {
    border: 1px solid #ccdeec;
    border-radius: 0.88rem;
    background: #ffffff;
    overflow: hidden;
}

.invoices-list-card-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.7rem;
    padding: 0.65rem 0.8rem;
    border-bottom: 1px solid #d9e7f2;
    background: #f8fbfe;
}

.invoices-list-card-head h3 {
    margin: 0;
    color: #1f4564;
    font-size: 1rem;
}

.invoices-list-card-head p {
    margin: 0;
    color: #4a6b84;
    font-size: 0.87rem;
}

.invoices-list-card .table-wrap {
    border: 0;
    border-radius: 0;
}

.invoices-empty-state {
    border: 1px dashed #b8cfe3;
    border-radius: 0.85rem;
    background: #f7fbff;
    padding: 0.9rem;
    display: grid;
    gap: 0.5rem;
    justify-items: start;
}

.invoices-empty-state h3 {
    margin: 0;
    color: #244a69;
}

.invoices-empty-state p {
    margin: 0;
    color: #4a6b84;
}

.supplier-invoices-list-page {
    display: grid;
    gap: 0.95rem;
}

.supplier-invoices-hero {
    border: 1px solid #b7cfe2;
    border-radius: 0.9rem;
    padding: 1rem;
    background: linear-gradient(150deg, #f5fbff 0%, #edf6ff 58%, #f8fcff 100%);
}

.supplier-invoices-eyebrow {
    margin: 0;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #2b5f86;
    font-weight: 700;
}

.supplier-invoices-hero h2 {
    margin: 0.35rem 0 0;
    color: #1d4463;
}

.supplier-invoices-hero > p {
    margin: 0.5rem 0 0;
    color: #46657f;
    max-width: 78ch;
}

.supplier-invoices-summary-chips {
    margin-top: 0.75rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.supplier-invoices-summary-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.32rem;
    padding: 0.3rem 0.58rem;
    border-radius: 999px;
    border: 1px solid #c0d7ea;
    background: #ffffff;
    color: #305671;
    font-size: 0.84rem;
    font-weight: 650;
}

.supplier-invoices-summary-chip strong {
    font-variant-numeric: tabular-nums;
}

.supplier-invoices-summary-chip.received {
    border-color: #afd2f3;
    background: #e8f3ff;
    color: #0d5c98;
}

.supplier-invoices-summary-chip.planned {
    border-color: #c7d7ee;
    background: #edf3fb;
    color: #2f4f75;
}

.supplier-invoices-summary-chip.paid {
    border-color: #98d6ac;
    background: #e2f5e9;
    color: #1b6b38;
}

.supplier-invoices-summary-chip.overdue {
    border-color: #f1cd9f;
    background: #fff6e8;
    color: #8a4c00;
}

.supplier-invoices-summary-chip.amount {
    border-color: #b7d2e7;
    background: #f0f7fd;
}

.supplier-invoices-list-card {
    border: 1px solid #ccdeec;
    border-radius: 0.88rem;
    background: #ffffff;
    overflow: hidden;
}

.supplier-invoices-list-card-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.7rem;
    padding: 0.65rem 0.8rem;
    border-bottom: 1px solid #d9e7f2;
    background: #f8fbfe;
}

.supplier-invoices-list-card-head h3 {
    margin: 0;
    color: #1f4564;
    font-size: 1rem;
}

.supplier-invoices-list-card-head p {
    margin: 0;
    color: #4a6b84;
    font-size: 0.87rem;
}

.supplier-invoices-list-card .table-wrap {
    border: 0;
    border-radius: 0;
}

.supplier-invoices-empty-state {
    border: 1px dashed #b8cfe3;
    border-radius: 0.85rem;
    background: #f7fbff;
    padding: 0.9rem;
    display: grid;
    gap: 0.5rem;
    justify-items: start;
}

.supplier-invoices-empty-state h3 {
    margin: 0;
    color: #244a69;
}

.supplier-invoices-empty-state p {
    margin: 0;
    color: #4a6b84;
}

.articles-table {
    min-width: 680px;
}

.articles-table tbody tr:nth-child(even) {
    background: #fbfdff;
}

.articles-table tbody tr:hover {
    background: #f3f8fc;
}

.articles-table td {
    vertical-align: top;
}

.price-chip {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    margin: 0;
    padding: 0.24rem 0.58rem;
    border-radius: 999px;
    border: 1px solid #b9d5ec;
    background: #edf6ff;
    color: #114f81;
    font-weight: 700;
    font-size: 0.88rem;
}

.table-actions {
    display: inline-flex;
    gap: 0.55rem;
    align-items: center;
    flex-wrap: wrap;
}

.inline-form {
    display: inline;
}

.link-button {
    background: transparent;
    color: var(--primary);
    border: 0;
    padding: 0;
    border-radius: 0;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.danger-link {
    color: var(--danger);
}

.table-actions a {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    text-decoration: none;
    font-weight: 600;
}

.table-actions .link-button,
.table-actions .secondary,
.table-actions button {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.table-actions .icon-only {
    width: 2rem;
    height: 2rem;
    justify-content: center;
    border-radius: 0.45rem;
    border: 1px solid transparent;
    padding: 0;
}

.table-actions a.icon-only,
.table-actions button.icon-only {
    color: var(--primary);
}

.table-actions .icon-only:hover {
    background: #edf5fc;
    border-color: #c8dced;
}

.table-actions .icon-only.danger-link:hover {
    background: #ffecee;
    border-color: #f1b8bf;
}

.table-actions .icon-only.is-disabled {
    color: #8fa3b4;
    border: 1px solid #d3e0ea;
    background: #f6fafd;
    cursor: not-allowed;
    opacity: 0.75;
}

.bulk-select-col {
    width: 2.2rem;
    text-align: center;
}

.bulk-select-toggle,
.bulk-select-item {
    width: 1rem;
    height: 1rem;
    cursor: pointer;
}

.list-card-head-actions {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    flex-wrap: wrap;
}

.list-card-head-actions p {
    margin: 0;
}

.admin-users-table {
    min-width: 980px;
}

.admin-users-actions {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.38rem;
}

.admin-users-actions .secondary,
.admin-users-actions button {
    white-space: nowrap;
}

.admin-users-actions .icon-only {
    width: 2.15rem;
    height: 2.15rem;
    border-radius: 0.55rem;
    border: 1px solid #b7d3ea;
    background: #f3f9ff;
    color: #0d5c98;
}

.admin-users-actions .icon-only:hover {
    background: #e8f3ff;
    border-color: #9fc6e6;
}
