.bp-wrap,
.bp-wrap * {
    box-sizing: border-box;
}

.bp-dataset {
    position: relative;
}

.bp-dataset.is-loading::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 4;
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(1px);
}

.bp-wrap {
    font-family: inherit;
    color: #3f342d;
}

.bp-hero {
    position: relative;
    overflow: hidden;
    margin: 0 0 18px;
    padding: 26px 30px 26px;
    border-radius: 30px;
    border: 1px solid rgba(183, 133, 33, 0.12);
    background:
        radial-gradient(circle at 100% 0%, rgba(243, 199, 86, 0.16) 0%, rgba(243, 199, 86, 0) 26%),
        radial-gradient(circle at 0% 100%, rgba(154, 51, 23, 0.09) 0%, rgba(154, 51, 23, 0) 28%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.99) 0%, rgba(252, 247, 240, 0.98) 56%, rgba(246, 236, 220, 0.97) 100%);
    box-shadow:
        0 22px 48px rgba(93, 60, 36, 0.10),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.bp-hero::before {
    content: "";
    position: absolute;
    left: 30px;
    top: 24px;
    width: 72px;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, #8f2f18 0%, #d8a94e 100%);
}

.bp-hero-pattern {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 82% 18%, rgba(255, 255, 255, 0.42), transparent 24%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0));
}

.bp-hero-content {
    position: relative;
    z-index: 1;
    max-width: 760px;
}

.bp-eyebrow,
.bp-section-kicker {
    display: inline-flex;
    align-items: center;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.bp-eyebrow {
    display: inline-block;
    color: #b77c1a;
}

.bp-section-kicker {
    min-height: 32px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(183, 133, 33, 0.10);
    border: 1px solid rgba(183, 133, 33, 0.16);
    color: #8a5a18;
}

.bp-hero h1 {
    margin: 12px 0 10px;
    max-width: 720px;
    color: #70210f;
    font-family: "Play", sans-serif;
    font-size: 30px;
    line-height: 1.16;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.bp-hero p {
    margin: 0;
    max-width: 720px;
    color: #65594f;
    font-family: "Gudea", sans-serif;
    font-size: 14.25px;
    line-height: 1.76;
}

.bp-summary-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin: 0 0 16px;
}

.bp-summary-card {
    min-width: 0;
    min-height: 90px;
    padding: 13px 15px 11px;
    border-radius: 22px;
    border: 1px solid rgba(183, 133, 33, 0.10);
    border-top: 4px solid rgba(186, 112, 37, 0.96);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(252, 248, 242, 0.98) 100%);
    box-shadow:
        0 12px 24px rgba(93, 60, 36, 0.065),
        inset 0 1px 0 rgba(255, 255, 255, 0.92);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.bp-summary-card:hover {
    transform: translateY(-1px);
    box-shadow:
        0 16px 30px rgba(93, 60, 36, 0.09),
        inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.bp-summary-card--incoming {
    border-top-color: rgba(189, 141, 47, 0.98);
}

.bp-summary-card--outgoing {
    border-top-color: rgba(145, 48, 24, 0.96);
}

.bp-summary-card--balance {
    border-top-color: rgba(77, 72, 69, 0.94);
}

.bp-summary-card span {
    display: block;
    margin-bottom: 6px;
    color: #8b7467;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.11em;
}

.bp-summary-card strong {
    display: block;
    color: #3b3029;
    font-family: "Play", sans-serif;
    font-size: clamp(17px, 1.12vw, 20px);
    line-height: 1.16;
    font-weight: 800;
    letter-spacing: -0.03em;
    word-break: break-word;
}

.bp-summary-card small {
    display: block;
    margin-top: 3px;
    color: #9b8b81;
    font-size: 10.5px;
    line-height: 1.35;
}

.bp-summary-card--incoming strong {
    color: #8a5a18;
}

.bp-summary-card--outgoing strong {
    color: #8f2f18;
}

.bp-summary-card--balance strong {
    color: #4d4845;
}

.bp-prodeo-summary {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.bp-budget-note,
.bp-empty,
.bp-loading,
.bp-modal-empty {
    padding: 20px 22px;
    border-radius: 22px;
    border: 1px solid rgba(183, 133, 33, 0.12);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(250, 245, 238, 0.98) 100%);
    box-shadow: 0 14px 30px rgba(93, 60, 36, 0.07);
    color: #6d6158;
    text-align: center;
}

.bp-filter {
    padding: 22px 24px 22px;
    margin-bottom: 18px;
    border-radius: 26px;
    border: 1px solid rgba(183, 133, 33, 0.12);
    background:
        radial-gradient(circle at 100% 0%, rgba(243, 199, 86, 0.14) 0%, rgba(243, 199, 86, 0) 28%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.99) 0%, rgba(252, 248, 241, 0.98) 52%, rgba(247, 239, 228, 0.97) 100%);
    box-shadow:
        0 18px 36px rgba(93, 60, 36, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.bp-filter-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.bp-filter-head > div {
    min-width: 0;
}

.bp-filter h2 {
    margin: 10px 0 4px;
    color: #7d2c16;
    font-size: 22px;
    line-height: 1.2;
    font-weight: 800;
}

.bp-filter p {
    margin: 0;
    color: #7f746b;
    font-size: 13px;
    line-height: 1.62;
}

.bp-result-pill {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 14px;
    white-space: nowrap;
    border-radius: 999px;
    border: 1px solid rgba(183, 133, 33, 0.14);
    background: rgba(255, 255, 255, 0.84);
    color: #7e644c;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.bp-filter-grid,
.bp-filter-grid-compact {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) repeat(3, minmax(0, 1fr));
    gap: 13px 15px;
}

.bp-field {
    display: block;
    min-width: 0;
}

.bp-field span {
    display: block;
    margin-bottom: 8px;
    color: #7b675a;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.bp-filter input,
.bp-filter select {
    width: 100%;
    min-width: 0;
    padding: 13px 14px;
    border-radius: 16px;
    border: 1px solid rgba(183, 133, 33, 0.14);
    background: rgba(255, 255, 255, 0.92);
    color: #3f342d;
    font-size: 13px;
    line-height: 1.3;
    outline: none;
    transition: border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.bp-filter input:focus,
.bp-filter select:focus {
    border-color: rgba(154, 51, 23, 0.42);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(154, 51, 23, 0.08);
}

.bp-filter-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 18px;
}

.bp-filter-status {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(183, 133, 33, 0.12);
    color: #6a5b50;
    font-size: 13px;
    line-height: 1.55;
}

.bp-filter-status strong {
    color: #8b3014;
    font-size: 15px;
    font-weight: 800;
}

.bp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 18px;
    border: 0;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, color 0.22s ease;
}

.bp-filter-actions .bp-btn {
    min-height: 46px;
    min-width: 144px;
    padding: 0 20px;
    border-radius: 16px;
}

.bp-filter-actions .bp-btn,
.bp-filter-actions button.bp-btn,
.bp-filter-actions a.bp-btn,
.bp-money .bp-btn-detail {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    text-decoration: none !important;
    font-family: "Gudea", sans-serif !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 0.01em !important;
    line-height: 1 !important;
}

.bp-btn-primary,
.bp-btn-detail {
    background: linear-gradient(135deg, #9a3317 0%, #7f2711 52%, #c79136 100%);
    color: #fff8ed;
    box-shadow: 0 12px 24px rgba(123, 41, 20, 0.18);
}

.bp-filter-actions .bp-btn-primary,
.bp-filter-actions button.bp-btn-primary,
.bp-money .bp-btn-detail {
    border: 1px solid transparent !important;
    background: linear-gradient(135deg, #973218 0%, #7b2612 58%, #be8742 100%) !important;
    color: #fff9f3 !important;
    box-shadow: 0 14px 28px rgba(122, 31, 31, 0.22) !important;
}

.bp-btn-primary:hover,
.bp-btn-detail:hover {
    color: #fff8ed;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 16px 28px rgba(123, 41, 20, 0.22);
}

.bp-btn-light {
    border: 1px solid rgba(183, 133, 33, 0.12);
    background: rgba(255, 255, 255, 0.78);
    color: #7a6451;
}

.bp-filter-actions .bp-btn-light,
.bp-filter-actions a.bp-btn-light {
    border: 1px solid rgba(168, 129, 74, 0.20) !important;
    background: rgba(255, 251, 245, 0.96) !important;
    color: #744827 !important;
    box-shadow: 0 10px 22px rgba(93, 60, 36, 0.08) !important;
}

.bp-btn-light:hover {
    background: rgba(255, 247, 237, 0.92);
    color: #7d2c16;
    text-decoration: none;
    transform: translateY(-1px);
}

.bp-filter-actions .bp-btn-primary:hover,
.bp-filter-actions .bp-btn-primary:focus,
.bp-filter-actions button.bp-btn-primary:hover,
.bp-filter-actions button.bp-btn-primary:focus,
.bp-money .bp-btn-detail:hover,
.bp-money .bp-btn-detail:focus {
    background: linear-gradient(135deg, #a4371a 0%, #852a14 58%, #c88f47 100%) !important;
    color: #fff9f3 !important;
    box-shadow: 0 16px 30px rgba(122, 31, 31, 0.24) !important;
}

.bp-filter-actions .bp-btn-light:hover,
.bp-filter-actions .bp-btn-light:focus,
.bp-filter-actions a.bp-btn-light:hover,
.bp-filter-actions a.bp-btn-light:focus {
    background: #fff !important;
    border-color: rgba(154, 51, 23, 0.20) !important;
    color: #6b311f !important;
    box-shadow: 0 12px 24px rgba(93, 60, 36, 0.10) !important;
}

.bp-list {
    display: grid;
    gap: 16px;
}

.bp-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: 16px;
    padding: 18px;
    border-radius: 24px;
    border: 1px solid rgba(183, 133, 33, 0.10);
    border-top: 4px solid rgba(186, 112, 37, 0.96);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.97) 0%, rgba(250, 244, 236, 0.98) 100%);
    box-shadow:
        0 18px 36px rgba(60, 28, 13, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.68);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.bp-card:hover {
    transform: translateY(-2px);
    box-shadow:
        0 24px 44px rgba(60, 28, 13, 0.10),
        inset 0 1px 0 rgba(255, 255, 255, 0.68);
}

.bp-card-main {
    min-width: 0;
}

.bp-card-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.bp-card-title-row > div {
    min-width: 0;
}

.bp-badge-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
    margin-bottom: 8px;
}

.bp-badge,
.bp-soft-badge {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
}

.bp-badge {
    background: rgba(154, 51, 23, 0.06);
    border: 1px solid rgba(154, 51, 23, 0.10);
    color: #8f2f18;
}

.bp-soft-badge {
    background: rgba(77, 72, 69, 0.06);
    border: 1px solid rgba(77, 72, 69, 0.08);
    color: #5f5956;
}

.bp-card h3 {
    margin: 0 0 6px;
    color: #5d2617;
    font-size: 20px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -0.02em;
    word-break: break-word;
}

.bp-card-title-row p {
    margin: 0;
    color: #7e736b;
    font-size: 12.5px;
    line-height: 1.48;
}

.bp-status {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    white-space: nowrap;
}

.bp-status.bp-status-saldo {
    background: rgba(183, 133, 33, 0.12);
    border: 1px solid rgba(183, 133, 33, 0.14);
    color: #8a5a18;
}

.bp-status.bp-status-nihil {
    background: rgba(77, 72, 69, 0.08);
    border: 1px solid rgba(77, 72, 69, 0.10);
    color: #5a5652;
}

.bp-status.bp-status-prodeo {
    background: rgba(154, 51, 23, 0.08);
    border: 1px solid rgba(154, 51, 23, 0.12);
    color: #8f2f18;
}

.bp-meta-line {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.bp-meta-line span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 11px;
    border-radius: 14px;
    border: 1px solid rgba(183, 133, 33, 0.10);
    background: rgba(255, 255, 255, 0.72);
    color: #6d6258;
    font-size: 11.5px;
    line-height: 1.4;
}

.bp-meta-line b {
    margin-right: 6px;
    color: #6a3421;
    font-weight: 800;
}

.bp-party-compact {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 14px;
}

.bp-party-compact div {
    min-width: 0;
    padding: 12px 13px 12px;
    border-radius: 18px;
    border: 1px solid rgba(183, 133, 33, 0.10);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.82) 0%, rgba(250, 246, 240, 0.92) 100%);
}

.bp-party-compact span {
    display: block;
    margin-bottom: 6px;
    color: #8b7467;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.bp-party-compact p,
.bp-detail-info p {
    margin: 0;
    color: #443a34;
    font-size: 12.5px;
    line-height: 1.54;
    max-height: 96px;
    overflow: auto;
}

.bp-party-list {
    margin: 0;
    padding-left: 18px;
}

.bp-party-list li + li {
    margin-top: 4px;
}

.bp-money {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 16px 15px;
    border-radius: 22px;
    border: 1px solid rgba(183, 133, 33, 0.14);
    background:
        radial-gradient(circle at 100% 0%, rgba(243, 199, 86, 0.16) 0%, rgba(243, 199, 86, 0) 34%),
        linear-gradient(180deg, rgba(255, 250, 241, 0.98) 0%, rgba(255, 255, 255, 0.98) 100%);
}

.bp-money div {
    padding-bottom: 10px;
    border-bottom: 1px dashed rgba(183, 133, 33, 0.18);
}

.bp-money div:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
}

.bp-money span,
.bp-detail-summary span,
.bp-detail-info span,
.bp-refund-status span {
    display: block;
    margin-bottom: 5px;
    color: #8b7467;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.bp-money strong {
    display: block;
    color: #4b3a30;
    font-size: 17px;
    line-height: 1.24;
    font-weight: 800;
}

.bp-money .bp-balance strong {
    color: #8f2f18;
    font-size: 21px;
}

.bp-prodeo-money strong {
    color: #8a5a18;
}

.bp-btn-detail {
    width: 100%;
    margin-top: auto;
}

.bp-refund-status {
    padding: 11px 12px;
    border-radius: 16px;
    border: 1px solid rgba(183, 133, 33, 0.10);
    background: rgba(255, 255, 255, 0.78);
}

.bp-refund-status strong {
    display: block;
    font-size: 13px;
    line-height: 1.35;
    font-weight: 800;
}

.bp-refund-status.bp-return-done {
    background: rgba(183, 133, 33, 0.10);
    border-color: rgba(183, 133, 33, 0.16);
}

.bp-refund-status.bp-return-done strong {
    color: #8a5a18;
}

.bp-refund-status.bp-return-pending {
    background: rgba(154, 51, 23, 0.08);
    border-color: rgba(154, 51, 23, 0.12);
}

.bp-refund-status.bp-return-pending strong {
    color: #8f2f18;
}

.bp-refund-status.bp-return-none,
.bp-refund-status.bp-return-empty {
    background: rgba(77, 72, 69, 0.06);
    border-color: rgba(77, 72, 69, 0.08);
}

.bp-refund-status.bp-return-none strong,
.bp-refund-status.bp-return-empty strong {
    color: #5a5652;
}

.bp-pagination {
    margin: 22px 0 0;
    padding: 16px 18px;
    border-radius: 22px;
    border: 1px solid rgba(177, 132, 46, 0.12);
    background:
        radial-gradient(circle at top right, rgba(243, 199, 86, 0.14) 0%, rgba(243, 199, 86, 0) 28%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.99) 0%, rgba(252, 248, 241, 0.98) 52%, rgba(247, 239, 228, 0.97) 100%);
    box-shadow:
        0 18px 36px rgba(93, 60, 36, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.92);
    text-align: center;
}

.bp-pagination ul {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.bp-pagination a,
.bp-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid rgba(183, 133, 33, 0.12);
    background: rgba(255, 255, 255, 0.9);
    color: #725643;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
}

.bp-pagination a:hover {
    background: rgba(255, 247, 237, 0.96);
    color: #8f2f18;
    text-decoration: none;
}

.bp-pagination .active span {
    border-color: transparent;
    background: linear-gradient(135deg, #9a3317 0%, #7f2711 52%, #c79136 100%);
    color: #fff7eb;
}

.bp-counter {
    margin-top: 10px;
    color: #7f746b;
    font-size: 12px;
    line-height: 1.5;
}

.bp-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
    padding: 28px;
    overflow: auto;
    background: rgba(34, 26, 21, 0.72);
}

.bp-modal.is-open {
    display: block;
}

.bp-modal-dialog {
    position: relative;
    max-width: 1040px;
    margin: 18px auto;
    overflow: hidden;
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.99) 0%, rgba(251, 247, 241, 0.99) 100%);
    box-shadow: 0 36px 80px rgba(0, 0, 0, 0.30);
}

.bp-modal-close {
    position: absolute;
    right: 16px;
    top: 14px;
    z-index: 2;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: #6a3421;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.10);
}

.bp-modal-close:hover {
    background: #ffffff;
    color: #8f2f18;
}

.bp-modal-content {
    padding: 0;
}

.bp-detail-head {
    position: relative;
    padding: 28px 30px 24px;
    background: linear-gradient(135deg, #9a3317 0%, #7f2711 52%, #d2a04f 100%);
    color: #fff5ea;
}

.bp-detail-head::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 86% 16%, rgba(255, 255, 255, 0.22), transparent 22%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0));
}

.bp-detail-head > * {
    position: relative;
    z-index: 1;
}

.bp-detail-head span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: rgba(255, 248, 240, 0.92);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.10em;
    text-transform: uppercase;
}

.bp-detail-head h2 {
    margin: 16px 48px 8px 0;
    color: #fff9f1;
    font-size: 26px;
    line-height: 1.22;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.bp-detail-head p {
    margin: 0;
    color: rgba(255, 245, 234, 0.86);
    font-size: 14px;
    line-height: 1.62;
}

.bp-detail-summary {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    padding: 18px 24px 14px;
}

.bp-detail-summary > div,
.bp-detail-info > div {
    min-width: 0;
    padding: 14px 14px 13px;
    border-radius: 18px;
    border: 1px solid rgba(183, 133, 33, 0.10);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(250, 246, 239, 0.94) 100%);
}

.bp-detail-summary strong {
    display: block;
    color: #4b3a30;
    font-size: 20px;
    line-height: 1.24;
    font-weight: 800;
}

.bp-detail-info {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 0 24px 18px;
}

.bp-detail-info strong,
.bp-detail-info p {
    margin: 0;
    color: #443a34;
    font-size: 13px;
    line-height: 1.58;
}

.bp-table-wrap {
    padding: 0 24px 24px;
    overflow: auto;
}

.bp-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 13px;
}

.bp-table th {
    padding: 12px 13px;
    border-top: 1px solid rgba(183, 133, 33, 0.12);
    border-bottom: 1px solid rgba(183, 133, 33, 0.12);
    background: rgba(255, 248, 237, 0.96);
    color: #7b675a;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-align: left;
    text-transform: uppercase;
}

.bp-table th:first-child {
    border-top-left-radius: 16px;
}

.bp-table th:last-child {
    border-top-right-radius: 16px;
}

.bp-table td {
    padding: 12px 13px;
    border-bottom: 1px solid rgba(183, 133, 33, 0.08);
    color: #4b4038;
    vertical-align: top;
}

.bp-table th:nth-child(4),
.bp-table th:nth-child(5),
.bp-table th:nth-child(6),
.bp-table td:nth-child(4),
.bp-table td:nth-child(5),
.bp-table td:nth-child(6) {
    text-align: right;
}

.bp-stage-row td {
    background: rgba(154, 51, 23, 0.05);
    color: #7d2c16;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.bp-modal-open {
    overflow: hidden;
}

@media (max-width: 1180px) {
    .bp-summary-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bp-prodeo-summary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bp-filter-grid,
    .bp-filter-grid-compact {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bp-card {
        grid-template-columns: 1fr;
    }

    .bp-detail-summary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    .bp-hero {
        padding: 26px 22px 24px;
        border-radius: 24px;
    }

    .bp-hero::before {
        left: 22px;
        top: 22px;
        width: 74px;
    }

    .bp-hero h1 {
        font-size: 28px;
    }

    .bp-filter {
        padding: 20px 18px 22px;
    }

    .bp-filter-head {
        display: block;
    }

    .bp-result-pill {
        margin-top: 12px;
    }

    .bp-filter-status {
        margin-top: 12px;
        padding-top: 12px;
    }

    .bp-detail-info {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 680px) {
    .bp-summary-cards,
    .bp-prodeo-summary,
    .bp-filter-grid,
    .bp-filter-grid-compact,
    .bp-party-compact,
    .bp-detail-summary,
    .bp-detail-info {
        grid-template-columns: 1fr;
    }

    .bp-filter-actions .bp-btn {
        width: 100%;
    }

    .bp-card {
        padding: 18px 16px;
    }

    .bp-card-title-row {
        display: block;
    }

    .bp-status {
        margin-top: 12px;
    }

    .bp-meta-line span {
        width: 100%;
    }

    .bp-modal {
        padding: 10px;
    }

    .bp-modal-dialog {
        border-radius: 22px;
    }

    .bp-detail-head {
        padding: 22px 18px 20px;
    }

    .bp-detail-head h2 {
        margin-right: 42px;
        font-size: 23px;
    }

    .bp-detail-summary,
    .bp-detail-info,
    .bp-table-wrap {
        padding-left: 16px;
        padding-right: 16px;
    }
}
