/* ── Tab badge styling ─────────────────────────────────────────────── */
.erp-tab-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    margin-left: 6px;
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
    color: #fff;
    background: #e4606d;
    border-radius: 10px;
    vertical-align: middle;
}
.nav-link.active .erp-tab-badge {
    background: #e4606d;
    color: #fff;
}
.nav-link:not(.active) .erp-tab-badge {
    background: #c4c9d0;
    color: #fff;
}
.erp-tab-badge:empty,
.erp-tab-badge:contains('0') {
    display: none;
}/*
 * Wider workspace for dense ERP screens.
 * Orchid wraps dashboard pages in a Bootstrap `container-md`,
which leaves
 * a lot of horizontal space unused on large monitors.
 */
body.page-platform-pnlist-list .container-md,
body.page-platform-main .container-md,
body.page-platform-arrowtmp-card .container-md,
body.page-platform-pnprofilesupplierorderincoming-card .container-md,
body.page-platform-pnlist-edit .container-md,
body.page-platform-supplierorder-edit .container-md,
body.page-platform-testsupplierorder-edit .container-md,
body.page-platform-pnprofile-list .container-md,
body.page-platform-pnprofilesupplierorder-list .container-md,
body.page-platform-pnprofiletestsupplierorder-list .container-md,
body.page-platform-testsupplierorder-list .container-md,
body.page-platform-pnprofilecustomerorder-list .container-md,
body.page-platform-order-list .container-md,
body.page-platform-metrics .container-md,
body.page-platform-globalsearch .container-md,
body.page-platform-searchresult .container-md,
body.page-platform-settings .container-md,
body.page-platform-company-edit .container-md,
body.page-platform-maincompany-edit .container-md,
body.page-platform-company-card .container-md,
body.page-platform-supplier-edit .container-md,
body.page-platform-supplier-card .container-md,
body.page-platform-buyer-edit .container-md,
body.page-platform-buyer-card .container-md,
body.page-platform-contact-edit .container-md,
body.page-platform-contact-card .container-md,
body.page-platform-program-edit .container-md,
body.page-platform-program-card .container-md,
body.page-platform-order-edit .container-md,
body.page-platform-pnorder-list .container-md,
body.page-platform-pnorder-edit .container-md,
body.page-platform-magazzino-list .container-md,
body.page-platform-magazzino-searchpn .container-md,
body.page-platform-magazzino-card .container-md,
body.page-platform-magazzino-infopn .container-md,
body.page-platform-offer-list .container-md,
body.page-platform-offer-card .container-md,
body.page-platform-offer-edit .container-md,
body.page-platform-pedido-list .container-md,
body.page-platform-pedido-card .container-md,
body.page-platform-venta-list .container-md,
body.page-platform-venta-card .container-md,
body.page-platform-poomnia-list .container-md,
body.page-platform-poomnia-card .container-md,
body.page-platform-poomnia-edit .container-md,
body.page-platform-supplierorder-list .container-md,
body.page-platform-customerorder-list .container-md,
body.page-platform-componenttest-list .container-md,
body.page-platform-deletedpartnumbersfromorders-list .container-md,
body.page-platform-customerorderoutgoing-list .container-md,
body.page-platform-supplierpnincoming-list .container-md,
body.page-platform-supplierpnincoming-filterorder .container-md,
body.page-platform-supplierpnincoming-prova .container-md,
body.page-platform-pcnnotification-list .container-md,
body.page-platform-pcnnotificationsltb-list .container-md,
body.page-platform-pcnnotificationslts-list .container-md,
body.page-platform-pcnnotificationsobsolete-list .container-md,
body.page-platform-pcnnotifications-searchpn .container-md,
body.page-platform-pcnnotification-edit .container-md,
body.page-platform-email-import-list .container-md,
body.page-platform-co-email-import-list .container-md,
body.page-platform-email-import-detail .container-md,
body.page-platform-co-email-import-detail .container-md,
body.page-platform-ltb-import-list .container-md,
body.page-platform-ltb-import-detail .container-md,
body.page-platform-pnprofilesupplierordersurvey-card .container-md,
body.page-platform-pnprofilesupplierorderdelivered-card .container-md,
body.page-platform-buyer-list .container-md,
body.page-platform-company-list .container-md,
body.page-platform-contact-list .container-md,
body.page-platform-supplier-list .container-md,
body.page-platform-program-list .container-md,
body.page-platform-magazzino-edit .container-md,
body.page-platform-obsinternal-pn-list .container-md,
body.page-platform-obsinternal-pn-detail .container-md,
body.page-platform-pcnnotification-card .container-md,
body.page-platform-systems-users .container-md,
body.page-platform-systems-users-edit .container-md,
body.page-platform-systems-users-create .container-md,
body.page-platform-systems-roles .container-md,
body.page-platform-systems-roles-edit .container-md,
body.page-platform-systems-roles-create .container-md,
body.page-platform-documentation .container-md,
body.page-platform-notifications .container-md,
body.page-platform-documentcode-list .container-md,
body.page-platform-documentcode-edit .container-md {
    max-width: 100% !important;
    width: 100%;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
}

@media (min-width: 1400px) {
    body.page-platform-pnlist-list .container-md,
    body.page-platform-main .container-md,
    body.page-platform-arrowtmp-card .container-md,
    body.page-platform-pnprofilesupplierorderincoming-card .container-md,
    body.page-platform-pnlist-edit .container-md,
    body.page-platform-supplierorder-edit .container-md,
    body.page-platform-testsupplierorder-edit .container-md,
    body.page-platform-pnprofile-list .container-md,
    body.page-platform-pnprofilesupplierorder-list .container-md,
    body.page-platform-pnprofiletestsupplierorder-list .container-md,
    body.page-platform-pnprofilecustomerorder-list .container-md,
    body.page-platform-order-list .container-md,
    body.page-platform-metrics .container-md,
    body.page-platform-globalsearch .container-md,
    body.page-platform-searchresult .container-md,
    body.page-platform-settings .container-md,
    body.page-platform-company-edit .container-md,
    body.page-platform-maincompany-edit .container-md,
    body.page-platform-company-card .container-md,
    body.page-platform-supplier-edit .container-md,
    body.page-platform-supplier-card .container-md,
    body.page-platform-buyer-edit .container-md,
    body.page-platform-buyer-card .container-md,
    body.page-platform-contact-edit .container-md,
    body.page-platform-contact-card .container-md,
    body.page-platform-program-edit .container-md,
    body.page-platform-program-card .container-md,
    body.page-platform-order-edit .container-md,
    body.page-platform-pnorder-list .container-md,
    body.page-platform-pnorder-edit .container-md,
    body.page-platform-testsupplierorder-list .container-md,
    body.page-platform-magazzino-list .container-md,
    body.page-platform-magazzino-searchpn .container-md,
    body.page-platform-magazzino-card .container-md,
    body.page-platform-magazzino-infopn .container-md,
    body.page-platform-supplierorder-list .container-md,
    body.page-platform-customerorder-list .container-md,
    body.page-platform-componenttest-list .container-md,
    body.page-platform-deletedpartnumbersfromorders-list .container-md,
    body.page-platform-customerorderoutgoing-list .container-md,
    body.page-platform-supplierpnincoming-list .container-md,
    body.page-platform-supplierpnincoming-filterorder .container-md,
    body.page-platform-supplierpnincoming-prova .container-md,
    body.page-platform-pcnnotification-list .container-md,
    body.page-platform-pcnnotificationsltb-list .container-md,
    body.page-platform-pcnnotificationslts-list .container-md,
    body.page-platform-pcnnotificationsobsolete-list .container-md,
    body.page-platform-pcnnotifications-searchpn .container-md,
    body.page-platform-pcnnotification-edit .container-md {
        padding-left: 1.25rem !important;
        padding-right: 1.25rem !important;
    }
}

body[class*="page-platform-"] .erp-top-actions-shell {
    background:
        radial-gradient(circle at top right, var(--erp-top-actions-shell-glow), transparent 28%),
        linear-gradient(
            135deg,
            var(--erp-top-actions-shell-start) 0%,
            var(--erp-top-actions-shell-mid) 58%,
            var(--erp-top-actions-shell-end) 100%
        );
    border: 1px solid var(--erp-top-actions-shell-border);
    border-radius: 1.05rem;
    box-shadow: 0 14px 30px var(--erp-top-actions-shell-shadow);
    margin-bottom: 1rem;
    padding: 1rem 1.05rem;
}

body[class*="page-platform-"] .erp-top-actions-shell__inner {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-between;
}

body[class*="page-platform-"] .erp-top-actions-shell__meta {
    display: flex;
    flex: 0 1 18rem;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 12rem;
}

body[class*="page-platform-"] .erp-top-actions-shell__eyebrow {
    color: #69808f;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1.1;
    text-transform: uppercase;
}

body[class*="page-platform-"] .erp-top-actions-shell__description {
    color: #5a6d78;
    font-size: 0.92rem;
    margin: 0;
}

body[class*="page-platform-"] .erp-top-actions-shell__actions {
    flex: 1 1 24rem;
}

body[class*="page-platform-"] .screen-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

body[class*="page-platform-"] .erp-top-actions-shell .screen-actions {
    margin-bottom: 0 !important;
    justify-content: flex-end;
}

body[class*="page-platform-"] .screen-actions > li {
    list-style: none;
    margin: 0;
    padding: 0;
}

body[class*="page-platform-"] .screen-actions .btn {
    align-items: center;
    background: linear-gradient(180deg, #ffffff 0%, #f2f7fa 100%);
    border: 1px solid #dbe6ed;
    border-radius: 0.9rem;
    box-shadow: 0 10px 22px rgba(35, 55, 74, 0.08);
    color: #344955;
    display: inline-flex;
    font-weight: 700;
    gap: 0.45rem;
    justify-content: center;
    min-height: 2.9rem;
    padding: 0.72rem 1rem;
    text-decoration: none;
}

body[class*="page-platform-"] .screen-actions .btn:hover,
body[class*="page-platform-"] .screen-actions .btn:focus {
    background: linear-gradient(180deg, #ffffff 0%, #edf4f8 100%);
    border-color: #cfdde7;
    color: #253743;
}

body[class*="page-platform-"] .screen-actions .btn *,
body[class*="page-platform-"] .screen-actions .btn .icon {
    color: inherit !important;
}

body[class*="page-platform-"] [data-controller="tabs"] .nav-tabs .nav-link .erp-tab-link {
    align-items: center;
    display: inline-flex;
    gap: 0.55rem;
    line-height: 1;
    white-space: nowrap;
}

body[class*="page-platform-"] [data-controller="tabs"] .nav-tabs .nav-link .erp-tab-link__text {
    line-height: 1.15;
}

body[class*="page-platform-"] [data-controller="tabs"] .nav-tabs .nav-link .erp-tab-count {
    align-items: center;
    background: rgba(58, 72, 82, 0.08);
    border-radius: 999px;
    box-shadow: inset 0 0 0 1px rgba(58, 72, 82, 0.08);
    color: inherit;
    display: inline-flex;
    font-size: 0.72rem;
    font-weight: 800;
    height: 1.45rem;
    justify-content: center;
    min-width: 1.45rem;
    padding: 0 0.45rem;
}

body[class*="page-platform-"] [data-controller="tabs"] .nav-tabs .nav-link.active .erp-tab-count {
    background: rgba(255, 255, 255, 0.2);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
    color: inherit;
}

body[class*="page-platform-"] .mt-3.mt-md-4 > .alert {
    --erp-feedback-accent: var(--erp-primary-pill-end);
    --erp-feedback-glow: var(--erp-top-actions-shell-glow);
    background:
        radial-gradient(circle at top right, var(--erp-feedback-glow), transparent 28%),
        linear-gradient(
            135deg,
            var(--erp-top-actions-shell-start) 0%,
            var(--erp-top-actions-shell-mid) 58%,
            var(--erp-top-actions-shell-end) 100%
        );
    border: 1px solid var(--erp-top-actions-shell-border);
    border-radius: 1.05rem !important;
    box-shadow: 0 14px 30px var(--erp-top-actions-shell-shadow);
    color: #344955;
    margin-bottom: 1rem !important;
    overflow: hidden;
    padding: 1rem 1.15rem 1rem 1.35rem !important;
    position: relative;
}

body[class*="page-platform-"] .mt-3.mt-md-4 > .alert::before {
    background: var(--erp-feedback-accent);
    border-radius: 999px;
    bottom: 0.85rem;
    content: "";
    left: 0.7rem;
    position: absolute;
    top: 0.85rem;
    width: 0.28rem;
}

body[class*="page-platform-"] .mt-3.mt-md-4 > .alert.d-flex {
    align-items: center;
    gap: 0.85rem;
}

body[class*="page-platform-"] .mt-3.mt-md-4 > .alert.alert-success {
    --erp-feedback-accent: #ffffff;
    --erp-feedback-glow: rgba(42, 123, 82, 0.18);
    background: linear-gradient(180deg, #247b52 0%, #18593b 100%) !important;
    border-color: #165236;
    box-shadow: 0 16px 30px rgba(24, 89, 59, 0.24);
    color: #f7fffb;
}

body[class*="page-platform-"] .mt-3.mt-md-4 > .alert.alert-warning {
    --erp-feedback-accent: #d09a24;
    --erp-feedback-glow: rgba(208, 154, 36, 0.14);
    color: #735313;
}

body[class*="page-platform-"] .mt-3.mt-md-4 > .alert.alert-danger {
    --erp-feedback-accent: #ffffff;
    --erp-feedback-glow: rgba(162, 58, 76, 0.2);
    background: linear-gradient(180deg, #a23a4c 0%, #7e2738 100%) !important;
    border-color: #742333;
    box-shadow: 0 16px 30px rgba(126, 39, 56, 0.24);
    color: #fff7f8;
}

body[class*="page-platform-"] .mt-3.mt-md-4 > .alert.alert-info {
    --erp-feedback-accent: #ffffff;
    --erp-feedback-glow: rgba(42, 123, 82, 0.18);
    background: linear-gradient(180deg, #247b52 0%, #18593b 100%) !important;
    border-color: #165236;
    box-shadow: 0 16px 30px rgba(24, 89, 59, 0.24);
    color: #f7fffb;
}

body[class*="page-platform-"] .mt-3.mt-md-4 > .alert.alert-success::before,
body[class*="page-platform-"] .mt-3.mt-md-4 > .alert.alert-info::before,
body[class*="page-platform-"] .mt-3.mt-md-4 > .alert.alert-danger::before {
    display: none;
}

body[class*="page-platform-"] .mt-3.mt-md-4 > .alert strong,
body[class*="page-platform-"] .mt-3.mt-md-4 > .alert a {
    color: var(--erp-feedback-accent);
}

body[class*="page-platform-"] .mt-3.mt-md-4 > .alert a {
    font-weight: 700;
    text-decoration: none;
}

body[class*="page-platform-"] .mt-3.mt-md-4 > .alert a:hover,
body[class*="page-platform-"] .mt-3.mt-md-4 > .alert a:focus {
    text-decoration: underline;
}

body[class*="page-platform-"] .mt-3.mt-md-4 > .alert ul {
    margin: 0.75rem 0 0;
    padding-left: 1.1rem;
}

body[class*="page-platform-"] .mt-3.mt-md-4 > .alert .btn-close {
    border-radius: 999px;
    box-shadow: inset 0 0 0 1px rgba(52, 73, 85, 0.14);
    flex: 0 0 auto;
    margin-left: auto;
    opacity: 0.58;
    padding: 0.8rem;
}

body[class*="page-platform-"] .mt-3.mt-md-4 > .alert .btn-close:hover,
body[class*="page-platform-"] .mt-3.mt-md-4 > .alert .btn-close:focus {
    background-color: rgba(255, 255, 255, 0.82);
    opacity: 0.88;
}

body[class*="page-platform-"] .mt-3.mt-md-4 > .alert.alert-success a,
body[class*="page-platform-"] .mt-3.mt-md-4 > .alert.alert-success strong,
body[class*="page-platform-"] .mt-3.mt-md-4 > .alert.alert-info a,
body[class*="page-platform-"] .mt-3.mt-md-4 > .alert.alert-info strong,
body[class*="page-platform-"] .mt-3.mt-md-4 > .alert.alert-danger a,
body[class*="page-platform-"] .mt-3.mt-md-4 > .alert.alert-danger strong {
    color: #ffffff;
}

body[class*="page-platform-"] .mt-3.mt-md-4 > .alert.alert-success .btn-close,
body[class*="page-platform-"] .mt-3.mt-md-4 > .alert.alert-info .btn-close,
body[class*="page-platform-"] .mt-3.mt-md-4 > .alert.alert-danger .btn-close {
    background-color: rgba(255, 255, 255, 0.14);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
    filter: invert(1) grayscale(1) brightness(200%);
}

body[class*="page-platform-"] .mt-3.mt-md-4 > .alert .erp-created-alert {
    align-items: center;
    display: inline-flex;
    flex-wrap: nowrap;
    gap: 0.55rem;
    max-width: calc(100% - 2.5rem);
    white-space: nowrap;
}

body[class*="page-platform-"] .mt-3.mt-md-4 > .alert .erp-created-alert__text {
    font-size: 1.05rem;
    line-height: 1.2;
}

body[class*="page-platform-"] .mt-3.mt-md-4 > .alert .erp-created-alert__link {
    font-size: 1.1rem;
    font-weight: 800;
    line-height: 1;
}

body[class*="page-platform-"] .mt-3.mt-md-4 > .toast-wrapper .toast .toast-body {
    background:
        radial-gradient(circle at top right, var(--erp-top-actions-shell-glow), transparent 28%),
        linear-gradient(
            135deg,
            var(--erp-top-actions-shell-start) 0%,
            var(--erp-top-actions-shell-mid) 58%,
            var(--erp-top-actions-shell-end) 100%
        ) !important;
    border: 1px solid var(--erp-top-actions-shell-border);
    border-radius: 1rem !important;
    box-shadow: 0 16px 30px var(--erp-top-actions-shell-shadow) !important;
    color: #344955;
}

body[class*="page-platform-"] .mt-3.mt-md-4 > .toast-wrapper .toast .toast-body .text-success {
    color: #2c9b69 !important;
}

body[class*="page-platform-"] .mt-3.mt-md-4 > .toast-wrapper .toast .toast-body .text-warning {
    color: #d09a24 !important;
}

body[class*="page-platform-"] .mt-3.mt-md-4 > .toast-wrapper .toast .toast-body .text-danger {
    color: #c35a68 !important;
}

body[class*="page-platform-"] .mt-3.mt-md-4 > .toast-wrapper .toast .toast-body .text-info {
    color: var(--erp-primary-pill-end) !important;
}

body[class*="page-platform-"] .mt-3.mt-md-4 > .toast-wrapper .toast .toast-body .btn-close {
    border-radius: 999px;
    box-shadow: inset 0 0 0 1px rgba(52, 73, 85, 0.14);
    opacity: 0.58;
}

body[class*="page-platform-"] .mt-3.mt-md-4 > .toast-wrapper .toast .toast-body .btn-close:hover,
body[class*="page-platform-"] .mt-3.mt-md-4 > .toast-wrapper .toast .toast-body .btn-close:focus {
    background-color: rgba(255, 255, 255, 0.82);
    opacity: 0.88;
}

body[class*="page-platform-"] .mt-3.mt-md-4 > .toast-wrapper .toast .toast-body:has(.text-success),
body[class*="page-platform-"] .mt-3.mt-md-4 > .toast-wrapper .toast .toast-body:has(.text-info) {
    background: linear-gradient(180deg, #247b52 0%, #18593b 100%) !important;
    border-color: #165236;
    box-shadow: 0 16px 30px rgba(24, 89, 59, 0.24) !important;
    color: #f7fffb;
}

body[class*="page-platform-"] .mt-3.mt-md-4 > .toast-wrapper .toast .toast-body:has(.text-danger) {
    background: linear-gradient(180deg, #a23a4c 0%, #7e2738 100%) !important;
    border-color: #742333;
    box-shadow: 0 16px 30px rgba(126, 39, 56, 0.24) !important;
    color: #fff7f8;
}

body[class*="page-platform-"] .mt-3.mt-md-4 > .toast-wrapper .toast .toast-body:has(.text-success) p,
body[class*="page-platform-"] .mt-3.mt-md-4 > .toast-wrapper .toast .toast-body:has(.text-success) p *,
body[class*="page-platform-"] .mt-3.mt-md-4 > .toast-wrapper .toast .toast-body:has(.text-info) p,
body[class*="page-platform-"] .mt-3.mt-md-4 > .toast-wrapper .toast .toast-body:has(.text-info) p *,
body[class*="page-platform-"] .mt-3.mt-md-4 > .toast-wrapper .toast .toast-body:has(.text-danger) p,
body[class*="page-platform-"] .mt-3.mt-md-4 > .toast-wrapper .toast .toast-body:has(.text-danger) p * {
    color: inherit !important;
}

body[class*="page-platform-"] .mt-3.mt-md-4 > .toast-wrapper .toast .toast-body:has(.text-success) .btn-close,
body[class*="page-platform-"] .mt-3.mt-md-4 > .toast-wrapper .toast .toast-body:has(.text-info) .btn-close,
body[class*="page-platform-"] .mt-3.mt-md-4 > .toast-wrapper .toast .toast-body:has(.text-danger) .btn-close {
    background-color: rgba(255, 255, 255, 0.14);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
    filter: invert(1) grayscale(1) brightness(200%);
}

@media (min-width: 768px) and (max-width: 1199.98px) {
    body.page-platform-email-import-list .erp-email-import-runtime-panel__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    body[class*="page-platform-"] .erp-top-actions-shell {
        padding: 0.85rem 0.9rem;
    }

    body[class*="page-platform-"] .erp-top-actions-shell__inner {
        align-items: stretch;
    }

    body[class*="page-platform-"] .erp-top-actions-shell__meta,
    body[class*="page-platform-"] .erp-top-actions-shell__actions {
        flex-basis: 100%;
        min-width: 0;
    }

    body[class*="page-platform-"] .erp-top-actions-shell .screen-actions {
        justify-content: flex-start;
    }

    body[class*="page-platform-"] .screen-actions .btn {
        width: 100%;
    }
}

body.page-platform-order-list .table-responsive > .table,
body.page-platform-testsupplierorder-list .table-responsive > .table,
body.page-platform-componenttest-list .table-responsive > .table,
body.page-platform-pnprofilecustomerorder-list .table-responsive > .table,
body.page-platform-customerorderoutgoing-list .table-responsive > .table,
body.page-platform-supplierpnincoming-list .table-responsive > .table,
body.page-platform-supplierpnincoming-filterorder .table-responsive > .table,
body.page-platform-supplierpnincoming-prova .table-responsive > .table,
body.page-platform-magazzino-list #dynamic-table,
body.page-platform-magazzino-searchpn #dynamic-table,
body.page-platform-pnorder-list .matrix.table.table-bordered,
body.page-platform-pnorder-edit .matrix.table.table-bordered {
    width: 100% !important;
    min-width: 100% !important;
    table-layout: auto;
}
/* RFQ matrix: hide ID column (first th/td in each row) */
body.page-platform-pnorder-list table.matrix thead tr th:first-child,
body.page-platform-pnorder-list table.matrix tbody tr:not(.add-row) th:first-child {
    display: none !important;
}

/* RFQ matrix — column width calibration + header styling, coherent with
   the Overview look & feel (uppercase labels, compact numeric columns,
   wide description/MPN, tabular nums where it matters). */
body.page-platform-pnorder-list table.matrix thead tr th,
body.page-platform-pnorder-list table.matrix thead tr th.text-capitalize {
    background: #f4f7f8 !important;
    font-size: 0.72rem !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.04em !important;
    color: #52606d !important;
    padding: 0.55rem 0.7rem;
    border-bottom: 1px solid #e1e9ec;
    white-space: nowrap;
}
/* N° column (2nd th after the hidden id) — narrow, centered */
body.page-platform-pnorder-list table.matrix thead tr th:nth-child(2),
body.page-platform-pnorder-list table.matrix tbody tr:not(.add-row) th:nth-child(2) {
    width: 4.5rem;
    text-align: center;
}
/* MPN column — flexible, prominent */
body.page-platform-pnorder-list table.matrix thead tr th:nth-child(3),
body.page-platform-pnorder-list table.matrix tbody tr:not(.add-row) th:nth-child(3) {
    width: 14rem;
}
/* CPN column — medium */
body.page-platform-pnorder-list table.matrix thead tr th:nth-child(4),
body.page-platform-pnorder-list table.matrix tbody tr:not(.add-row) th:nth-child(4) {
    width: 9rem;
}
/* Description column — eats the remaining space */
body.page-platform-pnorder-list table.matrix thead tr th:nth-child(5),
body.page-platform-pnorder-list table.matrix tbody tr:not(.add-row) th:nth-child(5) {
    width: auto;
}
/* Qty column — narrow, right-aligned */
body.page-platform-pnorder-list table.matrix thead tr th:nth-child(6),
body.page-platform-pnorder-list table.matrix tbody tr:not(.add-row) th:nth-child(6) {
    width: 6rem;
    text-align: right;
}
/* Remove button column — fits the "Actions" header label */
body.page-platform-pnorder-list table.matrix thead tr th:last-child,
body.page-platform-pnorder-list table.matrix tbody tr:not(.add-row) th:last-child {
    width: 5.5rem;
    min-width: 5.5rem;
    text-align: center;
}

body.page-platform-pnorder-list table.matrix tbody tr:not(.add-row) th {
    padding: 0.4rem 0.6rem;
    vertical-align: middle;
    font-weight: 500;
}
body.page-platform-pnorder-list table.matrix tbody tr:not(.add-row) input[name$="[description]"],
body.page-platform-pnorder-list table.matrix tbody tr:not(.add-row) input[name$="[pn]"],
body.page-platform-pnorder-list table.matrix tbody tr:not(.add-row) input[name$="[customer_pn]"] {
    text-transform: uppercase;
}
body.page-platform-pnorder-list table.matrix tbody tr:not(.add-row) input[name$="[qty]"],
body.page-platform-pnorder-list table.matrix tbody tr:not(.add-row) input[name$="[number]"] {
    font-variant-numeric: tabular-nums;
}

/* Offer PN matrix — header styling uniform with the RFQ/Overview look
   and column width calibration. The first 7 columns are hidden (id +
   applied_stock/lead_time/price_tier/manufacturer/packaging/hts), so
   the nth-child targets below start from :nth-child(8) = N°. */
body.page-platform-pnprofile-list table.matrix.erp-matrix-pn thead tr th,
body.page-platform-pnprofile-list table.matrix.erp-matrix-pn thead tr th.text-capitalize {
    background: #f4f7f8 !important;
    font-size: 0.72rem !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.04em !important;
    color: #52606d !important;
    padding: 0.5rem 0.6rem;
    border-bottom: 1px solid #e1e9ec;
    white-space: nowrap;
}
body.page-platform-pnprofile-list table.matrix.erp-matrix-pn tbody tr:not(.add-row) th {
    padding: 0.35rem 0.5rem;
    vertical-align: middle;
}
body.page-platform-pnprofile-list table.matrix.erp-matrix-pn tbody input[name$="[number]"],
body.page-platform-pnprofile-list table.matrix.erp-matrix-pn tbody input[name$="[qty]"],
body.page-platform-pnprofile-list table.matrix.erp-matrix-pn tbody input[name$="[buy_price]"],
body.page-platform-pnprofile-list table.matrix.erp-matrix-pn tbody input[name$="[markup_percentage]"],
body.page-platform-pnprofile-list table.matrix.erp-matrix-pn tbody input[name$="[unit_price_euro]"],
body.page-platform-pnprofile-list table.matrix.erp-matrix-pn tbody input[name$="[amount]"],
body.page-platform-pnprofile-list table.matrix.erp-matrix-pn tbody input[name$="[eta_days]"],
body.page-platform-pnprofile-list table.matrix.erp-matrix-pn tbody input[name$="[ets_days]"] {
    font-variant-numeric: tabular-nums;
    text-align: right;
}
body.page-platform-pnprofile-list table.matrix.erp-matrix-pn tbody input[name$="[number]"] {
    text-align: center;
}

/* Column widths — indexes start from :nth-child(8) (N°) after the 7 hidden ones. */
body.page-platform-pnprofile-list table.matrix.erp-matrix-pn thead tr th:nth-child(8),    /* N° */
body.page-platform-pnprofile-list table.matrix.erp-matrix-pn tbody tr:not(.add-row) th:nth-child(8) {
    width: 4.5rem; text-align: center;
}
body.page-platform-pnprofile-list table.matrix.erp-matrix-pn thead tr th:nth-child(9),    /* MPN */
body.page-platform-pnprofile-list table.matrix.erp-matrix-pn tbody tr:not(.add-row) th:nth-child(9) {
    width: 13rem;
}
body.page-platform-pnprofile-list table.matrix.erp-matrix-pn thead tr th:nth-child(10),   /* CPN */
body.page-platform-pnprofile-list table.matrix.erp-matrix-pn tbody tr:not(.add-row) th:nth-child(10) {
    width: 8rem;
}
body.page-platform-pnprofile-list table.matrix.erp-matrix-pn thead tr th:nth-child(11),   /* Description */
body.page-platform-pnprofile-list table.matrix.erp-matrix-pn tbody tr:not(.add-row) th:nth-child(11) {
    width: auto; min-width: 14rem;
}
body.page-platform-pnprofile-list table.matrix.erp-matrix-pn thead tr th:nth-child(12),   /* Qty */
body.page-platform-pnprofile-list table.matrix.erp-matrix-pn tbody tr:not(.add-row) th:nth-child(12) {
    width: 5.5rem; text-align: right;
}
body.page-platform-pnprofile-list table.matrix.erp-matrix-pn thead tr th:nth-child(13),   /* Provider */
body.page-platform-pnprofile-list table.matrix.erp-matrix-pn tbody tr:not(.add-row) th:nth-child(13) {
    width: 10rem;
}
body.page-platform-pnprofile-list table.matrix.erp-matrix-pn thead tr th:nth-child(14),   /* Buy Price */
body.page-platform-pnprofile-list table.matrix.erp-matrix-pn tbody tr:not(.add-row) th:nth-child(14) {
    width: 6.5rem; text-align: right;
}
body.page-platform-pnprofile-list table.matrix.erp-matrix-pn thead tr th:nth-child(15),   /* Markup % */
body.page-platform-pnprofile-list table.matrix.erp-matrix-pn tbody tr:not(.add-row) th:nth-child(15) {
    width: 5.5rem; text-align: right;
}
body.page-platform-pnprofile-list table.matrix.erp-matrix-pn thead tr th:nth-child(16),   /* Price € */
body.page-platform-pnprofile-list table.matrix.erp-matrix-pn tbody tr:not(.add-row) th:nth-child(16) {
    width: 6.5rem; text-align: right;
}
body.page-platform-pnprofile-list table.matrix.erp-matrix-pn thead tr th:nth-child(17),   /* Total */
body.page-platform-pnprofile-list table.matrix.erp-matrix-pn tbody tr:not(.add-row) th:nth-child(17) {
    width: 7.5rem; text-align: right;
}
body.page-platform-pnprofile-list table.matrix.erp-matrix-pn thead tr th:nth-child(18),   /* ETA d */
body.page-platform-pnprofile-list table.matrix.erp-matrix-pn tbody tr:not(.add-row) th:nth-child(18),
body.page-platform-pnprofile-list table.matrix.erp-matrix-pn thead tr th:nth-child(19),   /* ETS d */
body.page-platform-pnprofile-list table.matrix.erp-matrix-pn tbody tr:not(.add-row) th:nth-child(19) {
    width: 4.5rem; text-align: right;
}
body.page-platform-pnprofile-list table.matrix.erp-matrix-pn thead tr th:nth-child(20),   /* Delivery */
body.page-platform-pnprofile-list table.matrix.erp-matrix-pn tbody tr:not(.add-row) th:nth-child(20) {
    width: 7rem;
}
body.page-platform-pnprofile-list table.matrix.erp-matrix-pn thead tr th:nth-child(21),   /* Appr. Date */
body.page-platform-pnprofile-list table.matrix.erp-matrix-pn tbody tr:not(.add-row) th:nth-child(21) {
    width: 8rem;
}
body.page-platform-pnprofile-list table.matrix.erp-matrix-pn thead tr th:nth-child(22),   /* Waiting */
body.page-platform-pnprofile-list table.matrix.erp-matrix-pn tbody tr:not(.add-row) th:nth-child(22) {
    width: 4rem; text-align: center;
}
body.page-platform-pnprofile-list table.matrix.erp-matrix-pn thead tr th:nth-child(23),   /* Actions */
body.page-platform-pnprofile-list table.matrix.erp-matrix-pn tbody tr:not(.add-row) th:nth-child(23) {
    width: 7rem; text-align: center;
}

/* RFQ matrix: style Delete icon-only button coherent with offer (pink pastel) */
body.page-platform-pnorder-list table.matrix [data-action="matrix#deleteRow"] {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0;
    background: #fff0f6 !important;
    color: #a61a59 !important;
    border: 1px solid #f1b0cc !important;
    border-radius: 0.6rem !important;
    padding: 0.4rem 0.55rem !important;
    box-shadow: none !important;
    text-decoration: none !important;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}
body.page-platform-pnorder-list table.matrix [data-action="matrix#deleteRow"]:hover,
body.page-platform-pnorder-list table.matrix [data-action="matrix#deleteRow"]:focus {
    background: #ffe3ef !important;
    border-color: #e896bb !important;
    color: #92164f !important;
}
body.page-platform-pnorder-list table.matrix [data-action="matrix#deleteRow"] svg {
    width: 14px !important;
    height: 14px !important;
    color: inherit !important;
    fill: currentColor !important;
    display: inline-block;
}

/* Pending supplier block in the CO screen — rows inherited from the offer
   with a free-text applied_provider note. The note pill is yellow and each
   row exposes a dropdown to promote it to a real DB supplier. */
.erp-pending-supplier__table {
    background: #fffdf3;
    border: 1px solid #f3d178;
    border-radius: 0.7rem;
    overflow: hidden;
}
.erp-pending-supplier__table thead th {
    background: #fdf0d0;
    color: #6c5a00;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.erp-pending-supplier__note-pill {
    display: inline-block;
    padding: 0.15rem 0.55rem;
    background: #f3e9b5;
    color: #6c5a00;
    border: 1px solid #e3d68f;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}
.erp-pending-supplier__form {
    display: flex;
    gap: 0.4rem;
    align-items: center;
}
.erp-pending-supplier__select {
    min-width: 12rem;
    font-size: 0.82rem;
}
.erp-pending-supplier__btn {
    white-space: nowrap;
}

/* Inline yellow pill shown in the CO Part Numbers table on duplicate rows
   whose applied_provider is a free-text offer note awaiting a real supplier
   assignment. Sits just above the "+ Add Supplier" dropdown. */
.erp-co-supplier-note {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.18rem 0.5rem;
    margin-bottom: 0.25rem;
    background: #fff3cf;
    border: 1px solid #f3d178;
    color: #6c5a00;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

/* SO matrix: style Delete button to match CO */
body.page-platform-pnprofilesupplierorder-list table.matrix [data-action="matrix#deleteRow"],
body.page-platform-pnprofiletestsupplierorder-list table.matrix [data-action="matrix#deleteRow"] {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.3rem !important;
    background: #fef2f2 !important;
    color: #991b1b !important;
    border: 1px solid #fca5a5 !important;
    border-radius: 0.5rem !important;
    font-size: 0.78rem !important;
    font-weight: 600 !important;
    padding: 0.25rem 0.6rem !important;
    white-space: nowrap !important;
    text-decoration: none !important;
}
body.page-platform-pnprofilesupplierorder-list table.matrix [data-action="matrix#deleteRow"]::after {
    content: "Delete";
}
body.page-platform-pnprofilesupplierorder-list table.matrix [data-action="matrix#deleteRow"]:hover,
body.page-platform-pnprofiletestsupplierorder-list table.matrix [data-action="matrix#deleteRow"]:hover {
    background: #fee2e2 !important;
    border-color: #f87171 !important;
    color: #7f1d1d !important;
}

/* Hide hidden columns (id + applied_stock/…/applied_hts + magazzino_id +
   supplier_order_incoming_id) in offer PN matrix. The first 9 columns carry
   type=hidden inputs — column 10 onwards is visible
   (N°, MPN, CPN, Description, Qty, Provider, Buy Price, …). */
body.page-platform-pnprofile-list table.matrix.erp-matrix-pn thead tr th:nth-child(-n+9),
body.page-platform-pnprofile-list table.matrix.erp-matrix-pn tbody tr:not(.add-row) th:nth-child(-n+9),
body.page-platform-pnprofile-list table.matrix.erp-matrix-pn tbody tr:not(.add-row) td:nth-child(-n+9),
/* Hide ID column (1st) in test matrix */
body.page-platform-pnprofile-list table.matrix.erp-matrix-test thead tr th:nth-child(1),
body.page-platform-pnprofile-list table.matrix.erp-matrix-test tbody tr:not(.add-row) th:nth-child(1),
body.page-platform-pnprofilesupplierorder-list table.matrix thead tr th:nth-child(-n+6),
body.page-platform-pnprofilesupplierorder-list table.matrix tbody tr:not(.add-row) th:nth-child(-n+6),
body.page-platform-pnprofilesupplierorder-list table.matrix tbody tr:not(.add-row) td:nth-child(-n+6) {
    display: none !important;
}
body.page-platform-pnprofilesupplierorder-list table.matrix .add-row th[colspan] {
    /* Reduce colspan to account for 6 hidden columns */
}

body.page-platform-pnprofile-list .table.table-bordered.table-sm,
body.page-platform-pnprofilesupplierorder-list .table.table-bordered.table-sm,
body.page-platform-pnprofiletestsupplierorder-list .table.table-bordered.table-sm,
body.page-platform-pnprofilecustomerorder-list .table.table-bordered.table-sm {
    width: max-content !important;
    min-width: 100% !important;
}
/* Hide ID column (1st) in TSO matrix */
body.page-platform-pnprofiletestsupplierorder-list table.matrix thead tr th:nth-child(1),
body.page-platform-pnprofiletestsupplierorder-list table.matrix tbody tr:not(.add-row) th:nth-child(1) {
    display: none !important;
}

body.page-platform-order-list .table-responsive > .table th,
body.page-platform-testsupplierorder-list .table-responsive > .table th,
body.page-platform-pnprofilecustomerorder-list .table-responsive > .table th,
body.page-platform-customerorderoutgoing-list .table-responsive > .table th,
body.page-platform-supplierpnincoming-list .table-responsive > .table th,
body.page-platform-supplierpnincoming-filterorder .table-responsive > .table th,
body.page-platform-supplierpnincoming-prova .table-responsive > .table th,
body.page-platform-magazzino-list #dynamic-table th,
body.page-platform-magazzino-searchpn #dynamic-table th,
body.page-platform-pnorder-list .matrix.table.table-bordered th,
body.page-platform-pnorder-edit .matrix.table.table-bordered th,
body.page-platform-pnprofile-list .table.table-bordered.table-sm th,
body.page-platform-pnprofilesupplierorder-list .table.table-bordered.table-sm th,
body.page-platform-pnprofiletestsupplierorder-list .table.table-bordered.table-sm th,
body.page-platform-pnprofilecustomerorder-list .table.table-bordered.table-sm th {
    white-space: nowrap;
}

body.page-platform-order-list .table-responsive > .table th,
body.page-platform-order-list .table-responsive > .table td,
body.page-platform-testsupplierorder-list .table-responsive > .table th,
body.page-platform-testsupplierorder-list .table-responsive > .table td,
body.page-platform-componenttest-list .table-responsive > .table th,
body.page-platform-componenttest-list .table-responsive > .table td,
body.page-platform-pnprofilecustomerorder-list .table-responsive > .table th,
body.page-platform-pnprofilecustomerorder-list .table-responsive > .table td,
body.page-platform-customerorderoutgoing-list .table-responsive > .table th,
body.page-platform-customerorderoutgoing-list .table-responsive > .table td,
body.page-platform-supplierpnincoming-list .table-responsive > .table th,
body.page-platform-supplierpnincoming-list .table-responsive > .table td,
body.page-platform-supplierpnincoming-filterorder .table-responsive > .table th,
body.page-platform-supplierpnincoming-filterorder .table-responsive > .table td,
body.page-platform-supplierpnincoming-prova .table-responsive > .table th,
body.page-platform-supplierpnincoming-prova .table-responsive > .table td,
body.page-platform-magazzino-list #dynamic-table td,
body.page-platform-magazzino-searchpn #dynamic-table td {
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 200px !important;
}
body.page-platform-magazzino-list #dynamic-table th,
body.page-platform-magazzino-list #dynamic-table td,
body.page-platform-magazzino-searchpn #dynamic-table th,
body.page-platform-magazzino-searchpn #dynamic-table td,
body.page-platform-pnorder-list .matrix.table.table-bordered th,
body.page-platform-pnorder-list .matrix.table.table-bordered td,
body.page-platform-pnorder-edit .matrix.table.table-bordered th,
body.page-platform-pnorder-edit .matrix.table.table-bordered td,
body.page-platform-pnprofile-list .table.table-bordered.table-sm th,
body.page-platform-pnprofile-list .table.table-bordered.table-sm td,
body.page-platform-pnprofilesupplierorder-list .table.table-bordered.table-sm th,
body.page-platform-pnprofilesupplierorder-list .table.table-bordered.table-sm td,
body.page-platform-pnprofiletestsupplierorder-list .table.table-bordered.table-sm th,
body.page-platform-pnprofiletestsupplierorder-list .table.table-bordered.table-sm td,
body.page-platform-pnprofilecustomerorder-list .table.table-bordered.table-sm th,
body.page-platform-pnprofilecustomerorder-list .table.table-bordered.table-sm td {
    padding-left: 0.7rem;
    padding-right: 0.7rem;
    vertical-align: middle;
}

body.page-platform-order-list .table-responsive > .table .btn,
body.page-platform-order-list .table-responsive > .table a.btn,
body.page-platform-testsupplierorder-list .table-responsive > .table .btn,
body.page-platform-testsupplierorder-list .table-responsive > .table a.btn,
body.page-platform-pnprofilecustomerorder-list .table-responsive > .table .btn,
body.page-platform-pnprofilecustomerorder-list .table-responsive > .table a.btn,
body.page-platform-customerorderoutgoing-list .table-responsive > .table .btn,
body.page-platform-customerorderoutgoing-list .table-responsive > .table a.btn,
body.page-platform-supplierpnincoming-list .table-responsive > .table .btn,
body.page-platform-supplierpnincoming-list .table-responsive > .table a.btn,
body.page-platform-supplierpnincoming-filterorder .table-responsive > .table .btn,
body.page-platform-supplierpnincoming-filterorder .table-responsive > .table a.btn,
body.page-platform-supplierpnincoming-prova .table-responsive > .table .btn,
body.page-platform-supplierpnincoming-prova .table-responsive > .table a.btn,
body.page-platform-order-list .table-responsive > .table .dropdown-item {
    white-space: nowrap;
}

body.page-platform-order-list .table-responsive > .table a[style*="width:170px"],
body.page-platform-order-list .table-responsive > .table button[style*="width:170px"],
body.page-platform-testsupplierorder-list .table-responsive > .table a[style*="width:200px"],
body.page-platform-testsupplierorder-list .table-responsive > .table button[style*="width:200px"],
body.page-platform-pnprofilecustomerorder-list .table-responsive > .table a[style*="width:170px"],
body.page-platform-pnprofilecustomerorder-list .table-responsive > .table button[style*="width:170px"] {
    width: auto !important;
    min-width: 10rem;
    max-width: 14rem;
}

body.page-platform-pnorder-list .matrix.table.table-bordered input,
body.page-platform-pnorder-edit .matrix.table.table-bordered input,
body.page-platform-pnorder-list .matrix.table.table-bordered .form-control,
body.page-platform-pnorder-edit .matrix.table.table-bordered .form-control,
body.page-platform-pnorder-list .matrix.table.table-bordered select,
body.page-platform-pnorder-edit .matrix.table.table-bordered select {
    box-sizing: border-box;
    max-width: none;
    min-width: 0;
    width: 100%;
}

body.page-platform-pnprofilecustomerorder-list .table.table-bordered.table-sm .btn,
body.page-platform-pnprofilesupplierorder-list .table.table-bordered.table-sm .btn,
body.page-platform-pnprofiletestsupplierorder-list .table.table-bordered.table-sm .btn {
    width: auto !important;
    min-width: 0 !important;
    max-width: 12rem;
    white-space: nowrap;
}

body.page-platform-pnprofilecustomerorder-list .table.table-bordered.table-sm input,
body.page-platform-pnprofilecustomerorder-list .table.table-bordered.table-sm select,
body.page-platform-pnprofilecustomerorder-list .table.table-bordered.table-sm .form-control,
body.page-platform-pnprofilesupplierorder-list .table.table-bordered.table-sm input,
body.page-platform-pnprofilesupplierorder-list .table.table-bordered.table-sm select,
body.page-platform-pnprofilesupplierorder-list .table.table-bordered.table-sm .form-control,
body.page-platform-pnprofiletestsupplierorder-list .table.table-bordered.table-sm input,
body.page-platform-pnprofiletestsupplierorder-list .table.table-bordered.table-sm select,
body.page-platform-pnprofiletestsupplierorder-list .table.table-bordered.table-sm .form-control {
    box-sizing: border-box;
    max-width: none;
    min-width: 0;
    width: 100%;
}

body.page-platform-order-list .erp-offer-summary {
    background:
        radial-gradient(circle at top right, rgba(215, 120, 42, 0.16), transparent 28%),
        linear-gradient(135deg, #fffaf4 0%, #ffffff 58%, #fff1e2 100%);
    border: 1px solid #f1dfce;
    border-radius: 1.2rem;
    box-shadow: 0 14px 30px rgba(136, 82, 35, 0.08);
    margin: 0 0 1rem;
    padding: 1.25rem;
}

body.page-platform-order-list .erp-offer-summary__hero {
    align-items: flex-start;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-bottom: 1rem;
}

body.page-platform-order-list .erp-offer-summary__eyebrow {
    color: #8c6846;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin: 0 0 0.35rem;
    text-transform: uppercase;
}

body.page-platform-order-list .erp-offer-summary__title {
    color: #4c2c15;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0;
}

body.page-platform-order-list .erp-offer-summary__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 0.85rem;
}

body.page-platform-order-list .erp-status-pill {
    border-radius: 999px;
    display: inline-flex;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    padding: 0.52rem 0.85rem;
    text-transform: uppercase;
}

body.page-platform-order-list .erp-status-pill--warning {
    background: #fff1cf;
    border: 1px solid #f3d178;
    color: #7b5b00;
}

body.page-platform-order-list .erp-status-pill--success {
    background: #dff5e9;
    border: 1px solid #afdcc2;
    color: #196240;
}

body.page-platform-order-list .erp-offer-summary__metrics,
body.page-platform-order-list .erp-offer-summary__grid {
    display: grid;
    gap: 0.85rem;
}

body.page-platform-order-list .erp-offer-summary__metrics {
    grid-template-columns: repeat(4, minmax(8.5rem, 1fr));
    min-width: min(100%, 32rem);
}

body.page-platform-order-list .erp-summary-metric,
body.page-platform-order-list .erp-summary-card {
    background: #ffffff;
    border: 1px solid #f0e3d6;
    border-radius: 1rem;
    box-shadow: 0 12px 28px rgba(136, 82, 35, 0.05);
    padding: 0.95rem 1rem;
}

body.page-platform-order-list .erp-summary-metric span,
body.page-platform-order-list .erp-summary-card__label {
    color: #8a7363;
    display: block;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    margin-bottom: 0.3rem;
    text-transform: uppercase;
}

body.page-platform-order-list .erp-summary-metric strong {
    color: #4c2c15;
    display: block;
    font-size: 1.18rem;
    font-weight: 800;
}

body.page-platform-order-list .erp-offer-summary__grid {
    grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
}

body.page-platform-order-list .erp-summary-card__value {
    color: #5a3a24;
    font-size: 0.95rem;
    font-weight: 700;
}

body.page-platform-order-list .screen-actions {
    margin-bottom: 1rem;
}

body.page-platform-order-list .screen-actions .btn {
    align-items: center;
    background: linear-gradient(180deg, #d45f32 0%, #ba4f26 100%);
    border: 0;
    border-radius: 0.9rem;
    box-shadow: 0 12px 24px rgba(186, 79, 38, 0.18);
    color: #ffffff;
    display: inline-flex;
    font-weight: 700;
    gap: 0.45rem;
    min-height: 2.9rem;
    padding: 0.75rem 1rem;
}

body.page-platform-order-list .screen-actions .btn:hover,
body.page-platform-order-list .screen-actions .btn:focus {
    background: linear-gradient(180deg, #c9582f 0%, #aa4721 100%);
    color: #ffffff;
}

body.page-platform-order-list .table-responsive {
    background: #ffffff;
    border: 1px solid #f0ddd0;
    border-radius: 1rem;
    box-shadow: 0 12px 28px rgba(136, 82, 35, 0.05);
    overflow-x: hidden;
    overflow-y: visible;
}

body.page-platform-order-list .table-responsive > .table {
    margin-bottom: 0;
    min-width: 100%;
    table-layout: auto;
    width: 100% !important;
}

body.page-platform-order-list .table-responsive > .table thead th {
    background: #fffaf6;
    border-bottom-width: 1px;
    color: #846f60;
    font-size: 0.77rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

body.page-platform-order-list .table-responsive > .table tbody tr:hover {
    background: #fffdf9;
}

body.page-platform-order-list .table-responsive > .table a[style*="width:170px"],
body.page-platform-order-list .table-responsive > .table button[style*="width:170px"] {
    align-items: center !important;
    border-radius: 999px !important;
    box-shadow: 0 10px 20px rgba(136, 82, 35, 0.08);
    justify-content: center;
    min-height: 2.1rem;
    padding-left: 0.8rem !important;
    padding-right: 0.8rem !important;
}

body.page-platform-order-list .erp-order-list-link--rfq {
    background: linear-gradient(180deg, #f6c985 0%, #e6a451 100%) !important;
    border: 1px solid #e1a250 !important;
    color: #6a4210 !important;
    text-shadow: none !important;
}

body.page-platform-order-list .erp-order-list-link--company {
    background: linear-gradient(180deg, #fff1c9 0%, #f8de91 100%) !important;
    border: 1px solid #e6bf52 !important;
    color: #6c4e00 !important;
    text-shadow: none !important;
}

body.page-platform-order-list .erp-order-list-link--buyer {
    background: linear-gradient(180deg, #edf6ff 0%, #dceefe 100%) !important;
    border: 1px solid #b8d9fb !important;
    color: #1f5f9f !important;
    text-shadow: none !important;
}

body.page-platform-order-list .erp-order-list-link--offer {
    background: linear-gradient(180deg, #fff0f7 0%, #fde1ee 100%) !important;
    border: 1px solid #f0b2cf !important;
    box-shadow: 0 10px 18px rgba(200, 80, 136, 0.12) !important;
    color: #b83173 !important;
    text-shadow: none !important;
}

body.page-platform-order-list .erp-order-list-link--company:hover,
body.page-platform-order-list .erp-order-list-link--company:focus {
    background: linear-gradient(180deg, #fff4d6 0%, #fce5a6 100%) !important;
    border-color: #e6bf52 !important;
    color: #5f4700 !important;
}

body.page-platform-order-list .erp-order-list-link--buyer:hover,
body.page-platform-order-list .erp-order-list-link--buyer:focus {
    background: linear-gradient(180deg, #f4f9ff 0%, #e7f2ff 100%) !important;
    border-color: #b8d9fb !important;
    color: #174f88 !important;
}

body.page-platform-order-list .erp-order-list-link--offer:hover,
body.page-platform-order-list .erp-order-list-link--offer:focus {
    background: linear-gradient(180deg, #fff4fa 0%, #fee7f2 100%) !important;
    border-color: #f0b2cf !important;
    color: #a82968 !important;
}

body.page-platform-order-list .table-responsive > .table .dropdown .btn {
    border-radius: 0.85rem;
}

body.page-platform-order-list .modal-dialog {
    max-width: min(920px, calc(100vw - 2rem));
}

body.page-platform-order-list .modal-content {
    background: #f8fbfc;
    border: 1px solid #e7dad0;
    border-radius: 1.15rem;
    box-shadow: 0 22px 44px rgba(91, 58, 33, 0.16);
}

body.page-platform-order-list .modal-header {
    background: linear-gradient(180deg, #fffaf6 0%, #fff3ea 100%);
    border-bottom: 1px solid #efdfd2;
}

body.page-platform-order-list .modal-body .row {
    background: #ffffff;
    border: 1px solid #f0e3d6;
    border-radius: 1rem;
    box-shadow: 0 12px 28px rgba(136, 82, 35, 0.05);
    margin-bottom: 0.85rem;
    padding: 0.95rem 1rem 0.15rem;
}

body.page-platform-order-list .modal-body .col-form-label {
    color: #846f60;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

body.page-platform-order-list .modal-body .form-control,
body.page-platform-order-list .modal-body .form-select {
    background: #fffdfb;
    border-color: #e7d9cf;
    border-radius: 0.85rem;
    min-height: 2.85rem;
}

body.page-platform-order-list .modal-body textarea.form-control {
    min-height: 8rem;
}

body.page-platform-pnorder-list .erp-offer-summary {
    background:
        radial-gradient(circle at top right, rgba(215, 120, 42, 0.16), transparent 28%),
        linear-gradient(135deg, #fffaf4 0%, #ffffff 58%, #fff1e2 100%);
    border: 1px solid #f1dfce;
    border-radius: 1.2rem;
    box-shadow: 0 14px 30px rgba(136, 82, 35, 0.08);
    margin: 0 0 1rem;
    padding: 1.25rem;
}

body.page-platform-pnorder-list .erp-offer-summary__hero {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

body.page-platform-pnorder-list .erp-offer-summary__eyebrow {
    color: #8c6846;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin: 0 0 0.35rem;
    text-transform: uppercase;
}

body.page-platform-pnorder-list .erp-offer-summary__title {
    color: #4c2c15;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0;
}

body.page-platform-pnorder-list .erp-offer-summary__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 0.85rem;
}

body.page-platform-pnorder-list .erp-status-pill {
    border-radius: 999px;
    display: inline-flex;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    padding: 0.52rem 0.85rem;
    text-transform: uppercase;
}

body.page-platform-pnorder-list .erp-status-pill--warning {
    background: #fff1cf;
    border: 1px solid #f3d178;
    color: #7b5b00;
}

body.page-platform-pnorder-list .erp-status-pill--success {
    background: #dff5e9;
    border: 1px solid #afdcc2;
    color: #196240;
}

body.page-platform-pnorder-list .erp-offer-summary__metrics,
body.page-platform-pnorder-list .erp-offer-summary__grid {
    display: grid;
    gap: 0.85rem;
}

body.page-platform-pnorder-list .erp-offer-summary__metrics {
    grid-template-columns: repeat(4, minmax(8.5rem, 1fr));
    min-width: min(100%, 32rem);
}

body.page-platform-pnorder-list .erp-summary-metric,
body.page-platform-pnorder-list .erp-summary-card {
    background: #ffffff;
    border: 1px solid #f0e1d1;
    border-radius: 1rem;
    box-shadow: 0 12px 28px rgba(136, 82, 35, 0.05);
    padding: 0.95rem 1rem;
}

body.page-platform-pnorder-list .erp-summary-metric span,
body.page-platform-pnorder-list .erp-summary-card__label {
    color: #8c735d;
    display: block;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    margin-bottom: 0.3rem;
    text-transform: uppercase;
}

body.page-platform-pnorder-list .erp-summary-metric strong {
    color: #4c2c15;
    display: block;
    font-size: 1.18rem;
    font-weight: 800;
}

body.page-platform-pnorder-list .erp-offer-summary__grid {
    grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
}

body.page-platform-pnorder-list .erp-summary-card__value,
body.page-platform-pnorder-list .erp-summary-card__link {
    color: #5a412e;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
}

body.page-platform-pnorder-list .erp-summary-card__link:hover {
    color: #d16b21;
}

body.page-platform-pnorder-list [data-controller="tabs"] .nav-tabs-alt {
    background: #ffffff;
    border: 1px solid #f0e1d1;
    border-radius: 1rem;
    box-shadow: 0 12px 28px rgba(136, 82, 35, 0.05);
    margin-bottom: 1rem;
    padding: 0.65rem;
}

body.page-platform-pnorder-list [data-controller="tabs"] .nav-tabs {
    border-bottom: 0;
    gap: 0.45rem;
}

body.page-platform-pnorder-list [data-controller="tabs"] .nav-tabs .nav-link {
    background: #fff5eb;
    border: 0;
    border-radius: 999px;
    color: #82654f !important;
    font-weight: 700;
    padding: 0.6rem 0.95rem;
}

body.page-platform-pnorder-list [data-controller="tabs"] .nav-tabs .nav-link.active {
    background: #d7782a !important;
    box-shadow: 0 8px 18px rgba(215, 120, 42, 0.22);
    color: #ffffff !important;
    position: relative;
}

body.page-platform-pnorder-list [data-controller="tabs"] .tab-content > .tab-pane {
    background: #ffffff;
    border: 1px solid #f0e1d1;
    border-radius: 1rem;
    box-shadow: 0 12px 28px rgba(136, 82, 35, 0.05);
    padding: 1rem;
}

body.page-platform-pnorder-list fieldset[data-async] > .col {
    padding-left: 0.25rem !important;
    padding-right: 0.25rem !important;
}

body.page-platform-pnorder-list fieldset[data-async] > .col > legend {
    color: #7e532f !important;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin-bottom: 0.6rem;
    text-transform: uppercase;
}

body.page-platform-pnorder-list fieldset[data-async] > .bg-white.rounded.shadow-sm {
    border: 1px solid #f0e1d1;
    border-radius: 1rem !important;
    box-shadow: 0 12px 28px rgba(136, 82, 35, 0.05) !important;
    padding: 1rem 1.1rem !important;
}

body.page-platform-pnorder-list .erp-rfq-quick-action,
body.page-platform-pnorder-list .erp-rfq-edit-action {
    align-items: center;
    border-radius: 0.9rem !important;
    display: inline-flex !important;
    font-weight: 700 !important;
    gap: 0.45rem;
    justify-content: center;
    line-height: 1.2;
    min-height: 2.9rem;
    opacity: 1 !important;
    padding: 0.72rem 1rem !important;
    text-decoration: none !important;
    white-space: nowrap;
}

body.page-platform-pnorder-list .erp-rfq-quick-action {
    background: linear-gradient(180deg, #1aa5ba 0%, #118ca0 100%) !important;
    border: 1px solid #0f91a5 !important;
    box-shadow: 0 10px 22px rgba(17, 140, 160, 0.18);
    color: #ffffff !important;
}

body.page-platform-pnorder-list .erp-rfq-quick-action:hover,
body.page-platform-pnorder-list .erp-rfq-quick-action:focus {
    background: linear-gradient(180deg, #1498ac 0%, #0f8193 100%) !important;
    color: #ffffff !important;
}

body.page-platform-pnorder-list .erp-rfq-edit-action--primary {
    background: linear-gradient(180deg, #d7782a 0%, #c26418 100%) !important;
    border: 1px solid #bb6017 !important;
    box-shadow: 0 10px 22px rgba(215, 120, 42, 0.2);
    color: #ffffff !important;
}

body.page-platform-pnorder-list .erp-rfq-edit-action--primary:hover,
body.page-platform-pnorder-list .erp-rfq-edit-action--primary:focus {
    background: linear-gradient(180deg, #cb6f24 0%, #b75c14 100%) !important;
    color: #ffffff !important;
}

body.page-platform-pnorder-list .erp-rfq-edit-action--secondary {
    background: #fff4e9 !important;
    border: 1px solid #efccaa !important;
    box-shadow: none !important;
    color: #9a5b24 !important;
}

body.page-platform-pnorder-list .erp-rfq-edit-action--secondary:hover,
body.page-platform-pnorder-list .erp-rfq-edit-action--secondary:focus {
    background: #ffecd8 !important;
    border-color: #e4bf98 !important;
    color: #834c1d !important;
}

body.page-platform-pnorder-list .erp-empty-state,
body.page-platform-pnorder-list .erp-note-card {
    border-radius: 1rem;
    padding: 1.15rem 1.25rem;
}

body.page-platform-pnorder-list .erp-empty-state {
    background: #fffaf4;
    border: 1px dashed #e4c7a8;
}

body.page-platform-pnorder-list .erp-empty-state--warning {
    background: #fff8ef;
    border-color: #f2bf6c;
}

body.page-platform-pnorder-list .erp-empty-state__title {
    color: #5f3a1d;
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0 0 0.25rem;
}

body.page-platform-pnorder-list .erp-empty-state__description,
body.page-platform-pnorder-list .erp-note-card__content,
body.page-platform-pnorder-list .erp-note-card__placeholder {
    color: #7b614d;
    margin: 0;
}

body.page-platform-pnorder-list .erp-note-card {
    background: linear-gradient(180deg, #fffdfa 0%, #fff6ed 100%);
    border: 1px solid #f3dfca;
}

body.page-platform-pnorder-list .erp-note-card__label {
    color: #8c735d;
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    margin-bottom: 0.45rem;
    text-transform: uppercase;
}

body.page-platform-pnorder-list .erp-rfq-document-link {
    min-width: 11rem;
}

body.page-platform-pnorder-list [data-controller="table"] {
    background: #ffffff;
    border: 1px solid #f0ddd0;
    border-radius: 1rem;
    box-shadow: 0 12px 28px rgba(136, 82, 35, 0.05);
    margin-bottom: 1rem;
    overflow: hidden;
}

body.page-platform-pnorder-list [data-controller="table"] .table-responsive {
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    overflow-x: auto;
    overflow-y: visible;
}

body.page-platform-pnorder-list [data-controller="table"] footer {
    background: #fffdfa;
    border-top: 1px solid #f3e2d7;
    color: #7b614d;
    margin-top: 0;
}

body.page-platform-pnorder-list [data-controller="table"] footer small,
body.page-platform-pnorder-list [data-controller="table"] footer .btn-link {
    color: #7b614d;
}

body.page-platform-pnorder-list [data-controller="table"] footer .btn-link:hover,
body.page-platform-pnorder-list [data-controller="table"] footer .btn-link:focus {
    color: #5f3a1d;
}

body.page-platform-pnorder-list .table-responsive {
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    overflow-x: auto;
    overflow-y: visible;
}

body.page-platform-pnorder-list .table-responsive > .table {
    margin-bottom: 0;
    min-width: 100%;
    table-layout: auto;
    width: 100% !important;
}

body.page-platform-pnorder-list .table-responsive > .table thead th {
    background: #fffaf6;
    border-bottom-width: 1px;
    color: #846f60;
    font-size: 0.77rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

body.page-platform-pnorder-list .table-responsive > .table tbody tr:hover {
    background: #fffdf9;
}

@media (max-width: 992px) {
    body.page-platform-pnorder-list .erp-offer-summary__hero {
        flex-direction: column;
    }

    body.page-platform-pnorder-list .erp-offer-summary__metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        min-width: 100%;
        width: 100%;
    }
}

body.page-platform-pnlist-list .erp-offer-summary {
    background: linear-gradient(135deg, #fff8fb 0%, #ffffff 58%, #fff1f5 100%);
    border: 1px solid #f1d6df;
    border-radius: 1.2rem;
    box-shadow: 0 14px 30px rgba(129, 59, 87, 0.08);
    margin: 0 0 1rem;
    padding: 1.25rem;
}

body.page-platform-pnlist-list .erp-offer-summary__hero {
    align-items: flex-start;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-bottom: 1rem;
}

body.page-platform-pnlist-list .erp-offer-summary__eyebrow {
    color: #8a5b70;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin: 0 0 0.35rem;
    text-transform: uppercase;
}

body.page-platform-pnlist-list .erp-offer-summary__title {
    color: #42192d;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0;
}

body.page-platform-pnlist-list .erp-offer-summary__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 0.85rem;
}

body.page-platform-pnlist-list .erp-status-pill {
    border-radius: 999px;
    display: inline-flex;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    padding: 0.52rem 0.85rem;
    text-transform: uppercase;
}

body.page-platform-pnlist-list .erp-status-pill--warning {
    background: #fff1cf;
    border: 1px solid #f3d178;
    color: #7b5b00;
}

body.page-platform-pnlist-list .erp-status-pill--success {
    background: #dff5e9;
    border: 1px solid #afdcc2;
    color: #196240;
}

body.page-platform-pnlist-list .erp-offer-summary__metrics,
body.page-platform-pnlist-list .erp-offer-summary__grid {
    display: grid;
    gap: 0.85rem;
}

body.page-platform-pnlist-list .erp-offer-summary__metrics {
    grid-template-columns: repeat(4, minmax(8.5rem, 1fr));
    min-width: min(100%, 32rem);
}

body.page-platform-pnlist-list .erp-summary-metric,
body.page-platform-pnlist-list .erp-summary-card {
    background: #ffffff;
    border: 1px solid #f1dbe4;
    border-radius: 1rem;
    box-shadow: 0 12px 28px rgba(129, 59, 87, 0.05);
    padding: 0.95rem 1rem;
}

body.page-platform-pnlist-list .erp-summary-metric span,
body.page-platform-pnlist-list .erp-summary-card__label {
    color: #836875;
    display: block;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    margin-bottom: 0.3rem;
    text-transform: uppercase;
}

body.page-platform-pnlist-list .erp-summary-metric strong {
    color: #42192d;
    display: block;
    font-size: 1.18rem;
    font-weight: 800;
}

body.page-platform-pnlist-list .erp-offer-summary__grid {
    grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
}

body.page-platform-pnlist-list .erp-summary-card__value {
    color: #54253b;
    font-size: 0.95rem;
    font-weight: 700;
}

body.page-platform-pnlist-list .screen-actions {
    margin-bottom: 1rem;
}

body.page-platform-pnlist-list .screen-actions .btn {
    align-items: center;
    background: linear-gradient(180deg, #dc0067 0%, #bd0058 100%);
    border: 0;
    border-radius: 0.9rem;
    box-shadow: 0 12px 24px rgba(220, 0, 103, 0.18);
    color: #ffffff;
    display: inline-flex;
    font-weight: 700;
    gap: 0.45rem;
    min-height: 2.9rem;
    padding: 0.75rem 1rem;
}

body.page-platform-pnlist-list .screen-actions .btn:hover,
body.page-platform-pnlist-list .screen-actions .btn:focus {
    background: linear-gradient(180deg, #cf0061 0%, #ae004f 100%);
    color: #ffffff;
}

body.page-platform-pnlist-list [data-controller="tabs"] .nav-tabs-alt {
    background: #ffffff;
    border: 1px solid #eee1e7;
    border-radius: 1rem;
    box-shadow: 0 12px 28px rgba(64, 31, 46, 0.05);
    margin-bottom: 1rem;
    padding: 0.65rem;
}

body.page-platform-pnlist-list [data-controller="tabs"] .nav-tabs {
    border-bottom: 0;
    gap: 0.45rem;
}

body.page-platform-pnlist-list [data-controller="tabs"] .nav-tabs .nav-link {
    background: #f8eff3;
    border: 0;
    border-radius: 999px;
    color: #685863 !important;
    font-weight: 700;
    padding: 0.6rem 0.95rem;
}

body.page-platform-pnlist-list [data-controller="tabs"] .nav-tabs .nav-link.active {
    background: #dc0067 !important;
    box-shadow: 0 8px 18px rgba(220, 0, 103, 0.22);
    color: #ffffff !important;
}

body.page-platform-pnlist-list [data-controller="tabs"] .tab-content > .tab-pane {
    background: #ffffff;
    border: 1px solid #eee1e7;
    border-radius: 1rem;
    box-shadow: 0 12px 28px rgba(64, 31, 46, 0.05);
    padding: 1rem;
}

body.page-platform-pnlist-list .table-responsive {
    background: #ffffff;
    border: 1px solid #eee1e7;
    border-radius: 1rem;
    box-shadow: 0 12px 28px rgba(64, 31, 46, 0.05);
    overflow-x: hidden;
    overflow-y: visible;
}

body.page-platform-pnlist-list .table-responsive > .table {
    margin-bottom: 0;
    min-width: 100%;
    table-layout: auto;
    width: 100% !important;
}

body.page-platform-pnlist-list .table-responsive > .table thead th {
    background: #fff8fb;
    border-bottom-width: 1px;
    color: #7b6b73;
    font-size: 0.77rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    white-space: nowrap;
}

body.page-platform-pnlist-list .table-responsive > .table th,
body.page-platform-pnlist-list .table-responsive > .table td {
    padding-left: 0.7rem;
    padding-right: 0.7rem;
    vertical-align: middle;
}

body.page-platform-pnlist-list .table-responsive > .table tbody tr:hover {
    background: #fffdfd;
}

body.page-platform-pnlist-list .table-responsive > .table a[style*="width:170px"],
body.page-platform-pnlist-list .table-responsive > .table a[style*="width:200px"],
body.page-platform-pnlist-list .table-responsive > .table button[style*="width:170px"] {
    align-items: center !important;
    border-radius: 999px !important;
    box-shadow: 0 10px 20px rgba(129, 59, 87, 0.08);
    display: inline-flex !important;
    justify-content: center;
    min-height: 2.1rem;
    min-width: 11rem;
    max-width: max-content;
    padding-left: 0.8rem !important;
    padding-right: 0.8rem !important;
    width: fit-content !important;
}

body.page-platform-pnlist-list .table-responsive > .table .dropdown .btn {
    border-radius: 0.85rem;
}

body.page-platform-pnlist-list .modal-dialog {
    max-width: min(920px, calc(100vw - 2rem));
}

body.page-platform-pnlist-list .modal-content {
    background: #f9f7fa;
    border: 1px solid #ecd9e2;
    border-radius: 1.15rem;
    box-shadow: 0 22px 44px rgba(87, 42, 62, 0.16);
}

body.page-platform-pnlist-list .modal-header {
    background: linear-gradient(180deg, #fffafc 0%, #fff2f7 100%);
    border-bottom: 1px solid #efdee6;
}

body.page-platform-pnlist-list .modal-body .row {
    background: #ffffff;
    border: 1px solid #f1dbe4;
    border-radius: 1rem;
    box-shadow: 0 12px 28px rgba(129, 59, 87, 0.05);
    margin-bottom: 0.85rem;
    padding: 0.95rem 1rem 0.15rem;
}

body.page-platform-pnlist-list .modal-body .col-form-label {
    color: #836875;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

body.page-platform-pnlist-list .modal-body .form-control,
body.page-platform-pnlist-list .modal-body .form-select {
    background: #fffdfd;
    border-color: #ead9e1;
    border-radius: 0.85rem;
    min-height: 2.85rem;
}

body.page-platform-customerorder-list .erp-offer-summary {
    background:
        radial-gradient(circle at top right, rgba(45, 133, 154, 0.14), transparent 28%),
        linear-gradient(135deg, #f8fbfc 0%, #ffffff 58%, #eef8fb 100%);
    border: 1px solid #d9eaef;
    border-radius: 1.2rem;
    box-shadow: 0 14px 30px rgba(26, 79, 95, 0.08);
    margin: 0 0 1rem;
    padding: 1.25rem;
}

body.page-platform-customerorder-list .erp-offer-summary__hero {
    align-items: flex-start;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-bottom: 1rem;
}

body.page-platform-customerorder-list .erp-offer-summary__eyebrow {
    color: #4f7a86;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin: 0 0 0.35rem;
    text-transform: uppercase;
}

body.page-platform-customerorder-list .erp-offer-summary__title {
    color: #21343d;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0;
}

body.page-platform-customerorder-list .erp-offer-summary__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 0.85rem;
}

body.page-platform-customerorder-list .erp-status-pill {
    border-radius: 999px;
    display: inline-flex;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    padding: 0.52rem 0.85rem;
    text-transform: uppercase;
}

body.page-platform-customerorder-list .erp-status-pill--warning {
    background: #fff1cf;
    border: 1px solid #f3d178;
    color: #7b5b00;
}

body.page-platform-customerorder-list .erp-status-pill--success {
    background: #dff5e9;
    border: 1px solid #afdcc2;
    color: #196240;
}

body.page-platform-customerorder-list .erp-offer-summary__metrics,
body.page-platform-customerorder-list .erp-offer-summary__grid {
    display: grid;
    gap: 0.85rem;
}

body.page-platform-customerorder-list .erp-offer-summary__metrics {
    grid-template-columns: repeat(4, minmax(8.5rem, 1fr));
    min-width: min(100%, 32rem);
}

body.page-platform-customerorder-list .erp-summary-metric,
body.page-platform-customerorder-list .erp-summary-card {
    background: #ffffff;
    border: 1px solid #deeaee;
    border-radius: 1rem;
    box-shadow: 0 12px 28px rgba(28, 76, 92, 0.05);
    padding: 0.95rem 1rem;
}

body.page-platform-customerorder-list .erp-summary-metric span,
body.page-platform-customerorder-list .erp-summary-card__label {
    color: #6e848c;
    display: block;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    margin-bottom: 0.3rem;
    text-transform: uppercase;
}

body.page-platform-customerorder-list .erp-summary-metric strong {
    color: #21343d;
    display: block;
    font-size: 1.18rem;
    font-weight: 800;
}

body.page-platform-customerorder-list .erp-offer-summary__grid {
    grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
}

body.page-platform-customerorder-list .erp-summary-card__value {
    color: #2a3e47;
    font-size: 0.95rem;
    font-weight: 700;
}

body.page-platform-customerorder-list .screen-actions {
    margin-bottom: 1rem;
}

body.page-platform-customerorder-list .screen-actions .btn {
    align-items: center;
    background: linear-gradient(180deg, #16a1b7 0%, #10879a 100%);
    border: 0;
    border-radius: 0.9rem;
    box-shadow: 0 12px 24px rgba(16, 135, 154, 0.18);
    color: #ffffff;
    display: inline-flex;
    font-weight: 700;
    gap: 0.45rem;
    min-height: 2.9rem;
    padding: 0.75rem 1rem;
}

body.page-platform-customerorder-list .screen-actions .btn:hover,
body.page-platform-customerorder-list .screen-actions .btn:focus {
    background: linear-gradient(180deg, #1396ab 0%, #0d7d8d 100%);
    color: #ffffff;
}

body.page-platform-customerorder-list .table-responsive {
    background: #ffffff;
    border: 1px solid #dbe8ec;
    border-radius: 1rem;
    box-shadow: 0 12px 28px rgba(28, 76, 92, 0.05);
    overflow-x: hidden;
    overflow-y: visible;
}

body.page-platform-customerorder-list .table-responsive > .table {
    margin-bottom: 0;
    min-width: 100%;
    table-layout: auto;
    width: 100% !important;
}

body.page-platform-customerorder-list .table-responsive > .table thead th {
    background: #f7fbfc;
    border-bottom-width: 1px;
    color: #6e848c;
    font-size: 0.77rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    white-space: nowrap;
}

body.page-platform-customerorder-list .table-responsive > .table th,
body.page-platform-customerorder-list .table-responsive > .table td {
    padding-left: 0.7rem;
    padding-right: 0.7rem;
    vertical-align: middle;
}

body.page-platform-customerorder-list .table-responsive > .table tbody tr:hover {
    background: #fbfdfe;
}

body.page-platform-customerorder-list .table-responsive > .table .btn,
body.page-platform-customerorder-list .table-responsive > .table a.btn,
body.page-platform-customerorder-list .table-responsive > .table .dropdown-item {
    white-space: nowrap;
}

body.page-platform-customerorder-list .table-responsive > .table a[style*="width:170px"],
body.page-platform-customerorder-list .table-responsive > .table a[style*="width:200px"],
body.page-platform-customerorder-list .table-responsive > .table button[style*="width:170px"] {
    align-items: center !important;
    border-radius: 999px !important;
    box-shadow: 0 10px 20px rgba(28, 76, 92, 0.08);
    display: inline-flex !important;
    justify-content: center;
    min-height: 2.1rem;
    min-width: 11rem;
    max-width: max-content;
    padding-left: 0.8rem !important;
    padding-right: 0.8rem !important;
    width: fit-content !important;
}

body.page-platform-customerorder-list .table-responsive > .table .dropdown .btn {
    border-radius: 0.85rem;
}

body.page-platform-customerorder-list .modal-dialog {
    max-width: min(920px, calc(100vw - 2rem));
}

body.page-platform-customerorder-list .modal-content {
    background: #f8fbfc;
    border: 1px solid #deeaee;
    border-radius: 1.15rem;
    box-shadow: 0 22px 44px rgba(28, 76, 92, 0.16);
}

body.page-platform-customerorder-list .modal-header {
    background: linear-gradient(180deg, #fbfdfe 0%, #f3f8fa 100%);
    border-bottom: 1px solid #dfe9ed;
}

body.page-platform-customerorder-list .modal-body .row {
    background: #ffffff;
    border: 1px solid #deeaee;
    border-radius: 1rem;
    box-shadow: 0 12px 28px rgba(28, 76, 92, 0.05);
    margin-bottom: 0.85rem;
    padding: 0.95rem 1rem 0.15rem;
}

body.page-platform-customerorder-list .modal-body .col-form-label {
    color: #6e848c;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

body.page-platform-customerorder-list .modal-body .form-control,
body.page-platform-customerorder-list .modal-body .form-select {
    background: #fffdfd;
    border-color: #d7e5e9;
    border-radius: 0.85rem;
    min-height: 2.85rem;
}

body.page-platform-supplierorder-list .erp-offer-summary {
    background:
        radial-gradient(circle at top right, rgba(88, 56, 176, 0.16), transparent 28%),
        linear-gradient(135deg, #faf8ff 0%, #ffffff 58%, #f2eeff 100%);
    border: 1px solid #e4dcf5;
    border-radius: 1.2rem;
    box-shadow: 0 14px 30px rgba(73, 42, 160, 0.08);
    margin: 0 0 1rem;
    padding: 1.25rem;
}

body.page-platform-supplierorder-list .erp-offer-summary__hero {
    align-items: flex-start;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-bottom: 1rem;
}

body.page-platform-supplierorder-list .erp-offer-summary__eyebrow {
    color: #6d59a4;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin: 0 0 0.35rem;
    text-transform: uppercase;
}

body.page-platform-supplierorder-list .erp-offer-summary__title {
    color: #33235f;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0;
}

body.page-platform-supplierorder-list .erp-offer-summary__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 0.85rem;
}

body.page-platform-supplierorder-list .erp-status-pill {
    border-radius: 999px;
    display: inline-flex;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    padding: 0.52rem 0.85rem;
    text-transform: uppercase;
}

body.page-platform-supplierorder-list .erp-status-pill--warning {
    background: #fff1cf;
    border: 1px solid #f3d178;
    color: #7b5b00;
}

body.page-platform-supplierorder-list .erp-status-pill--success {
    background: #dff5e9;
    border: 1px solid #afdcc2;
    color: #196240;
}

body.page-platform-supplierorder-list .erp-offer-summary__metrics,
body.page-platform-supplierorder-list .erp-offer-summary__grid {
    display: grid;
    gap: 0.85rem;
}

body.page-platform-supplierorder-list .erp-offer-summary__metrics {
    grid-template-columns: repeat(4, minmax(8.5rem, 1fr));
    min-width: min(100%, 32rem);
}

body.page-platform-supplierorder-list .erp-summary-metric,
body.page-platform-supplierorder-list .erp-summary-card {
    background: #ffffff;
    border: 1px solid #e7e0f5;
    border-radius: 1rem;
    box-shadow: 0 12px 28px rgba(73, 42, 160, 0.05);
    padding: 0.95rem 1rem;
}

body.page-platform-supplierorder-list .erp-summary-metric span,
body.page-platform-supplierorder-list .erp-summary-card__label {
    color: #7c709f;
    display: block;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    margin-bottom: 0.3rem;
    text-transform: uppercase;
}

body.page-platform-supplierorder-list .erp-summary-metric strong {
    color: #33235f;
    display: block;
    font-size: 1.18rem;
    font-weight: 800;
}

body.page-platform-supplierorder-list .erp-offer-summary__grid {
    grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
}

body.page-platform-supplierorder-list .erp-summary-card__value {
    color: #493c72;
    font-size: 0.95rem;
    font-weight: 700;
}

body.page-platform-supplierorder-list .screen-actions {
    margin-bottom: 1rem;
}

body.page-platform-supplierorder-list .screen-actions .btn {
    align-items: center;
    background: linear-gradient(180deg, #5a38bf 0%, #492aa0 100%);
    border: 0;
    border-radius: 0.9rem;
    box-shadow: 0 12px 24px rgba(73, 42, 160, 0.18);
    color: #ffffff;
    display: inline-flex;
    font-weight: 700;
    gap: 0.45rem;
    min-height: 2.9rem;
    padding: 0.75rem 1rem;
}

body.page-platform-supplierorder-list .screen-actions .btn:hover,
body.page-platform-supplierorder-list .screen-actions .btn:focus {
    background: linear-gradient(180deg, #522fb7 0%, #3f238f 100%);
    color: #ffffff;
}

body.page-platform-supplierorder-list .layout-rows {
    background: #ffffff;
    border: 1px solid #e4dcf5;
    border-radius: 1rem;
    box-shadow: 0 12px 28px rgba(73, 42, 160, 0.05);
    margin-bottom: 1rem;
    padding: 1rem 1rem 0.2rem;
}

body.page-platform-supplierorder-list .layout-rows .input-group {
    align-items: flex-end;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

body.page-platform-supplierorder-list .layout-rows .form-control {
    background: #faf8ff;
    border-color: #ddd2f2;
    border-radius: 0.85rem;
    min-height: 2.85rem;
}

body.page-platform-supplierorder-list .layout-rows .btn-info {
    background: linear-gradient(180deg, #16a1b7 0%, #10879a 100%);
    border: 0;
    border-radius: 0.85rem;
    box-shadow: 0 10px 22px rgba(16, 135, 154, 0.16);
    color: #ffffff;
    font-weight: 700;
    min-height: 2.85rem;
    padding: 0.7rem 1rem;
}

body.page-platform-supplierorder-list .table-responsive,
body.page-platform-testsupplierorder-list .table-responsive {
    background: #ffffff;
    border: 1px solid #e4dcf5;
    border-radius: 1rem;
    box-shadow: 0 12px 28px rgba(73, 42, 160, 0.05);
    overflow-x: auto;
    overflow-y: visible;
}

body.page-platform-supplierorder-list .table-responsive > .table,
body.page-platform-testsupplierorder-list .table-responsive > .table {
    margin-bottom: 0;
    min-width: 100%;
    table-layout: auto;
    width: 100% !important;
}

body.page-platform-supplierorder-list .table-responsive > .table thead th,
body.page-platform-testsupplierorder-list .table-responsive > .table thead th {
    background: #faf8ff;
    border-bottom-width: 1px;
    color: #7c709f;
    font-size: 0.77rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    white-space: nowrap;
}

body.page-platform-supplierorder-list .table-responsive > .table th,
body.page-platform-supplierorder-list .table-responsive > .table td,
body.page-platform-testsupplierorder-list .table-responsive > .table th,
body.page-platform-testsupplierorder-list .table-responsive > .table td {
    padding-left: 0.7rem;
    padding-right: 0.7rem;
    vertical-align: middle;
}

body.page-platform-supplierorder-list .table-responsive > .table tbody tr:hover,
body.page-platform-testsupplierorder-list .table-responsive > .table tbody tr:hover {
    background: #fcfbff;
}

body.page-platform-supplierorder-list .table-responsive > .table .btn,
body.page-platform-supplierorder-list .table-responsive > .table a.btn,
body.page-platform-supplierorder-list .table-responsive > .table .dropdown-item,
body.page-platform-testsupplierorder-list .table-responsive > .table .btn,
body.page-platform-testsupplierorder-list .table-responsive > .table a.btn,
body.page-platform-testsupplierorder-list .table-responsive > .table .dropdown-item {
    white-space: nowrap;
}

body.page-platform-supplierorder-list .table-responsive > .table a[style*="width:170px"],
body.page-platform-supplierorder-list .table-responsive > .table a[style*="width:200px"],
body.page-platform-supplierorder-list .table-responsive > .table button[style*="width:170px"],
body.page-platform-supplierorder-list .table-responsive > .table button[style*="width:200px"],
body.page-platform-testsupplierorder-list .table-responsive > .table a[style*="width:170px"],
body.page-platform-testsupplierorder-list .table-responsive > .table a[style*="width:200px"],
body.page-platform-testsupplierorder-list .table-responsive > .table button[style*="width:170px"],
body.page-platform-testsupplierorder-list .table-responsive > .table button[style*="width:200px"] {
    align-items: center !important;
    border-radius: 999px !important;
    box-shadow: 0 10px 20px rgba(73, 42, 160, 0.08);
    display: inline-flex !important;
    justify-content: center;
    min-height: 2.1rem;
    min-width: 11rem;
    max-width: max-content;
    padding-left: 0.8rem !important;
    padding-right: 0.8rem !important;
    width: fit-content !important;
}

body.page-platform-supplierorder-list .table-responsive > .table .dropdown .btn {
    border-radius: 0.85rem;
}

body.page-platform-supplierorder-list .modal-dialog {
    max-width: min(980px, calc(100vw - 2rem));
}

body.page-platform-supplierorder-list .modal-content {
    background: #faf8ff;
    border: 1px solid #e4dcf5;
    border-radius: 1.15rem;
    box-shadow: 0 22px 44px rgba(73, 42, 160, 0.16);
}

body.page-platform-supplierorder-list .modal-header {
    background: linear-gradient(180deg, #fcfbff 0%, #f4f0ff 100%);
    border-bottom: 1px solid #e7e1f3;
}

body.page-platform-supplierorder-list .modal-body .row {
    background: #ffffff;
    border: 1px solid #e7e0f5;
    border-radius: 1rem;
    box-shadow: 0 12px 28px rgba(73, 42, 160, 0.05);
    margin-bottom: 0.85rem;
    padding: 0.95rem 1rem 0.15rem;
}

body.page-platform-supplierorder-list .modal-body .col-form-label {
    color: #7c709f;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

body.page-platform-supplierorder-list .modal-body .form-control,
body.page-platform-supplierorder-list .modal-body .form-select {
    background: #fffdfd;
    border-color: #ddd2f2;
    border-radius: 0.85rem;
    min-height: 2.85rem;
}

body.page-platform-testsupplierorder-list .erp-offer-summary {
    background:
        radial-gradient(circle at top right, rgba(123, 89, 230, 0.16), transparent 28%),
        linear-gradient(135deg, #fbf9ff 0%, #ffffff 58%, #f3efff 100%);
    border: 1px solid #e7def9;
    border-radius: 1.2rem;
    box-shadow: 0 14px 30px rgba(123, 89, 230, 0.08);
    margin: 0 0 1rem;
    padding: 1.25rem;
}

body.page-platform-testsupplierorder-list .erp-offer-summary__hero {
    align-items: flex-start;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-bottom: 1rem;
}

body.page-platform-testsupplierorder-list .erp-offer-summary__eyebrow {
    color: #7458b5;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin: 0 0 0.35rem;
    text-transform: uppercase;
}

body.page-platform-testsupplierorder-list .erp-offer-summary__title {
    color: #3c2b84;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0;
}

body.page-platform-testsupplierorder-list .erp-offer-summary__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 0.85rem;
}

body.page-platform-testsupplierorder-list .erp-status-pill {
    border-radius: 999px;
    display: inline-flex;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    padding: 0.52rem 0.85rem;
    text-transform: uppercase;
}

body.page-platform-testsupplierorder-list .erp-status-pill--warning {
    background: #fff1cf;
    border: 1px solid #f3d178;
    color: #7b5b00;
}

body.page-platform-testsupplierorder-list .erp-status-pill--success {
    background: #dff5e9;
    border: 1px solid #afdcc2;
    color: #196240;
}

body.page-platform-testsupplierorder-list .erp-offer-summary__metrics,
body.page-platform-testsupplierorder-list .erp-offer-summary__grid {
    display: grid;
    gap: 0.85rem;
}

body.page-platform-testsupplierorder-list .erp-offer-summary__metrics {
    grid-template-columns: repeat(4, minmax(8.5rem, 1fr));
    min-width: min(100%, 32rem);
}

body.page-platform-testsupplierorder-list .erp-summary-metric,
body.page-platform-testsupplierorder-list .erp-summary-card {
    background: #ffffff;
    border: 1px solid #e7def9;
    border-radius: 1rem;
    box-shadow: 0 12px 28px rgba(123, 89, 230, 0.05);
    padding: 0.95rem 1rem;
}

body.page-platform-testsupplierorder-list .erp-summary-metric span,
body.page-platform-testsupplierorder-list .erp-summary-card__label {
    color: #8070aa;
    display: block;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    margin-bottom: 0.3rem;
    text-transform: uppercase;
}

body.page-platform-testsupplierorder-list .erp-summary-metric strong {
    color: #3c2b84;
    display: block;
    font-size: 1.18rem;
    font-weight: 800;
}

body.page-platform-testsupplierorder-list .erp-offer-summary__grid {
    grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
}

body.page-platform-testsupplierorder-list .erp-summary-card__value {
    color: #514584;
    font-size: 0.95rem;
    font-weight: 700;
}

body.page-platform-testsupplierorder-list .screen-actions {
    margin-bottom: 1rem;
}

body.page-platform-testsupplierorder-list .screen-actions .btn {
    align-items: center;
    background: linear-gradient(180deg, #7b59e6 0%, #6648c9 100%);
    border: 0;
    border-radius: 0.9rem;
    box-shadow: 0 12px 24px rgba(123, 89, 230, 0.18);
    color: #ffffff;
    display: inline-flex;
    font-weight: 700;
    gap: 0.45rem;
    min-height: 2.9rem;
    padding: 0.75rem 1rem;
}

body.page-platform-testsupplierorder-list .screen-actions .btn:hover,
body.page-platform-testsupplierorder-list .screen-actions .btn:focus {
    background: linear-gradient(180deg, #6f4fda 0%, #5c40bf 100%);
    color: #ffffff;
}

body.page-platform-testsupplierorder-list .layout-rows {
    background: #ffffff;
    border: 1px solid #e7def9;
    border-radius: 1rem;
    box-shadow: 0 12px 28px rgba(123, 89, 230, 0.05);
    margin-bottom: 1rem;
    padding: 1rem 1rem 0.2rem;
}

body.page-platform-testsupplierorder-list .layout-rows .input-group {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

body.page-platform-testsupplierorder-list .layout-rows .form-control {
    background: #fbf9ff;
    border-color: #e0d6f7;
    border-radius: 0.85rem;
    min-height: 2.85rem;
}

body.page-platform-testsupplierorder-list .layout-rows .btn-info {
    background: linear-gradient(180deg, #16a1b7 0%, #10879a 100%);
    border: 0;
    border-radius: 0.85rem;
    box-shadow: 0 10px 22px rgba(16, 135, 154, 0.16);
    color: #ffffff;
    font-weight: 700;
    min-height: 2.85rem;
    padding: 0.7rem 1rem;
}

/* Command-bar Refresh buttons on TSO list + matrix — same teal as the
   inline action buttons; the default Orchid .btn-info in the command
   bar nav rendered white-on-white and was unreadable. Slim profile
   to match the surrounding ModalToggle/Link action buttons. */
body.page-platform-testsupplierorder-list .command-bar .btn-info,
body.page-platform-pnprofiletestsupplierorder-list .command-bar .btn-info {
    background: linear-gradient(180deg, #16a1b7 0%, #10879a 100%);
    border: 0;
    border-radius: 0.6rem;
    box-shadow: 0 4px 10px rgba(16, 135, 154, 0.18);
    color: #ffffff;
    font-weight: 700;
    padding: 0.45rem 0.85rem;
}
body.page-platform-testsupplierorder-list .command-bar .btn-info:hover,
body.page-platform-pnprofiletestsupplierorder-list .command-bar .btn-info:hover {
    background: linear-gradient(180deg, #128ca0 0%, #0e7488 100%);
    color: #ffffff;
}

body.page-platform-testsupplierorder-list .table-responsive {
    background: #ffffff;
    border: 1px solid #e7def9;
    border-radius: 1rem;
    box-shadow: 0 12px 28px rgba(123, 89, 230, 0.05);
    overflow-x: hidden;
    overflow-y: visible;
}

body.page-platform-testsupplierorder-list .table-responsive > .table {
    margin-bottom: 0;
    min-width: 100%;
    table-layout: auto;
    width: 100% !important;
}

body.page-platform-testsupplierorder-list .table-responsive > .table thead th {
    background: #fbf9ff;
    border-bottom-width: 1px;
    color: #8070aa;
    font-size: 0.77rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    white-space: nowrap;
}

body.page-platform-testsupplierorder-list .table-responsive > .table th,
body.page-platform-testsupplierorder-list .table-responsive > .table td {
    padding-left: 0.7rem;
    padding-right: 0.7rem;
    vertical-align: middle;
}

body.page-platform-testsupplierorder-list .table-responsive > .table tbody tr:hover {
    background: #fcfbff;
}

body.page-platform-testsupplierorder-list .table-responsive > .table .btn,
body.page-platform-testsupplierorder-list .table-responsive > .table a.btn,
body.page-platform-testsupplierorder-list .table-responsive > .table .dropdown-item {
    white-space: nowrap;
}

body.page-platform-testsupplierorder-list .table-responsive > .table a[style*="width:170px"],
body.page-platform-testsupplierorder-list .table-responsive > .table a[style*="width:200px"],
body.page-platform-testsupplierorder-list .table-responsive > .table button[style*="width:170px"],
body.page-platform-testsupplierorder-list .table-responsive > .table button[style*="width:200px"] {
    align-items: center !important;
    border-radius: 999px !important;
    box-shadow: 0 10px 20px rgba(123, 89, 230, 0.08);
    display: inline-flex !important;
    justify-content: center;
    min-height: 2.1rem;
    min-width: 11rem;
    max-width: max-content;
    padding-left: 0.8rem !important;
    padding-right: 0.8rem !important;
    width: fit-content !important;
}

body.page-platform-testsupplierorder-list .table-responsive > .table .dropdown .btn {
    border-radius: 0.85rem;
}

body.page-platform-testsupplierorder-list .modal-dialog {
    max-width: min(980px, calc(100vw - 2rem));
}

body.page-platform-testsupplierorder-list .modal-content {
    background: #fbf9ff;
    border: 1px solid #e7def9;
    border-radius: 1.15rem;
    box-shadow: 0 22px 44px rgba(123, 89, 230, 0.16);
}

body.page-platform-testsupplierorder-list .modal-header {
    background: linear-gradient(180deg, #fcfbff 0%, #f4f0ff 100%);
    border-bottom: 1px solid #e7e1f3;
}

body.page-platform-testsupplierorder-list .modal-body .row {
    background: #ffffff;
    border: 1px solid #e7def9;
    border-radius: 1rem;
    box-shadow: 0 12px 28px rgba(123, 89, 230, 0.05);
    margin-bottom: 0.85rem;
    padding: 0.95rem 1rem 0.15rem;
}

body.page-platform-testsupplierorder-list .modal-body .col-form-label {
    color: #8070aa;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

body.page-platform-testsupplierorder-list .modal-body .form-control,
body.page-platform-testsupplierorder-list .modal-body .form-select {
    background: #fffdfd;
    border-color: #e0d6f7;
    border-radius: 0.85rem;
    min-height: 2.85rem;
}

body.page-platform-order-list [data-controller="table"] {
    --erp-table-shell-border: #f0ddd0;
    --erp-table-shell-shadow: rgba(136, 82, 35, 0.05);
    --erp-table-shell-footer: #fffdfa;
    --erp-table-shell-footer-border: #f3e2d7;
    --erp-table-shell-text: #7b614d;
}

body.page-platform-pnlist-list [data-controller="table"] {
    --erp-table-shell-border: #eee1e7;
    --erp-table-shell-shadow: rgba(64, 31, 46, 0.05);
    --erp-table-shell-footer: #fffafc;
    --erp-table-shell-footer-border: #efdee6;
    --erp-table-shell-text: #6d5a63;
}

body.page-platform-customerorder-list [data-controller="table"] {
    --erp-table-shell-border: #dbe8ec;
    --erp-table-shell-shadow: rgba(28, 76, 92, 0.05);
    --erp-table-shell-footer: #fbfdfe;
    --erp-table-shell-footer-border: #dfe9ed;
    --erp-table-shell-text: #637980;
}

body.page-platform-supplierorder-list [data-controller="table"] {
    --erp-table-shell-border: #e4dcf5;
    --erp-table-shell-shadow: rgba(73, 42, 160, 0.05);
    --erp-table-shell-footer: #fcfbff;
    --erp-table-shell-footer-border: #e7e1f3;
    --erp-table-shell-text: #6f6391;
}

body.page-platform-testsupplierorder-list [data-controller="table"] {
    --erp-table-shell-border: #e7def9;
    --erp-table-shell-shadow: rgba(123, 89, 230, 0.05);
    --erp-table-shell-footer: #fcfbff;
    --erp-table-shell-footer-border: #e7e1f3;
    --erp-table-shell-text: #75679d;
}

body.page-platform-order-list [data-controller="table"],
body.page-platform-pnlist-list [data-controller="table"],
body.page-platform-customerorder-list [data-controller="table"],
body.page-platform-supplierorder-list [data-controller="table"],
body.page-platform-testsupplierorder-list [data-controller="table"] {
    background: #ffffff;
    border: 1px solid var(--erp-table-shell-border);
    border-radius: 1rem;
    box-shadow: 0 12px 28px var(--erp-table-shell-shadow);
    margin-bottom: 1rem;
    overflow: hidden;
}

body.page-platform-order-list [data-controller="table"] .table-responsive,
body.page-platform-pnlist-list [data-controller="table"] .table-responsive,
body.page-platform-customerorder-list [data-controller="table"] .table-responsive,
body.page-platform-supplierorder-list [data-controller="table"] .table-responsive,
body.page-platform-testsupplierorder-list [data-controller="table"] .table-responsive {
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    overflow-x: auto;
    overflow-y: visible;
}

body.page-platform-order-list [data-controller="table"] footer,
body.page-platform-pnlist-list [data-controller="table"] footer,
body.page-platform-customerorder-list [data-controller="table"] footer,
body.page-platform-supplierorder-list [data-controller="table"] footer,
body.page-platform-testsupplierorder-list [data-controller="table"] footer {
    background: var(--erp-table-shell-footer);
    border-top: 1px solid var(--erp-table-shell-footer-border);
    color: var(--erp-table-shell-text);
    margin-top: 0;
}

body.page-platform-order-list [data-controller="table"] footer small,
body.page-platform-order-list [data-controller="table"] footer .btn-link,
body.page-platform-pnlist-list [data-controller="table"] footer small,
body.page-platform-pnlist-list [data-controller="table"] footer .btn-link,
body.page-platform-customerorder-list [data-controller="table"] footer small,
body.page-platform-customerorder-list [data-controller="table"] footer .btn-link,
body.page-platform-supplierorder-list [data-controller="table"] footer small,
body.page-platform-supplierorder-list [data-controller="table"] footer .btn-link,
body.page-platform-testsupplierorder-list [data-controller="table"] footer small,
body.page-platform-testsupplierorder-list [data-controller="table"] footer .btn-link {
    color: var(--erp-table-shell-text);
}

body.page-platform-order-list [data-controller="table"] footer .btn-link:hover,
body.page-platform-order-list [data-controller="table"] footer .btn-link:focus,
body.page-platform-pnlist-list [data-controller="table"] footer .btn-link:hover,
body.page-platform-pnlist-list [data-controller="table"] footer .btn-link:focus,
body.page-platform-customerorder-list [data-controller="table"] footer .btn-link:hover,
body.page-platform-customerorder-list [data-controller="table"] footer .btn-link:focus,
body.page-platform-supplierorder-list [data-controller="table"] footer .btn-link:hover,
body.page-platform-supplierorder-list [data-controller="table"] footer .btn-link:focus,
body.page-platform-testsupplierorder-list [data-controller="table"] footer .btn-link:hover,
body.page-platform-testsupplierorder-list [data-controller="table"] footer .btn-link:focus {
    color: var(--erp-table-shell-text);
}

body[class*="page-platform-"] [data-controller="table"] {
    overflow: visible;
}

body[class*="page-platform-"] [data-controller="table"] > footer {
    position: relative;
    z-index: 6;
}

body[class*="page-platform-"] [data-controller="table"] > footer .btn-group.dropup {
    position: relative;
}

body[class*="page-platform-"] [data-controller="table"] > footer .dropdown-column-menu {
    border-radius: 0.9rem;
    box-shadow: 0 18px 34px rgba(15, 23, 42, 0.14);
    max-height: min(60vh, 24rem);
    min-width: 14rem;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-bottom: 0.35rem;
    padding-top: 0.35rem;
    z-index: 1085;
}

body[class*="page-platform-"] [data-controller="table"] > footer .dropdown-column-menu .dropdown-item {
    white-space: normal;
}

body[class*="page-platform-"] [data-controller="table"] > footer .dropdown-column-menu .form-check {
    min-width: 0;
}

body[class*="page-platform-"] [data-controller="table"] > footer .dropdown-column-menu .form-check-label {
    line-height: 1.3;
}

body.page-platform-profile {
    --erp-top-actions-shell-start: #f3fbfa;
    --erp-top-actions-shell-mid: #fbfefd;
    --erp-top-actions-shell-end: #edf7f5;
    --erp-top-actions-shell-border: #d8ece8;
    --erp-top-actions-shell-shadow: rgba(20, 69, 74, 0.08);
    --erp-top-actions-shell-glow: rgba(37, 146, 134, 0.12);
    --erp-primary-pill-start: #238a82;
    --erp-primary-pill-end: #17686f;
}

body.page-platform-profile .container-md {
    margin: 0 auto;
    max-width: 86rem !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    width: 100%;
}

body.page-platform-profile .erp-profile-summary {
    background:
        radial-gradient(circle at top right, var(--erp-top-actions-shell-glow), transparent 28%),
        linear-gradient(
            135deg,
            var(--erp-top-actions-shell-start) 0%,
            var(--erp-top-actions-shell-mid) 58%,
            var(--erp-top-actions-shell-end) 100%
        );
    border: 1px solid var(--erp-top-actions-shell-border);
    border-radius: 1.25rem;
    box-shadow: 0 16px 34px var(--erp-top-actions-shell-shadow);
    margin: 0 0 1rem;
    padding: 1.35rem;
}

body.page-platform-profile .erp-profile-summary__hero {
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(0, 1.25fr) minmax(18rem, 0.95fr);
    margin-bottom: 1rem;
}

body.page-platform-profile .erp-profile-summary__identity {
    align-items: flex-start;
    display: flex;
    gap: 1rem;
    min-width: 0;
}

body.page-platform-profile .erp-profile-summary__avatar {
    align-items: center;
    background: linear-gradient(145deg, #143940 0%, #17686f 50%, #2aa79b 100%);
    border: 1px solid rgba(19, 78, 83, 0.2);
    border-radius: 1.15rem;
    box-shadow: 0 16px 28px rgba(23, 104, 111, 0.18);
    color: #ffffff;
    display: inline-flex;
    flex: 0 0 4.65rem;
    font-size: 1.45rem;
    font-weight: 800;
    height: 4.65rem;
    justify-content: center;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

body.page-platform-profile .erp-profile-summary__eyebrow {
    color: #5e7d82;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin: 0 0 0.3rem;
    text-transform: uppercase;
}

body.page-platform-profile .erp-profile-summary__title {
    color: #203d45;
    font-size: 1.95rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.05;
    margin: 0;
}

body.page-platform-profile .erp-profile-summary__description {
    color: #567077;
    font-size: 0.96rem;
    line-height: 1.55;
    margin: 0.5rem 0 0;
    max-width: 42rem;
}

body.page-platform-profile .erp-profile-summary__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 0.85rem;
}

body.page-platform-profile .erp-status-pill {
    align-items: center;
    border-radius: 999px;
    display: inline-flex;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    min-height: 1.95rem;
    padding: 0.38rem 0.78rem;
    text-transform: uppercase;
}

body.page-platform-profile .erp-status-pill--success {
    background: #daf4e8;
    color: #166546;
}

body.page-platform-profile .erp-status-pill--warning {
    background: #fff0cf;
    color: #8a5900;
}

body.page-platform-profile .erp-status-pill--neutral {
    background: #e7f1ef;
    color: #3d6066;
}

body.page-platform-profile .erp-profile-summary__metrics,
body.page-platform-profile .erp-profile-summary__grid {
    display: grid;
    gap: 0.85rem;
}

body.page-platform-profile .erp-profile-summary__metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.page-platform-profile .erp-profile-summary__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.page-platform-profile .erp-summary-metric,
body.page-platform-profile .erp-summary-card {
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid #dcebe8;
    border-radius: 1rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
    padding: 0.95rem 1rem;
}

body.page-platform-profile .erp-summary-metric span,
body.page-platform-profile .erp-summary-card__label {
    color: #6b8085;
    display: block;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    margin-bottom: 0.32rem;
    text-transform: uppercase;
}

body.page-platform-profile .erp-summary-metric strong,
body.page-platform-profile .erp-summary-card__value {
    color: #224149;
    display: block;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.45;
}

body.page-platform-profile fieldset.row.g-0.mb-3 {
    align-items: stretch;
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(17rem, 20rem) minmax(0, 1fr);
    margin: 0 0 1rem !important;
}

body.page-platform-profile fieldset.row.g-0.mb-3 > .col.p-0.px-3 {
    background:
        radial-gradient(circle at top right, rgba(37, 146, 134, 0.08), transparent 32%),
        linear-gradient(180deg, #f7fcfb 0%, #eef7f6 100%);
    border: 1px solid #dcebe8;
    border-radius: 1.2rem;
    box-shadow: 0 14px 28px rgba(20, 69, 74, 0.06);
    padding: 1.2rem 1.25rem !important;
}

body.page-platform-profile fieldset.row.g-0.mb-3 > .col.p-0.px-3 > legend {
    color: #23424a !important;
    display: block;
    font-size: 1.12rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin: 0;
    padding: 0 !important;
    width: 100%;
}

body.page-platform-profile fieldset.row.g-0.mb-3 > .col.p-0.px-3 > legend p {
    color: #617d83 !important;
    font-size: 0.94rem;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1.55;
    margin: 0.7rem 0 0 !important;
    text-transform: none;
}

body.page-platform-profile fieldset.row.g-0.mb-3 > .col-12 {
    background: #ffffff;
    border: 1px solid #dce9e7;
    border-radius: 1.2rem;
    box-shadow: 0 18px 34px rgba(20, 69, 74, 0.08) !important;
    overflow: visible;
}

body.page-platform-profile fieldset.row.g-0.mb-3 > .col-12.shadow-sm {
    box-shadow: 0 18px 34px rgba(20, 69, 74, 0.08) !important;
}

body.page-platform-profile fieldset.row.g-0.mb-3 > .col-12 .layout-wrapper {
    background: transparent;
}

body.page-platform-profile fieldset[data-async] {
    margin-bottom: 0 !important;
}

body.page-platform-profile fieldset[data-async] > .bg-white.rounded.shadow-sm {
    background: transparent !important;
    border: 0;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 1.35rem 1.45rem 0.9rem !important;
}

body.page-platform-profile .form-group.row.row-cols-sm-2,
body.page-platform-profile .input-group,
body.page-platform-profile .input-icon {
    margin-bottom: 0.85rem;
    max-width: 100% !important;
    width: 100%;
}

body.page-platform-profile .form-group.row.row-cols-sm-2 {
    align-items: flex-start;
}

body.page-platform-profile .form-group.row.row-cols-sm-2 > label.form-label {
    color: #657f85;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    margin: 0.8rem 0 0;
    max-width: 11.5rem;
    text-transform: uppercase;
}

body.page-platform-profile .form-group.row.row-cols-sm-2 > .col {
    flex: 1 1 0%;
    min-width: 0;
}

body.page-platform-profile .form-control,
body.page-platform-profile .form-select,
body.page-platform-profile [data-controller="relation"] .ts-control,
body.page-platform-profile [data-controller="select"] .ts-control {
    background: #fbfefe;
    border: 1px solid #d7e6e4;
    border-radius: 0.95rem;
    box-shadow: none !important;
    color: #27434a;
    min-height: 3rem;
}

body.page-platform-profile textarea.form-control {
    min-height: 7rem;
}

body.page-platform-profile .form-control::placeholder,
body.page-platform-profile .form-select::placeholder {
    color: #93a6ab;
}

body.page-platform-profile .form-control:focus,
body.page-platform-profile .form-select:focus,
body.page-platform-profile [data-controller="relation"] .ts-control.focus,
body.page-platform-profile [data-controller="select"] .ts-control.focus {
    border-color: #248d96;
    box-shadow: 0 0 0 0.2rem rgba(36, 141, 150, 0.14) !important;
}

body.page-platform-profile [data-controller="relation"] .ts-wrapper,
body.page-platform-profile [data-controller="select"] .ts-wrapper {
    width: 100%;
}

body.page-platform-profile [data-controller="relation"] .ts-dropdown,
body.page-platform-profile [data-controller="select"] .ts-dropdown {
    border: 1px solid #d7e6e4;
    border-radius: 1rem;
    box-shadow: 0 18px 34px rgba(20, 69, 74, 0.12);
    overflow: hidden;
}

body.page-platform-profile [data-controller="relation"] .ts-dropdown .active,
body.page-platform-profile [data-controller="select"] .ts-dropdown .active {
    background: #eef7f6;
    color: #20454c;
}

body.page-platform-profile [data-controller="relation"] .ts-wrapper.multi .ts-control > div,
body.page-platform-profile [data-controller="select"] .ts-wrapper.multi .ts-control > div {
    background: #eef7f6;
    border: 1px solid #d7e6e4;
    border-radius: 999px;
    color: #245960;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.24rem 0.5rem;
}

body.page-platform-profile input[disabled].form-control,
body.page-platform-profile input[readonly].form-control {
    background: linear-gradient(180deg, #f3f8f8 0%, #edf3f3 100%);
    border-color: #d8e4e2;
    color: #4a6066;
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
    font-size: 0.88rem;
    opacity: 1;
}

body.page-platform-profile .invalid-feedback,
body.page-platform-profile .form-text {
    color: #698287;
    line-height: 1.45;
    margin-top: 0.45rem;
}

body.page-platform-profile .erp-profile-inline-action,
body.page-platform-profile .erp-profile-block-action {
    align-items: center;
    border-radius: 0.95rem !important;
    display: inline-flex;
    font-weight: 800 !important;
    gap: 0.45rem;
    justify-content: center;
    min-height: 3rem;
    padding: 0.72rem 1.05rem !important;
    text-decoration: none !important;
}

body.page-platform-profile .erp-profile-inline-action *,
body.page-platform-profile .erp-profile-inline-action .icon,
body.page-platform-profile .erp-profile-block-action *,
body.page-platform-profile .erp-profile-block-action .icon {
    color: inherit !important;
}

body.page-platform-profile .erp-profile-inline-action {
    background: linear-gradient(180deg, #1f3d43 0%, #162e34 100%) !important;
    border: 1px solid #19353b !important;
    box-shadow: 0 12px 24px rgba(22, 46, 52, 0.18);
    color: #ffffff !important;
}

body.page-platform-profile .erp-profile-inline-action:hover,
body.page-platform-profile .erp-profile-inline-action:focus {
    background: linear-gradient(180deg, #24464d 0%, #1a353c 100%) !important;
    color: #ffffff !important;
}

body.page-platform-profile .erp-profile-block-action--primary {
    background: linear-gradient(180deg, #238a82 0%, #17686f 100%) !important;
    border: 1px solid #1a7175 !important;
    box-shadow: 0 12px 24px rgba(23, 104, 111, 0.2);
    color: #ffffff !important;
}

body.page-platform-profile .erp-profile-block-action--primary:hover,
body.page-platform-profile .erp-profile-block-action--primary:focus {
    background: linear-gradient(180deg, #27958d 0%, #1a747b 100%) !important;
    color: #ffffff !important;
}

body.page-platform-profile .erp-profile-block-action--secondary {
    background: linear-gradient(180deg, #4b5f68 0%, #36464e 100%) !important;
    border: 1px solid #3a4a52 !important;
    box-shadow: 0 12px 24px rgba(54, 70, 78, 0.18);
    color: #ffffff !important;
}

body.page-platform-profile .erp-profile-block-action--secondary:hover,
body.page-platform-profile .erp-profile-block-action--secondary:focus {
    background: linear-gradient(180deg, #546973 0%, #3d4f58 100%) !important;
    color: #ffffff !important;
}

body.page-platform-profile fieldset.row.g-0.mb-3 > .col-12 > .bg-light.px-4.py-3.d-flex.justify-content-end.rounded-bottom {
    align-items: center;
    background: linear-gradient(180deg, #f7fbfb 0%, #eff6f5 100%) !important;
    border-top: 1px solid #e0ecea;
    flex-wrap: wrap;
    gap: 0.7rem;
    justify-content: flex-end;
    padding: 1rem 1.3rem !important;
}

body.page-platform-profile fieldset.row.g-0.mb-3 > .col-12 > .bg-light.px-4.py-3.d-flex.justify-content-end.rounded-bottom > div {
    margin-left: 0 !important;
}

@media (min-width: 1400px) {
    body.page-platform-profile .container-md {
        padding-left: 1.25rem !important;
        padding-right: 1.25rem !important;
    }
}

@media (max-width: 991.98px) {
    body.page-platform-profile .erp-profile-summary__hero,
    body.page-platform-profile fieldset.row.g-0.mb-3 {
        grid-template-columns: 1fr;
    }

    body.page-platform-profile .erp-profile-summary__metrics,
    body.page-platform-profile .erp-profile-summary__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body.page-platform-profile fieldset.row.g-0.mb-3 > .col.p-0.px-3 {
        padding: 1rem 1.05rem !important;
    }
}

@media (max-width: 767.98px) {
    body.page-platform-profile .erp-profile-summary {
        padding: 1.1rem;
    }

    body.page-platform-profile .erp-profile-summary__identity {
        flex-direction: column;
    }

    body.page-platform-profile .erp-profile-summary__metrics,
    body.page-platform-profile .erp-profile-summary__grid {
        grid-template-columns: 1fr;
    }

    body.page-platform-profile fieldset[data-async] > .bg-white.rounded.shadow-sm {
        padding: 1.15rem 1rem 0.7rem !important;
    }

    body.page-platform-profile .form-group.row.row-cols-sm-2 {
        row-gap: 0.35rem;
    }

    body.page-platform-profile .form-group.row.row-cols-sm-2 > label.form-label {
        margin-top: 0;
        max-width: none;
    }

    body.page-platform-profile fieldset.row.g-0.mb-3 > .col-12 > .bg-light.px-4.py-3.d-flex.justify-content-end.rounded-bottom {
        flex-direction: column;
        justify-content: flex-start;
        padding: 0.95rem 1rem !important;
    }

    body.page-platform-profile fieldset.row.g-0.mb-3 > .col-12 > .bg-light.px-4.py-3.d-flex.justify-content-end.rounded-bottom > div,
    body.page-platform-profile .erp-profile-block-action {
        width: 100%;
    }
}

body.page-platform-pnprofile-list .erp-offer-summary {
    background: linear-gradient(135deg, #fff8fb 0%, #ffffff 58%, #fff1f5 100%);
    border: 1px solid #f1d6df;
    border-radius: 1.2rem;
    box-shadow: 0 14px 30px rgba(129, 59, 87, 0.08);
    margin: 0 0 1rem;
    padding: 1.25rem;
}

body.page-platform-pnprofile-list .erp-offer-summary__hero {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

body.page-platform-pnprofile-list .erp-offer-summary__eyebrow {
    color: #8a5b70;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin: 0 0 0.35rem;
    text-transform: uppercase;
}

body.page-platform-pnprofile-list .erp-offer-summary__title {
    color: #42192d;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0;
}

body.page-platform-pnprofile-list .erp-offer-summary__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 0.8rem;
}

body.page-platform-pnprofile-list .erp-status-pill {
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 0.38rem 0.75rem;
    text-transform: uppercase;
}

body.page-platform-pnprofile-list .erp-status-pill--success {
    background: #daf4e5;
    color: #17633d;
}

body.page-platform-pnprofile-list .erp-status-pill--warning {
    background: #fff0cc;
    color: #8c5a00;
}

body.page-platform-pnprofile-list .erp-status-pill--danger {
    background: #fde1e6;
    color: #9a2646;
}

body.page-platform-pnprofile-list .erp-status-pill--neutral {
    background: #ece8ec;
    color: #5e5360;
}

body.page-platform-pnprofile-list .erp-offer-summary__metrics,
body.page-platform-pnprofile-list .erp-offer-summary__grid {
    display: grid;
    gap: 0.85rem;
}

body.page-platform-pnprofile-list .erp-offer-summary__metrics {
    grid-template-columns: repeat(2, minmax(9rem, 1fr));
    min-width: min(100%, 24rem);
}

body.page-platform-pnprofile-list .erp-summary-metric,
body.page-platform-pnprofile-list .erp-summary-card {
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid #f0e4e8;
    border-radius: 1rem;
    padding: 0.9rem 1rem;
}

body.page-platform-pnprofile-list .erp-summary-metric span,
body.page-platform-pnprofile-list .erp-summary-card__label {
    color: #7b6b73;
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    margin-bottom: 0.35rem;
    text-transform: uppercase;
}

body.page-platform-pnprofile-list .erp-summary-metric strong {
    color: #2b1a22;
    display: block;
    font-size: 1.15rem;
    font-weight: 700;
}

body.page-platform-pnprofile-list .erp-summary-metric--warning {
    background: #fefce8;
    border: 1px solid #fde047;
    border-radius: 0.75rem;
    padding: 0.6rem 0.8rem;
}

body.page-platform-pnprofile-list .erp-summary-metric--warning span {
    color: #854d0e;
}

body.page-platform-pnprofile-list .erp-summary-metric--warning strong {
    color: #713f12;
}

body.page-platform-pnprofile-list .erp-summary-metric--danger {
    background: #fef2f2;
    border: 1px solid #fca5a5;
    border-radius: 0.75rem;
    padding: 0.6rem 0.8rem;
}

body.page-platform-pnprofile-list .erp-summary-metric--danger span {
    color: #991b1b;
}

body.page-platform-pnprofile-list .erp-summary-metric--danger strong {
    color: #7f1d1d;
}

body.page-platform-pnprofile-list .erp-summary-metric--success {
    background: #f0fdf4;
    border: 1px solid #86efac;
    border-radius: 0.75rem;
    padding: 0.6rem 0.8rem;
}

body.page-platform-pnprofile-list .erp-summary-metric--success span {
    color: #166534;
}

body.page-platform-pnprofile-list .erp-summary-metric--success strong {
    color: #14532d;
}

body.page-platform-pnprofile-list .erp-offer-summary__grid {
    grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
}

body.page-platform-pnprofile-list .erp-summary-card__value,
body.page-platform-pnprofile-list .erp-summary-card__link {
    color: #2c2026;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
}

body.page-platform-pnprofile-list .erp-summary-card__meta {
    color: #7b6b73;
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 0.35rem;
}

body.page-platform-pnprofile-list .erp-summary-card__link:hover {
    color: #dc0067;
}

body.page-platform-pnprofile-list .erp-summary-card__pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    margin-top: 0.15rem;
}


body.page-platform-pnprofile-list .erp-summary-card--warning {
    background: #fefce8;
    border-color: #fde047;
}

body.page-platform-pnprofile-list .erp-summary-card--warning .erp-summary-card__label {
    color: #854d0e;
}

body.page-platform-pnprofile-list .erp-summary-card--warning .erp-summary-card__value {
    color: #713f12;
    font-size: 1.15rem;
    font-weight: 700;
}

body.page-platform-pnprofile-list .erp-summary-card--danger {
    background: #fef2f2;
    border-color: #fca5a5;
}

body.page-platform-pnprofile-list .erp-summary-card--danger .erp-summary-card__label {
    color: #991b1b;
}

body.page-platform-pnprofile-list .erp-summary-card--danger .erp-summary-card__value {
    color: #7f1d1d;
    font-size: 1.15rem;
    font-weight: 700;
}

body.page-platform-pnprofile-list .erp-summary-card--success {
    background: #f0fdf4;
    border-color: #86efac;
}

body.page-platform-pnprofile-list .erp-summary-card--success .erp-summary-card__label {
    color: #166534;
}

body.page-platform-pnprofile-list .erp-summary-card--success .erp-summary-card__value {
    color: #14532d;
    font-size: 1.15rem;
    font-weight: 700;
}

body.page-platform-pnprofile-list .erp-summary-card--success .erp-summary-card__meta {
    color: #166534;
    font-size: 1.15rem;
    font-weight: 700;
}

body.page-platform-pnprofile-list [data-controller="tabs"] .nav-tabs-alt {
    background: #ffffff;
    border: 1px solid #eee1e7;
    border-radius: 1rem;
    box-shadow: 0 12px 28px rgba(64, 31, 46, 0.05);
    margin-bottom: 1rem;
    padding: 0.65rem;
}

body.page-platform-pnprofile-list [data-controller="tabs"] .nav-tabs {
    border-bottom: 0;
    gap: 0.45rem;
}

body.page-platform-pnprofile-list [data-controller="tabs"] .nav-tabs .nav-link {
    background: #f8eff3;
    border: 0;
    border-radius: 999px;
    color: #685863 !important;
    font-weight: 700;
    padding: 0.6rem 0.95rem;
}

body.page-platform-pnprofile-list [data-controller="tabs"] .nav-tabs .nav-link.active {
    background: #dc0067 !important;
    box-shadow: 0 8px 18px rgba(220, 0, 103, 0.22);
    color: #ffffff !important;
    position: relative;
}

body.page-platform-pnprofile-list [data-controller="tabs"] .tab-content > .tab-pane {
    background: #ffffff;
    border: 1px solid #eee1e7;
    border-radius: 1rem;
    box-shadow: 0 12px 28px rgba(64, 31, 46, 0.05);
    padding: 1rem;
}

body.page-platform-pnprofile-list fieldset[data-async] > .col {
    padding-left: 0.25rem !important;
    padding-right: 0.25rem !important;
}

body.page-platform-pnprofile-list fieldset[data-async] > .col > legend {
    color: #5b2141 !important;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin-bottom: 0.6rem;
    text-transform: uppercase;
}

body.page-platform-pnprofile-list fieldset[data-async] > .bg-white.rounded.shadow-sm {
    border: 1px solid #eee1e7;
    border-radius: 1rem !important;
    box-shadow: 0 12px 28px rgba(64, 31, 46, 0.05) !important;
    padding: 1rem 1.1rem !important;
}

body.page-platform-pnprofile-list .erp-offer-quick-action,
body.page-platform-pnprofile-list .erp-offer-edit-action {
    align-items: center;
    border-radius: 0.9rem !important;
    display: inline-flex !important;
    font-weight: 700 !important;
    gap: 0.45rem;
    justify-content: center;
    line-height: 1.2;
    min-height: 2.9rem;
    opacity: 1 !important;
    padding: 0.72rem 1rem !important;
    text-decoration: none !important;
    white-space: nowrap;
}

/* Force every wrapper on this page to allow overflow — the clipping was
   happening somewhere in the form → col-auto → form-group → card chain. */
body.page-platform-pnprofile-list .card,
body.page-platform-pnprofile-list .card-body,
body.page-platform-pnprofile-list form,
body.page-platform-pnprofile-list .row,
body.page-platform-pnprofile-list .row.form-group,
body.page-platform-pnprofile-list .col-auto,
body.page-platform-pnprofile-list .form-group {
    overflow: visible !important;
}

/* Orchid renders Group::make fields with class "row form-group
   align-items-baseline". Baseline alignment shifts the buttons UP by the
   text ascender — the usual "cut at top" symptom. Force centre alignment
   and add a small top/bottom padding so the button box sits inside the
   card body's content area, not on top of the card-header border. */
body.page-platform-pnprofile-list .row.form-group,
body.page-platform-pnprofile-list .row.align-items-baseline,
body.page-platform-pnprofile-list form > .row {
    align-items: center !important;
    padding-top: .5rem !important;
    padding-bottom: .5rem !important;
    row-gap: .5rem;
}

/* Kill Bootstrap's inherited form-group bottom margin on the direct col
   children — the stacked margins were adding invisible space that wrapped
   to a second line on narrow viewports and clipped the top of row 2. */
body.page-platform-pnprofile-list .col-auto > .form-group.mb-0,
body.page-platform-pnprofile-list .col-auto .form-group {
    margin: 0 !important;
}

/* SVG icon inside the button — explicit vertical-align middle so it sits
   on the button's flex centerline instead of the text baseline. */
body.page-platform-pnprofile-list .erp-offer-quick-action svg,
body.page-platform-pnprofile-list .erp-offer-edit-action svg {
    vertical-align: middle !important;
    display: inline-block;
}

body.page-platform-pnprofile-list .erp-offer-quick-action {
    background: linear-gradient(180deg, #1aa5ba 0%, #118ca0 100%) !important;
    border: 1px solid #0f91a5 !important;
    box-shadow: 0 10px 22px rgba(17, 140, 160, 0.18);
    color: #ffffff !important;
}

body.page-platform-pnprofile-list .erp-offer-quick-action:hover,
body.page-platform-pnprofile-list .erp-offer-quick-action:focus {
    background: linear-gradient(180deg, #1498ac 0%, #0f8193 100%) !important;
    color: #ffffff !important;
}

body.page-platform-pnprofile-list .erp-offer-quick-action:disabled,
body.page-platform-pnprofile-list .erp-offer-quick-action.disabled {
    box-shadow: none;
    opacity: 0.7 !important;
}

body.page-platform-pnprofile-list .erp-offer-edit-action--primary {
    background: linear-gradient(180deg, #dc0067 0%, #ba0056 100%) !important;
    border: 1px solid #b20053 !important;
    box-shadow: 0 4px 10px rgba(220, 0, 103, 0.18);
    color: #ffffff !important;
}

body.page-platform-pnprofile-list .erp-offer-edit-action--primary:hover,
body.page-platform-pnprofile-list .erp-offer-edit-action--primary:focus {
    background: linear-gradient(180deg, #c9005f 0%, #a9004f 100%) !important;
    color: #ffffff !important;
}

body.page-platform-pnprofile-list .erp-offer-edit-action--secondary {
    background: #fff0f6 !important;
    border: 1px solid #f1b0cc !important;
    box-shadow: none !important;
    color: #a61a59 !important;
}

body.page-platform-pnprofile-list .erp-offer-edit-action--secondary:hover,
body.page-platform-pnprofile-list .erp-offer-edit-action--secondary:focus {
    background: #ffe3ef !important;
    border-color: #e896bb !important;
    color: #92164f !important;
}

body.page-platform-pnprofile-list .erp-offer-edit-action i,
body.page-platform-pnprofile-list .erp-offer-quick-action i {
    color: inherit !important;
}

body.page-platform-pnprofile-list .erp-empty-state,
body.page-platform-pnprofile-list .erp-note-card {
    border-radius: 1rem;
    padding: 1.15rem 1.25rem;
}

body.page-platform-pnprofile-list .erp-empty-state {
    background: #fff8fb;
    border: 1px dashed #e0a5bc;
}

body.page-platform-pnprofile-list .erp-empty-state--warning {
    background: #fff8ef;
    border-color: #f2bf6c;
}

body.page-platform-pnprofile-list .erp-empty-state--danger {
    background: #fff0f3;
    border-color: #e38aa8;
}

body.page-platform-pnprofile-list .erp-empty-state__title {
    color: #4a2433;
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0 0 0.25rem;
}

body.page-platform-pnprofile-list .erp-empty-state__description,
body.page-platform-pnprofile-list .erp-note-card__content,
body.page-platform-pnprofile-list .erp-note-card__placeholder {
    color: #6d5a63;
    margin: 0;
}

body.page-platform-pnprofile-list .erp-note-card {
    background: linear-gradient(180deg, #fffdfa 0%, #fff4f7 100%);
    border: 1px solid #f3dde5;
}

body.page-platform-pnprofile-list .erp-note-card__label {
    color: #7b6b73;
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    margin-bottom: 0.45rem;
    text-transform: uppercase;
}

body.page-platform-pnprofile-list .erp-linked-orders-table .table {
    width: max-content;
    min-width: 100%;
}

body.page-platform-pnprofile-list .erp-linked-orders-table th,
body.page-platform-pnprofile-list .erp-linked-orders-table td {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    vertical-align: middle;
    white-space: nowrap;
}

body.page-platform-pnprofile-list .erp-linked-orders-table a[style*="width:170px"] {
    width: auto !important;
    min-width: 10rem;
    max-width: 14rem;
}

@media (max-width: 992px) {
    body.page-platform-pnprofile-list .erp-offer-summary__hero {
        flex-direction: column;
    }

    body.page-platform-pnprofile-list .erp-offer-summary__metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
    }
}

body.page-platform-pnprofilecustomerorder-list .erp-offer-summary {
    background:
        radial-gradient(circle at top right, rgba(45, 133, 154, 0.14), transparent 28%),
        linear-gradient(135deg, #f8fbfc 0%, #ffffff 58%, #eef8fb 100%);
    border: 1px solid #d9eaef;
    border-radius: 1.2rem;
    box-shadow: 0 14px 30px rgba(45, 133, 154, 0.08);
    margin: 0 0 1rem;
    padding: 1.25rem;
}

body.page-platform-pnprofilecustomerorder-list .erp-offer-summary__hero {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

body.page-platform-pnprofilecustomerorder-list .erp-offer-summary__eyebrow {
    color: #377083;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin: 0 0 0.35rem;
    text-transform: uppercase;
}

body.page-platform-pnprofilecustomerorder-list .erp-offer-summary__title {
    color: #1a3d48;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0;
}

body.page-platform-pnprofilecustomerorder-list .erp-offer-summary__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 0.8rem;
}

body.page-platform-pnprofilecustomerorder-list .erp-status-pill {
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 0.38rem 0.75rem;
    text-transform: uppercase;
}

body.page-platform-pnprofilecustomerorder-list .erp-status-pill--success {
    background: #daf4e5;
    color: #17633d;
}

body.page-platform-pnprofilecustomerorder-list .erp-status-pill--warning {
    background: #fff0cc;
    color: #8c5a00;
}

body.page-platform-pnprofilecustomerorder-list .erp-status-pill--danger {
    background: #fde1e6;
    color: #9a2646;
}

body.page-platform-pnprofilecustomerorder-list .erp-status-pill--neutral {
    background: #ece8ec;
    color: #5e5360;
}

body.page-platform-pnprofilecustomerorder-list .erp-offer-summary__metrics,
body.page-platform-pnprofilecustomerorder-list .erp-offer-summary__grid {
    display: grid;
    gap: 0.85rem;
}

body.page-platform-pnprofilecustomerorder-list .erp-offer-summary__metrics {
    grid-template-columns: repeat(2, minmax(9rem, 1fr));
    min-width: min(100%, 24rem);
}

body.page-platform-pnprofilecustomerorder-list .erp-summary-metric,
body.page-platform-pnprofilecustomerorder-list .erp-summary-card {
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid #d9eaef;
    border-radius: 1rem;
    padding: 0.9rem 1rem;
}

body.page-platform-pnprofilecustomerorder-list .erp-summary-metric span,
body.page-platform-pnprofilecustomerorder-list .erp-summary-card__label {
    color: #5a7a86;
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    margin-bottom: 0.35rem;
    text-transform: uppercase;
}

body.page-platform-pnprofilecustomerorder-list .erp-summary-metric strong {
    color: #1a3d48;
    display: block;
    font-size: 1.15rem;
    font-weight: 700;
}

body.page-platform-pnprofilecustomerorder-list .erp-summary-metric--warning {
    background: #fefce8;
    border: 1px solid #fde047;
    border-radius: 0.75rem;
    padding: 0.6rem 0.8rem;
}

body.page-platform-pnprofilecustomerorder-list .erp-summary-metric--warning span {
    color: #854d0e;
}

body.page-platform-pnprofilecustomerorder-list .erp-summary-metric--warning strong {
    color: #713f12;
}

body.page-platform-pnprofilecustomerorder-list .erp-summary-metric--danger {
    background: #fef2f2;
    border: 1px solid #fca5a5;
    border-radius: 0.75rem;
    padding: 0.6rem 0.8rem;
}

body.page-platform-pnprofilecustomerorder-list .erp-summary-metric--danger span {
    color: #991b1b;
}

body.page-platform-pnprofilecustomerorder-list .erp-summary-metric--danger strong {
    color: #7f1d1d;
}

body.page-platform-pnprofilecustomerorder-list .erp-summary-metric--success {
    background: #f0fdf4;
    border: 1px solid #86efac;
    border-radius: 0.75rem;
    padding: 0.6rem 0.8rem;
}

body.page-platform-pnprofilecustomerorder-list .erp-summary-metric--success span {
    color: #166534;
}

body.page-platform-pnprofilecustomerorder-list .erp-summary-metric--success strong {
    color: #14532d;
}

body.page-platform-pnprofilecustomerorder-list .erp-offer-summary__grid {
    grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
}

body.page-platform-pnprofilecustomerorder-list .erp-summary-card__value,
body.page-platform-pnprofilecustomerorder-list .erp-summary-card__link {
    color: #1a3d48;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
}

body.page-platform-pnprofilecustomerorder-list .erp-summary-card__link:hover {
    color: #dc0067;
}

body.page-platform-pnprofilecustomerorder-list [data-controller="tabs"] .nav-tabs-alt {
    background: #ffffff;
    border: 1px solid #eee1e7;
    border-radius: 1rem;
    box-shadow: 0 12px 28px rgba(64, 31, 46, 0.05);
    margin-bottom: 1rem;
    padding: 0.65rem;
}

body.page-platform-pnprofilecustomerorder-list [data-controller="tabs"] .nav-tabs {
    border-bottom: 0;
    gap: 0.45rem;
}

body.page-platform-pnprofilecustomerorder-list [data-controller="tabs"] .nav-tabs .nav-link {
    background: #f8eff3;
    border: 0;
    border-radius: 999px;
    color: #685863 !important;
    font-weight: 700;
    padding: 0.6rem 0.95rem;
}

body.page-platform-pnprofilecustomerorder-list [data-controller="tabs"] .nav-tabs .nav-link.active {
    background: #dc0067 !important;
    box-shadow: 0 8px 18px rgba(220, 0, 103, 0.22);
    color: #ffffff !important;
    position: relative;
}

body.page-platform-pnprofilecustomerorder-list [data-controller="tabs"] .tab-content > .tab-pane {
    background: #ffffff;
    border: 1px solid #eee1e7;
    border-radius: 1rem;
    box-shadow: 0 12px 28px rgba(64, 31, 46, 0.05);
    padding: 1rem;
}

body.page-platform-pnprofilecustomerorder-list fieldset[data-async] > .col {
    padding-left: 0.25rem !important;
    padding-right: 0.25rem !important;
}

body.page-platform-pnprofilecustomerorder-list fieldset[data-async] > .col > legend {
    color: #5b2141 !important;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin-bottom: 0.6rem;
    text-transform: uppercase;
}

body.page-platform-pnprofilecustomerorder-list fieldset[data-async] > .bg-white.rounded.shadow-sm {
    border: 1px solid #eee1e7;
    border-radius: 1rem !important;
    box-shadow: 0 12px 28px rgba(64, 31, 46, 0.05) !important;
    padding: 1rem 1.1rem !important;
}

body.page-platform-pnprofile-list .erp-offer-edit-total,
body.page-platform-pnprofilecustomerorder-list .erp-offer-edit-total {
    align-items: center;
    background: linear-gradient(180deg, #fff4f8 0%, #ffe6f0 100%) !important;
    border: 1px solid #f0bfd3 !important;
    border-radius: 0.9rem !important;
    color: #922453 !important;
    display: inline-flex !important;
    font-weight: 700 !important;
    justify-content: center;
    min-height: 2.9rem;
    opacity: 1 !important;
    padding: 0.72rem 1rem !important;
    text-decoration: none !important;
    white-space: nowrap;
}

body.page-platform-pnprofilecustomerorder-list .erp-offer-quick-action,
body.page-platform-pnprofilecustomerorder-list .erp-offer-edit-action {
    align-items: center;
    border-radius: 0.9rem !important;
    display: inline-flex !important;
    font-weight: 700 !important;
    gap: 0.45rem;
    justify-content: center;
    line-height: 1.2;
    min-height: 2.9rem;
    opacity: 1 !important;
    padding: 0.72rem 1rem !important;
    text-decoration: none !important;
    white-space: nowrap;
}

body.page-platform-pnprofilecustomerorder-list .erp-offer-quick-action {
    background: linear-gradient(180deg, #1aa5ba 0%, #118ca0 100%) !important;
    border: 1px solid #0f91a5 !important;
    box-shadow: 0 10px 22px rgba(17, 140, 160, 0.18);
    color: #ffffff !important;
}

body.page-platform-pnprofilecustomerorder-list .erp-offer-quick-action:hover,
body.page-platform-pnprofilecustomerorder-list .erp-offer-quick-action:focus {
    background: linear-gradient(180deg, #1498ac 0%, #0f8193 100%) !important;
    color: #ffffff !important;
}

body.page-platform-pnprofilecustomerorder-list .erp-offer-quick-action:disabled,
body.page-platform-pnprofilecustomerorder-list .erp-offer-quick-action.disabled {
    box-shadow: none;
    opacity: 0.7 !important;
}

body.page-platform-pnprofilecustomerorder-list .erp-offer-edit-action--primary {
    background: linear-gradient(180deg, #dc0067 0%, #ba0056 100%) !important;
    border: 1px solid #b20053 !important;
    box-shadow: 0 10px 22px rgba(220, 0, 103, 0.2);
    color: #ffffff !important;
}

body.page-platform-pnprofilecustomerorder-list .erp-offer-edit-action--primary:hover,
body.page-platform-pnprofilecustomerorder-list .erp-offer-edit-action--primary:focus {
    background: linear-gradient(180deg, #c9005f 0%, #a9004f 100%) !important;
    color: #ffffff !important;
}

body.page-platform-pnprofilecustomerorder-list .erp-offer-edit-action--secondary {
    background: #fff0f6 !important;
    border: 1px solid #f1b0cc !important;
    box-shadow: none !important;
    color: #a61a59 !important;
}

body.page-platform-pnprofilecustomerorder-list .erp-offer-edit-action--secondary:hover,
body.page-platform-pnprofilecustomerorder-list .erp-offer-edit-action--secondary:focus {
    background: #ffe3ef !important;
    border-color: #e896bb !important;
    color: #92164f !important;
}

body.page-platform-pnprofilecustomerorder-list .erp-offer-edit-action i,
body.page-platform-pnprofilecustomerorder-list .erp-offer-quick-action i {
    color: inherit !important;
}

body.page-platform-pnprofilecustomerorder-list .erp-empty-state,
body.page-platform-pnprofilecustomerorder-list .erp-note-card {
    border-radius: 1rem;
    padding: 1.15rem 1.25rem;
}

body.page-platform-pnprofilecustomerorder-list .erp-empty-state {
    background: #fff8fb;
    border: 1px dashed #e0a5bc;
}

body.page-platform-pnprofilecustomerorder-list .erp-empty-state--warning {
    background: #fff8ef;
    border-color: #f2bf6c;
}

body.page-platform-pnprofilecustomerorder-list .erp-empty-state--danger {
    background: #fff0f3;
    border-color: #e38aa8;
}

body.page-platform-pnprofilecustomerorder-list .erp-empty-state__title {
    color: #4a2433;
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0 0 0.25rem;
}

body.page-platform-pnprofilecustomerorder-list .erp-empty-state__description,
body.page-platform-pnprofilecustomerorder-list .erp-note-card__content,
body.page-platform-pnprofilecustomerorder-list .erp-note-card__placeholder {
    color: #6d5a63;
    margin: 0;
}

body.page-platform-pnprofilecustomerorder-list .erp-note-card {
    background: linear-gradient(180deg, #fffdfa 0%, #fff4f7 100%);
    border: 1px solid #f3dde5;
}

body.page-platform-pnprofilecustomerorder-list .erp-note-card__label {
    color: #7b6b73;
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    margin-bottom: 0.45rem;
    text-transform: uppercase;
}

body.page-platform-pnprofilesupplierorder-list .erp-offer-summary {
    background: linear-gradient(135deg, #faf8ff 0%, #ffffff 58%, #f3efff 100%);
    border: 1px solid #e3dbf8;
    border-radius: 1.2rem;
    box-shadow: 0 14px 30px rgba(74, 42, 160, 0.08);
    margin: 0 0 1rem;
    padding: 1.25rem;
}

body.page-platform-pnprofilesupplierorder-list .erp-offer-summary__hero {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

body.page-platform-pnprofilesupplierorder-list .erp-offer-summary__eyebrow {
    color: #6f5ea1;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin: 0 0 0.35rem;
    text-transform: uppercase;
}

body.page-platform-pnprofilesupplierorder-list .erp-offer-summary__title {
    color: #34255f;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0;
}

body.page-platform-pnprofilesupplierorder-list .erp-offer-summary__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 0.8rem;
}

body.page-platform-pnprofilesupplierorder-list .erp-status-pill {
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 0.38rem 0.75rem;
    text-transform: uppercase;
}

body.page-platform-pnprofilesupplierorder-list .erp-status-pill--success {
    background: #daf4e5;
    color: #17633d;
}

body.page-platform-pnprofilesupplierorder-list .erp-status-pill--warning {
    background: #fff0cc;
    color: #8c5a00;
}

body.page-platform-pnprofilesupplierorder-list .erp-status-pill--danger {
    background: #fde1e6;
    color: #9a2646;
}

body.page-platform-pnprofilesupplierorder-list .erp-status-pill--neutral {
    background: #ede9fb;
    color: #584985;
}

body.page-platform-pnprofilesupplierorder-list .erp-offer-summary__metrics,
body.page-platform-pnprofilesupplierorder-list .erp-offer-summary__grid {
    display: grid;
    gap: 0.85rem;
}

body.page-platform-pnprofilesupplierorder-list .erp-offer-summary__metrics {
    grid-template-columns: repeat(2, minmax(9rem, 1fr));
    min-width: min(100%, 24rem);
}

body.page-platform-pnprofilesupplierorder-list .erp-summary-metric,
body.page-platform-pnprofilesupplierorder-list .erp-summary-card {
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid #e7e0f5;
    border-radius: 1rem;
    padding: 0.9rem 1rem;
}

body.page-platform-pnprofilesupplierorder-list .erp-summary-metric span,
body.page-platform-pnprofilesupplierorder-list .erp-summary-card__label {
    color: #7c709f;
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    margin-bottom: 0.35rem;
    text-transform: uppercase;
}

body.page-platform-pnprofilesupplierorder-list .erp-summary-metric strong {
    color: #33235f;
    display: block;
    font-size: 1.15rem;
    font-weight: 700;
}

body.page-platform-pnprofilesupplierorder-list .erp-offer-summary__grid {
    grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
}

body.page-platform-pnprofilesupplierorder-list .erp-summary-card__value,
body.page-platform-pnprofilesupplierorder-list .erp-summary-card__link {
    color: #40355f;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
}

body.page-platform-pnprofilesupplierorder-list .erp-summary-card__link:hover {
    color: #4a2aa0;
}

body.page-platform-pnprofilesupplierorder-list [data-controller="tabs"] .nav-tabs-alt {
    background: #ffffff;
    border: 1px solid #e8e0f6;
    border-radius: 1rem;
    box-shadow: 0 12px 28px rgba(73, 42, 160, 0.05);
    margin-bottom: 1rem;
    padding: 0.65rem;
}

body.page-platform-pnprofilesupplierorder-list [data-controller="tabs"] .nav-tabs {
    border-bottom: 0;
    gap: 0.45rem;
}

body.page-platform-pnprofilesupplierorder-list [data-controller="tabs"] .nav-tabs .nav-link {
    background: #f4efff;
    border: 0;
    border-radius: 999px;
    color: #665d82 !important;
    font-weight: 700;
    padding: 0.6rem 0.95rem;
}

body.page-platform-pnprofilesupplierorder-list [data-controller="tabs"] .nav-tabs .nav-link.active {
    background: #4a2aa0 !important;
    box-shadow: 0 8px 18px rgba(74, 42, 160, 0.24);
    color: #ffffff !important;
    position: relative;
}

body.page-platform-pnprofilesupplierorder-list [data-controller="tabs"] .tab-content > .tab-pane {
    background: #ffffff;
    border: 1px solid #e8e0f6;
    border-radius: 1rem;
    box-shadow: 0 12px 28px rgba(73, 42, 160, 0.05);
    padding: 1rem;
}

body.page-platform-pnprofilesupplierorder-list fieldset[data-async] > .col {
    padding-left: 0.25rem !important;
    padding-right: 0.25rem !important;
}

body.page-platform-pnprofilesupplierorder-list fieldset[data-async] > .col > legend {
    color: #4a2a82 !important;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin-bottom: 0.6rem;
    text-transform: uppercase;
}

body.page-platform-pnprofilesupplierorder-list fieldset[data-async] > .bg-white.rounded.shadow-sm {
    border: 1px solid #e8e0f6;
    border-radius: 1rem !important;
    box-shadow: 0 12px 28px rgba(73, 42, 160, 0.05) !important;
    padding: 1rem 1.1rem !important;
}

body.page-platform-pnprofilesupplierorder-list .erp-offer-edit-total {
    align-items: center;
    background: linear-gradient(180deg, #f7f3ff 0%, #efe9ff 100%) !important;
    border: 1px solid #d8cdf7 !important;
    border-radius: 0.9rem !important;
    color: #513d86 !important;
    display: inline-flex !important;
    font-weight: 700 !important;
    justify-content: center;
    min-height: 2.9rem;
    opacity: 1 !important;
    padding: 0.72rem 1rem !important;
    text-decoration: none !important;
    white-space: nowrap;
}

body.page-platform-pnprofilesupplierorder-list .erp-offer-quick-action,
body.page-platform-pnprofilesupplierorder-list .erp-offer-edit-action {
    align-items: center;
    border-radius: 0.9rem !important;
    display: inline-flex !important;
    font-weight: 700 !important;
    gap: 0.45rem;
    justify-content: center;
    line-height: 1.2;
    min-height: 2.9rem;
    opacity: 1 !important;
    padding: 0.72rem 1rem !important;
    text-decoration: none !important;
    white-space: nowrap;
}

body.page-platform-pnprofilesupplierorder-list .erp-offer-quick-action {
    background: linear-gradient(180deg, #1aa5ba 0%, #118ca0 100%) !important;
    border: 1px solid #0f91a5 !important;
    box-shadow: 0 10px 22px rgba(17, 140, 160, 0.18);
    color: #ffffff !important;
}

body.page-platform-pnprofilesupplierorder-list .erp-offer-quick-action:hover,
body.page-platform-pnprofilesupplierorder-list .erp-offer-quick-action:focus {
    background: linear-gradient(180deg, #1498ac 0%, #0f8193 100%) !important;
    color: #ffffff !important;
}

body.page-platform-pnprofilesupplierorder-list .erp-offer-quick-action:disabled,
body.page-platform-pnprofilesupplierorder-list .erp-offer-quick-action.disabled {
    box-shadow: none;
    opacity: 0.7 !important;
}

body.page-platform-pnprofilesupplierorder-list .erp-offer-edit-action--primary {
    background: linear-gradient(180deg, #5c3ac2 0%, #4a2aa0 100%) !important;
    border: 1px solid #492aa0 !important;
    box-shadow: 0 10px 22px rgba(74, 42, 160, 0.2);
    color: #ffffff !important;
}

body.page-platform-pnprofilesupplierorder-list .erp-offer-edit-action--primary:hover,
body.page-platform-pnprofilesupplierorder-list .erp-offer-edit-action--primary:focus {
    background: linear-gradient(180deg, #5334b0 0%, #3f238f 100%) !important;
    color: #ffffff !important;
}

body.page-platform-pnprofilesupplierorder-list .erp-offer-edit-action--secondary {
    background: #f4efff !important;
    border: 1px solid #d9ccfb !important;
    box-shadow: none !important;
    color: #5b42a5 !important;
}

body.page-platform-pnprofilesupplierorder-list .erp-offer-edit-action--secondary:hover,
body.page-platform-pnprofilesupplierorder-list .erp-offer-edit-action--secondary:focus {
    background: #ede6ff !important;
    border-color: #cdbbfb !important;
    color: #4a2aa0 !important;
}

body.page-platform-pnprofilesupplierorder-list .erp-offer-edit-action i,
body.page-platform-pnprofilesupplierorder-list .erp-offer-quick-action i {
    color: inherit !important;
}

body.page-platform-pnprofilesupplierorder-list .erp-empty-state,
body.page-platform-pnprofilesupplierorder-list .erp-note-card {
    border-radius: 1rem;
    padding: 1.15rem 1.25rem;
}

body.page-platform-pnprofilesupplierorder-list .erp-empty-state {
    background: #faf8ff;
    border: 1px dashed #cfc0f6;
}

body.page-platform-pnprofilesupplierorder-list .erp-empty-state--warning {
    background: #fff8ef;
    border-color: #f2bf6c;
}

body.page-platform-pnprofilesupplierorder-list .erp-empty-state__title {
    color: #3d2d66;
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0 0 0.25rem;
}

body.page-platform-pnprofilesupplierorder-list .erp-empty-state__description,
body.page-platform-pnprofilesupplierorder-list .erp-note-card__content,
body.page-platform-pnprofilesupplierorder-list .erp-note-card__placeholder {
    color: #6a5f86;
    margin: 0;
}

body.page-platform-pnprofilesupplierorder-list .erp-note-card {
    background: linear-gradient(180deg, #fefcff 0%, #f6f2ff 100%);
    border: 1px solid #e7def9;
}

body.page-platform-pnprofilesupplierorder-list .erp-note-card__label {
    color: #7c709f;
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    margin-bottom: 0.45rem;
    text-transform: uppercase;
}

body.page-platform-pnprofilesupplierorder-list .table.table-info.table-striped {
    border-radius: 1rem;
    overflow: hidden;
}

body.page-platform-pnprofilesupplierorder-list .table.table-info.table-striped th,
body.page-platform-pnprofilesupplierorder-list .table.table-info.table-striped td {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    vertical-align: middle;
    white-space: nowrap;
}

body.page-platform-pnprofilesupplierorder-list a[style*="width:170px"] {
    width: auto !important;
    min-width: 10rem;
    max-width: 14rem;
}

body.page-platform-pnprofiletestsupplierorder-list .erp-offer-summary {
    background: linear-gradient(135deg, #f7f4ff 0%, #ffffff 56%, #eef3ff 100%);
    border: 1px solid #dddff7;
    border-radius: 1.2rem;
    box-shadow: 0 14px 30px rgba(58, 72, 153, 0.08);
    margin: 0 0 1rem;
    padding: 1.25rem;
}

body.page-platform-pnprofiletestsupplierorder-list .erp-offer-summary__hero {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

body.page-platform-pnprofiletestsupplierorder-list .erp-offer-summary__eyebrow {
    color: #6470a1;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin: 0 0 0.35rem;
    text-transform: uppercase;
}

body.page-platform-pnprofiletestsupplierorder-list .erp-offer-summary__title {
    color: #2f3563;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0;
}

body.page-platform-pnprofiletestsupplierorder-list .erp-offer-summary__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 0.8rem;
}

body.page-platform-pnprofiletestsupplierorder-list .erp-status-pill {
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 0.38rem 0.75rem;
    text-transform: uppercase;
}

body.page-platform-pnprofiletestsupplierorder-list .erp-status-pill--success {
    background: #daf4e5;
    color: #17633d;
}

body.page-platform-pnprofiletestsupplierorder-list .erp-status-pill--warning {
    background: #fff0cc;
    color: #8c5a00;
}

body.page-platform-pnprofiletestsupplierorder-list .erp-status-pill--danger {
    background: #fde1e6;
    color: #9a2646;
}

body.page-platform-pnprofiletestsupplierorder-list .erp-status-pill--neutral {
    background: #eceffc;
    color: #48578f;
}

body.page-platform-pnprofiletestsupplierorder-list .erp-offer-summary__metrics,
body.page-platform-pnprofiletestsupplierorder-list .erp-offer-summary__grid {
    display: grid;
    gap: 0.85rem;
}

body.page-platform-pnprofiletestsupplierorder-list .erp-offer-summary__metrics {
    grid-template-columns: repeat(2, minmax(9rem, 1fr));
    min-width: min(100%, 24rem);
}

body.page-platform-pnprofiletestsupplierorder-list .erp-summary-metric,
body.page-platform-pnprofiletestsupplierorder-list .erp-summary-card {
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid #e2e4f5;
    border-radius: 1rem;
    padding: 0.9rem 1rem;
}

body.page-platform-pnprofiletestsupplierorder-list .erp-summary-metric span,
body.page-platform-pnprofiletestsupplierorder-list .erp-summary-card__label {
    color: #6c769b;
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    margin-bottom: 0.35rem;
    text-transform: uppercase;
}

body.page-platform-pnprofiletestsupplierorder-list .erp-summary-metric strong {
    color: #2f3563;
    display: block;
    font-size: 1.15rem;
    font-weight: 700;
}

body.page-platform-pnprofiletestsupplierorder-list .erp-offer-summary__grid {
    grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
}

body.page-platform-pnprofiletestsupplierorder-list .erp-summary-card__value,
body.page-platform-pnprofiletestsupplierorder-list .erp-summary-card__link {
    color: #334063;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
}

body.page-platform-pnprofiletestsupplierorder-list .erp-summary-card__link:hover {
    color: #4657a3;
}

body.page-platform-pnprofiletestsupplierorder-list [data-controller="tabs"] .nav-tabs-alt {
    background: #ffffff;
    border: 1px solid #e3e5f5;
    border-radius: 1rem;
    box-shadow: 0 12px 28px rgba(58, 72, 153, 0.05);
    margin-bottom: 1rem;
    padding: 0.65rem;
}

body.page-platform-pnprofiletestsupplierorder-list [data-controller="tabs"] .nav-tabs {
    border-bottom: 0;
    gap: 0.45rem;
}

body.page-platform-pnprofiletestsupplierorder-list [data-controller="tabs"] .nav-tabs .nav-link {
    background: #f1f4ff;
    border: 0;
    border-radius: 999px;
    color: #5f6889 !important;
    font-weight: 700;
    padding: 0.6rem 0.95rem;
}

body.page-platform-pnprofiletestsupplierorder-list [data-controller="tabs"] .nav-tabs .nav-link.active {
    background: #4657a3 !important;
    box-shadow: 0 8px 18px rgba(70, 87, 163, 0.24);
    color: #ffffff !important;
    position: relative;
}

body.page-platform-pnprofiletestsupplierorder-list [data-controller="tabs"] .tab-content > .tab-pane {
    background: #ffffff;
    border: 1px solid #e3e5f5;
    border-radius: 1rem;
    box-shadow: 0 12px 28px rgba(58, 72, 153, 0.05);
    padding: 1rem;
}

body.page-platform-pnprofiletestsupplierorder-list fieldset[data-async] > .col {
    padding-left: 0.25rem !important;
    padding-right: 0.25rem !important;
}

body.page-platform-pnprofiletestsupplierorder-list fieldset[data-async] > .col > legend {
    color: #46548a !important;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin-bottom: 0.6rem;
    text-transform: uppercase;
}

body.page-platform-pnprofiletestsupplierorder-list fieldset[data-async] > .bg-white.rounded.shadow-sm {
    border: 1px solid #e3e5f5;
    border-radius: 1rem !important;
    box-shadow: 0 12px 28px rgba(58, 72, 153, 0.05) !important;
    padding: 1rem 1.1rem !important;
}

body.page-platform-pnprofiletestsupplierorder-list .erp-offer-edit-total {
    align-items: center;
    background: linear-gradient(180deg, #f2f5ff 0%, #e8edff 100%) !important;
    border: 1px solid #cdd7fb !important;
    border-radius: 0.9rem !important;
    color: #41518d !important;
    display: inline-flex !important;
    font-weight: 700 !important;
    justify-content: center;
    min-height: 2.9rem;
    opacity: 1 !important;
    padding: 0.72rem 1rem !important;
    text-decoration: none !important;
    white-space: nowrap;
}

body.page-platform-pnprofiletestsupplierorder-list .erp-offer-quick-action,
body.page-platform-pnprofiletestsupplierorder-list .erp-offer-edit-action {
    align-items: center;
    border-radius: 0.9rem !important;
    display: inline-flex !important;
    font-weight: 700 !important;
    gap: 0.45rem;
    justify-content: center;
    line-height: 1.2;
    min-height: 2.9rem;
    opacity: 1 !important;
    padding: 0.72rem 1rem !important;
    text-decoration: none !important;
    white-space: nowrap;
}

body.page-platform-pnprofiletestsupplierorder-list .erp-offer-quick-action {
    background: linear-gradient(180deg, #1aa5ba 0%, #118ca0 100%) !important;
    border: 1px solid #0f91a5 !important;
    box-shadow: 0 10px 22px rgba(17, 140, 160, 0.18);
    color: #ffffff !important;
}

body.page-platform-pnprofiletestsupplierorder-list .erp-offer-quick-action:hover,
body.page-platform-pnprofiletestsupplierorder-list .erp-offer-quick-action:focus {
    background: linear-gradient(180deg, #1498ac 0%, #0f8193 100%) !important;
    color: #ffffff !important;
}

body.page-platform-pnprofiletestsupplierorder-list .erp-offer-quick-action:disabled,
body.page-platform-pnprofiletestsupplierorder-list .erp-offer-quick-action.disabled {
    box-shadow: none;
    opacity: 0.7 !important;
}

body.page-platform-pnprofiletestsupplierorder-list .erp-offer-edit-action--primary {
    background: linear-gradient(180deg, #4657a3 0%, #394990 100%) !important;
    border: 1px solid #38488f !important;
    box-shadow: 0 10px 22px rgba(70, 87, 163, 0.2);
    color: #ffffff !important;
}

body.page-platform-pnprofiletestsupplierorder-list .erp-offer-edit-action--primary:hover,
body.page-platform-pnprofiletestsupplierorder-list .erp-offer-edit-action--primary:focus {
    background: linear-gradient(180deg, #3f4f98 0%, #344383 100%) !important;
    color: #ffffff !important;
}

body.page-platform-pnprofiletestsupplierorder-list .erp-offer-edit-action--secondary {
    background: #f1f4ff !important;
    border: 1px solid #cfdbff !important;
    box-shadow: none !important;
    color: #4657a3 !important;
}

body.page-platform-pnprofiletestsupplierorder-list .erp-offer-edit-action--secondary:hover,
body.page-platform-pnprofiletestsupplierorder-list .erp-offer-edit-action--secondary:focus {
    background: #e7ecff !important;
    border-color: #bcc9f4 !important;
    color: #3b4b93 !important;
}

body.page-platform-pnprofiletestsupplierorder-list .erp-offer-edit-action i,
body.page-platform-pnprofiletestsupplierorder-list .erp-offer-quick-action i {
    color: inherit !important;
}

body.page-platform-pnprofiletestsupplierorder-list .erp-empty-state,
body.page-platform-pnprofiletestsupplierorder-list .erp-note-card {
    border-radius: 1rem;
    padding: 1.15rem 1.25rem;
}

body.page-platform-pnprofiletestsupplierorder-list .erp-empty-state {
    background: #f7f8ff;
    border: 1px dashed #cad0f0;
}

body.page-platform-pnprofiletestsupplierorder-list .erp-empty-state--warning {
    background: #fff8ef;
    border-color: #f2bf6c;
}

body.page-platform-pnprofiletestsupplierorder-list .erp-empty-state__title {
    color: #2f3866;
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0 0 0.25rem;
}

body.page-platform-pnprofiletestsupplierorder-list .erp-empty-state__description,
body.page-platform-pnprofiletestsupplierorder-list .erp-note-card__content,
body.page-platform-pnprofiletestsupplierorder-list .erp-note-card__placeholder {
    color: #66708d;
    margin: 0;
}

body.page-platform-pnprofiletestsupplierorder-list .erp-note-card {
    background: linear-gradient(180deg, #fcfdff 0%, #f3f6ff 100%);
    border: 1px solid #e0e6fb;
}

body.page-platform-pnprofiletestsupplierorder-list .erp-note-card__label {
    color: #6c769b;
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    margin-bottom: 0.45rem;
    text-transform: uppercase;
}

@media (max-width: 992px) {
    body.page-platform-pnprofiletestsupplierorder-list .erp-offer-summary__hero {
        flex-direction: column;
    }

    body.page-platform-pnprofiletestsupplierorder-list .erp-offer-summary__metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
    }
}

@media (max-width: 992px) {
    body.page-platform-pnprofilesupplierorder-list .erp-offer-summary__hero {
        flex-direction: column;
    }

    body.page-platform-pnprofilesupplierorder-list .erp-offer-summary__metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
    }
}

body.page-platform-supplierorder-edit .erp-order-edit-summary,
body.page-platform-testsupplierorder-edit .erp-order-edit-summary {
    border-radius: 1.2rem;
    box-shadow: 0 14px 30px rgba(58, 72, 153, 0.08);
    margin: 0 0 1rem;
    padding: 1.25rem;
}

body.page-platform-supplierorder-edit .erp-order-edit-summary {
    background: linear-gradient(135deg, #faf8ff 0%, #ffffff 58%, #f3efff 100%);
    border: 1px solid #e3dbf8;
}

body.page-platform-testsupplierorder-edit .erp-order-edit-summary {
    background: linear-gradient(135deg, #f7f4ff 0%, #ffffff 56%, #eef3ff 100%);
    border: 1px solid #dddff7;
}

body.page-platform-supplierorder-edit .erp-order-edit-summary__hero,
body.page-platform-testsupplierorder-edit .erp-order-edit-summary__hero {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

body.page-platform-supplierorder-edit .erp-order-edit-summary__eyebrow,
body.page-platform-testsupplierorder-edit .erp-order-edit-summary__eyebrow {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin: 0 0 0.35rem;
    text-transform: uppercase;
}

body.page-platform-supplierorder-edit .erp-order-edit-summary__eyebrow {
    color: #6f5ea1;
}

body.page-platform-testsupplierorder-edit .erp-order-edit-summary__eyebrow {
    color: #6470a1;
}

body.page-platform-supplierorder-edit .erp-order-edit-summary__title,
body.page-platform-testsupplierorder-edit .erp-order-edit-summary__title {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0;
}

body.page-platform-supplierorder-edit .erp-order-edit-summary__title {
    color: #34255f;
}

body.page-platform-testsupplierorder-edit .erp-order-edit-summary__title {
    color: #2f3563;
}

body.page-platform-supplierorder-edit .erp-order-edit-summary__description,
body.page-platform-testsupplierorder-edit .erp-order-edit-summary__description {
    line-height: 1.55;
    margin: 0.55rem 0 0;
    max-width: 54rem;
}

body.page-platform-supplierorder-edit .erp-order-edit-summary__description {
    color: #6d6488;
}

body.page-platform-testsupplierorder-edit .erp-order-edit-summary__description {
    color: #697492;
}

body.page-platform-supplierorder-edit .erp-order-edit-summary__badges,
body.page-platform-testsupplierorder-edit .erp-order-edit-summary__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 0.8rem;
}

body.page-platform-supplierorder-edit .erp-status-pill,
body.page-platform-testsupplierorder-edit .erp-status-pill {
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 0.38rem 0.75rem;
    text-transform: uppercase;
}

body.page-platform-supplierorder-edit .erp-status-pill--success,
body.page-platform-testsupplierorder-edit .erp-status-pill--success {
    background: #daf4e5;
    color: #17633d;
}

body.page-platform-supplierorder-edit .erp-status-pill--warning,
body.page-platform-testsupplierorder-edit .erp-status-pill--warning {
    background: #fff0cc;
    color: #8c5a00;
}

body.page-platform-supplierorder-edit .erp-status-pill--danger,
body.page-platform-testsupplierorder-edit .erp-status-pill--danger {
    background: #fde1e6;
    color: #9a2646;
}

body.page-platform-supplierorder-edit .erp-status-pill--neutral {
    background: #ede9fb;
    color: #584985;
}

body.page-platform-testsupplierorder-edit .erp-status-pill--neutral {
    background: #eceffc;
    color: #48578f;
}

body.page-platform-supplierorder-edit .erp-order-edit-summary__metrics,
body.page-platform-supplierorder-edit .erp-order-edit-summary__grid,
body.page-platform-testsupplierorder-edit .erp-order-edit-summary__metrics,
body.page-platform-testsupplierorder-edit .erp-order-edit-summary__grid {
    display: grid;
    gap: 0.85rem;
}

body.page-platform-supplierorder-edit .erp-order-edit-summary__metrics,
body.page-platform-testsupplierorder-edit .erp-order-edit-summary__metrics {
    grid-template-columns: repeat(2, minmax(10rem, 1fr));
    min-width: min(100%, 25rem);
}

body.page-platform-supplierorder-edit .erp-order-edit-summary__grid,
body.page-platform-testsupplierorder-edit .erp-order-edit-summary__grid {
    grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
}

body.page-platform-supplierorder-edit .erp-summary-metric,
body.page-platform-supplierorder-edit .erp-summary-card,
body.page-platform-testsupplierorder-edit .erp-summary-metric,
body.page-platform-testsupplierorder-edit .erp-summary-card {
    background: rgba(255, 255, 255, 0.84);
    border-radius: 1rem;
    padding: 0.9rem 1rem;
}

body.page-platform-supplierorder-edit .erp-summary-metric,
body.page-platform-supplierorder-edit .erp-summary-card {
    border: 1px solid #e7e0f5;
}

body.page-platform-testsupplierorder-edit .erp-summary-metric,
body.page-platform-testsupplierorder-edit .erp-summary-card {
    border: 1px solid #e2e4f5;
}

body.page-platform-supplierorder-edit .erp-summary-metric span,
body.page-platform-supplierorder-edit .erp-summary-card__label,
body.page-platform-testsupplierorder-edit .erp-summary-metric span,
body.page-platform-testsupplierorder-edit .erp-summary-card__label {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    margin-bottom: 0.35rem;
    text-transform: uppercase;
}

body.page-platform-supplierorder-edit .erp-summary-metric span,
body.page-platform-supplierorder-edit .erp-summary-card__label {
    color: #7c709f;
}

body.page-platform-testsupplierorder-edit .erp-summary-metric span,
body.page-platform-testsupplierorder-edit .erp-summary-card__label {
    color: #6c769b;
}

body.page-platform-supplierorder-edit .erp-summary-metric strong,
body.page-platform-supplierorder-edit .erp-summary-card__value,
body.page-platform-supplierorder-edit .erp-summary-card__link,
body.page-platform-testsupplierorder-edit .erp-summary-metric strong,
body.page-platform-testsupplierorder-edit .erp-summary-card__value,
body.page-platform-testsupplierorder-edit .erp-summary-card__link {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
}

body.page-platform-supplierorder-edit .erp-summary-metric strong,
body.page-platform-supplierorder-edit .erp-summary-card__value,
body.page-platform-supplierorder-edit .erp-summary-card__link {
    color: #40355f;
}

body.page-platform-testsupplierorder-edit .erp-summary-metric strong,
body.page-platform-testsupplierorder-edit .erp-summary-card__value,
body.page-platform-testsupplierorder-edit .erp-summary-card__link {
    color: #334063;
}

body.page-platform-supplierorder-edit .erp-summary-card__link:hover {
    color: #4a2aa0;
}

body.page-platform-testsupplierorder-edit .erp-summary-card__link:hover {
    color: #4657a3;
}

body.page-platform-supplierorder-edit fieldset[data-async] > .col,
body.page-platform-testsupplierorder-edit fieldset[data-async] > .col {
    padding-left: 0.25rem !important;
    padding-right: 0.25rem !important;
}

body.page-platform-supplierorder-edit fieldset[data-async] > .col > legend,
body.page-platform-testsupplierorder-edit fieldset[data-async] > .col > legend {
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin-bottom: 0.6rem;
    text-transform: uppercase;
}

body.page-platform-supplierorder-edit fieldset[data-async] > .col > legend {
    color: #4a2a82 !important;
}

body.page-platform-testsupplierorder-edit fieldset[data-async] > .col > legend {
    color: #46548a !important;
}

body.page-platform-supplierorder-edit fieldset[data-async] > .bg-white.rounded.shadow-sm,
body.page-platform-testsupplierorder-edit fieldset[data-async] > .bg-white.rounded.shadow-sm {
    border-radius: 1rem !important;
    box-shadow: 0 12px 28px rgba(58, 72, 153, 0.05) !important;
    padding: 1rem 1.1rem !important;
}

body.page-platform-supplierorder-edit fieldset[data-async] > .bg-white.rounded.shadow-sm {
    border: 1px solid #e8e0f6;
}

body.page-platform-testsupplierorder-edit fieldset[data-async] > .bg-white.rounded.shadow-sm {
    border: 1px solid #e3e5f5;
}

body.page-platform-supplierorder-edit .form-control,
body.page-platform-supplierorder-edit .form-select,
body.page-platform-supplierorder-edit [data-controller="relation"] .ts-control,
body.page-platform-testsupplierorder-edit .form-control,
body.page-platform-testsupplierorder-edit .form-select,
body.page-platform-testsupplierorder-edit [data-controller="relation"] .ts-control {
    border-radius: 0.9rem;
    min-height: 2.9rem;
}

body.page-platform-supplierorder-edit .btn-default,
body.page-platform-testsupplierorder-edit .btn-default {
    border-radius: 0.9rem !important;
    color: #ffffff !important;
    font-weight: 800 !important;
    min-height: 2.9rem;
    padding: 0.72rem 1rem !important;
    text-decoration: none !important;
}

body.page-platform-supplierorder-edit .btn-default {
    background: linear-gradient(180deg, #5c3ac2 0%, #4a2aa0 100%) !important;
    border: 1px solid #492aa0 !important;
    box-shadow: 0 10px 22px rgba(74, 42, 160, 0.2);
}

body.page-platform-testsupplierorder-edit .btn-default {
    background: linear-gradient(180deg, #4657a3 0%, #394990 100%) !important;
    border: 1px solid #38488f !important;
    box-shadow: 0 10px 22px rgba(70, 87, 163, 0.2);
}

body.page-platform-supplierorder-edit .btn-default *,
body.page-platform-testsupplierorder-edit .btn-default * {
    color: #ffffff !important;
}

@media (max-width: 992px) {
    body.page-platform-supplierorder-edit .erp-order-edit-summary__hero,
    body.page-platform-testsupplierorder-edit .erp-order-edit-summary__hero {
        flex-direction: column;
    }

    body.page-platform-supplierorder-edit .erp-order-edit-summary__metrics,
    body.page-platform-testsupplierorder-edit .erp-order-edit-summary__metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
    }
}

body.page-platform-order-edit .erp-order-edit-summary {
    background: linear-gradient(135deg, #fffaf4 0%, #ffffff 58%, #fff0e2 100%);
    border: 1px solid #efdecf;
    border-radius: 1.2rem;
    box-shadow: 0 14px 30px rgba(136, 82, 35, 0.08);
    margin: 0 0 1rem;
    padding: 1.25rem;
}

body.page-platform-order-edit .erp-order-edit-summary__hero {
    align-items: flex-start;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-bottom: 1rem;
}

body.page-platform-order-edit .erp-order-edit-summary__eyebrow {
    color: #8c6846;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin: 0 0 0.35rem;
    text-transform: uppercase;
}

body.page-platform-order-edit .erp-order-edit-summary__title {
    color: #4c2c15;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0;
}

body.page-platform-order-edit .erp-order-edit-summary__description {
    color: #7d6658;
    line-height: 1.55;
    margin: 0.55rem 0 0;
    max-width: 54rem;
}

body.page-platform-order-edit .erp-order-edit-summary__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 0.8rem;
}

body.page-platform-order-edit .erp-status-pill {
    align-items: center;
    border-radius: 999px;
    display: inline-flex;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 0.38rem 0.75rem;
    text-transform: uppercase;
}

body.page-platform-order-edit .erp-status-pill--success {
    background: #daf4e5;
    color: #17633d;
}

body.page-platform-order-edit .erp-status-pill--warning {
    background: #fff0cc;
    color: #8c5a00;
}

body.page-platform-order-edit .erp-status-pill--danger {
    background: #fde1e6;
    color: #9a2646;
}

body.page-platform-order-edit .erp-status-pill--neutral {
    background: #f7ead9;
    color: #8a5b26;
}

body.page-platform-order-edit .erp-order-edit-summary__metrics,
body.page-platform-order-edit .erp-order-edit-summary__grid {
    display: grid;
    gap: 0.85rem;
}

body.page-platform-order-edit .erp-order-edit-summary__metrics {
    grid-template-columns: repeat(2, minmax(10rem, 1fr));
    min-width: min(100%, 25rem);
}

body.page-platform-order-edit .erp-order-edit-summary__grid {
    grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
}

body.page-platform-order-edit .erp-summary-metric,
body.page-platform-order-edit .erp-summary-card {
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid #f0e2d4;
    border-radius: 1rem;
    padding: 0.9rem 1rem;
}

body.page-platform-order-edit .erp-summary-metric span,
body.page-platform-order-edit .erp-summary-card__label {
    color: #8a7363;
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    margin-bottom: 0.35rem;
    text-transform: uppercase;
}

body.page-platform-order-edit .erp-summary-metric strong,
body.page-platform-order-edit .erp-summary-card__value,
body.page-platform-order-edit .erp-summary-card__link {
    color: #4f331d;
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
}

body.page-platform-order-edit .erp-summary-card__link:hover {
    color: #d17f2d;
}

body.page-platform-order-edit fieldset[data-async] > .col {
    padding-left: 0.25rem !important;
    padding-right: 0.25rem !important;
}

body.page-platform-order-edit fieldset[data-async] > .col > legend {
    color: #8d5f2d !important;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin-bottom: 0.6rem;
    text-transform: uppercase;
}

body.page-platform-order-edit fieldset[data-async] > .bg-white.rounded.shadow-sm {
    border: 1px solid #f1e1d2;
    border-radius: 1rem !important;
    box-shadow: 0 12px 28px rgba(136, 82, 35, 0.05) !important;
    padding: 1rem 1.1rem !important;
}

body.page-platform-order-edit .form-control,
body.page-platform-order-edit .form-select,
body.page-platform-order-edit [data-controller="relation"] .ts-control {
    border-radius: 0.9rem;
    min-height: 2.9rem;
}

body.page-platform-order-edit .erp-empty-state {
    background: #fffaf4;
    border: 1px solid #f0dfd0;
    border-radius: 1rem;
    box-shadow: 0 12px 28px rgba(136, 82, 35, 0.05);
    margin-bottom: 1rem;
    padding: 1rem 1.1rem;
}

body.page-platform-order-edit .erp-empty-state__title {
    color: #4c2c15;
    font-size: 1rem;
    font-weight: 800;
    margin: 0 0 0.35rem;
}

body.page-platform-order-edit .erp-empty-state__description {
    color: #7d6658;
    margin: 0;
}

body.page-platform-order-edit .screen-actions {
    margin-bottom: 1rem;
}

body.page-platform-order-edit .erp-rfq-edit-action {
    align-items: center;
    border-radius: 0.9rem !important;
    display: inline-flex;
    font-weight: 800 !important;
    gap: 0.45rem;
    min-height: 2.9rem;
    padding: 0.75rem 1rem !important;
    text-decoration: none !important;
}

body.page-platform-order-edit .erp-rfq-edit-action--primary {
    background: linear-gradient(180deg, #d68632 0%, #bf7020 100%) !important;
    border: 1px solid #c97a29 !important;
    box-shadow: 0 10px 22px rgba(191, 112, 32, 0.2);
    color: #ffffff !important;
}

body.page-platform-order-edit .erp-rfq-edit-action--primary:hover,
body.page-platform-order-edit .erp-rfq-edit-action--primary:focus {
    background: linear-gradient(180deg, #dd9447 0%, #c97a29 100%) !important;
    color: #ffffff !important;
}

body.page-platform-order-edit .erp-rfq-edit-action--secondary {
    background: #ffffff !important;
    border: 1px solid #e3c19e !important;
    box-shadow: 0 10px 20px rgba(136, 82, 35, 0.08);
    color: #8d5f2d !important;
}

body.page-platform-order-edit .erp-rfq-edit-action--secondary:hover,
body.page-platform-order-edit .erp-rfq-edit-action--secondary:focus {
    background: #fff6ee !important;
    color: #7e531f !important;
}

body.page-platform-settings .erp-offer-summary {
    background:
        radial-gradient(circle at top right, rgba(36, 102, 122, 0.14), transparent 28%),
        linear-gradient(135deg, #f6fbfc 0%, #ffffff 58%, #e8f2f4 100%);
    border: 1px solid #d7e6ea;
    border-radius: 1.2rem;
    box-shadow: 0 14px 30px rgba(29, 77, 91, 0.08);
    margin: 0 0 1rem;
    padding: 1.25rem;
}

body.page-platform-settings .erp-offer-summary__hero {
    align-items: flex-start;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-bottom: 1rem;
}

body.page-platform-settings .erp-offer-summary__eyebrow {
    color: #5b7b83;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin: 0 0 0.35rem;
    text-transform: uppercase;
}

body.page-platform-settings .erp-offer-summary__title {
    color: #214a58;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0;
}

body.page-platform-settings .erp-offer-summary__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 0.85rem;
}

body.page-platform-settings .erp-status-pill {
    border-radius: 999px;
    display: inline-flex;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    padding: 0.52rem 0.85rem;
    text-transform: uppercase;
}

body.page-platform-settings .erp-status-pill--warning {
    background: #fff0cc;
    color: #8c5a00;
}

body.page-platform-settings .erp-status-pill--success {
    background: #daf4e5;
    color: #17633d;
}

body.page-platform-settings .erp-status-pill--neutral {
    background: #e7f0f3;
    color: #315d68;
}

body.page-platform-settings .erp-offer-summary__metrics,
body.page-platform-settings .erp-offer-summary__grid {
    display: grid;
    gap: 0.85rem;
}

body.page-platform-settings .erp-offer-summary__metrics {
    grid-template-columns: repeat(4, minmax(8.5rem, 1fr));
    min-width: min(100%, 32rem);
}

body.page-platform-settings .erp-summary-metric,
body.page-platform-settings .erp-summary-card {
    background: #ffffff;
    border: 1px solid #deeaed;
    border-radius: 1rem;
    box-shadow: 0 12px 28px rgba(29, 77, 91, 0.05);
    padding: 0.95rem 1rem;
}

body.page-platform-settings .erp-summary-metric span,
body.page-platform-settings .erp-summary-card__label {
    color: #6c858b;
    display: block;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    margin-bottom: 0.3rem;
    text-transform: uppercase;
}

body.page-platform-settings .erp-summary-metric strong,
body.page-platform-settings .erp-summary-card__value,
body.page-platform-settings .erp-summary-card__link {
    color: #234d59;
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
}

body.page-platform-settings .erp-offer-summary__grid {
    grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
}

body.page-platform-settings .erp-settings-summary__code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 0.84rem;
}

/* OpenRouter credit card — colour the left border + the amount value
   based on remaining balance. ok ≥ $5, low $1-$5, critical < $1. */
body.page-platform-settings .erp-settings-summary__credit-card {
    border-left: 4px solid #c7d4d9;
}
body.page-platform-settings .erp-settings-summary__credit-card--ok {
    border-left-color: #247b52;
}
body.page-platform-settings .erp-settings-summary__credit-card--ok .erp-summary-card__value {
    color: #247b52;
}
body.page-platform-settings .erp-settings-summary__credit-card--low {
    border-left-color: #d09a24;
}
body.page-platform-settings .erp-settings-summary__credit-card--low .erp-summary-card__value {
    color: #8a6700;
}
body.page-platform-settings .erp-settings-summary__credit-card--critical {
    border-left-color: #a23a4c;
}
body.page-platform-settings .erp-settings-summary__credit-card--critical .erp-summary-card__value {
    color: #a23a4c;
}
body.page-platform-settings .erp-settings-summary__credit-card--error,
body.page-platform-settings .erp-settings-summary__credit-card--unknown,
body.page-platform-settings .erp-settings-summary__credit-card--not-configured {
    border-left-color: #c7d4d9;
}
body.page-platform-settings .erp-settings-summary__credit-card--error .erp-summary-card__value,
body.page-platform-settings .erp-settings-summary__credit-card--not-configured .erp-summary-card__value {
    color: #69808f;
}

body.page-platform-settings .erp-settings-branding-preview {
    background: linear-gradient(180deg, #ffffff 0%, #f5fafb 100%);
    border: 1px solid #d9e8ec;
    border-radius: 1.15rem;
    box-shadow: 0 14px 30px rgba(29, 77, 91, 0.08);
    margin-bottom: 1rem;
    padding: 1.15rem;
}

body.page-platform-settings .erp-settings-branding-preview__header {
    align-items: flex-start;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-bottom: 1rem;
}

body.page-platform-settings .erp-settings-branding-preview__eyebrow {
    color: #7a8f95;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin: 0 0 0.35rem;
    text-transform: uppercase;
}

body.page-platform-settings .erp-settings-branding-preview__title {
    color: #204d5a;
    font-size: 1.2rem;
    font-weight: 800;
    margin: 0;
}

body.page-platform-settings .erp-settings-branding-preview__description {
    color: #6a8289;
    margin: 0;
    max-width: 28rem;
}

body.page-platform-settings .erp-settings-branding-preview__grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

body.page-platform-settings .erp-settings-branding-card {
    background: #ffffff;
    border: 1px solid #dbe7ea;
    border-radius: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    min-height: 100%;
    padding: 1rem;
}

body.page-platform-settings .erp-settings-branding-card--empty {
    background: #fcfdfd;
}

body.page-platform-settings .erp-settings-branding-card__topline {
    align-items: flex-start;
    display: flex;
    gap: 0.75rem;
    justify-content: space-between;
}

body.page-platform-settings .erp-settings-branding-card__label {
    color: #204d5a;
    font-size: 0.95rem;
    font-weight: 800;
    margin: 0 0 0.2rem;
}

body.page-platform-settings .erp-settings-branding-card__hint {
    color: #738a91;
    margin: 0;
}

body.page-platform-settings .erp-settings-branding-card__field .form-group {
    margin-bottom: 0;
}

body.page-platform-settings .erp-settings-branding-card__footer {
    align-items: center;
    display: flex;
    gap: 0.9rem;
    justify-content: space-between;
}

body.page-platform-settings .erp-settings-branding-card__meta {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

body.page-platform-settings .erp-settings-branding-card__meta strong {
    color: #234d59;
    font-size: 0.92rem;
    line-height: 1.35;
}

body.page-platform-settings .erp-settings-branding-card__meta span,
body.page-platform-settings .erp-settings-branding-card__empty-copy {
    color: #738a91;
    font-size: 0.84rem;
    margin: 0;
}

body.page-platform-settings .erp-settings-branding-card__field [data-controller="picture"] .picture-actions {
    background: #fbfdfd;
    border: 1px solid #dce8eb;
    border-radius: 1rem;
    padding: 1rem;
}

body.page-platform-settings .erp-settings-branding-card__field [data-controller="picture"] .fields-picture-container {
    align-items: center;
    display: flex;
    justify-content: flex-start;
    margin-bottom: 0.5rem;
    min-height: 6.5rem;
}

body.page-platform-settings .erp-settings-branding-card__field [data-controller="picture"] .picture-preview {
    background: #ffffff;
    border: 1px solid #dce8eb !important;
    border-radius: 0.9rem;
    box-shadow: 0 12px 28px rgba(29, 77, 91, 0.08);
    max-height: 7rem;
    max-width: min(100%, 22rem);
    object-fit: contain;
    width: auto;
}

body.page-platform-settings .erp-settings-branding-card__field [data-controller="picture"] .picture-actions > span {
    color: #6f878d;
    float: none !important;
    font-size: 0.84rem;
    font-weight: 700;
    margin-bottom: 0.65rem;
}

body.page-platform-settings .erp-settings-branding-card__field [data-controller="picture"] .btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

body.page-platform-settings .erp-settings-branding-card__field [data-controller="picture"] .btn-group .btn {
    border-radius: 0.8rem;
}

body.page-platform-settings fieldset[data-async] > .col {
    padding-left: 0.25rem !important;
    padding-right: 0.25rem !important;
}

body.page-platform-settings fieldset[data-async] > .col > legend {
    color: #2a6170 !important;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin-bottom: 0.6rem;
    text-transform: uppercase;
}

body.page-platform-settings fieldset[data-async] > .bg-white.rounded.shadow-sm {
    border: 1px solid #deeaed;
    border-radius: 1rem !important;
    box-shadow: 0 12px 28px rgba(29, 77, 91, 0.05) !important;
    padding: 1rem 1.1rem !important;
}

body.page-platform-settings fieldset[data-async] .d2-grid {
    gap: 1rem;
}

body.page-platform-settings fieldset[data-async] .d2-grid dt {
    color: #6c858b !important;
    font-size: 0.78rem;
    font-weight: 800 !important;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

body.page-platform-settings fieldset[data-async] .d2-grid dd {
    color: #234d59;
    font-weight: 700;
}

body.page-platform-settings .form-control,
body.page-platform-settings .form-select,
body.page-platform-settings [data-controller="picture"] .picture,
body.page-platform-settings [data-controller="relation"] .ts-control {
    border-radius: 0.9rem;
    min-height: 2.9rem;
}

body.page-platform-settings .erp-settings-action {
    align-items: center;
    border-radius: 0.9rem !important;
    display: inline-flex;
    font-weight: 800 !important;
    gap: 0.45rem;
    justify-content: center;
    min-height: 2.9rem;
    padding: 0.75rem 1rem !important;
    text-decoration: none !important;
}

body.page-platform-settings .erp-settings-action--primary {
    background: linear-gradient(180deg, #2d7a90 0%, #205f73 100%) !important;
    border: 1px solid #24667a !important;
    box-shadow: 0 10px 22px rgba(36, 102, 122, 0.18);
    color: #ffffff !important;
}

body.page-platform-settings .erp-settings-action--primary:hover,
body.page-platform-settings .erp-settings-action--primary:focus {
    background: linear-gradient(180deg, #38879d 0%, #27697d 100%) !important;
    color: #ffffff !important;
}

body.page-platform-settings .erp-settings-action--secondary {
    background: #ffffff !important;
    border: 1px solid #d4e4e8 !important;
    box-shadow: 0 10px 20px rgba(29, 77, 91, 0.08);
    color: #2c6472 !important;
}

body.page-platform-settings .erp-settings-action--secondary:hover,
body.page-platform-settings .erp-settings-action--secondary:focus {
    background: #f6fbfc !important;
    color: #234d59 !important;
}

body.page-platform-settings .erp-settings-status {
    border-radius: 999px;
    display: inline-flex;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    padding: 0.36rem 0.72rem;
    text-transform: uppercase;
}

body.page-platform-settings .erp-settings-status--ok {
    background: #daf4e5;
    color: #17633d;
}

body.page-platform-settings .erp-settings-status--error {
    background: #fde1e6;
    color: #9a2646;
}

body.page-platform-settings .erp-empty-state {
    background: #fffaf4;
    border: 1px solid #eee0cf;
    border-radius: 1rem;
    box-shadow: 0 12px 28px rgba(29, 77, 91, 0.05);
    margin-bottom: 1rem;
    padding: 1rem 1.1rem;
}

body.page-platform-settings .erp-empty-state__title {
    color: #214a58;
    font-size: 1rem;
    font-weight: 800;
    margin: 0 0 0.35rem;
}

body.page-platform-settings .erp-empty-state__description {
    color: #6d858c;
    margin: 0;
}

body.page-platform-settings .modal[id^="screen-modal-"] .modal-content {
    background:
        radial-gradient(circle at top right, rgba(36, 102, 122, 0.12), transparent 24%),
        linear-gradient(180deg, #ffffff 0%, #f6fbfc 100%);
    border: 1px solid #d9e8ec;
    border-radius: 1.15rem;
    box-shadow: 0 22px 44px rgba(29, 77, 91, 0.16);
}

body.page-platform-settings .modal[id^="screen-modal-"] .modal-header {
    background: linear-gradient(180deg, #ffffff 0%, #edf6f8 100%);
    border-bottom: 1px solid #d9e8ec;
}

body.page-platform-settings .modal[id^="screen-modal-"] .modal-body .row {
    background: #ffffff;
    border: 1px solid #deeaed;
    border-radius: 1rem;
    box-shadow: 0 12px 28px rgba(29, 77, 91, 0.05);
    margin-bottom: 0.85rem;
    padding: 0.95rem 1rem 0.15rem;
}

body.page-platform-settings .modal[id^="screen-modal-"] .modal-body .col-form-label {
    color: #6c858b;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

body.page-platform-settings .modal[id^="screen-modal-"] .modal-body .form-control {
    border: 1px solid #d7e6ea;
    border-radius: 0.9rem;
    min-height: 2.9rem;
}

body.page-platform-settings .modal[id^="screen-modal-"] .erp-create-modal-intro {
    background: linear-gradient(135deg, #f6fbfc 0%, #eaf4f6 100%);
    border: 1px solid #d9e8ec;
    border-radius: 1rem;
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.04);
    margin-bottom: 0.95rem;
    padding: 1rem 1.05rem;
}

body.page-platform-settings .modal[id^="screen-modal-"] .modal-footer {
    border-top: 1px solid #d9e8ec;
}

body.page-platform-settings .modal[id^="screen-modal-"] .btn-default {
    background: linear-gradient(180deg, #2d7a90 0%, #205f73 100%) !important;
    border: 1px solid #24667a !important;
    border-radius: 0.9rem !important;
    box-shadow: 0 10px 22px rgba(36, 102, 122, 0.18);
    color: #ffffff !important;
    font-weight: 800 !important;
    min-height: 2.9rem;
    padding: 0.72rem 1rem !important;
}

body.page-platform-settings .modal[id^="screen-modal-"] .btn-default * {
    color: #ffffff !important;
}

@media (max-width: 992px) {
    body.page-platform-order-edit .erp-order-edit-summary__hero,
    body.page-platform-settings .erp-offer-summary__hero,
    body.page-platform-company-edit .erp-master-edit-summary__hero,
    body.page-platform-maincompany-edit .erp-master-edit-summary__hero,
    body.page-platform-company-card .erp-master-edit-summary__hero,
    body.page-platform-supplier-edit .erp-supplier-summary__hero,
    body.page-platform-supplier-card .erp-supplier-summary__hero,
    body.page-platform-buyer-edit .erp-buyer-summary__hero,
    body.page-platform-buyer-card .erp-buyer-summary__hero,
    body.page-platform-contact-edit .erp-contact-summary__hero,
    body.page-platform-contact-card .erp-contact-summary__hero,
    body.page-platform-program-edit .erp-program-summary__hero,
    body.page-platform-program-card .erp-program-summary__hero {
        flex-direction: column;
    }

    body.page-platform-order-edit .erp-order-edit-summary__metrics,
    body.page-platform-settings .erp-offer-summary__metrics,
    body.page-platform-company-edit .erp-master-edit-summary__metrics,
    body.page-platform-maincompany-edit .erp-master-edit-summary__metrics,
    body.page-platform-company-card .erp-master-edit-summary__metrics,
    body.page-platform-supplier-edit .erp-supplier-summary__metrics,
    body.page-platform-supplier-card .erp-supplier-summary__metrics,
    body.page-platform-buyer-edit .erp-buyer-summary__metrics,
    body.page-platform-buyer-card .erp-buyer-summary__metrics,
    body.page-platform-contact-edit .erp-contact-summary__metrics,
    body.page-platform-contact-card .erp-contact-summary__metrics,
    body.page-platform-program-edit .erp-program-summary__metrics,
    body.page-platform-program-card .erp-program-summary__metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
    }

    body.page-platform-settings .erp-settings-branding-preview__header,
    body.page-platform-settings .erp-settings-branding-card__footer {
        align-items: flex-start;
        flex-direction: column;
    }

    body.page-platform-company-edit .erp-section-heading,
    body.page-platform-maincompany-edit .erp-section-heading,
    body.page-platform-company-card .erp-section-heading,
    body.page-platform-supplier-edit .erp-section-heading,
    body.page-platform-supplier-card .erp-section-heading,
    body.page-platform-buyer-edit .erp-section-heading,
    body.page-platform-buyer-card .erp-section-heading,
    body.page-platform-contact-edit .erp-section-heading,
    body.page-platform-contact-card .erp-section-heading,
    body.page-platform-program-edit .erp-section-heading,
    body.page-platform-program-card .erp-section-heading {
        padding-left: 0.1rem;
        padding-right: 0.1rem;
    }
}

body.page-platform-company-edit .erp-master-edit-summary,
body.page-platform-maincompany-edit .erp-master-edit-summary {
    border-radius: 1.2rem;
    box-shadow: 0 16px 34px rgba(38, 69, 96, 0.08);
    margin: 0 0 1rem;
    padding: 1.25rem;
}

body.page-platform-company-edit .erp-master-edit-summary {
    background: linear-gradient(135deg, #f5f9fd 0%, #ffffff 58%, #e6eff8 100%);
    border: 1px solid #d7e3ef;
}

body.page-platform-maincompany-edit .erp-master-edit-summary {
    background: linear-gradient(135deg, #f4fbfa 0%, #ffffff 58%, #e1f3f0 100%);
    border: 1px solid #d3e8e2;
}

body.page-platform-company-edit .erp-master-edit-summary__hero,
body.page-platform-maincompany-edit .erp-master-edit-summary__hero {
    align-items: flex-start;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-bottom: 1rem;
}

body.page-platform-company-edit .erp-master-edit-summary__eyebrow,
body.page-platform-maincompany-edit .erp-master-edit-summary__eyebrow {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin: 0 0 0.35rem;
    text-transform: uppercase;
}

body.page-platform-company-edit .erp-master-edit-summary__eyebrow {
    color: #577792;
}

body.page-platform-maincompany-edit .erp-master-edit-summary__eyebrow {
    color: #2e7b75;
}

body.page-platform-company-edit .erp-master-edit-summary__title,
body.page-platform-maincompany-edit .erp-master-edit-summary__title {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0;
}

body.page-platform-company-edit .erp-master-edit-summary__title {
    color: #234463;
}

body.page-platform-maincompany-edit .erp-master-edit-summary__title {
    color: #1f5b56;
}

body.page-platform-company-edit .erp-master-edit-summary__description,
body.page-platform-maincompany-edit .erp-master-edit-summary__description {
    line-height: 1.55;
    margin: 0.55rem 0 0;
    max-width: 54rem;
}

body.page-platform-company-edit .erp-master-edit-summary__description {
    color: #647b90;
}

body.page-platform-maincompany-edit .erp-master-edit-summary__description {
    color: #597a77;
}

body.page-platform-company-edit .erp-master-edit-summary__badges,
body.page-platform-maincompany-edit .erp-master-edit-summary__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 0.8rem;
}

body.page-platform-company-edit .erp-status-pill,
body.page-platform-maincompany-edit .erp-status-pill {
    align-items: center;
    border-radius: 999px;
    display: inline-flex;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 0.38rem 0.75rem;
    text-transform: uppercase;
}

body.page-platform-company-edit .erp-status-pill--success,
body.page-platform-maincompany-edit .erp-status-pill--success {
    background: #daf4e5;
    color: #17633d;
}

body.page-platform-company-edit .erp-status-pill--warning,
body.page-platform-maincompany-edit .erp-status-pill--warning {
    background: #fff0cc;
    color: #8c5a00;
}

body.page-platform-company-edit .erp-status-pill--neutral {
    background: #e8f0f8;
    color: #466784;
}

body.page-platform-maincompany-edit .erp-status-pill--neutral {
    background: #dff2ef;
    color: #1f6b65;
}

body.page-platform-company-edit .erp-master-edit-summary__metrics,
body.page-platform-company-edit .erp-master-edit-summary__grid,
body.page-platform-maincompany-edit .erp-master-edit-summary__metrics,
body.page-platform-maincompany-edit .erp-master-edit-summary__grid {
    display: grid;
    gap: 0.85rem;
}

body.page-platform-company-edit .erp-master-edit-summary__metrics,
body.page-platform-maincompany-edit .erp-master-edit-summary__metrics {
    grid-template-columns: repeat(2, minmax(10rem, 1fr));
    min-width: min(100%, 25rem);
}

body.page-platform-company-edit .erp-master-edit-summary__grid,
body.page-platform-maincompany-edit .erp-master-edit-summary__grid {
    grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
}

body.page-platform-company-edit .erp-summary-metric,
body.page-platform-company-edit .erp-summary-card,
body.page-platform-maincompany-edit .erp-summary-metric,
body.page-platform-maincompany-edit .erp-summary-card {
    background: rgba(255, 255, 255, 0.84);
    border-radius: 1rem;
    padding: 0.9rem 1rem;
}

body.page-platform-company-edit .erp-summary-metric,
body.page-platform-company-edit .erp-summary-card {
    border: 1px solid #dce8f1;
}

body.page-platform-maincompany-edit .erp-summary-metric,
body.page-platform-maincompany-edit .erp-summary-card {
    border: 1px solid #d8ebe7;
}

body.page-platform-company-edit .erp-summary-metric span,
body.page-platform-company-edit .erp-summary-card__label,
body.page-platform-maincompany-edit .erp-summary-metric span,
body.page-platform-maincompany-edit .erp-summary-card__label {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    margin-bottom: 0.35rem;
    text-transform: uppercase;
}

body.page-platform-company-edit .erp-summary-metric span,
body.page-platform-company-edit .erp-summary-card__label {
    color: #668196;
}

body.page-platform-maincompany-edit .erp-summary-metric span,
body.page-platform-maincompany-edit .erp-summary-card__label {
    color: #62827f;
}

body.page-platform-company-edit .erp-summary-metric strong,
body.page-platform-company-edit .erp-summary-card__value,
body.page-platform-company-edit .erp-summary-card__link,
body.page-platform-maincompany-edit .erp-summary-metric strong,
body.page-platform-maincompany-edit .erp-summary-card__value,
body.page-platform-maincompany-edit .erp-summary-card__link {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
}

body.page-platform-company-edit .erp-summary-metric strong,
body.page-platform-company-edit .erp-summary-card__value,
body.page-platform-company-edit .erp-summary-card__link {
    color: #234463;
}

body.page-platform-maincompany-edit .erp-summary-metric strong,
body.page-platform-maincompany-edit .erp-summary-card__value,
body.page-platform-maincompany-edit .erp-summary-card__link {
    color: #1f5b56;
}

body.page-platform-company-edit .erp-summary-card__link:hover {
    color: #3f75a1;
}

body.page-platform-maincompany-edit .erp-summary-card__link:hover {
    color: #218077;
}

body.page-platform-company-edit fieldset[data-async] > .col,
body.page-platform-maincompany-edit fieldset[data-async] > .col {
    padding-left: 0.25rem !important;
    padding-right: 0.25rem !important;
}

body.page-platform-company-edit fieldset[data-async] > .col > legend,
body.page-platform-maincompany-edit fieldset[data-async] > .col > legend {
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin-bottom: 0.6rem;
    text-transform: uppercase;
}

body.page-platform-company-edit fieldset[data-async] > .col > legend {
    color: #56738d !important;
}

body.page-platform-maincompany-edit fieldset[data-async] > .col > legend {
    color: #2c756f !important;
}

body.page-platform-company-edit fieldset[data-async] > .bg-white.rounded.shadow-sm,
body.page-platform-maincompany-edit fieldset[data-async] > .bg-white.rounded.shadow-sm {
    border-radius: 1rem !important;
    box-shadow: 0 12px 28px rgba(35, 68, 99, 0.05) !important;
    padding: 1rem 1.1rem !important;
}

body.page-platform-company-edit fieldset[data-async] > .bg-white.rounded.shadow-sm {
    border: 1px solid #dce8f1;
}

body.page-platform-maincompany-edit fieldset[data-async] > .bg-white.rounded.shadow-sm {
    border: 1px solid #d9ece8;
}

body.page-platform-company-edit .form-control,
body.page-platform-company-edit .form-select,
body.page-platform-company-edit [data-controller="relation"] .ts-control,
body.page-platform-maincompany-edit .form-control,
body.page-platform-maincompany-edit .form-select,
body.page-platform-maincompany-edit [data-controller="relation"] .ts-control {
    border-radius: 0.9rem;
    min-height: 2.9rem;
}

body.page-platform-company-edit .screen-actions,
body.page-platform-maincompany-edit .screen-actions {
    margin-bottom: 1rem;
}

body.page-platform-company-edit .erp-master-edit-action,
body.page-platform-maincompany-edit .erp-master-edit-action {
    align-items: center;
    border-radius: 0.9rem !important;
    display: inline-flex;
    font-weight: 800 !important;
    gap: 0.45rem;
    min-height: 2.9rem;
    padding: 0.75rem 1rem !important;
    text-decoration: none !important;
}

body.page-platform-company-edit .erp-master-edit-action--primary,
body.page-platform-maincompany-edit .erp-master-edit-action--primary {
    color: #ffffff !important;
}

body.page-platform-company-edit .erp-master-edit-action--primary {
    background: linear-gradient(180deg, #5280ab 0%, #3d6a93 100%) !important;
    border: 1px solid #47759f !important;
    box-shadow: 0 10px 22px rgba(61, 106, 147, 0.18);
}

body.page-platform-maincompany-edit .erp-master-edit-action--primary {
    background: linear-gradient(180deg, #2e8f86 0%, #23766f 100%) !important;
    border: 1px solid #277f77 !important;
    box-shadow: 0 10px 22px rgba(35, 118, 111, 0.18);
}

body.page-platform-company-edit .erp-master-edit-action--primary:hover,
body.page-platform-company-edit .erp-master-edit-action--primary:focus {
    background: linear-gradient(180deg, #5d8db8 0%, #47759f 100%) !important;
}

body.page-platform-maincompany-edit .erp-master-edit-action--primary:hover,
body.page-platform-maincompany-edit .erp-master-edit-action--primary:focus {
    background: linear-gradient(180deg, #39a096 0%, #2b8179 100%) !important;
}

body.page-platform-company-edit .erp-master-edit-action--secondary,
body.page-platform-maincompany-edit .erp-master-edit-action--secondary {
    background: #ffffff !important;
    box-shadow: 0 10px 20px rgba(35, 68, 99, 0.08);
}

body.page-platform-company-edit .erp-master-edit-action--secondary {
    border: 1px solid #cfe0ec !important;
    color: #3f6a8f !important;
}

body.page-platform-maincompany-edit .erp-master-edit-action--secondary {
    border: 1px solid #cfe6e1 !important;
    color: #2a756f !important;
}

body.page-platform-company-edit .erp-master-edit-action--secondary:hover,
body.page-platform-company-edit .erp-master-edit-action--secondary:focus {
    background: #f7fbfe !important;
    color: #315b80 !important;
}

body.page-platform-maincompany-edit .erp-master-edit-action--secondary:hover,
body.page-platform-maincompany-edit .erp-master-edit-action--secondary:focus {
    background: #f5fbfa !important;
    color: #205f59 !important;
}

body.page-platform-company-edit .erp-section-heading,
body.page-platform-maincompany-edit .erp-section-heading {
    margin: 1rem 0 0.7rem;
}

body.page-platform-company-edit .erp-section-heading__eyebrow,
body.page-platform-maincompany-edit .erp-section-heading__eyebrow {
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin: 0 0 0.3rem;
    text-transform: uppercase;
}

body.page-platform-company-edit .erp-section-heading__eyebrow {
    color: #62809a;
}

body.page-platform-maincompany-edit .erp-section-heading__eyebrow {
    color: #4b7b76;
}

body.page-platform-company-edit .erp-section-heading__title,
body.page-platform-maincompany-edit .erp-section-heading__title {
    font-size: 1.1rem;
    font-weight: 800;
    margin: 0;
}

body.page-platform-company-edit .erp-section-heading__title {
    color: #254664;
}

body.page-platform-maincompany-edit .erp-section-heading__title {
    color: #215e59;
}

body.page-platform-company-edit .erp-section-heading__description,
body.page-platform-maincompany-edit .erp-section-heading__description {
    margin: 0.35rem 0 0;
    max-width: 52rem;
}

body.page-platform-company-edit .erp-section-heading__description {
    color: #698398;
}

body.page-platform-maincompany-edit .erp-section-heading__description {
    color: #617d7a;
}

body.page-platform-company-edit .erp-empty-state,
body.page-platform-maincompany-edit .erp-empty-state {
    border-radius: 1rem;
    box-shadow: 0 12px 28px rgba(35, 68, 99, 0.05);
    margin-bottom: 1rem;
    padding: 1rem 1.1rem;
}

body.page-platform-company-edit .erp-empty-state {
    background: #f7fbfe;
    border: 1px solid #dce8f1;
}

body.page-platform-maincompany-edit .erp-empty-state {
    background: #f5fbfa;
    border: 1px solid #d9ece8;
}

body.page-platform-company-edit .erp-empty-state__title,
body.page-platform-maincompany-edit .erp-empty-state__title {
    font-size: 1rem;
    font-weight: 800;
    margin: 0 0 0.35rem;
}

body.page-platform-company-edit .erp-empty-state__title {
    color: #244563;
}

body.page-platform-maincompany-edit .erp-empty-state__title {
    color: #215e59;
}

body.page-platform-company-edit .erp-empty-state__description {
    color: #698398;
    margin: 0;
}

body.page-platform-maincompany-edit .erp-empty-state__description {
    color: #627e7b;
    margin: 0;
}

body.page-platform-company-card .erp-master-edit-summary {
    background: linear-gradient(135deg, #f5f9fd 0%, #ffffff 58%, #e6eff8 100%);
    border: 1px solid #d7e3ef;
    border-radius: 1.2rem;
    box-shadow: 0 16px 34px rgba(38, 69, 96, 0.08);
    margin: 0 0 1rem;
    padding: 1.25rem;
}

body.page-platform-company-card .erp-master-edit-summary__hero {
    align-items: flex-start;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-bottom: 1rem;
}

body.page-platform-company-card .erp-master-edit-summary__eyebrow {
    color: #577792;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin: 0 0 0.35rem;
    text-transform: uppercase;
}

body.page-platform-company-card .erp-master-edit-summary__title {
    color: #234463;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0;
}

body.page-platform-company-card .erp-master-edit-summary__description {
    color: #647b90;
    line-height: 1.55;
    margin: 0.55rem 0 0;
    max-width: 54rem;
}

body.page-platform-company-card .erp-master-edit-summary__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 0.8rem;
}

body.page-platform-company-card .erp-status-pill {
    align-items: center;
    border-radius: 999px;
    display: inline-flex;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 0.38rem 0.75rem;
    text-transform: uppercase;
}

body.page-platform-company-card .erp-status-pill--warning {
    background: #fff0cc;
    color: #8c5a00;
}

body.page-platform-company-card .erp-status-pill--neutral {
    background: #e8f0f8;
    color: #466784;
}

body.page-platform-company-card .erp-master-edit-summary__metrics,
body.page-platform-company-card .erp-master-edit-summary__grid {
    display: grid;
    gap: 0.85rem;
}

body.page-platform-company-card .erp-master-edit-summary__metrics {
    grid-template-columns: repeat(2, minmax(10rem, 1fr));
    min-width: min(100%, 25rem);
}

body.page-platform-company-card .erp-master-edit-summary__grid {
    grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
}

body.page-platform-company-card .erp-summary-metric,
body.page-platform-company-card .erp-summary-card {
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid #dce8f1;
    border-radius: 1rem;
    padding: 0.9rem 1rem;
}

body.page-platform-company-card .erp-summary-metric span,
body.page-platform-company-card .erp-summary-card__label {
    color: #668196;
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    margin-bottom: 0.35rem;
    text-transform: uppercase;
}

body.page-platform-company-card .erp-summary-metric strong,
body.page-platform-company-card .erp-summary-card__value,
body.page-platform-company-card .erp-summary-card__link {
    color: #234463;
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
}

body.page-platform-company-card .erp-summary-card__link:hover {
    color: #3f75a1;
}

body.page-platform-company-card .screen-actions {
    margin-bottom: 1rem;
}

body.page-platform-company-card .erp-master-edit-action {
    align-items: center;
    border-radius: 0.9rem !important;
    display: inline-flex;
    font-weight: 800 !important;
    gap: 0.45rem;
    min-height: 2.9rem;
    padding: 0.75rem 1rem !important;
    text-decoration: none !important;
}

body.page-platform-company-card .erp-master-edit-action--primary {
    background: linear-gradient(180deg, #5280ab 0%, #3d6a93 100%) !important;
    border: 1px solid #47759f !important;
    box-shadow: 0 10px 22px rgba(61, 106, 147, 0.18);
    color: #ffffff !important;
}

body.page-platform-company-card .erp-master-edit-action--primary:hover,
body.page-platform-company-card .erp-master-edit-action--primary:focus {
    background: linear-gradient(180deg, #5d8db8 0%, #47759f 100%) !important;
    color: #ffffff !important;
}

body.page-platform-company-card .erp-section-heading {
    margin: 1rem 0 0.7rem;
}

body.page-platform-company-card .erp-section-heading__eyebrow {
    color: #62809a;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin: 0 0 0.3rem;
    text-transform: uppercase;
}

body.page-platform-company-card .erp-section-heading__title {
    color: #254664;
    font-size: 1.1rem;
    font-weight: 800;
    margin: 0;
}

body.page-platform-company-card .erp-section-heading__description {
    color: #698398;
    margin: 0.35rem 0 0;
    max-width: 52rem;
}

body.page-platform-company-card fieldset[data-async] > .col {
    padding-left: 0.25rem !important;
    padding-right: 0.25rem !important;
}

body.page-platform-company-card fieldset[data-async] > .col > legend {
    color: #56738d !important;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin-bottom: 0.6rem;
    text-transform: uppercase;
}

body.page-platform-company-card fieldset[data-async] > .bg-white.rounded.shadow-sm {
    border: 1px solid #dce8f1;
    border-radius: 1rem !important;
    box-shadow: 0 12px 28px rgba(35, 68, 99, 0.05) !important;
    padding: 1rem 1.1rem !important;
}

body.page-platform-company-card fieldset[data-async] .d2-grid {
    gap: 1rem;
}

body.page-platform-company-card fieldset[data-async] .d2-grid dt {
    color: #668196 !important;
    font-size: 0.78rem;
    font-weight: 800 !important;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

body.page-platform-company-card fieldset[data-async] .d2-grid dd {
    color: #234463;
    font-weight: 700;
}

body.page-platform-company-card .erp-company-detail-tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

body.page-platform-company-card .erp-company-detail-tag {
    background: #edf4fb;
    border: 1px solid #d3e2f0;
    border-radius: 999px;
    color: #335d82;
    display: inline-flex;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    padding: 0.36rem 0.68rem;
}

body.page-platform-company-card .erp-company-detail-empty {
    color: #7890a2;
    font-weight: 600;
}

body.page-platform-supplier-edit .erp-supplier-summary,
body.page-platform-supplier-card .erp-supplier-summary {
    background: linear-gradient(135deg, #fcf8ef 0%, #ffffff 58%, #f3ebd7 100%);
    border: 1px solid #eadfc6;
    border-radius: 1.2rem;
    box-shadow: 0 16px 34px rgba(112, 82, 21, 0.08);
    margin: 0 0 1rem;
    padding: 1.25rem;
}

body.page-platform-supplier-edit .erp-supplier-summary__hero,
body.page-platform-supplier-card .erp-supplier-summary__hero {
    align-items: flex-start;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-bottom: 1rem;
}

body.page-platform-supplier-edit .erp-supplier-summary__eyebrow,
body.page-platform-supplier-card .erp-supplier-summary__eyebrow {
    color: #8a6a22;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin: 0 0 0.35rem;
    text-transform: uppercase;
}

body.page-platform-supplier-edit .erp-supplier-summary__title,
body.page-platform-supplier-card .erp-supplier-summary__title {
    color: #5f4610;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0;
}

body.page-platform-supplier-edit .erp-supplier-summary__description,
body.page-platform-supplier-card .erp-supplier-summary__description {
    color: #7c6a47;
    line-height: 1.55;
    margin: 0.55rem 0 0;
    max-width: 54rem;
}

body.page-platform-supplier-edit .erp-supplier-summary__badges,
body.page-platform-supplier-card .erp-supplier-summary__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 0.8rem;
}

body.page-platform-supplier-edit .erp-status-pill,
body.page-platform-supplier-card .erp-status-pill {
    align-items: center;
    border-radius: 999px;
    display: inline-flex;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 0.38rem 0.75rem;
    text-transform: uppercase;
}

body.page-platform-supplier-edit .erp-status-pill--success,
body.page-platform-supplier-card .erp-status-pill--success {
    background: #daf4e5;
    color: #17633d;
}

body.page-platform-supplier-edit .erp-status-pill--warning,
body.page-platform-supplier-card .erp-status-pill--warning {
    background: #fff0cc;
    color: #8c5a00;
}

body.page-platform-supplier-edit .erp-status-pill--neutral,
body.page-platform-supplier-card .erp-status-pill--neutral {
    background: #f7ead2;
    color: #886720;
}

body.page-platform-supplier-edit .erp-supplier-summary__metrics,
body.page-platform-supplier-edit .erp-supplier-summary__grid,
body.page-platform-supplier-card .erp-supplier-summary__metrics,
body.page-platform-supplier-card .erp-supplier-summary__grid {
    display: grid;
    gap: 0.85rem;
}

body.page-platform-supplier-edit .erp-supplier-summary__metrics,
body.page-platform-supplier-card .erp-supplier-summary__metrics {
    grid-template-columns: repeat(2, minmax(10rem, 1fr));
    min-width: min(100%, 25rem);
}

body.page-platform-supplier-edit .erp-supplier-summary__grid,
body.page-platform-supplier-card .erp-supplier-summary__grid {
    grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
}

body.page-platform-supplier-edit .erp-summary-metric,
body.page-platform-supplier-edit .erp-summary-card,
body.page-platform-supplier-card .erp-summary-metric,
body.page-platform-supplier-card .erp-summary-card {
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid #ebdfc5;
    border-radius: 1rem;
    padding: 0.9rem 1rem;
}

body.page-platform-supplier-edit .erp-summary-metric span,
body.page-platform-supplier-edit .erp-summary-card__label,
body.page-platform-supplier-card .erp-summary-metric span,
body.page-platform-supplier-card .erp-summary-card__label {
    color: #8a7851;
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    margin-bottom: 0.35rem;
    text-transform: uppercase;
}

body.page-platform-supplier-edit .erp-summary-metric strong,
body.page-platform-supplier-edit .erp-summary-card__value,
body.page-platform-supplier-edit .erp-summary-card__link,
body.page-platform-supplier-card .erp-summary-metric strong,
body.page-platform-supplier-card .erp-summary-card__value,
body.page-platform-supplier-card .erp-summary-card__link {
    color: #5f4610;
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
}

body.page-platform-supplier-edit .erp-summary-card__link:hover,
body.page-platform-supplier-card .erp-summary-card__link:hover {
    color: #a97917;
}

body.page-platform-supplier-edit fieldset[data-async] > .col,
body.page-platform-supplier-card fieldset[data-async] > .col {
    padding-left: 0.25rem !important;
    padding-right: 0.25rem !important;
}

body.page-platform-supplier-edit fieldset[data-async] > .col > legend,
body.page-platform-supplier-card fieldset[data-async] > .col > legend {
    color: #8a6a22 !important;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin-bottom: 0.6rem;
    text-transform: uppercase;
}

body.page-platform-supplier-edit fieldset[data-async] > .bg-white.rounded.shadow-sm,
body.page-platform-supplier-card fieldset[data-async] > .bg-white.rounded.shadow-sm {
    border: 1px solid #ebdfc5;
    border-radius: 1rem !important;
    box-shadow: 0 12px 28px rgba(112, 82, 21, 0.05) !important;
    padding: 1rem 1.1rem !important;
}

body.page-platform-supplier-edit fieldset[data-async] .d2-grid,
body.page-platform-supplier-card fieldset[data-async] .d2-grid {
    gap: 1rem;
}

body.page-platform-supplier-edit fieldset[data-async] .d2-grid dt,
body.page-platform-supplier-card fieldset[data-async] .d2-grid dt {
    color: #8a7851 !important;
    font-size: 0.78rem;
    font-weight: 800 !important;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

body.page-platform-supplier-edit fieldset[data-async] .d2-grid dd,
body.page-platform-supplier-card fieldset[data-async] .d2-grid dd {
    color: #5f4610;
    font-weight: 700;
}

body.page-platform-supplier-edit .form-control,
body.page-platform-supplier-edit .form-select,
body.page-platform-supplier-card .form-control,
body.page-platform-supplier-card .form-select {
    border-radius: 0.9rem;
    min-height: 2.9rem;
}

body.page-platform-supplier-edit .screen-actions,
body.page-platform-supplier-card .screen-actions {
    margin-bottom: 1rem;
}

body.page-platform-supplier-edit .erp-supplier-edit-action,
body.page-platform-supplier-card .erp-supplier-edit-action {
    align-items: center;
    border-radius: 0.9rem !important;
    display: inline-flex;
    font-weight: 800 !important;
    gap: 0.45rem;
    min-height: 2.9rem;
    padding: 0.75rem 1rem !important;
    text-decoration: none !important;
}

body.page-platform-supplier-edit .erp-supplier-edit-action--primary,
body.page-platform-supplier-card .erp-supplier-edit-action--primary {
    background: linear-gradient(180deg, #c79a3a 0%, #ac7f23 100%) !important;
    border: 1px solid #b7892b !important;
    box-shadow: 0 10px 22px rgba(172, 127, 35, 0.18);
    color: #ffffff !important;
}

body.page-platform-supplier-edit .erp-supplier-edit-action--primary:hover,
body.page-platform-supplier-edit .erp-supplier-edit-action--primary:focus,
body.page-platform-supplier-card .erp-supplier-edit-action--primary:hover,
body.page-platform-supplier-card .erp-supplier-edit-action--primary:focus {
    background: linear-gradient(180deg, #d0a84b 0%, #b8892f 100%) !important;
    color: #ffffff !important;
}

body.page-platform-supplier-edit .erp-supplier-edit-action--secondary,
body.page-platform-supplier-card .erp-supplier-edit-action--secondary {
    background: #ffffff !important;
    border: 1px solid #ebdfc5 !important;
    box-shadow: 0 10px 20px rgba(112, 82, 21, 0.08);
    color: #8a6a22 !important;
}

body.page-platform-supplier-edit .erp-supplier-edit-action--secondary:hover,
body.page-platform-supplier-edit .erp-supplier-edit-action--secondary:focus,
body.page-platform-supplier-card .erp-supplier-edit-action--secondary:hover,
body.page-platform-supplier-card .erp-supplier-edit-action--secondary:focus {
    background: #fdf8ef !important;
    color: #75591c !important;
}

body.page-platform-supplier-edit .erp-section-heading,
body.page-platform-supplier-card .erp-section-heading {
    margin: 1rem 0 0.7rem;
}

body.page-platform-supplier-edit .erp-section-heading__eyebrow,
body.page-platform-supplier-card .erp-section-heading__eyebrow {
    color: #8a7851;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin: 0 0 0.3rem;
    text-transform: uppercase;
}

body.page-platform-supplier-edit .erp-section-heading__title,
body.page-platform-supplier-card .erp-section-heading__title {
    color: #5f4610;
    font-size: 1.1rem;
    font-weight: 800;
    margin: 0;
}

body.page-platform-supplier-edit .erp-section-heading__description,
body.page-platform-supplier-card .erp-section-heading__description {
    color: #7c6a47;
    margin: 0.35rem 0 0;
    max-width: 52rem;
}

body.page-platform-supplier-edit .erp-empty-state,
body.page-platform-supplier-card .erp-empty-state {
    background: #fdf8ef;
    border: 1px solid #ebdfc5;
    border-radius: 1rem;
    box-shadow: 0 12px 28px rgba(112, 82, 21, 0.05);
    margin-bottom: 1rem;
    padding: 1rem 1.1rem;
}

body.page-platform-supplier-edit .erp-empty-state__title,
body.page-platform-supplier-card .erp-empty-state__title {
    color: #5f4610;
    font-size: 1rem;
    font-weight: 800;
    margin: 0 0 0.35rem;
}

body.page-platform-supplier-edit .erp-empty-state__description,
body.page-platform-supplier-card .erp-empty-state__description {
    color: #7c6a47;
    margin: 0;
}

body.page-platform-supplier-edit .modal[id^="screen-modal-"] .modal-content {
    background:
        radial-gradient(circle at top right, rgba(172, 127, 35, 0.12), transparent 24%),
        linear-gradient(180deg, #ffffff 0%, #fdf8ef 100%);
    border: 1px solid #ebdfc5;
    border-radius: 1.15rem;
    box-shadow: 0 22px 44px rgba(112, 82, 21, 0.16);
}

body.page-platform-supplier-edit .modal[id^="screen-modal-"] .modal-header {
    border-bottom: 0;
    min-height: 2.5rem;
    padding-bottom: 0;
}

body.page-platform-supplier-edit .modal[id^="screen-modal-"] .modal-header .modal-title {
    display: none;
}

body.page-platform-supplier-edit .modal[id^="screen-modal-"] .btn-close {
    border-radius: 999px;
    box-shadow: none;
    opacity: 0.72;
    padding: 0.35rem;
    transition: background-color 0.18s ease, opacity 0.18s ease, transform 0.18s ease;
}

body.page-platform-supplier-edit .modal[id^="screen-modal-"] .btn-close:hover,
body.page-platform-supplier-edit .modal[id^="screen-modal-"] .btn-close:focus {
    background: rgba(138, 106, 34, 0.08);
    opacity: 1;
    transform: scale(1.03);
}

body.page-platform-supplier-edit .modal[id^="screen-modal-"] .modal-body .row {
    margin-left: 0;
    margin-right: 0;
}

body.page-platform-supplier-edit .modal[id^="screen-modal-"] .modal-body .col-form-label {
    color: #8a7851;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

body.page-platform-supplier-edit .modal[id^="screen-modal-"] .modal-body .form-control {
    border-radius: 0.85rem;
    min-height: 2.85rem;
}

body.page-platform-supplier-edit .modal[id^="screen-modal-"] .modal-footer {
    align-items: center;
    border-top: 1px solid rgba(138, 106, 34, 0.14);
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
    padding: 0.9rem 1.25rem 1.1rem;
}

body.page-platform-supplier-edit .modal[id^="screen-modal-"] .btn-link {
    border-radius: 0.8rem;
    color: #8a6a22;
    font-weight: 700;
    padding: 0.7rem 0.9rem;
    text-decoration: none;
}

body.page-platform-supplier-edit .modal[id^="screen-modal-"] .btn-link:hover,
body.page-platform-supplier-edit .modal[id^="screen-modal-"] .btn-link:focus {
    background: #fdf8ef;
    color: #75591c;
}

body.page-platform-supplier-edit .modal[id^="screen-modal-"] .btn-default {
    background: linear-gradient(180deg, #c79a3a 0%, #ac7f23 100%);
    border: 1px solid #b7892b;
    border-radius: 0.85rem;
    box-shadow: 0 10px 22px rgba(172, 127, 35, 0.18);
    font-weight: 800;
    min-height: 2.75rem;
    padding: 0.75rem 1rem;
}

body.page-platform-supplier-edit .modal[id^="screen-modal-"] .btn-default,
body.page-platform-supplier-edit .modal[id^="screen-modal-"] .btn-default * {
    color: #ffffff !important;
}

body.page-platform-buyer-edit .erp-buyer-summary,
body.page-platform-buyer-card .erp-buyer-summary {
    background: linear-gradient(135deg, #fff7fb 0%, #ffffff 58%, #f7e7ee 100%);
    border: 1px solid #efd8e2;
    border-radius: 1.2rem;
    box-shadow: 0 16px 34px rgba(114, 42, 73, 0.08);
    margin: 0 0 1rem;
    padding: 1.25rem;
}

body.page-platform-buyer-edit .erp-buyer-summary__hero,
body.page-platform-buyer-card .erp-buyer-summary__hero {
    align-items: flex-start;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-bottom: 1rem;
}

body.page-platform-buyer-edit .erp-buyer-summary__eyebrow,
body.page-platform-buyer-card .erp-buyer-summary__eyebrow {
    color: #9a4b70;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin: 0 0 0.35rem;
    text-transform: uppercase;
}

body.page-platform-buyer-edit .erp-buyer-summary__title,
body.page-platform-buyer-card .erp-buyer-summary__title {
    color: #732845;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0;
}

body.page-platform-buyer-edit .erp-buyer-summary__description,
body.page-platform-buyer-card .erp-buyer-summary__description {
    color: #8a6576;
    line-height: 1.55;
    margin: 0.55rem 0 0;
    max-width: 54rem;
}

body.page-platform-buyer-edit .erp-buyer-summary__badges,
body.page-platform-buyer-card .erp-buyer-summary__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 0.8rem;
}

body.page-platform-buyer-edit .erp-status-pill,
body.page-platform-buyer-card .erp-status-pill {
    align-items: center;
    border-radius: 999px;
    display: inline-flex;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 0.38rem 0.75rem;
    text-transform: uppercase;
}

body.page-platform-buyer-edit .erp-status-pill--success,
body.page-platform-buyer-card .erp-status-pill--success {
    background: #daf4e5;
    color: #17633d;
}

body.page-platform-buyer-edit .erp-status-pill--warning,
body.page-platform-buyer-card .erp-status-pill--warning {
    background: #fff0cc;
    color: #8c5a00;
}

body.page-platform-buyer-edit .erp-status-pill--neutral,
body.page-platform-buyer-card .erp-status-pill--neutral {
    background: #f9e6ef;
    color: #8d4367;
}

body.page-platform-buyer-edit .erp-buyer-summary__metrics,
body.page-platform-buyer-edit .erp-buyer-summary__grid,
body.page-platform-buyer-card .erp-buyer-summary__metrics,
body.page-platform-buyer-card .erp-buyer-summary__grid {
    display: grid;
    gap: 0.85rem;
}

body.page-platform-buyer-edit .erp-buyer-summary__metrics,
body.page-platform-buyer-card .erp-buyer-summary__metrics {
    grid-template-columns: repeat(2, minmax(10rem, 1fr));
    min-width: min(100%, 25rem);
}

body.page-platform-buyer-edit .erp-buyer-summary__grid,
body.page-platform-buyer-card .erp-buyer-summary__grid {
    grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
}

body.page-platform-buyer-edit .erp-summary-metric,
body.page-platform-buyer-edit .erp-summary-card,
body.page-platform-buyer-card .erp-summary-metric,
body.page-platform-buyer-card .erp-summary-card {
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid #efd8e2;
    border-radius: 1rem;
    padding: 0.9rem 1rem;
}

body.page-platform-buyer-edit .erp-summary-metric span,
body.page-platform-buyer-edit .erp-summary-card__label,
body.page-platform-buyer-card .erp-summary-metric span,
body.page-platform-buyer-card .erp-summary-card__label {
    color: #9a7386;
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    margin-bottom: 0.35rem;
    text-transform: uppercase;
}

body.page-platform-buyer-edit .erp-summary-metric strong,
body.page-platform-buyer-edit .erp-summary-card__value,
body.page-platform-buyer-edit .erp-summary-card__link,
body.page-platform-buyer-card .erp-summary-metric strong,
body.page-platform-buyer-card .erp-summary-card__value,
body.page-platform-buyer-card .erp-summary-card__link {
    color: #732845;
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
}

body.page-platform-buyer-edit .erp-summary-card__link:hover,
body.page-platform-buyer-card .erp-summary-card__link:hover {
    color: #bd517f;
}

body.page-platform-buyer-edit fieldset[data-async] > .col,
body.page-platform-buyer-card fieldset[data-async] > .col {
    padding-left: 0.25rem !important;
    padding-right: 0.25rem !important;
}

body.page-platform-buyer-edit fieldset[data-async] > .col > legend,
body.page-platform-buyer-card fieldset[data-async] > .col > legend {
    color: #9a4b70 !important;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin-bottom: 0.6rem;
    text-transform: uppercase;
}

body.page-platform-buyer-edit fieldset[data-async] > .bg-white.rounded.shadow-sm,
body.page-platform-buyer-card fieldset[data-async] > .bg-white.rounded.shadow-sm {
    border: 1px solid #efd8e2;
    border-radius: 1rem !important;
    box-shadow: 0 12px 28px rgba(114, 42, 73, 0.05) !important;
    padding: 1rem 1.1rem !important;
}

body.page-platform-buyer-edit fieldset[data-async] .d2-grid,
body.page-platform-buyer-card fieldset[data-async] .d2-grid {
    gap: 1rem;
}

body.page-platform-buyer-edit fieldset[data-async] .d2-grid dt,
body.page-platform-buyer-card fieldset[data-async] .d2-grid dt {
    color: #9a7386 !important;
    font-size: 0.78rem;
    font-weight: 800 !important;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

body.page-platform-buyer-edit fieldset[data-async] .d2-grid dd,
body.page-platform-buyer-card fieldset[data-async] .d2-grid dd {
    color: #732845;
    font-weight: 700;
}

body.page-platform-buyer-edit .form-control,
body.page-platform-buyer-edit .form-select,
body.page-platform-buyer-edit [data-controller="relation"] .ts-control,
body.page-platform-buyer-card .form-control,
body.page-platform-buyer-card .form-select {
    border-radius: 0.9rem;
    min-height: 2.9rem;
}

body.page-platform-buyer-edit .screen-actions,
body.page-platform-buyer-card .screen-actions {
    margin-bottom: 1rem;
}

body.page-platform-buyer-edit .erp-buyer-edit-action,
body.page-platform-buyer-card .erp-buyer-edit-action {
    align-items: center;
    border-radius: 0.9rem !important;
    display: inline-flex;
    font-weight: 800 !important;
    gap: 0.45rem;
    min-height: 2.9rem;
    padding: 0.75rem 1rem !important;
    text-decoration: none !important;
}

body.page-platform-buyer-edit .erp-buyer-edit-action--primary,
body.page-platform-buyer-card .erp-buyer-edit-action--primary {
    background: linear-gradient(180deg, #d25c8e 0%, #b54573 100%) !important;
    border: 1px solid #bf4f7d !important;
    box-shadow: 0 10px 22px rgba(181, 69, 115, 0.18);
    color: #ffffff !important;
}

body.page-platform-buyer-edit .erp-buyer-edit-action--primary:hover,
body.page-platform-buyer-edit .erp-buyer-edit-action--primary:focus,
body.page-platform-buyer-card .erp-buyer-edit-action--primary:hover,
body.page-platform-buyer-card .erp-buyer-edit-action--primary:focus {
    background: linear-gradient(180deg, #da6c9a 0%, #c35281 100%) !important;
    color: #ffffff !important;
}

body.page-platform-buyer-edit .erp-buyer-edit-action--secondary,
body.page-platform-buyer-card .erp-buyer-edit-action--secondary {
    background: #ffffff !important;
    border: 1px solid #efd8e2 !important;
    box-shadow: 0 10px 20px rgba(114, 42, 73, 0.08);
    color: #9a4b70 !important;
}

body.page-platform-buyer-edit .erp-buyer-edit-action--secondary:hover,
body.page-platform-buyer-edit .erp-buyer-edit-action--secondary:focus,
body.page-platform-buyer-card .erp-buyer-edit-action--secondary:hover,
body.page-platform-buyer-card .erp-buyer-edit-action--secondary:focus {
    background: #fff7fb !important;
    color: #863a5d !important;
}

body.page-platform-buyer-edit .erp-section-heading,
body.page-platform-buyer-card .erp-section-heading {
    margin: 1rem 0 0.7rem;
}

body.page-platform-buyer-edit .erp-section-heading__eyebrow,
body.page-platform-buyer-card .erp-section-heading__eyebrow {
    color: #9a7386;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin: 0 0 0.3rem;
    text-transform: uppercase;
}

body.page-platform-buyer-edit .erp-section-heading__title,
body.page-platform-buyer-card .erp-section-heading__title {
    color: #732845;
    font-size: 1.1rem;
    font-weight: 800;
    margin: 0;
}

body.page-platform-buyer-edit .erp-section-heading__description,
body.page-platform-buyer-card .erp-section-heading__description {
    color: #8a6576;
    margin: 0.35rem 0 0;
    max-width: 52rem;
}

body.page-platform-buyer-edit .erp-empty-state,
body.page-platform-buyer-card .erp-empty-state {
    background: #fff7fb;
    border: 1px solid #efd8e2;
    border-radius: 1rem;
    box-shadow: 0 12px 28px rgba(114, 42, 73, 0.05);
    margin-bottom: 1rem;
    padding: 1rem 1.1rem;
}

body.page-platform-buyer-edit .erp-empty-state__title,
body.page-platform-buyer-card .erp-empty-state__title {
    color: #732845;
    font-size: 1rem;
    font-weight: 800;
    margin: 0 0 0.35rem;
}

body.page-platform-buyer-edit .erp-empty-state__description,
body.page-platform-buyer-card .erp-empty-state__description {
    color: #8a6576;
    margin: 0;
}

body.page-platform-buyer-card .erp-buyer-company-links {
    display: grid;
    gap: 0.85rem;
    grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
    margin-bottom: 1rem;
}

body.page-platform-buyer-card .erp-buyer-company-links__item {
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid #efd8e2;
    border-radius: 1rem;
    box-shadow: 0 12px 28px rgba(114, 42, 73, 0.05);
    display: block;
    padding: 1rem;
    text-decoration: none;
}

body.page-platform-buyer-card .erp-buyer-company-links__item strong {
    color: #732845;
    display: block;
    font-size: 0.98rem;
    margin-bottom: 0.3rem;
}

body.page-platform-buyer-card .erp-buyer-company-links__item:hover strong {
    color: #bd517f;
}

body.page-platform-buyer-card .erp-buyer-company-links__label,
body.page-platform-buyer-card .erp-buyer-company-links__meta {
    color: #9a7386;
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

body.page-platform-contact-edit .erp-contact-summary,
body.page-platform-contact-card .erp-contact-summary {
    border-radius: 1.2rem;
    box-shadow: 0 16px 34px rgba(31, 92, 90, 0.08);
    margin-bottom: 1rem;
    overflow: hidden;
}

body.page-platform-contact-edit .erp-contact-summary__hero,
body.page-platform-contact-card .erp-contact-summary__hero {
    background:
        radial-gradient(circle at top right, rgba(47, 139, 137, 0.18), transparent 26%),
        linear-gradient(135deg, #f5fbfb 0%, #ffffff 56%, #e2f1f0 100%);
    border: 1px solid #d3e8e7;
    border-radius: 1.2rem;
    display: flex;
    gap: 1.4rem;
    justify-content: space-between;
    padding: 1.35rem 1.45rem;
}

body.page-platform-contact-edit .erp-contact-summary__eyebrow,
body.page-platform-contact-card .erp-contact-summary__eyebrow {
    color: #467775;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin: 0 0 0.32rem;
    text-transform: uppercase;
}

body.page-platform-contact-edit .erp-contact-summary__title,
body.page-platform-contact-card .erp-contact-summary__title {
    color: #155654;
    font-size: 1.9rem;
    font-weight: 800;
    margin: 0;
}

body.page-platform-contact-edit .erp-contact-summary__description,
body.page-platform-contact-card .erp-contact-summary__description {
    color: #547a78;
    margin: 0.45rem 0 0;
    max-width: 48rem;
}

body.page-platform-contact-edit .erp-contact-summary__badges,
body.page-platform-contact-card .erp-contact-summary__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 0.9rem;
}

body.page-platform-contact-edit .erp-contact-summary__metrics,
body.page-platform-contact-edit .erp-contact-summary__grid,
body.page-platform-contact-card .erp-contact-summary__metrics,
body.page-platform-contact-card .erp-contact-summary__grid {
    display: grid;
    gap: 0.8rem;
}

body.page-platform-contact-edit .erp-contact-summary__metrics,
body.page-platform-contact-card .erp-contact-summary__metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-width: min(100%, 18rem);
}

body.page-platform-contact-edit .erp-summary-metric,
body.page-platform-contact-edit .erp-summary-card,
body.page-platform-contact-card .erp-summary-metric,
body.page-platform-contact-card .erp-summary-card {
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid #d9eceb;
    border-radius: 1rem;
    box-shadow: 0 12px 28px rgba(31, 92, 90, 0.05);
    padding: 0.95rem 1rem;
}

body.page-platform-contact-edit .erp-summary-metric span,
body.page-platform-contact-edit .erp-summary-card__label,
body.page-platform-contact-card .erp-summary-metric span,
body.page-platform-contact-card .erp-summary-card__label {
    color: #6b938f;
    display: block;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin-bottom: 0.35rem;
    text-transform: uppercase;
}

body.page-platform-contact-edit .erp-summary-metric strong,
body.page-platform-contact-edit .erp-summary-card__value,
body.page-platform-contact-edit .erp-summary-card__link,
body.page-platform-contact-card .erp-summary-metric strong,
body.page-platform-contact-card .erp-summary-card__value,
body.page-platform-contact-card .erp-summary-card__link {
    color: #155654;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.35;
    text-decoration: none;
}

body.page-platform-contact-edit .erp-summary-card__link:hover,
body.page-platform-contact-card .erp-summary-card__link:hover {
    color: #2c8e8b;
}

body.page-platform-contact-edit .erp-contact-summary__grid,
body.page-platform-contact-card .erp-contact-summary__grid {
    grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
    margin-top: 0.85rem;
}

body.page-platform-contact-edit fieldset[data-async] > .col,
body.page-platform-contact-card fieldset[data-async] > .col,
body.page-platform-program-edit fieldset[data-async] > .col,
body.page-platform-program-card fieldset[data-async] > .col {
    padding-left: 0.25rem !important;
    padding-right: 0.25rem !important;
}

body.page-platform-contact-edit fieldset[data-async] > .col > legend,
body.page-platform-contact-card fieldset[data-async] > .col > legend {
    color: #467775 !important;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin-bottom: 0.6rem;
    text-transform: uppercase;
}

body.page-platform-contact-edit fieldset[data-async] > .bg-white.rounded.shadow-sm,
body.page-platform-contact-card fieldset[data-async] > .bg-white.rounded.shadow-sm {
    border: 1px solid #d3e8e7;
    border-radius: 1rem !important;
    box-shadow: 0 12px 28px rgba(31, 92, 90, 0.05) !important;
    padding: 1rem 1.1rem !important;
}

body.page-platform-contact-edit fieldset[data-async] .d2-grid,
body.page-platform-contact-card fieldset[data-async] .d2-grid,
body.page-platform-program-edit fieldset[data-async] .d2-grid,
body.page-platform-program-card fieldset[data-async] .d2-grid {
    gap: 1rem;
}

body.page-platform-contact-edit fieldset[data-async] .d2-grid dt,
body.page-platform-contact-card fieldset[data-async] .d2-grid dt {
    color: #6b938f !important;
    font-size: 0.78rem;
    font-weight: 800 !important;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

body.page-platform-contact-edit fieldset[data-async] .d2-grid dd,
body.page-platform-contact-card fieldset[data-async] .d2-grid dd {
    color: #155654;
    font-weight: 700;
}

body.page-platform-contact-edit .form-control,
body.page-platform-contact-edit .form-select,
body.page-platform-contact-edit [data-controller="relation"] .ts-control,
body.page-platform-contact-card .form-control,
body.page-platform-contact-card .form-select,
body.page-platform-program-edit .form-control,
body.page-platform-program-edit .form-select,
body.page-platform-program-edit [data-controller="relation"] .ts-control,
body.page-platform-program-card .form-control,
body.page-platform-program-card .form-select {
    border-radius: 0.9rem;
    min-height: 2.9rem;
}

body.page-platform-contact-edit .screen-actions,
body.page-platform-contact-card .screen-actions,
body.page-platform-program-edit .screen-actions,
body.page-platform-program-card .screen-actions {
    margin-bottom: 1rem;
}

body.page-platform-contact-edit .erp-contact-edit-action,
body.page-platform-contact-card .erp-contact-edit-action {
    align-items: center;
    border-radius: 0.9rem !important;
    display: inline-flex;
    font-weight: 800 !important;
    gap: 0.45rem;
    min-height: 2.9rem;
    padding: 0.75rem 1rem !important;
    text-decoration: none !important;
}

body.page-platform-contact-edit .erp-contact-edit-action--primary,
body.page-platform-contact-card .erp-contact-edit-action--primary {
    background: linear-gradient(180deg, #2f8b89 0%, #236d6b 100%) !important;
    border: 1px solid #277876 !important;
    box-shadow: 0 10px 22px rgba(35, 109, 107, 0.18);
    color: #ffffff !important;
}

body.page-platform-contact-edit .erp-contact-edit-action--primary:hover,
body.page-platform-contact-edit .erp-contact-edit-action--primary:focus,
body.page-platform-contact-card .erp-contact-edit-action--primary:hover,
body.page-platform-contact-card .erp-contact-edit-action--primary:focus {
    background: linear-gradient(180deg, #3a9c9a 0%, #2b7e7c 100%) !important;
    color: #ffffff !important;
}

body.page-platform-contact-edit .erp-contact-edit-action--secondary,
body.page-platform-contact-card .erp-contact-edit-action--secondary {
    background: #ffffff !important;
    border: 1px solid #d3e8e7 !important;
    box-shadow: 0 10px 20px rgba(31, 92, 90, 0.08);
    color: #2f6d6a !important;
}

body.page-platform-contact-edit .erp-contact-edit-action--secondary:hover,
body.page-platform-contact-edit .erp-contact-edit-action--secondary:focus,
body.page-platform-contact-card .erp-contact-edit-action--secondary:hover,
body.page-platform-contact-card .erp-contact-edit-action--secondary:focus {
    background: #f4fbfb !important;
    color: #236563 !important;
}

body.page-platform-contact-edit .erp-section-heading,
body.page-platform-contact-card .erp-section-heading,
body.page-platform-program-edit .erp-section-heading,
body.page-platform-program-card .erp-section-heading {
    margin: 1rem 0 0.7rem;
}

body.page-platform-contact-edit .erp-section-heading__eyebrow,
body.page-platform-contact-card .erp-section-heading__eyebrow {
    color: #6b938f;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin: 0 0 0.3rem;
    text-transform: uppercase;
}

body.page-platform-contact-edit .erp-section-heading__title,
body.page-platform-contact-card .erp-section-heading__title {
    color: #155654;
    font-size: 1.1rem;
    font-weight: 800;
    margin: 0;
}

body.page-platform-contact-edit .erp-section-heading__description,
body.page-platform-contact-card .erp-section-heading__description {
    color: #547a78;
    margin: 0.35rem 0 0;
    max-width: 52rem;
}

body.page-platform-contact-edit .erp-empty-state,
body.page-platform-contact-card .erp-empty-state {
    background: #f5fbfb;
    border: 1px solid #d3e8e7;
    border-radius: 1rem;
    box-shadow: 0 12px 28px rgba(31, 92, 90, 0.05);
    margin-bottom: 1rem;
    padding: 1rem 1.1rem;
}

body.page-platform-contact-edit .erp-empty-state__title,
body.page-platform-contact-card .erp-empty-state__title {
    color: #155654;
    font-size: 1rem;
    font-weight: 800;
    margin: 0 0 0.35rem;
}

body.page-platform-contact-edit .erp-empty-state__description,
body.page-platform-contact-card .erp-empty-state__description {
    color: #547a78;
    margin: 0;
}

body.page-platform-contact-card .erp-contact-company-link {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #d3e8e7;
    border-radius: 1rem;
    box-shadow: 0 12px 28px rgba(31, 92, 90, 0.05);
    display: block;
    margin-bottom: 1rem;
    padding: 1rem;
    text-decoration: none;
}

body.page-platform-contact-card .erp-contact-company-link strong {
    color: #155654;
    display: block;
    font-size: 1rem;
    margin-bottom: 0.3rem;
}

body.page-platform-contact-card .erp-contact-company-link:hover strong {
    color: #2f8b89;
}

body.page-platform-contact-card .erp-contact-company-link__label,
body.page-platform-contact-card .erp-contact-company-link__meta {
    color: #6b938f;
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

body.page-platform-program-edit .erp-program-summary,
body.page-platform-program-card .erp-program-summary {
    border-radius: 1.2rem;
    box-shadow: 0 16px 34px rgba(115, 63, 37, 0.08);
    margin-bottom: 1rem;
    overflow: hidden;
}

body.page-platform-program-edit .erp-program-summary__hero,
body.page-platform-program-card .erp-program-summary__hero {
    background:
        radial-gradient(circle at top right, rgba(205, 116, 71, 0.18), transparent 26%),
        linear-gradient(135deg, #fff8f4 0%, #ffffff 56%, #f7e8df 100%);
    border: 1px solid #eddccf;
    border-radius: 1.2rem;
    display: flex;
    gap: 1.4rem;
    justify-content: space-between;
    padding: 1.35rem 1.45rem;
}

body.page-platform-program-edit .erp-program-summary__eyebrow,
body.page-platform-program-card .erp-program-summary__eyebrow {
    color: #97644a;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin: 0 0 0.32rem;
    text-transform: uppercase;
}

body.page-platform-program-edit .erp-program-summary__title,
body.page-platform-program-card .erp-program-summary__title {
    color: #7a4224;
    font-size: 1.9rem;
    font-weight: 800;
    margin: 0;
}

body.page-platform-program-edit .erp-program-summary__description,
body.page-platform-program-card .erp-program-summary__description {
    color: #906650;
    margin: 0.45rem 0 0;
    max-width: 48rem;
}

body.page-platform-program-edit .erp-program-summary__badges,
body.page-platform-program-card .erp-program-summary__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 0.9rem;
}

body.page-platform-program-edit .erp-program-summary__metrics,
body.page-platform-program-edit .erp-program-summary__grid,
body.page-platform-program-card .erp-program-summary__metrics,
body.page-platform-program-card .erp-program-summary__grid {
    display: grid;
    gap: 0.8rem;
}

body.page-platform-program-edit .erp-program-summary__metrics,
body.page-platform-program-card .erp-program-summary__metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-width: min(100%, 18rem);
}

body.page-platform-program-edit .erp-summary-metric,
body.page-platform-program-edit .erp-summary-card,
body.page-platform-program-card .erp-summary-metric,
body.page-platform-program-card .erp-summary-card {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #f0dfd4;
    border-radius: 1rem;
    box-shadow: 0 12px 28px rgba(115, 63, 37, 0.05);
    padding: 0.95rem 1rem;
}

body.page-platform-program-edit .erp-summary-metric span,
body.page-platform-program-edit .erp-summary-card__label,
body.page-platform-program-card .erp-summary-metric span,
body.page-platform-program-card .erp-summary-card__label {
    color: #a17a67;
    display: block;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin-bottom: 0.35rem;
    text-transform: uppercase;
}

body.page-platform-program-edit .erp-summary-metric strong,
body.page-platform-program-edit .erp-summary-card__value,
body.page-platform-program-edit .erp-summary-card__link,
body.page-platform-program-card .erp-summary-metric strong,
body.page-platform-program-card .erp-summary-card__value,
body.page-platform-program-card .erp-summary-card__link {
    color: #7a4224;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.35;
    text-decoration: none;
}

body.page-platform-program-edit .erp-summary-card__link:hover,
body.page-platform-program-card .erp-summary-card__link:hover {
    color: #bd663b;
}

body.page-platform-program-edit .erp-program-summary__grid,
body.page-platform-program-card .erp-program-summary__grid {
    grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
    margin-top: 0.85rem;
}

body.page-platform-program-edit fieldset[data-async] > .col > legend,
body.page-platform-program-card fieldset[data-async] > .col > legend {
    color: #97644a !important;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin-bottom: 0.6rem;
    text-transform: uppercase;
}

body.page-platform-program-edit fieldset[data-async] > .bg-white.rounded.shadow-sm,
body.page-platform-program-card fieldset[data-async] > .bg-white.rounded.shadow-sm {
    border: 1px solid #eddccf;
    border-radius: 1rem !important;
    box-shadow: 0 12px 28px rgba(115, 63, 37, 0.05) !important;
    padding: 1rem 1.1rem !important;
}

body.page-platform-program-edit fieldset[data-async] .d2-grid dt,
body.page-platform-program-card fieldset[data-async] .d2-grid dt {
    color: #a17a67 !important;
    font-size: 0.78rem;
    font-weight: 800 !important;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

body.page-platform-program-edit fieldset[data-async] .d2-grid dd,
body.page-platform-program-card fieldset[data-async] .d2-grid dd {
    color: #7a4224;
    font-weight: 700;
}

body.page-platform-program-edit .erp-program-edit-action,
body.page-platform-program-card .erp-program-edit-action {
    align-items: center;
    border-radius: 0.9rem !important;
    display: inline-flex;
    font-weight: 800 !important;
    gap: 0.45rem;
    min-height: 2.9rem;
    padding: 0.75rem 1rem !important;
    text-decoration: none !important;
}

body.page-platform-program-edit .erp-program-edit-action--primary,
body.page-platform-program-card .erp-program-edit-action--primary {
    background: linear-gradient(180deg, #cd7447 0%, #b45f34 100%) !important;
    border: 1px solid #bd663b !important;
    box-shadow: 0 10px 22px rgba(180, 95, 52, 0.18);
    color: #ffffff !important;
}

body.page-platform-program-edit .erp-program-edit-action--primary:hover,
body.page-platform-program-edit .erp-program-edit-action--primary:focus,
body.page-platform-program-card .erp-program-edit-action--primary:hover,
body.page-platform-program-card .erp-program-edit-action--primary:focus {
    background: linear-gradient(180deg, #d58359 0%, #c06b40 100%) !important;
    color: #ffffff !important;
}

body.page-platform-program-edit .erp-program-edit-action--secondary,
body.page-platform-program-card .erp-program-edit-action--secondary {
    background: #ffffff !important;
    border: 1px solid #eddccf !important;
    box-shadow: 0 10px 20px rgba(115, 63, 37, 0.08);
    color: #9a5b38 !important;
}

body.page-platform-program-edit .erp-program-edit-action--secondary:hover,
body.page-platform-program-edit .erp-program-edit-action--secondary:focus,
body.page-platform-program-card .erp-program-edit-action--secondary:hover,
body.page-platform-program-card .erp-program-edit-action--secondary:focus {
    background: #fff8f4 !important;
    color: #7a4224 !important;
}

body.page-platform-program-edit .erp-section-heading__eyebrow,
body.page-platform-program-card .erp-section-heading__eyebrow {
    color: #a17a67;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin: 0 0 0.3rem;
    text-transform: uppercase;
}

body.page-platform-program-edit .erp-section-heading__title,
body.page-platform-program-card .erp-section-heading__title {
    color: #7a4224;
    font-size: 1.1rem;
    font-weight: 800;
    margin: 0;
}

body.page-platform-program-edit .erp-section-heading__description,
body.page-platform-program-card .erp-section-heading__description {
    color: #906650;
    margin: 0.35rem 0 0;
    max-width: 52rem;
}

body.page-platform-program-edit .erp-empty-state,
body.page-platform-program-card .erp-empty-state {
    background: #fff8f4;
    border: 1px solid #eddccf;
    border-radius: 1rem;
    box-shadow: 0 12px 28px rgba(115, 63, 37, 0.05);
    margin-bottom: 1rem;
    padding: 1rem 1.1rem;
}

body.page-platform-program-edit .erp-empty-state__title,
body.page-platform-program-card .erp-empty-state__title {
    color: #7a4224;
    font-size: 1rem;
    font-weight: 800;
    margin: 0 0 0.35rem;
}

body.page-platform-program-edit .erp-empty-state__description,
body.page-platform-program-card .erp-empty-state__description {
    color: #906650;
    margin: 0;
}

body.page-platform-program-card .erp-program-manager-link {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #eddccf;
    border-radius: 1rem;
    box-shadow: 0 12px 28px rgba(115, 63, 37, 0.05);
    display: block;
    margin-bottom: 1rem;
    padding: 1rem;
    text-decoration: none;
}

body.page-platform-program-card .erp-program-manager-link strong {
    color: #7a4224;
    display: block;
    font-size: 1rem;
    margin-bottom: 0.3rem;
}

body.page-platform-program-card .erp-program-manager-link:hover strong {
    color: #bd663b;
}

body.page-platform-program-card .erp-program-manager-link__label,
body.page-platform-program-card .erp-program-manager-link__meta {
    color: #a17a67;
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

body.page-platform-program-card .table-responsive {
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid #eddccf;
    border-radius: 1rem;
    box-shadow: 0 12px 28px rgba(115, 63, 37, 0.05);
    margin-bottom: 1rem;
    overflow: hidden;
}

body.page-platform-program-card .table-responsive > .table {
    margin-bottom: 0;
}

body.page-platform-program-card .table-responsive > .table thead th {
    background: #fdf3ed;
    border-bottom: 1px solid #efdccc;
    color: #97644a;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

body.page-platform-program-card .table-responsive > .table tbody tr:hover {
    background: #fff9f6;
}

body.page-platform-company-edit .modal[id^="screen-modal-"] .modal-content,
body.page-platform-maincompany-edit .modal[id^="screen-modal-"] .modal-content {
    border-radius: 1.15rem;
    box-shadow: 0 22px 44px rgba(35, 68, 99, 0.16);
}

body.page-platform-company-edit .modal[id^="screen-modal-"] .modal-content {
    background:
        radial-gradient(circle at top right, rgba(61, 106, 147, 0.12), transparent 24%),
        linear-gradient(180deg, #ffffff 0%, #f5f9fd 100%);
    border: 1px solid #d9e5ef;
}

body.page-platform-maincompany-edit .modal[id^="screen-modal-"] .modal-content {
    background:
        radial-gradient(circle at top right, rgba(35, 118, 111, 0.12), transparent 24%),
        linear-gradient(180deg, #ffffff 0%, #f5fbfa 100%);
    border: 1px solid #d7e8e4;
}

body.page-platform-company-edit .modal[id^="screen-modal-"] .modal-header,
body.page-platform-maincompany-edit .modal[id^="screen-modal-"] .modal-header {
    border-bottom: 0;
    min-height: 2.5rem;
    padding-bottom: 0;
}

body.page-platform-company-edit .modal[id^="screen-modal-"] .modal-header .modal-title,
body.page-platform-maincompany-edit .modal[id^="screen-modal-"] .modal-header .modal-title {
    display: none;
}

body.page-platform-company-edit .modal[id^="screen-modal-"] .btn-close,
body.page-platform-maincompany-edit .modal[id^="screen-modal-"] .btn-close {
    border-radius: 999px;
    box-shadow: none;
    opacity: 0.72;
    padding: 0.35rem;
    transition: background-color 0.18s ease, opacity 0.18s ease, transform 0.18s ease;
}

body.page-platform-company-edit .modal[id^="screen-modal-"] .btn-close:hover,
body.page-platform-company-edit .modal[id^="screen-modal-"] .btn-close:focus,
body.page-platform-maincompany-edit .modal[id^="screen-modal-"] .btn-close:hover,
body.page-platform-maincompany-edit .modal[id^="screen-modal-"] .btn-close:focus {
    background: rgba(64, 107, 144, 0.08);
    opacity: 1;
    transform: scale(1.03);
}

body.page-platform-company-edit .modal[id^="screen-modal-"] .modal-body .row,
body.page-platform-maincompany-edit .modal[id^="screen-modal-"] .modal-body .row {
    margin-left: 0;
    margin-right: 0;
}

body.page-platform-company-edit .modal[id^="screen-modal-"] .modal-body .col-form-label,
body.page-platform-maincompany-edit .modal[id^="screen-modal-"] .modal-body .col-form-label {
    color: #5f7b8e;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

body.page-platform-company-edit .modal[id^="screen-modal-"] .modal-body .form-control,
body.page-platform-maincompany-edit .modal[id^="screen-modal-"] .modal-body .form-control {
    border-radius: 0.85rem;
    min-height: 2.85rem;
}

body.page-platform-company-edit .modal[id^="screen-modal-"] .modal-footer,
body.page-platform-maincompany-edit .modal[id^="screen-modal-"] .modal-footer {
    align-items: center;
    border-top: 1px solid rgba(111, 140, 163, 0.14);
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
    padding: 0.9rem 1.25rem 1.1rem;
}

body.page-platform-company-edit .modal[id^="screen-modal-"] .btn-link,
body.page-platform-maincompany-edit .modal[id^="screen-modal-"] .btn-link {
    border-radius: 0.8rem;
    font-weight: 700;
    padding: 0.7rem 0.9rem;
    text-decoration: none;
}

body.page-platform-company-edit .modal[id^="screen-modal-"] .btn-link {
    color: #406b90;
}

body.page-platform-maincompany-edit .modal[id^="screen-modal-"] .btn-link {
    color: #2a746e;
}

body.page-platform-company-edit .modal[id^="screen-modal-"] .btn-link:hover,
body.page-platform-company-edit .modal[id^="screen-modal-"] .btn-link:focus {
    background: #f3f8fc;
    color: #31587a;
}

body.page-platform-maincompany-edit .modal[id^="screen-modal-"] .btn-link:hover,
body.page-platform-maincompany-edit .modal[id^="screen-modal-"] .btn-link:focus {
    background: #f2faf8;
    color: #205e59;
}

body.page-platform-company-edit .modal[id^="screen-modal-"] .btn-default,
body.page-platform-maincompany-edit .modal[id^="screen-modal-"] .btn-default {
    border-radius: 0.85rem;
    font-weight: 800;
    min-height: 2.75rem;
    padding: 0.75rem 1rem;
}

body.page-platform-company-edit .modal[id^="screen-modal-"] .btn-default {
    background: linear-gradient(180deg, #5280ab 0%, #3d6a93 100%);
    border: 1px solid #47759f;
    box-shadow: 0 10px 22px rgba(61, 106, 147, 0.18);
}

body.page-platform-maincompany-edit .modal[id^="screen-modal-"] .btn-default {
    background: linear-gradient(180deg, #2e8f86 0%, #23766f 100%);
    border: 1px solid #277f77;
    box-shadow: 0 10px 22px rgba(35, 118, 111, 0.18);
}

body.page-platform-company-edit .modal[id^="screen-modal-"] .btn-default,
body.page-platform-company-edit .modal[id^="screen-modal-"] .btn-default *,
body.page-platform-maincompany-edit .modal[id^="screen-modal-"] .btn-default,
body.page-platform-maincompany-edit .modal[id^="screen-modal-"] .btn-default * {
    color: #ffffff !important;
}

body.page-platform-supplierpnincoming-list .erp-offer-summary,
body.page-platform-supplierpnincoming-filterorder .erp-offer-summary,
body.page-platform-supplierpnincoming-prova .erp-offer-summary {
    background:
        radial-gradient(circle at top right, rgba(36, 133, 155, 0.15), transparent 28%),
        linear-gradient(135deg, #f7fbfc 0%, #ffffff 56%, #eef8fb 100%);
    border: 1px solid #d9eaef;
    border-radius: 1.25rem;
    box-shadow: 0 16px 34px rgba(26, 79, 95, 0.08);
    margin-bottom: 1rem;
    padding: 1.35rem;
}

body.page-platform-supplierpnincoming-list .erp-offer-summary__hero,
body.page-platform-supplierpnincoming-filterorder .erp-offer-summary__hero,
body.page-platform-supplierpnincoming-prova .erp-offer-summary__hero {
    align-items: flex-start;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
}

body.page-platform-supplierpnincoming-list .erp-offer-summary__eyebrow,
body.page-platform-supplierpnincoming-filterorder .erp-offer-summary__eyebrow,
body.page-platform-supplierpnincoming-prova .erp-offer-summary__eyebrow {
    color: #4f7a86;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin: 0 0 0.35rem;
    text-transform: uppercase;
}

body.page-platform-supplierpnincoming-list .erp-offer-summary__title,
body.page-platform-supplierpnincoming-filterorder .erp-offer-summary__title,
body.page-platform-supplierpnincoming-prova .erp-offer-summary__title {
    color: #1f3038;
    font-size: 1.85rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0;
}

body.page-platform-supplierpnincoming-list .erp-offer-summary__badges,
body.page-platform-supplierpnincoming-filterorder .erp-offer-summary__badges,
body.page-platform-supplierpnincoming-prova .erp-offer-summary__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 0.85rem;
}

body.page-platform-supplierpnincoming-list .erp-status-pill,
body.page-platform-supplierpnincoming-filterorder .erp-status-pill,
body.page-platform-supplierpnincoming-prova .erp-status-pill {
    border-radius: 999px;
    display: inline-flex;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    padding: 0.52rem 0.85rem;
    text-transform: uppercase;
}

body.page-platform-supplierpnincoming-list .erp-status-pill--warning,
body.page-platform-supplierpnincoming-filterorder .erp-status-pill--warning,
body.page-platform-supplierpnincoming-prova .erp-status-pill--warning {
    background: #fff1cf;
    border: 1px solid #f3d178;
    color: #7b5b00;
}

body.page-platform-supplierpnincoming-list .erp-status-pill--neutral,
body.page-platform-supplierpnincoming-filterorder .erp-status-pill--neutral,
body.page-platform-supplierpnincoming-prova .erp-status-pill--neutral {
    background: #eef6f8;
    border: 1px solid #cfe3e8;
    color: #3d6470;
}

body.page-platform-supplierpnincoming-list .erp-offer-summary__metrics,
body.page-platform-supplierpnincoming-list .erp-offer-summary__grid,
body.page-platform-supplierpnincoming-filterorder .erp-offer-summary__metrics,
body.page-platform-supplierpnincoming-filterorder .erp-offer-summary__grid,
body.page-platform-supplierpnincoming-prova .erp-offer-summary__metrics,
body.page-platform-supplierpnincoming-prova .erp-offer-summary__grid {
    display: grid;
    gap: 0.85rem;
}

body.page-platform-supplierpnincoming-list .erp-offer-summary__metrics,
body.page-platform-supplierpnincoming-filterorder .erp-offer-summary__metrics,
body.page-platform-supplierpnincoming-prova .erp-offer-summary__metrics {
    grid-template-columns: repeat(4, minmax(8.75rem, 1fr));
    min-width: min(100%, 32rem);
}

body.page-platform-supplierpnincoming-list .erp-summary-metric,
body.page-platform-supplierpnincoming-list .erp-summary-card,
body.page-platform-supplierpnincoming-filterorder .erp-summary-metric,
body.page-platform-supplierpnincoming-filterorder .erp-summary-card,
body.page-platform-supplierpnincoming-prova .erp-summary-metric,
body.page-platform-supplierpnincoming-prova .erp-summary-card {
    background: #ffffff;
    border: 1px solid #deeaee;
    border-radius: 1rem;
    box-shadow: 0 12px 28px rgba(28, 76, 92, 0.05);
    padding: 0.95rem 1rem;
}

body.page-platform-supplierpnincoming-list .erp-summary-metric span,
body.page-platform-supplierpnincoming-list .erp-summary-card__label,
body.page-platform-supplierpnincoming-filterorder .erp-summary-metric span,
body.page-platform-supplierpnincoming-filterorder .erp-summary-card__label,
body.page-platform-supplierpnincoming-prova .erp-summary-metric span,
body.page-platform-supplierpnincoming-prova .erp-summary-card__label {
    color: #6e848c;
    display: block;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    margin-bottom: 0.3rem;
    text-transform: uppercase;
}

body.page-platform-supplierpnincoming-list .erp-summary-metric strong,
body.page-platform-supplierpnincoming-filterorder .erp-summary-metric strong,
body.page-platform-supplierpnincoming-prova .erp-summary-metric strong {
    color: #1f3038;
    display: block;
    font-size: 1.18rem;
    font-weight: 800;
}

body.page-platform-supplierpnincoming-list .erp-offer-summary__grid,
body.page-platform-supplierpnincoming-filterorder .erp-offer-summary__grid,
body.page-platform-supplierpnincoming-prova .erp-offer-summary__grid {
    grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
    margin-top: 1rem;
}

body.page-platform-supplierpnincoming-list .erp-summary-card__value,
body.page-platform-supplierpnincoming-filterorder .erp-summary-card__value,
body.page-platform-supplierpnincoming-prova .erp-summary-card__value {
    color: #253841;
    font-size: 0.95rem;
    font-weight: 700;
}

body.page-platform-supplierpnincoming-list .layout-rows,
body.page-platform-supplierpnincoming-filterorder .layout-rows,
body.page-platform-supplierpnincoming-prova .layout-rows {
    background: #ffffff;
    border: 1px solid #dbe8ec;
    border-radius: 1rem;
    box-shadow: 0 12px 28px rgba(28, 76, 92, 0.05);
    margin-bottom: 1rem;
    padding: 1rem 1rem 0.2rem;
}

body.page-platform-supplierpnincoming-list .layout-rows .input-group,
body.page-platform-supplierpnincoming-filterorder .layout-rows .input-group,
body.page-platform-supplierpnincoming-prova .layout-rows .input-group {
    align-items: flex-end;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

body.page-platform-supplierpnincoming-list .layout-rows .form-control,
body.page-platform-supplierpnincoming-filterorder .layout-rows .form-control,
body.page-platform-supplierpnincoming-prova .layout-rows .form-control {
    background: #f8fbfc;
    border-color: #d0e2e8;
    border-radius: 0.85rem;
    min-height: 2.85rem;
}

body.page-platform-supplierpnincoming-list .layout-rows .col-form-label,
body.page-platform-supplierpnincoming-filterorder .layout-rows .col-form-label,
body.page-platform-supplierpnincoming-prova .layout-rows .col-form-label {
    color: #506a73;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

body.page-platform-supplierpnincoming-list .layout-rows .btn-info,
body.page-platform-supplierpnincoming-filterorder .layout-rows .btn-info,
body.page-platform-supplierpnincoming-prova .layout-rows .btn-info {
    background: linear-gradient(180deg, #16a1b7 0%, #10879a 100%);
    border: 0;
    border-radius: 0.85rem;
    box-shadow: 0 10px 22px rgba(16, 135, 154, 0.16);
    color: #ffffff;
    font-weight: 700;
    min-height: 2.85rem;
    padding: 0.7rem 1rem;
}

body.page-platform-supplierpnincoming-list .layout-rows .btn-default,
body.page-platform-supplierpnincoming-filterorder .layout-rows .btn-default,
body.page-platform-supplierpnincoming-prova .layout-rows .btn-default {
    background: #eef5f7;
    border: 1px solid #d1e1e6;
    border-radius: 0.85rem;
    color: #45616b;
    font-weight: 700;
    min-height: 2.85rem;
    padding: 0.7rem 1rem;
}

body.page-platform-supplierpnincoming-list [data-controller="tabs"] .nav-tabs-alt,
body.page-platform-supplierpnincoming-filterorder [data-controller="tabs"] .nav-tabs-alt,
body.page-platform-supplierpnincoming-prova [data-controller="tabs"] .nav-tabs-alt {
    background: #ffffff;
    border: 1px solid #dbe8ec;
    border-radius: 1rem;
    box-shadow: 0 12px 28px rgba(28, 76, 92, 0.05);
    margin-bottom: 1rem;
    padding: 0.65rem;
}

body.page-platform-supplierpnincoming-list [data-controller="tabs"] .nav-tabs,
body.page-platform-supplierpnincoming-filterorder [data-controller="tabs"] .nav-tabs,
body.page-platform-supplierpnincoming-prova [data-controller="tabs"] .nav-tabs {
    border-bottom: 0;
    gap: 0.45rem;
}

body.page-platform-supplierpnincoming-list [data-controller="tabs"] .nav-tabs .nav-link,
body.page-platform-supplierpnincoming-filterorder [data-controller="tabs"] .nav-tabs .nav-link,
body.page-platform-supplierpnincoming-prova [data-controller="tabs"] .nav-tabs .nav-link {
    background: #eef8fb;
    border: 0;
    border-radius: 999px;
    color: #506a73 !important;
    font-weight: 700;
    padding: 0.6rem 0.95rem;
}

body.page-platform-supplierpnincoming-list [data-controller="tabs"] .nav-tabs .nav-link.active,
body.page-platform-supplierpnincoming-filterorder [data-controller="tabs"] .nav-tabs .nav-link.active,
body.page-platform-supplierpnincoming-prova [data-controller="tabs"] .nav-tabs .nav-link.active {
    background: #10879a !important;
    box-shadow: 0 8px 18px rgba(16, 135, 154, 0.22);
    color: #ffffff !important;
}

body.page-platform-supplierpnincoming-list [data-controller="tabs"] .tab-content > .tab-pane,
body.page-platform-supplierpnincoming-filterorder [data-controller="tabs"] .tab-content > .tab-pane,
body.page-platform-supplierpnincoming-prova [data-controller="tabs"] .tab-content > .tab-pane {
    background: #ffffff;
    border: 1px solid #dbe8ec;
    border-radius: 1rem;
    box-shadow: 0 12px 28px rgba(28, 76, 92, 0.05);
    padding: 1rem;
}

body.page-platform-supplierpnincoming-list .table-responsive,
body.page-platform-supplierpnincoming-filterorder .table-responsive,
body.page-platform-supplierpnincoming-prova .table-responsive {
    background: #ffffff;
    border: 1px solid #dbe8ec;
    border-radius: 1rem;
    box-shadow: 0 12px 28px rgba(28, 76, 92, 0.05);
    margin-bottom: 0;
    overflow-x: auto;
    overflow-y: visible;
}

body.page-platform-supplierpnincoming-list .table-responsive > .table,
body.page-platform-supplierpnincoming-filterorder .table-responsive > .table,
body.page-platform-supplierpnincoming-prova .table-responsive > .table {
    margin-bottom: 0;
    min-width: 100%;
    table-layout: auto;
    width: 100% !important;
}

body.page-platform-supplierpnincoming-list .table-responsive > .table thead th,
body.page-platform-supplierpnincoming-filterorder .table-responsive > .table thead th,
body.page-platform-supplierpnincoming-prova .table-responsive > .table thead th {
    background: #f7fbfc;
    border-bottom-width: 1px;
    color: #6e848c;
    font-size: 0.77rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

body.page-platform-supplierpnincoming-list .table-responsive > .table tbody tr:hover,
body.page-platform-supplierpnincoming-filterorder .table-responsive > .table tbody tr:hover,
body.page-platform-supplierpnincoming-prova .table-responsive > .table tbody tr:hover {
    background: #fbfdfe;
}

body.page-platform-supplierpnincoming-list .table-responsive > .table a[style*="width:170px"],
body.page-platform-supplierpnincoming-list .table-responsive > .table a[style*="width:200px"],
body.page-platform-supplierpnincoming-filterorder .table-responsive > .table a[style*="width:170px"],
body.page-platform-supplierpnincoming-filterorder .table-responsive > .table a[style*="width:200px"],
body.page-platform-supplierpnincoming-prova .table-responsive > .table a[style*="width:170px"],
body.page-platform-supplierpnincoming-prova .table-responsive > .table a[style*="width:200px"] {
    align-items: center !important;
    border-radius: 999px !important;
    box-shadow: 0 10px 20px rgba(27, 70, 84, 0.08);
    justify-content: center;
    min-height: 2.1rem;
    padding-left: 0.8rem !important;
    padding-right: 0.8rem !important;
}

body.page-platform-supplierpnincoming-list .table-responsive > .table .dropdown .btn,
body.page-platform-supplierpnincoming-filterorder .table-responsive > .table .dropdown .btn,
body.page-platform-supplierpnincoming-prova .table-responsive > .table .dropdown .btn {
    border-radius: 0.85rem;
}

body.page-platform-main .layout {
    gap: 0.9rem;
}

body.page-platform-main .erp-main-dashboard {
    display: grid;
    gap: 1rem;
}

body.page-platform-main .erp-main-dashboard__summary {
    background:
        radial-gradient(circle at top right, rgba(220, 0, 103, 0.12), transparent 28%),
        linear-gradient(135deg, #fff8fb 0%, #ffffff 56%, #eef9f7 100%);
    border: 1px solid #eadbe3;
    border-radius: 1.25rem;
    box-shadow: 0 16px 34px rgba(76, 49, 62, 0.08);
    padding: 1.35rem;
}

body.page-platform-main .erp-main-dashboard__summary-head {
    align-items: flex-start;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
}

body.page-platform-main .erp-main-dashboard__eyebrow,
body.page-platform-main .erp-main-dashboard__section-eyebrow {
    color: #8a5b70;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin: 0 0 0.35rem;
    text-transform: uppercase;
}

body.page-platform-main .erp-main-dashboard__title,
body.page-platform-main .erp-main-dashboard__section-title {
    color: #2f2531;
    font-size: 1.85rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0;
}

body.page-platform-main .erp-main-dashboard__section-title {
    font-size: 1.25rem;
}

body.page-platform-main .erp-main-dashboard__description,
body.page-platform-main .erp-main-dashboard__section-note {
    color: #6c5d64;
    line-height: 1.6;
    margin: 0.7rem 0 0;
    max-width: 54rem;
}

body.page-platform-main .erp-main-dashboard__metrics {
    display: grid;
    gap: 0.85rem;
    grid-template-columns: repeat(2, minmax(9rem, 1fr));
    min-width: min(100%, 28rem);
}

body.page-platform-main .erp-main-dashboard__metric {
    background: #ffffff;
    border: 1px solid #eedbe4;
    border-radius: 1rem;
    box-shadow: 0 12px 28px rgba(76, 49, 62, 0.05);
    padding: 0.95rem 1rem;
}

body.page-platform-main .erp-main-dashboard__metric span {
    color: #7d6a73;
    display: block;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    margin-bottom: 0.3rem;
    text-transform: uppercase;
}

body.page-platform-main .erp-main-dashboard__metric strong {
    color: #2c1f2a;
    display: block;
    font-size: 1.18rem;
    font-weight: 800;
}

body.page-platform-main .erp-main-dashboard__section {
    background: #ffffff;
    border: 1px solid #e7dde3;
    border-radius: 1.2rem;
    box-shadow: 0 14px 30px rgba(76, 49, 62, 0.05);
    padding: 1.15rem 1.2rem 1.2rem;
}

body.page-platform-main .erp-main-dashboard__section-head {
    align-items: flex-start;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-bottom: 1rem;
}

body.page-platform-main .erp-main-dashboard__grid {
    display: grid;
    gap: 0.95rem;
    grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
}

body.page-platform-main .erp-main-dashboard__grid--utilities {
    grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
}

body.page-platform-main .erp-main-dashboard__card {
    border-radius: 1.15rem;
    box-shadow: 0 14px 26px rgba(44, 31, 42, 0.08);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-height: 13rem;
    padding: 1.15rem;
    position: relative;
    text-decoration: none !important;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

body.page-platform-main .erp-main-dashboard__card:hover,
body.page-platform-main .erp-main-dashboard__card:focus {
    box-shadow: 0 18px 34px rgba(44, 31, 42, 0.12);
    transform: translateY(-2px);
}

body.page-platform-main .erp-main-dashboard__card-badge {
    align-items: center;
    border-radius: 0.95rem;
    display: inline-flex;
    font-size: 0.78rem;
    font-weight: 800;
    justify-content: center;
    letter-spacing: 0.06em;
    min-height: 2.3rem;
    min-width: 3.2rem;
    padding: 0.35rem 0.7rem;
    width: fit-content;
}

body.page-platform-main .erp-main-dashboard__card-body {
    display: grid;
    gap: 0.45rem;
}

body.page-platform-main .erp-main-dashboard__card-meta {
    font-size: 0.77rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

body.page-platform-main .erp-main-dashboard__card-title {
    font-size: 1.28rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

body.page-platform-main .erp-main-dashboard__card-description {
    line-height: 1.55;
}

body.page-platform-main .erp-main-dashboard__count {
    align-self: flex-start;
    border-radius: 999px;
    font-size: 0.84rem;
    font-weight: 800;
    margin-top: auto;
    padding: 0.42rem 0.8rem;
}

body.page-platform-main .erp-main-dashboard__card--search {
    background: linear-gradient(180deg, #f5fcfb 0%, #e8f8f4 100%);
    border: 1px solid #cce8e1;
}

body.page-platform-main .erp-main-dashboard__card--search .erp-main-dashboard__card-badge,
body.page-platform-main .erp-main-dashboard__card--search .erp-main-dashboard__count {
    background: #d8f2ec;
    color: #15665c;
}

body.page-platform-main .erp-main-dashboard__card--search .erp-main-dashboard__card-meta,
body.page-platform-main .erp-main-dashboard__card--search .erp-main-dashboard__card-title {
    color: #1e514a;
}

body.page-platform-main .erp-main-dashboard__card--search .erp-main-dashboard__card-description {
    color: #5d7b76;
}

body.page-platform-main .erp-main-dashboard__card--warehouse {
    background: linear-gradient(180deg, #fffaf3 0%, #fff2df 100%);
    border: 1px solid #f0dfbc;
}

body.page-platform-main .erp-main-dashboard__card--warehouse .erp-main-dashboard__card-badge,
body.page-platform-main .erp-main-dashboard__card--warehouse .erp-main-dashboard__count {
    background: #ffe4b4;
    color: #835400;
}

body.page-platform-main .erp-main-dashboard__card--warehouse .erp-main-dashboard__card-meta,
body.page-platform-main .erp-main-dashboard__card--warehouse .erp-main-dashboard__card-title {
    color: #5f451f;
}

body.page-platform-main .erp-main-dashboard__card--warehouse .erp-main-dashboard__card-description {
    color: #7c6a4b;
}

body.page-platform-main .erp-main-dashboard__card--rfq {
    background: linear-gradient(180deg, #fff7f5 0%, #ffebe5 100%);
    border: 1px solid #f3d4c8;
}

body.page-platform-main .erp-main-dashboard__card--rfq .erp-main-dashboard__card-badge,
body.page-platform-main .erp-main-dashboard__card--rfq .erp-main-dashboard__count {
    background: #ffd7cb;
    color: #9d4a2c;
}

body.page-platform-main .erp-main-dashboard__card--rfq .erp-main-dashboard__card-meta,
body.page-platform-main .erp-main-dashboard__card--rfq .erp-main-dashboard__card-title {
    color: #7d3320;
}

body.page-platform-main .erp-main-dashboard__card--rfq .erp-main-dashboard__card-description {
    color: #8f665b;
}

body.page-platform-main .erp-main-dashboard__card--offer {
    background: linear-gradient(180deg, #fff7fb 0%, #ffe8f3 100%);
    border: 1px solid #f4d4e3;
}

body.page-platform-main .erp-main-dashboard__card--offer .erp-main-dashboard__card-badge,
body.page-platform-main .erp-main-dashboard__card--offer .erp-main-dashboard__count {
    background: #ffd4e8;
    color: #9c2d62;
}

body.page-platform-main .erp-main-dashboard__card--offer .erp-main-dashboard__card-meta,
body.page-platform-main .erp-main-dashboard__card--offer .erp-main-dashboard__card-title {
    color: #7f214f;
}

body.page-platform-main .erp-main-dashboard__card--offer .erp-main-dashboard__card-description {
    color: #8c6176;
}

body.page-platform-main .erp-main-dashboard__card--customer {
    background: linear-gradient(180deg, #f7f9ff 0%, #eaf0ff 100%);
    border: 1px solid #d8e0f8;
}

body.page-platform-main .erp-main-dashboard__card--customer .erp-main-dashboard__card-badge,
body.page-platform-main .erp-main-dashboard__card--customer .erp-main-dashboard__count {
    background: #d8e4ff;
    color: #2d5699;
}

body.page-platform-main .erp-main-dashboard__card--customer .erp-main-dashboard__card-meta,
body.page-platform-main .erp-main-dashboard__card--customer .erp-main-dashboard__card-title {
    color: #26467a;
}

body.page-platform-main .erp-main-dashboard__card--customer .erp-main-dashboard__card-description {
    color: #66728f;
}

body.page-platform-main .erp-main-dashboard__card--supplier {
    background: linear-gradient(180deg, #faf8ff 0%, #efeaff 100%);
    border: 1px solid #ddd4f5;
}

body.page-platform-main .erp-main-dashboard__card--supplier .erp-main-dashboard__card-badge,
body.page-platform-main .erp-main-dashboard__card--supplier .erp-main-dashboard__count {
    background: #ded2ff;
    color: #5532a1;
}

body.page-platform-main .erp-main-dashboard__card--supplier .erp-main-dashboard__card-meta,
body.page-platform-main .erp-main-dashboard__card--supplier .erp-main-dashboard__card-title {
    color: #4a2a8f;
}

body.page-platform-main .erp-main-dashboard__card--supplier .erp-main-dashboard__card-description {
    color: #716788;
}

body.page-platform-main .erp-main-dashboard__card--test-supplier {
    background: linear-gradient(180deg, #f6f8ff 0%, #e9eeff 100%);
    border: 1px solid #d5def6;
}

body.page-platform-main .erp-main-dashboard__card--test-supplier .erp-main-dashboard__card-badge,
body.page-platform-main .erp-main-dashboard__card--test-supplier .erp-main-dashboard__count {
    background: #d7defb;
    color: #3b4c93;
}

body.page-platform-main .erp-main-dashboard__card--test-supplier .erp-main-dashboard__card-meta,
body.page-platform-main .erp-main-dashboard__card--test-supplier .erp-main-dashboard__card-title {
    color: #334179;
}

body.page-platform-main .erp-main-dashboard__card--test-supplier .erp-main-dashboard__card-description {
    color: #66718b;
}

@media (max-width: 992px) {
    body.page-platform-main .erp-main-dashboard__summary-head,
    body.page-platform-main .erp-main-dashboard__section-head {
        flex-direction: column;
    }

    body.page-platform-main .erp-main-dashboard__metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        min-width: 100%;
        width: 100%;
    }
}

body.page-platform-arrowtmp-card .erp-arrow-detail-summary,
body.page-platform-pnprofilesupplierorderincoming-card .erp-supplier-incoming-detail-summary {
    border-radius: 1.25rem;
    box-shadow: 0 16px 34px rgba(52, 62, 95, 0.08);
    margin-bottom: 1rem;
    padding: 1.35rem;
}

body.page-platform-arrowtmp-card .erp-arrow-detail-summary {
    background:
        radial-gradient(circle at top right, rgba(37, 112, 170, 0.12), transparent 28%),
        linear-gradient(135deg, #f7fbff 0%, #ffffff 56%, #edf4ff 100%);
    border: 1px solid #dce7f5;
}

body.page-platform-pnprofilesupplierorderincoming-card .erp-supplier-incoming-detail-summary {
    background:
        radial-gradient(circle at top right, rgba(74, 42, 160, 0.1), transparent 28%),
        linear-gradient(135deg, #faf8ff 0%, #ffffff 56%, #f2efff 100%);
    border: 1px solid #e4dcf7;
}

body.page-platform-arrowtmp-card .erp-arrow-detail-summary__hero,
body.page-platform-pnprofilesupplierorderincoming-card .erp-supplier-incoming-detail-summary__hero {
    align-items: flex-start;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
}

body.page-platform-arrowtmp-card .erp-arrow-detail-summary__eyebrow,
body.page-platform-pnprofilesupplierorderincoming-card .erp-supplier-incoming-detail-summary__eyebrow {
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin: 0 0 0.35rem;
    text-transform: uppercase;
}

body.page-platform-arrowtmp-card .erp-arrow-detail-summary__eyebrow {
    color: #4d7091;
}

body.page-platform-pnprofilesupplierorderincoming-card .erp-supplier-incoming-detail-summary__eyebrow {
    color: #6b5f94;
}

body.page-platform-arrowtmp-card .erp-arrow-detail-summary__title,
body.page-platform-pnprofilesupplierorderincoming-card .erp-supplier-incoming-detail-summary__title {
    font-size: 1.85rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0;
}

body.page-platform-arrowtmp-card .erp-arrow-detail-summary__title {
    color: #1f3a54;
}

body.page-platform-pnprofilesupplierorderincoming-card .erp-supplier-incoming-detail-summary__title {
    color: #35275d;
}

body.page-platform-arrowtmp-card .erp-arrow-detail-summary__description {
    color: #617789;
    line-height: 1.6;
    margin: 0.65rem 0 0;
    max-width: 56rem;
}

body.page-platform-arrowtmp-card .erp-arrow-detail-summary__badges,
body.page-platform-pnprofilesupplierorderincoming-card .erp-supplier-incoming-detail-summary__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.85rem;
}

body.page-platform-arrowtmp-card .erp-status-pill,
body.page-platform-pnprofilesupplierorderincoming-card .erp-status-pill {
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 0.42rem 0.8rem;
    text-transform: uppercase;
}

body.page-platform-arrowtmp-card .erp-status-pill--success,
body.page-platform-pnprofilesupplierorderincoming-card .erp-status-pill--success {
    background: #daf4e5;
    color: #17633d;
}

body.page-platform-arrowtmp-card .erp-status-pill--warning,
body.page-platform-pnprofilesupplierorderincoming-card .erp-status-pill--warning {
    background: #fff0cc;
    color: #8c5a00;
}

body.page-platform-arrowtmp-card .erp-status-pill--danger,
body.page-platform-pnprofilesupplierorderincoming-card .erp-status-pill--danger {
    background: #fde1e6;
    color: #9a2646;
}

body.page-platform-arrowtmp-card .erp-status-pill--neutral {
    background: #eaf2ff;
    color: #3c5c84;
}

body.page-platform-pnprofilesupplierorderincoming-card .erp-status-pill--neutral {
    background: #ede9fb;
    color: #584985;
}

body.page-platform-arrowtmp-card .erp-arrow-detail-summary__metrics,
body.page-platform-arrowtmp-card .erp-arrow-detail-summary__grid,
body.page-platform-pnprofilesupplierorderincoming-card .erp-supplier-incoming-detail-summary__metrics,
body.page-platform-pnprofilesupplierorderincoming-card .erp-supplier-incoming-detail-summary__grid {
    display: grid;
    gap: 0.85rem;
}

body.page-platform-arrowtmp-card .erp-arrow-detail-summary__metrics,
body.page-platform-pnprofilesupplierorderincoming-card .erp-supplier-incoming-detail-summary__metrics {
    grid-template-columns: repeat(2, minmax(9rem, 1fr));
    min-width: min(100%, 24rem);
}

body.page-platform-arrowtmp-card .erp-arrow-detail-summary__grid,
body.page-platform-pnprofilesupplierorderincoming-card .erp-supplier-incoming-detail-summary__grid {
    grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
    margin-top: 1rem;
}

body.page-platform-arrowtmp-card .erp-summary-metric,
body.page-platform-arrowtmp-card .erp-summary-card,
body.page-platform-pnprofilesupplierorderincoming-card .erp-summary-metric,
body.page-platform-pnprofilesupplierorderincoming-card .erp-summary-card {
    background: #ffffff;
    border-radius: 1rem;
    box-shadow: 0 12px 28px rgba(52, 62, 95, 0.05);
    padding: 0.95rem 1rem;
}

body.page-platform-arrowtmp-card .erp-summary-metric,
body.page-platform-arrowtmp-card .erp-summary-card {
    border: 1px solid #dce7f5;
}

body.page-platform-pnprofilesupplierorderincoming-card .erp-summary-metric,
body.page-platform-pnprofilesupplierorderincoming-card .erp-summary-card {
    border: 1px solid #e4dcf7;
}

body.page-platform-arrowtmp-card .erp-summary-metric span,
body.page-platform-arrowtmp-card .erp-summary-card__label,
body.page-platform-pnprofilesupplierorderincoming-card .erp-summary-metric span,
body.page-platform-pnprofilesupplierorderincoming-card .erp-summary-card__label {
    display: block;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    margin-bottom: 0.3rem;
    text-transform: uppercase;
}

body.page-platform-arrowtmp-card .erp-summary-metric span,
body.page-platform-arrowtmp-card .erp-summary-card__label {
    color: #67829d;
}

body.page-platform-pnprofilesupplierorderincoming-card .erp-summary-metric span,
body.page-platform-pnprofilesupplierorderincoming-card .erp-summary-card__label {
    color: #7b6ea1;
}

body.page-platform-arrowtmp-card .erp-summary-metric strong,
body.page-platform-arrowtmp-card .erp-summary-card__value,
body.page-platform-arrowtmp-card .erp-summary-card__link,
body.page-platform-pnprofilesupplierorderincoming-card .erp-summary-metric strong,
body.page-platform-pnprofilesupplierorderincoming-card .erp-summary-card__value,
body.page-platform-pnprofilesupplierorderincoming-card .erp-summary-card__link {
    display: block;
    font-size: 0.96rem;
    font-weight: 700;
    text-decoration: none;
}

body.page-platform-arrowtmp-card .erp-summary-metric strong,
body.page-platform-arrowtmp-card .erp-summary-card__value,
body.page-platform-arrowtmp-card .erp-summary-card__link {
    color: #26435e;
}

body.page-platform-pnprofilesupplierorderincoming-card .erp-summary-metric strong,
body.page-platform-pnprofilesupplierorderincoming-card .erp-summary-card__value,
body.page-platform-pnprofilesupplierorderincoming-card .erp-summary-card__link {
    color: #40355f;
}

body.page-platform-arrowtmp-card .erp-summary-card__link:hover {
    color: #1f6db3;
}

body.page-platform-pnprofilesupplierorderincoming-card .erp-summary-card__link:hover {
    color: #4a2aa0;
}

body.page-platform-arrowtmp-card .erp-arrow-detail-panels,
body.page-platform-pnprofilesupplierorderincoming-card .erp-supplier-incoming-detail-panels {
    display: grid;
    gap: 1rem;
}

body.page-platform-arrowtmp-card .erp-arrow-detail-panels__section-head,
body.page-platform-pnprofilesupplierorderincoming-card .erp-supplier-incoming-detail-panel__head {
    margin-bottom: 0.8rem;
}

body.page-platform-arrowtmp-card .erp-arrow-detail-panels__eyebrow,
body.page-platform-pnprofilesupplierorderincoming-card .erp-supplier-incoming-detail-panel__eyebrow {
    display: block;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin-bottom: 0.3rem;
    text-transform: uppercase;
}

body.page-platform-arrowtmp-card .erp-arrow-detail-panels__eyebrow {
    color: #4d7091;
}

body.page-platform-pnprofilesupplierorderincoming-card .erp-supplier-incoming-detail-panel__eyebrow {
    color: #6b5f94;
}

body.page-platform-arrowtmp-card .erp-arrow-detail-panels__title,
body.page-platform-pnprofilesupplierorderincoming-card .erp-supplier-incoming-detail-panel__title {
    color: #263a52;
    font-size: 1.2rem;
    font-weight: 800;
    margin: 0;
}

body.page-platform-arrowtmp-card .erp-arrow-detail-panels__grid,
body.page-platform-pnprofilesupplierorderincoming-card .erp-supplier-incoming-detail-panels__grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
}

body.page-platform-arrowtmp-card .erp-arrow-detail-panel,
body.page-platform-pnprofilesupplierorderincoming-card .erp-supplier-incoming-detail-panel {
    background: #ffffff;
    border-radius: 1rem;
    box-shadow: 0 12px 28px rgba(52, 62, 95, 0.05);
    padding: 1rem 1.05rem;
}

body.page-platform-arrowtmp-card .erp-arrow-detail-panel {
    border: 1px solid #dce7f5;
}

body.page-platform-pnprofilesupplierorderincoming-card .erp-supplier-incoming-detail-panel {
    border: 1px solid #e4dcf7;
}

body.page-platform-arrowtmp-card .erp-arrow-detail-panel__head {
    display: grid;
    gap: 0.2rem;
    margin-bottom: 0.75rem;
}

body.page-platform-arrowtmp-card .erp-arrow-detail-panel__index {
    color: #67829d;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

body.page-platform-arrowtmp-card .erp-arrow-detail-panel__title {
    color: #26435e;
    font-size: 1.02rem;
    font-weight: 800;
}

body.page-platform-arrowtmp-card .erp-arrow-detail-panel__content {
    color: #587083;
    line-height: 1.55;
}

body.page-platform-arrowtmp-card .erp-arrow-detail-panel__content h3 {
    color: #26435e;
    font-size: 0.98rem;
    font-weight: 800;
    margin: 0 0 0.45rem;
}

body.page-platform-arrowtmp-card .erp-arrow-detail-panel__content p {
    margin: 0 0 0.45rem;
}

body.page-platform-arrowtmp-card .erp-arrow-detail-panel--empty {
    text-align: center;
}

body.page-platform-pnprofilesupplierorderincoming-card .erp-supplier-incoming-detail-panel__items {
    display: grid;
    gap: 0.8rem;
    grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
}

body.page-platform-pnprofilesupplierorderincoming-card .erp-supplier-incoming-detail-item {
    background: #fbfaff;
    border: 1px solid #ece7fb;
    border-radius: 0.9rem;
    padding: 0.85rem 0.9rem;
}

body.page-platform-pnprofilesupplierorderincoming-card .erp-supplier-incoming-detail-item--wide {
    grid-column: 1 / -1;
}

body.page-platform-pnprofilesupplierorderincoming-card .erp-supplier-incoming-detail-item__label {
    color: #7b6ea1;
    display: block;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    margin-bottom: 0.3rem;
    text-transform: uppercase;
}

body.page-platform-pnprofilesupplierorderincoming-card .erp-supplier-incoming-detail-item__value {
    color: #40355f;
    display: block;
    font-size: 0.96rem;
    font-weight: 700;
    line-height: 1.45;
}

body.page-platform-pnprofilesupplierorderincoming-card .btn-info {
    background: linear-gradient(180deg, #1aa5ba 0%, #118ca0 100%) !important;
    border: 1px solid #0f91a5 !important;
    border-radius: 0.9rem !important;
    box-shadow: 0 10px 22px rgba(17, 140, 160, 0.18);
    color: #ffffff !important;
    font-weight: 700 !important;
    min-height: 2.9rem;
    padding: 0.72rem 1rem !important;
}

body.page-platform-pnprofilesupplierorderincoming-card .table-responsive {
    background: #ffffff;
    border: 1px solid #e4dcf7;
    border-radius: 1rem;
    box-shadow: 0 12px 28px rgba(52, 62, 95, 0.05);
    margin-bottom: 0;
    overflow-x: hidden;
    overflow-y: visible;
}

body.page-platform-pnprofilesupplierorderincoming-card .table-responsive > .table {
    margin-bottom: 0;
    min-width: 100%;
    width: 100% !important;
}

body.page-platform-pnprofilesupplierorderincoming-card .table-responsive > .table thead th {
    background: #faf8ff;
    border-bottom-width: 1px;
    color: #7b6ea1;
    font-size: 0.77rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

body.page-platform-pnprofilesupplierorderincoming-card .table-responsive > .table tbody tr:hover {
    background: #fcfbff;
}

@media (max-width: 992px) {
    body.page-platform-arrowtmp-card .erp-arrow-detail-summary__hero,
    body.page-platform-pnprofilesupplierorderincoming-card .erp-supplier-incoming-detail-summary__hero {
        flex-direction: column;
    }

    body.page-platform-arrowtmp-card .erp-arrow-detail-summary__metrics,
    body.page-platform-pnprofilesupplierorderincoming-card .erp-supplier-incoming-detail-summary__metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
    }
}

body.page-platform-globalsearch .erp-search-summary,
body.page-platform-searchresult .erp-search-summary {
    background:
        radial-gradient(circle at top right, rgba(25, 125, 116, 0.12), transparent 28%),
        linear-gradient(135deg, #f7fcfb 0%, #ffffff 56%, #edf8f5 100%);
    border: 1px solid #d9ece6;
    border-radius: 1.25rem;
    box-shadow: 0 16px 34px rgba(27, 94, 85, 0.08);
    margin-bottom: 1rem;
    padding: 1.35rem;
}

body.page-platform-globalsearch .erp-search-summary__hero,
body.page-platform-searchresult .erp-search-summary__hero {
    align-items: flex-start;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
}

body.page-platform-globalsearch .erp-search-summary__eyebrow,
body.page-platform-searchresult .erp-search-summary__eyebrow {
    color: #4a7f77;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin: 0 0 0.35rem;
    text-transform: uppercase;
}

body.page-platform-globalsearch .erp-search-summary__title,
body.page-platform-searchresult .erp-search-summary__title {
    color: #214440;
    font-size: 1.85rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0;
}

body.page-platform-globalsearch .erp-search-summary__description,
body.page-platform-searchresult .erp-search-summary__description {
    color: #5f7a76;
    line-height: 1.6;
    margin: 0.65rem 0 0;
    max-width: 56rem;
}

body.page-platform-globalsearch .erp-search-summary__metrics,
body.page-platform-globalsearch .erp-search-summary__grid,
body.page-platform-searchresult .erp-search-summary__metrics {
    display: grid;
    gap: 0.85rem;
}

body.page-platform-globalsearch .erp-search-summary__metrics,
body.page-platform-searchresult .erp-search-summary__metrics {
    grid-template-columns: repeat(2, minmax(9rem, 1fr));
    min-width: min(100%, 28rem);
}

body.page-platform-globalsearch .erp-search-summary__grid {
    grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
    margin-top: 1rem;
}

body.page-platform-globalsearch .erp-summary-metric,
body.page-platform-globalsearch .erp-summary-card,
body.page-platform-searchresult .erp-summary-metric {
    background: #ffffff;
    border: 1px solid #dcebe7;
    border-radius: 1rem;
    box-shadow: 0 12px 28px rgba(27, 94, 85, 0.05);
    padding: 0.95rem 1rem;
}

body.page-platform-globalsearch .erp-summary-metric span,
body.page-platform-globalsearch .erp-summary-card__label,
body.page-platform-searchresult .erp-summary-metric span {
    color: #63817b;
    display: block;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    margin-bottom: 0.3rem;
    text-transform: uppercase;
}

body.page-platform-globalsearch .erp-summary-metric strong,
body.page-platform-globalsearch .erp-summary-card__value,
body.page-platform-searchresult .erp-summary-metric strong {
    color: #214440;
    display: block;
    font-size: 1.08rem;
    font-weight: 800;
}

body.page-platform-globalsearch fieldset[data-async] > .col,
body.page-platform-searchresult fieldset[data-async] > .col {
    padding-left: 0.25rem !important;
    padding-right: 0.25rem !important;
}

body.page-platform-globalsearch fieldset[data-async] > .col > legend,
body.page-platform-searchresult fieldset[data-async] > .col > legend {
    color: #3a6d66 !important;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin-bottom: 0.6rem;
    text-transform: uppercase;
}

body.page-platform-globalsearch fieldset[data-async] > .bg-white.rounded.shadow-sm,
body.page-platform-searchresult fieldset[data-async] > .bg-white.rounded.shadow-sm {
    border: 1px solid #dbece7;
    border-radius: 1rem !important;
    box-shadow: 0 12px 28px rgba(27, 94, 85, 0.05) !important;
    padding: 1rem 1.1rem !important;
}

body.page-platform-globalsearch .erp-search-submit,
body.page-platform-searchresult .erp-search-action,
body.page-platform-globalsearch .erp-search-action {
    align-items: center;
    border-radius: 0.9rem !important;
    display: inline-flex !important;
    font-weight: 700 !important;
    gap: 0.45rem;
    justify-content: center;
    min-height: 2.9rem;
    opacity: 1 !important;
    padding: 0.72rem 1rem !important;
    text-decoration: none !important;
    white-space: nowrap;
}

body.page-platform-globalsearch .erp-search-submit,
body.page-platform-searchresult .erp-search-action,
body.page-platform-globalsearch .erp-search-action--primary {
    background: linear-gradient(180deg, #1c9e90 0%, #157d71 100%) !important;
    border: 1px solid #177a70 !important;
    box-shadow: 0 10px 22px rgba(21, 125, 113, 0.18);
    color: #ffffff !important;
}

body.page-platform-globalsearch .erp-search-submit:hover,
body.page-platform-globalsearch .erp-search-submit:focus,
body.page-platform-searchresult .erp-search-action,
body.page-platform-globalsearch .erp-search-action--primary:hover,
body.page-platform-searchresult .erp-search-action,
body.page-platform-globalsearch .erp-search-action--primary:focus {
    background: linear-gradient(180deg, #188d80 0%, #126e64 100%) !important;
    color: #ffffff !important;
}

body.page-platform-searchresult .erp-search-action,
body.page-platform-globalsearch .erp-search-action--secondary {
    background: #eef8f5 !important;
    border: 1px solid #c5e0d9 !important;
    color: #2f655d !important;
}

body.page-platform-searchresult .erp-search-action,
body.page-platform-globalsearch .erp-search-action--secondary:hover,
body.page-platform-searchresult .erp-search-action,
body.page-platform-globalsearch .erp-search-action--secondary:focus {
    background: #e3f3ef !important;
    color: #245852 !important;
}

body.page-platform-searchresult .table-responsive {
    background: #ffffff;
    border: 1px solid #dbece7;
    border-radius: 1rem;
    box-shadow: 0 12px 28px rgba(27, 94, 85, 0.05);
    margin-bottom: 0;
    overflow-x: auto;
    overflow-y: visible;
}

body.page-platform-searchresult .table-responsive > .table {
    margin-bottom: 0;
    min-width: 100%;
    table-layout: auto;
    width: 100% !important;
}

body.page-platform-searchresult .table-responsive > .table thead th {
    background: #f7fcfb;
    border-bottom-width: 1px;
    color: #64827b;
    font-size: 0.77rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

body.page-platform-searchresult .table-responsive > .table tbody tr:hover {
    background: #fbfefd;
}

body.page-platform-searchresult .erp-search-source-link {
    align-items: center !important;
    border-radius: 999px !important;
    box-shadow: 0 10px 20px rgba(27, 94, 85, 0.08);
    display: inline-flex !important;
    justify-content: center;
    min-height: 2.15rem;
    min-width: 10rem;
    padding: 0.4rem 0.9rem !important;
    text-decoration: none !important;
}

body.page-platform-searchresult .erp-search-name {
    color: #224541;
    display: inline-block;
    font-weight: 800;
    letter-spacing: 0.01em;
}

body.page-platform-searchresult .erp-search-description {
    color: #556f6b;
    display: inline-block;
    max-width: 42rem;
    white-space: normal;
}

body.page-platform-searchresult #screen-modal-exportFileSearchResults .modal-content {
    border-radius: 1rem;
    border: 1px solid #dbece7;
}

body.page-platform-searchresult #screen-modal-exportFileSearchResults .modal-body .btn {
    border-radius: 0.85rem;
    min-width: 6rem;
}

@media (max-width: 992px) {
    body.page-platform-globalsearch .erp-search-summary__hero,
    body.page-platform-searchresult .erp-search-summary__hero {
        flex-direction: column;
    }

    body.page-platform-globalsearch .erp-search-summary__metrics,
    body.page-platform-searchresult .erp-search-summary__metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
    }
}

/* ========== Survey Screen ========== */
body.page-platform-pnprofilesupplierordersurvey-card .erp-survey-summary {
    background:
        radial-gradient(circle at top right, rgba(73, 42, 160, 0.12), transparent 28%),
        linear-gradient(135deg, #f9f7ff 0%, #ffffff 56%, #f2eeff 100%);
    border: 1px solid #d8cef0;
    border-radius: 1.25rem;
    box-shadow: 0 12px 28px rgba(73, 42, 160, 0.06);
    margin-bottom: 1rem;
    padding: 1.35rem;
}
body.page-platform-pnprofilesupplierordersurvey-card .erp-survey-summary .erp-offer-summary__eyebrow {
    color: #6b4fa0;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.2rem;
}
body.page-platform-pnprofilesupplierordersurvey-card .erp-survey-summary .erp-offer-summary__title {
    color: #2d1b4e;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}
body.page-platform-pnprofilesupplierordersurvey-card .erp-survey-summary .erp-offer-summary__hero {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.5rem;
}
body.page-platform-pnprofilesupplierordersurvey-card .erp-survey-summary .erp-offer-summary__metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    align-items: flex-start;
}
body.page-platform-pnprofilesupplierordersurvey-card .erp-survey-summary .erp-summary-metric,
body.page-platform-pnprofilesupplierordersurvey-card .erp-survey-summary .erp-summary-card {
    background: rgba(255,255,255,0.85);
    border: 1px solid #e6ddf5;
    border-radius: 0.75rem;
    padding: 0.65rem 0.85rem;
}
body.page-platform-pnprofilesupplierordersurvey-card .erp-survey-summary .erp-summary-metric span,
body.page-platform-pnprofilesupplierordersurvey-card .erp-survey-summary .erp-summary-card__label {
    display: block;
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #6b4fa0;
    margin-bottom: 0.15rem;
}
body.page-platform-pnprofilesupplierordersurvey-card .erp-survey-summary .erp-summary-metric strong {
    font-size: 1.1rem;
    font-weight: 700;
    color: #2d1b4e;
}
body.page-platform-pnprofilesupplierordersurvey-card .erp-survey-summary .erp-offer-summary__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
    gap: 0.6rem;
    margin-top: 0.85rem;
}

/* Delivered card - reuse survey purple theme */
body.page-platform-pnprofilesupplierorderdelivered-card .erp-delivered-summary {
    background:
        radial-gradient(circle at top right, rgba(36, 123, 82, 0.12), transparent 28%),
        linear-gradient(135deg, #f6fdf9 0%, #ffffff 56%, #edf8f1 100%);
    border: 1px solid #c3e6cb;
    border-radius: 1.25rem;
    box-shadow: 0 12px 28px rgba(36, 123, 82, 0.06);
    margin-bottom: 1rem;
    padding: 1.35rem;
}
body.page-platform-pnprofilesupplierorderdelivered-card .erp-delivered-summary .erp-offer-summary__eyebrow {
    color: #247b52;
    font-size: 0.72rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.2rem;
}
body.page-platform-pnprofilesupplierorderdelivered-card .erp-delivered-summary .erp-offer-summary__title {
    color: #1a5c3a;
    font-size: 1.5rem; font-weight: 800; margin-bottom: 0.5rem;
}
body.page-platform-pnprofilesupplierorderdelivered-card .erp-delivered-summary .erp-offer-summary__hero {
    display: flex; justify-content: space-between; align-items: flex-start; gap: 1.5rem;
}
body.page-platform-pnprofilesupplierorderdelivered-card .erp-delivered-summary .erp-offer-summary__metrics {
    display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: flex-start;
}
body.page-platform-pnprofilesupplierorderdelivered-card .erp-delivered-summary .erp-summary-metric,
body.page-platform-pnprofilesupplierorderdelivered-card .erp-delivered-summary .erp-summary-card {
    background: rgba(255,255,255,0.85); border: 1px solid #c3e6cb; border-radius: 0.75rem; padding: 0.65rem 0.85rem;
}
body.page-platform-pnprofilesupplierorderdelivered-card .erp-delivered-summary .erp-summary-metric span,
body.page-platform-pnprofilesupplierorderdelivered-card .erp-delivered-summary .erp-summary-card__label {
    display: block; font-size: 0.68rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; color: #247b52; margin-bottom: 0.15rem;
}
body.page-platform-pnprofilesupplierorderdelivered-card .erp-delivered-summary .erp-summary-metric strong {
    font-size: 1.1rem; font-weight: 700; color: #1a5c3a;
}
body.page-platform-pnprofilesupplierorderdelivered-card .erp-delivered-summary .erp-offer-summary__grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); gap: 0.6rem; margin-top: 0.85rem;
}
@media (max-width: 992px) {
    body.page-platform-pnprofilesupplierorderdelivered-card .erp-delivered-summary .erp-offer-summary__hero {
        flex-direction: column;
    }
}

/* Survey checklist */
.erp-survey-checklist {
    background: #ffffff;
    border: 1px solid #e6ddf5;
    border-radius: 1rem;
    box-shadow: 0 4px 12px rgba(73, 42, 160, 0.04);
    margin-bottom: 1.5rem;
    overflow: hidden;
}
.erp-survey-checklist__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.85rem 1.2rem;
    background: linear-gradient(135deg, #f9f7ff 0%, #f2eeff 100%);
    border-bottom: 1px solid #e6ddf5;
}
.erp-survey-checklist__title {
    font-size: 0.95rem;
    font-weight: 800;
    color: #2d1b4e;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0;
}
.erp-survey-checklist__select-all {
    background: #6b4fa0;
    color: #fff;
    border: none;
    border-radius: 0.6rem;
    padding: 0.35rem 1rem;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s;
}
.erp-survey-checklist__select-all:hover {
    background: #5a3f8a;
    color: #fff;
}
.erp-survey-checklist__table {
    width: 100%;
    border-collapse: collapse;
}
.erp-survey-checklist__table thead th {
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #6b4fa0;
    padding: 0.6rem 1rem;
    border-bottom: 2px solid #e6ddf5;
    background: #faf8ff;
}
.erp-survey-checklist__th-item { width: 50%; }
.erp-survey-checklist__th-check { width: 8%; text-align: center; }
.erp-survey-checklist__th-value { width: 42%; }
.erp-survey-checklist__table tbody tr {
    border-bottom: 1px solid #f0ebf8;
    transition: background 0.1s;
}
.erp-survey-checklist__table tbody tr:nth-child(even) {
    background: #fdfcff;
}
.erp-survey-checklist__table tbody tr:hover {
    background: #f5f0ff;
}
.erp-survey-checklist__label {
    padding: 0.65rem 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #344955;
}
.erp-survey-checklist__check {
    padding: 0.65rem 0.5rem;
    text-align: center;
}
.erp-survey-checklist__check .form-check-input {
    width: 1.25rem;
    height: 1.25rem;
    cursor: pointer;
}
.erp-survey-checklist__check .form-check-input:checked {
    background-color: #6b4fa0;
    border-color: #6b4fa0;
}
.erp-survey-checklist__value {
    padding: 0.5rem 1rem 0.5rem 0.5rem;
}
.erp-survey-checklist__value .form-control-sm {
    border-radius: 0.5rem;
    border: 1px solid #e0dae8;
    font-size: 0.85rem;
    padding: 0.35rem 0.65rem;
}
.erp-survey-checklist__value .form-control-sm:focus {
    border-color: #6b4fa0;
    box-shadow: 0 0 0 2px rgba(107, 79, 160, 0.15);
}

@media (max-width: 992px) {
    body.page-platform-pnprofilesupplierordersurvey-card .erp-survey-summary .erp-offer-summary__hero {
        flex-direction: column;
    }
    body.page-platform-pnprofilesupplierordersurvey-card .erp-survey-summary .erp-offer-summary__metrics {
        width: 100%;
    }
}

/* Provider pills for global search */
.erp-provider-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid #dee2e6;
    background: #f8f9fa;
    color: #6c757d;
}
.erp-provider-pill--ok { background: #d4edda; color: #155724; border-color: #c3e6cb; }
.erp-provider-pill--empty { background: #fff3cd; color: #856404; border-color: #ffeeba; }
.erp-provider-pill--error { background: #f8d7da; color: #721c24; border-color: #f5c6cb; }
.erp-provider-pill--loading { background: #e2e3e5; color: #383d41; border-color: #d6d8db; }
.erp-provider-pill--idle { background: #cfe2ff; color: #084298; border-color: #b6d4fe; }
.erp-provider-pill--disabled { background: #f8f9fa; color: #adb5bd; border-color: #dee2e6; opacity: 0.6; }

.erp-search-source-link--external { color: #0d6efd; }

body.page-platform-customerorderoutgoing-list .erp-offer-summary {
    background:
        radial-gradient(circle at top right, rgba(188, 91, 48, 0.14), transparent 28%),
        linear-gradient(135deg, #fffaf6 0%, #ffffff 56%, #fff2e7 100%);
    border: 1px solid #f0ddd0;
    border-radius: 1.25rem;
    box-shadow: 0 16px 34px rgba(120, 68, 37, 0.08);
    margin-bottom: 1rem;
    padding: 1.35rem;
}

body.page-platform-customerorderoutgoing-list .erp-offer-summary__hero {
    align-items: flex-start;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
}

body.page-platform-customerorderoutgoing-list .erp-offer-summary__eyebrow {
    color: #8a664f;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin: 0 0 0.35rem;
    text-transform: uppercase;
}

body.page-platform-customerorderoutgoing-list .erp-offer-summary__title {
    color: #35271f;
    font-size: 1.85rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0;
}

body.page-platform-customerorderoutgoing-list .erp-offer-summary__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 0.85rem;
}

body.page-platform-customerorderoutgoing-list .erp-status-pill {
    border-radius: 999px;
    display: inline-flex;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    padding: 0.52rem 0.85rem;
    text-transform: uppercase;
}

body.page-platform-customerorderoutgoing-list .erp-status-pill--warning {
    background: #fff1cf;
    border: 1px solid #f3d178;
    color: #7b5b00;
}

body.page-platform-customerorderoutgoing-list .erp-status-pill--success {
    background: #dff5e9;
    border: 1px solid #afdcc2;
    color: #196240;
}

body.page-platform-customerorderoutgoing-list .erp-offer-summary__metrics,
body.page-platform-customerorderoutgoing-list .erp-offer-summary__grid {
    display: grid;
    gap: 0.85rem;
}

body.page-platform-customerorderoutgoing-list .erp-offer-summary__metrics {
    grid-template-columns: repeat(4, minmax(8.75rem, 1fr));
    min-width: min(100%, 32rem);
}

body.page-platform-customerorderoutgoing-list .erp-summary-metric,
body.page-platform-customerorderoutgoing-list .erp-summary-card {
    background: #ffffff;
    border: 1px solid #f0e0d6;
    border-radius: 1rem;
    box-shadow: 0 12px 28px rgba(120, 68, 37, 0.05);
    padding: 0.95rem 1rem;
}

body.page-platform-customerorderoutgoing-list .erp-summary-metric span,
body.page-platform-customerorderoutgoing-list .erp-summary-card__label {
    color: #826d5e;
    display: block;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    margin-bottom: 0.3rem;
    text-transform: uppercase;
}

body.page-platform-customerorderoutgoing-list .erp-summary-metric strong {
    color: #35271f;
    display: block;
    font-size: 1.18rem;
    font-weight: 800;
}

body.page-platform-customerorderoutgoing-list .erp-offer-summary__grid {
    grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
    margin-top: 1rem;
}

body.page-platform-customerorderoutgoing-list .erp-summary-card__value {
    color: #43332a;
    font-size: 0.95rem;
    font-weight: 700;
}

body.page-platform-customerorderoutgoing-list [data-controller="tabs"] .nav-tabs-alt {
    background: #ffffff;
    border: 1px solid #f0ddd0;
    border-radius: 1rem;
    box-shadow: 0 12px 28px rgba(120, 68, 37, 0.05);
    margin-bottom: 1rem;
    padding: 0.65rem;
}

body.page-platform-customerorderoutgoing-list [data-controller="tabs"] .nav-tabs {
    border-bottom: 0;
    gap: 0.45rem;
}

body.page-platform-customerorderoutgoing-list [data-controller="tabs"] .nav-tabs .nav-link {
    background: #fff3ea;
    border: 0;
    border-radius: 999px;
    color: #775f50 !important;
    font-weight: 700;
    padding: 0.6rem 0.95rem;
}

body.page-platform-customerorderoutgoing-list [data-controller="tabs"] .nav-tabs .nav-link.active {
    background: #d45f32 !important;
    box-shadow: 0 8px 18px rgba(212, 95, 50, 0.22);
    color: #ffffff !important;
}

body.page-platform-customerorderoutgoing-list [data-controller="tabs"] .tab-content > .tab-pane {
    background: #ffffff;
    border: 1px solid #f0ddd0;
    border-radius: 1rem;
    box-shadow: 0 12px 28px rgba(120, 68, 37, 0.05);
    padding: 1rem;
}

body.page-platform-customerorderoutgoing-list .table-responsive {
    background: #ffffff;
    border: 1px solid #f0ddd0;
    border-radius: 1rem;
    box-shadow: 0 12px 28px rgba(120, 68, 37, 0.05);
    margin-bottom: 0;
    overflow-x: hidden;
    overflow-y: visible;
}

body.page-platform-customerorderoutgoing-list .table-responsive > .table {
    margin-bottom: 0;
    min-width: 100%;
    table-layout: auto;
    width: 100% !important;
}

body.page-platform-customerorderoutgoing-list .table-responsive > .table thead th {
    background: #fffaf6;
    border-bottom-width: 1px;
    color: #826d5e;
    font-size: 0.77rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

body.page-platform-customerorderoutgoing-list .table-responsive > .table tbody tr:hover {
    background: #fffdfb;
}

body.page-platform-customerorderoutgoing-list .table-responsive > .table a[style*="width:170px"],
body.page-platform-customerorderoutgoing-list .table-responsive > .table a[style*="width:200px"] {
    align-items: center !important;
    border-radius: 999px !important;
    box-shadow: 0 10px 20px rgba(120, 68, 37, 0.08);
    justify-content: center;
    min-height: 2.1rem;
    padding-left: 0.8rem !important;
    padding-right: 0.8rem !important;
}

body.page-platform-customerorderoutgoing-list .table-responsive > .table .dropdown .btn {
    border-radius: 0.85rem;
}

#screen-modal-newRfq,
#screen-modal-newOffer,
#screen-modal-newCustomerOrder,
#screen-modal-newSupplierOrder,
#screen-modal-newTestSupplierOrder {
    --erp-create-modal-accent: #d7782a;
    --erp-create-modal-accent-strong: #c26418;
    --erp-create-modal-border: #f0ddd0;
    --erp-create-modal-surface: #fff7ef;
    --erp-create-modal-surface-strong: #fff2df;
    --erp-create-modal-shadow: rgba(120, 68, 37, 0.16);
    --erp-create-modal-ring: rgba(215, 120, 42, 0.18);
    --erp-create-modal-title: #4c2c15;
    --erp-create-modal-muted: #7d6658;
}

#screen-modal-newOffer {
    --erp-create-modal-accent: #dc0067;
    --erp-create-modal-accent-strong: #b30057;
    --erp-create-modal-border: #f1d6df;
    --erp-create-modal-surface: #fff7fb;
    --erp-create-modal-surface-strong: #ffeaf3;
    --erp-create-modal-shadow: rgba(129, 59, 87, 0.16);
    --erp-create-modal-ring: rgba(220, 0, 103, 0.16);
    --erp-create-modal-title: #42192d;
    --erp-create-modal-muted: #7c6170;
}

#screen-modal-newCustomerOrder {
    --erp-create-modal-accent: #16a1b7;
    --erp-create-modal-accent-strong: #10879a;
    --erp-create-modal-border: #dbe8ec;
    --erp-create-modal-surface: #f6fbfc;
    --erp-create-modal-surface-strong: #eaf6f8;
    --erp-create-modal-shadow: rgba(28, 76, 92, 0.16);
    --erp-create-modal-ring: rgba(22, 161, 183, 0.16);
    --erp-create-modal-title: #1b4b58;
    --erp-create-modal-muted: #6d858c;
}

#screen-modal-newSupplierOrder {
    --erp-create-modal-accent: #492aa0;
    --erp-create-modal-accent-strong: #3c2285;
    --erp-create-modal-border: #e4dcf5;
    --erp-create-modal-surface: #faf8ff;
    --erp-create-modal-surface-strong: #f1ecff;
    --erp-create-modal-shadow: rgba(73, 42, 160, 0.16);
    --erp-create-modal-ring: rgba(73, 42, 160, 0.16);
    --erp-create-modal-title: #341d72;
    --erp-create-modal-muted: #756b97;
}

#screen-modal-newTestSupplierOrder {
    --erp-create-modal-accent: #7b59e6;
    --erp-create-modal-accent-strong: #6648c9;
    --erp-create-modal-border: #e4def8;
    --erp-create-modal-surface: #fbf9ff;
    --erp-create-modal-surface-strong: #f3efff;
    --erp-create-modal-shadow: rgba(123, 89, 230, 0.16);
    --erp-create-modal-ring: rgba(123, 89, 230, 0.16);
    --erp-create-modal-title: #3c2b84;
    --erp-create-modal-muted: #786d9d;
}

#screen-modal-newRfq .modal-dialog,
#screen-modal-newOffer .modal-dialog,
#screen-modal-newCustomerOrder .modal-dialog,
#screen-modal-newSupplierOrder .modal-dialog,
#screen-modal-newTestSupplierOrder .modal-dialog {
    max-width: min(980px, calc(100vw - 2rem));
}

#screen-modal-newRfq .modal-content,
#screen-modal-newOffer .modal-content,
#screen-modal-newCustomerOrder .modal-content,
#screen-modal-newSupplierOrder .modal-content,
#screen-modal-newTestSupplierOrder .modal-content {
    background:
        radial-gradient(circle at top right, var(--erp-create-modal-ring), transparent 24%),
        linear-gradient(180deg, #ffffff 0%, var(--erp-create-modal-surface) 100%);
    border: 1px solid var(--erp-create-modal-border);
    border-radius: 1.2rem;
    box-shadow: 0 24px 48px var(--erp-create-modal-shadow);
}

#screen-modal-newRfq .modal-header,
#screen-modal-newOffer .modal-header,
#screen-modal-newCustomerOrder .modal-header,
#screen-modal-newSupplierOrder .modal-header,
#screen-modal-newTestSupplierOrder .modal-header {
    background: linear-gradient(180deg, #ffffff 0%, var(--erp-create-modal-surface) 100%);
    border-bottom: 1px solid var(--erp-create-modal-border);
    padding: 1rem 1.15rem;
}

#screen-modal-newRfq .modal-title,
#screen-modal-newOffer .modal-title,
#screen-modal-newCustomerOrder .modal-title,
#screen-modal-newSupplierOrder .modal-title,
#screen-modal-newTestSupplierOrder .modal-title {
    color: var(--erp-create-modal-title) !important;
    font-size: 1.1rem;
    font-weight: 800 !important;
    letter-spacing: -0.02em;
}

#screen-modal-newRfq .btn-close,
#screen-modal-newOffer .btn-close,
#screen-modal-newCustomerOrder .btn-close,
#screen-modal-newSupplierOrder .btn-close,
#screen-modal-newTestSupplierOrder .btn-close {
    border-radius: 999px;
    box-shadow: none;
    opacity: 0.85;
}

#screen-modal-newRfq .modal-body,
#screen-modal-newOffer .modal-body,
#screen-modal-newCustomerOrder .modal-body,
#screen-modal-newSupplierOrder .modal-body,
#screen-modal-newTestSupplierOrder .modal-body {
    padding: 1rem 1.15rem 1.2rem;
}

#screen-modal-newRfq .modal-body [data-async],
#screen-modal-newOffer .modal-body [data-async],
#screen-modal-newCustomerOrder .modal-body [data-async],
#screen-modal-newSupplierOrder .modal-body [data-async],
#screen-modal-newTestSupplierOrder .modal-body [data-async] {
    display: grid;
    gap: 0.9rem;
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
}

#screen-modal-newRfq .erp-create-modal-intro,
#screen-modal-newOffer .erp-create-modal-intro,
#screen-modal-newCustomerOrder .erp-create-modal-intro,
#screen-modal-newSupplierOrder .erp-create-modal-intro,
#screen-modal-newTestSupplierOrder .erp-create-modal-intro {
    background: linear-gradient(135deg, var(--erp-create-modal-surface) 0%, var(--erp-create-modal-surface-strong) 100%);
    border: 1px solid var(--erp-create-modal-border);
    border-radius: 1rem;
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.04);
    padding: 1rem 1.05rem;
}

.erp-create-modal-intro__eyebrow {
    color: var(--erp-create-modal-muted);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin: 0 0 0.3rem;
    text-transform: uppercase;
}

.erp-create-modal-intro__title {
    color: var(--erp-create-modal-title);
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0;
}

.erp-create-modal-intro__description {
    color: var(--erp-create-modal-muted);
    margin: 0.55rem 0 0;
    line-height: 1.55;
    max-width: none;
    width: 100%;
}

.erp-create-modal-intro__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 0.85rem;
}

.erp-create-modal-intro__chip {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--erp-create-modal-border);
    border-radius: 999px;
    color: var(--erp-create-modal-title);
    display: inline-flex;
    font-size: 0.76rem;
    font-weight: 700;
    padding: 0.42rem 0.72rem;
}

#screen-modal-newRfq .modal-body [data-async] > .row,
#screen-modal-newOffer .modal-body [data-async] > .row,
#screen-modal-newCustomerOrder .modal-body [data-async] > .row,
#screen-modal-newSupplierOrder .modal-body [data-async] > .row,
#screen-modal-newTestSupplierOrder .modal-body [data-async] > .row {
    background: #ffffff;
    border: 1px solid var(--erp-create-modal-border);
    border-radius: 1rem;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.04);
    margin: 0;
    padding: 1rem 1rem 0.9rem;
    width: 100%;
}

#screen-modal-newRfq .modal-body [data-async] > .row > *,
#screen-modal-newOffer .modal-body [data-async] > .row > *,
#screen-modal-newCustomerOrder .modal-body [data-async] > .row > *,
#screen-modal-newSupplierOrder .modal-body [data-async] > .row > *,
#screen-modal-newTestSupplierOrder .modal-body [data-async] > .row > * {
    padding-left: 0.55rem;
    padding-right: 0.55rem;
}

#screen-modal-newRfq .modal-body .col-form-label,
#screen-modal-newOffer .modal-body .col-form-label,
#screen-modal-newCustomerOrder .modal-body .col-form-label,
#screen-modal-newSupplierOrder .modal-body .col-form-label,
#screen-modal-newTestSupplierOrder .modal-body .col-form-label,
.erp-modal-legacy-select__label {
    color: var(--erp-create-modal-muted);
    display: block;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    margin-bottom: 0.45rem;
    text-transform: uppercase;
}

#screen-modal-newRfq .modal-body .form-control,
#screen-modal-newRfq .modal-body .form-select,
#screen-modal-newRfq .modal-body [data-controller="relation"] .ts-control,
#screen-modal-newRfq .modal-body [data-controller="select"] .ts-control,
#screen-modal-newOffer .modal-body .form-control,
#screen-modal-newOffer .modal-body .form-select,
#screen-modal-newOffer .modal-body [data-controller="relation"] .ts-control,
#screen-modal-newOffer .modal-body [data-controller="select"] .ts-control,
#screen-modal-newCustomerOrder .modal-body .form-control,
#screen-modal-newCustomerOrder .modal-body .form-select,
#screen-modal-newCustomerOrder .modal-body [data-controller="relation"] .ts-control,
#screen-modal-newCustomerOrder .modal-body [data-controller="select"] .ts-control,
#screen-modal-newSupplierOrder .modal-body .form-control,
#screen-modal-newSupplierOrder .modal-body .form-select,
#screen-modal-newSupplierOrder .modal-body [data-controller="relation"] .ts-control,
#screen-modal-newSupplierOrder .modal-body [data-controller="select"] .ts-control,
#screen-modal-newTestSupplierOrder .modal-body .form-control,
#screen-modal-newTestSupplierOrder .modal-body .form-select,
#screen-modal-newTestSupplierOrder .modal-body [data-controller="relation"] .ts-control,
#screen-modal-newTestSupplierOrder .modal-body [data-controller="select"] .ts-control,
.erp-modal-legacy-select__control {
    background: #fffdfb;
    border: 1px solid var(--erp-create-modal-border);
    border-radius: 0.9rem;
    box-shadow: none !important;
    min-height: 2.9rem;
    max-width: 100% !important;
    width: 100% !important;
}

#screen-modal-newRfq .modal-body .input-group,
#screen-modal-newRfq .modal-body .input-icon,
#screen-modal-newOffer .modal-body .input-group,
#screen-modal-newOffer .modal-body .input-icon,
#screen-modal-newCustomerOrder .modal-body .input-group,
#screen-modal-newCustomerOrder .modal-body .input-icon,
#screen-modal-newSupplierOrder .modal-body .input-group,
#screen-modal-newSupplierOrder .modal-body .input-icon,
#screen-modal-newTestSupplierOrder .modal-body .input-group,
#screen-modal-newTestSupplierOrder .modal-body .input-icon,
#screen-modal-newRfq .modal-body .form-group,
#screen-modal-newOffer .modal-body .form-group,
#screen-modal-newCustomerOrder .modal-body .form-group,
#screen-modal-newSupplierOrder .modal-body .form-group,
#screen-modal-newTestSupplierOrder .modal-body .form-group {
    margin-bottom: 0.45rem;
    max-width: 100% !important;
    width: 100%;
}

#screen-modal-newRfq .modal-body textarea.form-control,
#screen-modal-newOffer .modal-body textarea.form-control,
#screen-modal-newCustomerOrder .modal-body textarea.form-control,
#screen-modal-newSupplierOrder .modal-body textarea.form-control,
#screen-modal-newTestSupplierOrder .modal-body textarea.form-control {
    min-height: 7rem;
}

#screen-modal-newRfq .modal-body select[multiple],
#screen-modal-newOffer .modal-body select[multiple],
#screen-modal-newCustomerOrder .modal-body select[multiple],
#screen-modal-newSupplierOrder .modal-body select[multiple],
#screen-modal-newTestSupplierOrder .modal-body select[multiple] {
    min-height: 8.5rem;
}

#screen-modal-newRfq .modal-body .form-control:focus,
#screen-modal-newRfq .modal-body .form-select:focus,
#screen-modal-newRfq .modal-body [data-controller="relation"] .ts-control.focus,
#screen-modal-newRfq .modal-body [data-controller="select"] .ts-control.focus,
#screen-modal-newOffer .modal-body .form-control:focus,
#screen-modal-newOffer .modal-body .form-select:focus,
#screen-modal-newOffer .modal-body [data-controller="relation"] .ts-control.focus,
#screen-modal-newOffer .modal-body [data-controller="select"] .ts-control.focus,
#screen-modal-newCustomerOrder .modal-body .form-control:focus,
#screen-modal-newCustomerOrder .modal-body .form-select:focus,
#screen-modal-newCustomerOrder .modal-body [data-controller="relation"] .ts-control.focus,
#screen-modal-newCustomerOrder .modal-body [data-controller="select"] .ts-control.focus,
#screen-modal-newSupplierOrder .modal-body .form-control:focus,
#screen-modal-newSupplierOrder .modal-body .form-select:focus,
#screen-modal-newSupplierOrder .modal-body [data-controller="relation"] .ts-control.focus,
#screen-modal-newSupplierOrder .modal-body [data-controller="select"] .ts-control.focus,
#screen-modal-newTestSupplierOrder .modal-body .form-control:focus,
#screen-modal-newTestSupplierOrder .modal-body .form-select:focus,
#screen-modal-newTestSupplierOrder .modal-body [data-controller="relation"] .ts-control.focus,
#screen-modal-newTestSupplierOrder .modal-body [data-controller="select"] .ts-control.focus,
.erp-modal-legacy-select__control:focus {
    border-color: var(--erp-create-modal-accent);
    box-shadow: 0 0 0 0.2rem var(--erp-create-modal-ring) !important;
}

#screen-modal-newRfq .modal-body [data-controller="relation"] .ts-wrapper,
#screen-modal-newRfq .modal-body [data-controller="select"] .ts-wrapper,
#screen-modal-newOffer .modal-body [data-controller="relation"] .ts-wrapper,
#screen-modal-newOffer .modal-body [data-controller="select"] .ts-wrapper,
#screen-modal-newCustomerOrder .modal-body [data-controller="relation"] .ts-wrapper,
#screen-modal-newCustomerOrder .modal-body [data-controller="select"] .ts-wrapper,
#screen-modal-newSupplierOrder .modal-body [data-controller="relation"] .ts-wrapper,
#screen-modal-newSupplierOrder .modal-body [data-controller="select"] .ts-wrapper,
#screen-modal-newTestSupplierOrder .modal-body [data-controller="relation"] .ts-wrapper,
#screen-modal-newTestSupplierOrder .modal-body [data-controller="select"] .ts-wrapper {
    width: 100%;
}

#screen-modal-newRfq .modal-body [data-controller="relation"] .ts-wrapper.multi .ts-control > div,
#screen-modal-newRfq .modal-body [data-controller="select"] .ts-wrapper.multi .ts-control > div,
#screen-modal-newOffer .modal-body [data-controller="relation"] .ts-wrapper.multi .ts-control > div,
#screen-modal-newOffer .modal-body [data-controller="select"] .ts-wrapper.multi .ts-control > div,
#screen-modal-newCustomerOrder .modal-body [data-controller="relation"] .ts-wrapper.multi .ts-control > div,
#screen-modal-newCustomerOrder .modal-body [data-controller="select"] .ts-wrapper.multi .ts-control > div,
#screen-modal-newSupplierOrder .modal-body [data-controller="relation"] .ts-wrapper.multi .ts-control > div,
#screen-modal-newSupplierOrder .modal-body [data-controller="select"] .ts-wrapper.multi .ts-control > div,
#screen-modal-newTestSupplierOrder .modal-body [data-controller="relation"] .ts-wrapper.multi .ts-control > div,
#screen-modal-newTestSupplierOrder .modal-body [data-controller="select"] .ts-wrapper.multi .ts-control > div {
    background: var(--erp-create-modal-surface);
    border: 1px solid var(--erp-create-modal-border);
    border-radius: 999px;
    color: var(--erp-create-modal-title);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.2rem 0.45rem;
}

#screen-modal-newRfq .modal-body .form-text,
#screen-modal-newOffer .modal-body .form-text,
#screen-modal-newCustomerOrder .modal-body .form-text,
#screen-modal-newSupplierOrder .modal-body .form-text,
#screen-modal-newTestSupplierOrder .modal-body .form-text {
    color: var(--erp-create-modal-muted);
    font-size: 0.78rem;
}

#screen-modal-newRfq .modal-footer,
#screen-modal-newOffer .modal-footer,
#screen-modal-newCustomerOrder .modal-footer,
#screen-modal-newSupplierOrder .modal-footer,
#screen-modal-newTestSupplierOrder .modal-footer {
    border-top: 1px solid var(--erp-create-modal-border);
    padding: 1rem 1.15rem 1.15rem;
}

#screen-modal-newRfq .modal-footer .btn-link,
#screen-modal-newOffer .modal-footer .btn-link,
#screen-modal-newCustomerOrder .modal-footer .btn-link,
#screen-modal-newSupplierOrder .modal-footer .btn-link,
#screen-modal-newTestSupplierOrder .modal-footer .btn-link {
    border-radius: 0.85rem;
    color: var(--erp-create-modal-muted);
    font-weight: 700;
    padding: 0.7rem 0.95rem;
    text-decoration: none;
}

#screen-modal-newRfq .modal-footer .btn-default,
#screen-modal-newOffer .modal-footer .btn-default,
#screen-modal-newCustomerOrder .modal-footer .btn-default,
#screen-modal-newSupplierOrder .modal-footer .btn-default,
#screen-modal-newTestSupplierOrder .modal-footer .btn-default {
    background: linear-gradient(180deg, var(--erp-create-modal-accent) 0%, var(--erp-create-modal-accent-strong) 100%);
    border: 0;
    border-radius: 0.9rem;
    box-shadow: 0 12px 24px var(--erp-create-modal-shadow);
    color: #ffffff !important;
    font-weight: 800;
    min-height: 2.9rem;
    padding: 0.8rem 1.05rem;
    text-shadow: 0 1px 0 rgba(15, 23, 42, 0.18);
}

#screen-modal-newRfq .modal-footer .btn-default *,
#screen-modal-newOffer .modal-footer .btn-default *,
#screen-modal-newCustomerOrder .modal-footer .btn-default *,
#screen-modal-newSupplierOrder .modal-footer .btn-default *,
#screen-modal-newTestSupplierOrder .modal-footer .btn-default * {
    color: #ffffff !important;
}

#screen-modal-newRfq .modal-footer .btn-default:hover,
#screen-modal-newRfq .modal-footer .btn-default:focus,
#screen-modal-newOffer .modal-footer .btn-default:hover,
#screen-modal-newOffer .modal-footer .btn-default:focus,
#screen-modal-newCustomerOrder .modal-footer .btn-default:hover,
#screen-modal-newCustomerOrder .modal-footer .btn-default:focus,
#screen-modal-newSupplierOrder .modal-footer .btn-default:hover,
#screen-modal-newSupplierOrder .modal-footer .btn-default:focus,
#screen-modal-newTestSupplierOrder .modal-footer .btn-default:hover,
#screen-modal-newTestSupplierOrder .modal-footer .btn-default:focus {
    color: #ffffff;
    filter: brightness(0.98);
}

.erp-modal-legacy-select {
    background: #ffffff;
    border: 1px solid var(--erp-create-modal-border);
    border-radius: 1rem;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.04);
    margin: 0;
    padding: 0.95rem 1rem 0.15rem;
    width: 100%;
}

body.page-platform-pnprofilecustomerorder-list .modal[id^="screen-modal-"] {
    --erp-create-modal-accent: #16a1b7;
    --erp-create-modal-accent-strong: #10879a;
    --erp-create-modal-border: #dbe8ec;
    --erp-create-modal-surface: #f6fbfc;
    --erp-create-modal-surface-strong: #eaf6f8;
    --erp-create-modal-shadow: rgba(28, 76, 92, 0.16);
    --erp-create-modal-ring: rgba(22, 161, 183, 0.16);
    --erp-create-modal-title: #1b4b58;
    --erp-create-modal-muted: #6d858c;
}

body.page-platform-pnprofilesupplierorder-list .modal[id^="screen-modal-"] {
    --erp-create-modal-accent: #492aa0;
    --erp-create-modal-accent-strong: #3c2285;
    --erp-create-modal-border: #e4dcf5;
    --erp-create-modal-surface: #faf8ff;
    --erp-create-modal-surface-strong: #f1ecff;
    --erp-create-modal-shadow: rgba(73, 42, 160, 0.16);
    --erp-create-modal-ring: rgba(73, 42, 160, 0.16);
    --erp-create-modal-title: #341d72;
    --erp-create-modal-muted: #756b97;
}

body.page-platform-pnprofiletestsupplierorder-list .modal[id^="screen-modal-"]:not(#screen-modal-newSupplierOrderPartNumber):not(#screen-modal-modalInitIncoming) {
    --erp-create-modal-accent: #7b59e6;
    --erp-create-modal-accent-strong: #6648c9;
    --erp-create-modal-border: #e4def8;
    --erp-create-modal-surface: #fbf9ff;
    --erp-create-modal-surface-strong: #f3efff;
    --erp-create-modal-shadow: rgba(123, 89, 230, 0.16);
    --erp-create-modal-ring: rgba(123, 89, 230, 0.16);
    --erp-create-modal-title: #3c2b84;
    --erp-create-modal-muted: #786d9d;
}

body.page-platform-pnprofilecustomerorder-list .modal[id^="screen-modal-"] .modal-dialog,
body.page-platform-pnprofilesupplierorder-list .modal[id^="screen-modal-"] .modal-dialog,
body.page-platform-pnprofiletestsupplierorder-list .modal[id^="screen-modal-"]:not(#screen-modal-newSupplierOrderPartNumber):not(#screen-modal-modalInitIncoming) .modal-dialog {
    max-width: min(920px, calc(100vw - 2rem));
}

body.page-platform-pnprofilecustomerorder-list .modal[id^="screen-modal-"] .modal-content,
body.page-platform-pnprofilesupplierorder-list .modal[id^="screen-modal-"] .modal-content,
body.page-platform-pnprofiletestsupplierorder-list .modal[id^="screen-modal-"]:not(#screen-modal-newSupplierOrderPartNumber):not(#screen-modal-modalInitIncoming) .modal-content {
    background:
        radial-gradient(circle at top right, var(--erp-create-modal-ring), transparent 24%),
        linear-gradient(180deg, #ffffff 0%, var(--erp-create-modal-surface) 100%);
    border: 1px solid var(--erp-create-modal-border);
    border-radius: 1.2rem;
    box-shadow: 0 24px 48px var(--erp-create-modal-shadow);
}

body.page-platform-pnprofilecustomerorder-list .modal[id^="screen-modal-"] .modal-header,
body.page-platform-pnprofilesupplierorder-list .modal[id^="screen-modal-"] .modal-header,
body.page-platform-pnprofiletestsupplierorder-list .modal[id^="screen-modal-"]:not(#screen-modal-newSupplierOrderPartNumber):not(#screen-modal-modalInitIncoming) .modal-header {
    background: linear-gradient(180deg, #ffffff 0%, var(--erp-create-modal-surface) 100%);
    border-bottom: 1px solid var(--erp-create-modal-border);
    padding: 1rem 1.15rem;
}

body.page-platform-pnprofilecustomerorder-list .modal[id^="screen-modal-"] .modal-title,
body.page-platform-pnprofilesupplierorder-list .modal[id^="screen-modal-"] .modal-title,
body.page-platform-pnprofiletestsupplierorder-list .modal[id^="screen-modal-"]:not(#screen-modal-newSupplierOrderPartNumber):not(#screen-modal-modalInitIncoming) .modal-title {
    color: var(--erp-create-modal-title) !important;
    font-size: 1.1rem;
    font-weight: 800 !important;
    letter-spacing: -0.02em;
}

body.page-platform-pnprofilecustomerorder-list .modal[id^="screen-modal-"] .btn-close,
body.page-platform-pnprofilesupplierorder-list .modal[id^="screen-modal-"] .btn-close,
body.page-platform-pnprofiletestsupplierorder-list .modal[id^="screen-modal-"]:not(#screen-modal-newSupplierOrderPartNumber):not(#screen-modal-modalInitIncoming) .btn-close {
    border-radius: 999px;
    box-shadow: none;
    opacity: 0.85;
}

body.page-platform-pnprofilecustomerorder-list .modal[id^="screen-modal-"] .modal-body,
body.page-platform-pnprofilesupplierorder-list .modal[id^="screen-modal-"] .modal-body,
body.page-platform-pnprofiletestsupplierorder-list .modal[id^="screen-modal-"]:not(#screen-modal-newSupplierOrderPartNumber):not(#screen-modal-modalInitIncoming) .modal-body {
    padding: 1rem 1.15rem 1.2rem;
}

body.page-platform-pnprofilecustomerorder-list .modal[id^="screen-modal-"] .erp-create-modal-intro,
body.page-platform-pnprofilesupplierorder-list .modal[id^="screen-modal-"] .erp-create-modal-intro,
body.page-platform-pnprofiletestsupplierorder-list .modal[id^="screen-modal-"]:not(#screen-modal-newSupplierOrderPartNumber):not(#screen-modal-modalInitIncoming) .erp-create-modal-intro {
    background: linear-gradient(135deg, var(--erp-create-modal-surface) 0%, var(--erp-create-modal-surface-strong) 100%);
    border: 1px solid var(--erp-create-modal-border);
    border-radius: 1rem;
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.04);
    margin-bottom: 0.95rem;
    padding: 1rem 1.05rem;
}

body.page-platform-pnprofilecustomerorder-list .modal[id^="screen-modal-"] .modal-body .row,
body.page-platform-pnprofilesupplierorder-list .modal[id^="screen-modal-"] .modal-body .row,
body.page-platform-pnprofiletestsupplierorder-list .modal[id^="screen-modal-"]:not(#screen-modal-newSupplierOrderPartNumber):not(#screen-modal-modalInitIncoming) .modal-body .row {
    background: #ffffff;
    border: 1px solid var(--erp-create-modal-border);
    border-radius: 1rem;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.04);
    margin-bottom: 0.85rem;
    padding: 0.95rem 1rem 0.15rem;
}

body.page-platform-pnprofilecustomerorder-list .modal[id^="screen-modal-"] .modal-body .col-form-label,
body.page-platform-pnprofilesupplierorder-list .modal[id^="screen-modal-"] .modal-body .col-form-label,
body.page-platform-pnprofiletestsupplierorder-list .modal[id^="screen-modal-"]:not(#screen-modal-newSupplierOrderPartNumber):not(#screen-modal-modalInitIncoming) .modal-body .col-form-label {
    color: var(--erp-create-modal-muted);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

body.page-platform-pnprofilecustomerorder-list .modal[id^="screen-modal-"] .modal-body .form-control,
body.page-platform-pnprofilecustomerorder-list .modal[id^="screen-modal-"] .modal-body .form-select,
body.page-platform-pnprofilecustomerorder-list .modal[id^="screen-modal-"] .modal-body [data-controller="relation"] .ts-control,
body.page-platform-pnprofilecustomerorder-list .modal[id^="screen-modal-"] .modal-body [data-controller="select"] .ts-control,
body.page-platform-pnprofilesupplierorder-list .modal[id^="screen-modal-"] .modal-body .form-control,
body.page-platform-pnprofilesupplierorder-list .modal[id^="screen-modal-"] .modal-body .form-select,
body.page-platform-pnprofilesupplierorder-list .modal[id^="screen-modal-"] .modal-body [data-controller="relation"] .ts-control,
body.page-platform-pnprofilesupplierorder-list .modal[id^="screen-modal-"] .modal-body [data-controller="select"] .ts-control,
body.page-platform-pnprofiletestsupplierorder-list .modal[id^="screen-modal-"]:not(#screen-modal-newSupplierOrderPartNumber):not(#screen-modal-modalInitIncoming) .modal-body .form-control,
body.page-platform-pnprofiletestsupplierorder-list .modal[id^="screen-modal-"]:not(#screen-modal-newSupplierOrderPartNumber):not(#screen-modal-modalInitIncoming) .modal-body .form-select,
body.page-platform-pnprofiletestsupplierorder-list .modal[id^="screen-modal-"]:not(#screen-modal-newSupplierOrderPartNumber):not(#screen-modal-modalInitIncoming) .modal-body [data-controller="relation"] .ts-control,
body.page-platform-pnprofiletestsupplierorder-list .modal[id^="screen-modal-"]:not(#screen-modal-newSupplierOrderPartNumber):not(#screen-modal-modalInitIncoming) .modal-body [data-controller="select"] .ts-control {
    background: #fffdfb;
    border: 1px solid var(--erp-create-modal-border);
    border-radius: 0.9rem;
    box-shadow: none !important;
    min-height: 2.9rem;
    width: 100% !important;
}

body.page-platform-pnprofilecustomerorder-list .modal[id^="screen-modal-"] .modal-body .form-control:focus,
body.page-platform-pnprofilecustomerorder-list .modal[id^="screen-modal-"] .modal-body .form-select:focus,
body.page-platform-pnprofilecustomerorder-list .modal[id^="screen-modal-"] .modal-body [data-controller="relation"] .ts-control.focus,
body.page-platform-pnprofilecustomerorder-list .modal[id^="screen-modal-"] .modal-body [data-controller="select"] .ts-control.focus,
body.page-platform-pnprofilesupplierorder-list .modal[id^="screen-modal-"] .modal-body .form-control:focus,
body.page-platform-pnprofilesupplierorder-list .modal[id^="screen-modal-"] .modal-body .form-select:focus,
body.page-platform-pnprofilesupplierorder-list .modal[id^="screen-modal-"] .modal-body [data-controller="relation"] .ts-control.focus,
body.page-platform-pnprofilesupplierorder-list .modal[id^="screen-modal-"] .modal-body [data-controller="select"] .ts-control.focus,
body.page-platform-pnprofiletestsupplierorder-list .modal[id^="screen-modal-"]:not(#screen-modal-newSupplierOrderPartNumber):not(#screen-modal-modalInitIncoming) .modal-body .form-control:focus,
body.page-platform-pnprofiletestsupplierorder-list .modal[id^="screen-modal-"]:not(#screen-modal-newSupplierOrderPartNumber):not(#screen-modal-modalInitIncoming) .modal-body .form-select:focus,
body.page-platform-pnprofiletestsupplierorder-list .modal[id^="screen-modal-"]:not(#screen-modal-newSupplierOrderPartNumber):not(#screen-modal-modalInitIncoming) .modal-body [data-controller="relation"] .ts-control.focus,
body.page-platform-pnprofiletestsupplierorder-list .modal[id^="screen-modal-"]:not(#screen-modal-newSupplierOrderPartNumber):not(#screen-modal-modalInitIncoming) .modal-body [data-controller="select"] .ts-control.focus {
    border-color: var(--erp-create-modal-accent);
    box-shadow: 0 0 0 0.2rem var(--erp-create-modal-ring) !important;
}

body.page-platform-pnprofilecustomerorder-list .modal[id^="screen-modal-"] .modal-body .form-text,
body.page-platform-pnprofilesupplierorder-list .modal[id^="screen-modal-"] .modal-body .form-text,
body.page-platform-pnprofiletestsupplierorder-list .modal[id^="screen-modal-"]:not(#screen-modal-newSupplierOrderPartNumber):not(#screen-modal-modalInitIncoming) .modal-body .form-text {
    color: var(--erp-create-modal-muted);
    font-size: 0.78rem;
}

body.page-platform-pnprofilecustomerorder-list .modal[id^="screen-modal-"] .modal-body img,
body.page-platform-pnprofilesupplierorder-list .modal[id^="screen-modal-"] .modal-body img,
body.page-platform-pnprofiletestsupplierorder-list .modal[id^="screen-modal-"]:not(#screen-modal-newSupplierOrderPartNumber):not(#screen-modal-modalInitIncoming) .modal-body img {
    background: #ffffff;
    border: 1px solid var(--erp-create-modal-border);
    border-radius: 1rem;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.04);
    max-width: 100%;
    padding: 0.35rem;
}

body.page-platform-pnprofilecustomerorder-list .modal[id^="screen-modal-"] .modal-footer,
body.page-platform-pnprofilesupplierorder-list .modal[id^="screen-modal-"] .modal-footer,
body.page-platform-pnprofiletestsupplierorder-list .modal[id^="screen-modal-"]:not(#screen-modal-newSupplierOrderPartNumber):not(#screen-modal-modalInitIncoming) .modal-footer {
    border-top: 1px solid var(--erp-create-modal-border);
    padding: 1rem 1.15rem 1.15rem;
}

body.page-platform-pnprofilecustomerorder-list .modal[id^="screen-modal-"] .modal-footer .btn-link,
body.page-platform-pnprofilesupplierorder-list .modal[id^="screen-modal-"] .modal-footer .btn-link,
body.page-platform-pnprofiletestsupplierorder-list .modal[id^="screen-modal-"]:not(#screen-modal-newSupplierOrderPartNumber):not(#screen-modal-modalInitIncoming) .modal-footer .btn-link {
    border-radius: 0.85rem;
    color: var(--erp-create-modal-muted);
    font-weight: 700;
    padding: 0.7rem 0.95rem;
    text-decoration: none;
}

body.page-platform-pnprofilecustomerorder-list .modal[id^="screen-modal-"] .modal-footer .btn-default,
body.page-platform-pnprofilesupplierorder-list .modal[id^="screen-modal-"] .modal-footer .btn-default,
body.page-platform-pnprofiletestsupplierorder-list .modal[id^="screen-modal-"]:not(#screen-modal-newSupplierOrderPartNumber):not(#screen-modal-modalInitIncoming) .modal-footer .btn-default {
    background: linear-gradient(180deg, var(--erp-create-modal-accent) 0%, var(--erp-create-modal-accent-strong) 100%);
    border: 0;
    border-radius: 0.9rem;
    box-shadow: 0 12px 24px var(--erp-create-modal-shadow);
    color: #ffffff !important;
    font-weight: 800;
    min-height: 2.9rem;
    padding: 0.8rem 1.05rem;
    text-shadow: 0 1px 0 rgba(15, 23, 42, 0.18);
}

body.page-platform-pnprofilecustomerorder-list .modal[id^="screen-modal-"] .modal-footer .btn-default *,
body.page-platform-pnprofilesupplierorder-list .modal[id^="screen-modal-"] .modal-footer .btn-default *,
body.page-platform-pnprofiletestsupplierorder-list .modal[id^="screen-modal-"]:not(#screen-modal-newSupplierOrderPartNumber):not(#screen-modal-modalInitIncoming) .modal-footer .btn-default * {
    color: #ffffff !important;
}

body.page-platform-pnorder-list :is(
    #screen-modal-uploadFilePnOrder,
    #screen-modal-newRfqPartNumber,
    #screen-modal-modalEditNote
) {
    --erp-create-modal-accent: #d7782a;
    --erp-create-modal-accent-strong: #c26418;
    --erp-create-modal-border: #f0ddd0;
    --erp-create-modal-surface: #fff7ef;
    --erp-create-modal-surface-strong: #fff2df;
    --erp-create-modal-shadow: rgba(120, 68, 37, 0.16);
    --erp-create-modal-ring: rgba(215, 120, 42, 0.18);
    --erp-create-modal-title: #4c2c15;
    --erp-create-modal-muted: #7d6658;
}

body.page-platform-pnprofile-list :is(
    #screen-modal-newOfferPartNumber,
    #screen-modal-modalEditPnListName,
    #screen-modal-newOfferPartNumberFromWarehouse,
    #screen-modal-modalSetApprovedDate,
    #screen-modal-uploadCsvPartNumberProfile,
    #screen-modal-insertInvoice,
    #screen-modal-modalEditNote
) {
    --erp-create-modal-accent: #dc0067;
    --erp-create-modal-accent-strong: #b30057;
    --erp-create-modal-border: #f1d6df;
    --erp-create-modal-surface: #fff7fb;
    --erp-create-modal-surface-strong: #ffeaf3;
    --erp-create-modal-shadow: rgba(129, 59, 87, 0.16);
    --erp-create-modal-ring: rgba(220, 0, 103, 0.16);
    --erp-create-modal-title: #42192d;
    --erp-create-modal-muted: #7c6170;
}

body.page-platform-pnorder-list :is(
    #screen-modal-uploadFilePnOrder,
    #screen-modal-newRfqPartNumber,
    #screen-modal-modalEditNote
) .modal-dialog,
body.page-platform-pnprofile-list :is(
    #screen-modal-newOfferPartNumber,
    #screen-modal-modalEditPnListName,
    #screen-modal-newOfferPartNumberFromWarehouse,
    #screen-modal-modalSetApprovedDate,
    #screen-modal-uploadCsvPartNumberProfile,
    #screen-modal-insertInvoice,
    #screen-modal-modalEditNote
) .modal-dialog {
    max-width: min(920px, calc(100vw - 2rem));
}

body.page-platform-pnorder-list :is(
    #screen-modal-uploadFilePnOrder,
    #screen-modal-newRfqPartNumber,
    #screen-modal-modalEditNote
) .modal-content,
body.page-platform-pnprofile-list :is(
    #screen-modal-newOfferPartNumber,
    #screen-modal-modalEditPnListName,
    #screen-modal-newOfferPartNumberFromWarehouse,
    #screen-modal-modalSetApprovedDate,
    #screen-modal-uploadCsvPartNumberProfile,
    #screen-modal-insertInvoice,
    #screen-modal-modalEditNote
) .modal-content {
    background:
        radial-gradient(circle at top right, var(--erp-create-modal-ring), transparent 24%),
        linear-gradient(180deg, #ffffff 0%, var(--erp-create-modal-surface) 100%);
    border: 1px solid var(--erp-create-modal-border);
    border-radius: 1.2rem;
    box-shadow: 0 24px 48px var(--erp-create-modal-shadow);
}

body.page-platform-pnorder-list :is(
    #screen-modal-uploadFilePnOrder,
    #screen-modal-newRfqPartNumber,
    #screen-modal-modalEditNote
) .modal-header,
body.page-platform-pnprofile-list :is(
    #screen-modal-newOfferPartNumber,
    #screen-modal-modalEditPnListName,
    #screen-modal-newOfferPartNumberFromWarehouse,
    #screen-modal-modalSetApprovedDate,
    #screen-modal-uploadCsvPartNumberProfile,
    #screen-modal-insertInvoice,
    #screen-modal-modalEditNote
) .modal-header {
    background: linear-gradient(180deg, #ffffff 0%, var(--erp-create-modal-surface) 100%);
    border-bottom: 1px solid var(--erp-create-modal-border);
    padding: 1rem 1.15rem;
}

body.page-platform-pnorder-list :is(
    #screen-modal-uploadFilePnOrder,
    #screen-modal-newRfqPartNumber,
    #screen-modal-modalEditNote
) .modal-title,
body.page-platform-pnprofile-list :is(
    #screen-modal-newOfferPartNumber,
    #screen-modal-modalEditPnListName,
    #screen-modal-newOfferPartNumberFromWarehouse,
    #screen-modal-modalSetApprovedDate,
    #screen-modal-uploadCsvPartNumberProfile,
    #screen-modal-insertInvoice,
    #screen-modal-modalEditNote
) .modal-title {
    color: var(--erp-create-modal-title) !important;
    font-size: 1.1rem;
    font-weight: 800 !important;
    letter-spacing: -0.02em;
}

body.page-platform-pnorder-list :is(
    #screen-modal-uploadFilePnOrder,
    #screen-modal-newRfqPartNumber,
    #screen-modal-modalEditNote
) .btn-close,
body.page-platform-pnprofile-list :is(
    #screen-modal-newOfferPartNumber,
    #screen-modal-modalEditPnListName,
    #screen-modal-newOfferPartNumberFromWarehouse,
    #screen-modal-modalSetApprovedDate,
    #screen-modal-uploadCsvPartNumberProfile,
    #screen-modal-insertInvoice,
    #screen-modal-modalEditNote
) .btn-close {
    border-radius: 999px;
    box-shadow: none;
    opacity: 0.85;
}

body.page-platform-pnorder-list :is(
    #screen-modal-uploadFilePnOrder,
    #screen-modal-newRfqPartNumber,
    #screen-modal-modalEditNote
) .modal-body,
body.page-platform-pnprofile-list :is(
    #screen-modal-newOfferPartNumber,
    #screen-modal-modalEditPnListName,
    #screen-modal-newOfferPartNumberFromWarehouse,
    #screen-modal-modalSetApprovedDate,
    #screen-modal-uploadCsvPartNumberProfile,
    #screen-modal-insertInvoice,
    #screen-modal-modalEditNote
) .modal-body {
    padding: 1rem 1.15rem 1.2rem;
}

body.page-platform-pnorder-list :is(
    #screen-modal-uploadFilePnOrder,
    #screen-modal-newRfqPartNumber,
    #screen-modal-modalEditNote
) .erp-create-modal-intro,
body.page-platform-pnprofile-list :is(
    #screen-modal-newOfferPartNumber,
    #screen-modal-modalEditPnListName,
    #screen-modal-newOfferPartNumberFromWarehouse,
    #screen-modal-modalSetApprovedDate,
    #screen-modal-uploadCsvPartNumberProfile,
    #screen-modal-insertInvoice,
    #screen-modal-modalEditNote
) .erp-create-modal-intro {
    background: linear-gradient(135deg, var(--erp-create-modal-surface) 0%, var(--erp-create-modal-surface-strong) 100%);
    border: 1px solid var(--erp-create-modal-border);
    border-radius: 1rem;
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.04);
    margin-bottom: 0.95rem;
    padding: 1rem 1.05rem;
}

body.page-platform-pnorder-list :is(
    #screen-modal-uploadFilePnOrder,
    #screen-modal-newRfqPartNumber,
    #screen-modal-modalEditNote
) .modal-body .row,
body.page-platform-pnprofile-list :is(
    #screen-modal-newOfferPartNumber,
    #screen-modal-modalEditPnListName,
    #screen-modal-newOfferPartNumberFromWarehouse,
    #screen-modal-modalSetApprovedDate,
    #screen-modal-uploadCsvPartNumberProfile,
    #screen-modal-insertInvoice,
    #screen-modal-modalEditNote
) .modal-body .row {
    background: #ffffff;
    border: 1px solid var(--erp-create-modal-border);
    border-radius: 1rem;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.04);
    margin-bottom: 0.85rem;
    padding: 0.95rem 1rem 0.15rem;
}

body.page-platform-pnorder-list :is(
    #screen-modal-uploadFilePnOrder,
    #screen-modal-newRfqPartNumber,
    #screen-modal-modalEditNote
) .modal-body .col-form-label,
body.page-platform-pnprofile-list :is(
    #screen-modal-newOfferPartNumber,
    #screen-modal-modalEditPnListName,
    #screen-modal-newOfferPartNumberFromWarehouse,
    #screen-modal-modalSetApprovedDate,
    #screen-modal-uploadCsvPartNumberProfile,
    #screen-modal-insertInvoice,
    #screen-modal-modalEditNote
) .modal-body .col-form-label {
    color: var(--erp-create-modal-muted);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

body.page-platform-pnorder-list :is(
    #screen-modal-uploadFilePnOrder,
    #screen-modal-newRfqPartNumber,
    #screen-modal-modalEditNote
) .modal-body .form-control,
body.page-platform-pnorder-list :is(
    #screen-modal-uploadFilePnOrder,
    #screen-modal-newRfqPartNumber,
    #screen-modal-modalEditNote
) .modal-body .form-select,
body.page-platform-pnorder-list :is(
    #screen-modal-uploadFilePnOrder,
    #screen-modal-newRfqPartNumber,
    #screen-modal-modalEditNote
) .modal-body [data-controller="relation"] .ts-control,
body.page-platform-pnorder-list :is(
    #screen-modal-uploadFilePnOrder,
    #screen-modal-newRfqPartNumber,
    #screen-modal-modalEditNote
) .modal-body [data-controller="select"] .ts-control,
body.page-platform-pnprofile-list :is(
    #screen-modal-newOfferPartNumber,
    #screen-modal-modalEditPnListName,
    #screen-modal-newOfferPartNumberFromWarehouse,
    #screen-modal-modalSetApprovedDate,
    #screen-modal-uploadCsvPartNumberProfile,
    #screen-modal-insertInvoice,
    #screen-modal-modalEditNote
) .modal-body .form-control,
body.page-platform-pnprofile-list :is(
    #screen-modal-newOfferPartNumber,
    #screen-modal-modalEditPnListName,
    #screen-modal-newOfferPartNumberFromWarehouse,
    #screen-modal-modalSetApprovedDate,
    #screen-modal-uploadCsvPartNumberProfile,
    #screen-modal-insertInvoice,
    #screen-modal-modalEditNote
) .modal-body .form-select,
body.page-platform-pnprofile-list :is(
    #screen-modal-newOfferPartNumber,
    #screen-modal-modalEditPnListName,
    #screen-modal-newOfferPartNumberFromWarehouse,
    #screen-modal-modalSetApprovedDate,
    #screen-modal-uploadCsvPartNumberProfile,
    #screen-modal-insertInvoice,
    #screen-modal-modalEditNote
) .modal-body [data-controller="relation"] .ts-control,
body.page-platform-pnprofile-list :is(
    #screen-modal-newOfferPartNumber,
    #screen-modal-modalEditPnListName,
    #screen-modal-newOfferPartNumberFromWarehouse,
    #screen-modal-modalSetApprovedDate,
    #screen-modal-uploadCsvPartNumberProfile,
    #screen-modal-insertInvoice,
    #screen-modal-modalEditNote
) .modal-body [data-controller="select"] .ts-control {
    background: #fffdfb;
    border: 1px solid var(--erp-create-modal-border);
    border-radius: 0.9rem;
    box-shadow: none !important;
    min-height: 2.9rem;
    width: 100% !important;
}

body.page-platform-pnorder-list :is(
    #screen-modal-uploadFilePnOrder,
    #screen-modal-newRfqPartNumber,
    #screen-modal-modalEditNote
) .modal-body .form-control:focus,
body.page-platform-pnorder-list :is(
    #screen-modal-uploadFilePnOrder,
    #screen-modal-newRfqPartNumber,
    #screen-modal-modalEditNote
) .modal-body .form-select:focus,
body.page-platform-pnorder-list :is(
    #screen-modal-uploadFilePnOrder,
    #screen-modal-newRfqPartNumber,
    #screen-modal-modalEditNote
) .modal-body [data-controller="relation"] .ts-control.focus,
body.page-platform-pnorder-list :is(
    #screen-modal-uploadFilePnOrder,
    #screen-modal-newRfqPartNumber,
    #screen-modal-modalEditNote
) .modal-body [data-controller="select"] .ts-control.focus,
body.page-platform-pnprofile-list :is(
    #screen-modal-newOfferPartNumber,
    #screen-modal-modalEditPnListName,
    #screen-modal-newOfferPartNumberFromWarehouse,
    #screen-modal-modalSetApprovedDate,
    #screen-modal-uploadCsvPartNumberProfile,
    #screen-modal-insertInvoice,
    #screen-modal-modalEditNote
) .modal-body .form-control:focus,
body.page-platform-pnprofile-list :is(
    #screen-modal-newOfferPartNumber,
    #screen-modal-modalEditPnListName,
    #screen-modal-newOfferPartNumberFromWarehouse,
    #screen-modal-modalSetApprovedDate,
    #screen-modal-uploadCsvPartNumberProfile,
    #screen-modal-insertInvoice,
    #screen-modal-modalEditNote
) .modal-body .form-select:focus,
body.page-platform-pnprofile-list :is(
    #screen-modal-newOfferPartNumber,
    #screen-modal-modalEditPnListName,
    #screen-modal-newOfferPartNumberFromWarehouse,
    #screen-modal-modalSetApprovedDate,
    #screen-modal-uploadCsvPartNumberProfile,
    #screen-modal-insertInvoice,
    #screen-modal-modalEditNote
) .modal-body [data-controller="relation"] .ts-control.focus,
body.page-platform-pnprofile-list :is(
    #screen-modal-newOfferPartNumber,
    #screen-modal-modalEditPnListName,
    #screen-modal-newOfferPartNumberFromWarehouse,
    #screen-modal-modalSetApprovedDate,
    #screen-modal-uploadCsvPartNumberProfile,
    #screen-modal-insertInvoice,
    #screen-modal-modalEditNote
) .modal-body [data-controller="select"] .ts-control.focus {
    border-color: var(--erp-create-modal-accent);
    box-shadow: 0 0 0 0.2rem var(--erp-create-modal-ring) !important;
}

body.page-platform-pnorder-list :is(
    #screen-modal-uploadFilePnOrder,
    #screen-modal-newRfqPartNumber,
    #screen-modal-modalEditNote
) .modal-body .form-text,
body.page-platform-pnprofile-list :is(
    #screen-modal-newOfferPartNumber,
    #screen-modal-modalEditPnListName,
    #screen-modal-newOfferPartNumberFromWarehouse,
    #screen-modal-modalSetApprovedDate,
    #screen-modal-uploadCsvPartNumberProfile,
    #screen-modal-insertInvoice,
    #screen-modal-modalEditNote
) .modal-body .form-text {
    color: var(--erp-create-modal-muted);
    font-size: 0.78rem;
}

body.page-platform-pnorder-list :is(
    #screen-modal-uploadFilePnOrder,
    #screen-modal-newRfqPartNumber,
    #screen-modal-modalEditNote
) .modal-body img,
body.page-platform-pnprofile-list :is(
    #screen-modal-newOfferPartNumber,
    #screen-modal-modalEditPnListName,
    #screen-modal-newOfferPartNumberFromWarehouse,
    #screen-modal-modalSetApprovedDate,
    #screen-modal-uploadCsvPartNumberProfile,
    #screen-modal-insertInvoice,
    #screen-modal-modalEditNote
) .modal-body img {
    background: #ffffff;
    border: 1px solid var(--erp-create-modal-border);
    border-radius: 1rem;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.04);
    max-width: 100%;
    padding: 0.35rem;
}

body.page-platform-pnorder-list :is(
    #screen-modal-uploadFilePnOrder,
    #screen-modal-newRfqPartNumber,
    #screen-modal-modalEditNote
) .modal-body .btn-link,
body.page-platform-pnorder-list :is(
    #screen-modal-uploadFilePnOrder,
    #screen-modal-newRfqPartNumber,
    #screen-modal-modalEditNote
) .modal-body .btn-default,
body.page-platform-pnprofile-list :is(
    #screen-modal-newOfferPartNumber,
    #screen-modal-modalEditPnListName,
    #screen-modal-newOfferPartNumberFromWarehouse,
    #screen-modal-modalSetApprovedDate,
    #screen-modal-uploadCsvPartNumberProfile,
    #screen-modal-insertInvoice,
    #screen-modal-modalEditNote
) .modal-body .btn-link,
body.page-platform-pnprofile-list :is(
    #screen-modal-newOfferPartNumber,
    #screen-modal-modalEditPnListName,
    #screen-modal-newOfferPartNumberFromWarehouse,
    #screen-modal-modalSetApprovedDate,
    #screen-modal-uploadCsvPartNumberProfile,
    #screen-modal-insertInvoice,
    #screen-modal-modalEditNote
) .modal-body .btn-default {
    align-items: center;
    border-radius: 0.85rem;
    display: inline-flex;
    font-weight: 700;
    justify-content: center;
    min-height: 2.75rem;
    padding: 0.7rem 0.95rem;
    text-decoration: none;
}

body.page-platform-pnorder-list :is(
    #screen-modal-uploadFilePnOrder,
    #screen-modal-newRfqPartNumber,
    #screen-modal-modalEditNote
) .modal-body .btn-link,
body.page-platform-pnprofile-list :is(
    #screen-modal-newOfferPartNumber,
    #screen-modal-modalEditPnListName,
    #screen-modal-newOfferPartNumberFromWarehouse,
    #screen-modal-modalSetApprovedDate,
    #screen-modal-uploadCsvPartNumberProfile,
    #screen-modal-insertInvoice,
    #screen-modal-modalEditNote
) .modal-body .btn-link {
    background: #ffffff;
    border: 1px solid var(--erp-create-modal-border);
    color: var(--erp-create-modal-title);
}

body.page-platform-pnorder-list :is(
    #screen-modal-uploadFilePnOrder,
    #screen-modal-newRfqPartNumber,
    #screen-modal-modalEditNote
) .modal-footer,
body.page-platform-pnprofile-list :is(
    #screen-modal-newOfferPartNumber,
    #screen-modal-modalEditPnListName,
    #screen-modal-newOfferPartNumberFromWarehouse,
    #screen-modal-modalSetApprovedDate,
    #screen-modal-uploadCsvPartNumberProfile,
    #screen-modal-insertInvoice,
    #screen-modal-modalEditNote
) .modal-footer {
    border-top: 1px solid var(--erp-create-modal-border);
    padding: 1rem 1.15rem 1.15rem;
}

body.page-platform-pnorder-list :is(
    #screen-modal-uploadFilePnOrder,
    #screen-modal-newRfqPartNumber,
    #screen-modal-modalEditNote
) .modal-footer .btn-link,
body.page-platform-pnprofile-list :is(
    #screen-modal-newOfferPartNumber,
    #screen-modal-modalEditPnListName,
    #screen-modal-newOfferPartNumberFromWarehouse,
    #screen-modal-modalSetApprovedDate,
    #screen-modal-uploadCsvPartNumberProfile,
    #screen-modal-insertInvoice,
    #screen-modal-modalEditNote
) .modal-footer .btn-link {
    border-radius: 0.85rem;
    color: var(--erp-create-modal-muted);
    font-weight: 700;
    padding: 0.7rem 0.95rem;
    text-decoration: none;
}

body.page-platform-pnorder-list :is(
    #screen-modal-uploadFilePnOrder,
    #screen-modal-newRfqPartNumber,
    #screen-modal-modalEditNote
) .modal-footer .btn-default,
body.page-platform-pnprofile-list :is(
    #screen-modal-newOfferPartNumber,
    #screen-modal-modalEditPnListName,
    #screen-modal-newOfferPartNumberFromWarehouse,
    #screen-modal-modalSetApprovedDate,
    #screen-modal-uploadCsvPartNumberProfile,
    #screen-modal-insertInvoice,
    #screen-modal-modalEditNote
) .modal-footer .btn-default {
    background: linear-gradient(180deg, var(--erp-create-modal-accent) 0%, var(--erp-create-modal-accent-strong) 100%);
    border: 0;
    border-radius: 0.9rem;
    box-shadow: 0 12px 24px var(--erp-create-modal-shadow);
    color: #ffffff !important;
    font-weight: 800;
    min-height: 2.9rem;
    padding: 0.8rem 1.05rem;
    text-shadow: 0 1px 0 rgba(15, 23, 42, 0.18);
}

body.page-platform-pnorder-list :is(
    #screen-modal-uploadFilePnOrder,
    #screen-modal-newRfqPartNumber,
    #screen-modal-modalEditNote
) .modal-footer .btn-default *,
body.page-platform-pnprofile-list :is(
    #screen-modal-newOfferPartNumber,
    #screen-modal-modalEditPnListName,
    #screen-modal-newOfferPartNumberFromWarehouse,
    #screen-modal-modalSetApprovedDate,
    #screen-modal-uploadCsvPartNumberProfile,
    #screen-modal-insertInvoice,
    #screen-modal-modalEditNote
) .modal-footer .btn-default * {
    color: #ffffff !important;
}

body.page-platform-pnprofile-list :is(
    #screen-modal-newOfferPartNumber,
    #screen-modal-newOfferPartNumberFromWarehouse
) .erp-modal-linked-pn-panel {
    background: #ffffff;
    border: 1px solid var(--erp-create-modal-border);
    border-radius: 1rem;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.04);
    display: grid;
    gap: 0.8rem;
    margin-bottom: 0.85rem;
    padding: 1rem;
}

body.page-platform-pnprofile-list :is(
    #screen-modal-newOfferPartNumber,
    #screen-modal-newOfferPartNumberFromWarehouse
) .erp-modal-linked-pn-panel__field {
    display: grid;
    gap: 0.4rem;
}

body.page-platform-pnprofile-list :is(
    #screen-modal-newOfferPartNumber,
    #screen-modal-newOfferPartNumberFromWarehouse
) .erp-modal-linked-pn-panel__label {
    color: var(--erp-create-modal-muted);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

body.page-platform-pnprofile-list :is(
    #screen-modal-newOfferPartNumber,
    #screen-modal-newOfferPartNumberFromWarehouse
) .erp-modal-linked-pn-panel__required {
    color: #b30057;
    font-size: 70%;
}

body.page-platform-pnprofile-list :is(
    #screen-modal-newOfferPartNumber,
    #screen-modal-newOfferPartNumberFromWarehouse
) .erp-modal-linked-pn-panel__input {
    background: #fffdfb;
    border: 1px solid var(--erp-create-modal-border);
    border-radius: 0.9rem;
    min-height: 2.9rem;
    padding: 0.72rem 0.85rem;
    width: 100%;
}

body.page-platform-pnprofile-list :is(
    #screen-modal-newOfferPartNumber,
    #screen-modal-newOfferPartNumberFromWarehouse
) .erp-modal-linked-pn-panel__input:focus {
    border-color: var(--erp-create-modal-accent);
    box-shadow: 0 0 0 0.2rem var(--erp-create-modal-ring);
    outline: 0;
}

@media (max-width: 768px) {
    .erp-create-modal-intro__meta {
        gap: 0.45rem;
    }
}

@media (max-width: 992px) {
    body.page-platform-pnlist-list .erp-offer-summary__hero {
        flex-direction: column;
    }

    body.page-platform-pnlist-list .erp-offer-summary__metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        min-width: 100%;
        width: 100%;
    }

    body.page-platform-customerorder-list .erp-offer-summary__hero {
        flex-direction: column;
    }

    body.page-platform-customerorder-list .erp-offer-summary__metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        min-width: 100%;
        width: 100%;
    }

    body.page-platform-supplierorder-list .erp-offer-summary__hero {
        flex-direction: column;
    }

    body.page-platform-supplierorder-list .erp-offer-summary__metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        min-width: 100%;
        width: 100%;
    }

    body.page-platform-order-list .erp-offer-summary__hero {
        flex-direction: column;
    }

    body.page-platform-order-list .erp-offer-summary__metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        min-width: 100%;
        width: 100%;
    }

    body.page-platform-pnprofilecustomerorder-list .erp-offer-summary__hero {
        flex-direction: column;
    }

    body.page-platform-pnprofilecustomerorder-list .erp-offer-summary__metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
    }

    body.page-platform-supplierpnincoming-list .erp-offer-summary__hero,
    body.page-platform-supplierpnincoming-filterorder .erp-offer-summary__hero,
    body.page-platform-supplierpnincoming-prova .erp-offer-summary__hero {
        flex-direction: column;
    }

    body.page-platform-supplierpnincoming-list .erp-offer-summary__metrics,
    body.page-platform-supplierpnincoming-filterorder .erp-offer-summary__metrics,
    body.page-platform-supplierpnincoming-prova .erp-offer-summary__metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        min-width: 100%;
        width: 100%;
    }

    body.page-platform-customerorderoutgoing-list .erp-offer-summary__hero {
        flex-direction: column;
    }

    body.page-platform-customerorderoutgoing-list .erp-offer-summary__metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        min-width: 100%;
        width: 100%;
    }
}

body.page-platform-magazzino-list .erp-warehouse-summary,
body.page-platform-magazzino-searchpn .erp-warehouse-summary,
body.page-platform-magazzino-infopn .erp-warehouse-summary {
    background:
        radial-gradient(circle at top right, rgba(36, 133, 155, 0.15), transparent 28%),
        linear-gradient(135deg, #f7fbfc 0%, #ffffff 55%, #eef8fb 100%);
    border: 1px solid #d9eaef;
    border-radius: 1.25rem;
    box-shadow: 0 16px 34px rgba(26, 79, 95, 0.08);
    margin-bottom: 1rem;
    padding: 1.35rem;
}

body.page-platform-magazzino-list .erp-warehouse-summary__hero,
body.page-platform-magazzino-searchpn .erp-warehouse-summary__hero,
body.page-platform-magazzino-infopn .erp-warehouse-summary__hero {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

body.page-platform-magazzino-list .erp-warehouse-summary__eyebrow,
body.page-platform-magazzino-list .erp-warehouse-section__eyebrow,
body.page-platform-magazzino-list .erp-warehouse-record__eyebrow,
body.page-platform-magazzino-searchpn .erp-warehouse-summary__eyebrow,
body.page-platform-magazzino-searchpn .erp-warehouse-section__eyebrow,
body.page-platform-magazzino-searchpn .erp-warehouse-record__eyebrow,
body.page-platform-magazzino-infopn .erp-warehouse-summary__eyebrow,
body.page-platform-magazzino-infopn .erp-warehouse-section__eyebrow,
body.page-platform-magazzino-infopn .erp-warehouse-record__eyebrow {
    color: #4f7a86;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin: 0 0 0.35rem;
    text-transform: uppercase;
}

body.page-platform-magazzino-list .erp-warehouse-summary__title,
body.page-platform-magazzino-searchpn .erp-warehouse-summary__title,
body.page-platform-magazzino-infopn .erp-warehouse-summary__title {
    color: #1f3038;
    font-size: 1.85rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0;
}

body.page-platform-magazzino-list .erp-warehouse-summary__subtitle,
body.page-platform-magazzino-searchpn .erp-warehouse-summary__subtitle,
body.page-platform-magazzino-infopn .erp-warehouse-summary__subtitle {
    color: #60747d;
    margin: 0.55rem 0 0;
    max-width: 42rem;
}

body.page-platform-magazzino-list .erp-offer-summary__badges,
body.page-platform-magazzino-searchpn .erp-offer-summary__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 0.85rem;
}

body.page-platform-magazzino-list .erp-status-pill,
body.page-platform-magazzino-searchpn .erp-status-pill {
    border-radius: 999px;
    display: inline-flex;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    padding: 0.52rem 0.85rem;
    text-transform: uppercase;
}

body.page-platform-magazzino-list .erp-status-pill--warning,
body.page-platform-magazzino-searchpn .erp-status-pill--warning {
    background: #fff1cf;
    border: 1px solid #f3d178;
    color: #7b5b00;
}

body.page-platform-magazzino-list .erp-status-pill--neutral,
body.page-platform-magazzino-searchpn .erp-status-pill--neutral {
    background: #eef6f8;
    border: 1px solid #cfe3e8;
    color: #3d6470;
}

body.page-platform-magazzino-list .erp-warehouse-summary__metrics,
body.page-platform-magazzino-list .erp-offer-summary__grid,
body.page-platform-magazzino-searchpn .erp-warehouse-summary__metrics,
body.page-platform-magazzino-searchpn .erp-offer-summary__grid,
body.page-platform-magazzino-infopn .erp-warehouse-summary__metrics {
    display: grid;
    gap: 0.85rem;
}

body.page-platform-magazzino-list .erp-warehouse-summary__metrics,
body.page-platform-magazzino-searchpn .erp-warehouse-summary__metrics,
body.page-platform-magazzino-infopn .erp-warehouse-summary__metrics {
    grid-template-columns: repeat(2, minmax(9rem, 1fr));
    min-width: min(100%, 26rem);
}

body.page-platform-magazzino-list .erp-warehouse-metric,
body.page-platform-magazzino-list .erp-summary-card,
body.page-platform-magazzino-searchpn .erp-warehouse-metric,
body.page-platform-magazzino-searchpn .erp-summary-card,
body.page-platform-magazzino-infopn .erp-warehouse-metric,
body.page-platform-magazzino-infopn .erp-warehouse-record,
body.page-platform-magazzino-infopn .erp-warehouse-incoming-card,
body.page-platform-magazzino-infopn .erp-warehouse-section {
    background: #ffffff;
    border: 1px solid #dfecef;
    border-radius: 1.15rem;
    box-shadow: 0 12px 28px rgba(28, 76, 92, 0.05);
}

body.page-platform-magazzino-list .erp-warehouse-metric,
body.page-platform-magazzino-searchpn .erp-warehouse-metric,
body.page-platform-magazzino-infopn .erp-warehouse-metric {
    padding: 0.95rem 1rem;
    position: relative;
    overflow: hidden;
}

body.page-platform-magazzino-list .erp-warehouse-metric span,
body.page-platform-magazzino-list .erp-summary-card__label,
body.page-platform-magazzino-searchpn .erp-warehouse-metric span,
body.page-platform-magazzino-searchpn .erp-summary-card__label,
body.page-platform-magazzino-infopn .erp-warehouse-metric span,
body.page-platform-magazzino-infopn .erp-warehouse-meta__label {
    color: #6e848c;
    display: block;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    margin-bottom: 0.3rem;
    text-transform: uppercase;
}

body.page-platform-magazzino-list .erp-warehouse-metric strong,
body.page-platform-magazzino-searchpn .erp-warehouse-metric strong,
body.page-platform-magazzino-infopn .erp-warehouse-metric strong {
    color: #1f3038;
    display: block;
    font-size: 1.18rem;
    font-weight: 800;
}

body.page-platform-magazzino-list .erp-warehouse-metric--support,
body.page-platform-magazzino-searchpn .erp-warehouse-metric--support,
body.page-platform-magazzino-infopn .erp-warehouse-metric--support {
    background: linear-gradient(180deg, #fbfcfd 0%, #f4f9fa 100%);
    border-color: #dfecef;
}

body.page-platform-magazzino-list .erp-warehouse-metric--primary,
body.page-platform-magazzino-searchpn .erp-warehouse-metric--primary,
body.page-platform-magazzino-infopn .erp-warehouse-metric--primary {
    background: linear-gradient(180deg, #eef8fb 0%, #e0f2f7 100%);
    border-color: #bcdde7;
    box-shadow: 0 14px 24px rgba(33, 117, 142, 0.1);
}

body.page-platform-magazzino-list .erp-warehouse-metric--primary span,
body.page-platform-magazzino-searchpn .erp-warehouse-metric--primary span,
body.page-platform-magazzino-infopn .erp-warehouse-metric--primary span {
    color: #377083;
}

body.page-platform-magazzino-list .erp-warehouse-metric--primary strong,
body.page-platform-magazzino-searchpn .erp-warehouse-metric--primary strong,
body.page-platform-magazzino-infopn .erp-warehouse-metric--primary strong {
    color: #0f5f76;
    font-size: 1.35rem;
}

body.page-platform-magazzino-list .erp-warehouse-metric--secondary,
body.page-platform-magazzino-searchpn .erp-warehouse-metric--secondary,
body.page-platform-magazzino-infopn .erp-warehouse-metric--secondary {
    background: linear-gradient(180deg, #fff6e5 0%, #ffefcf 100%);
    border-color: #ecd39a;
    box-shadow: 0 14px 24px rgba(154, 108, 21, 0.08);
}

body.page-platform-magazzino-list .erp-warehouse-metric--secondary span,
body.page-platform-magazzino-searchpn .erp-warehouse-metric--secondary span,
body.page-platform-magazzino-infopn .erp-warehouse-metric--secondary span {
    color: #8c6512;
}

body.page-platform-magazzino-list .erp-warehouse-metric--secondary strong,
body.page-platform-magazzino-searchpn .erp-warehouse-metric--secondary strong,
body.page-platform-magazzino-infopn .erp-warehouse-metric--secondary strong {
    color: #7a5300;
    font-size: 1.35rem;
}

body.page-platform-magazzino-list .erp-offer-summary__grid,
body.page-platform-magazzino-searchpn .erp-offer-summary__grid {
    grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
    margin-top: 1rem;
}

body.page-platform-magazzino-list .erp-summary-card,
body.page-platform-magazzino-searchpn .erp-summary-card {
    padding: 0.9rem 1rem;
}

body.page-platform-magazzino-list .erp-summary-card__value,
body.page-platform-magazzino-searchpn .erp-summary-card__value {
    color: #253841;
    font-size: 0.95rem;
    font-weight: 700;
}

body.page-platform-magazzino-list .screen-actions,
body.page-platform-magazzino-searchpn .screen-actions {
    margin-bottom: 1rem;
}

body.page-platform-magazzino-list .screen-actions .btn,
body.page-platform-magazzino-searchpn .screen-actions .btn {
    align-items: center;
    background: linear-gradient(180deg, #16a1b7 0%, #10879a 100%);
    border: 0;
    border-radius: 0.9rem;
    box-shadow: 0 12px 24px rgba(16, 135, 154, 0.18);
    color: #ffffff;
    display: inline-flex;
    font-weight: 700;
    gap: 0.45rem;
    min-height: 2.9rem;
    padding: 0.75rem 1rem;
}

body.page-platform-magazzino-list .screen-actions .btn:hover,
body.page-platform-magazzino-list .screen-actions .btn:focus,
body.page-platform-magazzino-searchpn .screen-actions .btn:hover,
body.page-platform-magazzino-searchpn .screen-actions .btn:focus {
    background: linear-gradient(180deg, #1297ab 0%, #0d7c8d 100%);
    color: #ffffff;
}

body.page-platform-magazzino-list .layout-rows,
body.page-platform-magazzino-searchpn .layout-rows {
    background: #ffffff;
    border: 1px solid #dbe8ec;
    border-radius: 1rem;
    box-shadow: 0 12px 28px rgba(28, 76, 92, 0.05);
    margin-bottom: 1rem;
    padding: 1rem 1rem 0.2rem;
}

body.page-platform-magazzino-list .layout-rows .input-group,
body.page-platform-magazzino-searchpn .layout-rows .input-group {
    align-items: flex-end;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

body.page-platform-magazzino-list .layout-rows .row.form-group,
body.page-platform-magazzino-searchpn .layout-rows .row.form-group {
    column-gap: 0.75rem;
    row-gap: 0.75rem;
}

body.page-platform-magazzino-list .layout-rows .row.form-group > .col-auto,
body.page-platform-magazzino-searchpn .layout-rows .row.form-group > .col-auto {
    flex: 0 0 auto;
    width: auto;
}

body.page-platform-magazzino-list .layout-rows .form-control,
body.page-platform-magazzino-list .layout-rows .form-select,
body.page-platform-magazzino-searchpn .layout-rows .form-control,
body.page-platform-magazzino-searchpn .layout-rows .form-select {
    background: #f8fbfc;
    border-color: #d0e2e8;
    border-radius: 0.85rem;
    min-height: 2.85rem;
}

body.page-platform-magazzino-list .layout-rows input[name="pn_filter"],
body.page-platform-magazzino-searchpn .layout-rows input[name="pn_filter"] {
    max-width: 100%;
    min-width: min(34rem, calc(100vw - 6rem));
}

body.page-platform-magazzino-list .layout-rows .col-form-label,
body.page-platform-magazzino-searchpn .layout-rows .col-form-label {
    color: #506a73;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

body.page-platform-magazzino-list .layout-rows .btn-info,
body.page-platform-magazzino-searchpn .layout-rows .btn-info {
    background: linear-gradient(180deg, #16a1b7 0%, #10879a 100%);
    border: 0;
    border-radius: 0.85rem;
    box-shadow: 0 10px 22px rgba(16, 135, 154, 0.16);
    color: #ffffff;
    font-weight: 700;
    min-height: 2.85rem;
    padding: 0.7rem 1rem;
}

body.page-platform-magazzino-list .table-container,
body.page-platform-magazzino-searchpn .table-container {
    background: #ffffff !important;
    border: 1px solid #dbe8ec;
    border-radius: 1rem !important;
    box-shadow: 0 12px 28px rgba(28, 76, 92, 0.05);
    padding: 1rem !important;
}

body.page-platform-magazzino-list #columnSelectorToggle,
body.page-platform-magazzino-searchpn #columnSelectorToggle {
    background: #f8fbfc;
    border: 1px solid #d0e2e8;
    border-radius: 0.85rem;
    color: #35545e;
    font-weight: 700;
    min-height: 2.7rem;
}

body.page-platform-magazzino-list #columnSelectorMenu,
body.page-platform-magazzino-searchpn #columnSelectorMenu {
    border: 1px solid #dbe8ec !important;
    border-radius: 0.9rem !important;
    box-shadow: 0 16px 30px rgba(28, 76, 92, 0.12) !important;
}

body.page-platform-magazzino-list #columnSelectorMenu label,
body.page-platform-magazzino-searchpn #columnSelectorMenu label {
    color: #3d5d67;
    font-size: 0.9rem;
}

body.page-platform-magazzino-list .dt-scroll-wrap,
body.page-platform-magazzino-searchpn .dt-scroll-wrap {
    overflow-x: auto !important;
}

body.page-platform-magazzino-list .dataTables_scrollHeadInner,
body.page-platform-magazzino-list .dataTables_scrollHeadInner table,
body.page-platform-magazzino-list .dataTables_scrollBody table,
body.page-platform-magazzino-searchpn .dataTables_scrollHeadInner,
body.page-platform-magazzino-searchpn .dataTables_scrollHeadInner table,
body.page-platform-magazzino-searchpn .dataTables_scrollBody table {
    margin: 0 !important;
    min-width: 100% !important;
}

body.page-platform-magazzino-list #dynamic-table,
body.page-platform-magazzino-searchpn #dynamic-table {
    background: #ffffff;
}

body.page-platform-magazzino-list .dataTables_scrollHead table th,
body.page-platform-magazzino-list .dataTables_scrollBody table th,
body.page-platform-magazzino-list .dataTables_scrollBody table td,
body.page-platform-magazzino-searchpn .dataTables_scrollHead table th,
body.page-platform-magazzino-searchpn .dataTables_scrollBody table th,
body.page-platform-magazzino-searchpn .dataTables_scrollBody table td {
    box-sizing: border-box;
    padding-left: 0.7rem;
    padding-right: 0.7rem;
    vertical-align: middle;
    white-space: nowrap;
}

body.page-platform-magazzino-list #dynamic-table thead th,
body.page-platform-magazzino-searchpn #dynamic-table thead th,
body.page-platform-magazzino-list .dataTables_scrollHead table th,
body.page-platform-magazzino-searchpn .dataTables_scrollHead table th {
    background: #f7fbfc;
    border-bottom-width: 1px;
    color: #6e848c;
    font-size: 0.77rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

body.page-platform-magazzino-list #dynamic-table tbody tr:hover,
body.page-platform-magazzino-searchpn #dynamic-table tbody tr:hover {
    background: #fbfdfe;
}

body.page-platform-magazzino-list .dataTables_scrollBody,
body.page-platform-magazzino-searchpn .dataTables_scrollBody {
    border-bottom-left-radius: 0.9rem;
    border-bottom-right-radius: 0.9rem;
}

body.page-platform-magazzino-list .dataTables_wrapper .dataTables_filter input,
body.page-platform-magazzino-list .dataTables_wrapper .dataTables_length select,
body.page-platform-magazzino-searchpn .dataTables_wrapper .dataTables_filter input,
body.page-platform-magazzino-searchpn .dataTables_wrapper .dataTables_length select {
    background: #f8fbfc;
    border: 1px solid #d0e2e8;
    border-radius: 0.75rem;
}

body.page-platform-magazzino-infopn .erp-warehouse-pn-page {
    padding-bottom: 1.5rem;
}

body.page-platform-magazzino-infopn .erp-warehouse-section {
    margin-bottom: 1rem;
    padding: 1rem 1.05rem;
}

body.page-platform-magazzino-infopn .erp-warehouse-section__header {
    align-items: flex-end;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

body.page-platform-magazzino-infopn .erp-warehouse-section__title,
body.page-platform-magazzino-infopn .erp-warehouse-record__title {
    color: #21343d;
    font-size: 1.12rem;
    font-weight: 800;
    margin: 0;
}

body.page-platform-magazzino-infopn .erp-warehouse-record {
    margin-bottom: 1rem;
    overflow: hidden;
}

body.page-platform-magazzino-infopn .erp-warehouse-record:last-child {
    margin-bottom: 0;
}

body.page-platform-magazzino-infopn .erp-warehouse-record__header,
body.page-platform-magazzino-infopn .erp-warehouse-incoming-card__header {
    align-items: flex-start;
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    justify-content: space-between;
}

body.page-platform-magazzino-infopn .erp-warehouse-record__header {
    background: linear-gradient(180deg, #f8fbfc 0%, #ffffff 100%);
    border-bottom: 1px solid #e4eef1;
    padding: 1rem 1.1rem;
}

body.page-platform-magazzino-infopn .erp-warehouse-record__body,
body.page-platform-magazzino-infopn .erp-warehouse-incoming-card {
    padding: 1rem 1.1rem;
}

body.page-platform-magazzino-infopn .erp-warehouse-meta-grid {
    display: grid;
    gap: 0.9rem;
    grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
}

body.page-platform-magazzino-infopn .erp-warehouse-meta {
    background: #f9fcfd;
    border: 1px solid #e5eff2;
    border-radius: 0.95rem;
    min-height: 100%;
    padding: 0.85rem 0.95rem;
}

body.page-platform-magazzino-infopn .erp-warehouse-meta__value,
body.page-platform-magazzino-infopn .erp-warehouse-meta__value strong {
    color: #253841;
    font-size: 0.94rem;
    font-weight: 700;
    margin: 0;
    text-decoration: none;
}

body.page-platform-magazzino-infopn .erp-warehouse-subsection {
    margin-top: 1rem;
}

body.page-platform-magazzino-infopn .erp-warehouse-subsection__title {
    color: #39505a;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
}

body.page-platform-magazzino-infopn .erp-warehouse-chip-group,
body.page-platform-magazzino-infopn .erp-warehouse-allocation-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

body.page-platform-magazzino-infopn .erp-warehouse-chip,
body.page-platform-magazzino-infopn .erp-warehouse-link-pill {
    align-items: center;
    border-radius: 999px;
    display: inline-flex;
    font-size: 0.78rem;
    font-weight: 700;
    gap: 0.32rem;
    line-height: 1;
    min-height: 2.1rem;
    padding: 0.45rem 0.8rem;
    text-decoration: none;
    transition: transform 0.16s ease, box-shadow 0.16s ease, color 0.16s ease, background-color 0.16s ease;
    white-space: nowrap;
}

body.page-platform-magazzino-infopn .erp-warehouse-chip strong,
body.page-platform-magazzino-infopn .erp-warehouse-link-pill strong {
    color: inherit;
    font-weight: 800;
}

body.page-platform-magazzino-infopn .erp-warehouse-chip--stock {
    background: linear-gradient(180deg, #f3f8fa 0%, #eaf3f6 100%);
    border: 1px solid #d6e4ea;
    color: #315460;
}

body.page-platform-magazzino-infopn .erp-warehouse-chip--reserved {
    background: linear-gradient(180deg, #fff2d3 0%, #ffe6ae 100%);
    border: 1px solid #efca63;
    color: #775500;
}

body.page-platform-magazzino-infopn .erp-warehouse-chip--available {
    background: linear-gradient(180deg, #e4f7ec 0%, #d1f0df 100%);
    border: 1px solid #abd8be;
    color: #17583a;
    box-shadow: 0 8px 16px rgba(23, 88, 58, 0.08);
}

body.page-platform-magazzino-infopn .erp-warehouse-chip--unavailable {
    background: linear-gradient(180deg, #fae6e8 0%, #f7d7db 100%);
    border: 1px solid #ebb0b7;
    color: #8b2435;
}

body.page-platform-magazzino-infopn .erp-warehouse-chip--neutral {
    background: #f1f6f7;
    border: 1px solid #d7e5e9;
    color: #405b65;
}

body.page-platform-magazzino-infopn .erp-warehouse-chip--warning {
    background: #fff1cf;
    border: 1px solid #f3d178;
    color: #7b5b00;
}

body.page-platform-magazzino-infopn .erp-warehouse-chip--success {
    background: #dff5e9;
    border: 1px solid #afdcc2;
    color: #196240;
}

body.page-platform-magazzino-infopn .erp-warehouse-chip--danger {
    background: #fde5e7;
    border: 1px solid #f0b7bd;
    color: #922a39;
}

body.page-platform-magazzino-infopn .erp-warehouse-link-pill--supplier-order {
    background: linear-gradient(180deg, #5a38bf 0%, #492aa0 100%);
    border: 1px solid #4a2d9d;
    color: #ffffff;
    box-shadow: 0 10px 18px rgba(73, 42, 160, 0.18);
}

body.page-platform-magazzino-infopn .erp-warehouse-link-pill--supplier-order:hover,
body.page-platform-magazzino-infopn .erp-warehouse-link-pill--supplier-order:focus {
    color: #ffffff;
    transform: translateY(-1px);
}

body.page-platform-magazzino-infopn .erp-warehouse-link-pill--customer-order {
    background: linear-gradient(180deg, #edf6ff 0%, #dceefe 100%);
    border: 1px solid #b8d9fb;
    color: #1f5f9f;
}

body.page-platform-magazzino-infopn .erp-warehouse-link-pill--customer-order:hover,
body.page-platform-magazzino-infopn .erp-warehouse-link-pill--customer-order:focus {
    color: #174f88;
    transform: translateY(-1px);
}

body.page-platform-magazzino-infopn .erp-warehouse-link-pill--supplier {
    background: #ffefbe;
    border: 1px solid #ebcc68;
    color: #5c4700;
}

body.page-platform-magazzino-infopn .erp-warehouse-link-pill--supplier:hover,
body.page-platform-magazzino-infopn .erp-warehouse-link-pill--supplier:focus {
    color: #5c4700;
}

body.page-platform-magazzino-infopn .erp-warehouse-allocation-item {
    align-items: center;
    background: #f9fbfc;
    border: 1px solid #e5eef1;
    border-radius: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    padding: 0.6rem 0.7rem;
}

body.page-platform-magazzino-infopn .erp-warehouse-allocation-pn {
    color: #5f7077;
    font-size: 0.84rem;
    font-weight: 600;
    max-width: 18rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.page-platform-magazzino-infopn .erp-warehouse-empty {
    background: #f8fbfc;
    border: 1px dashed #c7dbe1;
    border-radius: 1rem;
    color: #60747d;
    padding: 1rem 1.1rem;
}

body.page-platform-magazzino-infopn .erp-warehouse-empty--soft {
    background: #fbfcfd;
}

body.page-platform-magazzino-infopn .erp-warehouse-incoming-list {
    display: grid;
    gap: 0.9rem;
}

body.page-platform-magazzino-infopn .erp-warehouse-pagination {
    margin-top: 1rem;
}

@media (max-width: 992px) {
    body.page-platform-magazzino-infopn .erp-warehouse-summary__hero {
        flex-direction: column;
    }

    body.page-platform-magazzino-infopn .erp-warehouse-summary__metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        min-width: 100%;
        width: 100%;
    }
}

body.page-platform-magazzino-card .screen-actions {
    margin-bottom: 1rem;
}

body.page-platform-magazzino-card .screen-actions .btn {
    align-items: center;
    background: linear-gradient(180deg, #16a1b7 0%, #10879a 100%);
    border: 0;
    border-radius: 0.9rem;
    box-shadow: 0 12px 24px rgba(16, 135, 154, 0.18);
    color: #ffffff;
    display: inline-flex;
    font-weight: 700;
    gap: 0.45rem;
    min-height: 2.9rem;
    padding: 0.75rem 1rem;
}

body.page-platform-magazzino-card .screen-actions .btn:hover,
body.page-platform-magazzino-card .screen-actions .btn:focus {
    background: linear-gradient(180deg, #1297ab 0%, #0d7c8d 100%);
    color: #ffffff;
}

body.page-platform-magazzino-card .erp-warehouse-summary {
    background:
        radial-gradient(circle at top right, rgba(36, 133, 155, 0.15), transparent 28%),
        linear-gradient(135deg, #f7fbfc 0%, #ffffff 55%, #eef8fb 100%);
    border: 1px solid #d9eaef;
    border-radius: 1.25rem;
    box-shadow: 0 16px 34px rgba(26, 79, 95, 0.08);
    margin-bottom: 1rem;
    /* overflow:hidden clipa le child (facet strip) al border-radius del
       container; senza, lo sfondo solido della facet strip eccede leggermente
       l'angolo arrotondato della card. */
    overflow: hidden;
    padding: 1.35rem;
}

body.page-platform-magazzino-card .erp-warehouse-summary__hero {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

body.page-platform-magazzino-card .erp-warehouse-summary__eyebrow,
body.page-platform-magazzino-card .erp-section-heading__eyebrow {
    color: #4f7a86;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin: 0 0 0.35rem;
    text-transform: uppercase;
}

body.page-platform-magazzino-card .erp-warehouse-summary__title {
    color: #1f3038;
    font-size: 1.85rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0;
}

body.page-platform-magazzino-card .erp-warehouse-summary__subtitle {
    color: #60747d;
    margin: 0.55rem 0 0;
    max-width: 42rem;
}

body.page-platform-magazzino-card .erp-offer-summary__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 0.85rem;
}

body.page-platform-magazzino-card .erp-status-pill {
    border-radius: 999px;
    display: inline-flex;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    padding: 0.52rem 0.85rem;
    text-transform: uppercase;
}

body.page-platform-magazzino-card .erp-status-pill--success {
    background: #dff5e9;
    border: 1px solid #afdcc2;
    color: #196240;
}

body.page-platform-magazzino-card .erp-status-pill--warning {
    background: #fff1cf;
    border: 1px solid #f3d178;
    color: #7b5b00;
}

body.page-platform-magazzino-card .erp-status-pill--neutral {
    background: #eef6f8;
    border: 1px solid #cfe3e8;
    color: #3d6470;
}

body.page-platform-magazzino-card .erp-warehouse-summary__metrics,
body.page-platform-magazzino-card .erp-offer-summary__grid,
body.page-platform-magazzino-card .erp-summary-grid {
    display: grid;
    gap: 0.85rem;
}

body.page-platform-magazzino-card .erp-warehouse-summary__metrics {
    grid-template-columns: repeat(2, minmax(9rem, 1fr));
    min-width: min(100%, 26rem);
}

body.page-platform-magazzino-card .erp-warehouse-metric,
body.page-platform-magazzino-card .erp-summary-card {
    background: #ffffff;
    border: 1px solid #dfecef;
    border-radius: 1.15rem;
    box-shadow: 0 12px 28px rgba(28, 76, 92, 0.05);
}

body.page-platform-magazzino-card .erp-warehouse-metric {
    padding: 0.95rem 1rem;
    position: relative;
    overflow: hidden;
}

body.page-platform-magazzino-card .erp-warehouse-metric span,
body.page-platform-magazzino-card .erp-summary-card__label {
    color: #6e848c;
    display: block;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    margin-bottom: 0.3rem;
    text-transform: uppercase;
}

body.page-platform-magazzino-card .erp-warehouse-metric strong {
    color: #1f3038;
    display: block;
    font-size: 1.18rem;
    font-weight: 800;
}

body.page-platform-magazzino-card .erp-warehouse-metric--support {
    background: linear-gradient(180deg, #fbfcfd 0%, #f4f9fa 100%);
    border-color: #dfecef;
}

body.page-platform-magazzino-card .erp-warehouse-metric--primary {
    background: linear-gradient(180deg, #eef8fb 0%, #e0f2f7 100%);
    border-color: #bcdde7;
    box-shadow: 0 14px 24px rgba(33, 117, 142, 0.1);
}

body.page-platform-magazzino-card .erp-warehouse-metric--primary span {
    color: #377083;
}

body.page-platform-magazzino-card .erp-warehouse-metric--primary strong {
    color: #0f5f76;
    font-size: 1.35rem;
}

body.page-platform-magazzino-card .erp-warehouse-metric--secondary {
    background: linear-gradient(180deg, #fff6e5 0%, #ffefcf 100%);
    border-color: #ecd39a;
    box-shadow: 0 14px 24px rgba(154, 108, 21, 0.08);
}

body.page-platform-magazzino-card .erp-warehouse-metric--secondary span {
    color: #8c6512;
}

body.page-platform-magazzino-card .erp-warehouse-metric--secondary strong {
    color: #7a5300;
    font-size: 1.35rem;
}

body.page-platform-magazzino-card .erp-offer-summary__grid {
    grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
    margin-top: 1rem;
}

body.page-platform-magazzino-card .erp-summary-card {
    padding: 0.9rem 1rem;
}

body.page-platform-magazzino-card .erp-summary-card__value {
    color: #253841;
    font-size: 0.95rem;
    font-weight: 700;
}

body.page-platform-magazzino-card .erp-section-heading {
    margin: 0.3rem 0 0.75rem;
}

body.page-platform-magazzino-card .erp-section-heading__title {
    color: #21343d;
    font-size: 1.12rem;
    font-weight: 800;
    margin: 0;
}

body.page-platform-magazzino-card .erp-section-heading__description {
    color: #63777f;
    margin: 0.35rem 0 0;
    max-width: 52rem;
}

body.page-platform-magazzino-card fieldset[data-async] > .col > legend,
body.page-platform-magazzino-card fieldset > .col > legend {
    color: #597881;
    font-size: 0.77rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin-bottom: 0.65rem;
    text-transform: uppercase;
}

body.page-platform-magazzino-card fieldset[data-async] > .bg-white.rounded.shadow-sm,
body.page-platform-magazzino-card fieldset > .bg-white.rounded.shadow-sm {
    background: #ffffff !important;
    border: 1px solid #dbe8ec;
    border-radius: 1rem !important;
    box-shadow: 0 12px 28px rgba(28, 76, 92, 0.05) !important;
    margin-bottom: 1rem;
    padding: 1rem !important;
}

body.page-platform-magazzino-card fieldset[data-async] > .bg-white.rounded.shadow-sm > dl,
body.page-platform-magazzino-card fieldset > .bg-white.rounded.shadow-sm > dl {
    display: grid !important;
    gap: 0.85rem;
    grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
}

body.page-platform-magazzino-card fieldset .d2-grid {
    background: #f9fcfd;
    border: 1px solid #e5eff2;
    border-radius: 0.95rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    min-height: 100%;
    padding: 0.85rem 0.95rem !important;
}

body.page-platform-magazzino-card fieldset .d2-grid.border-top {
    border-top: 1px solid #e5eff2 !important;
}

body.page-platform-magazzino-card fieldset dt {
    color: #71858d;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    margin: 0;
    padding: 0;
    text-transform: uppercase;
}

body.page-platform-magazzino-card fieldset dt:first-child {
    padding: 0;
}

body.page-platform-magazzino-card fieldset dd {
    color: #23373f;
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0;
    min-height: 1.35rem;
    padding: 0;
    white-space: normal;
    word-break: break-word;
}

body.page-platform-magazzino-card .table-responsive {
    background: #ffffff;
    border: 1px solid #dbe8ec;
    border-radius: 1rem;
    box-shadow: 0 12px 28px rgba(28, 76, 92, 0.05);
    margin-bottom: 1rem;
    overflow-x: hidden;
    padding: 0;
}

body.page-platform-magazzino-card .table-responsive > .table {
    margin-bottom: 0;
    min-width: 100%;
    width: 100%;
}

body.page-platform-magazzino-card .table-responsive > .table thead th {
    background: #f7fbfc;
    border-bottom: 1px solid #dbe8ec;
    color: #6e848c;
    font-size: 0.77rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    white-space: nowrap;
}

body.page-platform-magazzino-card .table-responsive > .table td,
body.page-platform-magazzino-card .table-responsive > .table th {
    padding: 0.8rem 0.9rem;
    vertical-align: middle;
}

body.page-platform-magazzino-card .table-responsive > .table tbody tr:hover {
    background: #fbfdfe;
}

body.page-platform-magazzino-card .erp-warehouse-card-link,
body.page-platform-magazzino-card .erp-warehouse-card-chip {
    align-items: center;
    border-radius: 999px;
    display: inline-flex;
    font-size: 0.78rem;
    font-weight: 700;
    gap: 0.35rem;
    line-height: 1;
    min-height: 2.1rem;
    min-width: 8rem;
    padding: 0.45rem 0.8rem;
    text-decoration: none;
    transition: transform 0.16s ease, box-shadow 0.16s ease, color 0.16s ease, background-color 0.16s ease;
    white-space: nowrap;
    width: fit-content;
}

body.page-platform-magazzino-card .erp-warehouse-card-link strong,
body.page-platform-magazzino-card .erp-warehouse-card-chip strong {
    color: inherit;
    font-weight: 800;
}

body.page-platform-magazzino-card .erp-warehouse-card-link:hover,
body.page-platform-magazzino-card .erp-warehouse-card-link:focus {
    transform: translateY(-1px);
}

body.page-platform-magazzino-card .erp-warehouse-card-link--customer-order {
    background: linear-gradient(180deg, #edf6ff 0%, #dceefe 100%);
    border: 1px solid #b8d9fb;
    color: #1f5f9f;
}

body.page-platform-magazzino-card .erp-warehouse-card-link--customer-order:hover,
body.page-platform-magazzino-card .erp-warehouse-card-link--customer-order:focus {
    color: #174f88;
}

body.page-platform-magazzino-card .erp-warehouse-card-link--supplier-order {
    background: linear-gradient(180deg, #5a38bf 0%, #492aa0 100%);
    border: 1px solid #4a2d9d;
    box-shadow: 0 10px 18px rgba(73, 42, 160, 0.18);
    color: #ffffff;
}

body.page-platform-magazzino-card .erp-warehouse-card-link--supplier-order:hover,
body.page-platform-magazzino-card .erp-warehouse-card-link--supplier-order:focus {
    color: #ffffff;
}

body.page-platform-magazzino-card .erp-warehouse-card-link--supplier {
    background: #ffefbe;
    border: 1px solid #ebcc68;
    color: #5c4700;
}

body.page-platform-magazzino-card .erp-warehouse-card-link--supplier:hover,
body.page-platform-magazzino-card .erp-warehouse-card-link--supplier:focus {
    color: #5c4700;
}

body.page-platform-magazzino-card .erp-warehouse-card-link--wide {
    margin: 0.15rem 0.35rem 0.15rem 0;
    min-width: 13.5rem;
}

body.page-platform-magazzino-card .erp-warehouse-card-chip--reserved {
    background: linear-gradient(180deg, #fff2d3 0%, #ffe6ae 100%);
    border: 1px solid #efca63;
    color: #775500;
    min-width: auto;
}

body.page-platform-magazzino-card .erp-warehouse-card-chip--success {
    background: linear-gradient(180deg, #e4f7ec 0%, #d1f0df 100%);
    border: 1px solid #abd8be;
    color: #17583a;
    min-width: auto;
}

@media (max-width: 992px) {
    body.page-platform-magazzino-card .erp-warehouse-summary__hero {
        flex-direction: column;
    }

    body.page-platform-magazzino-card .erp-warehouse-summary__metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        min-width: 100%;
        width: 100%;
    }

    body.page-platform-magazzino-card fieldset[data-async] > .bg-white.rounded.shadow-sm > dl,
    body.page-platform-magazzino-card fieldset > .bg-white.rounded.shadow-sm > dl {
        grid-template-columns: 1fr;
    }
}

/* Global summary card link pill styling */
.erp-summary-card__link {
    align-items: center;
    border-radius: 999px;
    display: inline-flex;
    font-size: 0.82rem;
    font-weight: 700;
    gap: 0.35rem;
    line-height: 1;
    min-height: 2.1rem;
    padding: 0.45rem 0.85rem;
    text-decoration: none;
    transition: transform 0.16s ease, box-shadow 0.16s ease;
    white-space: nowrap;
}
.erp-summary-card__link:hover {
    transform: translateY(-1px);
    text-decoration: none;
}

/* Settings branding: limit Picture preview size */
body.page-platform-settings .picture-preview img,
body.page-platform-settings [data-controller="picture"] img {
    max-height: 120px !important;
    max-width: 100% !important;
    object-fit: contain !important;
    width: auto !important;
    height: auto !important;
}

/* ========== Admin Screens (Users, Roles, Documentation) ========== */
body.page-platform-systems-users .table-responsive,
body.page-platform-systems-roles .table-responsive {
    background: #ffffff;
    border: 1px solid #dbe6ed;
    border-radius: 1rem;
    box-shadow: 0 8px 20px rgba(28, 50, 70, 0.05);
    overflow-x: auto;
}
body.page-platform-systems-users .table-responsive > .table,
body.page-platform-systems-roles .table-responsive > .table {
    margin-bottom: 0;
}
body.page-platform-systems-users .table-responsive > .table thead th,
body.page-platform-systems-roles .table-responsive > .table thead th {
    background: #f7fafc;
    border-bottom: 2px solid #e2eaf0;
    color: #5a6d78;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    white-space: nowrap;
}
body.page-platform-systems-users .table-responsive > .table tbody tr:hover,
body.page-platform-systems-roles .table-responsive > .table tbody tr:hover {
    background: #f8fbfd;
}
body.page-platform-systems-users .table-responsive > .table td,
body.page-platform-systems-roles .table-responsive > .table td {
    vertical-align: middle;
    font-size: 0.88rem;
}
body.page-platform-systems-users-edit .form-label,
body.page-platform-systems-users-edit label,
body.page-platform-systems-users-create .form-label,
body.page-platform-systems-users-create label,
body.page-platform-systems-roles-edit .form-label,
body.page-platform-systems-roles-edit label,
body.page-platform-systems-roles-create .form-label,
body.page-platform-systems-roles-create label {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #5a6d78;
}
body.page-platform-systems-users-edit .bg-white.rounded.shadow-sm,
body.page-platform-systems-users-create .bg-white.rounded.shadow-sm,
body.page-platform-systems-roles-edit .bg-white.rounded.shadow-sm,
body.page-platform-systems-roles-create .bg-white.rounded.shadow-sm {
    border: 1px solid #dbe6ed;
    border-radius: 1rem !important;
    box-shadow: 0 8px 20px rgba(28, 50, 70, 0.05) !important;
}

/* ========== OBS Internal & PCN Card Screens ========== */
body.page-platform-obsinternal-pn-list .table-responsive,
body.page-platform-obsinternal-pn-detail .table-responsive,
body.page-platform-pcnnotification-card .table-responsive {
    background: #ffffff;
    border: 1px solid #dbe6ed;
    border-radius: 1rem;
    box-shadow: 0 8px 20px rgba(28, 50, 70, 0.05);
    overflow-x: auto;
}
body.page-platform-obsinternal-pn-list .table-responsive > .table,
body.page-platform-obsinternal-pn-detail .table-responsive > .table,
body.page-platform-pcnnotification-card .table-responsive > .table {
    margin-bottom: 0;
}
body.page-platform-obsinternal-pn-list .table-responsive > .table thead th,
body.page-platform-obsinternal-pn-detail .table-responsive > .table thead th,
body.page-platform-pcnnotification-card .table-responsive > .table thead th {
    background: #f7fafc;
    border-bottom: 2px solid #e2eaf0;
    color: #5a6d78;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    white-space: nowrap;
}
body.page-platform-obsinternal-pn-list .table-responsive > .table tbody tr:hover,
body.page-platform-obsinternal-pn-detail .table-responsive > .table tbody tr:hover,
body.page-platform-pcnnotification-card .table-responsive > .table tbody tr:hover {
    background: #f8fbfd;
}
body.page-platform-obsinternal-pn-list .table-responsive > .table td,
body.page-platform-obsinternal-pn-detail .table-responsive > .table td,
body.page-platform-pcnnotification-card .table-responsive > .table td {
    vertical-align: middle;
    font-size: 0.88rem;
}
body.page-platform-obsinternal-pn-list .form-label,
body.page-platform-obsinternal-pn-list label,
body.page-platform-obsinternal-pn-detail .form-label,
body.page-platform-obsinternal-pn-detail label {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #5a6d78;
}
body.page-platform-obsinternal-pn-list .form-control,
body.page-platform-obsinternal-pn-detail .form-control {
    border-radius: 0.5rem;
    border: 1px solid #dbe6ed;
}
body.page-platform-obsinternal-pn-list .bg-white.rounded.shadow-sm,
body.page-platform-obsinternal-pn-detail .bg-white.rounded.shadow-sm,
body.page-platform-pcnnotification-card .bg-white.rounded.shadow-sm {
    border: 1px solid #dbe6ed;
    border-radius: 1rem !important;
    box-shadow: 0 8px 20px rgba(28, 50, 70, 0.05) !important;
}

/* ========== Magazzino Edit Screen ========== */
body.page-platform-magazzino-edit .bg-white.rounded.shadow-sm {
    border: 1px solid #dbe8ec;
    border-radius: 1rem !important;
    box-shadow: 0 8px 20px rgba(28, 76, 92, 0.05) !important;
}
body.page-platform-magazzino-edit .form-label,
body.page-platform-magazzino-edit label {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #5a6d78;
}
body.page-platform-magazzino-edit .form-control {
    border-radius: 0.5rem;
    border: 1px solid #dbe6ed;
    font-size: 0.88rem;
}
body.page-platform-magazzino-edit .form-control:focus {
    border-color: #16a1b7;
    box-shadow: 0 0 0 2px rgba(22, 161, 183, 0.15);
}
body.page-platform-magazzino-edit .erp-section-heading {
    margin: 0.3rem 0 0.75rem;
}
body.page-platform-magazzino-edit .erp-section-heading__eyebrow {
    color: #4f7a86;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
body.page-platform-magazzino-edit .erp-section-heading__title {
    color: #21343d;
    font-size: 1.05rem;
    font-weight: 800;
}

/* ========== Anagrafica List Screens (Buyer, Company, Contact, Supplier, Program) ========== */
body.page-platform-buyer-list .table-responsive,
body.page-platform-company-list .table-responsive,
body.page-platform-contact-list .table-responsive,
body.page-platform-supplier-list .table-responsive,
body.page-platform-program-list .table-responsive,
body.page-platform-documentcode-list .table-responsive {
    background: #ffffff;
    border: 1px solid #dbe6ed;
    border-radius: 1rem;
    box-shadow: 0 8px 20px rgba(28, 50, 70, 0.05);
    overflow-x: auto;
}
body.page-platform-buyer-list .table-responsive > .table,
body.page-platform-company-list .table-responsive > .table,
body.page-platform-contact-list .table-responsive > .table,
body.page-platform-supplier-list .table-responsive > .table,
body.page-platform-program-list .table-responsive > .table,
body.page-platform-documentcode-list .table-responsive > .table {
    margin-bottom: 0;
}
body.page-platform-buyer-list .table-responsive > .table thead th,
body.page-platform-company-list .table-responsive > .table thead th,
body.page-platform-contact-list .table-responsive > .table thead th,
body.page-platform-supplier-list .table-responsive > .table thead th,
body.page-platform-program-list .table-responsive > .table thead th,
body.page-platform-documentcode-list .table-responsive > .table thead th {
    background: #f7fafc;
    border-bottom: 2px solid #e2eaf0;
    color: #5a6d78;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    white-space: nowrap;
}
body.page-platform-buyer-list .table-responsive > .table tbody tr:hover,
body.page-platform-company-list .table-responsive > .table tbody tr:hover,
body.page-platform-contact-list .table-responsive > .table tbody tr:hover,
body.page-platform-supplier-list .table-responsive > .table tbody tr:hover,
body.page-platform-program-list .table-responsive > .table tbody tr:hover,
body.page-platform-documentcode-list .table-responsive > .table tbody tr:hover {
    background: #f8fbfd;
}
body.page-platform-buyer-list .table-responsive > .table td,
body.page-platform-company-list .table-responsive > .table td,
body.page-platform-contact-list .table-responsive > .table td,
body.page-platform-supplier-list .table-responsive > .table td,
body.page-platform-program-list .table-responsive > .table td,
body.page-platform-documentcode-list .table-responsive > .table td {
    vertical-align: middle;
    font-size: 0.88rem;
}

/* Summary card pills: inherit global pill styles — no overrides needed */

/* Survey View button in warehouse delivered table */
.erp-survey-view-btn {
    background: linear-gradient(180deg, #16a1b7 0%, #10879a 100%);
    border: none;
    border-radius: 0.7rem;
    color: #fff !important;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.4rem 0.9rem;
    box-shadow: 0 4px 10px rgba(16, 135, 154, 0.2);
    transition: background 0.15s, box-shadow 0.15s;
}
.erp-survey-view-btn:hover {
    background: linear-gradient(180deg, #1297ab 0%, #0d7c8d 100%);
    color: #fff !important;
    box-shadow: 0 6px 14px rgba(16, 135, 154, 0.3);
}

/* Warehouse card: compact legend grid and empty state */
body.page-platform-magazzino-card fieldset .d2-grid {
    padding: 0.6rem 0.75rem !important;
    gap: 0.2rem;
}
body.page-platform-magazzino-card fieldset dt {
    font-size: 0.7rem;
    margin-bottom: 0;
}
body.page-platform-magazzino-card fieldset dd {
    font-size: 0.88rem;
    min-height: 1.1rem;
}

/* Empty state for Orchid tables with no data */
body.page-platform-magazzino-card .table-responsive .text-center.p-3,
body.page-platform-magazzino-card .table-responsive td[colspan] {
    padding: 2rem 1rem !important;
}
body.page-platform-magazzino-card .table-responsive .text-center h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #6e848c;
}
body.page-platform-magazzino-card .table-responsive .text-center p {
    font-size: 0.85rem;
    color: #99aab3;
}

body.page-platform-pnprofilecustomerorder-list #warehouseModal .modal-dialog {
    max-width: min(1380px, calc(100vw - 2rem));
}

body.page-platform-pnprofilecustomerorder-list #warehouseModal .modal-content {
    background: #f5f8fa;
    border: 0;
    border-radius: 1.25rem;
    box-shadow: 0 24px 60px rgba(28, 47, 58, 0.18);
    overflow: hidden;
}

body.page-platform-pnprofilecustomerorder-list #warehouseModal .modal-header {
    background: linear-gradient(180deg, #fbfdfe 0%, #f3f8fa 100%);
    border-bottom: 1px solid #dfe9ed;
}

body.page-platform-pnprofilecustomerorder-list #warehouseModal .modal-body {
    background:
        radial-gradient(circle at top right, rgba(35, 141, 164, 0.08), transparent 24%),
        linear-gradient(180deg, #f8fbfc 0%, #f3f7f9 100%);
}

body.page-platform-pnprofilecustomerorder-list #screen-modal-modalAddSupplierForPartNumber .modal-dialog,
body.page-platform-pnprofilecustomerorder-list #screen-modal-modalAddTestSupplierForPartNumber .modal-dialog {
    max-width: min(44rem, calc(100vw - 2rem));
}

body.page-platform-pnprofilecustomerorder-list #screen-modal-modalAddSupplierForPartNumber .modal-content,
body.page-platform-pnprofilecustomerorder-list #screen-modal-modalAddTestSupplierForPartNumber .modal-content {
    background:
        radial-gradient(circle at top right, rgba(220, 0, 103, 0.08), transparent 28%),
        linear-gradient(180deg, #fffafc 0%, #fff3f8 100%);
    border: 1px solid #efdbe4;
    border-radius: 1.25rem;
    box-shadow: 0 28px 56px rgba(74, 35, 53, 0.2);
    overflow: hidden;
}

body.page-platform-pnprofilecustomerorder-list #screen-modal-modalAddSupplierForPartNumber .modal-header,
body.page-platform-pnprofilecustomerorder-list #screen-modal-modalAddTestSupplierForPartNumber .modal-header {
    align-items: center;
    background: linear-gradient(180deg, #fffdfe 0%, #fff4f8 100%);
    border-bottom: 1px solid #f1dde6;
    padding: 1.15rem 1.3rem;
}

body.page-platform-pnprofilecustomerorder-list #screen-modal-modalAddSupplierForPartNumber .modal-title,
body.page-platform-pnprofilecustomerorder-list #screen-modal-modalAddTestSupplierForPartNumber .modal-title {
    color: #472131 !important;
    font-size: 1.42rem;
    font-weight: 800 !important;
    letter-spacing: -0.02em;
}

body.page-platform-pnprofilecustomerorder-list #screen-modal-modalAddSupplierForPartNumber .btn-close,
body.page-platform-pnprofilecustomerorder-list #screen-modal-modalAddTestSupplierForPartNumber .btn-close {
    border-radius: 999px;
    box-shadow: none;
    opacity: 0.7;
}

body.page-platform-pnprofilecustomerorder-list #screen-modal-modalAddSupplierForPartNumber .btn-close:hover,
body.page-platform-pnprofilecustomerorder-list #screen-modal-modalAddTestSupplierForPartNumber .btn-close:hover,
body.page-platform-pnprofilecustomerorder-list #screen-modal-modalAddSupplierForPartNumber .btn-close:focus,
body.page-platform-pnprofilecustomerorder-list #screen-modal-modalAddTestSupplierForPartNumber .btn-close:focus {
    opacity: 1;
}

body.page-platform-pnprofilecustomerorder-list #screen-modal-modalAddSupplierForPartNumber .modal-body,
body.page-platform-pnprofilecustomerorder-list #screen-modal-modalAddTestSupplierForPartNumber .modal-body {
    background:
        radial-gradient(circle at top right, rgba(220, 0, 103, 0.06), transparent 30%),
        linear-gradient(180deg, #fff9fb 0%, #fff5f8 100%);
    padding: 1.2rem 1.25rem 1rem;
}

body.page-platform-pnprofilecustomerorder-list #screen-modal-modalAddSupplierForPartNumber .modal-body [data-async],
body.page-platform-pnprofilecustomerorder-list #screen-modal-modalAddTestSupplierForPartNumber .modal-body [data-async] {
    display: grid;
    gap: 0.9rem;
}

body.page-platform-pnprofilecustomerorder-list #screen-modal-modalAddSupplierForPartNumber .modal-body [data-async] > .row.form-group,
body.page-platform-pnprofilecustomerorder-list #screen-modal-modalAddTestSupplierForPartNumber .modal-body [data-async] > .row.form-group {
    --bs-gutter-x: 0.75rem;
    --bs-gutter-y: 0.75rem;
    background: #ffffff;
    border: 1px solid #f0dee7;
    border-radius: 1.05rem;
    box-shadow: 0 14px 28px rgba(84, 36, 59, 0.06);
    margin: 0;
    padding: 1rem 1rem 0.2rem;
}

body.page-platform-pnprofilecustomerorder-list #screen-modal-modalAddSupplierForPartNumber .modal-body [data-async] > .row.form-group > div,
body.page-platform-pnprofilecustomerorder-list #screen-modal-modalAddTestSupplierForPartNumber .modal-body [data-async] > .row.form-group > div {
    min-width: 0;
}

body.page-platform-pnprofilecustomerorder-list #screen-modal-modalAddSupplierForPartNumber .modal-body .form-group.row.row-cols-sm-2,
body.page-platform-pnprofilecustomerorder-list #screen-modal-modalAddTestSupplierForPartNumber .modal-body .form-group.row.row-cols-sm-2 {
    display: block;
    margin-bottom: 0.8rem;
}

body.page-platform-pnprofilecustomerorder-list #screen-modal-modalAddSupplierForPartNumber .modal-body .form-label,
body.page-platform-pnprofilecustomerorder-list #screen-modal-modalAddTestSupplierForPartNumber .modal-body .form-label,
body.page-platform-pnprofilecustomerorder-list #screen-modal-modalAddSupplierForPartNumber .modal-body .col-form-label,
body.page-platform-pnprofilecustomerorder-list #screen-modal-modalAddTestSupplierForPartNumber .modal-body .col-form-label {
    color: #875b70;
    display: block;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    margin-bottom: 0.45rem;
    margin-top: 0;
    max-width: none;
    text-transform: uppercase;
}

body.page-platform-pnprofilecustomerorder-list #screen-modal-modalAddSupplierForPartNumber .modal-body .form-control,
body.page-platform-pnprofilecustomerorder-list #screen-modal-modalAddTestSupplierForPartNumber .modal-body .form-control,
body.page-platform-pnprofilecustomerorder-list #screen-modal-modalAddSupplierForPartNumber .modal-body .form-select,
body.page-platform-pnprofilecustomerorder-list #screen-modal-modalAddTestSupplierForPartNumber .modal-body .form-select,
body.page-platform-pnprofilecustomerorder-list #screen-modal-modalAddSupplierForPartNumber .modal-body [data-controller="relation"] .ts-control,
body.page-platform-pnprofilecustomerorder-list #screen-modal-modalAddTestSupplierForPartNumber .modal-body [data-controller="relation"] .ts-control {
    background: #fffdfd;
    border: 1px solid #ebd6df;
    border-radius: 0.9rem;
    box-shadow: none !important;
    color: #402230;
    min-height: 2.95rem;
}

body.page-platform-pnprofilecustomerorder-list #screen-modal-modalAddSupplierForPartNumber .modal-body .form-control::placeholder,
body.page-platform-pnprofilecustomerorder-list #screen-modal-modalAddTestSupplierForPartNumber .modal-body .form-control::placeholder {
    color: #a38a97;
}

body.page-platform-pnprofilecustomerorder-list #screen-modal-modalAddSupplierForPartNumber .modal-body .form-control:focus,
body.page-platform-pnprofilecustomerorder-list #screen-modal-modalAddTestSupplierForPartNumber .modal-body .form-control:focus,
body.page-platform-pnprofilecustomerorder-list #screen-modal-modalAddSupplierForPartNumber .modal-body .form-select:focus,
body.page-platform-pnprofilecustomerorder-list #screen-modal-modalAddTestSupplierForPartNumber .modal-body .form-select:focus,
body.page-platform-pnprofilecustomerorder-list #screen-modal-modalAddSupplierForPartNumber .modal-body [data-controller="relation"] .ts-control.focus,
body.page-platform-pnprofilecustomerorder-list #screen-modal-modalAddTestSupplierForPartNumber .modal-body [data-controller="relation"] .ts-control.focus {
    border-color: #dc0067;
    box-shadow: 0 0 0 0.2rem rgba(220, 0, 103, 0.14) !important;
}

body.page-platform-pnprofilecustomerorder-list #screen-modal-modalAddSupplierForPartNumber .modal-body [data-controller="relation"] .ts-wrapper,
body.page-platform-pnprofilecustomerorder-list #screen-modal-modalAddTestSupplierForPartNumber .modal-body [data-controller="relation"] .ts-wrapper {
    width: 100%;
}

body.page-platform-pnprofilecustomerorder-list #screen-modal-modalAddSupplierForPartNumber .modal-body [data-controller="relation"] .ts-dropdown,
body.page-platform-pnprofilecustomerorder-list #screen-modal-modalAddTestSupplierForPartNumber .modal-body [data-controller="relation"] .ts-dropdown {
    border: 1px solid #ebd6df;
    border-radius: 1rem;
    box-shadow: 0 18px 34px rgba(84, 36, 59, 0.14);
    overflow: hidden;
}

body.page-platform-pnprofilecustomerorder-list #screen-modal-modalAddSupplierForPartNumber .modal-body [data-controller="relation"] .ts-dropdown .active,
body.page-platform-pnprofilecustomerorder-list #screen-modal-modalAddTestSupplierForPartNumber .modal-body [data-controller="relation"] .ts-dropdown .active {
    background: #fff0f7;
    color: #521d35;
}

body.page-platform-pnprofilecustomerorder-list #screen-modal-modalAddSupplierForPartNumber .modal-footer,
body.page-platform-pnprofilecustomerorder-list #screen-modal-modalAddTestSupplierForPartNumber .modal-footer {
    align-items: center;
    background: linear-gradient(180deg, #fff9fb 0%, #fff2f7 100%);
    border-top: 1px solid #f0dbe5;
    gap: 0.7rem;
    padding: 1rem 1.25rem 1.15rem;
}

body.page-platform-pnprofilecustomerorder-list #screen-modal-modalAddSupplierForPartNumber .modal-footer .btn-link,
body.page-platform-pnprofilecustomerorder-list #screen-modal-modalAddTestSupplierForPartNumber .modal-footer .btn-link {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 999px;
    color: #7c5b6c;
    display: inline-flex;
    font-weight: 700;
    min-height: 2.8rem;
    padding: 0.65rem 0.95rem;
    text-decoration: none;
}

body.page-platform-pnprofilecustomerorder-list #screen-modal-modalAddSupplierForPartNumber .modal-footer .btn-link:hover,
body.page-platform-pnprofilecustomerorder-list #screen-modal-modalAddTestSupplierForPartNumber .modal-footer .btn-link:hover,
body.page-platform-pnprofilecustomerorder-list #screen-modal-modalAddSupplierForPartNumber .modal-footer .btn-link:focus,
body.page-platform-pnprofilecustomerorder-list #screen-modal-modalAddTestSupplierForPartNumber .modal-footer .btn-link:focus {
    background: #fff1f6;
    color: #5f3448;
}

body.page-platform-pnprofilecustomerorder-list #screen-modal-modalAddSupplierForPartNumber .modal-footer .btn-default,
body.page-platform-pnprofilecustomerorder-list #screen-modal-modalAddTestSupplierForPartNumber .modal-footer .btn-default {
    align-items: center;
    background: linear-gradient(180deg, #dc0067 0%, #b60057 100%) !important;
    border: 1px solid #bf005b !important;
    border-radius: 0.9rem !important;
    box-shadow: 0 12px 24px rgba(220, 0, 103, 0.18);
    color: #ffffff !important;
    display: inline-flex;
    font-weight: 800 !important;
    justify-content: center;
    min-height: 2.9rem;
    padding: 0.7rem 1.15rem !important;
}

body.page-platform-pnprofilecustomerorder-list #screen-modal-modalAddSupplierForPartNumber .modal-footer .btn-default *,
body.page-platform-pnprofilecustomerorder-list #screen-modal-modalAddTestSupplierForPartNumber .modal-footer .btn-default * {
    color: #ffffff !important;
}

@media (max-width: 767.98px) {
    body.page-platform-pnprofilecustomerorder-list #screen-modal-modalAddSupplierForPartNumber .modal-body,
    body.page-platform-pnprofilecustomerorder-list #screen-modal-modalAddTestSupplierForPartNumber .modal-body {
        padding: 1rem;
    }

    body.page-platform-pnprofilecustomerorder-list #screen-modal-modalAddSupplierForPartNumber .modal-body [data-async] > .row.form-group,
    body.page-platform-pnprofilecustomerorder-list #screen-modal-modalAddTestSupplierForPartNumber .modal-body [data-async] > .row.form-group {
        padding: 0.9rem 0.9rem 0.15rem;
    }

    body.page-platform-pnprofilecustomerorder-list #screen-modal-modalAddSupplierForPartNumber .modal-footer,
    body.page-platform-pnprofilecustomerorder-list #screen-modal-modalAddTestSupplierForPartNumber .modal-footer {
        flex-direction: column-reverse;
    }

    body.page-platform-pnprofilecustomerorder-list #screen-modal-modalAddSupplierForPartNumber .modal-footer .btn-link,
    body.page-platform-pnprofilecustomerorder-list #screen-modal-modalAddSupplierForPartNumber .modal-footer .btn-default,
    body.page-platform-pnprofilecustomerorder-list #screen-modal-modalAddTestSupplierForPartNumber .modal-footer .btn-link,
    body.page-platform-pnprofilecustomerorder-list #screen-modal-modalAddTestSupplierForPartNumber .modal-footer .btn-default {
        justify-content: center;
        width: 100%;
    }
}

.erp-warehouse-modal-header {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.erp-warehouse-modal-header__eyebrow {
    color: #4f7a86;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin: 0;
    text-transform: uppercase;
}

.erp-warehouse-modal-header__title {
    color: #1f3038;
    font-size: 1.08rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0;
}

.erp-warehouse-modal-header__subtitle {
    color: #62757d;
    font-size: 0.9rem;
    margin: 0;
    max-width: 42rem;
}

.erp-warehouse-reserve-page {
    padding: 0.2rem 0 1rem;
}

.erp-warehouse-reserve-summary {
    background:
        radial-gradient(circle at top right, rgba(29, 138, 160, 0.14), transparent 28%),
        linear-gradient(135deg, #f7fbfc 0%, #ffffff 56%, #eef8fb 100%);
    border: 1px solid #dbe8ec;
    border-radius: 1.2rem;
    box-shadow: 0 16px 32px rgba(24, 72, 88, 0.08);
    margin-bottom: 1rem;
    padding: 1.15rem 1.2rem;
}

.erp-warehouse-reserve-summary__hero {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.erp-warehouse-reserve-summary__eyebrow,
.erp-warehouse-reserve-section__eyebrow,
.erp-warehouse-reserve-record__eyebrow {
    color: #4f7a86;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin: 0 0 0.35rem;
    text-transform: uppercase;
}

.erp-warehouse-reserve-summary__title {
    color: #1f3038;
    font-size: 1.7rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0;
}

.erp-warehouse-reserve-summary__subtitle {
    color: #60747d;
    margin: 0.5rem 0 0;
    max-width: 42rem;
}

.erp-warehouse-reserve-summary__chips,
.erp-warehouse-reserve-chip-group,
.erp-warehouse-reserve-allocation-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.erp-warehouse-reserve-summary__grid,
.erp-warehouse-reserve-summary__status-grid,
.erp-warehouse-reserve-meta-grid,
.erp-warehouse-reserve-incoming-list {
    display: grid;
    gap: 0.85rem;
}

.erp-warehouse-reserve-summary__grid {
    grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
}

.erp-warehouse-reserve-summary__status-grid {
    grid-template-columns: repeat(2, minmax(11rem, 1fr));
    margin-top: 0.85rem;
    max-width: 28rem;
}

.erp-warehouse-reserve-meta,
.erp-warehouse-reserve-section,
.erp-warehouse-reserve-record,
.erp-warehouse-reserve-incoming-card {
    background: #ffffff;
    border: 1px solid #deeaee;
    border-radius: 1.05rem;
    box-shadow: 0 12px 24px rgba(27, 70, 84, 0.05);
}

.erp-warehouse-reserve-meta {
    min-height: 100%;
    padding: 0.9rem 1rem;
}

.erp-warehouse-reserve-meta--success {
    background: linear-gradient(180deg, #e6f8ee 0%, #d4f1df 100%);
    border-color: #a9d6bb;
    box-shadow: 0 12px 24px rgba(23, 88, 58, 0.08);
}

.erp-warehouse-reserve-meta--warning {
    background: linear-gradient(180deg, #fff5dc 0%, #ffe9b9 100%);
    border-color: #eccb77;
    box-shadow: 0 12px 24px rgba(154, 108, 21, 0.08);
}

.erp-warehouse-reserve-meta__label {
    color: #6d848c;
    display: block;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    margin-bottom: 0.3rem;
    text-transform: uppercase;
}

.erp-warehouse-reserve-meta--success .erp-warehouse-reserve-meta__label {
    color: #256849;
}

.erp-warehouse-reserve-meta--warning .erp-warehouse-reserve-meta__label {
    color: #7d6206;
}

.erp-warehouse-reserve-meta__value,
.erp-warehouse-reserve-meta__value strong {
    color: #243740;
    font-size: 0.94rem;
    font-weight: 700;
    margin: 0;
    text-decoration: none;
}

.erp-warehouse-reserve-meta--success .erp-warehouse-reserve-meta__value,
.erp-warehouse-reserve-meta--success .erp-warehouse-reserve-meta__value strong {
    color: #16593b;
}

.erp-warehouse-reserve-meta--warning .erp-warehouse-reserve-meta__value,
.erp-warehouse-reserve-meta--warning .erp-warehouse-reserve-meta__value strong {
    color: #6c5100;
}

.erp-warehouse-reserve-section {
    margin-bottom: 1rem;
    padding: 1rem 1.05rem;
}

.erp-warehouse-reserve-section__header {
    align-items: flex-end;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.erp-warehouse-reserve-section__title,
.erp-warehouse-reserve-record__title {
    color: #21343d;
    font-size: 1.08rem;
    font-weight: 800;
    margin: 0;
}

.erp-warehouse-reserve-record {
    margin-bottom: 0.95rem;
    overflow: hidden;
}

.erp-warehouse-reserve-record:last-child {
    margin-bottom: 0;
}

.erp-warehouse-reserve-record__header,
.erp-warehouse-reserve-incoming-card__header,
.erp-warehouse-reserve-toolbar,
.erp-warehouse-reserve-associate-box {
    align-items: flex-start;
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    justify-content: space-between;
}

.erp-warehouse-reserve-toolbar,
.erp-warehouse-reserve-associate-box {
    margin-top: 1.15rem;
}

.erp-warehouse-reserve-record__header {
    background: linear-gradient(180deg, #f9fcfd 0%, #ffffff 100%);
    border-bottom: 1px solid #e3edf0;
    padding: 1rem 1.05rem;
}

.erp-warehouse-reserve-record--incoming .erp-warehouse-reserve-record__header {
    background: linear-gradient(180deg, #fbf9ff 0%, #ffffff 100%);
    border-bottom-color: #e9e1f4;
}

.erp-warehouse-reserve-record--incoming .erp-warehouse-reserve-record__eyebrow {
    color: #68559c;
}

.erp-warehouse-reserve-record__body,
.erp-warehouse-reserve-incoming-card {
    padding: 1rem 1.05rem;
}

.erp-warehouse-reserve-meta-grid {
    grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
}

.erp-warehouse-reserve-subsection {
    margin-top: 1rem;
}

.erp-warehouse-reserve-subsection__title,
.erp-warehouse-reserve-toolbar__label {
    color: #3b545d;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    margin-bottom: 0.35rem;
    text-transform: uppercase;
}

.erp-warehouse-reserve-toolbar__hint {
    color: #677b83;
    font-size: 0.9rem;
    margin: 0;
}

.erp-warehouse-reserve-chip,
.erp-warehouse-reserve-link {
    align-items: center;
    border-radius: 999px;
    display: inline-flex;
    font-size: 0.78rem;
    font-weight: 700;
    gap: 0.32rem;
    line-height: 1;
    min-height: 2.1rem;
    padding: 0.45rem 0.8rem;
    text-decoration: none;
    transition: transform 0.16s ease, box-shadow 0.16s ease, color 0.16s ease, background-color 0.16s ease;
    white-space: nowrap;
}

.erp-warehouse-reserve-chip strong,
.erp-warehouse-reserve-link strong {
    color: inherit;
    font-weight: 800;
}

.erp-warehouse-reserve-chip--stock {
    background: linear-gradient(180deg, #f3f8fa 0%, #eaf3f6 100%);
    border: 1px solid #d6e4ea;
    color: #315460;
}

.erp-warehouse-reserve-chip--reserved {
    background: linear-gradient(180deg, #fff2d3 0%, #ffe6ae 100%);
    border: 1px solid #efca63;
    color: #775500;
}

.erp-warehouse-reserve-chip--available {
    background: linear-gradient(180deg, #e4f7ec 0%, #d1f0df 100%);
    border: 1px solid #abd8be;
    box-shadow: 0 8px 16px rgba(23, 88, 58, 0.08);
    color: #17583a;
}

.erp-warehouse-reserve-chip--danger {
    background: linear-gradient(180deg, #fae6e8 0%, #f7d7db 100%);
    border: 1px solid #ebb0b7;
    color: #8b2435;
}

.erp-warehouse-reserve-chip--neutral {
    background: #f1f6f7;
    border: 1px solid #d7e5e9;
    color: #405b65;
}

.erp-warehouse-reserve-chip--active {
    background: linear-gradient(180deg, #e0f7ea 0%, #c7f0da 100%);
    border: 1px solid #96d5b5;
    color: #17613e;
}

.erp-warehouse-reserve-chip--customer-order {
    background: linear-gradient(180deg, #edf6ff 0%, #dceefe 100%);
    border: 1px solid #b8d9fb;
    color: #1f5f9f;
}

.erp-warehouse-reserve-link--supplier-order {
    background: linear-gradient(180deg, #5a38bf 0%, #492aa0 100%);
    border: 1px solid #4a2d9d;
    box-shadow: 0 10px 18px rgba(73, 42, 160, 0.18);
    color: #ffffff;
}

.erp-warehouse-reserve-link--supplier-order:hover,
.erp-warehouse-reserve-link--supplier-order:focus {
    color: #ffffff;
    transform: translateY(-1px);
}

.erp-warehouse-reserve-link--customer-order {
    background: linear-gradient(180deg, #edf6ff 0%, #dceefe 100%);
    border: 1px solid #b8d9fb;
    color: #1f5f9f;
}

.erp-warehouse-reserve-link--customer-order:hover,
.erp-warehouse-reserve-link--customer-order:focus {
    color: #174f88;
    transform: translateY(-1px);
}

.erp-warehouse-reserve-link--supplier {
    background: #ffefbe;
    border: 1px solid #ebcc68;
    color: #5c4700;
}

.erp-warehouse-reserve-link--supplier:hover,
.erp-warehouse-reserve-link--supplier:focus {
    color: #5c4700;
    transform: translateY(-1px);
}

.erp-warehouse-reserve-inline-action {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    justify-content: flex-end;
    max-width: 100%;
    width: min(24rem, 100%);
}

.erp-warehouse-reserve-input {
    background: #ffffff !important;
    border: 1px solid #cadce2 !important;
    border-radius: 0.85rem !important;
    box-shadow: none !important;
    flex: 0 0 6rem;
    max-width: 6rem;
    min-height: 2.5rem;
    text-align: right;
}

.erp-warehouse-reserve-button,
.erp-warehouse-associate-button {
    border: 0 !important;
    border-radius: 0.85rem !important;
    box-shadow: none !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    min-height: 2.5rem;
    padding-left: 0.95rem !important;
    padding-right: 0.95rem !important;
    white-space: nowrap;
}

.erp-warehouse-reserve-button {
    background: linear-gradient(180deg, #16a1b7 0%, #10879a 100%) !important;
}

.erp-warehouse-reserve-button:hover,
.erp-warehouse-reserve-button:focus {
    background: linear-gradient(180deg, #1297ab 0%, #0d7c8d 100%) !important;
}

.erp-warehouse-reserve-button--disabled {
    background: #f0f4f6 !important;
    border: 1px solid #d0dce2 !important;
    color: #8a9da6 !important;
    font-size: 0.78rem !important;
    font-weight: 600 !important;
    border-radius: 0.55rem !important;
    padding: 0.3rem 0.7rem !important;
    cursor: not-allowed !important;
}

/* "Show Reservation" — navigational link, not a call-to-action. Outlined
   soft-green so it reads as a "view" state, visually distinct from the
   filled teal "Reserve" button. */
.erp-warehouse-reserve-button--view,
.erp-warehouse-reserve-button.erp-warehouse-reserve-button--view {
    background: #edf7f1 !important;
    color: #247b52 !important;
    border: 1px solid #cfe6d9 !important;
    font-weight: 700 !important;
    border-radius: 0.6rem !important;
    min-height: 2.2rem;
    padding: 0.3rem 0.8rem !important;
    font-size: 0.78rem !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center;
    gap: 0.3rem;
}
.erp-warehouse-reserve-button--view:hover,
.erp-warehouse-reserve-button--view:focus {
    background: #dff0e6 !important;
    color: #1e6c47 !important;
    border-color: #b9dcc8 !important;
}

/* Softer WAREHOUSE / supplier pill on reservation sub-rows — amber tone
   (neutral "from-warehouse" marker) but lighter than Bootstrap's WARNING
   orange, so it matches the rest of the erp-* palette. Targets the
   .btn-warning class that Orchid's Color::WARNING() emits. */
.erp-co-cell--supplier .btn-warning,
.erp-co-cell--supplier a.btn-warning {
    background: #fdf4e0 !important;
    color: #8a6d1a !important;
    border: 1px solid #eedbab !important;
    font-weight: 700 !important;
    font-size: 0.78rem !important;
    border-radius: 0.6rem !important;
    text-decoration: none !important;
    padding: 0.3rem 0.7rem !important;
    box-shadow: none !important;
}
.erp-co-cell--supplier .btn-warning:hover,
.erp-co-cell--supplier a.btn-warning:hover {
    background: #f7e9c5 !important;
    color: #70560f !important;
}

.erp-warehouse-associate-button {
    background: linear-gradient(180deg, #5a38bf 0%, #492aa0 100%) !important;
}

.erp-warehouse-associate-button:hover,
.erp-warehouse-associate-button:focus {
    background: linear-gradient(180deg, #522fb7 0%, #3f238f 100%) !important;
}

.erp-warehouse-associate-button.erp-warehouse-reserve-button--disabled,
.erp-warehouse-associate-button.erp-warehouse-reserve-button--disabled:hover,
.erp-warehouse-associate-button.erp-warehouse-reserve-button--disabled:focus {
    background: #c7d8de !important;
    color: #60747d !important;
}

.erp-warehouse-reserve-allocation-item {
    align-items: center;
    background: #f9fbfc;
    border: 1px solid #e5eef1;
    border-radius: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    padding: 0.65rem 0.75rem;
}

.erp-warehouse-reserve-allocation-pn {
    color: #5f7077;
    font-size: 0.84rem;
    font-weight: 600;
    max-width: 18rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.erp-warehouse-reserve-empty {
    background: #f8fbfc;
    border: 1px dashed #c7dbe1;
    border-radius: 1rem;
    color: #60747d;
    padding: 1rem 1.1rem;
}

.erp-warehouse-reserve-empty--soft {
    background: #fbfcfd;
}

.erp-warehouse-reserve-pagination {
    margin-top: 0.9rem;
}

@media (max-width: 992px) {
    .erp-warehouse-modal-header__subtitle {
        max-width: none;
    }

    .erp-warehouse-reserve-summary__hero,
    .erp-warehouse-reserve-record__header,
    .erp-warehouse-reserve-incoming-card__header,
    .erp-warehouse-reserve-toolbar,
    .erp-warehouse-reserve-associate-box {
        flex-direction: column;
    }

    .erp-warehouse-reserve-inline-action {
        justify-content: flex-start;
        width: 100%;
    }

    .erp-warehouse-reserve-input {
        flex-basis: 100%;
        max-width: none;
    }
}

.erp-resizable-columns thead th {
    position: relative;
}

.erp-column-resize-handle {
    position: absolute;
    top: 0;
    right: -0.4rem;
    z-index: 4;
    width: 0.8rem;
    height: 100%;
    cursor: col-resize;
    touch-action: none;
}

.erp-resizable-columns thead th:last-child > .erp-column-resize-handle {
    right: 0;
    width: 0.55rem;
}

.erp-column-resize-handle::after {
    content: "";
    position: absolute;
    top: 0.45rem;
    bottom: 0.45rem;
    left: 50%;
    width: 2px;
    transform: translateX(-50%);
    border-radius: 999px;
    background: rgba(20, 140, 159, 0.18);
    transition: background-color 0.15s ease;
}

.erp-resizable-columns thead th:hover > .erp-column-resize-handle::after,
.erp-column-resize-handle:hover::after,
.erp-column-resize-handle:focus-visible::after {
    background: rgba(20, 140, 159, 0.5);
}

body.erp-column-resize-active,
body.erp-column-resize-active * {
    cursor: col-resize !important;
    user-select: none !important;
}

body.page-platform-order-list .table-responsive,
body.page-platform-pnorder-list .table-responsive,
body.page-platform-pnlist-list .table-responsive,
body.page-platform-customerorder-list .table-responsive,
body.page-platform-supplierorder-list .table-responsive,
body.page-platform-testsupplierorder-list .table-responsive,
body.page-platform-componenttest-list .table-responsive,
body.page-platform-pnprofile-list .table-responsive,
body.page-platform-supplierpnincoming-list .table-responsive,
body.page-platform-supplierpnincoming-filterorder .table-responsive,
body.page-platform-supplierpnincoming-prova .table-responsive,
body.page-platform-customerorderoutgoing-list .table-responsive,
body.page-platform-deletedpartnumbersfromorders-list .table-responsive {
    overflow-x: auto;
}

body.page-platform-order-list .table-responsive > .table.erp-resizable-columns,
body.page-platform-pnorder-list .table-responsive > .table.erp-resizable-columns,
body.page-platform-pnlist-list .table-responsive > .table.erp-resizable-columns,
body.page-platform-customerorder-list .table-responsive > .table.erp-resizable-columns,
body.page-platform-supplierorder-list .table-responsive > .table.erp-resizable-columns,
body.page-platform-testsupplierorder-list .table-responsive > .table.erp-resizable-columns,
body.page-platform-componenttest-list .table-responsive > .table.erp-resizable-columns,
body.page-platform-pnprofile-list .table-responsive > .table.erp-resizable-columns,
body.page-platform-supplierpnincoming-list .table-responsive > .table.erp-resizable-columns,
body.page-platform-supplierpnincoming-filterorder .table-responsive > .table.erp-resizable-columns,
body.page-platform-supplierpnincoming-prova .table-responsive > .table.erp-resizable-columns,
body.page-platform-customerorderoutgoing-list .table-responsive > .table.erp-resizable-columns,
body.page-platform-deletedpartnumbersfromorders-list .table-responsive > .table.erp-resizable-columns {
    min-width: 100% !important;
    width: max-content !important;
}

body.page-platform-customerorderoutgoing-card .container-md {
    max-width: 100% !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
}

body.page-platform-customerorderoutgoing-card .screen-actions {
    margin-bottom: 1rem;
}

body.page-platform-customerorderoutgoing-card .erp-outgoing-status-pill {
    align-items: center;
    border: 0;
    border-radius: 999px !important;
    box-shadow: none;
    color: #ffffff !important;
    cursor: default;
    display: inline-flex !important;
    font-size: 0.78rem;
    font-weight: 800 !important;
    letter-spacing: 0.04em;
    min-height: 2.6rem;
    opacity: 1 !important;
    padding: 0.55rem 0.95rem !important;
    text-transform: uppercase;
}

body.page-platform-customerorderoutgoing-card .erp-outgoing-status-pill--warning {
    background: linear-gradient(180deg, #f0ad4e 0%, #d99632 100%) !important;
}

body.page-platform-customerorderoutgoing-card .erp-outgoing-status-pill--success {
    background: linear-gradient(180deg, #3dbb7a 0%, #26965c 100%) !important;
}

body.page-platform-customerorderoutgoing-card .erp-outgoing-status-action {
    background: linear-gradient(180deg, #16a1b7 0%, #10879a 100%) !important;
    border: 1px solid #0f8da0 !important;
    border-radius: 999px !important;
    box-shadow: 0 10px 22px rgba(28, 76, 92, 0.14);
    color: #ffffff !important;
    font-weight: 800 !important;
    min-height: 2.6rem;
    padding: 0.55rem 0.95rem !important;
}

body.page-platform-customerorderoutgoing-card .erp-outgoing-detail-summary {
    background:
        radial-gradient(circle at top right, rgba(22, 161, 183, 0.14), transparent 26%),
        linear-gradient(135deg, #fffaf6 0%, #ffffff 58%, #eef8fa 100%);
    border: 1px solid #ddebee;
    border-radius: 1.2rem;
    box-shadow: 0 16px 32px rgba(28, 76, 92, 0.08);
    margin: 0 0 1rem;
    padding: 1.25rem;
}

body.page-platform-customerorderoutgoing-card .erp-outgoing-detail-summary__hero {
    align-items: flex-start;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-bottom: 1rem;
}

body.page-platform-customerorderoutgoing-card .erp-outgoing-detail-summary__eyebrow {
    color: #6e848c;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin: 0 0 0.35rem;
    text-transform: uppercase;
}

body.page-platform-customerorderoutgoing-card .erp-outgoing-detail-summary__title {
    color: #1f3942;
    font-size: 1.9rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin: 0;
}

body.page-platform-customerorderoutgoing-card .erp-outgoing-detail-summary__subtitle {
    color: #6c7f85;
    margin: 0.35rem 0 0;
}

body.page-platform-customerorderoutgoing-card .erp-outgoing-detail-summary__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 0.85rem;
}

body.page-platform-customerorderoutgoing-card .erp-status-pill {
    border-radius: 999px;
    display: inline-flex;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    padding: 0.5rem 0.8rem;
    text-transform: uppercase;
}

body.page-platform-customerorderoutgoing-card .erp-status-pill--warning {
    background: #fff0d6;
    border: 1px solid #f3c57d;
    color: #8f5d10;
}

body.page-platform-customerorderoutgoing-card .erp-status-pill--success {
    background: #dff5e9;
    border: 1px solid #afdcc2;
    color: #196240;
}

body.page-platform-customerorderoutgoing-card .erp-status-pill--neutral {
    background: #eaf6f8;
    border: 1px solid #c6e3e9;
    color: #25606f;
}

body.page-platform-customerorderoutgoing-card .erp-outgoing-detail-summary__metrics,
body.page-platform-customerorderoutgoing-card .erp-outgoing-detail-summary__grid {
    display: grid;
    gap: 0.85rem;
}

body.page-platform-customerorderoutgoing-card .erp-outgoing-detail-summary__metrics {
    grid-template-columns: repeat(4, minmax(8rem, 1fr));
    min-width: min(100%, 32rem);
}

body.page-platform-customerorderoutgoing-card .erp-summary-metric,
body.page-platform-customerorderoutgoing-card .erp-summary-card {
    background: #ffffff;
    border: 1px solid #ddebee;
    border-radius: 1rem;
    box-shadow: 0 12px 28px rgba(28, 76, 92, 0.05);
    padding: 0.95rem 1rem;
}

body.page-platform-customerorderoutgoing-card .erp-summary-metric span,
body.page-platform-customerorderoutgoing-card .erp-summary-card__label {
    color: #6e848c;
    display: block;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    margin-bottom: 0.32rem;
    text-transform: uppercase;
}

body.page-platform-customerorderoutgoing-card .erp-summary-metric strong {
    color: #1f3942;
    display: block;
    font-size: 1.18rem;
    font-weight: 800;
}

body.page-platform-customerorderoutgoing-card .erp-outgoing-detail-summary__grid {
    grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
}

body.page-platform-customerorderoutgoing-card .erp-summary-card__value,
body.page-platform-customerorderoutgoing-card .erp-summary-card__link {
    color: #274751;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
}

body.page-platform-customerorderoutgoing-card .erp-summary-card__link:hover {
    color: #10879a;
}

body.page-platform-customerorderoutgoing-card .erp-section-heading {
    margin: 1rem 0 0.8rem;
}

body.page-platform-customerorderoutgoing-card .erp-section-heading__eyebrow {
    color: #6e848c;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin: 0 0 0.3rem;
    text-transform: uppercase;
}

body.page-platform-customerorderoutgoing-card .erp-section-heading__title {
    color: #1f3942;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0;
}

body.page-platform-customerorderoutgoing-card .erp-section-heading__description {
    color: #6c7f85;
    margin: 0.35rem 0 0;
    max-width: 58rem;
}

body.page-platform-customerorderoutgoing-card .erp-outgoing-detail-panels {
    display: grid;
    gap: 1rem;
    margin-bottom: 1rem;
}

body.page-platform-customerorderoutgoing-card .erp-outgoing-detail-panels__split {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.page-platform-customerorderoutgoing-card .erp-outgoing-detail-panel {
    background: #ffffff;
    border: 1px solid #ddebee;
    border-radius: 1rem;
    box-shadow: 0 12px 28px rgba(28, 76, 92, 0.05);
    padding: 1rem 1.05rem;
}

body.page-platform-customerorderoutgoing-card .erp-outgoing-detail-panel--primary {
    background: linear-gradient(135deg, #fbfeff 0%, #ffffff 54%, #f1fbfc 100%);
}

body.page-platform-customerorderoutgoing-card .erp-outgoing-detail-panel__header {
    margin-bottom: 0.9rem;
}

body.page-platform-customerorderoutgoing-card .erp-outgoing-detail-panel__eyebrow {
    color: #6e848c;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin: 0 0 0.25rem;
    text-transform: uppercase;
}

body.page-platform-customerorderoutgoing-card .erp-outgoing-detail-panel__title {
    color: #1f3942;
    font-size: 1.08rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0;
}

body.page-platform-customerorderoutgoing-card .erp-outgoing-detail-dense-grid {
    display: grid;
    gap: 0.8rem;
    grid-template-columns: repeat(7, minmax(0, 1fr));
}

body.page-platform-customerorderoutgoing-card .erp-outgoing-detail-dense-grid--compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.page-platform-customerorderoutgoing-card .erp-outgoing-detail-dense-item {
    background: #fbfdfe;
    border: 1px solid #e3eef1;
    border-radius: 0.95rem;
    display: flex;
    flex-direction: column;
    gap: 0.32rem;
    min-height: 5.25rem;
    padding: 0.85rem 0.9rem;
}

body.page-platform-customerorderoutgoing-card .erp-outgoing-detail-dense-item--full {
    grid-column: 1 / -1;
    min-height: 0;
}

body.page-platform-customerorderoutgoing-card .erp-outgoing-detail-dense-item__label {
    color: #6e848c;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

body.page-platform-customerorderoutgoing-card .erp-outgoing-detail-dense-item__value {
    color: #1f3942;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.25;
}

body.page-platform-customerorderoutgoing-card .erp-outgoing-detail-dense-item__note {
    color: #274751;
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.45;
    white-space: pre-wrap;
}

body.page-platform-customerorderoutgoing-card fieldset[data-async] > .col > legend,
body.page-platform-customerorderoutgoing-card fieldset > .col > legend {
    color: #2b5a68 !important;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin-bottom: 0.6rem;
    text-transform: uppercase;
}

body.page-platform-customerorderoutgoing-card fieldset[data-async] > .bg-white.rounded.shadow-sm,
body.page-platform-customerorderoutgoing-card fieldset > .bg-white.rounded.shadow-sm {
    border: 1px solid #ddebee;
    border-radius: 1rem !important;
    box-shadow: 0 12px 28px rgba(28, 76, 92, 0.05) !important;
    padding: 1rem 1.1rem !important;
}

body.page-platform-customerorderoutgoing-card fieldset .d2-grid {
    align-items: flex-start;
    gap: 1rem;
    grid-template-columns: minmax(11rem, 13rem) minmax(0, 1fr);
}

body.page-platform-customerorderoutgoing-card fieldset dt {
    color: #6e848c !important;
    font-size: 0.76rem;
    font-weight: 800 !important;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

body.page-platform-customerorderoutgoing-card fieldset dd {
    color: #223d46 !important;
    font-size: 0.96rem;
    font-weight: 700;
    margin: 0;
}

body.page-platform-customerorderoutgoing-card .erp-outgoing-detail-link {
    align-items: center;
    border-radius: 999px !important;
    box-shadow: 0 10px 22px rgba(28, 76, 92, 0.08);
    display: inline-flex !important;
    font-size: 0.82rem;
    font-weight: 700 !important;
    gap: 0.45rem;
    justify-content: center;
    min-height: 2.2rem;
    min-width: 11rem;
    padding: 0.55rem 0.9rem !important;
    text-decoration: none !important;
    width: fit-content !important;
}

body.page-platform-customerorderoutgoing-card .erp-outgoing-detail-link--primary {
    background: linear-gradient(180deg, #16a1b7 0%, #10879a 100%) !important;
    border: 1px solid #0f8da0 !important;
    color: #ffffff !important;
}

body.page-platform-customerorderoutgoing-card .erp-outgoing-detail-link--secondary {
    background: linear-gradient(180deg, #7b59e6 0%, #6648c9 100%) !important;
    border: 1px solid #684acb !important;
    color: #ffffff !important;
}

body.page-platform-customerorderoutgoing-card .erp-outgoing-detail-link--action {
    background: linear-gradient(180deg, #16a1b7 0%, #10879a 100%) !important;
    border: 1px solid #0f8da0 !important;
    color: #ffffff !important;
}

body.page-platform-customerorderoutgoing-card .erp-outgoing-warehouse-table {
    background: #ffffff;
    border: 1px solid #ddebee;
    border-radius: 1rem;
    box-shadow: 0 12px 28px rgba(28, 76, 92, 0.05);
    overflow: auto;
    padding: 0.3rem;
}

body.page-platform-customerorderoutgoing-card .erp-outgoing-warehouse-table .table {
    margin-bottom: 0;
}

body.page-platform-customerorderoutgoing-card .erp-outgoing-warehouse-table .table thead th {
    background: #f7fbfc;
    border-bottom-width: 1px;
    color: #6e848c;
    font-size: 0.77rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    white-space: nowrap;
}

body.page-platform-customerorderoutgoing-card .erp-outgoing-warehouse-table .table td,
body.page-platform-customerorderoutgoing-card .erp-outgoing-warehouse-table .table th {
    padding: 0.8rem 0.7rem;
    vertical-align: middle;
}

body.page-platform-customerorderoutgoing-card .erp-outgoing-warehouse-table__row--linked {
    background: #faf1ff;
}

body.page-platform-customerorderoutgoing-card .erp-outgoing-warehouse-table__id-link {
    color: #492aa0;
    font-weight: 700;
    text-decoration: none;
}

body.page-platform-customerorderoutgoing-card .erp-outgoing-stock-pill,
body.page-platform-customerorderoutgoing-card .erp-outgoing-inline-status {
    border-radius: 999px;
    display: inline-flex;
    font-size: 0.76rem;
    font-weight: 800;
    padding: 0.32rem 0.7rem;
}

body.page-platform-customerorderoutgoing-card .erp-outgoing-stock-pill--positive {
    background: #dff5e9;
    border: 1px solid #afdcc2;
    color: #196240;
}

body.page-platform-customerorderoutgoing-card .erp-outgoing-stock-pill--danger {
    background: #ffe7e7;
    border: 1px solid #efbbbb;
    color: #a02a2a;
}

body.page-platform-customerorderoutgoing-card .erp-outgoing-inline-status--primary {
    background: #eaf6f8;
    border: 1px solid #c6e3e9;
    color: #23606f;
}

body.page-platform-customerorderoutgoing-card .erp-outgoing-inline-status--danger {
    background: #ffe7e7;
    border: 1px solid #efbbbb;
    color: #a02a2a;
}

body.page-platform-customerorderoutgoing-card .erp-outgoing-inline-status--muted {
    background: #f2f5f6;
    border: 1px solid #dde6e9;
    color: #6d7f85;
}

body.page-platform-customerorderoutgoing-card .erp-outgoing-warehouse-table__qty {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

body.page-platform-customerorderoutgoing-card .erp-outgoing-warehouse-table__qty-input {
    background: #fffdfb;
    border: 1px solid #d7e6ea;
    border-radius: 0.85rem;
    min-height: 2.5rem;
    padding: 0.45rem 0.65rem;
    width: 6rem;
}

body.page-platform-customerorderoutgoing-card .erp-outgoing-warehouse-table__qty-meta {
    color: #6e848c;
    font-size: 0.77rem;
}

body.page-platform-customerorderoutgoing-card .erp-outgoing-warehouse-table__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

body.page-platform-customerorderoutgoing-card .erp-outgoing-warehouse-action {
    align-items: center;
    border-radius: 999px;
    display: inline-flex;
    font-size: 0.8rem;
    font-weight: 700;
    justify-content: center;
    min-height: 2.4rem;
    padding: 0.55rem 0.9rem;
    text-decoration: none;
}

body.page-platform-customerorderoutgoing-card .erp-outgoing-warehouse-action--primary {
    background: linear-gradient(180deg, #dc0067 0%, #b30057 100%);
    border: 1px solid #bf1565;
    color: #ffffff;
}

body.page-platform-customerorderoutgoing-card .erp-outgoing-warehouse-action--secondary {
    background: #eef7f9;
    border: 1px solid #cfe2e7;
    color: #1f5d6b;
}

body.page-platform-customerorderoutgoing-card .table-responsive {
    background: #ffffff;
    border: 1px solid #ddebee;
    border-radius: 1rem;
    box-shadow: 0 12px 28px rgba(28, 76, 92, 0.05);
    overflow-x: hidden;
    overflow-y: visible;
}

body.page-platform-customerorderoutgoing-card .table-responsive > .table {
    margin-bottom: 0;
    min-width: 100%;
    table-layout: auto;
    width: 100% !important;
}

body.page-platform-customerorderoutgoing-card .table-responsive > .table thead th {
    background: #f7fbfc;
    border-bottom-width: 1px;
    color: #6e848c;
    font-size: 0.77rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

body.page-platform-customerorderoutgoing-card .table-responsive > .table tbody tr:hover {
    background: #fbfdfe;
}

body.page-platform-customerorderoutgoing-card .table-responsive > .table .btn,
body.page-platform-customerorderoutgoing-card .table-responsive > .table a.btn,
body.page-platform-customerorderoutgoing-card .table-responsive > .table .dropdown-item {
    white-space: nowrap;
}

@media (max-width: 992px) {
    body.page-platform-customerorderoutgoing-card .erp-outgoing-detail-summary__hero {
        flex-direction: column;
    }

    body.page-platform-customerorderoutgoing-card .erp-outgoing-detail-summary__metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        min-width: 100%;
        width: 100%;
    }

    body.page-platform-customerorderoutgoing-card fieldset .d2-grid {
        grid-template-columns: 1fr;
        gap: 0.4rem;
    }

    body.page-platform-customerorderoutgoing-card .erp-outgoing-detail-panels__split,
    body.page-platform-customerorderoutgoing-card .erp-outgoing-detail-dense-grid,
    body.page-platform-customerorderoutgoing-card .erp-outgoing-detail-dense-grid--compact {
        grid-template-columns: 1fr;
    }
}

body.page-platform-componenttest-list .erp-offer-summary {
    background: linear-gradient(135deg, #f8fcfd 0%, #eef7f7 100%);
    border: 1px solid #d9e9ea;
    border-radius: 1.25rem;
    box-shadow: 0 16px 40px rgba(34, 87, 95, 0.08);
    margin-bottom: 1rem;
    padding: 1rem;
}

body.page-platform-componenttest-list .erp-offer-summary__hero {
    align-items: flex-start;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-between;
    margin-bottom: 1rem;
}

body.page-platform-componenttest-list .erp-offer-summary__eyebrow {
    color: #2a7983;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin: 0 0 0.35rem;
    text-transform: uppercase;
}

body.page-platform-componenttest-list .erp-offer-summary__title {
    color: #1e3840;
    font-size: 1.9rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin: 0;
}

body.page-platform-componenttest-list .erp-offer-summary__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 0.85rem;
}

body.page-platform-componenttest-list .erp-status-pill {
    border-radius: 999px;
    display: inline-flex;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    padding: 0.52rem 0.85rem;
    text-transform: uppercase;
}

body.page-platform-componenttest-list .erp-status-pill--warning {
    background: #fff1cf;
    border: 1px solid #f3d178;
    color: #7b5b00;
}

body.page-platform-componenttest-list .erp-status-pill--neutral {
    background: #edf5f6;
    border: 1px solid #cfe0e2;
    color: #47646c;
}

body.page-platform-componenttest-list .erp-offer-summary__metrics,
body.page-platform-componenttest-list .erp-offer-summary__grid {
    display: grid;
    gap: 0.85rem;
}

body.page-platform-componenttest-list .erp-offer-summary__metrics {
    grid-template-columns: repeat(4, minmax(8.5rem, 1fr));
    min-width: min(100%, 32rem);
}

body.page-platform-componenttest-list .erp-summary-metric,
body.page-platform-componenttest-list .erp-summary-card {
    background: #ffffff;
    border: 1px solid #dcebed;
    border-radius: 1rem;
    box-shadow: 0 12px 28px rgba(28, 76, 92, 0.05);
    padding: 0.95rem 1rem;
}

body.page-platform-componenttest-list .erp-summary-metric span,
body.page-platform-componenttest-list .erp-summary-card__label {
    color: #678188;
    display: block;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    margin-bottom: 0.3rem;
    text-transform: uppercase;
}

body.page-platform-componenttest-list .erp-summary-metric strong,
body.page-platform-componenttest-list .erp-summary-card__value {
    color: #224049;
    display: block;
    font-size: 1.02rem;
    font-weight: 800;
}

body.page-platform-componenttest-list .erp-offer-summary__grid {
    grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
}

body.page-platform-componenttest-list .table-responsive {
    background: #ffffff;
    border: 1px solid #dcebed;
    border-radius: 1rem;
    box-shadow: 0 12px 28px rgba(28, 76, 92, 0.05);
    overflow-x: hidden;
    overflow-y: visible;
}

body.page-platform-componenttest-list .table-responsive > .table {
    margin-bottom: 0;
    min-width: 100%;
    table-layout: auto;
    width: 100% !important;
}

body.page-platform-componenttest-list .table-responsive > .table thead th {
    background: #f7fbfc;
    border-bottom-width: 1px;
    color: #69828a;
    font-size: 0.77rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    white-space: nowrap;
}

body.page-platform-componenttest-list .table-responsive > .table tbody tr:hover {
    background: #fbfdfe;
}

body.page-platform-componenttest-list .erp-componenttest-cell {
    display: grid;
    gap: 0.25rem;
}

body.page-platform-componenttest-list .erp-componenttest-cell__title {
    color: #1f3740;
    font-size: 0.96rem;
    font-weight: 800;
}

body.page-platform-componenttest-list .erp-componenttest-cell__meta {
    color: #637c84;
    font-size: 0.82rem;
    line-height: 1.45;
}

body.page-platform-componenttest-list .erp-componenttest-value {
    color: #27424b;
    font-size: 0.95rem;
    font-weight: 800;
}

body.page-platform-componenttest-list .erp-componenttest-value--danger {
    color: #c83131;
}

body.page-platform-componenttest-list .erp-componenttest-link {
    align-items: center !important;
    border-radius: 999px !important;
    box-shadow: 0 10px 20px rgba(28, 76, 92, 0.08);
    display: inline-flex !important;
    font-size: 0.8rem !important;
    font-weight: 800 !important;
    justify-content: center;
    min-height: 2.1rem;
    min-width: 11rem;
    padding: 0.65rem 0.9rem !important;
    text-transform: uppercase;
    width: fit-content !important;
}

body.page-platform-componenttest-list .erp-componenttest-link--supplier {
    background: linear-gradient(180deg, #6e4be0 0%, #5532c8 100%) !important;
    border: 0 !important;
    color: #ffffff !important;
}

body.page-platform-componenttest-list .erp-componenttest-link--customer {
    background: #e8f2ff !important;
    border: 1px solid #bbd5ff !important;
    color: #1b63b8 !important;
}

body.page-platform-componenttest-list .erp-componenttest-empty {
    color: #8a5c5c;
    font-size: 0.85rem;
    font-weight: 700;
}

@media (max-width: 1199.98px) {
    body.page-platform-componenttest-list .erp-offer-summary__metrics {
        grid-template-columns: repeat(2, minmax(8rem, 1fr));
        min-width: 100%;
    }
}

body.page-platform-deletedpartnumbersfromorders-list .erp-offer-summary {
    background: linear-gradient(135deg, #fffaf8 0%, #fff2eb 100%);
    border: 1px solid #f1ddd3;
    border-radius: 1.2rem;
    box-shadow: 0 14px 30px rgba(166, 92, 54, 0.08);
    margin: 0 0 1rem;
    padding: 1.25rem;
}

body.page-platform-deletedpartnumbersfromorders-list .erp-offer-summary__hero {
    align-items: flex-start;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-bottom: 1rem;
}

body.page-platform-deletedpartnumbersfromorders-list .erp-offer-summary__eyebrow {
    color: #9b684f;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin: 0 0 0.35rem;
    text-transform: uppercase;
}

body.page-platform-deletedpartnumbersfromorders-list .erp-offer-summary__title {
    color: #5b2f1e;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0;
}

body.page-platform-deletedpartnumbersfromorders-list .erp-offer-summary__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 0.85rem;
}

body.page-platform-deletedpartnumbersfromorders-list .erp-status-pill {
    border-radius: 999px;
    display: inline-flex;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    padding: 0.52rem 0.85rem;
    text-transform: uppercase;
}

body.page-platform-deletedpartnumbersfromorders-list .erp-status-pill--warning {
    background: #fff1cf;
    border: 1px solid #f3d178;
    color: #7b5b00;
}

body.page-platform-deletedpartnumbersfromorders-list .erp-status-pill--success {
    background: #dff5e9;
    border: 1px solid #afdcc2;
    color: #196240;
}

body.page-platform-deletedpartnumbersfromorders-list .erp-offer-summary__metrics,
body.page-platform-deletedpartnumbersfromorders-list .erp-offer-summary__grid {
    display: grid;
    gap: 0.85rem;
}

body.page-platform-deletedpartnumbersfromorders-list .erp-offer-summary__metrics {
    grid-template-columns: repeat(4, minmax(8.5rem, 1fr));
    min-width: min(100%, 32rem);
}

body.page-platform-deletedpartnumbersfromorders-list .erp-summary-metric,
body.page-platform-deletedpartnumbersfromorders-list .erp-summary-card {
    background: #ffffff;
    border: 1px solid #f1ddd3;
    border-radius: 1rem;
    box-shadow: 0 12px 28px rgba(166, 92, 54, 0.05);
    padding: 0.95rem 1rem;
}

body.page-platform-deletedpartnumbersfromorders-list .erp-summary-metric span,
body.page-platform-deletedpartnumbersfromorders-list .erp-summary-card__label {
    color: #967361;
    display: block;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    margin-bottom: 0.3rem;
    text-transform: uppercase;
}

body.page-platform-deletedpartnumbersfromorders-list .erp-summary-metric strong,
body.page-platform-deletedpartnumbersfromorders-list .erp-summary-card__value {
    color: #5b2f1e;
    display: block;
    font-size: 1.08rem;
    font-weight: 800;
}

body.page-platform-deletedpartnumbersfromorders-list .erp-offer-summary__grid {
    grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
}

body.page-platform-deletedpartnumbersfromorders-list .table-responsive {
    background: #ffffff;
    border: 1px solid #f1ddd3;
    border-radius: 1rem;
    box-shadow: 0 12px 28px rgba(166, 92, 54, 0.05);
    overflow-x: hidden;
    overflow-y: visible;
}

body.page-platform-deletedpartnumbersfromorders-list .table-responsive > .table {
    margin-bottom: 0;
    min-width: 100%;
    table-layout: auto;
    width: 100% !important;
}

body.page-platform-deletedpartnumbersfromorders-list .table-responsive > .table thead th {
    background: #fffaf8;
    border-bottom-width: 1px;
    color: #967361;
    font-size: 0.77rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    white-space: nowrap;
}

body.page-platform-deletedpartnumbersfromorders-list .table-responsive > .table tbody tr:hover {
    background: #fffdfc;
}

body.page-platform-deletedpartnumbersfromorders-list .erp-deletedpn-main-value {
    color: #3f2a22;
    font-size: 0.95rem;
    font-weight: 800;
}

body.page-platform-deletedpartnumbersfromorders-list .erp-deletedpn-text {
    color: #6f5a50;
    font-size: 0.88rem;
}

body.page-platform-deletedpartnumbersfromorders-list .erp-deletedpn-link {
    align-items: center !important;
    border-radius: 999px !important;
    display: inline-flex !important;
    font-size: 0.8rem !important;
    font-weight: 800 !important;
    justify-content: center;
    min-height: 2.1rem;
    min-width: 8rem;
    padding: 0.6rem 0.95rem !important;
    width: fit-content !important;
}

body.page-platform-deletedpartnumbersfromorders-list .erp-deletedpn-link--supplier {
    background: #efe8ff !important;
    border: 1px solid #cbb8f8 !important;
    color: #5a35c5 !important;
}

body.page-platform-deletedpartnumbersfromorders-list .erp-deletedpn-link--customer {
    background: #eaf3ff !important;
    border: 1px solid #b4cef9 !important;
    color: #1f66c7 !important;
}

body.page-platform-deletedpartnumbersfromorders-list .erp-deletedpn-empty {
    color: #a45b5b;
    font-size: 0.84rem;
    font-weight: 700;
}

@media (max-width: 1199.98px) {
    body.page-platform-deletedpartnumbersfromorders-list .erp-offer-summary__metrics {
        grid-template-columns: repeat(2, minmax(8rem, 1fr));
        min-width: 100%;
    }
}

/*
 * Unified clickable pill shape used across ERP tables and dense cards.
 * Color and gradients stay variant-driven so primary pills can keep their original palette.
 */
body[class*="page-platform-"] {
    --erp-primary-pill-start: #1e8fff;
    --erp-primary-pill-end: #1768da;
    --erp-primary-pill-border: #1b77ea;
    --erp-primary-pill-text: #ffffff;
    --erp-primary-pill-text-shadow: 0 1px 0 rgba(16, 51, 109, 0.18);
    --erp-primary-pill-hover-start: #3aa0ff;
    --erp-primary-pill-hover-end: #1f76e4;
    --erp-primary-pill-hover-border: #1c73de;
    --erp-top-actions-shell-glow: rgba(64, 142, 186, 0.08);
    --erp-top-actions-shell-start: #f7fbfd;
    --erp-top-actions-shell-mid: #ffffff;
    --erp-top-actions-shell-end: #eef5f8;
    --erp-top-actions-shell-border: #dbe7ee;
    --erp-top-actions-shell-shadow: rgba(35, 55, 74, 0.07);
}

body.page-platform-order-list,
body.page-platform-pnorder-list,
body.page-platform-order-edit,
body.page-platform-pnorder-edit {
    --erp-primary-pill-start: #efb05a;
    --erp-primary-pill-end: #d68632;
    --erp-primary-pill-border: #dd933f;
    --erp-primary-pill-text: #5e390d;
    --erp-primary-pill-text-shadow: none;
    --erp-primary-pill-hover-start: #f3bc74;
    --erp-primary-pill-hover-end: #de9344;
    --erp-primary-pill-hover-border: #dd933f;
    --erp-top-actions-shell-glow: rgba(221, 147, 63, 0.14);
    --erp-top-actions-shell-start: #fff8f1;
    --erp-top-actions-shell-mid: #fffdf9;
    --erp-top-actions-shell-end: #f7eadc;
    --erp-top-actions-shell-border: #efdcca;
    --erp-top-actions-shell-shadow: rgba(133, 91, 37, 0.09);
}

body.page-platform-company-edit {
    --erp-primary-pill-start: #4f7fa9;
    --erp-primary-pill-end: #3d6a93;
    --erp-primary-pill-border: #45739c;
    --erp-primary-pill-text: #ffffff;
    --erp-primary-pill-text-shadow: 0 1px 0 rgba(32, 55, 78, 0.18);
    --erp-primary-pill-hover-start: #5f8fb9;
    --erp-primary-pill-hover-end: #47759f;
    --erp-primary-pill-hover-border: #45739c;
    --erp-top-actions-shell-glow: rgba(69, 115, 156, 0.12);
    --erp-top-actions-shell-start: #f5f9fd;
    --erp-top-actions-shell-mid: #ffffff;
    --erp-top-actions-shell-end: #e7eff8;
    --erp-top-actions-shell-border: #d7e3ef;
    --erp-top-actions-shell-shadow: rgba(50, 84, 118, 0.08);
}

body.page-platform-maincompany-edit {
    --erp-primary-pill-start: #2f8f86;
    --erp-primary-pill-end: #23766f;
    --erp-primary-pill-border: #277f77;
    --erp-primary-pill-text: #ffffff;
    --erp-primary-pill-text-shadow: 0 1px 0 rgba(21, 73, 68, 0.18);
    --erp-primary-pill-hover-start: #3ca197;
    --erp-primary-pill-hover-end: #2b8179;
    --erp-primary-pill-hover-border: #277f77;
    --erp-top-actions-shell-glow: rgba(39, 127, 119, 0.12);
    --erp-top-actions-shell-start: #f4fbfa;
    --erp-top-actions-shell-mid: #ffffff;
    --erp-top-actions-shell-end: #e2f3f0;
    --erp-top-actions-shell-border: #d3e8e2;
    --erp-top-actions-shell-shadow: rgba(33, 88, 83, 0.08);
}

body.page-platform-company-card {
    --erp-primary-pill-start: #4f7fa9;
    --erp-primary-pill-end: #3d6a93;
    --erp-primary-pill-border: #45739c;
    --erp-primary-pill-text: #ffffff;
    --erp-primary-pill-text-shadow: 0 1px 0 rgba(32, 55, 78, 0.18);
    --erp-primary-pill-hover-start: #5f8fb9;
    --erp-primary-pill-hover-end: #47759f;
    --erp-primary-pill-hover-border: #45739c;
    --erp-top-actions-shell-glow: rgba(69, 115, 156, 0.12);
    --erp-top-actions-shell-start: #f5f9fd;
    --erp-top-actions-shell-mid: #ffffff;
    --erp-top-actions-shell-end: #e7eff8;
    --erp-top-actions-shell-border: #d7e3ef;
    --erp-top-actions-shell-shadow: rgba(50, 84, 118, 0.08);
}

body.page-platform-supplier-edit,
body.page-platform-supplier-card {
    --erp-primary-pill-start: #c79a3a;
    --erp-primary-pill-end: #ac7f23;
    --erp-primary-pill-border: #b7892b;
    --erp-primary-pill-text: #ffffff;
    --erp-primary-pill-text-shadow: 0 1px 0 rgba(82, 58, 14, 0.18);
    --erp-primary-pill-hover-start: #d0a84b;
    --erp-primary-pill-hover-end: #b8892f;
    --erp-primary-pill-hover-border: #b7892b;
    --erp-top-actions-shell-glow: rgba(183, 137, 43, 0.12);
    --erp-top-actions-shell-start: #fcf8ef;
    --erp-top-actions-shell-mid: #ffffff;
    --erp-top-actions-shell-end: #f3ebd7;
    --erp-top-actions-shell-border: #eadfc6;
    --erp-top-actions-shell-shadow: rgba(112, 82, 21, 0.08);
}

body.page-platform-buyer-edit,
body.page-platform-buyer-card {
    --erp-primary-pill-start: #d25c8e;
    --erp-primary-pill-end: #b54573;
    --erp-primary-pill-border: #bf4f7d;
    --erp-primary-pill-text: #ffffff;
    --erp-primary-pill-text-shadow: 0 1px 0 rgba(101, 30, 58, 0.18);
    --erp-primary-pill-hover-start: #da6c9a;
    --erp-primary-pill-hover-end: #c35281;
    --erp-primary-pill-hover-border: #bf4f7d;
    --erp-top-actions-shell-glow: rgba(191, 79, 125, 0.12);
    --erp-top-actions-shell-start: #fff7fb;
    --erp-top-actions-shell-mid: #ffffff;
    --erp-top-actions-shell-end: #f7e7ee;
    --erp-top-actions-shell-border: #efd8e2;
    --erp-top-actions-shell-shadow: rgba(114, 42, 73, 0.08);
}

body.page-platform-contact-edit,
body.page-platform-contact-card {
    --erp-primary-pill-start: #2f8b89;
    --erp-primary-pill-end: #236d6b;
    --erp-primary-pill-border: #277876;
    --erp-primary-pill-text: #ffffff;
    --erp-primary-pill-text-shadow: 0 1px 0 rgba(18, 72, 70, 0.18);
    --erp-primary-pill-hover-start: #3a9c9a;
    --erp-primary-pill-hover-end: #2b7e7c;
    --erp-primary-pill-hover-border: #277876;
    --erp-top-actions-shell-glow: rgba(39, 120, 118, 0.12);
    --erp-top-actions-shell-start: #f4fbfb;
    --erp-top-actions-shell-mid: #ffffff;
    --erp-top-actions-shell-end: #e1f1f0;
    --erp-top-actions-shell-border: #d3e8e7;
    --erp-top-actions-shell-shadow: rgba(31, 92, 90, 0.08);
}

body.page-platform-program-edit,
body.page-platform-program-card {
    --erp-primary-pill-start: #cd7447;
    --erp-primary-pill-end: #b45f34;
    --erp-primary-pill-border: #bd663b;
    --erp-primary-pill-text: #ffffff;
    --erp-primary-pill-text-shadow: 0 1px 0 rgba(91, 45, 22, 0.18);
    --erp-primary-pill-hover-start: #d58359;
    --erp-primary-pill-hover-end: #c06b40;
    --erp-primary-pill-hover-border: #bd663b;
    --erp-top-actions-shell-glow: rgba(189, 102, 59, 0.12);
    --erp-top-actions-shell-start: #fff8f4;
    --erp-top-actions-shell-mid: #ffffff;
    --erp-top-actions-shell-end: #f7e8df;
    --erp-top-actions-shell-border: #eddccf;
    --erp-top-actions-shell-shadow: rgba(115, 63, 37, 0.08);
}

body.page-platform-pnlist-list,
body.page-platform-pnprofile-list {
    --erp-primary-pill-start: #ed4c97;
    --erp-primary-pill-end: #ce246f;
    --erp-primary-pill-border: #d43176;
    --erp-primary-pill-text: #ffffff;
    --erp-primary-pill-text-shadow: 0 1px 0 rgba(99, 22, 57, 0.2);
    --erp-primary-pill-hover-start: #f165a6;
    --erp-primary-pill-hover-end: #d6367d;
    --erp-primary-pill-hover-border: #d43176;
    --erp-top-actions-shell-glow: rgba(212, 49, 118, 0.12);
    --erp-top-actions-shell-start: #fff7fb;
    --erp-top-actions-shell-mid: #fffdfd;
    --erp-top-actions-shell-end: #f8eaf2;
    --erp-top-actions-shell-border: #efd6e3;
    --erp-top-actions-shell-shadow: rgba(122, 33, 74, 0.08);
}

body.page-platform-customerorder-list,
body.page-platform-pnprofilecustomerorder-list,
body.page-platform-customerorderoutgoing-list,
body.page-platform-customerorderoutgoing-card {
    --erp-primary-pill-start: #16a1b7;
    --erp-primary-pill-end: #10879a;
    --erp-primary-pill-border: #0f8da0;
    --erp-primary-pill-text: #ffffff;
    --erp-primary-pill-text-shadow: 0 1px 0 rgba(17, 66, 78, 0.18);
    --erp-primary-pill-hover-start: #2bb0c4;
    --erp-primary-pill-hover-end: #1491a4;
    --erp-primary-pill-hover-border: #0f8da0;
    --erp-top-actions-shell-glow: rgba(15, 141, 160, 0.12);
    --erp-top-actions-shell-start: #f5fcfc;
    --erp-top-actions-shell-mid: #ffffff;
    --erp-top-actions-shell-end: #e5f4f6;
    --erp-top-actions-shell-border: #d3eaed;
    --erp-top-actions-shell-shadow: rgba(20, 88, 100, 0.08);
}

body.page-platform-supplierorder-list,
body.page-platform-pnprofilesupplierorder-list,
body.page-platform-supplierorder-edit {
    --erp-primary-pill-start: #7b59e6;
    --erp-primary-pill-end: #6648c9;
    --erp-primary-pill-border: #684acb;
    --erp-primary-pill-text: #ffffff;
    --erp-primary-pill-text-shadow: 0 1px 0 rgba(52, 30, 120, 0.22);
    --erp-primary-pill-hover-start: #8a68ee;
    --erp-primary-pill-hover-end: #7254d2;
    --erp-primary-pill-hover-border: #684acb;
    --erp-top-actions-shell-glow: rgba(104, 74, 203, 0.13);
    --erp-top-actions-shell-start: #f8f6ff;
    --erp-top-actions-shell-mid: #fffefe;
    --erp-top-actions-shell-end: #ece7fa;
    --erp-top-actions-shell-border: #ddd5f1;
    --erp-top-actions-shell-shadow: rgba(70, 48, 144, 0.09);
}

body.page-platform-testsupplierorder-list,
body.page-platform-testsupplierorder-list,
body.page-platform-pnprofiletestsupplierorder-list,
body.page-platform-testsupplierorder-edit {
    --erp-primary-pill-start: #5f70db;
    --erp-primary-pill-end: #4d5fc4;
    --erp-primary-pill-border: #5061c7;
    --erp-primary-pill-text: #ffffff;
    --erp-primary-pill-text-shadow: 0 1px 0 rgba(38, 51, 111, 0.2);
    --erp-primary-pill-hover-start: #7080e2;
    --erp-primary-pill-hover-end: #596acb;
    --erp-primary-pill-hover-border: #5061c7;
    --erp-top-actions-shell-glow: rgba(123, 89, 230, 0.16);
    --erp-top-actions-shell-start: #fbf9ff;
    --erp-top-actions-shell-mid: #ffffff;
    --erp-top-actions-shell-end: #f3efff;
    --erp-top-actions-shell-border: #e7def9;
    --erp-top-actions-shell-shadow: rgba(123, 89, 230, 0.08);
}

body.page-platform-magazzino-list,
body.page-platform-magazzino-searchpn,
body.page-platform-magazzino-card,
body.page-platform-magazzino-infopn {
    --erp-primary-pill-start: #2b9ab0;
    --erp-primary-pill-end: #1f8194;
    --erp-primary-pill-border: #1f8799;
    --erp-primary-pill-text: #ffffff;
    --erp-primary-pill-text-shadow: 0 1px 0 rgba(20, 63, 74, 0.18);
    --erp-primary-pill-hover-start: #3aa9bf;
    --erp-primary-pill-hover-end: #298c9f;
    --erp-primary-pill-hover-border: #1f8799;
    --erp-top-actions-shell-glow: rgba(31, 135, 153, 0.12);
    --erp-top-actions-shell-start: #f4fbfc;
    --erp-top-actions-shell-mid: #ffffff;
    --erp-top-actions-shell-end: #e2f2f5;
    --erp-top-actions-shell-border: #cfe6ea;
    --erp-top-actions-shell-shadow: rgba(21, 81, 92, 0.08);
}

body.page-platform-supplierpnincoming-list,
body.page-platform-supplierpnincoming-filterorder,
body.page-platform-supplierpnincoming-prova,
body.page-platform-pnprofilesupplierorderincoming-card {
    --erp-primary-pill-start: #7354cf;
    --erp-primary-pill-end: #5d40b6;
    --erp-primary-pill-border: #6144ba;
    --erp-primary-pill-text: #ffffff;
    --erp-primary-pill-text-shadow: 0 1px 0 rgba(43, 28, 96, 0.2);
    --erp-primary-pill-hover-start: #8364d8;
    --erp-primary-pill-hover-end: #694bc0;
    --erp-primary-pill-hover-border: #6144ba;
    --erp-top-actions-shell-glow: rgba(97, 68, 186, 0.13);
    --erp-top-actions-shell-start: #f8f6ff;
    --erp-top-actions-shell-mid: #fffefe;
    --erp-top-actions-shell-end: #ebe6fa;
    --erp-top-actions-shell-border: #dcd4f0;
    --erp-top-actions-shell-shadow: rgba(64, 45, 133, 0.09);
}

body.page-platform-componenttest-list {
    --erp-primary-pill-start: #d56363;
    --erp-primary-pill-end: #b54848;
    --erp-primary-pill-border: #ba4b4b;
    --erp-primary-pill-text: #ffffff;
    --erp-primary-pill-text-shadow: 0 1px 0 rgba(102, 36, 36, 0.18);
    --erp-primary-pill-hover-start: #dd7777;
    --erp-primary-pill-hover-end: #be5656;
    --erp-primary-pill-hover-border: #ba4b4b;
    --erp-top-actions-shell-glow: rgba(186, 75, 75, 0.12);
    --erp-top-actions-shell-start: #fff7f7;
    --erp-top-actions-shell-mid: #fffefe;
    --erp-top-actions-shell-end: #f7e7e7;
    --erp-top-actions-shell-border: #ecd6d6;
    --erp-top-actions-shell-shadow: rgba(112, 52, 52, 0.08);
}

body.page-platform-deletedpartnumbersfromorders-list {
    --erp-primary-pill-start: #de8759;
    --erp-primary-pill-end: #c26337;
    --erp-primary-pill-border: #c96d40;
    --erp-primary-pill-text: #ffffff;
    --erp-primary-pill-text-shadow: 0 1px 0 rgba(103, 49, 24, 0.18);
    --erp-primary-pill-hover-start: #e39568;
    --erp-primary-pill-hover-end: #cb7449;
    --erp-primary-pill-hover-border: #c96d40;
    --erp-top-actions-shell-glow: rgba(201, 109, 64, 0.13);
    --erp-top-actions-shell-start: #fff8f4;
    --erp-top-actions-shell-mid: #fffefd;
    --erp-top-actions-shell-end: #f8ebe3;
    --erp-top-actions-shell-border: #efdcd2;
    --erp-top-actions-shell-shadow: rgba(121, 70, 42, 0.08);
}

body.page-platform-globalsearch,
body.page-platform-searchresult {
    --erp-primary-pill-start: #5c8fbc;
    --erp-primary-pill-end: #4676a3;
    --erp-primary-pill-border: #4b7aa5;
    --erp-primary-pill-text: #ffffff;
    --erp-primary-pill-text-shadow: 0 1px 0 rgba(37, 63, 88, 0.18);
    --erp-primary-pill-hover-start: #6d9cca;
    --erp-primary-pill-hover-end: #5381ad;
    --erp-primary-pill-hover-border: #4b7aa5;
    --erp-top-actions-shell-glow: rgba(75, 122, 165, 0.11);
    --erp-top-actions-shell-start: #f6fafc;
    --erp-top-actions-shell-mid: #ffffff;
    --erp-top-actions-shell-end: #e9f0f6;
    --erp-top-actions-shell-border: #d7e1ea;
    --erp-top-actions-shell-shadow: rgba(48, 76, 103, 0.08);
}

body.page-platform-metrics {
    --erp-primary-pill-start: #e9448e;
    --erp-primary-pill-end: #c61a62;
    --erp-primary-pill-border: #c31f64;
    --erp-primary-pill-text: #ffffff;
    --erp-primary-pill-text-shadow: 0 1px 0 rgba(92, 17, 49, 0.18);
    --erp-primary-pill-hover-start: #ef5a9c;
    --erp-primary-pill-hover-end: #d62b74;
    --erp-primary-pill-hover-border: #c31f64;
    --erp-top-actions-shell-glow: rgba(195, 31, 100, 0.13);
    --erp-top-actions-shell-start: #fff7fb;
    --erp-top-actions-shell-mid: #fffefe;
    --erp-top-actions-shell-end: #f7e9f2;
    --erp-top-actions-shell-border: #eed5e2;
    --erp-top-actions-shell-shadow: rgba(111, 28, 66, 0.09);
}

body.page-platform-main {
    --erp-primary-pill-start: #16a1b7;
    --erp-primary-pill-end: #10879a;
    --erp-primary-pill-border: #0f8da0;
    --erp-primary-pill-text: #ffffff;
    --erp-primary-pill-text-shadow: 0 1px 0 rgba(17, 66, 78, 0.18);
    --erp-primary-pill-hover-start: #2bb0c4;
    --erp-primary-pill-hover-end: #1491a4;
    --erp-primary-pill-hover-border: #0f8da0;
    --erp-top-actions-shell-glow: rgba(15, 141, 160, 0.12);
    --erp-top-actions-shell-start: #f4fbfc;
    --erp-top-actions-shell-mid: #ffffff;
    --erp-top-actions-shell-end: #e2f3f5;
    --erp-top-actions-shell-border: #d1e8eb;
    --erp-top-actions-shell-shadow: rgba(20, 88, 100, 0.08);
}

/* ── Settings: tab navigation ── */
body.page-platform-settings [data-controller="tabs"] .nav-tabs {
    border-bottom: 2px solid #d9e8ec;
    gap: 0.25rem;
    margin-bottom: 0;
    padding: 0 0.25rem;
}

body.page-platform-settings [data-controller="tabs"] .nav-tabs .nav-link {
    border: none;
    border-bottom: 2px solid transparent;
    border-radius: 0.5rem 0.5rem 0 0;
    color: #6c858b;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    margin-bottom: -2px;
    padding: 0.65rem 1.1rem;
    text-transform: uppercase;
    transition: all 0.2s ease;
}

body.page-platform-settings [data-controller="tabs"] .nav-tabs .nav-link:hover {
    background: #f0f7f8;
    color: #2a6170;
}

body.page-platform-settings [data-controller="tabs"] .nav-tabs .nav-link.active {
    background: #eef6f8;
    border-bottom-color: #2a7983;
    color: #1e4d58;
    font-weight: 800;
}

/* ── Settings: tab content spacing ── */
body.page-platform-settings [data-controller="tabs"] .tab-content > .tab-pane > :first-child {
    margin-top: 1.25rem;
}

/* ── Settings: section titles — uniform across all tab types ── */
body.page-platform-settings fieldset[data-async] > .col > legend.mt-2 {
    margin-top: 0 !important;
}

body.page-platform-settings fieldset[data-async] > .col > legend.mx-2 {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

body.page-platform-settings fieldset[data-async] > .col > legend,
body.page-platform-settings .erp-provider-heading h4,
body.page-platform-settings .erp-document-templates__header h4,
body.page-platform-settings .erp-document-templates__upload h5,
body.page-platform-settings .erp-settings-tab-title {
    color: #2a6170 !important;
    font-size: 0.8rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.08em !important;
    margin: 0 0 0.75rem 0 !important;
    padding: 0 0 0.4rem 0 !important;
    border-bottom: 1px solid #e8f0f2 !important;
    text-transform: uppercase !important;
}

/* ── Settings: provider heading card ── */
body.page-platform-settings .erp-provider-heading {
    background: linear-gradient(135deg, #f8fcfd 0%, #eef5f7 100%);
    border: 1px solid #deeaed;
    border-radius: 0.75rem;
    margin-bottom: 0;
    margin-top: 1rem;
}

/* ── Settings: uniform spacing between sections ── */
body.page-platform-settings [data-controller="tabs"] .tab-content fieldset[data-async] {
    margin-bottom: 0.75rem;
}

body.page-platform-settings {
    --erp-primary-pill-start: #2d7a90;
    --erp-primary-pill-end: #205f73;
    --erp-primary-pill-border: #24667a;
    --erp-primary-pill-text: #ffffff;
    --erp-primary-pill-text-shadow: 0 1px 0 rgba(22, 58, 69, 0.18);
    --erp-primary-pill-hover-start: #3a879d;
    --erp-primary-pill-hover-end: #27697d;
    --erp-primary-pill-hover-border: #24667a;
    --erp-top-actions-shell-glow: rgba(36, 102, 122, 0.12);
    --erp-top-actions-shell-start: #f4fbfc;
    --erp-top-actions-shell-mid: #ffffff;
    --erp-top-actions-shell-end: #e6f1f3;
    --erp-top-actions-shell-border: #d4e4e8;
    --erp-top-actions-shell-shadow: rgba(29, 77, 91, 0.08);
}

body[class*="page-platform-"] .table-responsive > .table a[style*="width:170px"],
body[class*="page-platform-"] .table-responsive > .table a[style*="width:200px"],
body[class*="page-platform-"] .table-responsive > .table a[style*="width:220px"],
body[class*="page-platform-"] .table-responsive > .table button[style*="width:170px"],
body[class*="page-platform-"] .table-responsive > .table button[style*="width:200px"],
body[class*="page-platform-"] .erp-linked-orders-table a[style*="width:170px"],
body[class*="page-platform-"] .erp-summary-card__link,
body[class*="page-platform-"] .erp-rfq-document-link,
body[class*="page-platform-"] .erp-componenttest-link,
body[class*="page-platform-"] .erp-warehouse-card-link,
body[class*="page-platform-"] .erp-warehouse-link-pill,
body[class*="page-platform-"] .erp-search-source-link,
body[class*="page-platform-"] .erp-pill--rfq,
body[class*="page-platform-"] .erp-pill--offer,
body[class*="page-platform-"] .erp-pill--customer-order,
body[class*="page-platform-"] .erp-pill--supplier-order,
body[class*="page-platform-"] .erp-pill--test-supplier-order,
body[class*="page-platform-"] .erp-pill--company,
body[class*="page-platform-"] .erp-pill--buyer,
body[class*="page-platform-"] .erp-pill--supplier,
body[class*="page-platform-"] .erp-pill--user,
body[class*="page-platform-"] .erp-pill--search,
body[class*="page-platform-"] .erp-pill--meta {
    align-items: center !important;
    border-radius: 999px !important;
    box-shadow: 0 8px 20px rgba(34, 58, 96, 0.12) !important;
    display: inline-flex !important;
    font-size: 0.8rem !important;
    font-weight: 800 !important;
    gap: 0.45rem;
    justify-content: center;
    line-height: 1.3;
    min-height: 2.2rem;
    min-width: 7.75rem;
    overflow: visible;
    padding: 0.58rem 1rem !important;
    text-decoration: none !important;
    width: fit-content !important;
}

/* erp-pill--meta — neutral gray pill for read-only metadata facets
   (MFR / Data Code / Packaging / Customer Code on the warehouse card,
   reusable elsewhere). Carries the same sizing/shape as the other
   global pills so they read as a homogeneous row. */
body[class*="page-platform-"] .erp-pill--meta {
    background: linear-gradient(180deg, #f2f5f8 0%, #e3e9ef 100%) !important;
    border: 1px solid #cdd6df !important;
    color: #2c4055 !important;
    text-shadow: none !important;
}

body[class*="page-platform-"] .erp-pill--meta__label {
    color: #6c7b8a;
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    opacity: 0.85;
    text-transform: uppercase;
}

body[class*="page-platform-"] .table-responsive > .table a[style*="width:170px"]:not([class*="erp-pill--"]),
body[class*="page-platform-"] .table-responsive > .table a[style*="width:200px"]:not([class*="erp-pill--"]),
body[class*="page-platform-"] .table-responsive > .table a[style*="width:220px"]:not([class*="erp-pill--"]),
body[class*="page-platform-"] .table-responsive > .table button[style*="width:170px"]:not([class*="erp-pill--"]),
body[class*="page-platform-"] .table-responsive > .table button[style*="width:200px"]:not([class*="erp-pill--"]),
body[class*="page-platform-"] .erp-linked-orders-table a[style*="width:170px"]:not([class*="erp-pill--"]),
body[class*="page-platform-"] .erp-summary-card__link:not([class*="erp-pill--"]),
body[class*="page-platform-"] .erp-rfq-document-link,
body[class*="page-platform-"] .erp-search-source-link {
    background: linear-gradient(180deg, var(--erp-primary-pill-start) 0%, var(--erp-primary-pill-end) 100%) !important;
    border: 1px solid var(--erp-primary-pill-border) !important;
    color: var(--erp-primary-pill-text) !important;
    text-shadow: var(--erp-primary-pill-text-shadow) !important;
}

body[class*="page-platform-"] .table-responsive > .table a[style*="width:170px"]:not([class*="erp-pill--"]):hover,
body[class*="page-platform-"] .table-responsive > .table a[style*="width:200px"]:not([class*="erp-pill--"]):hover,
body[class*="page-platform-"] .table-responsive > .table a[style*="width:220px"]:not([class*="erp-pill--"]):hover,
body[class*="page-platform-"] .table-responsive > .table button[style*="width:170px"]:not([class*="erp-pill--"]):hover,
body[class*="page-platform-"] .table-responsive > .table button[style*="width:200px"]:not([class*="erp-pill--"]):hover,
body[class*="page-platform-"] .erp-linked-orders-table a[style*="width:170px"]:not([class*="erp-pill--"]):hover,
body[class*="page-platform-"] .erp-summary-card__link:not([class*="erp-pill--"]):hover,
body[class*="page-platform-"] .erp-rfq-document-link:hover,
body[class*="page-platform-"] .erp-search-source-link:hover,
body[class*="page-platform-"] .table-responsive > .table a[style*="width:170px"]:not([class*="erp-pill--"]):focus,
body[class*="page-platform-"] .table-responsive > .table a[style*="width:200px"]:not([class*="erp-pill--"]):focus,
body[class*="page-platform-"] .table-responsive > .table a[style*="width:220px"]:not([class*="erp-pill--"]):focus,
body[class*="page-platform-"] .table-responsive > .table button[style*="width:170px"]:not([class*="erp-pill--"]):focus,
body[class*="page-platform-"] .table-responsive > .table button[style*="width:200px"]:not([class*="erp-pill--"]):focus,
body[class*="page-platform-"] .erp-linked-orders-table a[style*="width:170px"]:not([class*="erp-pill--"]):focus,
body[class*="page-platform-"] .erp-summary-card__link:not([class*="erp-pill--"]):focus,
body[class*="page-platform-"] .erp-rfq-document-link:focus,
body[class*="page-platform-"] .erp-search-source-link:focus {
    background: linear-gradient(180deg, var(--erp-primary-pill-hover-start) 0%, var(--erp-primary-pill-hover-end) 100%) !important;
    border-color: var(--erp-primary-pill-hover-border) !important;
    color: var(--erp-primary-pill-text) !important;
}

body[class*="page-platform-"] .table-responsive > .table a[style*="width:170px"] i,
body[class*="page-platform-"] .table-responsive > .table a[style*="width:200px"] i,
body[class*="page-platform-"] .table-responsive > .table a[style*="width:220px"] i,
body[class*="page-platform-"] .table-responsive > .table button[style*="width:170px"] i,
body[class*="page-platform-"] .table-responsive > .table button[style*="width:200px"] i,
body[class*="page-platform-"] .erp-linked-orders-table a[style*="width:170px"] i,
body[class*="page-platform-"] .erp-summary-card__link svg,
body[class*="page-platform-"] .erp-summary-card__link i,
body[class*="page-platform-"] .erp-rfq-document-link i,
body[class*="page-platform-"] .erp-componenttest-link i,
body[class*="page-platform-"] .erp-warehouse-card-link i,
body[class*="page-platform-"] .erp-warehouse-link-pill i,
body[class*="page-platform-"] .erp-search-source-link i {
    color: currentColor !important;
}

body[class*="page-platform-"] .erp-pill--rfq,
body[class*="page-platform-"] .erp-rfq-document-link {
    background: linear-gradient(180deg, #f6c985 0%, #e6a451 100%) !important;
    border: 1px solid #e1a250 !important;
    color: #6a4210 !important;
    text-shadow: none !important;
}

body[class*="page-platform-"] .erp-pill--rfq:hover,
body[class*="page-platform-"] .erp-pill--rfq:focus,
body[class*="page-platform-"] .erp-rfq-document-link:hover,
body[class*="page-platform-"] .erp-rfq-document-link:focus {
    background: linear-gradient(180deg, #f8d39a 0%, #eaae61 100%) !important;
    border-color: #e1a250 !important;
    color: #6a4210 !important;
}

body[class*="page-platform-"] .erp-pill--offer {
    background: linear-gradient(180deg, #ed4c97 0%, #ce246f 100%) !important;
    border: 1px solid #d43176 !important;
    color: #ffffff !important;
    text-shadow: 0 1px 0 rgba(99, 22, 57, 0.2) !important;
}

body[class*="page-platform-"] .erp-pill--offer:hover,
body[class*="page-platform-"] .erp-pill--offer:focus {
    background: linear-gradient(180deg, #f165a6 0%, #d6367d 100%) !important;
    border-color: #d43176 !important;
    color: #ffffff !important;
}

body[class*="page-platform-"] .erp-pill--customer-order {
    background: linear-gradient(180deg, #16a1b7 0%, #10879a 100%) !important;
    border: 1px solid #0f8da0 !important;
    color: #ffffff !important;
    text-shadow: 0 1px 0 rgba(17, 66, 78, 0.18) !important;
}

/* Unified "CO:" label for every customer-order pill across the app.
   Single source of truth — call sites render only the raw number and the
   pseudo-element injects the label so it can't drift between screens.
   The anchor becomes an inline flex container so we can use `order` to
   place the icon (either Orchid's <i> or the pill-icon SVG) BEFORE the
   "CO:" pseudo-element; source order would otherwise render the pseudo
   first ("CO: 📋 001" instead of the desired "📋 CO: 001"). */
body[class*="page-platform-"] .erp-pill--customer-order {
    align-items: center;
    display: inline-flex;
    gap: 0.3rem;
}
body[class*="page-platform-"] .erp-pill--customer-order::before {
    content: "CO:";
    font-weight: 800;
    letter-spacing: 0.02em;
    order: 0;
}
body[class*="page-platform-"] .erp-pill--customer-order > i,
body[class*="page-platform-"] .erp-pill--customer-order > svg {
    order: -1;
}

/* Normalize icon spacing inside every pill variant: different render
   paths emit different utility classes (Orchid's <x-orchid-icon> adds
   `me-2` = 8px, the blade `pill-icon` partial adds `me-1` = 4px). The
   mismatch makes sibling pills of the same variant render a few px
   apart. Zero the utility margin and rely on the pill's flex `gap` —
   which is identical for all variants. */
body[class*="page-platform-"] [class*="erp-pill--"] > svg,
body[class*="page-platform-"] [class*="erp-pill--"] > i {
    margin-right: 0 !important;
    margin-left: 0 !important;
    margin-inline-end: 0 !important;
    margin-inline-start: 0 !important;
}

/* Unify the CO pill across the offer workspace with the pastel palette
   used on the /admin/customerorders list (same colour family, no eye
   fatigue). Applied to the summary card AND the Documents tab so both
   match the list-screen visual reference. */
body.page-platform-pnprofile-list .erp-summary-card__pills .erp-pill--customer-order,
body.page-platform-pnprofile-list .erp-summary-card__link.erp-pill--customer-order,
body.page-platform-pnprofile-list .erp-document-reference__item .erp-pill--customer-order,
body.page-platform-pnprofile-list a.erp-document-reference__link.erp-pill--customer-order {
    background: linear-gradient(180deg, #eefbfc 0%, #dff4f7 100%) !important;
    border: 1px solid #a9dce5 !important;
    color: #127082 !important;
    text-shadow: none !important;
}

body.page-platform-pnprofile-list .erp-summary-card__pills .erp-pill--customer-order:hover,
body.page-platform-pnprofile-list .erp-summary-card__link.erp-pill--customer-order:hover,
body.page-platform-pnprofile-list .erp-document-reference__item .erp-pill--customer-order:hover,
body.page-platform-pnprofile-list a.erp-document-reference__link.erp-pill--customer-order:hover {
    background: linear-gradient(180deg, #f4fcfd 0%, #e8f7f9 100%) !important;
    border-color: #a9dce5 !important;
    color: #0e6676 !important;
}

body[class*="page-platform-"] .erp-pill--customer-order:hover,
body[class*="page-platform-"] .erp-pill--customer-order:focus {
    background: linear-gradient(180deg, #2bb0c4 0%, #1491a4 100%) !important;
    border-color: #0f8da0 !important;
    color: #ffffff !important;
}

body[class*="page-platform-"] .erp-pill--supplier-order {
    background: linear-gradient(180deg, #7b59e6 0%, #6648c9 100%) !important;
    border: 1px solid #684acb !important;
    color: #ffffff !important;
    text-shadow: 0 1px 0 rgba(52, 30, 120, 0.22) !important;
}

body[class*="page-platform-"] .erp-pill--supplier-order:hover,
body[class*="page-platform-"] .erp-pill--supplier-order:focus {
    background: linear-gradient(180deg, #8a68ee 0%, #7254d2 100%) !important;
    border-color: #684acb !important;
    color: #ffffff !important;
}

body[class*="page-platform-"] .erp-pill--test-supplier-order {
    background: linear-gradient(180deg, #5f70db 0%, #4d5fc4 100%) !important;
    border: 1px solid #5061c7 !important;
    color: #ffffff !important;
    text-shadow: 0 1px 0 rgba(38, 51, 111, 0.2) !important;
}

body[class*="page-platform-"] .erp-pill--test-supplier-order:hover,
body[class*="page-platform-"] .erp-pill--test-supplier-order:focus {
    background: linear-gradient(180deg, #7080e2 0%, #596acb 100%) !important;
    border-color: #5061c7 !important;
    color: #ffffff !important;
}

body[class*="page-platform-"] .erp-pill--company,
body[class*="page-platform-"] .erp-pill--supplier {
    background: linear-gradient(180deg, #fff1c9 0%, #f8de91 100%) !important;
    border: 1px solid #e6bf52 !important;
    color: #6c4e00 !important;
    text-shadow: none !important;
}

body[class*="page-platform-"] .erp-pill--company:hover,
body[class*="page-platform-"] .erp-pill--company:focus,
body[class*="page-platform-"] .erp-pill--supplier:hover,
body[class*="page-platform-"] .erp-pill--supplier:focus {
    background: linear-gradient(180deg, #fff4d6 0%, #fce5a6 100%) !important;
    border-color: #e6bf52 !important;
    color: #5f4700 !important;
}

body[class*="page-platform-"] .erp-pill--buyer {
    background: linear-gradient(180deg, #fff6dd 0%, #feefbf 100%) !important;
    border: 1px solid #efd796 !important;
    color: #8a6700 !important;
    text-shadow: none !important;
}

body[class*="page-platform-"] .erp-pill--buyer:hover,
body[class*="page-platform-"] .erp-pill--buyer:focus {
    background: linear-gradient(180deg, #fff8e7 0%, #fff3cb 100%) !important;
    border-color: #efd796 !important;
    color: #7c5d00 !important;
}

body.page-platform-pnlist-list .table-responsive > .table .erp-pill--offer,
body.page-platform-customerorder-list .table-responsive > .table .erp-pill--offer,
body.page-platform-pnprofilecustomerorder-list .table-responsive > .table .erp-pill--offer,
body.page-platform-pnprofilecustomerorder-list .table.table-bordered.table-sm .erp-pill--offer {
    background: linear-gradient(180deg, #fff0f7 0%, #fde1ee 100%) !important;
    border: 1px solid #f0b2cf !important;
    box-shadow: 0 10px 18px rgba(200, 80, 136, 0.12) !important;
    color: #b83173 !important;
    text-shadow: none !important;
}

body.page-platform-pnlist-list .table-responsive > .table .erp-pill--offer:hover,
body.page-platform-pnlist-list .table-responsive > .table .erp-pill--offer:focus,
body.page-platform-customerorder-list .table-responsive > .table .erp-pill--offer:hover,
body.page-platform-customerorder-list .table-responsive > .table .erp-pill--offer:focus,
body.page-platform-pnprofilecustomerorder-list .table-responsive > .table .erp-pill--offer:hover,
body.page-platform-pnprofilecustomerorder-list .table-responsive > .table .erp-pill--offer:focus,
body.page-platform-pnprofilecustomerorder-list .table.table-bordered.table-sm .erp-pill--offer:hover,
body.page-platform-pnprofilecustomerorder-list .table.table-bordered.table-sm .erp-pill--offer:focus {
    background: linear-gradient(180deg, #fff4fa 0%, #fee7f2 100%) !important;
    border-color: #f0b2cf !important;
    color: #a82968 !important;
}

body.page-platform-pnlist-list .table-responsive > .table .erp-pill--customer-order,
body.page-platform-customerorder-list .table-responsive > .table .erp-pill--customer-order,
body.page-platform-pnprofilecustomerorder-list .table-responsive > .table .erp-pill--customer-order,
body.page-platform-pnprofilecustomerorder-list .table.table-bordered.table-sm .erp-pill--customer-order,
body.page-platform-supplierpnincoming-list .table-responsive > .table .erp-pill--customer-order,
body.page-platform-customerorderoutgoing-list .table-responsive > .table .erp-pill--customer-order,
body.page-platform-supplierorder-list .table-responsive > .table .erp-pill--customer-order,
body.page-platform-testsupplierorder-list .table-responsive > .table .erp-pill--customer-order,
body.page-platform-componenttest-list .table-responsive > .table .erp-pill--customer-order {
    background: linear-gradient(180deg, #eefbfc 0%, #dff4f7 100%) !important;
    border: 1px solid #a9dce5 !important;
    box-shadow: 0 10px 18px rgba(45, 145, 163, 0.12) !important;
    color: #127082 !important;
    text-shadow: none !important;
}

body.page-platform-pnlist-list .table-responsive > .table .erp-pill--customer-order:hover,
body.page-platform-pnlist-list .table-responsive > .table .erp-pill--customer-order:focus,
body.page-platform-customerorder-list .table-responsive > .table .erp-pill--customer-order:hover,
body.page-platform-customerorder-list .table-responsive > .table .erp-pill--customer-order:focus,
body.page-platform-pnprofilecustomerorder-list .table-responsive > .table .erp-pill--customer-order:hover,
body.page-platform-pnprofilecustomerorder-list .table-responsive > .table .erp-pill--customer-order:focus,
body.page-platform-pnprofilecustomerorder-list .table.table-bordered.table-sm .erp-pill--customer-order:hover,
body.page-platform-pnprofilecustomerorder-list .table.table-bordered.table-sm .erp-pill--customer-order:focus,
body.page-platform-supplierpnincoming-list .table-responsive > .table .erp-pill--customer-order:hover,
body.page-platform-supplierpnincoming-list .table-responsive > .table .erp-pill--customer-order:focus,
body.page-platform-customerorderoutgoing-list .table-responsive > .table .erp-pill--customer-order:hover,
body.page-platform-customerorderoutgoing-list .table-responsive > .table .erp-pill--customer-order:focus,
body.page-platform-supplierorder-list .table-responsive > .table .erp-pill--customer-order:hover,
body.page-platform-supplierorder-list .table-responsive > .table .erp-pill--customer-order:focus,
body.page-platform-testsupplierorder-list .table-responsive > .table .erp-pill--customer-order:hover,
body.page-platform-testsupplierorder-list .table-responsive > .table .erp-pill--customer-order:focus,
body.page-platform-componenttest-list .table-responsive > .table .erp-pill--customer-order:hover,
body.page-platform-componenttest-list .table-responsive > .table .erp-pill--customer-order:focus {
    background: linear-gradient(180deg, #f4fcfd 0%, #e8f7f9 100%) !important;
    border-color: #a9dce5 !important;
    color: #0e6676 !important;
}

body.page-platform-customerorder-list .table-responsive > .table .erp-pill--supplier-order,
body.page-platform-pnprofilecustomerorder-list .table-responsive > .table .erp-pill--supplier-order,
body.page-platform-pnprofilecustomerorder-list .table.table-bordered.table-sm .erp-pill--supplier-order,
body.page-platform-supplierpnincoming-list .table-responsive > .table .erp-pill--supplier-order,
body.page-platform-customerorderoutgoing-list .table-responsive > .table .erp-pill--supplier-order,
body.page-platform-supplierorder-list .table-responsive > .table .erp-pill--supplier-order,
body.page-platform-componenttest-list .table-responsive > .table .erp-pill--supplier-order {
    background: linear-gradient(180deg, #f3eeff 0%, #e6dcff 100%) !important;
    border: 1px solid #c9b6f7 !important;
    box-shadow: 0 10px 18px rgba(99, 69, 190, 0.12) !important;
    color: #5b36c5 !important;
    text-shadow: none !important;
}

body.page-platform-customerorder-list .table-responsive > .table .erp-pill--supplier-order:hover,
body.page-platform-customerorder-list .table-responsive > .table .erp-pill--supplier-order:focus,
body.page-platform-pnprofilecustomerorder-list .table-responsive > .table .erp-pill--supplier-order:hover,
body.page-platform-pnprofilecustomerorder-list .table-responsive > .table .erp-pill--supplier-order:focus,
body.page-platform-pnprofilecustomerorder-list .table.table-bordered.table-sm .erp-pill--supplier-order:hover,
body.page-platform-pnprofilecustomerorder-list .table.table-bordered.table-sm .erp-pill--supplier-order:focus,
body.page-platform-supplierpnincoming-list .table-responsive > .table .erp-pill--supplier-order:hover,
body.page-platform-supplierpnincoming-list .table-responsive > .table .erp-pill--supplier-order:focus,
body.page-platform-customerorderoutgoing-list .table-responsive > .table .erp-pill--supplier-order:hover,
body.page-platform-customerorderoutgoing-list .table-responsive > .table .erp-pill--supplier-order:focus,
body.page-platform-supplierorder-list .table-responsive > .table .erp-pill--supplier-order:hover,
body.page-platform-supplierorder-list .table-responsive > .table .erp-pill--supplier-order:focus,
body.page-platform-componenttest-list .table-responsive > .table .erp-pill--supplier-order:hover,
body.page-platform-componenttest-list .table-responsive > .table .erp-pill--supplier-order:focus {
    background: linear-gradient(180deg, #f7f3ff 0%, #ece4ff 100%) !important;
    border-color: #c9b6f7 !important;
    color: #4f2fb0 !important;
}

body.page-platform-customerorder-list .table-responsive > .table .erp-pill--test-supplier-order,
body.page-platform-pnprofilecustomerorder-list .table-responsive > .table .erp-pill--test-supplier-order,
body.page-platform-pnprofilecustomerorder-list .table.table-bordered.table-sm .erp-pill--test-supplier-order,
body.page-platform-testsupplierorder-list .table-responsive > .table .erp-pill--test-supplier-order {
    background: linear-gradient(180deg, #f0f3ff 0%, #e2e8ff 100%) !important;
    border: 1px solid #bcc6f7 !important;
    box-shadow: 0 10px 18px rgba(83, 101, 200, 0.12) !important;
    color: #4a61c8 !important;
    text-shadow: none !important;
}

body.page-platform-customerorder-list .table-responsive > .table .erp-pill--test-supplier-order:hover,
body.page-platform-customerorder-list .table-responsive > .table .erp-pill--test-supplier-order:focus,
body.page-platform-pnprofilecustomerorder-list .table-responsive > .table .erp-pill--test-supplier-order:hover,
body.page-platform-pnprofilecustomerorder-list .table-responsive > .table .erp-pill--test-supplier-order:focus,
body.page-platform-pnprofilecustomerorder-list .table.table-bordered.table-sm .erp-pill--test-supplier-order:hover,
body.page-platform-pnprofilecustomerorder-list .table.table-bordered.table-sm .erp-pill--test-supplier-order:focus,
body.page-platform-testsupplierorder-list .table-responsive > .table .erp-pill--test-supplier-order:hover,
body.page-platform-testsupplierorder-list .table-responsive > .table .erp-pill--test-supplier-order:focus {
    background: linear-gradient(180deg, #f4f6ff 0%, #e9edff 100%) !important;
    border-color: #bcc6f7 !important;
    color: #4054b4 !important;
}

/* erp-pill--search nelle table CO/Outgoing/SO: soft blue per coerenza con
   le sibling pill (offer/customer-order/supplier-order/test-so). Senza
   questo override la pill warehouse usava il gradient blue scuro default
   (intended per la global-search), che stride visivamente in tabella. */
body.page-platform-pnprofilecustomerorder-list .table-responsive > .table .erp-pill--search,
body.page-platform-pnprofilecustomerorder-list .table.table-bordered.table-sm .erp-pill--search,
body.page-platform-customerorder-list .table-responsive > .table .erp-pill--search,
body.page-platform-customerorderoutgoing-list .table-responsive > .table .erp-pill--search,
body.page-platform-supplierorder-list .table-responsive > .table .erp-pill--search {
    background: linear-gradient(180deg, #eaf4fb 0%, #d8e9f6 100%) !important;
    border: 1px solid #b6d3ec !important;
    box-shadow: 0 10px 18px rgba(70, 118, 163, 0.12) !important;
    color: #1f5891 !important;
    text-shadow: none !important;
}

body.page-platform-pnprofilecustomerorder-list .table-responsive > .table .erp-pill--search:hover,
body.page-platform-pnprofilecustomerorder-list .table-responsive > .table .erp-pill--search:focus,
body.page-platform-pnprofilecustomerorder-list .table.table-bordered.table-sm .erp-pill--search:hover,
body.page-platform-pnprofilecustomerorder-list .table.table-bordered.table-sm .erp-pill--search:focus,
body.page-platform-customerorder-list .table-responsive > .table .erp-pill--search:hover,
body.page-platform-customerorder-list .table-responsive > .table .erp-pill--search:focus,
body.page-platform-customerorderoutgoing-list .table-responsive > .table .erp-pill--search:hover,
body.page-platform-customerorderoutgoing-list .table-responsive > .table .erp-pill--search:focus,
body.page-platform-supplierorder-list .table-responsive > .table .erp-pill--search:hover,
body.page-platform-supplierorder-list .table-responsive > .table .erp-pill--search:focus {
    background: linear-gradient(180deg, #f0f7fc 0%, #e2eef8 100%) !important;
    border-color: #b6d3ec !important;
    color: #163f6c !important;
}

body.page-platform-pnprofilecustomerorder-list .erp-document-reference__item .erp-pill--offer {
    background: linear-gradient(180deg, #fff0f7 0%, #fde1ee 100%) !important;
    border: 1px solid #f0b2cf !important;
    box-shadow: 0 10px 18px rgba(200, 80, 136, 0.12) !important;
    color: #b83173 !important;
    text-shadow: none !important;
}

body.page-platform-pnprofilecustomerorder-list .erp-document-reference__item .erp-pill--offer:hover,
body.page-platform-pnprofilecustomerorder-list .erp-document-reference__item .erp-pill--offer:focus {
    background: linear-gradient(180deg, #fff4fa 0%, #fee7f2 100%) !important;
    border-color: #f0b2cf !important;
    color: #a82968 !important;
}

body.page-platform-pnprofilecustomerorder-list .erp-document-reference__item .erp-pill--supplier-order {
    background: linear-gradient(180deg, #f3eeff 0%, #e6dcff 100%) !important;
    border: 1px solid #c9b6f7 !important;
    box-shadow: 0 10px 18px rgba(99, 69, 190, 0.12) !important;
    color: #5b36c5 !important;
    text-shadow: none !important;
}

body.page-platform-pnprofilecustomerorder-list .erp-document-reference__item .erp-pill--supplier-order:hover,
body.page-platform-pnprofilecustomerorder-list .erp-document-reference__item .erp-pill--supplier-order:focus {
    background: linear-gradient(180deg, #f7f3ff 0%, #ece4ff 100%) !important;
    border-color: #c9b6f7 !important;
    color: #4f2fb0 !important;
}

body.page-platform-pnprofilecustomerorder-list .erp-document-reference__item .erp-pill--test-supplier-order {
    background: linear-gradient(180deg, #f0f3ff 0%, #e2e8ff 100%) !important;
    border: 1px solid #bcc6f7 !important;
    box-shadow: 0 10px 18px rgba(83, 101, 200, 0.12) !important;
    color: #4a61c8 !important;
    text-shadow: none !important;
}

body.page-platform-pnprofilecustomerorder-list .erp-document-reference__item .erp-pill--test-supplier-order:hover,
body.page-platform-pnprofilecustomerorder-list .erp-document-reference__item .erp-pill--test-supplier-order:focus {
    background: linear-gradient(180deg, #f4f6ff 0%, #e9edff 100%) !important;
    border-color: #bcc6f7 !important;
    color: #4054b4 !important;
}

body.page-platform-pnprofilecustomerorder-list .table.table-bordered.table-sm .erp-warehouse-reserve-button {
    align-items: center !important;
    background: linear-gradient(180deg, #eefbfc 0%, #dff4f7 100%) !important;
    border: 1px solid #a9dce5 !important;
    border-radius: 0.5rem !important;
    box-shadow: 0 10px 18px rgba(45, 145, 163, 0.12) !important;
    color: #127082 !important;
    display: inline-flex !important;
    justify-content: center;
    min-height: 2.1rem;
    padding-left: 0.8rem !important;
    padding-right: 0.8rem !important;
    text-shadow: none !important;
}

body.page-platform-pnprofilecustomerorder-list .table.table-bordered.table-sm .erp-warehouse-reserve-button:hover,
body.page-platform-pnprofilecustomerorder-list .table.table-bordered.table-sm .erp-warehouse-reserve-button:focus {
    background: linear-gradient(180deg, #f4fcfd 0%, #e8f7f9 100%) !important;
    border-color: #a9dce5 !important;
    color: #0e6676 !important;
}

body.page-platform-pnprofilecustomerorder-list .table.table-bordered.table-sm .erp-warehouse-reserve-button--disabled,
body.page-platform-pnprofilecustomerorder-list .table.table-bordered.table-sm .erp-warehouse-reserve-button--disabled:hover,
body.page-platform-pnprofilecustomerorder-list .table.table-bordered.table-sm .erp-warehouse-reserve-button--disabled:focus {
    background: #edf7f8 !important;
    border: 1px solid #b2dce4 !important;
    border-radius: 0.5rem !important;
    box-shadow: none !important;
    color: #7faab5 !important;
    font-size: 0.78rem !important;
    font-weight: 600 !important;
    padding: 0.25rem 0.6rem !important;
    cursor: not-allowed !important;
}

body.page-platform-pnprofilecustomerorder-list .table.table-bordered.table-sm .erp-document-reference__item .form-group {
    min-width: 11rem;
    width: fit-content;
}

body.page-platform-pnprofilecustomerorder-list .table.table-bordered.table-sm .erp-document-reference__link {
    max-width: 14rem !important;
    min-width: auto !important;
    overflow: visible;
    white-space: nowrap;
    width: auto !important;
}

body[class*="page-platform-"] .erp-pill--user {
    background: linear-gradient(180deg, #edf6ff 0%, #dceefe 100%) !important;
    border: 1px solid #b8d9fb !important;
    color: #1f5f9f !important;
    text-shadow: none !important;
}

body[class*="page-platform-"] .erp-pill--user:hover,
body[class*="page-platform-"] .erp-pill--user:focus {
    background: linear-gradient(180deg, #f4f9ff 0%, #e7f2ff 100%) !important;
    border-color: #b8d9fb !important;
    color: #174f88 !important;
}

body[class*="page-platform-"] .erp-pill--search,
body[class*="page-platform-"] .erp-search-source-link {
    background: linear-gradient(180deg, #5c8fbc 0%, #4676a3 100%) !important;
    border: 1px solid #4b7aa5 !important;
    color: #ffffff !important;
    text-shadow: 0 1px 0 rgba(37, 63, 88, 0.18) !important;
}

body[class*="page-platform-"] .erp-pill--search:hover,
body[class*="page-platform-"] .erp-pill--search:focus,
body[class*="page-platform-"] .erp-search-source-link:hover,
body[class*="page-platform-"] .erp-search-source-link:focus {
    background: linear-gradient(180deg, #6d9cca 0%, #5381ad 100%) !important;
    border-color: #4b7aa5 !important;
    color: #ffffff !important;
}

body.page-platform-order-list .table-responsive > .table .erp-order-list-link--rfq {
    background: linear-gradient(180deg, #f6c985 0%, #e6a451 100%) !important;
    border: 1px solid #e1a250 !important;
    color: #6a4210 !important;
    text-shadow: none !important;
}

body.page-platform-order-list .table-responsive > .table .erp-order-list-link--company {
    background: linear-gradient(180deg, #fff1c9 0%, #f8de91 100%) !important;
    border: 1px solid #e6bf52 !important;
    color: #6c4e00 !important;
    text-shadow: none !important;
}

body.page-platform-order-list .table-responsive > .table .erp-order-list-link--buyer {
    background: linear-gradient(180deg, #edf6ff 0%, #dceefe 100%) !important;
    border: 1px solid #b8d9fb !important;
    color: #1f5f9f !important;
    text-shadow: none !important;
}

body.page-platform-order-list .table-responsive > .table .erp-order-list-link--offer {
    background: linear-gradient(180deg, #fff0f7 0%, #fde1ee 100%) !important;
    border: 1px solid #f0b2cf !important;
    box-shadow: 0 10px 18px rgba(200, 80, 136, 0.12) !important;
    color: #b83173 !important;
    text-shadow: none !important;
}

body.page-platform-order-list .table-responsive > .table .erp-order-list-link--company:hover,
body.page-platform-order-list .table-responsive > .table .erp-order-list-link--company:focus {
    background: linear-gradient(180deg, #fff4d6 0%, #fce5a6 100%) !important;
    border-color: #e6bf52 !important;
    color: #5f4700 !important;
}

body.page-platform-order-list .table-responsive > .table .erp-order-list-link--buyer:hover,
body.page-platform-order-list .table-responsive > .table .erp-order-list-link--buyer:focus {
    background: linear-gradient(180deg, #f4f9ff 0%, #e7f2ff 100%) !important;
    border-color: #b8d9fb !important;
    color: #174f88 !important;
}

body.page-platform-order-list .table-responsive > .table .erp-order-list-link--offer:hover,
body.page-platform-order-list .table-responsive > .table .erp-order-list-link--offer:focus {
    background: linear-gradient(180deg, #fff4fa 0%, #fee7f2 100%) !important;
    border-color: #f0b2cf !important;
    color: #a82968 !important;
}

/* Sidebar */
.aside {
    --erp-sidebar-bg-start: #212529;
    --erp-sidebar-bg-end: #1b1f23;
    --erp-sidebar-border: rgba(255, 255, 255, 0.08);
    --erp-sidebar-panel: rgba(255, 255, 255, 0.035);
    --erp-sidebar-panel-strong: rgba(255, 255, 255, 0.06);
    --erp-sidebar-text: #f2f5f7;
    --erp-sidebar-muted: #a4adb6;
    --erp-sidebar-section: #bcc4cb;
    --erp-sidebar-accent: #18a5bc;
    --erp-sidebar-accent-strong: #0e7d97;
    --erp-sidebar-active-start: #2e353b;
    --erp-sidebar-active-end: #23292f;
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.06), transparent 34%),
        linear-gradient(180deg, var(--erp-sidebar-bg-start) 0%, var(--erp-sidebar-bg-end) 100%) !important;
    border-right: 1px solid var(--erp-sidebar-border);
    box-shadow: inset -1px 0 0 rgba(255, 255, 255, 0.025);
    color: var(--erp-sidebar-text);
}

.aside .d-md-flex {
    position: sticky;
    top: 0;
}

.aside header {
    padding-bottom: 0 !important;
}

.aside .header-brand {
    align-items: center;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.025) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.95rem;
    display: flex;
    justify-content: center;
    min-height: 4rem;
    padding: 0.7rem 0.85rem;
    width: 100%;
}

.aside .header-brand p {
    margin: 0;
    width: 100%;
}

.aside .header-brand img {
    display: block;
    margin: 0 auto;
    max-height: 2.45rem;
    object-fit: contain;
    width: 100% !important;
}

.aside #headerMenuCollapse {
    padding: 0 0.45rem 0.35rem;
}

.aside .input-icon .form-control {
    background: rgba(255, 255, 255, 0.045) !important;
    border: 1px solid rgba(255, 255, 255, 0.09) !important;
    border-radius: 0.8rem !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
    color: var(--erp-sidebar-text) !important;
    min-height: 2.55rem;
    padding-left: 2.45rem !important;
}

.aside .input-icon .form-control::placeholder {
    color: rgba(222, 235, 252, 0.56) !important;
}

.aside .input-icon .form-control:focus {
    background: rgba(18, 34, 51, 0.94) !important;
    border-color: rgba(70, 179, 197, 0.42) !important;
    box-shadow: 0 0 0 0.18rem rgba(23, 164, 189, 0.14) !important;
}

.aside .input-icon .input-icon-addon {
    color: rgba(207, 224, 242, 0.7) !important;
    left: 0.8rem;
}

.aside #search-result.dropdown-menu {
    background: #ffffff;
    border: 1px solid rgba(19, 44, 73, 0.12);
    border-radius: 1rem;
    box-shadow: 0 18px 38px rgba(12, 29, 52, 0.18);
    margin-top: 0.6rem !important;
    overflow: hidden;
}

.aside .dropdown.w-75 {
    flex: 1 1 auto;
    min-width: 0;
    width: 100% !important;
}

.aside .d-flex.m-0.align-items-center.p-3 .dropdown > .dropdown-menu {
    background: linear-gradient(180deg, rgba(46, 53, 59, 0.98) 0%, rgba(31, 36, 41, 0.99) 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.95rem;
    box-shadow: 0 16px 34px rgba(7, 17, 31, 0.3);
    margin-top: 0.5rem !important;
    max-width: 100%;
    min-width: 100%;
    overflow: visible;
    padding: 0.35rem;
}

.aside .d-flex.m-0.align-items-center.p-3 .dropdown > .dropdown-menu.dropdown-menu-arrow::before {
    border-bottom-color: rgba(255, 255, 255, 0.12);
}

.aside .d-flex.m-0.align-items-center.p-3 .dropdown > .dropdown-menu.dropdown-menu-arrow::after {
    border-bottom-color: rgba(43, 49, 55, 0.98);
}

.aside .d-flex.m-0.align-items-center.p-3 .dropdown > .dropdown-menu .nav-item {
    list-style: none;
    margin: 0;
}

.aside .d-flex.m-0.align-items-center.p-3 .dropdown > .dropdown-menu .dropdown-divider {
    border-top-color: rgba(255, 255, 255, 0.08);
    margin: 0.35rem 0;
}

.aside .d-flex.m-0.align-items-center.p-3 .dropdown > .dropdown-menu .dropdown-item,
.aside .d-flex.m-0.align-items-center.p-3 .dropdown > .dropdown-menu .nav-item > a {
    align-items: center;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 0.72rem;
    color: var(--erp-sidebar-text) !important;
    display: flex;
    font-size: 0.9rem;
    font-weight: 600;
    gap: 0.55rem;
    line-height: 1.2;
    min-height: 2.45rem;
    padding: 0.58rem 0.7rem !important;
    text-decoration: none !important;
    transition: background-color 120ms ease, border-color 120ms ease, color 120ms ease, box-shadow 120ms ease;
}

.aside .d-flex.m-0.align-items-center.p-3 .dropdown > .dropdown-menu .dropdown-item svg,
.aside .d-flex.m-0.align-items-center.p-3 .dropdown > .dropdown-menu .nav-item > a svg {
    color: rgba(225, 236, 251, 0.84);
    flex: 0 0 auto;
    opacity: 0.9;
}

.aside .d-flex.m-0.align-items-center.p-3 .dropdown > .dropdown-menu .dropdown-item .me-2,
.aside .d-flex.m-0.align-items-center.p-3 .dropdown > .dropdown-menu .nav-item > a .me-2 {
    margin-right: 0 !important;
}

.aside .d-flex.m-0.align-items-center.p-3 .dropdown > .dropdown-menu .dropdown-item span,
.aside .d-flex.m-0.align-items-center.p-3 .dropdown > .dropdown-menu .nav-item > a span {
    margin-right: 0 !important;
}

.aside .d-flex.m-0.align-items-center.p-3 .dropdown > .dropdown-menu .dropdown-item:hover,
.aside .d-flex.m-0.align-items-center.p-3 .dropdown > .dropdown-menu .dropdown-item:focus,
.aside .d-flex.m-0.align-items-center.p-3 .dropdown > .dropdown-menu .nav-item > a:hover,
.aside .d-flex.m-0.align-items-center.p-3 .dropdown > .dropdown-menu .nav-item > a:focus {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.035) 100%);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: none;
    color: #ffffff !important;
    transform: none;
}

.aside .d-flex.m-0.align-items-center.p-3 .dropdown > .dropdown-menu .nav-item.active > a {
    background: linear-gradient(180deg, rgba(24, 165, 188, 0.14) 0%, rgba(24, 165, 188, 0.08) 100%);
    border-color: rgba(77, 189, 208, 0.22);
    box-shadow: inset 2px 0 0 var(--erp-sidebar-accent);
    color: #ffffff !important;
}

.aside .d-flex.m-0.align-items-center.p-3 .dropdown > .dropdown-menu .nav-item.active > a svg {
    color: #b9f5ff !important;
}

.aside .d-flex.m-0.align-items-center.p-3 .dropdown > .dropdown-menu .dropdown-item.disabled,
.aside .d-flex.m-0.align-items-center.p-3 .dropdown > .dropdown-menu .dropdown-item:disabled,
.aside .d-flex.m-0.align-items-center.p-3 .dropdown > .dropdown-menu .nav-item.disabled > a,
.aside .d-flex.m-0.align-items-center.p-3 .dropdown > .dropdown-menu .nav-item > a[disabled] {
    background: linear-gradient(180deg, rgba(224, 243, 247, 0.14) 0%, rgba(184, 231, 239, 0.1) 100%);
    border-color: rgba(94, 188, 204, 0.18);
    box-shadow: none;
    color: rgba(229, 240, 245, 0.82) !important;
    opacity: 1;
    pointer-events: none;
}

.aside .d-flex.m-0.align-items-center.p-3 .dropdown > .dropdown-menu .dropdown-item.disabled svg,
.aside .d-flex.m-0.align-items-center.p-3 .dropdown > .dropdown-menu .dropdown-item:disabled svg,
.aside .d-flex.m-0.align-items-center.p-3 .dropdown > .dropdown-menu .nav-item.disabled > a svg,
.aside .d-flex.m-0.align-items-center.p-3 .dropdown > .dropdown-menu .nav-item > a[disabled] svg {
    color: rgba(181, 240, 251, 0.8) !important;
    opacity: 1;
}

.aside .d-flex.m-0.align-items-center.p-3 .dropdown > .dropdown-menu .dropdown-item.disabled span,
.aside .d-flex.m-0.align-items-center.p-3 .dropdown > .dropdown-menu .dropdown-item:disabled span,
.aside .d-flex.m-0.align-items-center.p-3 .dropdown > .dropdown-menu .nav-item.disabled > a span,
.aside .d-flex.m-0.align-items-center.p-3 .dropdown > .dropdown-menu .nav-item > a[disabled] span {
    color: inherit !important;
}

.aside .d-flex.m-0.align-items-center.p-3 {
    align-items: center !important;
    gap: 0.55rem;
    padding: 0.7rem 0.45rem 0.45rem !important;
}

.aside .dropdown > .nav-link {
    align-items: center;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.055) 0%, rgba(255, 255, 255, 0.025) 100%);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 0.95rem;
    gap: 0.7rem;
    min-height: 4.05rem;
    padding: 0.8rem 0.85rem !important;
    width: 100%;
}

.aside .dropdown > .nav-link > .d-block.small {
    display: grid !important;
    gap: 0.18rem;
    min-width: 0;
}

.aside .dropdown > .nav-link .text-ellipsis[style] {
    max-width: none !important;
}

.aside .dropdown > .nav-link .text-white.text-ellipsis,
.aside .dropdown > .nav-link .text-ellipsis.text-white {
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    line-height: 1.15;
}

.aside .dropdown > .nav-link .text-muted.d-block.text-ellipsis {
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.15;
}

.aside .dropdown > .nav-link:hover,
.aside .dropdown > .nav-link:focus {
    background: linear-gradient(180deg, rgba(24, 165, 188, 0.18) 0%, rgba(24, 165, 188, 0.08) 100%);
    border-color: rgba(70, 179, 197, 0.24);
}

.aside .thumb-sm.avatar {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.08) 100%);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    box-shadow: 0 8px 16px rgba(6, 17, 31, 0.16);
    display: inline-flex;
    flex: 0 0 auto;
    height: 2.55rem;
    justify-content: center;
    overflow: hidden;
    width: 2.55rem;
}

.aside .thumb-sm.avatar img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.aside .dropdown > .nav-link .text-white,
.aside .dropdown > .nav-link .small {
    color: var(--erp-sidebar-text) !important;
}

.aside .dropdown > .nav-link .text-muted {
    color: var(--erp-sidebar-muted) !important;
}

.aside [data-turbolinks-permanent] {
    flex: 0 0 auto;
    margin-left: 0 !important;
    padding-right: 0.15rem;
}

.aside .d-flex.m-0.align-items-center.p-3 > [data-turbolinks-permanent] {
    display: none !important;
}

.aside [data-controller="notification"] {
    align-items: center;
    border-radius: 999px;
    color: rgba(238, 245, 255, 0.9) !important;
    display: inline-flex;
    height: 2.2rem;
    justify-content: center;
    min-width: 2.2rem;
    transition: background-color 120ms ease, color 120ms ease, transform 120ms ease;
}

.aside [data-controller="notification"]:hover,
.aside [data-controller="notification"]:focus {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff !important;
    transform: translateY(-1px);
}

.aside .nav.flex-column {
    gap: 0.15rem;
}

.aside .nav-item > small.text-muted {
    color: var(--erp-sidebar-section) !important;
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    margin: 0.85rem 0 0.35rem !important;
    padding: 0 0.25rem;
    text-transform: none;
}

.aside .nav-item > a {
    align-items: center;
    border: 1px solid transparent;
    border-radius: 0.8rem;
    color: rgba(238, 245, 255, 0.92) !important;
    display: flex;
    font-size: 0.94rem;
    font-weight: 700;
    gap: 0.6rem;
    margin: 0;
    min-height: 2.55rem;
    padding: 0.58rem 0.72rem 0.58rem 0.68rem !important;
    text-decoration: none !important;
    transition: background-color 120ms ease, border-color 120ms ease, transform 120ms ease, color 120ms ease, box-shadow 120ms ease;
}

.aside .nav-item > a .icon {
    color: rgba(225, 236, 251, 0.88);
    flex: 0 0 auto;
    font-size: 0.92rem;
}

.aside .nav-item > a:hover,
.aside .nav-item > a:focus {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.04) 100%);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 18px rgba(7, 17, 31, 0.14);
    color: #ffffff !important;
    transform: translateX(1px);
}

.aside .nav-item.active > a,
.aside .sub-menu .nav-item.active > a {
    background:
        linear-gradient(180deg, var(--erp-sidebar-active-start) 0%, var(--erp-sidebar-active-end) 100%),
        linear-gradient(90deg, var(--erp-sidebar-accent) 0%, var(--erp-sidebar-accent-strong) 100%);
    border-color: rgba(77, 189, 208, 0.26);
    box-shadow:
        inset 2px 0 0 var(--erp-sidebar-accent),
        0 10px 20px rgba(5, 15, 29, 0.2);
    color: #ffffff !important;
}

.aside .nav-item.active > a .icon,
.aside .sub-menu .nav-item.active > a .icon {
    color: #b9f5ff !important;
}

.aside .nav-item > a b.badge {
    background: linear-gradient(180deg, #21a9bf 0%, #147e95 100%) !important;
    border: 0 !important;
    border-radius: 999px;
    box-shadow: 0 6px 14px rgba(20, 126, 149, 0.2);
    color: #ffffff !important;
    font-size: 0.72rem;
    font-weight: 800;
    min-width: 1.45rem;
    padding: 0.28rem 0.42rem;
}

.aside .sub-menu {
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    margin: 0.2rem 0 0.35rem 1.05rem;
    padding-left: 0.5rem !important;
}

.aside .sub-menu .nav-item > a {
    color: rgba(219, 231, 246, 0.78) !important;
    font-size: 0.88rem;
    font-weight: 600;
    min-height: 2.3rem;
    padding-left: 0.55rem !important;
}

.aside .divider {
    border-color: rgba(146, 178, 214, 0.12) !important;
}

.aside .to-top {
    color: rgba(219, 231, 246, 0.72);
}

.aside .to-top:hover,
.aside .to-top:focus {
    color: #ffffff;
}

.aside footer,
.aside footer p,
.aside footer a {
    color: rgba(201, 215, 232, 0.66) !important;
}

.aside footer a:hover,
.aside footer a:focus {
    color: #ffffff !important;
}

@media (min-width: 768px) {
    .aside.col-md-2 {
        flex: 0 0 17.25rem;
        max-width: 17.25rem;
    }
}

@media (max-width: 767.98px) {
    .aside {
        min-height: auto;
    }

    .aside #headerMenuCollapse {
        padding-bottom: 1rem;
    }
}

body.page-platform-metrics .container-md {
    max-width: 100% !important;
    width: 100%;
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
}

body.page-platform-metrics .screen-actions .btn {
    border-radius: 999px;
}

body.page-platform-metrics .screen-actions .erp-metrics-year-chip {
    background: linear-gradient(180deg, #e9448e 0%, #c61a62 100%) !important;
    border: 1px solid #c31f64 !important;
    box-shadow: 0 10px 22px rgba(198, 26, 98, 0.18);
    color: #ffffff !important;
    font-weight: 800;
    opacity: 1 !important;
    padding: 0.55rem 1rem !important;
}

body.page-platform-metrics .erp-metrics-summary {
    background: linear-gradient(135deg, #fdf8ff 0%, #fff6fb 100%);
    border: 1px solid #ecd9e8;
    border-radius: 1.2rem;
    box-shadow: 0 14px 30px rgba(132, 51, 94, 0.08);
    margin: 0 0 1rem;
    padding: 1.3rem;
}

body.page-platform-metrics .erp-metrics-summary__hero {
    align-items: flex-start;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-bottom: 1rem;
}

body.page-platform-metrics .erp-metrics-summary__eyebrow,
body.page-platform-metrics .erp-section-heading__eyebrow {
    color: #95657c;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin: 0 0 0.35rem;
    text-transform: uppercase;
}

body.page-platform-metrics .erp-metrics-summary__title {
    color: #4f2438;
    font-size: 1.9rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0;
}

body.page-platform-metrics .erp-metrics-summary__description,
body.page-platform-metrics .erp-section-heading__description {
    color: #7c6170;
    font-size: 0.98rem;
    line-height: 1.55;
    margin: 0.55rem 0 0;
    max-width: 52rem;
}

body.page-platform-metrics .erp-metrics-summary__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 0.9rem;
}

body.page-platform-metrics .erp-status-pill {
    border-radius: 999px;
    display: inline-flex;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    padding: 0.52rem 0.85rem;
    text-transform: uppercase;
}

body.page-platform-metrics .erp-status-pill--success {
    background: #dff5e9;
    border: 1px solid #afdcc2;
    color: #196240;
}

body.page-platform-metrics .erp-status-pill--warning {
    background: #fff1cf;
    border: 1px solid #f3d178;
    color: #7b5b00;
}

body.page-platform-metrics .erp-status-pill--neutral {
    background: #edf1f7;
    border: 1px solid #cfd8e8;
    color: #51647d;
}

body.page-platform-metrics .erp-metrics-summary__metrics,
body.page-platform-metrics .erp-metrics-summary__grid {
    display: grid;
    gap: 0.85rem;
}

body.page-platform-metrics .erp-metrics-summary__metrics {
    grid-template-columns: repeat(4, minmax(8rem, 1fr));
    min-width: min(100%, 34rem);
}

body.page-platform-metrics .erp-summary-metric,
body.page-platform-metrics .erp-summary-card {
    background: #ffffff;
    border: 1px solid #ecd9e8;
    border-radius: 1rem;
    box-shadow: 0 12px 28px rgba(132, 51, 94, 0.05);
    padding: 0.95rem 1rem;
}

body.page-platform-metrics .erp-summary-metric span,
body.page-platform-metrics .erp-summary-card__label {
    color: #8d6e7f;
    display: block;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    margin-bottom: 0.3rem;
    text-transform: uppercase;
}

body.page-platform-metrics .erp-summary-metric strong,
body.page-platform-metrics .erp-summary-card__value {
    color: #4f2438;
    display: block;
    font-size: 1.06rem;
    font-weight: 800;
}

body.page-platform-metrics .erp-metrics-summary__grid {
    grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
}

body.page-platform-metrics .erp-metrics-section-heading {
    margin: 1.2rem 0 0.75rem;
}

body.page-platform-metrics .erp-section-heading__title {
    color: #4f2438;
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0;
}

body.page-platform-metrics .layout-rows {
    background: #ffffff;
    border: 1px solid #ecd9e8;
    border-radius: 1rem;
    box-shadow: 0 12px 28px rgba(132, 51, 94, 0.05);
    margin-bottom: 1rem;
    padding: 1rem 1.1rem 0.25rem;
}

body.page-platform-metrics .layout-rows legend {
    color: #8f6378;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
}

body.page-platform-metrics .layout-rows .input-group {
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 0.85rem;
}

body.page-platform-metrics .layout-rows .form-control,
body.page-platform-metrics .layout-rows .form-select {
    border: 1px solid #e5d6df;
    border-radius: 0.9rem;
    min-height: 2.9rem;
}

body.page-platform-metrics .layout-rows .btn-primary {
    background: linear-gradient(180deg, #db2f7f 0%, #be1d63 100%);
    border: 1px solid #be1d63;
    border-radius: 999px;
    box-shadow: 0 10px 22px rgba(190, 29, 99, 0.16);
    color: #ffffff;
    font-weight: 800;
    min-height: 2.9rem;
    padding: 0.68rem 1.15rem;
}

body.page-platform-metrics .layout-rows .btn-primary:hover,
body.page-platform-metrics .layout-rows .btn-primary:focus {
    background: linear-gradient(180deg, #e44a92 0%, #c32369 100%);
    color: #ffffff;
}

body.page-platform-metrics .erp-metrics-filter-year.form-control {
    background: linear-gradient(180deg, #f7d0e0 0%, #f0c1d6 100%) !important;
    color: #7f3254 !important;
    font-weight: 800;
    max-width: 6rem;
    text-align: center;
}

body.page-platform-metrics .erp-metrics-balance-card,
body.page-platform-metrics .erp-metrics-chart-card,
body.page-platform-metrics [data-controller="chart"] > .bg-white.rounded.shadow-sm.mb-3.pt-3 {
    background: #ffffff;
    border: 1px solid #ecd9e8;
    border-radius: 1rem;
    box-shadow: 0 12px 28px rgba(132, 51, 94, 0.05);
    overflow: hidden;
}

body.page-platform-metrics .erp-metrics-balance-card__header,
body.page-platform-metrics .erp-metrics-chart-card__header {
    border-bottom: 1px solid #f3e7ee;
    padding: 1rem 1.1rem 0.9rem;
}

body.page-platform-metrics .erp-metrics-balance-card__title,
body.page-platform-metrics .erp-metrics-chart-card__title,
body.page-platform-metrics [data-controller="chart"] legend small {
    color: #5d2f44;
    font-size: 1rem;
    font-weight: 800;
    margin: 0;
}

body.page-platform-metrics .erp-metrics-chart-card__description,
body.page-platform-metrics [data-controller="chart"] legend p {
    color: #7f6674 !important;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-top: 0.35rem !important;
}

body.page-platform-metrics .erp-metrics-chart-card__canvas {
    padding: 1rem 1.1rem 1.15rem;
}

body.page-platform-metrics [data-controller="chart"] > .bg-white.rounded.shadow-sm.mb-3.pt-3 {
    padding-top: 0 !important;
}

body.page-platform-metrics [data-controller="chart"] > .bg-white.rounded.shadow-sm.mb-3.pt-3 .d-flex.px-3.align-items-center {
    border-bottom: 1px solid #f3e7ee;
    padding: 1rem 1.1rem 0.9rem !important;
}

body.page-platform-metrics [data-controller="chart"] figure {
    min-height: 23rem;
    padding: 0.5rem 1rem 1rem !important;
}

body.page-platform-metrics .erp-metrics-balance-table {
    margin-bottom: 0;
}

body.page-platform-metrics .erp-metrics-balance-table th {
    background: #fff8fb;
    border-bottom-width: 1px;
    color: #8d6e7f;
    font-size: 0.77rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    white-space: nowrap;
}

body.page-platform-metrics .erp-metrics-balance-table td,
body.page-platform-metrics .erp-metrics-balance-table th {
    padding-left: 0.9rem;
    padding-right: 0.9rem;
    vertical-align: middle;
}

body.page-platform-metrics .erp-metrics-balance-table tbody tr:hover {
    background: #fffdfd;
}

body.page-platform-metrics .table-responsive {
    background: #ffffff;
    border: 1px solid #ecd9e8;
    border-radius: 1rem;
    box-shadow: 0 12px 28px rgba(132, 51, 94, 0.05);
    margin-bottom: 1rem;
    overflow-x: auto;
    overflow-y: visible;
}

body.page-platform-metrics .table-responsive > .table {
    margin-bottom: 0;
    min-width: 100%;
    table-layout: auto;
    width: 100% !important;
}

body.page-platform-metrics .table-responsive > .table thead th {
    background: #fff8fb;
    border-bottom-width: 1px;
    color: #8d6e7f;
    font-size: 0.77rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    white-space: nowrap;
}

body.page-platform-metrics .table-responsive > .table td,
body.page-platform-metrics .table-responsive > .table th {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
    vertical-align: middle;
}

body.page-platform-metrics .table-responsive > .table tbody tr:hover {
    background: #fffdfd;
}

@media (max-width: 1199.98px) {
    body.page-platform-metrics .erp-metrics-summary__hero {
        flex-direction: column;
    }

    body.page-platform-metrics .erp-metrics-summary__metrics {
        grid-template-columns: repeat(2, minmax(8rem, 1fr));
        min-width: 100%;
    }
}

@media (max-width: 767.98px) {
    body.page-platform-metrics .container-md {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    body.page-platform-metrics .erp-metrics-summary__metrics,
    body.page-platform-metrics .erp-metrics-summary__grid {
        grid-template-columns: 1fr;
    }
}

/* PCN notifications module restyle */
body.page-platform-pcnnotification-list,
body.page-platform-pcnnotificationsltb-list,
body.page-platform-pcnnotificationslts-list,
body.page-platform-pcnnotificationsobsolete-list,
body.page-platform-pcnnotifications-searchpn,
body.page-platform-pcnnotification-edit {
    --erp-primary-pill-start: #248d96;
    --erp-primary-pill-end: #176d76;
    --erp-primary-pill-border: #1a7680;
    --erp-primary-pill-text: #ffffff;
    --erp-primary-pill-text-shadow: 0 1px 0 rgba(20, 52, 58, 0.2);
    --erp-primary-pill-hover-start: #31a0aa;
    --erp-primary-pill-hover-end: #1d7d86;
    --erp-primary-pill-hover-border: #1a7680;
    --erp-top-actions-shell-glow: rgba(26, 118, 128, 0.13);
    --erp-top-actions-shell-start: #f4fbfb;
    --erp-top-actions-shell-mid: #ffffff;
    --erp-top-actions-shell-end: #e1f0f1;
    --erp-top-actions-shell-border: #cfe2e4;
    --erp-top-actions-shell-shadow: rgba(24, 83, 89, 0.08);
}

body.page-platform-pcnnotification-list .screen-actions,
body.page-platform-pcnnotificationsltb-list .screen-actions,
body.page-platform-pcnnotificationslts-list .screen-actions,
body.page-platform-pcnnotificationsobsolete-list .screen-actions,
body.page-platform-pcnnotifications-searchpn .screen-actions,
body.page-platform-pcnnotification-edit .screen-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-bottom: 1rem;
}

body.page-platform-pcnnotification-list .screen-actions .btn,
body.page-platform-pcnnotificationsltb-list .screen-actions .btn,
body.page-platform-pcnnotificationslts-list .screen-actions .btn,
body.page-platform-pcnnotificationsobsolete-list .screen-actions .btn,
body.page-platform-pcnnotifications-searchpn .screen-actions .btn,
body.page-platform-pcnnotification-edit .screen-actions .btn {
    align-items: center;
    background: linear-gradient(180deg, #248d96 0%, #176d76 100%);
    border: 0;
    border-radius: 0.95rem;
    box-shadow: 0 12px 24px rgba(23, 109, 118, 0.18);
    color: #ffffff;
    display: inline-flex;
    font-weight: 800;
    gap: 0.45rem;
    min-height: 2.9rem;
    padding: 0.75rem 1rem;
    text-decoration: none;
}

body.page-platform-pcnnotification-list .screen-actions .btn:hover,
body.page-platform-pcnnotification-list .screen-actions .btn:focus,
body.page-platform-pcnnotificationsltb-list .screen-actions .btn:hover,
body.page-platform-pcnnotificationsltb-list .screen-actions .btn:focus,
body.page-platform-pcnnotificationslts-list .screen-actions .btn:hover,
body.page-platform-pcnnotificationslts-list .screen-actions .btn:focus,
body.page-platform-pcnnotificationsobsolete-list .screen-actions .btn:hover,
body.page-platform-pcnnotificationsobsolete-list .screen-actions .btn:focus,
body.page-platform-pcnnotifications-searchpn .screen-actions .btn:hover,
body.page-platform-pcnnotifications-searchpn .screen-actions .btn:focus,
body.page-platform-pcnnotification-edit .screen-actions .btn:hover,
body.page-platform-pcnnotification-edit .screen-actions .btn:focus {
    background: linear-gradient(180deg, #2ca0aa 0%, #1d7d86 100%);
    color: #ffffff;
}

body.page-platform-pcnnotification-list fieldset[data-async] > .bg-white.rounded.shadow-sm,
body.page-platform-pcnnotificationsltb-list fieldset[data-async] > .bg-white.rounded.shadow-sm,
body.page-platform-pcnnotificationslts-list fieldset[data-async] > .bg-white.rounded.shadow-sm,
body.page-platform-pcnnotificationsobsolete-list fieldset[data-async] > .bg-white.rounded.shadow-sm,
body.page-platform-pcnnotifications-searchpn fieldset[data-async] > .bg-white.rounded.shadow-sm {
    background:
        radial-gradient(circle at top right, rgba(36, 141, 150, 0.12), transparent 26%),
        linear-gradient(135deg, #f6fbfb 0%, #ffffff 58%, #eef7f6 100%);
    border: 1px solid #d8e7e5;
    border-radius: 1.1rem;
    box-shadow: 0 14px 30px rgba(24, 72, 80, 0.06);
    margin-bottom: 1rem;
    padding: 1rem 1rem 0.2rem;
}

body.page-platform-pcnnotification-list fieldset[data-async] > .bg-white.rounded.shadow-sm .btn-info,
body.page-platform-pcnnotification-list fieldset[data-async] > .bg-white.rounded.shadow-sm .btn-success,
body.page-platform-pcnnotification-list fieldset[data-async] > .bg-white.rounded.shadow-sm .btn-warning,
body.page-platform-pcnnotification-list fieldset[data-async] > .bg-white.rounded.shadow-sm .btn-danger,
body.page-platform-pcnnotificationsltb-list fieldset[data-async] > .bg-white.rounded.shadow-sm .btn-info,
body.page-platform-pcnnotificationsltb-list fieldset[data-async] > .bg-white.rounded.shadow-sm .btn-success,
body.page-platform-pcnnotificationsltb-list fieldset[data-async] > .bg-white.rounded.shadow-sm .btn-warning,
body.page-platform-pcnnotificationsltb-list fieldset[data-async] > .bg-white.rounded.shadow-sm .btn-danger,
body.page-platform-pcnnotificationslts-list fieldset[data-async] > .bg-white.rounded.shadow-sm .btn-info,
body.page-platform-pcnnotificationslts-list fieldset[data-async] > .bg-white.rounded.shadow-sm .btn-success,
body.page-platform-pcnnotificationslts-list fieldset[data-async] > .bg-white.rounded.shadow-sm .btn-warning,
body.page-platform-pcnnotificationslts-list fieldset[data-async] > .bg-white.rounded.shadow-sm .btn-danger,
body.page-platform-pcnnotificationsobsolete-list fieldset[data-async] > .bg-white.rounded.shadow-sm .btn-info,
body.page-platform-pcnnotificationsobsolete-list fieldset[data-async] > .bg-white.rounded.shadow-sm .btn-success,
body.page-platform-pcnnotificationsobsolete-list fieldset[data-async] > .bg-white.rounded.shadow-sm .btn-warning,
body.page-platform-pcnnotificationsobsolete-list fieldset[data-async] > .bg-white.rounded.shadow-sm .btn-danger,
body.page-platform-pcnnotifications-searchpn fieldset[data-async] > .bg-white.rounded.shadow-sm .btn-info,
body.page-platform-pcnnotifications-searchpn fieldset[data-async] > .bg-white.rounded.shadow-sm .btn-success,
body.page-platform-pcnnotifications-searchpn fieldset[data-async] > .bg-white.rounded.shadow-sm .btn-warning,
body.page-platform-pcnnotifications-searchpn fieldset[data-async] > .bg-white.rounded.shadow-sm .btn-danger {
    border-radius: 999px;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06);
    font-weight: 800;
    min-height: 2.7rem;
    padding: 0.7rem 1rem;
    text-decoration: none;
}

body.page-platform-pcnnotification-list fieldset[data-async] > .bg-white.rounded.shadow-sm .btn-info,
body.page-platform-pcnnotificationsltb-list fieldset[data-async] > .bg-white.rounded.shadow-sm .btn-info,
body.page-platform-pcnnotificationslts-list fieldset[data-async] > .bg-white.rounded.shadow-sm .btn-info,
body.page-platform-pcnnotificationsobsolete-list fieldset[data-async] > .bg-white.rounded.shadow-sm .btn-info,
body.page-platform-pcnnotifications-searchpn fieldset[data-async] > .bg-white.rounded.shadow-sm .btn-info {
    background: linear-gradient(180deg, #edf7fb 0%, #ddeff5 100%);
    border: 1px solid #c2dce7;
    color: #1d6176 !important;
    --bs-btn-color: #1d6176;
    --bs-btn-hover-color: #184f60;
    text-shadow: none;
}

body.page-platform-pcnnotification-list fieldset[data-async] > .bg-white.rounded.shadow-sm .btn-success,
body.page-platform-pcnnotificationsltb-list fieldset[data-async] > .bg-white.rounded.shadow-sm .btn-success,
body.page-platform-pcnnotificationslts-list fieldset[data-async] > .bg-white.rounded.shadow-sm .btn-success,
body.page-platform-pcnnotificationsobsolete-list fieldset[data-async] > .bg-white.rounded.shadow-sm .btn-success,
body.page-platform-pcnnotifications-searchpn fieldset[data-async] > .bg-white.rounded.shadow-sm .btn-success {
    background: linear-gradient(180deg, #e9f8ee 0%, #d9f0e1 100%);
    border: 1px solid #b8dec6;
    color: #226846 !important;
    --bs-btn-color: #226846;
    --bs-btn-hover-color: #1d593b;
    text-shadow: none;
}

body.page-platform-pcnnotification-list fieldset[data-async] > .bg-white.rounded.shadow-sm .btn-warning,
body.page-platform-pcnnotificationsltb-list fieldset[data-async] > .bg-white.rounded.shadow-sm .btn-warning,
body.page-platform-pcnnotificationslts-list fieldset[data-async] > .bg-white.rounded.shadow-sm .btn-warning,
body.page-platform-pcnnotificationsobsolete-list fieldset[data-async] > .bg-white.rounded.shadow-sm .btn-warning,
body.page-platform-pcnnotifications-searchpn fieldset[data-async] > .bg-white.rounded.shadow-sm .btn-warning {
    background: linear-gradient(180deg, #fff7df 0%, #fcebc2 100%);
    border: 1px solid #efd38d;
    color: #8a6200 !important;
    --bs-btn-color: #8a6200;
    --bs-btn-hover-color: #735100;
    text-shadow: none;
}

body.page-platform-pcnnotification-list fieldset[data-async] > .bg-white.rounded.shadow-sm .btn-danger,
body.page-platform-pcnnotificationsltb-list fieldset[data-async] > .bg-white.rounded.shadow-sm .btn-danger,
body.page-platform-pcnnotificationslts-list fieldset[data-async] > .bg-white.rounded.shadow-sm .btn-danger,
body.page-platform-pcnnotificationsobsolete-list fieldset[data-async] > .bg-white.rounded.shadow-sm .btn-danger,
body.page-platform-pcnnotifications-searchpn fieldset[data-async] > .bg-white.rounded.shadow-sm .btn-danger {
    background: linear-gradient(180deg, #feeff1 0%, #f8dde2 100%);
    border: 1px solid #ecc0cb;
    color: #a34058 !important;
    --bs-btn-color: #a34058;
    --bs-btn-hover-color: #8c3550;
    text-shadow: none;
}

body.page-platform-pcnnotification-list fieldset[data-async] > .bg-white.rounded.shadow-sm .btn-info:hover,
body.page-platform-pcnnotification-list fieldset[data-async] > .bg-white.rounded.shadow-sm .btn-info:focus,
body.page-platform-pcnnotificationsltb-list fieldset[data-async] > .bg-white.rounded.shadow-sm .btn-info:hover,
body.page-platform-pcnnotificationsltb-list fieldset[data-async] > .bg-white.rounded.shadow-sm .btn-info:focus,
body.page-platform-pcnnotificationslts-list fieldset[data-async] > .bg-white.rounded.shadow-sm .btn-info:hover,
body.page-platform-pcnnotificationslts-list fieldset[data-async] > .bg-white.rounded.shadow-sm .btn-info:focus,
body.page-platform-pcnnotificationsobsolete-list fieldset[data-async] > .bg-white.rounded.shadow-sm .btn-info:hover,
body.page-platform-pcnnotificationsobsolete-list fieldset[data-async] > .bg-white.rounded.shadow-sm .btn-info:focus,
body.page-platform-pcnnotifications-searchpn fieldset[data-async] > .bg-white.rounded.shadow-sm .btn-info:hover,
body.page-platform-pcnnotifications-searchpn fieldset[data-async] > .bg-white.rounded.shadow-sm .btn-info:focus {
    background: linear-gradient(180deg, #f3fbfd 0%, #e8f5fa 100%);
    border-color: #c2dce7;
    color: #184f60 !important;
}

body.page-platform-pcnnotification-list fieldset[data-async] > .bg-white.rounded.shadow-sm .btn-success:hover,
body.page-platform-pcnnotification-list fieldset[data-async] > .bg-white.rounded.shadow-sm .btn-success:focus,
body.page-platform-pcnnotificationsltb-list fieldset[data-async] > .bg-white.rounded.shadow-sm .btn-success:hover,
body.page-platform-pcnnotificationsltb-list fieldset[data-async] > .bg-white.rounded.shadow-sm .btn-success:focus,
body.page-platform-pcnnotificationslts-list fieldset[data-async] > .bg-white.rounded.shadow-sm .btn-success:hover,
body.page-platform-pcnnotificationslts-list fieldset[data-async] > .bg-white.rounded.shadow-sm .btn-success:focus,
body.page-platform-pcnnotificationsobsolete-list fieldset[data-async] > .bg-white.rounded.shadow-sm .btn-success:hover,
body.page-platform-pcnnotificationsobsolete-list fieldset[data-async] > .bg-white.rounded.shadow-sm .btn-success:focus,
body.page-platform-pcnnotifications-searchpn fieldset[data-async] > .bg-white.rounded.shadow-sm .btn-success:hover,
body.page-platform-pcnnotifications-searchpn fieldset[data-async] > .bg-white.rounded.shadow-sm .btn-success:focus {
    background: linear-gradient(180deg, #effaf2 0%, #e4f5ea 100%);
    border-color: #b8dec6;
    color: #1d593b !important;
}

body.page-platform-pcnnotification-list fieldset[data-async] > .bg-white.rounded.shadow-sm .btn-warning:hover,
body.page-platform-pcnnotification-list fieldset[data-async] > .bg-white.rounded.shadow-sm .btn-warning:focus,
body.page-platform-pcnnotificationsltb-list fieldset[data-async] > .bg-white.rounded.shadow-sm .btn-warning:hover,
body.page-platform-pcnnotificationsltb-list fieldset[data-async] > .bg-white.rounded.shadow-sm .btn-warning:focus,
body.page-platform-pcnnotificationslts-list fieldset[data-async] > .bg-white.rounded.shadow-sm .btn-warning:hover,
body.page-platform-pcnnotificationslts-list fieldset[data-async] > .bg-white.rounded.shadow-sm .btn-warning:focus,
body.page-platform-pcnnotificationsobsolete-list fieldset[data-async] > .bg-white.rounded.shadow-sm .btn-warning:hover,
body.page-platform-pcnnotificationsobsolete-list fieldset[data-async] > .bg-white.rounded.shadow-sm .btn-warning:focus,
body.page-platform-pcnnotifications-searchpn fieldset[data-async] > .bg-white.rounded.shadow-sm .btn-warning:hover,
body.page-platform-pcnnotifications-searchpn fieldset[data-async] > .bg-white.rounded.shadow-sm .btn-warning:focus {
    background: linear-gradient(180deg, #fff9e8 0%, #fdefcd 100%);
    border-color: #efd38d;
    color: #735100 !important;
}

body.page-platform-pcnnotification-list fieldset[data-async] > .bg-white.rounded.shadow-sm .btn-danger:hover,
body.page-platform-pcnnotification-list fieldset[data-async] > .bg-white.rounded.shadow-sm .btn-danger:focus,
body.page-platform-pcnnotificationsltb-list fieldset[data-async] > .bg-white.rounded.shadow-sm .btn-danger:hover,
body.page-platform-pcnnotificationsltb-list fieldset[data-async] > .bg-white.rounded.shadow-sm .btn-danger:focus,
body.page-platform-pcnnotificationslts-list fieldset[data-async] > .bg-white.rounded.shadow-sm .btn-danger:hover,
body.page-platform-pcnnotificationslts-list fieldset[data-async] > .bg-white.rounded.shadow-sm .btn-danger:focus,
body.page-platform-pcnnotificationsobsolete-list fieldset[data-async] > .bg-white.rounded.shadow-sm .btn-danger:hover,
body.page-platform-pcnnotificationsobsolete-list fieldset[data-async] > .bg-white.rounded.shadow-sm .btn-danger:focus,
body.page-platform-pcnnotifications-searchpn fieldset[data-async] > .bg-white.rounded.shadow-sm .btn-danger:hover,
body.page-platform-pcnnotifications-searchpn fieldset[data-async] > .bg-white.rounded.shadow-sm .btn-danger:focus {
    background: linear-gradient(180deg, #fff4f6 0%, #fbe7eb 100%);
    border-color: #ecc0cb;
    color: #8c3550 !important;
}

body.page-platform-pcnnotification-list fieldset[data-async] > .bg-white.rounded.shadow-sm .btn-info *,
body.page-platform-pcnnotification-list fieldset[data-async] > .bg-white.rounded.shadow-sm .btn-success *,
body.page-platform-pcnnotification-list fieldset[data-async] > .bg-white.rounded.shadow-sm .btn-warning *,
body.page-platform-pcnnotification-list fieldset[data-async] > .bg-white.rounded.shadow-sm .btn-danger *,
body.page-platform-pcnnotificationsltb-list fieldset[data-async] > .bg-white.rounded.shadow-sm .btn-info *,
body.page-platform-pcnnotificationsltb-list fieldset[data-async] > .bg-white.rounded.shadow-sm .btn-success *,
body.page-platform-pcnnotificationsltb-list fieldset[data-async] > .bg-white.rounded.shadow-sm .btn-warning *,
body.page-platform-pcnnotificationsltb-list fieldset[data-async] > .bg-white.rounded.shadow-sm .btn-danger *,
body.page-platform-pcnnotificationslts-list fieldset[data-async] > .bg-white.rounded.shadow-sm .btn-info *,
body.page-platform-pcnnotificationslts-list fieldset[data-async] > .bg-white.rounded.shadow-sm .btn-success *,
body.page-platform-pcnnotificationslts-list fieldset[data-async] > .bg-white.rounded.shadow-sm .btn-warning *,
body.page-platform-pcnnotificationslts-list fieldset[data-async] > .bg-white.rounded.shadow-sm .btn-danger *,
body.page-platform-pcnnotificationsobsolete-list fieldset[data-async] > .bg-white.rounded.shadow-sm .btn-info *,
body.page-platform-pcnnotificationsobsolete-list fieldset[data-async] > .bg-white.rounded.shadow-sm .btn-success *,
body.page-platform-pcnnotificationsobsolete-list fieldset[data-async] > .bg-white.rounded.shadow-sm .btn-warning *,
body.page-platform-pcnnotificationsobsolete-list fieldset[data-async] > .bg-white.rounded.shadow-sm .btn-danger *,
body.page-platform-pcnnotifications-searchpn fieldset[data-async] > .bg-white.rounded.shadow-sm .btn-info *,
body.page-platform-pcnnotifications-searchpn fieldset[data-async] > .bg-white.rounded.shadow-sm .btn-success *,
body.page-platform-pcnnotifications-searchpn fieldset[data-async] > .bg-white.rounded.shadow-sm .btn-warning *,
body.page-platform-pcnnotifications-searchpn fieldset[data-async] > .bg-white.rounded.shadow-sm .btn-danger * {
    color: inherit !important;
}

body.page-platform-pcnnotification-list fieldset[data-async] > .bg-white.rounded.shadow-sm .btn-info,
body.page-platform-pcnnotificationsltb-list fieldset[data-async] > .bg-white.rounded.shadow-sm .btn-success,
body.page-platform-pcnnotificationslts-list fieldset[data-async] > .bg-white.rounded.shadow-sm .btn-warning,
body.page-platform-pcnnotificationsobsolete-list fieldset[data-async] > .bg-white.rounded.shadow-sm .btn-danger {
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.14);
    position: relative;
    transform: translateY(-1px);
}

body.page-platform-pcnnotification-list fieldset[data-async] > .bg-white.rounded.shadow-sm .btn-info {
    background: linear-gradient(180deg, #23a2bd 0%, #167f98 100%);
    border-color: #157d95;
    color: #ffffff !important;
    --bs-btn-color: #ffffff;
    --bs-btn-hover-color: #ffffff;
    text-shadow: 0 1px 0 rgba(19, 66, 77, 0.22);
}

body.page-platform-pcnnotificationsltb-list fieldset[data-async] > .bg-white.rounded.shadow-sm .btn-success {
    background: linear-gradient(180deg, #3aaf68 0%, #27834b 100%);
    border-color: #257d48;
    color: #ffffff !important;
    --bs-btn-color: #ffffff;
    --bs-btn-hover-color: #ffffff;
    text-shadow: 0 1px 0 rgba(28, 74, 45, 0.2);
}

body.page-platform-pcnnotificationslts-list fieldset[data-async] > .bg-white.rounded.shadow-sm .btn-warning {
    background: linear-gradient(180deg, #f2be38 0%, #dd9d14 100%);
    border-color: #d19214;
    color: #553700 !important;
    --bs-btn-color: #553700;
    --bs-btn-hover-color: #4a3000;
    text-shadow: none;
}

body.page-platform-pcnnotificationsobsolete-list fieldset[data-async] > .bg-white.rounded.shadow-sm .btn-danger {
    background: linear-gradient(180deg, #cf5f70 0%, #b34152 100%);
    border-color: #ac4252;
    color: #ffffff !important;
    --bs-btn-color: #ffffff;
    --bs-btn-hover-color: #ffffff;
    text-shadow: 0 1px 0 rgba(82, 28, 38, 0.22);
}

body.page-platform-pcnnotification-list fieldset[data-async] > .bg-white.rounded.shadow-sm .btn-info:hover,
body.page-platform-pcnnotification-list fieldset[data-async] > .bg-white.rounded.shadow-sm .btn-info:focus {
    background: linear-gradient(180deg, #2db1cb 0%, #1b8aa3 100%);
    border-color: #157d95;
    color: #ffffff !important;
}

body.page-platform-pcnnotificationsltb-list fieldset[data-async] > .bg-white.rounded.shadow-sm .btn-success:hover,
body.page-platform-pcnnotificationsltb-list fieldset[data-async] > .bg-white.rounded.shadow-sm .btn-success:focus {
    background: linear-gradient(180deg, #46ba74 0%, #2d8d53 100%);
    border-color: #257d48;
    color: #ffffff !important;
}

body.page-platform-pcnnotificationslts-list fieldset[data-async] > .bg-white.rounded.shadow-sm .btn-warning:hover,
body.page-platform-pcnnotificationslts-list fieldset[data-async] > .bg-white.rounded.shadow-sm .btn-warning:focus {
    background: linear-gradient(180deg, #f5c84e 0%, #e4a723 100%);
    border-color: #d19214;
    color: #4a3000 !important;
}

body.page-platform-pcnnotificationsobsolete-list fieldset[data-async] > .bg-white.rounded.shadow-sm .btn-danger:hover,
body.page-platform-pcnnotificationsobsolete-list fieldset[data-async] > .bg-white.rounded.shadow-sm .btn-danger:focus {
    background: linear-gradient(180deg, #d96d7d 0%, #bd4d5d 100%);
    border-color: #ac4252;
    color: #ffffff !important;
}

body.page-platform-pcnnotification-list .table-responsive,
body.page-platform-pcnnotificationsltb-list .table-responsive,
body.page-platform-pcnnotificationslts-list .table-responsive,
body.page-platform-pcnnotificationsobsolete-list .table-responsive,
body.page-platform-pcnnotifications-searchpn .table-responsive {
    background: #ffffff;
    border: 1px solid #d8e7e5;
    border-radius: 1.1rem;
    box-shadow: 0 14px 30px rgba(24, 72, 80, 0.06);
    margin-bottom: 1rem;
    overflow-x: auto;
    overflow-y: visible;
}

body.page-platform-pcnnotification-list [data-controller="table"],
body.page-platform-pcnnotificationsltb-list [data-controller="table"],
body.page-platform-pcnnotificationslts-list [data-controller="table"],
body.page-platform-pcnnotificationsobsolete-list [data-controller="table"],
body.page-platform-pcnnotifications-searchpn [data-controller="table"] {
    background: #ffffff;
    border: 1px solid #d8e7e5;
    border-radius: 1.1rem;
    box-shadow: 0 14px 30px rgba(24, 72, 80, 0.06);
    overflow: visible;
}

body.page-platform-pcnnotification-list [data-controller="table"] .table-responsive,
body.page-platform-pcnnotificationsltb-list [data-controller="table"] .table-responsive,
body.page-platform-pcnnotificationslts-list [data-controller="table"] .table-responsive,
body.page-platform-pcnnotificationsobsolete-list [data-controller="table"] .table-responsive,
body.page-platform-pcnnotifications-searchpn [data-controller="table"] .table-responsive {
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    margin-bottom: 0;
}

body.page-platform-pcnnotification-list [data-controller="table"] footer,
body.page-platform-pcnnotificationsltb-list [data-controller="table"] footer,
body.page-platform-pcnnotificationslts-list [data-controller="table"] footer,
body.page-platform-pcnnotificationsobsolete-list [data-controller="table"] footer,
body.page-platform-pcnnotifications-searchpn [data-controller="table"] footer {
    background: linear-gradient(180deg, #ffffff 0%, #f8fcfb 100%);
    border-top: 1px solid #e3eeec;
    padding-bottom: 0.95rem !important;
    padding-top: 0.95rem !important;
}

body.page-platform-pcnnotification-list .table-responsive > .table,
body.page-platform-pcnnotificationsltb-list .table-responsive > .table,
body.page-platform-pcnnotificationslts-list .table-responsive > .table,
body.page-platform-pcnnotificationsobsolete-list .table-responsive > .table,
body.page-platform-pcnnotifications-searchpn .table-responsive > .table {
    margin-bottom: 0;
    min-width: 100%;
    table-layout: auto;
    width: 100% !important;
}

body.page-platform-pcnnotification-list .table-responsive > .table thead th,
body.page-platform-pcnnotificationsltb-list .table-responsive > .table thead th,
body.page-platform-pcnnotificationslts-list .table-responsive > .table thead th,
body.page-platform-pcnnotificationsobsolete-list .table-responsive > .table thead th,
body.page-platform-pcnnotifications-searchpn .table-responsive > .table thead th {
    background: #f5faf9;
    border-bottom-width: 1px;
    color: #658187;
    font-size: 0.77rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    white-space: nowrap;
}

body.page-platform-pcnnotification-list .table-responsive > .table td,
body.page-platform-pcnnotification-list .table-responsive > .table th,
body.page-platform-pcnnotificationsltb-list .table-responsive > .table td,
body.page-platform-pcnnotificationsltb-list .table-responsive > .table th,
body.page-platform-pcnnotificationslts-list .table-responsive > .table td,
body.page-platform-pcnnotificationslts-list .table-responsive > .table th,
body.page-platform-pcnnotificationsobsolete-list .table-responsive > .table td,
body.page-platform-pcnnotificationsobsolete-list .table-responsive > .table th,
body.page-platform-pcnnotifications-searchpn .table-responsive > .table td,
body.page-platform-pcnnotifications-searchpn .table-responsive > .table th {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
    vertical-align: middle;
}

body.page-platform-pcnnotification-list .table-responsive > .table tbody tr:hover,
body.page-platform-pcnnotificationsltb-list .table-responsive > .table tbody tr:hover,
body.page-platform-pcnnotificationslts-list .table-responsive > .table tbody tr:hover,
body.page-platform-pcnnotificationsobsolete-list .table-responsive > .table tbody tr:hover,
body.page-platform-pcnnotifications-searchpn .table-responsive > .table tbody tr:hover {
    background: #fbfefe;
}

body.page-platform-pcnnotification-list .table-responsive a:not(.btn):not(.dropdown-item),
body.page-platform-pcnnotificationsltb-list .table-responsive a:not(.btn):not(.dropdown-item),
body.page-platform-pcnnotificationslts-list .table-responsive a:not(.btn):not(.dropdown-item),
body.page-platform-pcnnotificationsobsolete-list .table-responsive a:not(.btn):not(.dropdown-item),
body.page-platform-pcnnotifications-searchpn .table-responsive a:not(.btn):not(.dropdown-item) {
    color: #186f79;
    font-weight: 700;
    text-decoration: none;
}

body.page-platform-pcnnotification-list .table-responsive a:not(.btn):not(.dropdown-item):hover,
body.page-platform-pcnnotificationsltb-list .table-responsive a:not(.btn):not(.dropdown-item):hover,
body.page-platform-pcnnotificationslts-list .table-responsive a:not(.btn):not(.dropdown-item):hover,
body.page-platform-pcnnotificationsobsolete-list .table-responsive a:not(.btn):not(.dropdown-item):hover,
body.page-platform-pcnnotifications-searchpn .table-responsive a:not(.btn):not(.dropdown-item):hover {
    color: #145961;
}

body.page-platform-pcnnotification-list .table-responsive .form-control,
body.page-platform-pcnnotification-list .table-responsive .form-select,
body.page-platform-pcnnotificationsltb-list .table-responsive .form-control,
body.page-platform-pcnnotificationsltb-list .table-responsive .form-select,
body.page-platform-pcnnotificationslts-list .table-responsive .form-control,
body.page-platform-pcnnotificationslts-list .table-responsive .form-select,
body.page-platform-pcnnotificationsobsolete-list .table-responsive .form-control,
body.page-platform-pcnnotificationsobsolete-list .table-responsive .form-select,
body.page-platform-pcnnotifications-searchpn .table-responsive .form-control,
body.page-platform-pcnnotifications-searchpn .table-responsive .form-select {
    background: #fcfefd;
    border: 1px solid #d5e7e5;
    border-radius: 0.8rem;
    min-height: 2.6rem;
}

body.page-platform-pcnnotification-list .table-responsive .form-control:focus,
body.page-platform-pcnnotification-list .table-responsive .form-select:focus,
body.page-platform-pcnnotificationsltb-list .table-responsive .form-control:focus,
body.page-platform-pcnnotificationsltb-list .table-responsive .form-select:focus,
body.page-platform-pcnnotificationslts-list .table-responsive .form-control:focus,
body.page-platform-pcnnotificationslts-list .table-responsive .form-select:focus,
body.page-platform-pcnnotificationsobsolete-list .table-responsive .form-control:focus,
body.page-platform-pcnnotificationsobsolete-list .table-responsive .form-select:focus,
body.page-platform-pcnnotifications-searchpn .table-responsive .form-control:focus,
body.page-platform-pcnnotifications-searchpn .table-responsive .form-select:focus {
    border-color: #248d96;
    box-shadow: 0 0 0 0.2rem rgba(36, 141, 150, 0.14) !important;
}

body.page-platform-pcnnotification-list .table-responsive .dropdown .btn,
body.page-platform-pcnnotificationsltb-list .table-responsive .dropdown .btn,
body.page-platform-pcnnotificationslts-list .table-responsive .dropdown .btn,
body.page-platform-pcnnotificationsobsolete-list .table-responsive .dropdown .btn,
body.page-platform-pcnnotifications-searchpn .table-responsive .dropdown .btn {
    background: #eef7f6;
    border: 1px solid #d5e7e5;
    border-radius: 0.85rem;
    color: #285760;
}

body.page-platform-pcnnotification-list .table-responsive .dropdown .btn:hover,
body.page-platform-pcnnotification-list .table-responsive .dropdown .btn:focus,
body.page-platform-pcnnotificationsltb-list .table-responsive .dropdown .btn:hover,
body.page-platform-pcnnotificationsltb-list .table-responsive .dropdown .btn:focus,
body.page-platform-pcnnotificationslts-list .table-responsive .dropdown .btn:hover,
body.page-platform-pcnnotificationslts-list .table-responsive .dropdown .btn:focus,
body.page-platform-pcnnotificationsobsolete-list .table-responsive .dropdown .btn:hover,
body.page-platform-pcnnotificationsobsolete-list .table-responsive .dropdown .btn:focus,
body.page-platform-pcnnotifications-searchpn .table-responsive .dropdown .btn:hover,
body.page-platform-pcnnotifications-searchpn .table-responsive .dropdown .btn:focus {
    background: #e6f3f1;
    border-color: #c7dfdc;
    color: #1d4e56;
}

body.page-platform-pcnnotification-list .table-responsive .dropdown-menu,
body.page-platform-pcnnotificationsltb-list .table-responsive .dropdown-menu,
body.page-platform-pcnnotificationslts-list .table-responsive .dropdown-menu,
body.page-platform-pcnnotificationsobsolete-list .table-responsive .dropdown-menu,
body.page-platform-pcnnotifications-searchpn .table-responsive .dropdown-menu {
    background: #ffffff;
    border: 1px solid #d8e7e5;
    border-radius: 1rem;
    box-shadow: 0 18px 34px rgba(24, 72, 80, 0.12);
    padding: 0.35rem;
}

body.page-platform-pcnnotification-list .table-responsive .dropdown-item,
body.page-platform-pcnnotification-list .table-responsive .dropdown-menu .btn-link,
body.page-platform-pcnnotificationsltb-list .table-responsive .dropdown-item,
body.page-platform-pcnnotificationsltb-list .table-responsive .dropdown-menu .btn-link,
body.page-platform-pcnnotificationslts-list .table-responsive .dropdown-item,
body.page-platform-pcnnotificationslts-list .table-responsive .dropdown-menu .btn-link,
body.page-platform-pcnnotificationsobsolete-list .table-responsive .dropdown-item,
body.page-platform-pcnnotificationsobsolete-list .table-responsive .dropdown-menu .btn-link,
body.page-platform-pcnnotifications-searchpn .table-responsive .dropdown-item,
body.page-platform-pcnnotifications-searchpn .table-responsive .dropdown-menu .btn-link {
    border-radius: 0.8rem;
    color: #314d54;
    font-weight: 700;
    margin: 0.1rem 0;
    min-height: 2.45rem;
}

body.page-platform-pcnnotification-list .table-responsive .dropdown-item:hover,
body.page-platform-pcnnotification-list .table-responsive .dropdown-item:focus,
body.page-platform-pcnnotification-list .table-responsive .dropdown-menu .btn-link:hover,
body.page-platform-pcnnotification-list .table-responsive .dropdown-menu .btn-link:focus,
body.page-platform-pcnnotificationsltb-list .table-responsive .dropdown-item:hover,
body.page-platform-pcnnotificationsltb-list .table-responsive .dropdown-item:focus,
body.page-platform-pcnnotificationsltb-list .table-responsive .dropdown-menu .btn-link:hover,
body.page-platform-pcnnotificationsltb-list .table-responsive .dropdown-menu .btn-link:focus,
body.page-platform-pcnnotificationslts-list .table-responsive .dropdown-item:hover,
body.page-platform-pcnnotificationslts-list .table-responsive .dropdown-item:focus,
body.page-platform-pcnnotificationslts-list .table-responsive .dropdown-menu .btn-link:hover,
body.page-platform-pcnnotificationslts-list .table-responsive .dropdown-menu .btn-link:focus,
body.page-platform-pcnnotificationsobsolete-list .table-responsive .dropdown-item:hover,
body.page-platform-pcnnotificationsobsolete-list .table-responsive .dropdown-item:focus,
body.page-platform-pcnnotificationsobsolete-list .table-responsive .dropdown-menu .btn-link:hover,
body.page-platform-pcnnotificationsobsolete-list .table-responsive .dropdown-menu .btn-link:focus,
body.page-platform-pcnnotifications-searchpn .table-responsive .dropdown-item:hover,
body.page-platform-pcnnotifications-searchpn .table-responsive .dropdown-item:focus,
body.page-platform-pcnnotifications-searchpn .table-responsive .dropdown-menu .btn-link:hover,
body.page-platform-pcnnotifications-searchpn .table-responsive .dropdown-menu .btn-link:focus {
    background: #f2f9f8;
    color: #1c525a;
}

body.page-platform-pcnnotification-list .form-check-input:checked,
body.page-platform-pcnnotificationsltb-list .form-check-input:checked,
body.page-platform-pcnnotificationslts-list .form-check-input:checked,
body.page-platform-pcnnotificationsobsolete-list .form-check-input:checked,
body.page-platform-pcnnotifications-searchpn .form-check-input:checked,
body.page-platform-pcnnotification-edit .form-check-input:checked {
    background-color: #248d96;
    border-color: #248d96;
}

#screen-modal-uploadFilePcnNotification,
#screen-modal-exportFilePcnNotification,
#screen-modal-ratingPcnNotification {
    --erp-create-modal-accent: #248d96;
    --erp-create-modal-accent-strong: #176d76;
    --erp-create-modal-border: #d8e7e5;
    --erp-create-modal-surface: #f6fbfb;
    --erp-create-modal-surface-strong: #edf7f6;
    --erp-create-modal-shadow: rgba(24, 72, 80, 0.16);
    --erp-create-modal-ring: rgba(36, 141, 150, 0.15);
    --erp-create-modal-title: #22373c;
    --erp-create-modal-muted: #667f84;
}

#screen-modal-uploadFilePcnNotification .modal-dialog,
#screen-modal-exportFilePcnNotification .modal-dialog,
#screen-modal-ratingPcnNotification .modal-dialog {
    max-width: min(960px, calc(100vw - 2rem));
}

#screen-modal-uploadFilePcnNotification .modal-content,
#screen-modal-exportFilePcnNotification .modal-content,
#screen-modal-ratingPcnNotification .modal-content {
    background:
        radial-gradient(circle at top right, var(--erp-create-modal-ring), transparent 24%),
        linear-gradient(180deg, #ffffff 0%, var(--erp-create-modal-surface) 100%);
    border: 1px solid var(--erp-create-modal-border);
    border-radius: 1.2rem;
    box-shadow: 0 24px 48px var(--erp-create-modal-shadow);
}

#screen-modal-uploadFilePcnNotification .modal-header,
#screen-modal-exportFilePcnNotification .modal-header,
#screen-modal-ratingPcnNotification .modal-header {
    background: linear-gradient(180deg, #ffffff 0%, var(--erp-create-modal-surface) 100%);
    border-bottom: 1px solid var(--erp-create-modal-border);
    padding: 1rem 1.15rem;
}

#screen-modal-uploadFilePcnNotification .modal-title,
#screen-modal-exportFilePcnNotification .modal-title,
#screen-modal-ratingPcnNotification .modal-title {
    color: var(--erp-create-modal-title) !important;
    font-size: 1.1rem;
    font-weight: 800 !important;
    letter-spacing: -0.02em;
}

#screen-modal-uploadFilePcnNotification .btn-close,
#screen-modal-exportFilePcnNotification .btn-close,
#screen-modal-ratingPcnNotification .btn-close {
    border-radius: 999px;
    box-shadow: none;
    opacity: 0.85;
}

#screen-modal-uploadFilePcnNotification .modal-body,
#screen-modal-exportFilePcnNotification .modal-body,
#screen-modal-ratingPcnNotification .modal-body {
    padding: 1rem 1.15rem 1.2rem;
}

#screen-modal-uploadFilePcnNotification .modal-body .row,
#screen-modal-exportFilePcnNotification .modal-body .row,
#screen-modal-ratingPcnNotification .modal-body .row,
#screen-modal-uploadFilePcnNotification .modal-body .columns,
#screen-modal-exportFilePcnNotification .modal-body .columns {
    background: #ffffff;
    border: 1px solid var(--erp-create-modal-border);
    border-radius: 1rem;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.04);
    margin-bottom: 0.85rem;
    padding: 0.95rem 1rem 0.2rem;
}

#screen-modal-uploadFilePcnNotification .modal-body .col-form-label,
#screen-modal-exportFilePcnNotification .modal-body .col-form-label,
#screen-modal-ratingPcnNotification .modal-body .col-form-label,
#screen-modal-uploadFilePcnNotification .modal-body h5,
#screen-modal-exportFilePcnNotification .modal-body h5,
#screen-modal-ratingPcnNotification .modal-body h5 {
    color: var(--erp-create-modal-muted);
    display: block;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    margin-bottom: 0.45rem;
    text-transform: uppercase;
}

#screen-modal-uploadFilePcnNotification .modal-body .form-control,
#screen-modal-uploadFilePcnNotification .modal-body .form-select,
#screen-modal-exportFilePcnNotification .modal-body .form-control,
#screen-modal-exportFilePcnNotification .modal-body .form-select,
#screen-modal-ratingPcnNotification .modal-body .form-control,
#screen-modal-ratingPcnNotification .modal-body .form-select {
    background: #fffdfb;
    border: 1px solid var(--erp-create-modal-border);
    border-radius: 0.9rem;
    box-shadow: none !important;
    min-height: 2.9rem;
}

#screen-modal-uploadFilePcnNotification .modal-body .form-control:focus,
#screen-modal-uploadFilePcnNotification .modal-body .form-select:focus,
#screen-modal-exportFilePcnNotification .modal-body .form-control:focus,
#screen-modal-exportFilePcnNotification .modal-body .form-select:focus,
#screen-modal-ratingPcnNotification .modal-body .form-control:focus,
#screen-modal-ratingPcnNotification .modal-body .form-select:focus {
    border-color: var(--erp-create-modal-accent);
    box-shadow: 0 0 0 0.2rem var(--erp-create-modal-ring) !important;
}

#screen-modal-uploadFilePcnNotification .modal-body img {
    border: 1px solid var(--erp-create-modal-border);
    border-radius: 1rem;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.05);
    height: auto;
    max-width: 100%;
}

#screen-modal-uploadFilePcnNotification .modal-body .btn-link,
#screen-modal-uploadFilePcnNotification .modal-body .btn-default,
#screen-modal-exportFilePcnNotification .modal-body .btn-link,
#screen-modal-exportFilePcnNotification .modal-body .btn-default,
#screen-modal-ratingPcnNotification .modal-body .btn-link,
#screen-modal-ratingPcnNotification .modal-body .btn-default {
    align-items: center;
    border-radius: 0.9rem;
    display: inline-flex;
    font-weight: 800;
    gap: 0.4rem;
    min-height: 2.8rem;
    padding: 0.72rem 0.95rem;
    text-decoration: none;
}

#screen-modal-uploadFilePcnNotification .modal-body .btn-link,
#screen-modal-exportFilePcnNotification .modal-body .btn-link,
#screen-modal-ratingPcnNotification .modal-body .btn-link {
    background: #ffffff;
    border: 1px solid var(--erp-create-modal-border);
    color: var(--erp-create-modal-title);
}

#screen-modal-uploadFilePcnNotification .modal-body .btn-link:hover,
#screen-modal-uploadFilePcnNotification .modal-body .btn-link:focus,
#screen-modal-exportFilePcnNotification .modal-body .btn-link:hover,
#screen-modal-exportFilePcnNotification .modal-body .btn-link:focus,
#screen-modal-ratingPcnNotification .modal-body .btn-link:hover,
#screen-modal-ratingPcnNotification .modal-body .btn-link:focus {
    background: var(--erp-create-modal-surface);
    color: var(--erp-create-modal-title);
}

#screen-modal-uploadFilePcnNotification .modal-footer,
#screen-modal-exportFilePcnNotification .modal-footer,
#screen-modal-ratingPcnNotification .modal-footer {
    border-top: 1px solid var(--erp-create-modal-border);
    padding: 1rem 1.15rem 1.15rem;
}

#screen-modal-uploadFilePcnNotification .modal-footer .btn-link,
#screen-modal-exportFilePcnNotification .modal-footer .btn-link,
#screen-modal-ratingPcnNotification .modal-footer .btn-link {
    border-radius: 0.85rem;
    color: var(--erp-create-modal-muted);
    font-weight: 700;
    padding: 0.7rem 0.95rem;
    text-decoration: none;
}

#screen-modal-uploadFilePcnNotification .modal-footer .btn-default,
#screen-modal-exportFilePcnNotification .modal-footer .btn-default,
#screen-modal-ratingPcnNotification .modal-footer .btn-default {
    background: linear-gradient(180deg, var(--erp-create-modal-accent) 0%, var(--erp-create-modal-accent-strong) 100%);
    border: 0;
    border-radius: 0.9rem;
    box-shadow: 0 12px 24px var(--erp-create-modal-shadow);
    color: #ffffff !important;
    font-weight: 800;
    min-height: 2.9rem;
    padding: 0.8rem 1.05rem;
}

#screen-modal-uploadFilePcnNotification .modal-footer .btn-default *,
#screen-modal-exportFilePcnNotification .modal-footer .btn-default *,
#screen-modal-ratingPcnNotification .modal-footer .btn-default * {
    color: #ffffff !important;
}

body.page-platform-pcnnotification-edit .layout-rows,
body.page-platform-pcnnotification-edit fieldset[data-async] > .bg-white.rounded.shadow-sm {
    background:
        radial-gradient(circle at top right, rgba(36, 141, 150, 0.1), transparent 26%),
        linear-gradient(135deg, #f8fcfc 0%, #ffffff 56%, #eff7f6 100%);
    border: 1px solid #dbe8e6;
    border-radius: 1.15rem !important;
    box-shadow: 0 14px 30px rgba(24, 72, 80, 0.06) !important;
    margin-bottom: 1rem;
    padding: 1.05rem 1.15rem 0.35rem !important;
}

body.page-platform-pcnnotification-edit fieldset[data-async] > .col > legend {
    color: #2d6870 !important;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin-bottom: 0.65rem;
    text-transform: uppercase;
}

body.page-platform-pcnnotification-edit .form-group.row,
body.page-platform-pcnnotification-edit .input-group,
body.page-platform-pcnnotification-edit .input-icon {
    margin-bottom: 0.5rem;
    max-width: 100% !important;
    width: 100%;
}

body.page-platform-pcnnotification-edit .col-form-label {
    color: #688086;
    display: block;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    margin-bottom: 0.45rem;
    text-transform: uppercase;
}

body.page-platform-pcnnotification-edit .form-control,
body.page-platform-pcnnotification-edit .form-select,
body.page-platform-pcnnotification-edit [data-controller="relation"] .ts-control,
body.page-platform-pcnnotification-edit [data-controller="select"] .ts-control {
    background: #fcfefd;
    border: 1px solid #d7e7e5;
    border-radius: 0.9rem;
    box-shadow: none !important;
    min-height: 2.9rem;
}

body.page-platform-pcnnotification-edit textarea.form-control {
    min-height: 7.5rem;
}

body.page-platform-pcnnotification-edit .form-control:focus,
body.page-platform-pcnnotification-edit .form-select:focus,
body.page-platform-pcnnotification-edit [data-controller="relation"] .ts-control.focus,
body.page-platform-pcnnotification-edit [data-controller="select"] .ts-control.focus {
    border-color: #248d96;
    box-shadow: 0 0 0 0.2rem rgba(36, 141, 150, 0.14) !important;
}

body.page-platform-pcnnotification-edit [data-controller="relation"] .ts-wrapper,
body.page-platform-pcnnotification-edit [data-controller="select"] .ts-wrapper {
    width: 100%;
}

body.page-platform-pcnnotification-edit [data-controller="relation"] .ts-wrapper.multi .ts-control > div,
body.page-platform-pcnnotification-edit [data-controller="select"] .ts-wrapper.multi .ts-control > div {
    background: #eef7f6;
    border: 1px solid #d7e7e5;
    border-radius: 999px;
    color: #245960;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.24rem 0.5rem;
}

body.page-platform-pcnnotification-edit .form-check-input {
    border-radius: 0.45rem;
}

body.page-platform-pcnnotification-edit .form-check-label,
body.page-platform-pcnnotification-edit .form-text {
    color: #667f84;
}

body.page-platform-pcnnotification-edit .btn-default {
    background: linear-gradient(180deg, #248d96 0%, #176d76 100%) !important;
    border: 1px solid #1a7680 !important;
    border-radius: 0.9rem !important;
    box-shadow: 0 10px 22px rgba(23, 109, 118, 0.18);
    color: #ffffff !important;
    font-weight: 800 !important;
    min-height: 2.9rem;
    padding: 0.72rem 1rem !important;
    text-decoration: none !important;
}

body.page-platform-pcnnotification-edit .btn-default *,
body.page-platform-pcnnotification-edit .btn-default .icon {
    color: #ffffff !important;
}

body.page-platform-pcnnotification-edit fieldset[data-async] > .bg-white.rounded.shadow-sm a.btn-link:not(.dropdown-item),
body.page-platform-pcnnotification-edit fieldset[data-async] > .bg-white.rounded.shadow-sm button.btn-link:not(.dropdown-item) {
    align-items: center;
    background: #fff6f1;
    border: 1px solid #efd9ce;
    border-radius: 999px;
    color: #91533b;
    display: inline-flex;
    font-weight: 700;
    gap: 0.4rem;
    margin: 0 0.35rem 0.35rem 0;
    min-height: 2.55rem;
    padding: 0.55rem 0.85rem;
    text-decoration: none;
}

body.page-platform-pcnnotification-edit fieldset[data-async] > .bg-white.rounded.shadow-sm a.btn-link:not(.dropdown-item):hover,
body.page-platform-pcnnotification-edit fieldset[data-async] > .bg-white.rounded.shadow-sm a.btn-link:not(.dropdown-item):focus,
body.page-platform-pcnnotification-edit fieldset[data-async] > .bg-white.rounded.shadow-sm button.btn-link:not(.dropdown-item):hover,
body.page-platform-pcnnotification-edit fieldset[data-async] > .bg-white.rounded.shadow-sm button.btn-link:not(.dropdown-item):focus {
    background: #fff1ea;
    color: #7f4530;
}

@media (max-width: 991.98px) {
    body.page-platform-pcnnotification-list .screen-actions .btn,
    body.page-platform-pcnnotificationsltb-list .screen-actions .btn,
    body.page-platform-pcnnotificationslts-list .screen-actions .btn,
    body.page-platform-pcnnotificationsobsolete-list .screen-actions .btn,
    body.page-platform-pcnnotifications-searchpn .screen-actions .btn,
    body.page-platform-pcnnotification-edit .screen-actions .btn {
        justify-content: center;
    }
}

@media (max-width: 767.98px) {
    body.page-platform-pcnnotification-list .container-md,
    body.page-platform-pcnnotificationsltb-list .container-md,
    body.page-platform-pcnnotificationslts-list .container-md,
    body.page-platform-pcnnotificationsobsolete-list .container-md,
    body.page-platform-pcnnotifications-searchpn .container-md,
    body.page-platform-pcnnotification-edit .container-md {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    body.page-platform-pcnnotification-list .screen-actions .btn,
    body.page-platform-pcnnotificationsltb-list .screen-actions .btn,
    body.page-platform-pcnnotificationslts-list .screen-actions .btn,
    body.page-platform-pcnnotificationsobsolete-list .screen-actions .btn,
    body.page-platform-pcnnotifications-searchpn .screen-actions .btn,
    body.page-platform-pcnnotification-edit .screen-actions .btn {
        width: 100%;
    }

    body.page-platform-pcnnotification-edit .layout-rows,
    body.page-platform-pcnnotification-edit fieldset[data-async] > .bg-white.rounded.shadow-sm {
        padding-left: 0.9rem !important;
        padding-right: 0.9rem !important;
    }
}

/*
 * Tabbed table screens already render the real content inside card/table wrappers.
 * Remove the extra tab panel shell so RFQ-, offer- and order-related tabs look consistent.
 */
body.page-platform-pnorder-list [data-controller="tabs"] .tab-content > .tab-pane,
body.page-platform-pnlist-list [data-controller="tabs"] .tab-content > .tab-pane,
body.page-platform-pnprofile-list [data-controller="tabs"] .tab-content > .tab-pane,
body.page-platform-pnprofilecustomerorder-list [data-controller="tabs"] .tab-content > .tab-pane,
body.page-platform-pnprofilesupplierorder-list [data-controller="tabs"] .tab-content > .tab-pane,
body.page-platform-pnprofiletestsupplierorder-list [data-controller="tabs"] .tab-content > .tab-pane,
body.page-platform-supplierpnincoming-list [data-controller="tabs"] .tab-content > .tab-pane,
body.page-platform-supplierpnincoming-filterorder [data-controller="tabs"] .tab-content > .tab-pane,
body.page-platform-supplierpnincoming-prova [data-controller="tabs"] .tab-content > .tab-pane,
body.page-platform-customerorderoutgoing-list [data-controller="tabs"] .tab-content > .tab-pane {
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
}

/* Shared CTA styling for PCN list filters */
body.page-platform-pcnnotification-list fieldset[data-async] > .bg-white.rounded.shadow-sm .btn-primary,
body.page-platform-pcnnotificationsltb-list fieldset[data-async] > .bg-white.rounded.shadow-sm .btn-primary,
body.page-platform-pcnnotificationslts-list fieldset[data-async] > .bg-white.rounded.shadow-sm .btn-primary,
body.page-platform-pcnnotificationsobsolete-list fieldset[data-async] > .bg-white.rounded.shadow-sm .btn-primary,
body.page-platform-pcnnotifications-searchpn fieldset[data-async] > .bg-white.rounded.shadow-sm .btn-primary {
    background: linear-gradient(180deg, #248d96 0%, #176d76 100%);
    border: 1px solid #1a7680;
    border-radius: 999px;
    box-shadow: 0 10px 22px rgba(23, 109, 118, 0.16);
    color: #ffffff;
    font-weight: 800;
    min-height: 2.7rem;
    padding: 0.7rem 1rem;
    text-decoration: none;
}

body.page-platform-pcnnotification-list fieldset[data-async] > .bg-white.rounded.shadow-sm .btn-primary:hover,
body.page-platform-pcnnotification-list fieldset[data-async] > .bg-white.rounded.shadow-sm .btn-primary:focus,
body.page-platform-pcnnotificationsltb-list fieldset[data-async] > .bg-white.rounded.shadow-sm .btn-primary:hover,
body.page-platform-pcnnotificationsltb-list fieldset[data-async] > .bg-white.rounded.shadow-sm .btn-primary:focus,
body.page-platform-pcnnotificationslts-list fieldset[data-async] > .bg-white.rounded.shadow-sm .btn-primary:hover,
body.page-platform-pcnnotificationslts-list fieldset[data-async] > .bg-white.rounded.shadow-sm .btn-primary:focus,
body.page-platform-pcnnotificationsobsolete-list fieldset[data-async] > .bg-white.rounded.shadow-sm .btn-primary:hover,
body.page-platform-pcnnotificationsobsolete-list fieldset[data-async] > .bg-white.rounded.shadow-sm .btn-primary:focus,
body.page-platform-pcnnotifications-searchpn fieldset[data-async] > .bg-white.rounded.shadow-sm .btn-primary:hover,
body.page-platform-pcnnotifications-searchpn fieldset[data-async] > .bg-white.rounded.shadow-sm .btn-primary:focus {
    background: linear-gradient(180deg, #2ca0aa 0%, #1d7d86 100%);
    border-color: #1a7680;
    color: #ffffff;
}

/* Obsolete list gets a stronger danger treatment than the generic PCN palette */
body.page-platform-pcnnotificationsobsolete-list {
    --erp-primary-pill-start: #c85c68;
    --erp-primary-pill-end: #ab4253;
    --erp-primary-pill-border: #af4858;
    --erp-primary-pill-hover-start: #d56d78;
    --erp-primary-pill-hover-end: #b84f5f;
    --erp-primary-pill-hover-border: #af4858;
    --erp-top-actions-shell-glow: rgba(175, 72, 88, 0.14);
    --erp-top-actions-shell-start: #fff7f8;
    --erp-top-actions-shell-mid: #fffefe;
    --erp-top-actions-shell-end: #f6e6e9;
    --erp-top-actions-shell-border: #edd5da;
    --erp-top-actions-shell-shadow: rgba(121, 52, 64, 0.09);
}

body.page-platform-pcnnotificationsobsolete-list .screen-actions .btn {
    background: linear-gradient(180deg, #c85c68 0%, #ab4253 100%);
    box-shadow: 0 12px 24px rgba(171, 66, 83, 0.18);
}

body.page-platform-pcnnotificationsobsolete-list .screen-actions .btn:hover,
body.page-platform-pcnnotificationsobsolete-list .screen-actions .btn:focus {
    background: linear-gradient(180deg, #d36a75 0%, #b54e5e 100%);
}

body.page-platform-pcnnotificationsobsolete-list fieldset[data-async] > .bg-white.rounded.shadow-sm {
    background:
        radial-gradient(circle at top right, rgba(200, 92, 104, 0.12), transparent 26%),
        linear-gradient(135deg, #fff8f8 0%, #ffffff 58%, #fff1f3 100%);
    border-color: #edd6db;
    box-shadow: 0 14px 30px rgba(109, 42, 53, 0.06);
}

body.page-platform-pcnnotificationsobsolete-list fieldset[data-async] > .bg-white.rounded.shadow-sm .btn-primary,
body.page-platform-pcnnotificationsobsolete-list fieldset[data-async] > .bg-white.rounded.shadow-sm .btn-danger {
    background: linear-gradient(180deg, #c85c68 0%, #ab4253 100%);
    border-color: #af4858;
    box-shadow: 0 10px 22px rgba(171, 66, 83, 0.16);
    color: #ffffff !important;
    --bs-btn-color: #ffffff;
    --bs-btn-hover-color: #ffffff;
    text-shadow: 0 1px 0 rgba(82, 28, 38, 0.22);
}

body.page-platform-pcnnotificationsobsolete-list fieldset[data-async] > .bg-white.rounded.shadow-sm .btn-primary:hover,
body.page-platform-pcnnotificationsobsolete-list fieldset[data-async] > .bg-white.rounded.shadow-sm .btn-primary:focus,
body.page-platform-pcnnotificationsobsolete-list fieldset[data-async] > .bg-white.rounded.shadow-sm .btn-danger:hover,
body.page-platform-pcnnotificationsobsolete-list fieldset[data-async] > .bg-white.rounded.shadow-sm .btn-danger:focus {
    background: linear-gradient(180deg, #d36a75 0%, #b54e5e 100%);
    border-color: #af4858;
    color: #ffffff !important;
}

body.page-platform-pcnnotificationsobsolete-list fieldset[data-async] > .bg-white.rounded.shadow-sm .btn-primary *,
body.page-platform-pcnnotificationsobsolete-list fieldset[data-async] > .bg-white.rounded.shadow-sm .btn-danger * {
    color: inherit !important;
}

body.page-platform-pcnnotificationsobsolete-list .table-responsive {
    border-color: #ecd8dd;
    box-shadow: 0 14px 30px rgba(109, 42, 53, 0.06);
}

body.page-platform-pcnnotificationsobsolete-list [data-controller="table"] {
    border-color: #ecd8dd;
    box-shadow: 0 14px 30px rgba(109, 42, 53, 0.06);
}

body.page-platform-pcnnotificationsobsolete-list [data-controller="table"] footer {
    background: linear-gradient(180deg, #ffffff 0%, #fff7f8 100%);
    border-top-color: #f0dde1;
}

body.page-platform-pcnnotificationsobsolete-list .table-responsive > .table thead th {
    background: #fff7f8;
    color: #8f6f78;
}

body.page-platform-pcnnotificationsobsolete-list .table-responsive > .table tbody tr:hover {
    background: #fffdfd;
}

body.page-platform-pcnnotificationsobsolete-list .table-responsive a:not(.btn):not(.dropdown-item) {
    color: #a24559;
}

body.page-platform-pcnnotificationsobsolete-list .table-responsive a:not(.btn):not(.dropdown-item):hover {
    color: #8d364d;
}

body.page-platform-pcnnotificationsobsolete-list .table-responsive .form-control,
body.page-platform-pcnnotificationsobsolete-list .table-responsive .form-select {
    border-color: #ead8dc;
}

body.page-platform-pcnnotificationsobsolete-list .table-responsive .form-control:focus,
body.page-platform-pcnnotificationsobsolete-list .table-responsive .form-select:focus {
    border-color: #c85c68;
    box-shadow: 0 0 0 0.2rem rgba(200, 92, 104, 0.14) !important;
}

body.page-platform-pcnnotificationsobsolete-list .table-responsive .dropdown .btn {
    background: #fbf1f3;
    border-color: #ead8dc;
    color: #744553;
}

body.page-platform-pcnnotificationsobsolete-list .table-responsive .dropdown .btn:hover,
body.page-platform-pcnnotificationsobsolete-list .table-responsive .dropdown .btn:focus {
    background: #f8e8eb;
    border-color: #e1c9cf;
    color: #673947;
}

body.page-platform-pcnnotificationsobsolete-list .table-responsive .dropdown-menu {
    border-color: #ecd8dd;
    box-shadow: 0 18px 34px rgba(109, 42, 53, 0.12);
}

body.page-platform-pcnnotificationsobsolete-list .table-responsive .dropdown-item,
body.page-platform-pcnnotificationsobsolete-list .table-responsive .dropdown-menu .btn-link {
    color: #5c4249;
}

body.page-platform-pcnnotificationsobsolete-list .table-responsive .dropdown-item:hover,
body.page-platform-pcnnotificationsobsolete-list .table-responsive .dropdown-item:focus,
body.page-platform-pcnnotificationsobsolete-list .table-responsive .dropdown-menu .btn-link:hover,
body.page-platform-pcnnotificationsobsolete-list .table-responsive .dropdown-menu .btn-link:focus {
    background: #fff2f4;
    color: #8d364d;
}

body.page-platform-pcnnotificationsobsolete-list .form-check-input:checked {
    background-color: #c85c68;
    border-color: #c85c68;
}

body.page-platform-pcnnotificationsobsolete-list .table-responsive .text-danger {
    color: #c0445d !important;
}

body.page-platform-pcnnotificationsobsolete-list #screen-modal-uploadFilePcnNotification,
body.page-platform-pcnnotificationsobsolete-list #screen-modal-exportFilePcnNotification,
body.page-platform-pcnnotificationsobsolete-list #screen-modal-ratingPcnNotification {
    --erp-create-modal-accent: #c85c68;
    --erp-create-modal-accent-strong: #ab4253;
    --erp-create-modal-border: #ecd8dd;
    --erp-create-modal-surface: #fff8f8;
    --erp-create-modal-surface-strong: #fff1f3;
    --erp-create-modal-shadow: rgba(109, 42, 53, 0.16);
    --erp-create-modal-ring: rgba(200, 92, 104, 0.14);
    --erp-create-modal-title: #4f2833;
    --erp-create-modal-muted: #8a6e75;
}

body.page-platform-pnorder-list .erp-document-reference__item,
body.page-platform-pnprofile-list .erp-document-reference__item,
body.page-platform-pnprofilecustomerorder-list .erp-document-reference__item,
body.page-platform-pnprofilesupplierorder-list .erp-document-reference__item,
body.page-platform-pnprofiletestsupplierorder-list .erp-document-reference__item {
    margin-bottom: 0.8rem;
    padding-left: 0.4rem !important;
    padding-right: 0.4rem !important;
}

body.page-platform-pnorder-list .erp-document-reference__item .form-group,
body.page-platform-pnprofile-list .erp-document-reference__item .form-group,
body.page-platform-pnprofilecustomerorder-list .erp-document-reference__item .form-group,
body.page-platform-pnprofilesupplierorder-list .erp-document-reference__item .form-group,
body.page-platform-pnprofiletestsupplierorder-list .erp-document-reference__item .form-group {
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    display: flex;
    flex-direction: column;
    gap: 0;
    min-width: 0;
    padding: 0 !important;
}

/* erp-document-reference__link used to force width:100%, min-height:2.5rem,
   and asymmetric padding when the Documents tab wrapped each pill in a
   framed card with a label above. After collapsing the wrapper to just
   the pill, those overrides fought the global .erp-pill--* geometry and
   made each pill size to its col-auto container (different widths per
   pill). Left as a single property (margin-top reset) so the Link's
   default 2px top margin doesn't break alignment with the neighbouring
   pills. Width/height/padding now flow from the global pill rule. */
/* Documents-tab pills now inherit the default pill geometry (fit-content
   width + global padding/height), matching the look of list-screen pills
   (/admin/customerorders, /admin/pnlists). Only the Link's 2px top
   margin is reset so pills stay vertically aligned. */
body.page-platform-pnorder-list .erp-document-reference__link,
body.page-platform-pnprofile-list .erp-document-reference__link,
body.page-platform-pnprofilecustomerorder-list .erp-document-reference__link,
body.page-platform-pnprofilesupplierorder-list .erp-document-reference__link,
body.page-platform-pnprofiletestsupplierorder-list .erp-document-reference__link {
    margin-top: 0 !important;
}

body.page-platform-pnorder-list .erp-document-reference__link i,
body.page-platform-pnprofile-list .erp-document-reference__link i,
body.page-platform-pnprofilecustomerorder-list .erp-document-reference__link i,
body.page-platform-pnprofilesupplierorder-list .erp-document-reference__link i,
body.page-platform-pnprofiletestsupplierorder-list .erp-document-reference__link i {
    flex: 0 0 auto;
}

body.page-platform-pnorder-list .erp-document-reference__item .form-text,
body.page-platform-pnprofile-list .erp-document-reference__item .form-text,
body.page-platform-pnprofilecustomerorder-list .erp-document-reference__item .form-text,
body.page-platform-pnprofilesupplierorder-list .erp-document-reference__item .form-text,
body.page-platform-pnprofiletestsupplierorder-list .erp-document-reference__item .form-text {
    color: #6f6270 !important;
    display: block;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1.25;
    margin-top: 0;
    order: -1;
    padding-left: 0.15rem;
    text-transform: uppercase;
}

@media (max-width: 767.98px) {
    body.page-platform-pnprofilecustomerorder-list .table.table-bordered.table-sm .erp-document-reference__item .form-group,
    body.page-platform-pnprofilecustomerorder-list .table.table-bordered.table-sm .erp-document-reference__link {
        max-width: 100% !important;
        min-width: 0 !important;
        width: 100% !important;
    }

    body.page-platform-pnorder-list .erp-document-reference__item,
    body.page-platform-pnprofile-list .erp-document-reference__item,
    body.page-platform-pnprofilecustomerorder-list .erp-document-reference__item,
    body.page-platform-pnprofilesupplierorder-list .erp-document-reference__item,
    body.page-platform-pnprofiletestsupplierorder-list .erp-document-reference__item {
        width: 100%;
    }

    body.page-platform-pnorder-list .erp-document-reference__item .form-group,
    body.page-platform-pnprofile-list .erp-document-reference__item .form-group,
    body.page-platform-pnprofilecustomerorder-list .erp-document-reference__item .form-group,
    body.page-platform-pnprofilesupplierorder-list .erp-document-reference__item .form-group,
    body.page-platform-pnprofiletestsupplierorder-list .erp-document-reference__item .form-group {
        min-width: 0;
        width: 100%;
    }
}

body.page-platform-pnprofilecustomerorder-list .erp-co-table-shell {
    background: #ffffff !important;
    border: 1px solid #e8eaee;
    border-radius: 1rem !important;
    box-shadow: 0 6px 18px rgba(33, 39, 53, 0.04);
    padding: 0.5rem !important;
}

body.page-platform-pnprofilecustomerorder-list .erp-co-table {
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: 0;
}

body.page-platform-pnprofilecustomerorder-list .erp-co-table th {
    background: #fafbfc !important;
    border-color: transparent !important;
    border-bottom: 1px solid #e6e9ed !important;
    color: #5a6470 !important;
    font-size: 0.68rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.05em !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
    padding: 0.5rem 0.6rem !important;
}

/* Column widths — coherent with the RFQ / Offer matrix styling.
   Col 1 is the hidden debug ID, so visible columns start at :nth-child(2). */
body.page-platform-pnprofilecustomerorder-list .erp-co-table thead tr th:nth-child(2),  /* N° */
body.page-platform-pnprofilecustomerorder-list .erp-co-table tbody tr td:nth-child(2) {
    width: 4.5rem; text-align: center;
}
body.page-platform-pnprofilecustomerorder-list .erp-co-table thead tr th:nth-child(3),  /* MPN */
body.page-platform-pnprofilecustomerorder-list .erp-co-table tbody tr td:nth-child(3) {
    width: 13rem;
}
body.page-platform-pnprofilecustomerorder-list .erp-co-table thead tr th:nth-child(4),  /* Description */
body.page-platform-pnprofilecustomerorder-list .erp-co-table tbody tr td:nth-child(4) {
    width: auto; min-width: 14rem;
}
body.page-platform-pnprofilecustomerorder-list .erp-co-table thead tr th:nth-child(5),  /* CPN */
body.page-platform-pnprofilecustomerorder-list .erp-co-table tbody tr td:nth-child(5) {
    width: 8rem;
}
body.page-platform-pnprofilecustomerorder-list .erp-co-table thead tr th:nth-child(6),  /* Qty */
body.page-platform-pnprofilecustomerorder-list .erp-co-table tbody tr td:nth-child(6),
body.page-platform-pnprofilecustomerorder-list .erp-co-table thead tr th:nth-child(7),  /* Qty Left */
body.page-platform-pnprofilecustomerorder-list .erp-co-table tbody tr td:nth-child(7) {
    width: 5rem; text-align: right;
}
body.page-platform-pnprofilecustomerorder-list .erp-co-table thead tr th:nth-child(8),  /* Price */
body.page-platform-pnprofilecustomerorder-list .erp-co-table tbody tr td:nth-child(8) {
    width: 6.5rem; text-align: right;
}
body.page-platform-pnprofilecustomerorder-list .erp-co-table thead tr th:nth-child(9),  /* Documents */
body.page-platform-pnprofilecustomerorder-list .erp-co-table tbody tr td:nth-child(9) {
    width: 9rem;
}
body.page-platform-pnprofilecustomerorder-list .erp-co-table thead tr th:nth-child(10), /* Supplier */
body.page-platform-pnprofilecustomerorder-list .erp-co-table tbody tr td:nth-child(10) {
    width: 12rem;
}
body.page-platform-pnprofilecustomerorder-list .erp-co-table thead tr th:nth-child(11), /* Delivery */
body.page-platform-pnprofilecustomerorder-list .erp-co-table tbody tr td:nth-child(11) {
    width: 8rem;
}
body.page-platform-pnprofilecustomerorder-list .erp-co-table thead tr th:nth-child(12), /* Total */
body.page-platform-pnprofilecustomerorder-list .erp-co-table tbody tr td:nth-child(12) {
    width: 7.5rem; text-align: right;
}
body.page-platform-pnprofilecustomerorder-list .erp-co-table thead tr th:nth-child(13), /* Actions */
body.page-platform-pnprofilecustomerorder-list .erp-co-table tbody tr td:nth-child(13) {
    width: 8rem; text-align: center;
}

/* Monospaced tabular nums on numeric cells for vertical alignment of digits. */
body.page-platform-pnprofilecustomerorder-list .erp-co-table .erp-co-cell--numeric,
body.page-platform-pnprofilecustomerorder-list .erp-co-table tbody tr td:nth-child(6),
body.page-platform-pnprofilecustomerorder-list .erp-co-table tbody tr td:nth-child(7),
body.page-platform-pnprofilecustomerorder-list .erp-co-table tbody tr td:nth-child(8),
body.page-platform-pnprofilecustomerorder-list .erp-co-table tbody tr td:nth-child(12) {
    font-variant-numeric: tabular-nums;
}

body.page-platform-pnprofilecustomerorder-list .erp-co-table td {
    border-color: #eef0f3 !important;
    padding-bottom: 0.6rem !important;
    padding-top: 0.6rem !important;
    transition: background 0.14s ease;
}

body.page-platform-pnprofilecustomerorder-list .erp-co-row--main td {
    background: #ffffff;
}

body.page-platform-pnprofilecustomerorder-list .erp-co-row--linked td {
    background: #f6f7fb;
}

body.page-platform-pnprofilecustomerorder-list .erp-co-row--draft td {
    background: #fffaf2;
}

body.page-platform-pnprofilecustomerorder-list .erp-co-row:hover td {
    box-shadow: inset 0 0 0 1px rgba(33, 39, 53, 0.04);
}

body.page-platform-pnprofilecustomerorder-list .erp-co-row--main:hover td {
    background: #f7f8fa;
}

body.page-platform-pnprofilecustomerorder-list .erp-co-row--linked:hover td {
    background: #eff1f7;
}

body.page-platform-pnprofilecustomerorder-list .erp-co-row--draft:hover td {
    background: #fff4e3;
}

body.page-platform-pnprofilecustomerorder-list .erp-co-row:hover .erp-co-cell--identity {
    position: relative;
    z-index: 1;
}

body.page-platform-pnprofilecustomerorder-list .erp-co-debug-column {
    display: none;
}

body.page-platform-pnprofilecustomerorder-list .erp-co-header--numeric,
body.page-platform-pnprofilecustomerorder-list .erp-co-cell--numeric,
body.page-platform-pnprofilecustomerorder-list .erp-co-header--actions,
body.page-platform-pnprofilecustomerorder-list .erp-co-cell--actions {
    text-align: right;
}

body.page-platform-pnprofilecustomerorder-list .erp-co-cell--identity {
    min-width: 4.8rem;
    position: relative;
}

body.page-platform-pnprofilecustomerorder-list .erp-co-row--main .erp-co-cell--identity {
    box-shadow: inset 4px 0 0 #c46a96;
}

body.page-platform-pnprofilecustomerorder-list .erp-co-row--linked .erp-co-cell--identity {
    box-shadow: inset 4px 0 0 #8470c4;
}

body.page-platform-pnprofilecustomerorder-list .erp-co-row--draft .erp-co-cell--identity {
    box-shadow: inset 4px 0 0 #c79952;
}

body.page-platform-pnprofilecustomerorder-list .erp-co-mpn,
body.page-platform-pnprofilecustomerorder-list .erp-co-description,
body.page-platform-pnprofilecustomerorder-list .erp-co-cpn {
    color: #2f3742;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

body.page-platform-pnprofilecustomerorder-list .erp-co-test-label {
    color: #7a8593;
    display: inline-block;
    font-size: 0.72rem;
    margin-top: 0.12rem;
}

body.page-platform-pnprofilecustomerorder-list .erp-co-number {
    display: inline-flex;
    font-size: 0.82rem;
    font-variant-numeric: tabular-nums;
    font-weight: 700;
    justify-content: flex-end;
    letter-spacing: 0.01em;
    min-width: 3rem;
}

body.page-platform-pnprofilecustomerorder-list .erp-co-number--success {
    color: #2e8a64 !important;
}

body.page-platform-pnprofilecustomerorder-list .erp-co-number--danger {
    color: #b54456 !important;
}

body.page-platform-pnprofilecustomerorder-list .erp-co-qty-pill {
    align-items: center;
    border-radius: 999px;
    display: inline-flex;
    font-size: 0.74rem;
    font-variant-numeric: tabular-nums;
    font-weight: 800;
    justify-content: center;
    min-width: 3.15rem;
    padding: 0.34rem 0.7rem;
}

body.page-platform-pnprofilecustomerorder-list .erp-co-qty-pill--open {
    background: #eaf6ef;
    border: 1px solid #cfe6d8;
    color: #2e6b4c;
}

body.page-platform-pnprofilecustomerorder-list .erp-co-qty-pill--closed {
    background: #f1f3f5;
    border: 1px solid #dde1e6;
    color: #7a8794;
}

body.page-platform-pnprofilecustomerorder-list .erp-co-input,
body.page-platform-pnprofilecustomerorder-list .erp-co-select {
    background-color: #ffffff;
    border: 1px solid #d9d6dc !important;
    border-radius: 0.7rem !important;
    box-shadow: none;
    color: #3f3a44;
    font-size: 0.78rem !important;
    font-variant-numeric: tabular-nums;
    min-height: 2rem;
    padding: 0.3rem 0.55rem;
    transition: border-color 0.14s ease, box-shadow 0.14s ease;
}

body.page-platform-pnprofilecustomerorder-list .erp-co-input:focus,
body.page-platform-pnprofilecustomerorder-list .erp-co-select:focus {
    border-color: #8470c4 !important;
    box-shadow: 0 0 0 2px rgba(132, 112, 196, 0.15);
    outline: none;
}

body.page-platform-pnprofilecustomerorder-list .erp-co-input--number {
    text-align: center;
    width: 4.25rem;
}

body.page-platform-pnprofilecustomerorder-list .erp-co-input--qty {
    text-align: right;
    width: 5rem;
}

body.page-platform-pnprofilecustomerorder-list .erp-co-input--price {
    text-align: right;
    width: 7rem;
}

body.page-platform-pnprofilecustomerorder-list .erp-co-input--success {
    color: #2e8a64 !important;
    font-weight: 700;
}

body.page-platform-pnprofilecustomerorder-list .erp-co-input--danger {
    color: #b54456 !important;
    font-weight: 700;
}

body.page-platform-pnprofilecustomerorder-list .erp-co-date-input {
    width: 8.45rem;
}

body.page-platform-pnprofilecustomerorder-list .erp-co-select {
    appearance: none;
    background-image:
        linear-gradient(45deg, transparent 50%, #8a8a96 50%),
        linear-gradient(135deg, #8a8a96 50%, transparent 50%);
    background-position:
        calc(100% - 14px) calc(50% - 3px),
        calc(100% - 9px) calc(50% - 3px);
    background-repeat: no-repeat;
    background-size: 5px 5px, 5px 5px;
    min-width: 10rem;
    padding-right: 1.8rem;
}

body.page-platform-pnprofilecustomerorder-list .erp-co-select:disabled {
    color: #8f838d;
    opacity: 0.8;
}

body.page-platform-pnprofilecustomerorder-list .erp-co-cell--documents {
    min-width: 13.5rem;
}

body.page-platform-pnprofilecustomerorder-list .erp-co-cell--supplier {
    min-width: 10rem;
}

body.page-platform-pnprofilecustomerorder-list .erp-co-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    justify-content: flex-end;
}

/* Unified geometry for every button inside the CO Actions column so the
   four variants (Reserve, Show Reservation, Verify, Delete) line up at the
   same height. Reduced padding/border-radius for the calmer restyle. */
body.page-platform-pnprofilecustomerorder-list .erp-co-cell--actions .btn.btn-sm,
body.page-platform-pnprofilecustomerorder-list .erp-co-actions .btn.btn-sm {
    align-items: center !important;
    border-radius: 0.65rem !important;
    display: inline-flex !important;
    font-size: 0.74rem !important;
    font-weight: 700 !important;
    gap: 0.3rem !important;
    justify-content: center;
    line-height: 1 !important;
    min-height: 2rem !important;
    padding: 0.35rem 0.5rem !important;
    text-decoration: none !important;
    white-space: nowrap;
}

body.page-platform-pnprofilecustomerorder-list .erp-co-cell--actions .btn.btn-sm svg,
body.page-platform-pnprofilecustomerorder-list .erp-co-actions .btn.btn-sm svg,
body.page-platform-pnprofilecustomerorder-list .erp-co-cell--actions .btn.btn-sm .bi,
body.page-platform-pnprofilecustomerorder-list .erp-co-actions .btn.btn-sm .bi {
    flex-shrink: 0;
    width: 14px !important;
    height: 14px !important;
    fill: currentColor;
    color: inherit !important;
}

/* Verify — soft teal, identical to the offer "Search" trigger. */
body.page-platform-pnprofilecustomerorder-list .erp-co-verify-button {
    background: #eef9fb !important;
    border: 1px solid #a9dbe3 !important;
    box-shadow: none !important;
    color: #0f6a78 !important;
    text-shadow: none !important;
    min-width: 2.15rem;
}

body.page-platform-pnprofilecustomerorder-list .erp-co-verify-button:hover,
body.page-platform-pnprofilecustomerorder-list .erp-co-verify-button:focus {
    background: #e0f3f7 !important;
    border-color: #8ccdd9 !important;
    color: #0c5763 !important;
}

body.page-platform-pnprofilecustomerorder-list .erp-co-verify-button.is-verifying {
    opacity: 0.6;
    pointer-events: none;
}

/* Show Reservation — soft blue eye icon button, same geometry as the
   sibling Verify/Delete icons (only on the warehouse-supplier duplicate). */
body.page-platform-pnprofilecustomerorder-list .erp-co-show-reservation-button {
    background: #eef4fb !important;
    border: 1px solid #b1c8e4 !important;
    box-shadow: none !important;
    color: #1d4f8a !important;
    min-width: 2.15rem;
}

body.page-platform-pnprofilecustomerorder-list .erp-co-show-reservation-button:hover,
body.page-platform-pnprofilecustomerorder-list .erp-co-show-reservation-button:focus {
    background: #e2ecf7 !important;
    border-color: #95b6db !important;
    color: #163e6e !important;
}

/* Delete — soft pink, identical to the offer matrix secondary action. */
body.page-platform-pnprofilecustomerorder-list .erp-co-delete-button {
    background: #fff0f6 !important;
    border: 1px solid #f1b0cc !important;
    box-shadow: none !important;
    color: #a61a59 !important;
    min-width: 2.15rem;
}

body.page-platform-pnprofilecustomerorder-list .erp-co-delete-button:hover,
body.page-platform-pnprofilecustomerorder-list .erp-co-delete-button:focus {
    background: #ffe3ef !important;
    border-color: #e896bb !important;
    color: #92164f !important;
}

.erp-verify-table {
    margin-bottom: 0;
}

.erp-verify-table th {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #60717d;
    border-bottom: 2px solid #dee2e6;
}

.erp-verify-label {
    font-weight: 700;
    font-size: 0.82rem;
    color: #16323f;
    white-space: nowrap;
    width: 1%;
}

.erp-verify-current,
.erp-verify-remote {
    font-size: 0.85rem;
    font-weight: 600;
}

tr.erp-verify-diff {
    background: #fef2f2;
}

tr.erp-verify-diff .erp-verify-current {
    color: #991b1b;
    text-decoration: line-through;
}

tr.erp-verify-diff .erp-verify-remote {
    color: #166534;
    font-weight: 700;
}

tr.erp-verify-match {
    background: #f0fdf4;
}

tr.erp-verify-match .erp-verify-current,
tr.erp-verify-match .erp-verify-remote {
    color: #166534;
}

#applyPreviewModal .modal-footer .btn-primary {
    background: linear-gradient(180deg, #2c8e8b 0%, #247574 100%);
    border: 1px solid #1f6665;
    color: #ffffff;
    border-radius: 0.5rem;
    font-weight: 600;
}

#applyPreviewModal .modal-footer .btn-primary:hover {
    background: linear-gradient(180deg, #319b98 0%, #287f7d 100%);
}

#applyPreviewModal .erp-verify-table input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

body.page-platform-pnprofilecustomerorder-list .erp-co-cell--actions .erp-warehouse-reserve-button {
    min-width: 6.9rem;
}

/* Make the filled Reserve and the outlined "Show Reservation" / "No stock"
   variants inherit the unified geometry — without this, the base rules at
   .erp-warehouse-reserve-button still impose min-height: 2.5rem (filled) or
   2.2rem (view), which breaks alignment when Verify + Delete sit next to
   them. Scoped to the CO list page so other warehouse screens are unaffected. */
body.page-platform-pnprofilecustomerorder-list .erp-co-cell--actions .erp-warehouse-reserve-button,
body.page-platform-pnprofilecustomerorder-list .erp-co-cell--actions .erp-warehouse-reserve-button--view,
body.page-platform-pnprofilecustomerorder-list .erp-co-cell--actions .erp-warehouse-reserve-button--disabled {
    min-height: 2.15rem !important;
    font-size: 0.76rem !important;
    font-weight: 800 !important;
    padding: 0.4rem 0.7rem !important;
    border-radius: 0.8rem !important;
}

body.page-platform-pnprofilecustomerorder-list .erp-co-cell--actions .erp-warehouse-reserve-button--view {
    background: #edf7f1 !important;
    color: #247b52 !important;
    border: 1px solid #cfe6d9 !important;
    box-shadow: none !important;
}

body.page-platform-pnprofilecustomerorder-list .erp-co-cell--actions .erp-warehouse-reserve-button--view:hover,
body.page-platform-pnprofilecustomerorder-list .erp-co-cell--actions .erp-warehouse-reserve-button--view:focus {
    background: #dff0e6 !important;
    color: #1e6c47 !important;
    border-color: #b9dcc8 !important;
}

@media (max-width: 991.98px) {
    body.page-platform-pnprofilecustomerorder-list .erp-co-table-shell {
        padding: 0.35rem !important;
    }

    body.page-platform-pnprofilecustomerorder-list .erp-co-cell--documents,
    body.page-platform-pnprofilecustomerorder-list .erp-co-cell--supplier {
        min-width: 0;
    }

    body.page-platform-pnprofilecustomerorder-list .erp-co-input--price,
    body.page-platform-pnprofilecustomerorder-list .erp-co-date-input,
    body.page-platform-pnprofilecustomerorder-list .erp-co-select {
        width: 100%;
    }
}body.page-platform-email-import-list .erp-top-actions-shell .screen-actions,
body.page-platform-co-email-import-list .erp-top-actions-shell .screen-actions {
    gap: 0.55rem;
    justify-content: flex-start;
}body.page-platform-email-import-list .erp-email-import-watchbar,
body.page-platform-co-email-import-list .erp-email-import-watchbar {
    background: linear-gradient(180deg, #f7fbfd 0%, #eff5f8 100%);
    border-bottom: 1px solid #dbe7ed;
    color: #4c606f;
    display: flex;
    flex-direction: column;
    font-size: 0.85rem;
    gap: 0.5rem;
    padding: 0.85rem 1.5rem;
}body.page-platform-email-import-list .erp-email-import-watchbar .erp-offer-summary__metrics,
body.page-platform-co-email-import-list .erp-email-import-watchbar .erp-offer-summary__metrics {
    display: grid;
    gap: 0.65rem;
    grid-template-columns: repeat(auto-fit, minmax(7rem, 1fr));
}body.page-platform-email-import-list .erp-email-import-watchbar .erp-summary-metric,
body.page-platform-co-email-import-list .erp-email-import-watchbar .erp-summary-metric {
    background: #ffffff;
    border: 1px solid #dcebed;
    border-radius: 0.75rem;
    box-shadow: 0 4px 12px rgba(28, 76, 92, 0.05);
    padding: 0.55rem 0.75rem;
}body.page-platform-email-import-list .erp-email-import-watchbar .erp-summary-metric span,
body.page-platform-co-email-import-list .erp-email-import-watchbar .erp-summary-metric span {
    color: #678188;
    display: block;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    margin-bottom: 0.15rem;
    text-transform: uppercase;
}body.page-platform-email-import-list .erp-email-import-watchbar .erp-summary-metric strong,
body.page-platform-co-email-import-list .erp-email-import-watchbar .erp-summary-metric strong {
    color: #224049;
    display: block;
    font-size: 0.95rem;
    font-weight: 800;
}body.page-platform-email-import-list .erp-summary-metric--warning,
body.page-platform-co-email-import-list .erp-summary-metric--warning {
    background: #fefce8 !important;
    border-color: #fde047 !important;
}body.page-platform-email-import-list .erp-summary-metric--warning span,
body.page-platform-co-email-import-list .erp-summary-metric--warning span { color: #854d0e !important; }body.page-platform-email-import-list .erp-summary-metric--warning strong,
body.page-platform-co-email-import-list .erp-summary-metric--warning strong { color: #713f12 !important; }body.page-platform-email-import-list .erp-summary-metric--info,
body.page-platform-co-email-import-list .erp-summary-metric--info {
    background: #eff6ff !important;
    border-color: #93c5fd !important;
}body.page-platform-email-import-list .erp-summary-metric--info span,
body.page-platform-co-email-import-list .erp-summary-metric--info span { color: #1e40af !important; }body.page-platform-email-import-list .erp-summary-metric--info strong,
body.page-platform-co-email-import-list .erp-summary-metric--info strong { color: #1e3a8a !important; }body.page-platform-email-import-list .erp-summary-metric--success,
body.page-platform-co-email-import-list .erp-summary-metric--success {
    background: #f0fdf4 !important;
    border-color: #86efac !important;
}body.page-platform-email-import-list .erp-summary-metric--success span,
body.page-platform-co-email-import-list .erp-summary-metric--success span { color: #166534 !important; }body.page-platform-email-import-list .erp-summary-metric--success strong,
body.page-platform-co-email-import-list .erp-summary-metric--success strong { color: #14532d !important; }body.page-platform-email-import-list .erp-summary-metric--danger,
body.page-platform-co-email-import-list .erp-summary-metric--danger {
    background: #fef2f2 !important;
    border-color: #fca5a5 !important;
}body.page-platform-email-import-list .erp-summary-metric--danger span,
body.page-platform-co-email-import-list .erp-summary-metric--danger span { color: #991b1b !important; }body.page-platform-email-import-list .erp-summary-metric--danger strong,
body.page-platform-co-email-import-list .erp-summary-metric--danger strong { color: #7f1d1d !important; }body.page-platform-email-import-list .erp-email-import-watchbar__stats,
body.page-platform-co-email-import-list .erp-email-import-watchbar__stats,
body.page-platform-email-import-list .erp-email-import-watchbar__actions,
body.page-platform-co-email-import-list .erp-email-import-watchbar__actions {
    align-items: center;
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}body.page-platform-email-import-list .erp-email-import-watchbar__actions .btn-link,
body.page-platform-co-email-import-list .erp-email-import-watchbar__actions .btn-link {
    color: #205a6a;
    font-weight: 700;
    text-decoration: none;
}body.page-platform-email-import-list .erp-email-import-watchbar__actions .btn-link:hover,
body.page-platform-co-email-import-list .erp-email-import-watchbar__actions .btn-link:hover,
body.page-platform-email-import-list .erp-email-import-watchbar__actions .btn-link:focus,
body.page-platform-co-email-import-list .erp-email-import-watchbar__actions .btn-link:focus {
    color: #154451;
    text-decoration: underline;
}body.page-platform-email-import-list .erp-email-import-notice,
body.page-platform-co-email-import-list .erp-email-import-notice {
    align-items: center;
    background: linear-gradient(135deg, #fff8e8 0%, #fff1cc 100%);
    border: 1px solid #efc35f;
    border-radius: 1.15rem;
    box-shadow: 0 18px 34px rgba(118, 83, 17, 0.14);
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin: 1rem 1.5rem 0;
    padding: 1rem 1.15rem;
}body.page-platform-email-import-list .erp-email-import-notice__copy,
body.page-platform-co-email-import-list .erp-email-import-notice__copy {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
}body.page-platform-email-import-list .erp-email-import-notice__eyebrow,
body.page-platform-co-email-import-list .erp-email-import-notice__eyebrow {
    color: #8d6512;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}body.page-platform-email-import-list .erp-email-import-notice__title,
body.page-platform-co-email-import-list .erp-email-import-notice__title {
    color: #3d2d08;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.2;
}body.page-platform-email-import-list .erp-email-import-notice__message,
body.page-platform-co-email-import-list .erp-email-import-notice__message {
    color: #6e5720;
    font-size: 0.93rem;
    line-height: 1.5;
    margin: 0;
}body.page-platform-email-import-list .erp-email-import-notice__actions,
body.page-platform-co-email-import-list .erp-email-import-notice__actions {
    align-items: center;
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: flex-end;
}body.page-platform-email-import-list .erp-email-import-notice__countdown,
body.page-platform-co-email-import-list .erp-email-import-notice__countdown {
    color: #75561a;
    font-size: 0.83rem;
    font-weight: 700;
    white-space: nowrap;
}body.page-platform-email-import-list .erp-email-import-notice__button,
body.page-platform-co-email-import-list .erp-email-import-notice__button {
    border-radius: 0.9rem !important;
    box-shadow: none !important;
    min-width: 8.5rem;
    padding: 0.72rem 0.95rem !important;
}body.page-platform-email-import-list .erp-email-import-notice__button--primary,
body.page-platform-co-email-import-list .erp-email-import-notice__button--primary {
    background: linear-gradient(180deg, #247f86 0%, #1d666c 100%) !important;
    border: 1px solid #19585d !important;
    color: #ffffff !important;
}body.page-platform-email-import-list .erp-email-import-notice__button--primary:hover,
body.page-platform-co-email-import-list .erp-email-import-notice__button--primary:hover,
body.page-platform-email-import-list .erp-email-import-notice__button--primary:focus,
body.page-platform-co-email-import-list .erp-email-import-notice__button--primary:focus {
    background: linear-gradient(180deg, #2a8d94 0%, #236f75 100%) !important;
    border-color: #174f53 !important;
    color: #ffffff !important;
}body.page-platform-email-import-list .erp-email-import-notice__button--secondary,
body.page-platform-co-email-import-list .erp-email-import-notice__button--secondary {
    background: linear-gradient(180deg, #ffffff 0%, #fbf8ef 100%) !important;
    border: 1px solid #dfcb9a !important;
    color: #6a5320 !important;
}body.page-platform-email-import-list .erp-email-import-notice__button--secondary:hover,
body.page-platform-co-email-import-list .erp-email-import-notice__button--secondary:hover,
body.page-platform-email-import-list .erp-email-import-notice__button--secondary:focus,
body.page-platform-co-email-import-list .erp-email-import-notice__button--secondary:focus {
    background: linear-gradient(180deg, #fffef8 0%, #f9f2dd 100%) !important;
    border-color: #ceb270 !important;
    color: #543f15 !important;
}body.page-platform-email-import-list .erp-email-import-runtime-panel,
body.page-platform-co-email-import-list .erp-email-import-runtime-panel {
    background:
        radial-gradient(circle at top right, rgba(36, 102, 122, 0.14), transparent 28%),
        linear-gradient(135deg, #f6fbfc 0%, #ffffff 58%, #e8f2f4 100%);
    border: 1px solid #d7e6ea;
    border-radius: 1.2rem;
    box-shadow: 0 14px 30px rgba(29, 77, 91, 0.08);
    margin: 1.5rem 0 1.5rem;
    padding: 1.25rem 1.5rem;
}body.page-platform-email-import-list .erp-email-import-runtime-panel__intro,
body.page-platform-co-email-import-list .erp-email-import-runtime-panel__intro {
    margin-bottom: 0.85rem;
}body.page-platform-email-import-list .erp-email-import-runtime-panel__eyebrow,
body.page-platform-co-email-import-list .erp-email-import-runtime-panel__eyebrow {
    color: #5b7b83;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin: 0 0 0.35rem;
    text-transform: uppercase;
}body.page-platform-email-import-list .erp-email-import-runtime-panel__title,
body.page-platform-co-email-import-list .erp-email-import-runtime-panel__title {
    color: #214a58;
    font-size: 1.28rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0 0 0.35rem;
}body.page-platform-email-import-list .erp-email-import-runtime-panel__description,
body.page-platform-co-email-import-list .erp-email-import-runtime-panel__description {
    color: #607984;
    font-size: 0.9rem;
    margin: 0;
    max-width: 60rem;
}body.page-platform-email-import-list .erp-email-import-runtime-panel__grid,
body.page-platform-co-email-import-list .erp-email-import-runtime-panel__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
    gap: 0.85rem;
}body.page-platform-email-import-list .erp-email-import-runtime-card,
body.page-platform-co-email-import-list .erp-email-import-runtime-card {
    background: linear-gradient(180deg, #ffffff 0%, #f7fbfd 100%);
    border: 1px solid #dce8ed;
    border-radius: 1rem;
    box-shadow: 0 9px 18px rgba(35, 55, 74, 0.05);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    justify-content: space-between;
    margin: 0;
    min-height: 9.5rem;
    padding: 0.85rem 0.9rem;
    min-width: 0;
}body.page-platform-email-import-list .erp-email-import-runtime-card__footer,
body.page-platform-co-email-import-list .erp-email-import-runtime-card__footer {
    border-top: 1px solid #e5eef2;
    margin-top: auto;
    padding-top: 0.5rem;
}body.page-platform-email-import-list .erp-email-import-runtime-card__eyebrow,
body.page-platform-co-email-import-list .erp-email-import-runtime-card__eyebrow {
    color: #6a8790;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    margin: 0 0 0.35rem;
    text-transform: uppercase;
}body.page-platform-email-import-list .erp-email-import-runtime-card__title,
body.page-platform-co-email-import-list .erp-email-import-runtime-card__title {
    color: #224d59;
    font-size: 0.98rem;
    font-weight: 800;
    margin: 0 0 0.4rem;
}body.page-platform-email-import-list .erp-email-import-runtime-card__description,
body.page-platform-co-email-import-list .erp-email-import-runtime-card__description {
    color: #637a83;
    font-size: 0.84rem;
    line-height: 1.45;
    margin: 0;
}body.page-platform-email-import-list .erp-runtime-switch,
body.page-platform-co-email-import-list .erp-runtime-switch {
    align-items: center;
    display: grid;
    gap: 0.75rem;
    grid-template-columns: minmax(0, 1fr) auto;
    margin: 0;
    position: relative;
    width: 100%;
}body.page-platform-email-import-list .erp-runtime-switch input[type="checkbox"],
body.page-platform-co-email-import-list .erp-runtime-switch input[type="checkbox"] {
    height: 1px;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    width: 1px;
}body.page-platform-email-import-list .erp-runtime-switch__track,
body.page-platform-co-email-import-list .erp-runtime-switch__track {
    background: linear-gradient(180deg, #d9e6eb 0%, #cddce2 100%);
    border: 1px solid #bfd0d8;
    border-radius: 999px;
    box-shadow: inset 0 1px 2px rgba(41, 75, 89, 0.08);
    display: inline-flex;
    flex: 0 0 auto;
    height: 1.55rem;
    position: relative;
    transition: all 0.2s ease;
    width: 2.85rem;
}body.page-platform-email-import-list .erp-runtime-switch__track::before,
body.page-platform-co-email-import-list .erp-runtime-switch__track::before {
    background: linear-gradient(180deg, #ffffff 0%, #eef5f7 100%);
    border-radius: 999px;
    box-shadow: 0 3px 8px rgba(52, 76, 88, 0.18);
    content: "";
    height: 1.15rem;
    left: 0.16rem;
    position: absolute;
    top: 0.13rem;
    transition: transform 0.2s ease;
    width: 1.15rem;
}body.page-platform-email-import-list .erp-runtime-switch input[type="checkbox"]:checked + .erp-runtime-switch__track,
body.page-platform-co-email-import-list .erp-runtime-switch input[type="checkbox"]:checked + .erp-runtime-switch__track {
    background: linear-gradient(180deg, #2d918f 0%, #247a78 100%);
    border-color: #1e6c6b;
}body.page-platform-email-import-list .erp-runtime-switch input[type="checkbox"]:checked + .erp-runtime-switch__track::before,
body.page-platform-co-email-import-list .erp-runtime-switch input[type="checkbox"]:checked + .erp-runtime-switch__track::before {
    transform: translateX(1.12rem);
}body.page-platform-email-import-list .erp-runtime-switch__labels,
body.page-platform-co-email-import-list .erp-runtime-switch__labels {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}body.page-platform-email-import-list .erp-runtime-switch__state,
body.page-platform-co-email-import-list .erp-runtime-switch__state {
    color: #214956;
    font-size: 0.86rem;
    font-weight: 800;
}body.page-platform-email-import-list .erp-runtime-switch__hint,
body.page-platform-co-email-import-list .erp-runtime-switch__hint {
    color: #738993;
    font-size: 0.74rem;
    line-height: 1.35;
}body.page-platform-email-import-list .erp-runtime-switch--mode,
body.page-platform-co-email-import-list .erp-runtime-switch--mode {
    display: grid;
    gap: 0.55rem;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}body.page-platform-email-import-list .erp-runtime-switch__mode-label,
body.page-platform-co-email-import-list .erp-runtime-switch__mode-label {
    color: #748892;
    font-size: 0.74rem;
    font-weight: 800;
    text-transform: uppercase;
}body.page-platform-email-import-list .erp-runtime-switch--mode .erp-runtime-switch__mode-label:first-of-type,
body.page-platform-co-email-import-list .erp-runtime-switch--mode .erp-runtime-switch__mode-label:first-of-type {
    text-align: right;
}body.page-platform-email-import-list .erp-runtime-switch--mode .erp-runtime-switch__mode-label:last-of-type,
body.page-platform-co-email-import-list .erp-runtime-switch--mode .erp-runtime-switch__mode-label:last-of-type {
    text-align: left;
}body.page-platform-email-import-list .erp-runtime-switch__mode-label.is-active,
body.page-platform-co-email-import-list .erp-runtime-switch__mode-label.is-active {
    color: #214956;
}body.page-platform-email-import-list .erp-email-import-fetch-action,
body.page-platform-co-email-import-list .erp-email-import-fetch-action {
    background: linear-gradient(180deg, #2d918f 0%, #247a78 100%) !important;
    border: 1px solid #1e6c6b !important;
    border-radius: 0.95rem !important;
    box-shadow: 0 12px 24px rgba(24, 99, 98, 0.18) !important;
    color: #ffffff !important;
    min-width: 10.5rem;
    padding: 0.8rem 1rem !important;
    text-transform: uppercase;
}body.page-platform-email-import-list .erp-email-import-fetch-action:hover,
body.page-platform-co-email-import-list .erp-email-import-fetch-action:hover,
body.page-platform-email-import-list .erp-email-import-fetch-action:focus,
body.page-platform-co-email-import-list .erp-email-import-fetch-action:focus {
    background: linear-gradient(180deg, #319b98 0%, #287f7d 100%) !important;
    border-color: #1c6261 !important;
    color: #ffffff !important;
}body.page-platform-email-import-list .erp-email-import-toggle,
body.page-platform-co-email-import-list .erp-email-import-toggle {
    background: linear-gradient(180deg, #ffffff 0%, #f3f7fa 100%) !important;
    border: 1px solid #d9e4ea !important;
    border-radius: 0.95rem !important;
    box-shadow: 0 10px 22px rgba(35, 55, 74, 0.06) !important;
    min-width: 9.75rem;
    padding: 0.8rem 1rem !important;
    text-transform: uppercase;
}body.page-platform-email-import-list .erp-email-import-toggle .icon,
body.page-platform-co-email-import-list .erp-email-import-toggle .icon {
    font-size: 0.9rem;
}body.page-platform-email-import-list .erp-email-import-toggle--active,
body.page-platform-co-email-import-list .erp-email-import-toggle--active {
    background: linear-gradient(180deg, #eaf8f2 0%, #d8f1e5 100%) !important;
    border-color: #9ccfb1 !important;
    color: #1c6b45 !important;
}body.page-platform-email-import-list .erp-email-import-toggle--active:hover,
body.page-platform-co-email-import-list .erp-email-import-toggle--active:hover,
body.page-platform-email-import-list .erp-email-import-toggle--active:focus,
body.page-platform-co-email-import-list .erp-email-import-toggle--active:focus {
    background: linear-gradient(180deg, #edf9f3 0%, #dcf2e8 100%) !important;
    border-color: #8fc7a7 !important;
    color: #16583a !important;
}body.page-platform-email-import-list .erp-email-import-toggle--inactive,
body.page-platform-co-email-import-list .erp-email-import-toggle--inactive {
    background: linear-gradient(180deg, #ffffff 0%, #f4f7fa 100%) !important;
    border-color: #dbe4ea !important;
    color: #546770 !important;
}body.page-platform-email-import-list .erp-email-import-toggle--inactive:hover,
body.page-platform-co-email-import-list .erp-email-import-toggle--inactive:hover,
body.page-platform-email-import-list .erp-email-import-toggle--inactive:focus,
body.page-platform-co-email-import-list .erp-email-import-toggle--inactive:focus {
    background: linear-gradient(180deg, #ffffff 0%, #eef3f7 100%) !important;
    border-color: #c9d8e1 !important;
    color: #344955 !important;
}

@media (max-width: 767.98px) {
    body.page-platform-email-import-list .erp-email-import-watchbar,
    body.page-platform-email-import-list .erp-email-import-notice {
        align-items: flex-start;
        flex-direction: column;
    }

    body.page-platform-email-import-list .erp-email-import-notice {
        margin-inline: 1rem;
    }

    body.page-platform-email-import-list .erp-email-import-runtime-panel {
        margin: 1.25rem 0;
        padding: 1rem;
    }

    body.page-platform-email-import-list .erp-email-import-runtime-panel__grid {
        display: grid;
        grid-template-columns: 1fr;
    }

    body.page-platform-email-import-list .erp-email-import-runtime-card {
        flex: 1 1 auto;
        min-height: auto;
        max-width: none;
        width: 100%;
    }

    body.page-platform-email-import-list .erp-email-import-notice__actions {
        width: 100%;
    }

    body.page-platform-email-import-list .erp-email-import-notice__button {
        min-width: calc(50vw - 2.2rem);
        width: 100%;
    }

    body.page-platform-email-import-list .erp-email-import-toggle {
        min-width: calc(50vw - 2rem);
        width: 100%;
    }
}

/* LTB email import pages share the RFQ visual shell, but live on different route body classes. */
body.page-platform-ltb-import-list .erp-top-actions-shell .screen-actions {
    gap: 0.55rem;
    justify-content: flex-start;
}

body.page-platform-ltb-import-list .erp-email-import-watchbar {
    background: linear-gradient(180deg, #f7fbfd 0%, #eff5f8 100%);
    border-bottom: 1px solid #dbe7ed;
    color: #4c606f;
    display: flex;
    flex-direction: column;
    font-size: 0.85rem;
    gap: 0.5rem;
    padding: 0.85rem 1.5rem;
}

body.page-platform-ltb-import-list .erp-email-import-watchbar .erp-offer-summary__metrics {
    display: grid;
    gap: 0.65rem;
    grid-template-columns: repeat(auto-fit, minmax(7rem, 1fr));
}

body.page-platform-ltb-import-list .erp-email-import-watchbar .erp-summary-metric {
    background: #ffffff;
    border: 1px solid #dcebed;
    border-radius: 0.75rem;
    box-shadow: 0 4px 12px rgba(28, 76, 92, 0.05);
    padding: 0.55rem 0.75rem;
}

body.page-platform-ltb-import-list .erp-email-import-watchbar .erp-summary-metric span {
    color: #678188;
    display: block;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    margin-bottom: 0.15rem;
    text-transform: uppercase;
}

body.page-platform-ltb-import-list .erp-email-import-watchbar .erp-summary-metric strong {
    color: #224049;
    display: block;
    font-size: 0.95rem;
    font-weight: 800;
}

body.page-platform-ltb-import-list .erp-summary-metric--warning {
    background: #fefce8 !important;
    border-color: #fde047 !important;
}
body.page-platform-ltb-import-list .erp-summary-metric--warning span { color: #854d0e !important; }
body.page-platform-ltb-import-list .erp-summary-metric--warning strong { color: #713f12 !important; }

body.page-platform-ltb-import-list .erp-summary-metric--info {
    background: #eff6ff !important;
    border-color: #93c5fd !important;
}
body.page-platform-ltb-import-list .erp-summary-metric--info span { color: #1e40af !important; }
body.page-platform-ltb-import-list .erp-summary-metric--info strong { color: #1e3a8a !important; }

body.page-platform-ltb-import-list .erp-summary-metric--success {
    background: #f0fdf4 !important;
    border-color: #86efac !important;
}
body.page-platform-ltb-import-list .erp-summary-metric--success span { color: #166534 !important; }
body.page-platform-ltb-import-list .erp-summary-metric--success strong { color: #14532d !important; }

body.page-platform-ltb-import-list .erp-summary-metric--danger {
    background: #fef2f2 !important;
    border-color: #fca5a5 !important;
}
body.page-platform-ltb-import-list .erp-summary-metric--danger span { color: #991b1b !important; }
body.page-platform-ltb-import-list .erp-summary-metric--danger strong { color: #7f1d1d !important; }

body.page-platform-ltb-import-list .erp-email-import-watchbar__stats,
body.page-platform-ltb-import-list .erp-email-import-watchbar__actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

body.page-platform-ltb-import-list .erp-email-import-watchbar__actions .btn-link {
    color: #2b6775 !important;
    font-size: 0.83rem;
    font-weight: 700;
    text-decoration: none;
}

body.page-platform-ltb-import-list .erp-email-import-watchbar__actions .btn-link:hover,
body.page-platform-ltb-import-list .erp-email-import-watchbar__actions .btn-link:focus {
    color: #174e59 !important;
    text-decoration: underline;
}

body.page-platform-ltb-import-list .erp-email-import-notice {
    align-items: center;
    background: linear-gradient(180deg, #fff9eb 0%, #fff4d2 100%);
    border: 1px solid #efcf78;
    border-radius: 1rem;
    box-shadow: 0 12px 24px rgba(126, 96, 23, 0.1);
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin: 1rem 0 1.35rem;
    padding: 1rem 1.2rem;
}

body.page-platform-ltb-import-list .erp-email-import-notice__copy {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 0.12rem;
}

body.page-platform-ltb-import-list .erp-email-import-notice__eyebrow {
    color: #8b6a24;
    font-size: 0.73rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

body.page-platform-ltb-import-list .erp-email-import-notice__title {
    color: #3d2d08;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.2;
}

body.page-platform-ltb-import-list .erp-email-import-notice__message {
    color: #6e5720;
    font-size: 0.93rem;
    line-height: 1.5;
    margin: 0;
}

body.page-platform-ltb-import-list .erp-email-import-notice__actions {
    align-items: center;
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: flex-end;
}

body.page-platform-ltb-import-list .erp-email-import-notice__countdown {
    color: #75561a;
    font-size: 0.83rem;
    font-weight: 700;
    white-space: nowrap;
}

body.page-platform-ltb-import-list .erp-email-import-notice__button {
    border-radius: 0.9rem !important;
    box-shadow: none !important;
    min-width: 8.5rem;
    padding: 0.72rem 0.95rem !important;
}

body.page-platform-ltb-import-list .erp-email-import-notice__button--primary {
    background: linear-gradient(180deg, #247f86 0%, #1d666c 100%) !important;
    border: 1px solid #19585d !important;
    color: #ffffff !important;
}

body.page-platform-ltb-import-list .erp-email-import-notice__button--primary:hover,
body.page-platform-ltb-import-list .erp-email-import-notice__button--primary:focus {
    background: linear-gradient(180deg, #2a8d94 0%, #236f75 100%) !important;
    border-color: #174f53 !important;
    color: #ffffff !important;
}

body.page-platform-ltb-import-list .erp-email-import-notice__button--secondary {
    background: linear-gradient(180deg, #ffffff 0%, #fbf8ef 100%) !important;
    border: 1px solid #dfcb9a !important;
    color: #6a5320 !important;
}

body.page-platform-ltb-import-list .erp-email-import-notice__button--secondary:hover,
body.page-platform-ltb-import-list .erp-email-import-notice__button--secondary:focus {
    background: linear-gradient(180deg, #fffef8 0%, #f9f2dd 100%) !important;
    border-color: #ceb270 !important;
    color: #543f15 !important;
}

body:is(.page-platform-ltb-import-list, .page-platform-settings) .erp-email-import-runtime-panel {
    background:
        radial-gradient(circle at top right, rgba(36, 102, 122, 0.14), transparent 28%),
        linear-gradient(135deg, #f6fbfc 0%, #ffffff 58%, #e8f2f4 100%);
    border: 1px solid #d7e6ea;
    border-radius: 1.2rem;
    box-shadow: 0 14px 30px rgba(29, 77, 91, 0.08);
    margin: 1.5rem 0 1.5rem;
    padding: 1.25rem 1.5rem;
}

body:is(.page-platform-ltb-import-list, .page-platform-settings) .erp-email-import-runtime-panel__intro {
    margin-bottom: 0.85rem;
}

body:is(.page-platform-ltb-import-list, .page-platform-settings) .erp-email-import-runtime-panel__eyebrow {
    color: #5b7b83;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin: 0 0 0.35rem;
    text-transform: uppercase;
}

body:is(.page-platform-ltb-import-list, .page-platform-settings) .erp-email-import-runtime-panel__title {
    color: #214a58;
    font-size: 1.28rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0 0 0.35rem;
}

body:is(.page-platform-ltb-import-list, .page-platform-settings) .erp-email-import-runtime-panel__description {
    color: #607984;
    font-size: 0.9rem;
    margin: 0;
    max-width: 60rem;
}

body:is(.page-platform-ltb-import-list, .page-platform-settings) .erp-email-import-runtime-panel__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
    gap: 0.85rem;
}

body:is(.page-platform-ltb-import-list, .page-platform-settings) .erp-email-import-runtime-card {
    background: linear-gradient(180deg, #ffffff 0%, #f7fbfd 100%);
    border: 1px solid #dce8ed;
    border-radius: 1rem;
    box-shadow: 0 9px 18px rgba(35, 55, 74, 0.05);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    justify-content: space-between;
    margin: 0;
    min-height: 9.5rem;
    min-width: 0;
    padding: 0.85rem 0.9rem;
}

body:is(.page-platform-ltb-import-list, .page-platform-settings) .erp-email-import-runtime-card__footer {
    border-top: 1px solid #e5eef2;
    margin-top: auto;
    padding-top: 0.5rem;
}

body:is(.page-platform-ltb-import-list, .page-platform-settings) .erp-email-import-runtime-card__eyebrow {
    color: #6a8790;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    margin: 0 0 0.35rem;
    text-transform: uppercase;
}

body:is(.page-platform-ltb-import-list, .page-platform-settings) .erp-email-import-runtime-card__title {
    color: #224d59;
    font-size: 0.98rem;
    font-weight: 800;
    margin: 0 0 0.4rem;
}

body:is(.page-platform-ltb-import-list, .page-platform-settings) .erp-email-import-runtime-card__description {
    color: #637a83;
    font-size: 0.84rem;
    line-height: 1.45;
    margin: 0;
}

body:is(.page-platform-ltb-import-list, .page-platform-settings) .erp-runtime-switch {
    align-items: center;
    display: grid;
    gap: 0.75rem;
    grid-template-columns: minmax(0, 1fr) auto;
    margin: 0;
    position: relative;
    width: 100%;
}

body:is(.page-platform-ltb-import-list, .page-platform-settings) .erp-runtime-switch input[type="checkbox"] {
    height: 1px;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    width: 1px;
}

body:is(.page-platform-ltb-import-list, .page-platform-settings) .erp-runtime-switch__track {
    background: linear-gradient(180deg, #d9e6eb 0%, #cddce2 100%);
    border: 1px solid #bfd0d8;
    border-radius: 999px;
    box-shadow: inset 0 1px 2px rgba(41, 75, 89, 0.08);
    display: inline-flex;
    flex: 0 0 auto;
    height: 1.55rem;
    position: relative;
    transition: all 0.2s ease;
    width: 2.85rem;
}

body:is(.page-platform-ltb-import-list, .page-platform-settings) .erp-runtime-switch__track::before {
    background: linear-gradient(180deg, #ffffff 0%, #eef5f7 100%);
    border-radius: 999px;
    box-shadow: 0 3px 8px rgba(52, 76, 88, 0.18);
    content: "";
    height: 1.15rem;
    left: 0.16rem;
    position: absolute;
    top: 0.13rem;
    transition: transform 0.2s ease;
    width: 1.15rem;
}

body:is(.page-platform-ltb-import-list, .page-platform-settings) .erp-runtime-switch input[type="checkbox"]:checked + .erp-runtime-switch__track {
    background: linear-gradient(180deg, #2d918f 0%, #247a78 100%);
    border-color: #1e6c6b;
}

body:is(.page-platform-ltb-import-list, .page-platform-settings) .erp-runtime-switch input[type="checkbox"]:checked + .erp-runtime-switch__track::before {
    transform: translateX(1.12rem);
}

body:is(.page-platform-ltb-import-list, .page-platform-settings) .erp-runtime-switch__labels {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}

body:is(.page-platform-ltb-import-list, .page-platform-settings) .erp-runtime-switch__state {
    color: #214956;
    font-size: 0.86rem;
    font-weight: 800;
}

body:is(.page-platform-ltb-import-list, .page-platform-settings) .erp-runtime-switch__hint {
    color: #738993;
    font-size: 0.74rem;
    line-height: 1.35;
}

body.page-platform-ltb-import-list .erp-email-import-fetch-action {
    background: linear-gradient(180deg, #2d918f 0%, #247a78 100%) !important;
    border: 1px solid #1e6c6b !important;
    border-radius: 0.95rem !important;
    box-shadow: 0 12px 24px rgba(24, 99, 98, 0.18) !important;
    color: #ffffff !important;
    min-width: 10.5rem;
    padding: 0.8rem 1rem !important;
    text-transform: uppercase;
}

body.page-platform-ltb-import-list .erp-email-import-fetch-action:hover,
body.page-platform-ltb-import-list .erp-email-import-fetch-action:focus {
    background: linear-gradient(180deg, #319b98 0%, #287f7d 100%) !important;
    border-color: #1c6261 !important;
    color: #ffffff !important;
}

body.page-platform-ltb-import-list .erp-email-import-toggle {
    background: linear-gradient(180deg, #ffffff 0%, #f3f7fa 100%) !important;
    border: 1px solid #d9e4ea !important;
    border-radius: 0.95rem !important;
    box-shadow: 0 10px 22px rgba(35, 55, 74, 0.06) !important;
    min-width: 9.75rem;
    padding: 0.8rem 1rem !important;
    text-transform: uppercase;
}

body.page-platform-ltb-import-list .erp-email-import-toggle .icon {
    font-size: 0.9rem;
}

body.page-platform-ltb-import-list .erp-email-import-toggle--active {
    background: linear-gradient(180deg, #eaf8f2 0%, #d8f1e5 100%) !important;
    border-color: #9ccfb1 !important;
    color: #1c6b45 !important;
}

body.page-platform-ltb-import-list .erp-email-import-toggle--active:hover,
body.page-platform-ltb-import-list .erp-email-import-toggle--active:focus {
    background: linear-gradient(180deg, #edf9f3 0%, #dcf2e8 100%) !important;
    border-color: #8fc7a7 !important;
    color: #16583a !important;
}

body.page-platform-ltb-import-list .erp-email-import-toggle--inactive {
    background: linear-gradient(180deg, #ffffff 0%, #f4f7fa 100%) !important;
    border-color: #dbe4ea !important;
    color: #546770 !important;
}

body.page-platform-ltb-import-list .erp-email-import-toggle--inactive:hover,
body.page-platform-ltb-import-list .erp-email-import-toggle--inactive:focus {
    background: linear-gradient(180deg, #ffffff 0%, #eef3f7 100%) !important;
    border-color: #c9d8e1 !important;
    color: #344955 !important;
}

@media (max-width: 767.98px) {
    body.page-platform-ltb-import-list .erp-email-import-watchbar,
    body.page-platform-ltb-import-list .erp-email-import-notice {
        align-items: flex-start;
        flex-direction: column;
    }

    body.page-platform-ltb-import-list .erp-email-import-notice {
        margin-inline: 1rem;
    }

    body:is(.page-platform-ltb-import-list, .page-platform-settings) .erp-email-import-runtime-panel {
        margin: 1.25rem 0;
        padding: 1rem;
    }

    body:is(.page-platform-ltb-import-list, .page-platform-settings) .erp-email-import-runtime-panel__grid {
        display: grid;
        grid-template-columns: 1fr;
    }

    body:is(.page-platform-ltb-import-list, .page-platform-settings) .erp-email-import-runtime-card {
        flex: 1 1 auto;
        min-height: auto;
        max-width: none;
        width: 100%;
    }

    body.page-platform-ltb-import-list .erp-email-import-notice__actions {
        width: 100%;
    }

    body.page-platform-ltb-import-list .erp-email-import-notice__button {
        min-width: calc(50vw - 2.2rem);
        width: 100%;
    }

    body.page-platform-ltb-import-list .erp-email-import-toggle {
        min-width: calc(50vw - 2rem);
        width: 100%;
    }
}body.page-platform-email-import-detail .erp-email-import-detail-action,
body.page-platform-co-email-import-detail .erp-email-import-detail-action {
    border-radius: 0.95rem !important;
    box-shadow: 0 10px 22px rgba(35, 55, 74, 0.08) !important;
    min-width: 9.75rem;
    padding: 0.8rem 1rem !important;
}body.page-platform-email-import-detail .erp-email-import-detail-action--primary,
body.page-platform-co-email-import-detail .erp-email-import-detail-action--primary {
    background: linear-gradient(180deg, #2d918f 0%, #247a78 100%) !important;
    border: 1px solid #1e6c6b !important;
    color: #ffffff !important;
}body.page-platform-email-import-detail .erp-email-import-detail-action--primary:hover,
body.page-platform-co-email-import-detail .erp-email-import-detail-action--primary:hover,
body.page-platform-email-import-detail .erp-email-import-detail-action--primary:focus,
body.page-platform-co-email-import-detail .erp-email-import-detail-action--primary:focus {
    background: linear-gradient(180deg, #319b98 0%, #287f7d 100%) !important;
    border-color: #1b6362 !important;
    color: #ffffff !important;
}body.page-platform-email-import-detail .erp-email-import-detail-action--warning,
body.page-platform-co-email-import-detail .erp-email-import-detail-action--warning {
    background: linear-gradient(180deg, #fff8e8 0%, #f9edc9 100%) !important;
    border: 1px solid #e1b85d !important;
    color: #5f4814 !important;
}body.page-platform-email-import-detail .erp-email-import-detail-action--warning:hover,
body.page-platform-co-email-import-detail .erp-email-import-detail-action--warning:hover,
body.page-platform-email-import-detail .erp-email-import-detail-action--warning:focus,
body.page-platform-co-email-import-detail .erp-email-import-detail-action--warning:focus {
    background: linear-gradient(180deg, #fff9ec 0%, #f7e7bf 100%) !important;
    border-color: #d3a94b !important;
    color: #49370f !important;
}body.page-platform-email-import-detail .erp-email-import-detail-action--secondary,
body.page-platform-co-email-import-detail .erp-email-import-detail-action--secondary {
    background: linear-gradient(180deg, #ffffff 0%, #f3f7fa 100%) !important;
    border: 1px solid #d9e4ea !important;
    color: #425663 !important;
}body.page-platform-email-import-detail .erp-email-import-detail-action--secondary:hover,
body.page-platform-co-email-import-detail .erp-email-import-detail-action--secondary:hover,
body.page-platform-email-import-detail .erp-email-import-detail-action--secondary:focus,
body.page-platform-co-email-import-detail .erp-email-import-detail-action--secondary:focus {
    background: linear-gradient(180deg, #ffffff 0%, #edf3f7 100%) !important;
    border-color: #c8d7df !important;
    color: #2f4552 !important;
}body.page-platform-email-import-detail .erp-email-import-detail-action--danger,
body.page-platform-co-email-import-detail .erp-email-import-detail-action--danger {
    background: linear-gradient(180deg, #b84558 0%, #8f3243 100%) !important;
    border: 1px solid #7b2938 !important;
    color: #ffffff !important;
}body.page-platform-email-import-detail .erp-email-import-detail-action--danger:hover,
body.page-platform-co-email-import-detail .erp-email-import-detail-action--danger:hover,
body.page-platform-email-import-detail .erp-email-import-detail-action--danger:focus,
body.page-platform-co-email-import-detail .erp-email-import-detail-action--danger:focus {
    background: linear-gradient(180deg, #c14b60 0%, #98374a 100%) !important;
    border-color: #6e2432 !important;
    color: #ffffff !important;
}body.page-platform-email-import-detail .erp-email-import-detail-action[disabled],
body.page-platform-co-email-import-detail .erp-email-import-detail-action[disabled],
body.page-platform-email-import-detail .erp-email-import-detail-action.disabled,
body.page-platform-co-email-import-detail .erp-email-import-detail-action.disabled {
    background: linear-gradient(180deg, #f8fafb 0%, #eef3f6 100%) !important;
    border-color: #d8e2e8 !important;
    box-shadow: none !important;
    color: #8ca0ac !important;
    opacity: 1 !important;
}body.page-platform-email-import-detail [id*="resolveCompanyBuyer"] .erp-create-modal-intro,
body.page-platform-co-email-import-detail [id*="resolveCompanyBuyer"] .erp-create-modal-intro {
    background: linear-gradient(135deg, #f6fbfc 0%, #eaf4f6 100%);
    border: 1px solid #d9e8ec;
    border-radius: 1rem;
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.04);
    margin-bottom: 1.2rem;
    padding: 1rem 1.15rem;
}body.page-platform-email-import-detail [id*="resolveCompanyBuyer"] .erp-create-modal-intro__eyebrow,
body.page-platform-co-email-import-detail [id*="resolveCompanyBuyer"] .erp-create-modal-intro__eyebrow {
    color: #0f5c69;
}body.page-platform-email-import-detail [id*="resolveCompanyBuyer"] .erp-create-modal-intro__title,
body.page-platform-co-email-import-detail [id*="resolveCompanyBuyer"] .erp-create-modal-intro__title {
    color: #16323f;
}body.page-platform-email-import-detail [id*="resolveCompanyBuyer"] .erp-create-modal-intro__description,
body.page-platform-co-email-import-detail [id*="resolveCompanyBuyer"] .erp-create-modal-intro__description {
    color: #60717d;
}body.page-platform-email-import-detail [id*="resolveCompanyBuyer"] .modal-body,
body.page-platform-co-email-import-detail [id*="resolveCompanyBuyer"] .modal-body {
    padding: 1.1rem 1.25rem 1.3rem;
}body.page-platform-email-import-detail [id*="resolveCompanyBuyer"] .modal-body .form-group,
body.page-platform-co-email-import-detail [id*="resolveCompanyBuyer"] .modal-body .form-group {
    margin-bottom: 1.2rem;
}body.page-platform-email-import-detail [id*="resolveCompanyBuyer"] .modal-body .form-group label,
body.page-platform-co-email-import-detail [id*="resolveCompanyBuyer"] .modal-body .form-group label {
    font-size: 0.82rem;
    font-weight: 700;
    color: #16323f;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    margin-bottom: 0.4rem;
}body.page-platform-email-import-detail [id*="resolveCompanyBuyer"] .ts-wrapper.form-control,
body.page-platform-co-email-import-detail [id*="resolveCompanyBuyer"] .ts-wrapper.form-control {
    padding: 0.45rem 0.65rem;
    font-size: 0.9rem;
    border-radius: 0.5rem;
    min-height: 2.6rem;
}body.page-platform-email-import-detail [id*="resolveCompanyBuyer"] .ts-dropdown .ts-dropdown-content .option,
body.page-platform-co-email-import-detail [id*="resolveCompanyBuyer"] .ts-dropdown .ts-dropdown-content .option {
    padding: 0.55rem 0.75rem;
    font-size: 0.88rem;
    border-bottom: 1px solid #f0f4f6;
}body.page-platform-email-import-detail [id*="resolveCompanyBuyer"] .ts-dropdown .ts-dropdown-content .option:last-child,
body.page-platform-co-email-import-detail [id*="resolveCompanyBuyer"] .ts-dropdown .ts-dropdown-content .option:last-child {
    border-bottom: none;
}body.page-platform-email-import-detail [id*="resolveCompanyBuyer"] .ts-dropdown .ts-dropdown-content .option.active,
body.page-platform-co-email-import-detail [id*="resolveCompanyBuyer"] .ts-dropdown .ts-dropdown-content .option.active {
    background: #edf7f8;
    color: #0f5c69;
}body.page-platform-email-import-detail [id*="resolveCompanyBuyer"] .bg-white.rounded.shadow-sm,
body.page-platform-co-email-import-detail [id*="resolveCompanyBuyer"] .bg-white.rounded.shadow-sm {
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
}body.page-platform-email-import-detail #screen-modal-form-resolveCompanyBuyer .modal-header .modal-title,
body.page-platform-co-email-import-detail #screen-modal-form-resolveCompanyBuyer .modal-header .modal-title {
    display: none;
}body.page-platform-email-import-detail #screen-modal-form-resolveCompanyBuyer .modal-footer,
body.page-platform-co-email-import-detail #screen-modal-form-resolveCompanyBuyer .modal-footer {
    padding: 0.75rem 1.25rem;
    gap: 0.5rem;
}body.page-platform-email-import-detail #screen-modal-form-resolveCompanyBuyer .modal-footer .btn-default,
body.page-platform-co-email-import-detail #screen-modal-form-resolveCompanyBuyer .modal-footer .btn-default {
    background: linear-gradient(180deg, #2c8e8b 0%, #247574 100%);
    border: 1px solid #1f6665;
    color: #ffffff;
    border-radius: 0.5rem;
    font-weight: 600;
    padding: 0.45rem 1.2rem;
}body.page-platform-email-import-detail #screen-modal-form-resolveCompanyBuyer .modal-footer .btn-default:hover,
body.page-platform-co-email-import-detail #screen-modal-form-resolveCompanyBuyer .modal-footer .btn-default:hover {
    background: linear-gradient(180deg, #319b98 0%, #287f7d 100%);
}body.page-platform-email-import-detail .erp-email-import-counters,
body.page-platform-co-email-import-detail .erp-email-import-counters {
    background:
        radial-gradient(circle at top right, rgba(68, 145, 173, 0.14), transparent 28%),
        linear-gradient(135deg, #f6fbfd 0%, #ffffff 58%, #eef8fc 100%);
    border: 1px solid #d7e9f0;
    border-radius: 1.2rem;
    box-shadow: 0 14px 30px rgba(42, 102, 126, 0.08);
    margin: 1rem 0 0;
    padding: 1.25rem;
}body.page-platform-email-import-detail .erp-email-import-counters .erp-offer-summary__hero,
body.page-platform-co-email-import-detail .erp-email-import-counters .erp-offer-summary__hero {
    align-items: flex-start;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-bottom: 1rem;
}body.page-platform-email-import-detail .erp-email-import-counters .erp-offer-summary__eyebrow,
body.page-platform-co-email-import-detail .erp-email-import-counters .erp-offer-summary__eyebrow {
    color: #648493;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin: 0 0 0.35rem;
    text-transform: uppercase;
}body.page-platform-email-import-detail .erp-email-import-counters .erp-offer-summary__title,
body.page-platform-co-email-import-detail .erp-email-import-counters .erp-offer-summary__title {
    color: #204452;
    font-size: 1.55rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0;
}body.page-platform-email-import-detail .erp-email-import-counters .erp-offer-summary__badges,
body.page-platform-co-email-import-detail .erp-email-import-counters .erp-offer-summary__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 0.8rem;
}body.page-platform-email-import-detail .erp-email-import-counters .erp-status-pill,
body.page-platform-co-email-import-detail .erp-email-import-counters .erp-status-pill {
    border-radius: 999px;
    display: inline-flex;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    padding: 0.48rem 0.82rem;
    text-transform: uppercase;
}body.page-platform-email-import-detail .erp-email-import-counters .erp-status-pill--success,
body.page-platform-co-email-import-detail .erp-email-import-counters .erp-status-pill--success {
    background: #def5ea;
    border: 1px solid #afdcc4;
    color: #196240;
}body.page-platform-email-import-detail .erp-email-import-counters .erp-status-pill--warning,
body.page-platform-co-email-import-detail .erp-email-import-counters .erp-status-pill--warning {
    background: #fff1cf;
    border: 1px solid #f0d17c;
    color: #795c05;
}body.page-platform-email-import-detail .erp-email-import-counters .erp-status-pill--danger,
body.page-platform-co-email-import-detail .erp-email-import-counters .erp-status-pill--danger {
    background: #fce7eb;
    border: 1px solid #efbcc7;
    color: #8e2d44;
}body.page-platform-email-import-detail .erp-email-import-counters .erp-status-pill--neutral,
body.page-platform-co-email-import-detail .erp-email-import-counters .erp-status-pill--neutral {
    background: #eef4f7;
    border: 1px solid #d7e2e8;
    color: #5c7180;
}body.page-platform-email-import-detail .erp-email-import-counters .erp-offer-summary__metrics,
body.page-platform-co-email-import-detail .erp-email-import-counters .erp-offer-summary__metrics,
body.page-platform-email-import-detail .erp-email-import-counters .erp-offer-summary__grid,
body.page-platform-co-email-import-detail .erp-email-import-counters .erp-offer-summary__grid {
    display: grid;
    gap: 0.85rem;
}body.page-platform-email-import-detail .erp-email-import-counters .erp-offer-summary__metrics,
body.page-platform-co-email-import-detail .erp-email-import-counters .erp-offer-summary__metrics {
    grid-template-columns: repeat(4, minmax(8.5rem, 1fr));
    min-width: min(100%, 34rem);
}body.page-platform-email-import-detail .erp-email-import-counters .erp-summary-metric,
body.page-platform-co-email-import-detail .erp-email-import-counters .erp-summary-metric,
body.page-platform-email-import-detail .erp-email-import-counters .erp-summary-card,
body.page-platform-co-email-import-detail .erp-email-import-counters .erp-summary-card {
    background: #ffffff;
    border: 1px solid #dcebf1;
    border-radius: 1rem;
    box-shadow: 0 12px 28px rgba(42, 102, 126, 0.05);
    padding: 0.95rem 1rem;
}body.page-platform-email-import-detail .erp-email-import-counters .erp-summary-metric span,
body.page-platform-co-email-import-detail .erp-email-import-counters .erp-summary-metric span,
body.page-platform-email-import-detail .erp-email-import-counters .erp-summary-card__label,
body.page-platform-co-email-import-detail .erp-email-import-counters .erp-summary-card__label {
    color: #6a8590;
    display: block;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    margin-bottom: 0.3rem;
    text-transform: uppercase;
}body.page-platform-email-import-detail .erp-email-import-counters .erp-summary-metric strong,
body.page-platform-co-email-import-detail .erp-email-import-counters .erp-summary-metric strong {
    color: #204452;
    display: block;
    font-size: 1.12rem;
    font-weight: 800;
}body.page-platform-email-import-detail .erp-email-import-counters .erp-offer-summary__grid,
body.page-platform-co-email-import-detail .erp-email-import-counters .erp-offer-summary__grid {
    grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
}body.page-platform-email-import-detail .erp-email-import-counters .erp-summary-card__value,
body.page-platform-co-email-import-detail .erp-email-import-counters .erp-summary-card__value {
    color: #355463;
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.45;
    word-break: break-word;
}body.page-platform-email-import-detail .erp-email-import-counters .erp-summary-card--warning,
body.page-platform-co-email-import-detail .erp-email-import-counters .erp-summary-card--warning {
    background: linear-gradient(180deg, #fff8e8 0%, #fff1cf 100%);
    border-color: #f0d17c;
}body.page-platform-email-import-detail .erp-email-import-counters .erp-summary-card--warning .erp-summary-card__label,
body.page-platform-co-email-import-detail .erp-email-import-counters .erp-summary-card--warning .erp-summary-card__label {
    color: #7a5d0c;
}body.page-platform-email-import-detail .erp-email-import-counters .erp-summary-card--warning .erp-summary-card__value,
body.page-platform-co-email-import-detail .erp-email-import-counters .erp-summary-card--warning .erp-summary-card__value {
    color: #5e470d;
}

@media (max-width: 991.98px) {
    body.page-platform-email-import-detail .erp-email-import-counters .erp-offer-summary__hero {
        flex-direction: column;
    }

    body.page-platform-email-import-detail .erp-email-import-counters .erp-offer-summary__metrics {
        grid-template-columns: repeat(2, minmax(8.5rem, 1fr));
        min-width: 0;
        width: 100%;
    }
}body.page-platform-email-import-detail .erp-email-import-rfq-preview,
body.page-platform-co-email-import-detail .erp-email-import-rfq-preview {
    background:
        radial-gradient(circle at top right, rgba(45, 145, 143, 0.12), transparent 28%),
        linear-gradient(135deg, #f8fcfd 0%, #ffffff 58%, #eef8f8 100%);
    border: 1px solid #d6e8e7;
    border-radius: 1.2rem;
    box-shadow: 0 14px 30px rgba(36, 105, 103, 0.08);
    margin: 1rem 0 1.5rem;
    padding: 1.25rem;
}body.page-platform-email-import-detail .erp-email-import-rfq-preview__hero,
body.page-platform-co-email-import-detail .erp-email-import-rfq-preview__hero {
    align-items: flex-start;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-bottom: 1rem;
}body.page-platform-email-import-detail .erp-email-import-rfq-preview__copy,
body.page-platform-co-email-import-detail .erp-email-import-rfq-preview__copy {
    max-width: 42rem;
}body.page-platform-email-import-detail .erp-email-import-rfq-preview__eyebrow,
body.page-platform-co-email-import-detail .erp-email-import-rfq-preview__eyebrow {
    color: #648493;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin: 0 0 0.35rem;
    text-transform: uppercase;
}body.page-platform-email-import-detail .erp-email-import-rfq-preview__title,
body.page-platform-co-email-import-detail .erp-email-import-rfq-preview__title {
    color: #204452;
    font-size: 1.55rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0;
}body.page-platform-email-import-detail .erp-email-import-rfq-preview__description,
body.page-platform-co-email-import-detail .erp-email-import-rfq-preview__description {
    color: #607a86;
    margin: 0.55rem 0 0;
    max-width: 40rem;
}body.page-platform-email-import-detail .erp-email-import-rfq-preview__badges,
body.page-platform-co-email-import-detail .erp-email-import-rfq-preview__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 0.8rem;
}body.page-platform-email-import-detail .erp-email-import-rfq-preview__metrics,
body.page-platform-co-email-import-detail .erp-email-import-rfq-preview__metrics {
    display: grid;
    gap: 0.85rem;
    grid-template-columns: repeat(2, minmax(8.5rem, 1fr));
    min-width: min(100%, 31rem);
}body.page-platform-email-import-detail .erp-email-import-rfq-preview__metrics .erp-summary-metric,
body.page-platform-co-email-import-detail .erp-email-import-rfq-preview__metrics .erp-summary-metric,
body.page-platform-email-import-detail .erp-email-import-rfq-preview__grid .erp-summary-card,
body.page-platform-co-email-import-detail .erp-email-import-rfq-preview__grid .erp-summary-card {
    background: #ffffff;
    border: 1px solid #dceeed;
    border-radius: 1rem;
    box-shadow: 0 12px 28px rgba(36, 105, 103, 0.05);
    padding: 0.95rem 1rem;
}body.page-platform-email-import-detail .erp-email-import-rfq-preview__metrics .erp-summary-metric span,
body.page-platform-co-email-import-detail .erp-email-import-rfq-preview__metrics .erp-summary-metric span,
body.page-platform-email-import-detail .erp-email-import-rfq-preview__grid .erp-summary-card__label,
body.page-platform-co-email-import-detail .erp-email-import-rfq-preview__grid .erp-summary-card__label {
    color: #6a8590;
    display: block;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    margin-bottom: 0.3rem;
    text-transform: uppercase;
}body.page-platform-email-import-detail .erp-email-import-rfq-preview__metrics .erp-summary-metric strong,
body.page-platform-co-email-import-detail .erp-email-import-rfq-preview__metrics .erp-summary-metric strong,
body.page-platform-email-import-detail .erp-email-import-rfq-preview__grid .erp-summary-card__value,
body.page-platform-co-email-import-detail .erp-email-import-rfq-preview__grid .erp-summary-card__value {
    color: #204452;
    display: block;
    font-size: 1rem;
    font-weight: 800;
}body.page-platform-email-import-detail .erp-email-import-rfq-preview__grid,
body.page-platform-co-email-import-detail .erp-email-import-rfq-preview__grid {
    display: grid;
    gap: 0.85rem;
    grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
    margin-top: 0.25rem;
}body.page-platform-email-import-detail .erp-email-import-rfq-preview__warnings,
body.page-platform-co-email-import-detail .erp-email-import-rfq-preview__warnings {
    background: #fff7e2;
    border: 1px solid #f0d48a;
    border-radius: 1rem;
    color: #694d06;
    margin-top: 1rem;
    padding: 0.95rem 1rem;
}body.page-platform-email-import-detail .erp-email-import-rfq-preview__warnings-label,
body.page-platform-co-email-import-detail .erp-email-import-rfq-preview__warnings-label {
    display: block;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    margin-bottom: 0.4rem;
    text-transform: uppercase;
}body.page-platform-email-import-detail .erp-email-import-rfq-preview__warnings-list,
body.page-platform-co-email-import-detail .erp-email-import-rfq-preview__warnings-list {
    margin: 0;
    padding-left: 1.2rem;
}body.page-platform-email-import-detail .nav-tabs,
body.page-platform-co-email-import-detail .nav-tabs {
    border-bottom: 2px solid #dee2e6;
    gap: 0.25rem;
}body.page-platform-email-import-detail .nav-tabs .nav-link,
body.page-platform-co-email-import-detail .nav-tabs .nav-link {
    border: 1px solid transparent;
    border-radius: 0.5rem 0.5rem 0 0;
    color: #60717d;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 0.5rem 0.9rem;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}body.page-platform-email-import-detail .nav-tabs .nav-link:hover,
body.page-platform-co-email-import-detail .nav-tabs .nav-link:hover {
    background: #f0f6f8;
    color: #16323f;
    border-color: #d0dfe4 #d0dfe4 transparent;
}body.page-platform-email-import-detail .nav-tabs .nav-link.active,
body.page-platform-co-email-import-detail .nav-tabs .nav-link.active {
    background: #edf7f8;
    color: #0f5c69;
    font-weight: 700;
    border-color: #b2dce4 #b2dce4 #edf7f8;
    border-radius: 0.5rem 0.5rem 0 0;
}body.page-platform-email-import-detail .erp-email-import-rfq-preview__table-shell,
body.page-platform-co-email-import-detail .erp-email-import-rfq-preview__table-shell {
    background: #ffffff;
    border: 1px solid #dceeed;
    border-radius: 1rem;
    margin-top: 1rem;
    overflow-x: auto;
    overflow-y: hidden;
}body.page-platform-email-import-detail .erp-email-import-rfq-preview__table,
body.page-platform-co-email-import-detail .erp-email-import-rfq-preview__table {
    margin: 0;
    min-width: 100%;
    table-layout: fixed;
    width: 100%;
}body.page-platform-email-import-detail .erp-email-import-rfq-preview__table th,
body.page-platform-co-email-import-detail .erp-email-import-rfq-preview__table th {
    background: #f4fbfb;
    border-bottom: 1px solid #dceeed;
    color: #63818d;
    font-size: 0.77rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}body.page-platform-email-import-detail .erp-email-import-rfq-preview__table td,
body.page-platform-co-email-import-detail .erp-email-import-rfq-preview__table td {
    color: #29424d;
    vertical-align: top;
    white-space: normal;
    word-break: break-word;
}body.page-platform-email-import-detail .erp-email-import-rfq-preview__col--line,
body.page-platform-co-email-import-detail .erp-email-import-rfq-preview__col--line {
    width: 4%;
}body.page-platform-email-import-detail .erp-email-import-rfq-preview__col--mpn,
body.page-platform-co-email-import-detail .erp-email-import-rfq-preview__col--mpn {
    width: 16%;
}body.page-platform-email-import-detail .erp-email-import-rfq-preview__col--cpn,
body.page-platform-co-email-import-detail .erp-email-import-rfq-preview__col--cpn {
    width: 16%;
}body.page-platform-email-import-detail .erp-email-import-rfq-preview__col--description,
body.page-platform-co-email-import-detail .erp-email-import-rfq-preview__col--description {
    width: 22%;
}body.page-platform-email-import-detail .erp-email-import-rfq-preview__col--manufacturer,
body.page-platform-co-email-import-detail .erp-email-import-rfq-preview__col--manufacturer {
    width: 16%;
}body.page-platform-email-import-detail .erp-email-import-rfq-preview__col--qty,
body.page-platform-co-email-import-detail .erp-email-import-rfq-preview__col--qty {
    width: 7%;
}body.page-platform-email-import-detail .erp-email-import-rfq-preview__col--unit,
body.page-platform-co-email-import-detail .erp-email-import-rfq-preview__col--unit {
    width: 7%;
}body.page-platform-email-import-detail .erp-email-import-rfq-preview__col--source,
body.page-platform-co-email-import-detail .erp-email-import-rfq-preview__col--source {
    width: 12%;
}body.page-platform-email-import-detail .erp-email-import-rfq-preview__empty,
body.page-platform-co-email-import-detail .erp-email-import-rfq-preview__empty {
    background: #ffffff;
    border: 1px dashed #cfe2e1;
    border-radius: 1rem;
    color: #607a86;
    margin-top: 1rem;
    padding: 1rem 1.1rem;
}body.page-platform-email-import-detail .erp-email-import-rfq-preview__json,
body.page-platform-co-email-import-detail .erp-email-import-rfq-preview__json {
    background: #f8fbfc;
    border: 1px solid #dce8ee;
    border-radius: 1rem;
    margin-top: 1rem;
    padding: 0.95rem 1rem;
}body.page-platform-email-import-detail .erp-email-import-rfq-preview__json summary,
body.page-platform-co-email-import-detail .erp-email-import-rfq-preview__json summary {
    color: #32515f;
    cursor: pointer;
    font-size: 0.88rem;
    font-weight: 800;
}body.page-platform-email-import-detail .erp-email-import-rfq-preview__json pre,
body.page-platform-co-email-import-detail .erp-email-import-rfq-preview__json pre {
    background: #ffffff;
    border: 1px solid #e3ebef;
    border-radius: 0.8rem;
    margin: 0.8rem 0 0;
    max-height: 22rem;
    overflow: auto;
    padding: 0.95rem 1rem;
    white-space: pre-wrap;
    word-break: break-word;
}body.page-platform-email-import-detail .erp-email-import-tabs,
body.page-platform-co-email-import-detail .erp-email-import-tabs {
    align-items: stretch;
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-bottom: 0;
}body.page-platform-email-import-detail .erp-email-import-tabs .nav-item,
body.page-platform-co-email-import-detail .erp-email-import-tabs .nav-item {
    flex: 0 0 auto;
    margin-bottom: 0;
}body.page-platform-email-import-detail .erp-email-import-tabs .nav-link,
body.page-platform-co-email-import-detail .erp-email-import-tabs .nav-link {
    align-items: center;
    border-radius: 0.85rem 0.85rem 0 0;
    display: inline-flex;
    font-weight: 700;
    justify-content: center;
    line-height: 1.15;
    min-height: 3rem;
    padding: 0.7rem 0.85rem;
    text-align: center;
    white-space: normal;
    width: 9.75rem;
}body.page-platform-email-import-detail .erp-email-import-tabs .nav-link.active,
body.page-platform-co-email-import-detail .erp-email-import-tabs .nav-link.active {
    box-shadow: inset 0 -2px 0 rgba(15, 95, 118, 0.16);
}

@media (max-width: 991.98px) {
    body.page-platform-email-import-detail .erp-email-import-rfq-preview__hero {
        flex-direction: column;
    }

    body.page-platform-email-import-detail .erp-email-import-rfq-preview__metrics {
        grid-template-columns: repeat(2, minmax(8rem, 1fr));
        min-width: 0;
        width: 100%;
    }

    body.page-platform-email-import-detail .erp-email-import-tabs .nav-link {
        width: 100%;
    }
}

@media (max-width: 575.98px) {
    body.page-platform-email-import-detail .erp-email-import-rfq-preview__metrics {
        grid-template-columns: 1fr;
    }
}
.erp-provider-search {
  margin-top: 1.5rem;
  border: 1px solid rgba(22, 101, 123, 0.12);
  border-radius: 18px;
  background:
    radial-gradient(circle at top right, rgba(24, 140, 159, 0.12), transparent 28%),
    linear-gradient(180deg, #f8fcfd 0%, #ffffff 100%);
  padding: 1.25rem;
}

.erp-provider-search__hero {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.erp-provider-search__eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #148c9f;
}

.erp-provider-search__title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: #16323f;
}

.erp-provider-search__description {
  margin: 0.4rem 0 0;
  max-width: 60rem;
  color: #52606d;
}

.erp-provider-search__selected {
  min-width: 260px;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  background: #16323f;
  color: #f8fcfd;
  box-shadow: 0 12px 30px rgba(22, 50, 63, 0.12);
}

.erp-provider-search__selected-label {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.75;
}

.erp-provider-search__selected strong {
  display: block;
  font-size: 1rem;
}

.erp-provider-search__selected span:last-child {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.82rem;
  color: rgba(248, 252, 253, 0.78);
}

.erp-provider-search__toolbar {
  display: flex;
  align-items: flex-end;
  gap: 1rem;
  margin-bottom: 1rem;
}

.erp-provider-search__field {
  flex: 1 1 auto;
  margin: 0;
}

.erp-provider-search__field > span {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: #455a64;
}

.erp-provider-search__actions {
  display: flex;
  gap: 0.75rem;
}

.erp-provider-search__summary {
  margin-bottom: 0.85rem;
}

.erp-provider-search__summary-head {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.2rem 0;
}

.erp-provider-search__summary-head strong {
  color: #16323f;
}

.erp-provider-search__summary-head span {
  font-size: 0.8rem;
  color: #60717d;
}

.erp-provider-search__provider-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0.5rem 0 0.25rem;
}

.erp-provider-search__provider-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 600;
  border: 1px solid;
}

.erp-provider-search__provider-pill-label {
  font-weight: 700;
}

.erp-provider-search__provider-pill.is-provider-ok {
  background: #dcfce7;
  color: #166534;
  border-color: #86efac;
}

.erp-provider-search__provider-pill.is-provider-empty {
  background: #fefce8;
  color: #854d0e;
  border-color: #fde047;
}

.erp-provider-search__provider-pill.is-provider-error {
  background: #fee2e2;
  color: #991b1b;
  border-color: #fca5a5;
}

.erp-provider-search__provider-pill.is-provider-disabled {
  background: #f1f5f9;
  color: #94a3b8;
  border-color: #e2e8f0;
}

.erp-provider-search__provider-pill[data-provider-retry] {
  cursor: pointer;
  transition: opacity 0.15s;
}

.erp-provider-search__provider-pill[data-provider-retry]:hover {
  opacity: 0.75;
}

.erp-provider-search__provider-pill.is-retrying {
  opacity: 0.6;
  pointer-events: none;
}

.erp-provider-search__provider-pill.is-retrying strong::before {
  content: '';
  display: inline-block;
  width: 10px;
  height: 10px;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  animation: erp-spin 0.6s linear infinite;
  vertical-align: middle;
  margin-right: 0.25rem;
}

.erp-provider-search__spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: erp-spin 0.6s linear infinite;
  vertical-align: middle;
}

@keyframes erp-spin {
  to { transform: rotate(360deg); }
}

.erp-provider-search__external-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 36px;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(20, 140, 159, 0.1);
  color: #0f5c69;
  font-weight: 600;
  text-decoration: none;
  cursor: zoom-in;
}

.erp-provider-search__external-link:hover {
  background: rgba(20, 140, 159, 0.16);
  color: #0c4751;
}

.erp-provider-search__external-link.is-disabled {
  pointer-events: none;
  opacity: 0.55;
  cursor: not-allowed;
}

.erp-provider-search__external-link-search-icon {
  font-size: 0.78rem;
  opacity: 0.85;
}
.erp-provider-search__external-link-ext-icon {
  font-size: 0.7rem;
  opacity: 0.75;
  margin-left: 0.15rem;
}

.erp-provider-search__external-link--internal {
  background: #fff3cf;
  color: #7b5b00;
  border: 1px solid #f3d178;
}
.erp-provider-search__external-link--internal:hover {
  background: #ffe8a8;
  color: #63490a;
}

.erp-provider-search__external-link--external {
  background: rgba(20, 140, 159, 0.1);
  color: #0f5c69;
  border: 1px solid rgba(20, 140, 159, 0.25);
}
.erp-provider-search__external-link--external:hover {
  background: rgba(20, 140, 159, 0.18);
  color: #0c4751;
}

.erp-provider-search__group-links-label {
  display: inline-flex;
  align-items: center;
  margin-right: 0.25rem;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #60717d;
}

.erp-provider-search__results {
  background: transparent;
  padding: 0;
}

.erp-provider-search__group + .erp-provider-search__group {
  margin-top: 1rem;
}

.erp-provider-search__group {
  border: 1px solid rgba(22, 101, 123, 0.12);
  border-radius: 16px;
  background: #fff;
  overflow: hidden;
}

.erp-provider-search__group.is-active {
  border-color: rgba(20, 140, 159, 0.4);
  box-shadow: 0 10px 24px rgba(20, 140, 159, 0.08);
}

.erp-provider-search__group-accordion {
  display: block;
}

.erp-provider-search__group-accordion > summary {
  list-style: none;
}

.erp-provider-search__group-accordion > summary::-webkit-details-marker {
  display: none;
}

.erp-provider-search__group-header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  cursor: pointer;
  margin: 0;
  padding: 1rem;
}

.erp-provider-search__group-header-side {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.erp-provider-search__group-label {
  display: inline-block;
  margin-bottom: 0.25rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #148c9f;
}

.erp-provider-search__group-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: #16323f;
}

.erp-provider-search__group-meta {
  margin: 0.3rem 0 0;
  font-size: 0.82rem;
  color: #60717d;
}

.erp-provider-search__group-time {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  background: #f4f7f8;
  color: #52606d;
  font-size: 0.78rem;
  font-weight: 600;
}

.erp-provider-search__group-applied-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.45rem;
}
.erp-provider-search__group-applied {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.55rem 0.3rem 0.4rem;
  border-radius: 999px;
  background: linear-gradient(180deg, #d8f1e3 0%, #bfe6d1 100%);
  border: 1px solid #8fcfaa;
  color: #14623f;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 2px 6px rgba(20, 98, 63, 0.10);
}
.erp-provider-search__group-applied-label {
  display: inline-flex;
  align-items: center;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  background: #247b52;
  color: #fff;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.erp-provider-search__group-applied-provider {
  color: #0f5c69;
  font-weight: 700;
}
.erp-provider-search__group-applied-mpn {
  color: #16323f;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.erp-provider-search__group-applied-mpn::before { content: "— "; color: #6a7b85; font-weight: 500; }
.erp-provider-search__group-applied-qty {
  display: inline-flex;
  align-items: center;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  background: #14623f;
  color: #fff;
  font-size: 0.70rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
}
.erp-provider-search__group-applied-price {
  color: #14623f;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.erp-provider-search__group-applied-price::before { content: "@ "; color: #6a7b85; font-weight: 500; }

.erp-provider-search__group.has-applied .erp-provider-search__group-accordion:not([open]) {
  background: linear-gradient(90deg, rgba(36, 123, 82, 0.06) 0%, rgba(36, 123, 82, 0) 100%);
  border-left: 3px solid #247b52;
}

.erp-provider-search__group-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 999px;
  background: #edf7f8;
}

.erp-provider-search__group-toggle::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-right: 2px solid #0f5c69;
  border-bottom: 2px solid #0f5c69;
  transform: rotate(-45deg);
  transition: transform 0.15s ease;
}

.erp-provider-search__group-accordion[open] .erp-provider-search__group-toggle::before {
  transform: rotate(45deg);
}

.erp-provider-search__group-body {
  padding: 0.85rem 1rem 1rem;
  border-top: 1px solid rgba(22, 101, 123, 0.08);
}

.erp-provider-search__group-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.9rem;
}

.erp-provider-search__group-table .erp-provider-search__results,
.erp-provider-search__group-table .erp-provider-search__empty {
  margin: 0;
}

.erp-provider-search__group-table .table-responsive {
  overflow-x: auto;
}

.erp-provider-search__result-count {
  margin-bottom: 0.65rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: #16323f;
}

.erp-provider-search__table.erp-resizable-columns {
  min-width: 100% !important;
  width: max-content !important;
}

.erp-provider-search__table th {
  font-size: 0.75rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #60717d;
}

.erp-provider-search__table td {
  vertical-align: top;
  font-size: 0.86rem;
}

.erp-provider-search__table tbody tr.is-search-match > td {
  background: #ecfdf3 !important;
}

.erp-provider-search__table tbody tr.is-search-match > td:first-child {
  box-shadow: inset 4px 0 0 #16a34a;
}

.erp-provider-search__table tbody tr.is-search-match .erp-provider-search__result-provider {
  background: #dcfce7;
  color: #166534;
}

.erp-provider-search__table tbody tr.is-search-match-warning > td {
  background: #fef9c3 !important;
}

.erp-provider-search__table tbody tr.is-search-match-warning > td:first-child {
  box-shadow: inset 4px 0 0 #d97706;
}

.erp-provider-search__table tbody tr.is-search-match-warning .erp-provider-search__result-provider {
  background: #dcfce7;
  color: #166534;
}

.erp-provider-search-target-updated > td {
  animation: erp-provider-search-row-flash 1.8s ease;
}

.erp-provider-search__table tbody tr.is-search-match strong {
  color: #166534;
}

.erp-provider-search__table tbody tr.is-search-match-warning strong {
  color: #166534;
}

.erp-provider-search__match-text {
  display: inline-block;
  padding: 0 0.16rem;
  border-radius: 0.3rem;
  background: #bbf7d0;
  color: #166534;
}

.erp-provider-search__table tbody tr.is-search-match-warning .erp-provider-search__match-text {
  background: #bbf7d0;
  color: #166534;
}

.erp-provider-search__result-provider {
  display: inline-flex;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: #eef5f7;
  color: #16323f;
  font-weight: 700;
}

.erp-provider-search__subtext {
  margin-top: 0.15rem;
  font-size: 0.76rem;
  color: #667985;
}

.erp-provider-search__price-tiers {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.55rem;
}

.erp-provider-search__price-card {
  min-width: 14rem;
}

.erp-provider-search__price-summary-label {
  display: block;
  color: #60717d;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.erp-provider-search__price-summary-value {
  display: block;
  color: #16323f;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.2;
  margin-top: 0.15rem;
}

.erp-provider-search__price-summary-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin-top: 0.35rem;
}

.erp-provider-search__price-summary-meta span {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  background: #edf7f8;
  color: #0f5c69;
  font-size: 0.72rem;
  font-weight: 700;
}

.erp-provider-search__price-summary-meta span.is-tier-ok {
  background: #dcfce7;
  color: #166534;
}

.erp-provider-search__price-summary-meta span.is-tier-above {
  background: #fee2e2;
  color: #991b1b;
}

.erp-provider-search__price-details {
  margin-top: 0.5rem;
}

.erp-provider-search__price-details summary {
  color: #0f5c69;
  cursor: pointer;
  font-size: 0.74rem;
  font-weight: 700;
}

.erp-provider-search__price-tier {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.45rem;
  border: 1px solid #d7e8ea;
  border-radius: 999px;
  background: #f8fbfc;
  white-space: nowrap;
}

.erp-provider-search__price-tier.is-applicable {
  border-color: #86efac;
  background: #dcfce7;
}

.erp-provider-search__price-break {
  color: #0f5c69;
  font-size: 0.74rem;
  font-weight: 800;
}

.erp-provider-search__price-amount {
  color: #16323f;
  font-size: 0.76rem;
  font-weight: 700;
}

.erp-provider-search__price-empty {
  color: #667985;
}

.erp-provider-search__result-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
}

.erp-provider-search__result-links a {
  display: inline-flex;
  font-weight: 600;
}

.erp-provider-search__apply-button {
  border: 1px solid #0f5c69;
  border-radius: 999px;
  background: #ffffff;
  color: #0f5c69;
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
  padding: 0.45rem 0.7rem;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.erp-provider-search__apply-button:hover,
.erp-provider-search__apply-button:focus {
  background: #0f5c69;
  color: #ffffff;
}

.erp-provider-search__apply-button:disabled {
  border-color: #c9d7de;
  background: #f6f9fa;
  color: #91a3ad;
  cursor: not-allowed;
}

.erp-provider-search__apply-button.is-applied {
  border-color: #16a34a;
  background: #16a34a;
  color: #ffffff;
}

.erp-provider-search__table tr.is-applied-selection {
  background: #edf7f8;
}

.erp-provider-search__table tr.is-applied-selection td {
  color: #0f5c69;
}

.erp-provider-search__empty,
.erp-provider-search__loading {
  padding: 1rem;
  border-radius: 14px;
  background: #f8fafc;
  color: #52606d;
}

.erp-provider-search__empty--error {
  background: #fff1f2;
  color: #9f1239;
}

.erp-provider-search-trigger {
  border: 0;
}

.erp-provider-search-trigger:hover,
.erp-provider-search-trigger:focus {
  transform: none;
}

/* Removed: old generic matrix column hide — replaced by .erp-matrix-pn and .erp-matrix-test selectors */

body.page-platform-pnprofile-list .form-group:has(> table.matrix[data-controller="matrix"]) {
  overflow-x: auto;
  overflow-y: visible;
}

body.page-platform-pnprofile-list .form-group > table.matrix[data-controller="matrix"] {
  width: max-content !important;
  min-width: 100% !important;
  max-width: none !important;
  margin-bottom: 0;
}

body.page-platform-pnprofile-list .form-group > table.matrix[data-controller="matrix"].erp-resizable-columns thead th:last-child > .erp-column-resize-handle {
  display: none !important;
}

body.page-platform-pnprofile-list .form-group > table.matrix[data-controller="matrix"] thead th:last-child,
body.page-platform-pnprofile-list .form-group > table.matrix[data-controller="matrix"] tbody tr:not(.add-row) > th:last-child {
  min-width: 0 !important;
  white-space: nowrap;
  width: 1% !important;
}

body.page-platform-pnprofile-list .form-group {
  overflow-x: auto;
}

body.page-platform-pnprofile-list .erp-offer-line-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  flex-wrap: nowrap;
  width: 100%;
  min-width: 0;
}

/* Green tint on the MPN cell when the row has qty + buy_price + applied_provider
   all valorized — visual cue that the line is fully sourced. */
body.page-platform-pnprofile-list .matrix th.erp-matrix-mpn-completed,
body.page-platform-pnprofile-list .matrix td.erp-matrix-mpn-completed {
  background: linear-gradient(180deg, #dff5e9 0%, #c6ecd4 100%) !important;
  box-shadow: inset 3px 0 0 #247b52;
}
body.page-platform-pnprofile-list .matrix th.erp-matrix-mpn-completed input,
body.page-platform-pnprofile-list .matrix td.erp-matrix-mpn-completed input {
  background: transparent !important;
  color: #0f5c2e !important;
  font-weight: 700 !important;
}

/* Yellow tint on the MPN cell when the row is the unsourced residual of a
   split — another sibling in the same group was applied but this one still
   needs a provider. Visual cue that the row is "to be completed". */
body.page-platform-pnprofile-list .matrix th.erp-matrix-mpn-unsourced,
body.page-platform-pnprofile-list .matrix td.erp-matrix-mpn-unsourced {
  background: linear-gradient(180deg, #fff6d9 0%, #fde9a6 100%) !important;
  box-shadow: inset 3px 0 0 #d09a24;
}
body.page-platform-pnprofile-list .matrix th.erp-matrix-mpn-unsourced input,
body.page-platform-pnprofile-list .matrix td.erp-matrix-mpn-unsourced input {
  background: transparent !important;
  color: #7b5b00 !important;
  font-weight: 700 !important;
}

/* Horizontal scrollbar for the Part Number Info matrix when columns overflow.
   JS wraps each <table.matrix> in a <div class="erp-matrix-scroll"> at load;
   this rule adds overflow-x and forces the table to its natural width so the
   scrollbar appears whenever the viewport is narrower. */
body.page-platform-pnprofile-list .erp-matrix-scroll {
  overflow-x: auto;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
  -webkit-overflow-scrolling: touch;
}
body.page-platform-pnprofile-list .erp-matrix-scroll > table.matrix {
  min-width: max-content;
  width: 100%;
  margin: 0 auto;
}

body.page-platform-pnprofile-list .erp-offer-line-actions--compact {
  gap: 0;
  min-width: 0;
  width: auto;
}

body.page-platform-pnprofile-list .erp-offer-line-action {
  min-height: 2.15rem !important;
  min-width: 0 !important;
  padding: 0.4rem 0.55rem !important;
  border-radius: 0.8rem !important;
  font-size: 0.76rem !important;
  font-weight: 800 !important;
  gap: 0;
  line-height: 1;
}

body.page-platform-pnprofile-list .erp-offer-line-actions .erp-provider-search-trigger {
  width: auto;
  height: auto;
}

body.page-platform-pnprofile-list .erp-offer-line-action svg,
body.page-platform-pnprofile-list .erp-offer-line-action i {
  width: 14px !important;
  height: 14px !important;
  color: inherit !important;
  fill: currentColor !important;
  flex: 0 0 auto;
}

body.page-platform-pnprofile-list .erp-offer-line-action--delete {
  box-shadow: none !important;
}

body.page-platform-pnprofile-list .erp-offer-line-action--search {
  background: #eef9fb !important;
  border: 1px solid #a9dbe3 !important;
  box-shadow: none !important;
  color: #0f6a78 !important;
  text-shadow: none !important;
}

body.page-platform-pnprofile-list .erp-offer-line-action--search:hover,
body.page-platform-pnprofile-list .erp-offer-line-action--search:focus {
  background: #e0f3f7 !important;
  border-color: #8ccdd9 !important;
  color: #0c5763 !important;
}

body.page-platform-pnprofile-list .erp-offer-line-action--search svg {
  width: 14px !important;
  height: 14px !important;
  fill: currentColor !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

body.page-platform-pnprofile-list .erp-offer-overview-table-shell,
body.page-platform-pnprofiletestsupplierorder-list .erp-offer-overview-table-shell {
  background: linear-gradient(180deg, #fffafc 0%, #ffffff 100%);
  border: 1px solid #efe3ea;
  border-radius: 1.1rem;
  box-shadow: 0 14px 30px rgba(64, 31, 46, 0.06);
  margin-bottom: 1.1rem;
  overflow: hidden;
  padding: 1rem 1.1rem 1.2rem;
}

/* ===== Offer sourcing check (per-PN block layout) ===================== */
.erp-offer-check__header {
  margin-bottom: 0.85rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

/* Collapsible: the <summary> element replaces the old <header>. Strip the
   browser's default disclosure marker and make the whole row a clickable
   toggle. */
.erp-offer-check--collapsible > summary.erp-offer-check__header {
  cursor: pointer;
  list-style: none;
  user-select: none;
  padding: 0.1rem 0;
  margin-bottom: 0.85rem;
  outline: none;
}
.erp-offer-check--collapsible > summary.erp-offer-check__header::-webkit-details-marker,
.erp-offer-check--collapsible > summary.erp-offer-check__header::marker {
  display: none;
  content: '';
}
.erp-offer-check--collapsible:not([open]) > summary.erp-offer-check__header {
  margin-bottom: 0;
}
.erp-offer-check--collapsible:not([open]) .erp-offer-check__summary-footer {
  display: none;
}

.erp-offer-check__header-text {
  flex: 1 1 auto;
  min-width: 0;
}

.erp-offer-check__header-meta {
  align-items: center;
  color: #5a6d78;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 0.78rem;
  font-weight: 700;
  gap: 0.6rem;
  white-space: nowrap;
}

.erp-offer-check__header-count {
  background: #f4f7f8;
  border: 1px solid #e1e9ec;
  border-radius: 0.7rem;
  color: #445762;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 0.25rem 0.6rem;
  text-transform: uppercase;
  font-size: 0.7rem;
}

.erp-offer-check__chevron {
  align-items: center;
  background: #f4f7f8;
  border: 1px solid #e1e9ec;
  border-radius: 999px;
  color: #445762;
  display: inline-flex;
  height: 1.65rem;
  justify-content: center;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
  width: 1.65rem;
}

.erp-offer-check--collapsible[open] .erp-offer-check__chevron {
  background: #e1ecf0;
  color: #1f4753;
  transform: rotate(180deg);
}

.erp-offer-check--collapsible > summary.erp-offer-check__header:hover .erp-offer-check__chevron {
  background: #e8f0f3;
  color: #1f4753;
}

.erp-offer-check__title {
  margin: 0 0 0.3rem;
  font-size: 0.98rem;
  font-weight: 800;
  color: #16323f;
}
.erp-offer-check__subtitle {
  margin: 0;
  font-size: 0.8rem;
  color: #5a6d78;
  line-height: 1.35;
}

.erp-offer-check__block {
  border: 1px solid #e1e9ec;
  border-radius: 0.95rem;
  margin-bottom: 0.85rem;
  background: #ffffff;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(22, 50, 63, 0.04);
}
.erp-offer-check__block--complete {
  border-left: 4px solid #247b52;
  background: linear-gradient(180deg, #f3fbf6 0%, #ffffff 60%);
}
.erp-offer-check__block--partial  {
  border-left: 4px solid #d09a24;
  background: linear-gradient(180deg, #fef7e7 0%, #ffffff 60%);
}
.erp-offer-check__block--over     {
  border-left: 4px solid #d09a24;
  background: linear-gradient(180deg, #fef7e7 0%, #ffffff 60%);
}
.erp-offer-check__block--none     {
  border-left: 4px solid #a23a4c;
  background: linear-gradient(180deg, #fdf0f2 0%, #ffffff 60%);
}
.erp-offer-check__block--no-rfq   { border-left: 4px solid #69808f; }

.erp-offer-check__table {
  margin: 0;
  font-size: 0.82rem;
}
.erp-offer-check__table thead th {
  background: #f4f7f8;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #52606d;
  padding: 0.55rem 0.7rem;
  border-bottom: 1px solid #e1e9ec;
}
.erp-offer-check__table tbody td {
  padding: 0.5rem 0.7rem;
  border-bottom: 1px solid #f0f3f5;
  vertical-align: middle;
}
.erp-offer-check__row--rfq {
  background: linear-gradient(180deg, #f1f7fa 0%, #e9f1f5 100%);
}
.erp-offer-check__row--rfq td {
  color: #16323f;
  font-weight: 700;
}
.erp-offer-check__row--no-rfq {
  background: linear-gradient(180deg, #f7f6f4 0%, #efece8 100%);
}
.erp-offer-check__row--no-rfq td { color: #4a5660; }

/* Header row tint follows the block tint so the request line is visually
   coupled with its coverage state. */
.erp-offer-check__block--complete .erp-offer-check__row--rfq {
  background: linear-gradient(180deg, #dff5e9 0%, #c6ecd4 100%);
}
.erp-offer-check__block--complete .erp-offer-check__row--rfq td { color: #0f5c2e; }

.erp-offer-check__block--partial .erp-offer-check__row--rfq,
.erp-offer-check__block--over .erp-offer-check__row--rfq {
  background: linear-gradient(180deg, #fff1cf 0%, #fbdf9c 100%);
}
.erp-offer-check__block--partial .erp-offer-check__row--rfq td,
.erp-offer-check__block--over .erp-offer-check__row--rfq td { color: #6d4f00; }

.erp-offer-check__block--none .erp-offer-check__row--rfq {
  background: linear-gradient(180deg, #ffe3e7 0%, #fcc9d1 100%);
}
.erp-offer-check__block--none .erp-offer-check__row--rfq td { color: #8a1a30; }
.erp-offer-check__row--coverage td { color: #344955; }
.erp-offer-check__row--test {
  background: #fffdf3;
}
.erp-offer-check__row--test td { color: #6c5a00; }
.erp-offer-check__row--empty td {
  color: #a23a4c;
  font-style: italic;
  padding: 0.9rem 0.7rem;
  text-align: center;
  background: #fff8f8;
}

.erp-offer-check__indent {
  padding-left: 1.2rem !important;
  color: #9aa5b1;
}
.erp-offer-check__sub-arrow,
.erp-offer-check__empty-arrow {
  color: #9aa5b1;
  font-weight: 700;
  margin-right: 0.2rem;
}
.erp-offer-check__test-index {
  display: inline-block;
  padding: 0.15rem 0.4rem;
  background: #f3e9b5;
  color: #6c5a00;
  font-size: 0.7rem;
  font-weight: 800;
  border-radius: 0.4rem;
}
.erp-offer-check__requested-cell {
  font-weight: 800;
  font-size: 0.72rem;
  color: #127082;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.erp-offer-check__muted-cell,
.erp-offer-check__muted-mpn,
.erp-offer-check__muted-cpn,
.erp-offer-check__muted-desc { color: #9aa5b1; font-weight: 500; }
.erp-offer-check__provider-pill {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  background: #eef9fb;
  border: 1px solid #a9dbe3;
  color: #0f6a78;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
}

/* Link variant for WH/SO pills in the offer sourcing check table.
   Carries the same shape/typography as the static pill, plus pointer
   cursor and a darker hover/focus state. No underline by default. */
a.erp-offer-check__provider-pill--link,
a.erp-offer-check__provider-pill--link:visited {
  color: #0f6a78;
  text-decoration: none;
}

a.erp-offer-check__provider-pill--link:hover,
a.erp-offer-check__provider-pill--link:focus {
  background: #dff3f6;
  border-color: #7ec4cf;
  color: #0a4e58;
  text-decoration: none;
}
.erp-offer-check__test-tag {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  background: #f3e9b5;
  color: #6c5a00;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.erp-offer-check__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.65rem 0.9rem;
  background: #fafbfc;
  border-top: 1px solid #eef0f2;
  flex-wrap: wrap;
}
.erp-offer-check__status-badge {
  display: inline-flex;
  align-items: baseline;
  gap: 0.55rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
}
.erp-offer-check__status-label { text-transform: uppercase; letter-spacing: 0.04em; }
.erp-offer-check__status-values { font-weight: 700; letter-spacing: 0; }
.erp-offer-check__status-badge--complete {
  background: #dff5e9; border: 1px solid #afdcc2; color: #196240;
}
.erp-offer-check__status-badge--partial {
  background: #fff1cf; border: 1px solid #f3d178; color: #7b5b00;
}
.erp-offer-check__status-badge--over {
  background: #fff1cf; border: 1px solid #f3d178; color: #7b5b00;
}
.erp-offer-check__status-badge--none {
  background: #ffe3e7; border: 1px solid #f0a8b2; color: #8a1a30;
}
.erp-offer-check__status-badge--no-rfq {
  background: #edf0f2; border: 1px solid #c8d1d6; color: #50606a;
}
.erp-offer-check__totals {
  display: inline-flex;
  align-items: baseline;
  gap: 1.1rem;
  flex-wrap: wrap;
}
.erp-offer-check__total {
  display: inline-flex;
  align-items: baseline;
  gap: 0.5rem;
}
.erp-offer-check__total--buy .erp-offer-check__total-value {
  color: #50606a;
}
.erp-offer-check__total--sell .erp-offer-check__total-value {
  color: #16323f;
}
.erp-offer-check__total-label {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #5a6d78;
}
.erp-offer-check__total-value {
  font-size: 0.98rem;
  color: #16323f;
  font-variant-numeric: tabular-nums;
}

.erp-offer-check__summary-footer {
  margin-top: 0.4rem;
  text-align: right;
  color: #60717d;
  font-size: 0.75rem;
}

body.page-platform-pnprofile-list .erp-offer-overview-table,
body.page-platform-pnprofiletestsupplierorder-list .erp-offer-overview-table {
  border-collapse: separate;
  border-spacing: 0;
  margin-bottom: 0;
}

body.page-platform-pnprofile-list .erp-offer-overview-table th,
body.page-platform-pnprofiletestsupplierorder-list .erp-offer-overview-table th {
  background: linear-gradient(180deg, #fdf9fb 0%, #fbf5f8 100%) !important;
  border-color: #eadfe6 !important;
  color: #9d8d97 !important;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  padding-bottom: 0.85rem !important;
  padding-top: 0.85rem !important;
  text-transform: uppercase;
}

body.page-platform-pnprofile-list .erp-offer-overview-table td,
body.page-platform-pnprofiletestsupplierorder-list .erp-offer-overview-table td {
  border-color: #efe5eb !important;
  padding-bottom: 0.8rem !important;
  padding-top: 0.8rem !important;
  transition: background 0.16s ease, box-shadow 0.16s ease;
  vertical-align: middle;
}

body.page-platform-pnprofile-list .erp-offer-overview-row--pn td,
body.page-platform-pnprofiletestsupplierorder-list .erp-offer-overview-row td {
  background: linear-gradient(180deg, #fff9fb 0%, #fff1f6 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

body.page-platform-pnprofile-list .erp-offer-overview-row--test td {
  background: linear-gradient(180deg, #f8fbff 0%, #eef6ff 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

body.page-platform-pnprofile-list .erp-offer-overview-row:hover td,
body.page-platform-pnprofiletestsupplierorder-list .erp-offer-overview-row:hover td {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    inset 0 -1px 0 rgba(81, 45, 63, 0.08),
    inset 0 0 0 1px rgba(137, 99, 118, 0.06);
}

body.page-platform-pnprofile-list .erp-offer-overview-row--pn .erp-offer-overview-cell--identity,
body.page-platform-pnprofiletestsupplierorder-list .erp-offer-overview-row .erp-offer-overview-cell--identity {
  box-shadow: inset 5px 0 0 #e84d8a;
}

body.page-platform-pnprofile-list .erp-offer-overview-row--test .erp-offer-overview-cell--identity {
  box-shadow: inset 5px 0 0 #3aa4c3;
}

body.page-platform-pnprofile-list .erp-offer-overview-number,
body.page-platform-pnprofile-list .erp-offer-overview-mfr,
body.page-platform-pnprofile-list .erp-offer-overview-cpn,
body.page-platform-pnprofile-list .erp-offer-overview-description strong,
body.page-platform-pnprofiletestsupplierorder-list .erp-offer-overview-number,
body.page-platform-pnprofiletestsupplierorder-list .erp-offer-overview-mfr,
body.page-platform-pnprofiletestsupplierorder-list .erp-offer-overview-description strong {
  color: #413343;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

body.page-platform-pnprofile-list .erp-offer-overview-description {
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
}

body.page-platform-pnprofile-list .erp-offer-overview-description span,
body.page-platform-pnprofile-list .erp-offer-overview-muted,
body.page-platform-pnprofile-list .erp-offer-overview-test-index {
  color: #7f6b76;
  font-size: 0.74rem;
  font-weight: 600;
}

body.page-platform-pnprofile-list .erp-offer-overview-test-pill {
  align-items: center;
  background: rgba(58, 164, 195, 0.14);
  border: 1px solid rgba(58, 164, 195, 0.24);
  border-radius: 999px;
  color: #0f6f85;
  display: inline-flex;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 0.22rem 0.6rem;
  text-transform: uppercase;
}

body.page-platform-pnprofile-list .erp-offer-overview-amount,
body.page-platform-pnprofiletestsupplierorder-list .erp-offer-overview-amount {
  color: #ff2f2f;
  font-weight: 800;
}

body.page-platform-pnprofile-list .erp-offer-overview-table__footer,
body.page-platform-pnprofiletestsupplierorder-list .erp-offer-overview-table__footer {
  background: #fff7fb;
  border-top: 1px solid #efe3ea;
  color: #7d6671;
  padding: 0.8rem 1rem;
}

body.page-platform-pnprofile-list .erp-offer-overview-table__footer small {
  font-size: 0.77rem;
  font-weight: 600;
}

@keyframes erp-provider-search-row-flash {
  0% {
    background-color: rgba(187, 247, 208, 0.85);
  }
  100% {
    background-color: transparent;
  }
}

@media (max-width: 900px) {
  .erp-provider-search__hero,
  .erp-provider-search__toolbar {
    flex-direction: column;
  }

  .erp-provider-search__group-header {
    flex-direction: column;
  }

  .erp-provider-search__selected {
    width: 100%;
  }

  .erp-provider-search__actions {
    width: 100%;
  }

  .erp-provider-search__actions .btn {
    flex: 1 1 0;
  }
}

/* ── Sidebar toggle ───────────────────────────────────────────────── */
.erp-sidebar-toggle-sticky {
    position: sticky;
    top: 0;
    z-index: 10;
    background: inherit;
    width: 100%;
    padding: 0.6rem 0.75rem 0.4rem;
}

.erp-sidebar-toggle-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 0.5rem;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.45rem 0;
    transition: all 0.2s ease;
}

.erp-sidebar-toggle-btn:hover {
    background: rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.9);
}

.erp-sidebar-toggle__icon {
    width: 1.1rem;
    height: 1.1rem;
    transition: transform 0.25s ease;
}

body.erp-sidebar-collapsed .erp-sidebar-toggle__icon {
    transform: rotate(180deg);
}

/* Collapsed state */
body.erp-sidebar-collapsed .aside {
    width: 3.2rem !important;
    min-width: 3.2rem !important;
    max-width: 3.2rem !important;
    flex: 0 0 3.2rem !important;
    transition: all 0.25s ease;
    overflow: hidden;
}

body.erp-sidebar-collapsed .erp-sidebar-content {
    display: none !important;
}

body.erp-sidebar-collapsed .erp-sidebar-toggle-sticky {
    padding: 0.5rem;
}

body.erp-sidebar-collapsed .erp-sidebar-toggle-btn {
    width: 2.2rem;
    height: 2.2rem;
    padding: 0;
    margin: 0 auto;
}

body:not(.erp-sidebar-collapsed) .aside {
    transition: all 0.25s ease;
}

/* ── PCN Notification summary & tabs ──────────────────────────────── */
.erp-pcn-tabs {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.75rem;
    flex-wrap: wrap;
}

.erp-pcn-tab {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1rem;
    border-radius: 0.6rem;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #475569;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.erp-pcn-tab:hover {
    border-color: #94a3b8;
    color: #1e293b;
}

.erp-pcn-tab__count {
    background: #f1f5f9;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #64748b;
}

.erp-pcn-tab--active {
    border-width: 2px;
}

.erp-pcn-tab--info.erp-pcn-tab--active {
    border-color: #3b82f6;
    background: #eff6ff;
    color: #1d4ed8;
}

.erp-pcn-tab--info.erp-pcn-tab--active .erp-pcn-tab__count {
    background: #dbeafe;
    color: #1e40af;
}

.erp-pcn-tab--success.erp-pcn-tab--active {
    border-color: #22c55e;
    background: #f0fdf4;
    color: #15803d;
}

.erp-pcn-tab--success.erp-pcn-tab--active .erp-pcn-tab__count {
    background: #dcfce7;
    color: #166534;
}

.erp-pcn-tab--warning.erp-pcn-tab--active {
    border-color: #f59e0b;
    background: #fffbeb;
    color: #b45309;
}

.erp-pcn-tab--warning.erp-pcn-tab--active .erp-pcn-tab__count {
    background: #fef3c7;
    color: #92400e;
}

.erp-pcn-tab--danger.erp-pcn-tab--active {
    border-color: #ef4444;
    background: #fef2f2;
    color: #dc2626;
}

.erp-pcn-tab--danger.erp-pcn-tab--active .erp-pcn-tab__count {
    background: #fee2e2;
    color: #991b1b;
}

/* ── PCN summary base styles (all 5 PCN pages) ───────────────────── */
body[class*="page-platform-pcnnotification"] .erp-offer-summary {
    background: linear-gradient(135deg, #f8fcfd 0%, #eef7f7 100%);
    border: 1px solid #d9e9ea;
    border-radius: 1.25rem;
    box-shadow: 0 16px 40px rgba(34, 87, 95, 0.08);
    margin-bottom: 1rem;
    padding: 1rem;
}

body[class*="page-platform-pcnnotification"] .erp-offer-summary__hero {
    align-items: flex-start;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-between;
    margin-bottom: 1rem;
}

body[class*="page-platform-pcnnotification"] .erp-offer-summary__eyebrow {
    color: #2a7983;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin: 0 0 0.35rem;
    text-transform: uppercase;
}

body[class*="page-platform-pcnnotification"] .erp-offer-summary__title {
    color: #1e3840;
    font-size: 1.9rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin: 0;
}

body[class*="page-platform-pcnnotification"] .erp-offer-summary__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 0.85rem;
}

body[class*="page-platform-pcnnotification"] .erp-status-pill {
    border-radius: 999px;
    display: inline-flex;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    padding: 0.52rem 0.85rem;
    text-transform: uppercase;
}

body[class*="page-platform-pcnnotification"] .erp-status-pill--danger {
    background: #fee2e2;
    border: 1px solid #fca5a5;
    color: #991b1b;
}

body[class*="page-platform-pcnnotification"] .erp-status-pill--success {
    background: #dcfce7;
    border: 1px solid #86efac;
    color: #166534;
}

body[class*="page-platform-pcnnotification"] .erp-offer-summary__metrics {
    display: grid;
    gap: 0.85rem;
    grid-template-columns: repeat(4, minmax(8.5rem, 1fr));
    min-width: min(100%, 32rem);
}

body[class*="page-platform-pcnnotification"] .erp-summary-metric {
    background: #ffffff;
    border: 1px solid #dcebed;
    border-radius: 1rem;
    box-shadow: 0 12px 28px rgba(28, 76, 92, 0.05);
    padding: 0.95rem 1rem;
}

body[class*="page-platform-pcnnotification"] .erp-summary-metric span {
    color: #678188;
    display: block;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    margin-bottom: 0.3rem;
    text-transform: uppercase;
}

body[class*="page-platform-pcnnotification"] .erp-summary-metric strong {
    color: #224049;
    display: block;
    font-size: 1.02rem;
    font-weight: 800;
}

body[class*="page-platform-pcnnotification"] .erp-summary-metric--warning {
    background: #fefce8;
    border: 1px solid #fde047;
    border-radius: 0.75rem;
    padding: 0.6rem 0.8rem;
}

body[class*="page-platform-pcnnotification"] .erp-summary-metric--warning span {
    color: #854d0e;
}

body[class*="page-platform-pcnnotification"] .erp-summary-metric--warning strong {
    color: #713f12;
}

body.page-platform-pcnnotification-edit .dropzone-wrapper {
    display: inline-block;
    width: auto;
}

body.page-platform-pcnnotification-edit .bg-white.rounded.shadow-sm > .form-group:last-child {
    margin-bottom: 0.5rem;
}

/* ── LTB detail: success button readable ── */
body.page-platform-ltb-import-detail .screen-actions .btn-success {
    background: linear-gradient(180deg, #22c55e 0%, #16a34a 100%) !important;
    border-color: #15803d !important;
    color: #ffffff !important;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.15) !important;
}

/* ── Warehouse: isolate horizontal scroll to table only ── */
body.page-platform-magazzino-list #dynamic-table_wrapper {
    overflow-x: hidden !important;
}

body.page-platform-magazzino-list #dynamic-table_wrapper > .row.dt-row {
    overflow-x: auto;
}

/* ── Sidebar: profile link hover readable ── */
.aside .nav-link:hover,
.aside .nav-link:focus {
    background: rgba(255, 255, 255, 0.08) !important;
    color: rgba(255, 255, 255, 0.9) !important;
}

/* ── Uniform height for Orchid Group rows (Select + Button + Link) ── */
/* Target 35.3px to match Bootstrap .btn default in Orchid. Applies inside
   Layout::rows Group so it only affects filter/action toolbars. */
.row .col-auto > .form-group {
    margin-bottom: 0 !important;
    display: flex;
    align-items: center;
    height: 35.3px;
}
/* Force every col-auto in a Bootstrap flex row to self-center vertically. */
.row > .col-auto {
    align-self: center !important;
}

/* TomSelect dropdown must float above custom table controls like
   #columnSelectorToggle (z-index 3100) in parametric-table-expandible. */
.ts-dropdown { z-index: 4000 !important; }

/* Highlight in green the PN result rows that contain the exact searched string
   (vs fuzzy/normalized matches). Applied in SearchResultListLayout. */
.erp-search-name--exact {
    background: #dff5e9;
    color: #196240;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 0.35rem;
    border: 1px solid #afdcc2;
}
.row .col-auto .ts-wrapper.form-control {
    min-height: 35.3px !important;
    height: 35.3px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    display: flex !important;
    align-items: center !important;
}
.row .col-auto .ts-wrapper.form-control .ts-control {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    min-height: 0 !important;
}
.row .col-auto .ts-wrapper.form-control .ts-control .item {
    line-height: 35.3px;
}
.row .col-auto .btn.btn-sm.disabled {
    min-height: 35.3px;
    height: 35.3px;
    display: inline-flex;
    align-items: center;
    padding-top: 0;
    padding-bottom: 0;
    font-size: 0.875rem;
}

/* ============================================================
   Bug-report floating button + modal
   Injected on every admin page by /js/erp-bug-report.js
   ============================================================ */

.erp-bug-report-fab {
    position: fixed;
    bottom: 1.4rem;
    right: 1.4rem;
    z-index: 1080;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: linear-gradient(180deg, #2c8e8b 0%, #247574 100%);
    color: #ffffff;
    border: 1px solid #1f6665;
    border-radius: 999px;
    padding: 0.65rem 1.05rem;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    box-shadow: 0 12px 28px rgba(36, 117, 116, 0.32);
    cursor: pointer;
    transition: transform 120ms ease, box-shadow 120ms ease, background 120ms ease;
}
.erp-bug-report-fab:hover,
.erp-bug-report-fab:focus {
    background: linear-gradient(180deg, #319b98 0%, #287f7d 100%);
    transform: translateY(-1px);
    box-shadow: 0 14px 32px rgba(36, 117, 116, 0.4);
    outline: none;
}
.erp-bug-report-fab__icon {
    font-size: 1rem;
    line-height: 1;
}
.erp-bug-report-fab__label {
    line-height: 1;
}
@media (max-width: 575.98px) {
    .erp-bug-report-fab__label { display: none; }
    .erp-bug-report-fab { padding: 0.7rem; }
}

body.erp-bug-report-modal-open { overflow: hidden; }

.erp-bug-report-modal {
    position: fixed; inset: 0; z-index: 1090;
    display: flex; align-items: center; justify-content: center;
    padding: 1rem;
}
.erp-bug-report-modal__backdrop {
    position: absolute; inset: 0;
    background: rgba(15, 33, 41, 0.55);
    backdrop-filter: blur(2px);
    cursor: pointer;
}
.erp-bug-report-modal__panel {
    position: relative;
    background: #ffffff;
    border-radius: 1.1rem;
    box-shadow: 0 24px 60px rgba(15, 33, 41, 0.35);
    width: min(560px, 100%);
    max-height: calc(100vh - 2rem);
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
}
.erp-bug-report-modal__header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 1rem 1.2rem 0.6rem;
    border-bottom: 1px solid #eef2f4;
}
.erp-bug-report-modal__header h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 800;
    color: #16323f;
}
.erp-bug-report-modal__close {
    background: transparent; border: 0;
    font-size: 1.4rem; line-height: 1;
    color: #69808f; cursor: pointer;
    padding: 0 0.3rem;
}
.erp-bug-report-modal__close:hover { color: #16323f; }

.erp-bug-report-modal__form {
    padding: 1rem 1.2rem 1.2rem;
    display: flex; flex-direction: column; gap: 0.85rem;
}
.erp-bug-report-modal__field-row {
    display: flex; gap: 0.6rem; flex-wrap: wrap;
}
.erp-bug-report-modal__radio {
    display: inline-flex; align-items: center; gap: 0.35rem;
    padding: 0.35rem 0.7rem;
    border: 1px solid #d9e1e6;
    border-radius: 0.6rem;
    font-size: 0.82rem; font-weight: 700;
    cursor: pointer;
    user-select: none;
}
.erp-bug-report-modal__radio:has(input:checked) {
    border-color: #2c8e8b;
    background: #e8f5f4;
    color: #1f6665;
}
.erp-bug-report-modal__field {
    display: flex; flex-direction: column; gap: 0.25rem;
}
.erp-bug-report-modal__field > span {
    font-size: 0.74rem; font-weight: 800;
    text-transform: uppercase; letter-spacing: 0.04em;
    color: #5a6d78;
}
.erp-bug-report-modal__field input[type="text"],
.erp-bug-report-modal__field textarea {
    width: 100%;
    border: 1px solid #d9e1e6;
    border-radius: 0.55rem;
    padding: 0.5rem 0.7rem;
    font-size: 0.88rem;
    font-family: inherit;
    background: #fdfefe;
}
.erp-bug-report-modal__field input[type="text"]:focus,
.erp-bug-report-modal__field textarea:focus {
    border-color: #2c8e8b;
    outline: 2px solid rgba(44, 142, 139, 0.18);
}
.erp-bug-report-modal__field textarea { resize: vertical; min-height: 6rem; }

.erp-bug-report-modal__toggles {
    display: flex; flex-direction: column; gap: 0.3rem;
    font-size: 0.82rem; color: #2c2026;
}
.erp-bug-report-modal__toggles label {
    cursor: pointer; user-select: none;
}

.erp-bug-report-modal__details {
    border: 1px solid #eef2f4;
    border-radius: 0.55rem;
    padding: 0.45rem 0.7rem;
    font-size: 0.78rem;
}
.erp-bug-report-modal__details summary {
    cursor: pointer;
    font-weight: 700;
    color: #5a6d78;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 0.7rem;
}
.erp-bug-report-modal__preview {
    margin: 0.55rem 0 0;
    background: #f6f8f9;
    border: 1px solid #eef2f4;
    border-radius: 0.4rem;
    padding: 0.5rem 0.6rem;
    font-size: 0.74rem;
    white-space: pre-wrap;
    word-break: break-all;
    max-height: 11rem;
    overflow: auto;
    color: #344955;
}

.erp-bug-report-modal__feedback {
    font-size: 0.82rem;
    min-height: 1.2rem;
    color: #5a6d78;
}
.erp-bug-report-modal__feedback.is-success { color: #247b52; font-weight: 700; }
.erp-bug-report-modal__feedback.is-warn    { color: #8a6700; }
.erp-bug-report-modal__feedback.is-error   { color: #a23a4c; font-weight: 700; }
.erp-bug-report-modal__feedback.is-info    { color: #1f6665; }

.erp-bug-report-modal.is-busy { pointer-events: none; }
.erp-bug-report-modal.is-busy .erp-bug-report-modal__panel { opacity: 0.85; }

.erp-bug-report-modal__actions {
    display: flex; justify-content: flex-end; gap: 0.55rem;
    margin-top: 0.4rem;
}
.erp-bug-report-modal__btn {
    border-radius: 0.55rem;
    padding: 0.55rem 1rem;
    font-size: 0.82rem;
    font-weight: 800;
    border: 1px solid transparent;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.erp-bug-report-modal__btn--cancel {
    background: #f4f7f8; color: #5a6d78; border-color: #d9e1e6;
}
.erp-bug-report-modal__btn--cancel:hover { background: #e7edef; }
.erp-bug-report-modal__btn--submit {
    background: linear-gradient(180deg, #2c8e8b 0%, #247574 100%);
    color: #ffffff; border-color: #1f6665;
}
.erp-bug-report-modal__btn--submit:hover { background: linear-gradient(180deg, #319b98 0%, #287f7d 100%); }
.erp-bug-report-modal__btn--submit:disabled { opacity: 0.6; cursor: not-allowed; }

/* ============================================================
   Metrics filters toolbar (replaces the old Filters card)
   ============================================================ */

body.page-platform-metrics .erp-metrics-filters {
    margin: 0 0 1rem;
}

body.page-platform-metrics .erp-metrics-filters__row {
    align-items: end;
    background: linear-gradient(180deg, #ffffff 0%, #f5fafb 100%);
    border: 1px solid #d9e8ec;
    border-radius: 1.1rem;
    box-shadow: 0 10px 22px rgba(29, 77, 91, 0.08);
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
}

body.page-platform-metrics .erp-metrics-filters__field {
    align-items: stretch;
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    gap: 0.25rem;
    margin: 0;
    min-width: 9rem;
}

body.page-platform-metrics .erp-metrics-filters__field--text {
    flex: 1 1 12rem;
    min-width: 12rem;
    max-width: 18rem;
}

body.page-platform-metrics .erp-metrics-filters__label {
    color: #5a6d78;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

body.page-platform-metrics .erp-metrics-filters__control {
    background: #ffffff;
    border: 1px solid #c9d6dd;
    border-radius: 0.6rem;
    color: #2c2026;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.45rem 0.65rem;
    height: 2.4rem;
    width: 100%;
}

body.page-platform-metrics .erp-metrics-filters__control:focus {
    border-color: #2c8e8b;
    outline: 2px solid rgba(44, 142, 139, 0.18);
    outline-offset: -1px;
}

body.page-platform-metrics .erp-metrics-filters__buttons {
    align-self: flex-end;
    display: flex;
    gap: 0.45rem;
}

body.page-platform-metrics .erp-metrics-filters__apply,
body.page-platform-metrics .erp-metrics-filters__reset {
    border-radius: 0.6rem;
    cursor: pointer;
    font-size: 0.78rem;
    font-weight: 800;
    height: 2.4rem;
    letter-spacing: 0.04em;
    padding: 0 1.1rem;
    text-transform: uppercase;
    transition: background 120ms ease, color 120ms ease, border-color 120ms ease;
}

body.page-platform-metrics .erp-metrics-filters__apply {
    background: linear-gradient(180deg, #2c8e8b 0%, #247574 100%);
    border: 1px solid #1f6665;
    color: #ffffff;
}

body.page-platform-metrics .erp-metrics-filters__apply:hover,
body.page-platform-metrics .erp-metrics-filters__apply:focus {
    background: linear-gradient(180deg, #319b98 0%, #287f7d 100%);
    outline: none;
}

body.page-platform-metrics .erp-metrics-filters__reset {
    background: #ffffff;
    border: 1px solid #c9d6dd;
    color: #5a6d78;
}

body.page-platform-metrics .erp-metrics-filters__reset:hover,
body.page-platform-metrics .erp-metrics-filters__reset:focus {
    background: #f4f7f8;
    border-color: #a9b8c1;
    color: #2c2026;
    outline: none;
}

/* Init Outgoing modal — pickup banner + per-PN preview.
   Banner: soft red callout that emphasizes the warehouse decrease is
   non-reversible and a physical pickup is required.
   Preview: compact table summarizing what happens per PN before submit. */
.erp-outgoing-pickup-banner {
    align-items: flex-start;
    background: linear-gradient(180deg, #fdecec 0%, #f9d8d8 100%);
    border: 1px solid #e7a4a4;
    border-radius: 1rem;
    box-shadow: 0 10px 18px rgba(160, 50, 50, 0.10);
    color: #7a1f1f;
    display: flex;
    gap: 0.85rem;
    margin: 1rem 0;
    padding: 0.95rem 1.1rem;
}

.erp-outgoing-pickup-banner__icon {
    align-items: center;
    background: #c04848;
    border-radius: 999px;
    color: #ffffff;
    display: inline-flex;
    flex: 0 0 auto;
    height: 2.2rem;
    justify-content: center;
    width: 2.2rem;
}

.erp-outgoing-pickup-banner__body {
    flex: 1 1 auto;
}

.erp-outgoing-pickup-banner__title {
    color: #7a1f1f;
    display: block;
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    margin-bottom: 0.3rem;
    text-transform: uppercase;
}

.erp-outgoing-pickup-banner__text {
    color: #5a1818;
    font-size: 0.85rem;
    line-height: 1.45;
    margin: 0;
}

.erp-outgoing-pickup-preview {
    background: #f8fafc;
    border: 1px solid #d9e2eb;
    border-radius: 0.9rem;
    margin: 0.5rem 0 1rem;
    padding: 0.85rem 1rem;
}

.erp-outgoing-pickup-preview__title {
    color: #2c4055;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    margin: 0 0 0.5rem;
    text-transform: uppercase;
}

.erp-outgoing-pickup-preview__table {
    font-size: 0.82rem;
    margin: 0;
}

.erp-outgoing-pickup-preview__table th {
    background: #eef3f8;
    color: #2c4055;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.erp-outgoing-pickup-preview__source {
    color: #1f5891;
    font-weight: 700;
}

.erp-outgoing-pickup-preview__action {
    border-radius: 999px;
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    padding: 0.18rem 0.6rem;
    text-transform: uppercase;
}

.erp-outgoing-pickup-preview__action--auto {
    background: #d8f0e3;
    border: 1px solid #9bd4b3;
    color: #156c3b;
}

.erp-outgoing-pickup-preview__action--manual {
    background: #fff4d8;
    border: 1px solid #e7c569;
    color: #855c0d;
}

.erp-outgoing-pickup-preview__action--refresh {
    background: #e2eef8;
    border: 1px solid #b6d3ec;
    color: #1f5891;
    cursor: help;
}

.erp-outgoing-pickup-preview__action--so {
    background: #ffe6cf;
    border: 1px solid #f0b87a;
    color: #8a4a05;
    cursor: help;
}

/* Sub-message blocks inside the pickup banner — appended only when the
   pickup preview reports pending-refresh or pending-so PNs. The refresh
   variant carries an inline CTA link. */
.erp-outgoing-pickup-banner__sub {
    border-radius: 0.6rem;
    font-size: 0.82rem;
    line-height: 1.4;
    margin-top: 0.7rem;
    padding: 0.55rem 0.75rem;
}

.erp-outgoing-pickup-banner__sub--refresh {
    background: #eaf4fb;
    border: 1px solid #b6d3ec;
    color: #163f6c;
}

.erp-outgoing-pickup-banner__sub--so {
    background: #fff1de;
    border: 1px solid #f0b87a;
    color: #5a3304;
}

.erp-outgoing-pickup-banner__cta {
    background: linear-gradient(180deg, #5c8fbc 0%, #4676a3 100%);
    border: 1px solid #4b7aa5;
    border-radius: 999px;
    box-shadow: 0 8px 14px rgba(34, 58, 96, 0.12);
    color: #ffffff !important;
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    margin-left: 0.5rem;
    padding: 0.3rem 0.85rem;
    text-decoration: none !important;
    text-transform: uppercase;
}

.erp-outgoing-pickup-banner__cta:hover,
.erp-outgoing-pickup-banner__cta:focus {
    background: linear-gradient(180deg, #6d9cca 0%, #5381ad 100%);
    border-color: #4b7aa5;
    color: #ffffff !important;
    text-decoration: none !important;
}

/* ─────────────────────────────────────────────────────────────────
   Warehouse Card restyle — compact hero, facet strip, kv-grid
   Replaces the previous summary with denser, two-row hero plus a
   horizontal facet strip; the body uses tabs + accordion (Orchid
   primitives) instead of stacked Layout::columns + Layout::legend.
   ───────────────────────────────────────────────────────────────── */

body.page-platform-magazzino-card .erp-warehouse-summary--compact {
    /* margin-bottom ridotto: la card terminava 1rem sopra il tab nav, dentro
       quel gap si vedeva il bg-grigio della pagina, creando una terza banda
       visiva discontinua. 0.5rem mantiene la separazione senza il gap rumoroso. */
    margin-bottom: 0.5rem;
}

body.page-platform-magazzino-card .erp-warehouse-summary__hero--compact {
    align-items: stretch;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    /* justify-content rimosso: space-between lasciava un buco tra identity
       e metrics quando l'identity era corto. flex-start mantiene i due
       blocchi accostati, identity flex-grow:1 occupa lo spazio residuo. */
    justify-content: flex-start;
    padding: 0;
}

body.page-platform-magazzino-card .erp-warehouse-summary__identity {
    flex: 1 1 0;
    min-width: 18rem;
}

body.page-platform-magazzino-card .erp-warehouse-summary__hero--compact .erp-warehouse-summary__eyebrow {
    color: #6c7b8a;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin: 0 0 0.15rem;
    text-transform: uppercase;
}

body.page-platform-magazzino-card .erp-warehouse-summary__hero--compact .erp-warehouse-summary__title {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    line-height: 1.1;
    margin: 0 0 0.45rem;
}

body.page-platform-magazzino-card .erp-warehouse-summary__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

body.page-platform-magazzino-card .erp-warehouse-summary__metrics--compact {
    display: flex;
    flex: 0 0 auto;
    gap: 0.55rem;
}

body.page-platform-magazzino-card .erp-warehouse-summary__metrics--compact .erp-warehouse-metric {
    min-width: 6rem;
    padding: 0.45rem 0.75rem;
}

body.page-platform-magazzino-card .erp-warehouse-summary__metrics--compact .erp-warehouse-metric span {
    font-size: 0.7rem;
    letter-spacing: 0.05em;
}

body.page-platform-magazzino-card .erp-warehouse-summary__metrics--compact .erp-warehouse-metric strong {
    font-size: 1.35rem;
    line-height: 1.1;
}

/* Facet strip — horizontal container; pills inside use the global
   erp-pill--* classes (Supplier/SO/CO/meta) for visual omogeneity
   with the rest of the ERP. No custom pill sizing here. */
body.page-platform-magazzino-card .erp-facet-strip {
    align-items: center;
    /* Sfondo solido + bottom-radius rimossi: spezzavano il gradient del
       container .erp-warehouse-summary che gia' fornisce la sfumatura.
       Border-top sottile come unico separatore visivo. */
    background: transparent;
    border-top: 1px solid rgba(217, 234, 239, 0.6);
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.85rem;
    padding: 0.85rem 0 0.15rem;
}

/* kv-grid — dense 2-column key/value grid for tab content.
   The .erp-kv-grid-panel wrapper carries the card background, so the
   data table reads as a self-contained surface inside the tab body
   instead of bleeding into the parent container. */
body.page-platform-magazzino-card .erp-kv-grid-panel {
    background: #ffffff;
    border: 1px solid #e3e8ed;
    border-radius: 0.9rem;
    box-shadow: 0 1px 2px rgba(34, 58, 96, 0.04);
    margin-bottom: 0.85rem;
    padding: 0.85rem 1.1rem 0.6rem;
}

body.page-platform-magazzino-card .erp-kv-grid-panel + .erp-kv-grid-panel {
    margin-top: 0;
}

body.page-platform-magazzino-card .erp-kv-grid {
    column-gap: 1.5rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0;
    row-gap: 0.4rem;
}

@media (max-width: 768px) {
    body.page-platform-magazzino-card .erp-kv-grid {
        grid-template-columns: 1fr;
    }
}

body.page-platform-magazzino-card .erp-kv-grid__title {
    color: #2c4055;
    font-size: 0.78rem;
    font-weight: 800;
    grid-column: 1 / -1;
    letter-spacing: 0.05em;
    margin: 0.5rem 0 0.25rem;
    text-transform: uppercase;
}

body.page-platform-magazzino-card .erp-kv-grid__pair {
    align-items: baseline;
    border-bottom: 1px dashed #e6ecf2;
    display: flex;
    gap: 0.85rem;
    justify-content: space-between;
    padding: 0.32rem 0;
}

body.page-platform-magazzino-card .erp-kv-grid__label {
    color: #6c7b8a;
    flex: 0 0 auto;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    margin: 0;
    min-width: 9rem;
    text-transform: uppercase;
}

body.page-platform-magazzino-card .erp-kv-grid__value {
    color: #16323f;
    flex: 1 1 auto;
    font-size: 0.85rem;
    font-weight: 600;
    margin: 0;
    text-align: right;
    word-break: break-word;
}

body.page-platform-magazzino-card .erp-kv-grid__value--mono {
    font-family: ui-monospace, 'SF Mono', 'Cascadia Mono', 'Menlo', monospace;
    font-weight: 700;
}

body.page-platform-magazzino-card .erp-kv-grid__value--muted {
    color: #a3aebb;
    font-weight: 500;
}

body.page-platform-magazzino-card .erp-kv-grid__inline-link {
    color: #1f5891;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}

body.page-platform-magazzino-card .erp-kv-grid__inline-link:hover {
    color: #163f6c;
}

/* Tighter spacing for the Orchid tabs + accordion bodies inside the card */
body.page-platform-magazzino-card .nav-tabs {
    margin-bottom: 0.75rem;
}

body.page-platform-magazzino-card .accordion-item {
    border-radius: 0.6rem !important;
    margin-bottom: 0.4rem;
    overflow: hidden;
}

body.page-platform-magazzino-card .accordion-button {
    background: #f0f4f7;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

body.page-platform-magazzino-card .accordion-button:not(.collapsed) {
    background: #e0eaf2;
    color: #163f6c;
}

/* ─── Availability Check modal ───────────────────────────────────
   Dry-run del Create CO mostrato in modal sull'offerta. Summary pill
   strip + table per-row con status badge colorato. */

/* Modal dialog enlargement: Bootstrap modal-xl tops at 1140px, still
   tight for our 9-column table. Force the dialog to ~96vw so the
   layout breathes without forcing fullscreen. Targets Orchid's
   id="screen-modal-type-{key}" selector on the .modal-dialog. */
#screen-modal-type-availabilityCheckModal {
    max-width: 96vw !important;
    width: 96vw !important;
}

#screen-modal-type-availabilityCheckModal .modal-content {
    border-radius: 1rem;
}

#screen-modal-type-availabilityCheckModal .modal-body {
    padding: 1.25rem 1.5rem;
}
.erp-availability-check {
    color: #16323f;
}

/* Explainer collapsible — describes what each provider check does. */
.erp-availability-check__explainer {
    background: #f7fbfc;
    border: 1px solid #c7e0e6;
    border-radius: 0.85rem;
    margin-bottom: 1rem;
    padding: 0;
}

.erp-availability-check__explainer[open] {
    background: #eef9fb;
}

.erp-availability-check__explainer-title {
    color: #0f6a78;
    cursor: pointer;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    list-style: none;
    padding: 0.6rem 0.9rem;
    text-transform: uppercase;
    user-select: none;
}

.erp-availability-check__explainer-title::-webkit-details-marker {
    display: none;
}

.erp-availability-check__explainer-title::before {
    color: #1f8a9b;
    content: "▸";
    display: inline-block;
    margin-right: 0.4rem;
    transition: transform 0.15s ease;
}

.erp-availability-check__explainer[open] .erp-availability-check__explainer-title::before {
    transform: rotate(90deg);
}

.erp-availability-check__explainer-body {
    border-top: 1px solid #c7e0e6;
    color: #2c4055;
    font-size: 0.82rem;
    line-height: 1.5;
    padding: 0.85rem 0.95rem;
}

.erp-availability-check__explainer-body p {
    margin: 0 0 0.55rem;
}

.erp-availability-check__explainer-body ul {
    margin: 0 0 0.55rem;
    padding-left: 1.1rem;
}

.erp-availability-check__explainer-body li {
    margin-bottom: 0.35rem;
}

.erp-availability-check__explainer-body code {
    background: #ffffff;
    border: 1px solid #d9e2eb;
    border-radius: 0.3rem;
    color: #1f5891;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.05rem 0.35rem;
}

.erp-availability-check__explainer-footer {
    color: #6c7b8a;
    font-size: 0.78rem;
    margin-top: 0.4rem;
}

/* ─── Confirm Outgoing Pickup modal ──────────────────────────── */
.erp-confirm-pickup {
    color: #16323f;
}

.erp-confirm-pickup__empty,
.erp-confirm-pickup__empty-cell {
    background: #f4f7fa;
    border: 1px dashed #b6c4d2;
    border-radius: 0.7rem;
    color: #6c7b8a;
    font-style: italic;
    padding: 1.2rem;
    text-align: center;
}

.erp-confirm-pickup__batch {
    background: #ffffff;
    border: 1px solid #d9e2eb;
    border-radius: 0.9rem;
    margin-bottom: 1rem;
    padding: 0.85rem 1rem;
}

.erp-confirm-pickup__batch-header {
    align-items: baseline;
    color: #16323f;
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-bottom: 0.6rem;
}

.erp-confirm-pickup__batch-meta {
    color: #6c7b8a;
    font-size: 0.78rem;
}

.erp-confirm-pickup__missing-docs {
    background: #fdecec;
    border: 1px solid #e7a4a4;
    border-radius: 0.6rem;
    color: #8a1f1f;
    font-size: 0.82rem;
    margin-bottom: 0.6rem;
    padding: 0.55rem 0.75rem;
}
.erp-confirm-pickup__missing-docs--soft {
    background: #fff7e0;
    border-color: #e5c46b;
    color: #7a5a14;
}

.erp-outgoing-empty {
    border-radius: 0.9rem;
    padding: 1rem 1.2rem;
    margin: 0.4rem 0 0.8rem;
    font-size: 0.88rem;
    line-height: 1.5;
}
.erp-outgoing-empty__title {
    font-size: 1rem;
    font-weight: 800;
    margin: 0 0 0.5rem;
    letter-spacing: 0.02em;
}
.erp-outgoing-empty__body {
    margin: 0 0 0.6rem;
}
.erp-outgoing-empty__batches {
    margin: 0.3rem 0 0.8rem 1.1rem;
    padding: 0;
}
.erp-outgoing-empty__batch {
    background: rgba(255, 255, 255, 0.6);
    border-radius: 0.7rem;
    border: 1px solid rgba(0, 0, 0, 0.07);
    padding: 0.55rem 0.8rem;
    margin: 0.35rem 0;
}
.erp-outgoing-empty__badge {
    background: #d09a24;
    color: #fff;
    border-radius: 999px;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    padding: 0.15rem 0.55rem;
    margin-left: 0.4rem;
    text-transform: uppercase;
}
.erp-outgoing-empty--done {
    background: #eaf6ee;
    border: 1px solid #b2dabb;
    color: #1f5132;
}
.erp-outgoing-empty--pending {
    background: #fff7e0;
    border: 1px solid #e5c46b;
    color: #7a5a14;
}
.erp-outgoing-empty--muted {
    background: #f3f5f7;
    border: 1px solid #d9e0e6;
    color: #56636f;
}

/* Send Offer by Email — give the modal generous width so subject and
   body lines aren't cramped. Tighter than full-width so it still
   feels like a dialog, not a screen. */
#screen-modal-sendOfferByEmail .modal-dialog {
    max-width: min(1100px, 92vw);
}
#screen-modal-sendOfferByEmail textarea[name="email_body"] {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 0.9rem;
    line-height: 1.5;
}

.erp-confirm-pickup__docs-ok {
    background: #eaf6ee;
    border: 1px solid #9bd4b3;
    border-radius: 0.6rem;
    color: #156c3b;
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    padding: 0.55rem 0.75rem;
}

.erp-confirm-pickup__table-wrap {
    overflow-x: auto;
}

.erp-confirm-pickup__table {
    border-collapse: collapse;
    font-size: 0.83rem;
    width: 100%;
}

.erp-confirm-pickup__table th,
.erp-confirm-pickup__table td {
    border-bottom: 1px solid #eef1f5;
    padding: 0.5rem 0.7rem;
    vertical-align: middle;
}

.erp-confirm-pickup__table thead th {
    background: #eef3f8;
    color: #2c4055;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.erp-confirm-pickup__col-number { width: 3rem; color: #6c7b8a; }

.erp-confirm-pickup__box {
    background: #f0f4f7;
    border: 1px solid #d9e2eb;
    border-radius: 0.4rem;
    color: #1f5891;
    font-family: ui-monospace, 'SF Mono', 'Cascadia Mono', 'Menlo', monospace;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.1rem 0.4rem;
}

.erp-confirm-pickup__muted { color: #a3aebb; }

/* ─────────── Warehouse Modal (Reserve / Show Reservation) ─────────── */
.erp-warehouse-modal { color: #16323f; }

/* Hero PN */
.erp-warehouse-modal-hero {
    background: linear-gradient(135deg, #f7fbfc 0%, #ffffff 60%, #eef8fb 100%);
    border: 1px solid #d9eaef;
    border-radius: 1rem;
    margin-bottom: 1rem;
    padding: 1rem 1.1rem;
}

.erp-warehouse-modal-hero__header {
    align-items: flex-start;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-between;
}

.erp-warehouse-modal-hero__identity { flex: 1 1 auto; min-width: 16rem; }

.erp-warehouse-modal-hero__eyebrow {
    color: #6c7b8a;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    margin: 0 0 0.15rem;
    text-transform: uppercase;
}

.erp-warehouse-modal-hero__title {
    color: #16323f;
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    margin: 0 0 0.4rem;
}

.erp-warehouse-modal-hero__co-link {
    background: linear-gradient(180deg, #eefbfc 0%, #dff4f7 100%);
    border: 1px solid #a9dce5;
    border-radius: 999px;
    color: #127082;
    display: inline-flex;
    font-size: 0.8rem;
    font-weight: 800;
    padding: 0.25rem 0.7rem;
    text-decoration: none;
}

.erp-warehouse-modal-hero__co-link:hover { color: #0e6676; }

.erp-warehouse-modal-hero__metrics {
    display: flex;
    flex: 0 0 auto;
    gap: 0.6rem;
}

.erp-warehouse-modal-hero__metric {
    background: #ffffff;
    border: 1px solid #d9e2eb;
    border-radius: 0.8rem;
    box-shadow: 0 2px 6px rgba(34, 58, 96, 0.06);
    display: inline-flex;
    flex-direction: column;
    min-width: 7rem;
    padding: 0.55rem 0.85rem;
}

.erp-warehouse-modal-hero__metric span {
    color: #6c7b8a;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.erp-warehouse-modal-hero__metric strong {
    color: #16323f;
    font-size: 1.55rem;
    font-weight: 800;
    line-height: 1.05;
}

.erp-warehouse-modal-hero__metric--required { background: linear-gradient(180deg, #fff8de 0%, #fdeeb1 100%); border-color: #e6bf52; }
.erp-warehouse-modal-hero__metric--required strong { color: #6c4e00; }
.erp-warehouse-modal-hero__metric--reserved { background: linear-gradient(180deg, #eaf6ee 0%, #d8eee0 100%); border-color: #9bd4b3; }
.erp-warehouse-modal-hero__metric--reserved strong { color: #156c3b; }
.erp-warehouse-modal-hero__metric--left     { background: linear-gradient(180deg, #fdecec 0%, #f9dada 100%); border-color: #e7a4a4; }
.erp-warehouse-modal-hero__metric--left strong { color: #8a1f1f; }
.erp-warehouse-modal-hero__metric--done     { background: linear-gradient(180deg, #eaf6ee 0%, #d8eee0 100%); border-color: #9bd4b3; }
.erp-warehouse-modal-hero__metric--done strong { color: #156c3b; }
.erp-warehouse-modal-hero__metric--neutral  { background: #f4f7fa; border-color: #d9e2eb; }
.erp-warehouse-modal-hero__metric--neutral strong { color: #6c7b8a; }

.erp-warehouse-modal-hero__meta {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.55rem 1.1rem;
    margin: 0.85rem 0 0;
}

@media (max-width: 768px) {
    .erp-warehouse-modal-hero__meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.erp-warehouse-modal-hero__meta div { display: flex; flex-direction: column; }
.erp-warehouse-modal-hero__meta dt {
    color: #6c7b8a;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    margin: 0;
    text-transform: uppercase;
}
.erp-warehouse-modal-hero__meta dd { color: #16323f; font-size: 0.85rem; font-weight: 700; margin: 0; }

/* Tabs */
.erp-warehouse-modal-tabs {
    border-bottom: 1px solid #d9e2eb;
    display: flex;
    gap: 0.4rem;
    margin-bottom: 0.85rem;
}

.erp-warehouse-modal-tab {
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    color: #6c7b8a;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    padding: 0.55rem 1rem;
    text-transform: uppercase;
    transition: color 0.15s ease, border-color 0.15s ease;
}

.erp-warehouse-modal-tab:hover { color: #2c4055; }

.erp-warehouse-modal-tab--active {
    border-bottom-color: #1f5891;
    color: #1f5891;
}

.erp-warehouse-modal-tab__badge {
    background: #d9e2eb;
    border-radius: 999px;
    color: #2c4055;
    display: inline-block;
    font-size: 0.7rem;
    margin-left: 0.35rem;
    padding: 0.05rem 0.45rem;
}

.erp-warehouse-modal-tab--active .erp-warehouse-modal-tab__badge {
    background: #1f5891;
    color: #ffffff;
}

/* Search */
.erp-warehouse-modal-search {
    background: #ffffff;
    border: 1px solid #d9e2eb;
    border-radius: 0.7rem;
    display: flex;
    align-items: center;
    margin-bottom: 0.85rem;
    padding: 0 0.7rem;
    position: relative;
}

.erp-warehouse-modal-search input {
    background: transparent;
    border: none;
    color: #16323f;
    flex: 1 1 auto;
    font-size: 0.85rem;
    outline: none;
    padding: 0.5rem 0;
}

.erp-warehouse-modal-search i { color: #6c7b8a; }

/* Row card */
.erp-warehouse-modal-row {
    background: #ffffff;
    border: 1px solid #d9e2eb;
    border-radius: 0.95rem;
    box-shadow: 0 2px 6px rgba(34, 58, 96, 0.05);
    margin-bottom: 0.85rem;
    padding: 0.95rem 1rem;
}

.erp-warehouse-modal-row--active {
    border-color: #9bd4b3;
    box-shadow: 0 4px 16px rgba(21, 108, 59, 0.12);
}

.erp-warehouse-modal-row__header {
    align-items: flex-start;
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    justify-content: space-between;
    margin-bottom: 0.65rem;
}

.erp-warehouse-modal-row__title-block { display: flex; flex-direction: column; gap: 0.2rem; }

.erp-warehouse-modal-row__eyebrow {
    color: #6c7b8a;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    margin: 0;
    text-transform: uppercase;
}

.erp-warehouse-modal-row__title {
    color: #16323f;
    font-size: 1.15rem;
    font-weight: 800;
    margin: 0;
}

.erp-warehouse-modal-row__title a { color: inherit; text-decoration: none; }
.erp-warehouse-modal-row__title a:hover { color: #1f5891; }

.erp-warehouse-modal-row__active-flag {
    align-items: center;
    background: #d8f0e3;
    border: 1px solid #9bd4b3;
    border-radius: 999px;
    color: #156c3b;
    display: inline-flex;
    font-size: 0.72rem;
    font-weight: 800;
    gap: 0.25rem;
    margin-top: 0.15rem;
    padding: 0.15rem 0.6rem;
    width: fit-content;
}

.erp-warehouse-modal-row__delivery {
    color: #1f5891;
    font-size: 0.78rem;
    font-weight: 800;
    margin-top: 0.1rem;
}

/* Stock bar */
.erp-warehouse-modal-row__stock { margin-bottom: 0.7rem; }

.erp-warehouse-modal-row__stock-bar {
    background: #f0f4f7;
    border-radius: 999px;
    display: flex;
    height: 0.6rem;
    overflow: hidden;
    width: 100%;
}

.erp-warehouse-modal-row__stock-bar-fill--reserved { background: linear-gradient(90deg, #e6c569 0%, #d09a24 100%); }
.erp-warehouse-modal-row__stock-bar-fill--available { background: linear-gradient(90deg, #9bd4b3 0%, #247b52 100%); }

.erp-warehouse-modal-row__stock-kpis {
    color: #2c4055;
    display: flex;
    flex-wrap: wrap;
    font-size: 0.78rem;
    gap: 0.85rem;
    margin-top: 0.35rem;
}
.erp-warehouse-modal-row__stock-kpis strong { color: #16323f; font-weight: 800; margin-left: 0.2rem; }
.erp-warehouse-modal-row__stock-kpi--reserved strong  { color: #855c0d; }
.erp-warehouse-modal-row__stock-kpi--available strong { color: #156c3b; }
.erp-warehouse-modal-row__stock-kpi--neutral strong   { color: #6c7b8a; }

/* Meta */
.erp-warehouse-modal-row__meta {
    display: grid;
    gap: 0.45rem 1rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 0.55rem 0;
}
@media (max-width: 768px) {
    .erp-warehouse-modal-row__meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.erp-warehouse-modal-row__meta div { display: flex; flex-direction: column; gap: 0.05rem; }
.erp-warehouse-modal-row__meta dt {
    color: #6c7b8a;
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    margin: 0;
    text-transform: uppercase;
}
.erp-warehouse-modal-row__meta dd {
    color: #16323f;
    font-size: 0.82rem;
    font-weight: 700;
    margin: 0;
}

/* Allocations details */
.erp-warehouse-modal-row__allocations {
    background: #f7f9fb;
    border: 1px solid #e3e8ed;
    border-radius: 0.6rem;
    margin: 0.55rem 0;
    padding: 0.4rem 0.7rem;
}

.erp-warehouse-modal-row__allocations summary {
    color: #1f5891;
    cursor: pointer;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.erp-warehouse-modal-row__allocations-list {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    margin-top: 0.4rem;
}

.erp-warehouse-modal-row__allocation-item {
    align-items: center;
    background: #ffffff;
    border: 1px solid #e3e8ed;
    border-radius: 0.5rem;
    display: flex;
    flex-wrap: wrap;
    font-size: 0.78rem;
    gap: 0.45rem;
    padding: 0.3rem 0.55rem;
}
.erp-warehouse-modal-row__allocation-item small { color: #6c7b8a; }

/* Action footer */
.erp-warehouse-modal-row__action {
    align-items: center;
    background: #f7fbfc;
    border-top: 1px solid #e3e8ed;
    border-radius: 0 0 0.65rem 0.65rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    justify-content: space-between;
    margin: 0.65rem -1rem -0.95rem;
    padding: 0.65rem 1rem;
}

.erp-warehouse-modal-row__action-hint {
    color: #2c4055;
    flex: 1 1 auto;
    font-size: 0.78rem;
    line-height: 1.3;
    min-width: 14rem;
}

.erp-warehouse-modal-row__action-hint strong { color: #16323f; font-weight: 800; }

.erp-warehouse-modal-row__action-hint--success {
    color: #156c3b;
    font-weight: 700;
}

.erp-warehouse-modal-row__action-hint--muted { color: #6c7b8a; }

.erp-warehouse-modal-row__action-controls {
    align-items: center;
    display: flex;
    gap: 0.45rem;
}

.erp-warehouse-modal-row__qty-input {
    font-size: 0.85rem;
    max-width: 5.5rem;
    text-align: center;
}

.erp-warehouse-modal-row__reserve-btn {
    background: linear-gradient(180deg, #247b52 0%, #1a6342 100%);
    border: 1px solid #1a6342;
    border-radius: 0.65rem;
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    padding: 0.45rem 0.95rem;
    text-transform: uppercase;
    white-space: nowrap;
}

.erp-warehouse-modal-row__reserve-btn:hover {
    background: linear-gradient(180deg, #2a8c5e 0%, #1f7250 100%);
    color: #ffffff;
}

.erp-warehouse-modal-row__reserve-btn--disabled {
    background: #e3e8ed;
    border-color: #cdd6df;
    color: #a3aebb;
    cursor: not-allowed;
}

.erp-warehouse-modal-row__reserve-btn i { margin-right: 0.25rem; }

/* Empty / pagination */
.erp-warehouse-modal-empty {
    background: #f4f7fa;
    border: 1px dashed #b6c4d2;
    border-radius: 0.7rem;
    color: #6c7b8a;
    font-style: italic;
    padding: 1.3rem;
    text-align: center;
}

.erp-warehouse-modal-pagination {
    margin-top: 0.85rem;
    text-align: center;
}

/* ─────────── List row inline action buttons (shared across CO/SO/PO lists) ─────────── */
.erp-row-actions {
    display: inline-flex;
    gap: 0.4rem;
    align-items: center;
    justify-content: center;
}

.erp-row-action,
.erp-row-action.btn,
a.erp-row-action,
a.erp-row-action.btn {
    align-items: center;
    background: #ffffff;
    border: 1px solid #d9e2eb;
    border-radius: 0.55rem;
    box-shadow: 0 1px 2px rgba(34, 58, 96, 0.06);
    color: #2c4055;
    cursor: pointer;
    display: inline-flex;
    height: 2.05rem;
    justify-content: center;
    padding: 0;
    text-decoration: none;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.05s ease;
    width: 2.05rem;
}

.erp-row-action i,
.erp-row-action svg { font-size: 0.95rem; line-height: 1; }

.erp-row-action:hover,
.erp-row-action.btn:hover,
a.erp-row-action:hover,
a.erp-row-action.btn:hover { transform: translateY(-1px); text-decoration: none; }

.erp-row-action--check {
    background: linear-gradient(180deg, #eef8fb 0%, #dceff5 100%);
    border-color: #a9dce5;
    color: #0e6676;
}
.erp-row-action--check:hover {
    background: linear-gradient(180deg, #dceff5 0%, #c5e5ed 100%);
    border-color: #7fc8d4;
    color: #0a5260;
}

.erp-row-action--edit,
.erp-row-action--edit.btn,
a.erp-row-action--edit,
a.erp-row-action--edit.btn {
    background: linear-gradient(180deg, #f4f7fa 0%, #e3e8ed 100%);
    border-color: #b6c4d2;
    color: #2c4055;
}
.erp-row-action--edit:hover,
a.erp-row-action--edit:hover {
    background: linear-gradient(180deg, #e3e8ed 0%, #cdd6df 100%);
    border-color: #a3aebb;
    color: #16323f;
}

.erp-row-action--revision,
.erp-row-action--revision.btn {
    background: linear-gradient(180deg, #fff8de 0%, #fdeeb1 100%);
    border-color: #e6bf52;
    color: #855c0d;
}
.erp-row-action--revision:hover,
.erp-row-action--revision.btn:hover {
    background: linear-gradient(180deg, #fdeeb1 0%, #f7dc7e 100%);
    border-color: #d6ac35;
    color: #6c4a08;
}

.erp-row-action--delete,
.erp-row-action--delete.btn {
    background: linear-gradient(180deg, #fdecec 0%, #f9dada 100%);
    border-color: #e7a4a4;
    color: #8a1f1f;
}
.erp-row-action--delete:hover,
.erp-row-action--delete.btn:hover {
    background: linear-gradient(180deg, #f9d6d6 0%, #f1bcbc 100%);
    border-color: #d68585;
    color: #6c1818;
}

/* ─────────── CO Status Check modal ─────────── */
#coStatusCheckModal .modal-dialog { max-width: 1180px; }
#coStatusCheckModal .modal-content {
    border: none;
    border-radius: 1.2rem;
    overflow: hidden;
}
#coStatusCheckModal .modal-header {
    background: linear-gradient(135deg, #f7fbfc 0%, #ffffff 60%, #eef8fb 100%);
    border-bottom: 1px solid #d9eaef;
}
#coStatusCheckModal .modal-title {
    color: #16323f;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}
#coStatusCheckModal .modal-title i { color: #0e6676; margin-right: 0.4rem; }

.erp-co-status-check__loading {
    align-items: center;
    color: #6c7b8a;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    justify-content: center;
    padding: 3rem 1rem;
    text-align: center;
}
.erp-co-status-check__loading p { font-weight: 700; margin: 0; }

/* Hero */
.erp-co-status-check__hero {
    align-items: flex-start;
    background: linear-gradient(135deg, #f7fbfc 0%, #ffffff 60%, #eef8fb 100%);
    border: 1px solid #d9eaef;
    border-radius: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding: 1rem 1.1rem;
}
.erp-co-status-check__hero-left { min-width: 18rem; }
.erp-co-status-check__eyebrow {
    color: #6c7b8a;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    margin: 0 0 0.15rem;
    text-transform: uppercase;
}
.erp-co-status-check__title {
    color: #16323f;
    font-size: 1.45rem;
    font-weight: 800;
    margin: 0 0 0.3rem;
}
.erp-co-status-check__meta {
    color: #2c4055;
    display: flex;
    flex-wrap: wrap;
    font-size: 0.82rem;
    font-weight: 700;
    gap: 0.35rem;
    margin: 0;
}
.erp-co-status-check__hero-metrics { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.erp-co-status-check__metric {
    background: #ffffff;
    border: 1px solid #d9e2eb;
    border-radius: 0.7rem;
    display: inline-flex;
    flex-direction: column;
    min-width: 5.2rem;
    padding: 0.45rem 0.65rem;
}
.erp-co-status-check__metric span {
    color: #6c7b8a;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.erp-co-status-check__metric strong {
    color: #16323f;
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1.1;
}
.erp-co-status-check__metric--delivered { background: linear-gradient(180deg, #eaf6ee 0%, #d8eee0 100%); border-color: #9bd4b3; }
.erp-co-status-check__metric--delivered strong { color: #156c3b; }
.erp-co-status-check__metric--ready     { background: linear-gradient(180deg, #eaf6ee 0%, #d8eee0 100%); border-color: #9bd4b3; }
.erp-co-status-check__metric--ready strong { color: #156c3b; }
.erp-co-status-check__metric--waiting   { background: linear-gradient(180deg, #fff8de 0%, #fdeeb1 100%); border-color: #e6bf52; }
.erp-co-status-check__metric--waiting strong { color: #855c0d; }
.erp-co-status-check__metric--sourced   { background: linear-gradient(180deg, #eaf4fb 0%, #d2e7f4 100%); border-color: #b6d3ec; }
.erp-co-status-check__metric--sourced strong { color: #1f5891; }
.erp-co-status-check__metric--idle      { background: #f4f7fa; border-color: #d9e2eb; }
.erp-co-status-check__metric--idle strong { color: #6c7b8a; }

/* Sync banner */
.erp-co-status-check__sync-banner {
    align-items: center;
    border-radius: 0.7rem;
    display: flex;
    font-size: 0.85rem;
    font-weight: 700;
    gap: 0.55rem;
    margin-bottom: 0.7rem;
    padding: 0.55rem 0.85rem;
}
.erp-co-status-check__sync-banner i { font-size: 1rem; }
.erp-co-status-check__sync-banner--success {
    background: #eaf6ee;
    border: 1px solid #9bd4b3;
    color: #156c3b;
}
.erp-co-status-check__sync-banner--warning {
    background: #fff8de;
    border: 1px solid #e6bf52;
    color: #855c0d;
}
.erp-co-status-check__sync-banner em {
    color: inherit;
    font-style: normal;
    font-weight: 600;
    opacity: 0.85;
}

/* Empty */
.erp-co-status-check__empty {
    background: #f4f7fa;
    border: 1px dashed #b6c4d2;
    border-radius: 0.7rem;
    color: #6c7b8a;
    font-style: italic;
    padding: 1.3rem;
    text-align: center;
}

/* Table */
.erp-co-status-check__table {
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
}
.erp-co-status-check__table thead th {
    background: #f7f9fb;
    border-bottom: 1px solid #d9e2eb;
    color: #6c7b8a;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    padding: 0.55rem 0.65rem;
    text-align: left;
    text-transform: uppercase;
}
.erp-co-status-check__table tbody td {
    border-bottom: 1px solid #eef2f5;
    color: #16323f;
    font-size: 0.85rem;
    padding: 0.65rem;
    vertical-align: middle;
}
.erp-co-status-check__table tbody tr:last-child td { border-bottom: none; }
.erp-co-status-check__pn {
    color: #16323f;
    font-weight: 800;
    letter-spacing: 0.01em;
    white-space: nowrap;
}
.erp-co-status-check__expected { white-space: nowrap; font-weight: 700; }
.erp-co-status-check__provider-link {
    color: #1f5891;
    font-weight: 800;
    text-decoration: none;
}
.erp-co-status-check__provider-link:hover { text-decoration: underline; }
.erp-co-status-check__provider-plain { color: #2c4055; font-weight: 700; }

/* Warehouse detail strip */
.erp-co-status-check__wh-strip {
    align-items: center;
    background: #eaf6ee;
    border: 1px solid #9bd4b3;
    border-radius: 0.55rem;
    color: #156c3b;
    display: inline-flex;
    flex-wrap: wrap;
    font-size: 0.75rem;
    font-weight: 700;
    gap: 0.35rem;
    margin-top: 0.4rem;
    padding: 0.25rem 0.55rem;
}
.erp-co-status-check__wh-strip a {
    color: #0e6676;
    font-weight: 800;
    text-decoration: none;
}
.erp-co-status-check__wh-strip a:hover { color: #0a5260; text-decoration: underline; }
.erp-co-status-check__wh-strip strong { color: #16323f; }

/* Progress bar */
.erp-co-status-check__progress {
    min-width: 12rem;
    max-width: 16rem;
}
.erp-co-status-check__progress-track {
    background: #f0f4f7;
    border-radius: 999px;
    height: 0.7rem;
    overflow: hidden;
    width: 100%;
}
.erp-co-status-check__progress-fill {
    border-radius: 999px;
    height: 100%;
    transition: width 0.3s ease;
}
.erp-co-status-check__progress-fill--delivered    { background: linear-gradient(90deg, #9bd4b3 0%, #156c3b 100%); }
.erp-co-status-check__progress-fill--ready        { background: linear-gradient(90deg, #9bd4b3 0%, #247b52 100%); }
.erp-co-status-check__progress-fill--in-outgoing  { background: linear-gradient(90deg, #b6d3ec 0%, #1f5891 100%); }
.erp-co-status-check__progress-fill--waiting      { background: linear-gradient(90deg, #fdeeb1 0%, #d09a24 100%); }
.erp-co-status-check__progress-fill--overdue      { background: linear-gradient(90deg, #f1bcbc 0%, #a23a4c 100%); }
.erp-co-status-check__progress-fill--sourced      { background: linear-gradient(90deg, #d2e7f4 0%, #69808f 100%); }
.erp-co-status-check__progress-fill--idle         { background: #e3e8ed; }

.erp-co-status-check__progress-labels {
    color: #6c7b8a;
    display: flex;
    font-size: 0.68rem;
    font-weight: 700;
    justify-content: space-between;
    margin-top: 0.25rem;
}
.erp-co-status-check__progress-labels span:nth-child(2) { color: #16323f; font-weight: 800; }

/* ─────────── SO List — Expected Delivery column ─────────── */
.erp-so-delivery {
    align-items: center;
    background: linear-gradient(180deg, #eaf4fb 0%, #d2e7f4 100%);
    border: 1px solid #b6d3ec;
    border-radius: 0.55rem;
    color: #1f5891;
    display: inline-flex;
    flex-wrap: wrap;
    font-size: 0.78rem;
    font-weight: 800;
    gap: 0.35rem;
    line-height: 1;
    padding: 0.3rem 0.55rem;
}
.erp-so-delivery__date {
    color: #16323f;
    font-variant-numeric: tabular-nums;
}
.erp-so-delivery__date--last { color: #1f5891; }
.erp-so-delivery__arrow { color: #6c7b8a; font-weight: 700; }
.erp-so-delivery__count {
    background: #ffffff;
    border: 1px solid #b6d3ec;
    border-radius: 999px;
    color: #1f5891;
    font-size: 0.65rem;
    font-weight: 800;
    margin-left: 0.2rem;
    padding: 0.05rem 0.4rem;
}

.erp-so-delivery--done {
    background: linear-gradient(180deg, #eaf6ee 0%, #d8eee0 100%);
    border-color: #9bd4b3;
    color: #156c3b;
}
.erp-so-delivery--done .erp-so-delivery__date { color: #156c3b; }
.erp-so-delivery--done .erp-so-delivery__date--last { color: #156c3b; }
.erp-so-delivery--done .erp-so-delivery__count {
    background: #ffffff;
    border-color: #9bd4b3;
    color: #156c3b;
}

.erp-so-delivery--overdue {
    background: linear-gradient(180deg, #fdecec 0%, #f9dada 100%);
    border-color: #e7a4a4;
    color: #8a1f1f;
}
.erp-so-delivery--overdue .erp-so-delivery__date { color: #8a1f1f; }
.erp-so-delivery--overdue .erp-so-delivery__date--last { color: #8a1f1f; }
.erp-so-delivery--overdue .erp-so-delivery__count {
    background: #ffffff;
    border-color: #e7a4a4;
    color: #8a1f1f;
}

/* Global status-pill --info variant (soft blue) for the new READY TO SHIP
   intermediate state on customer order summary and elsewhere. */
body[class*="page-platform-"] .erp-status-pill--info {
    background: #eaf4fb;
    border: 1px solid #b6d3ec;
    color: #1f5891;
}

/* Summary strip — pill chips per stato */
.erp-availability-check__summary {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.erp-availability-check__summary-pill {
    align-items: center;
    background: #f4f7fa;
    border: 1px solid #d9e2eb;
    border-radius: 0.85rem;
    box-shadow: 0 2px 4px rgba(34, 58, 96, 0.04);
    display: inline-flex;
    flex-direction: column;
    flex: 1 1 0;
    gap: 0.1rem;
    min-width: 7rem;
    padding: 0.7rem 1rem;
}

.erp-availability-check__summary-label {
    color: #6c7b8a;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.erp-availability-check__summary-value {
    color: #16323f;
    font-size: 1.55rem;
    font-weight: 800;
    line-height: 1.1;
}

.erp-availability-check__summary-pill--ok      { background: #eaf6ee; border-color: #9bd4b3; }
.erp-availability-check__summary-pill--ok      .erp-availability-check__summary-value { color: #156c3b; }
.erp-availability-check__summary-pill--partial { background: #fff7df; border-color: #e7c569; }
.erp-availability-check__summary-pill--partial .erp-availability-check__summary-value { color: #855c0d; }
.erp-availability-check__summary-pill--fail    { background: #fdecec; border-color: #e7a4a4; }
.erp-availability-check__summary-pill--fail    .erp-availability-check__summary-value { color: #8a1f1f; }
.erp-availability-check__summary-pill--manual  { background: #eaf4fb; border-color: #b6d3ec; }
.erp-availability-check__summary-pill--manual  .erp-availability-check__summary-value { color: #1f5891; }
.erp-availability-check__summary-pill--none    { background: #f4f7fa; border-color: #d9e2eb; }
.erp-availability-check__summary-pill--none    .erp-availability-check__summary-value { color: #6c7b8a; }

/* Empty state */
.erp-availability-check__empty {
    background: #f4f7fa;
    border: 1px dashed #b6c4d2;
    border-radius: 0.9rem;
    color: #6c7b8a;
    font-style: italic;
    padding: 2rem;
    text-align: center;
}

/* Tabella risultati */
.erp-availability-check__table-wrap {
    background: #ffffff;
    border: 1px solid #d9e2eb;
    border-radius: 0.9rem;
    overflow-x: auto;
}

.erp-availability-check__table {
    border-collapse: collapse;
    font-size: 0.85rem;
    margin: 0;
    width: 100%;
}

.erp-availability-check__table th,
.erp-availability-check__table td {
    padding: 0.7rem 0.85rem;
    vertical-align: middle;
}

.erp-availability-check__table thead th {
    background: #eef3f8;
    border-bottom: 2px solid #cdd6df;
    color: #2c4055;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-align: left;
    text-transform: uppercase;
    white-space: nowrap;
}

.erp-availability-check__table tbody tr + tr td {
    border-top: 1px solid #eef1f5;
}

.erp-availability-check__col-number { width: 3.5rem; color: #6c7b8a; font-weight: 700; }
.erp-availability-check__col-pn     { min-width: 11rem; max-width: 14rem; word-break: break-word; }
.erp-availability-check__col-mfr    { min-width: 7rem; }
.erp-availability-check__col-qty    { width: 4.5rem; }
.erp-availability-check__col-provider { min-width: 11rem; }
.erp-availability-check__col-source { min-width: 16rem; }
.erp-availability-check__col-status { width: 8.5rem; }
.erp-availability-check__col-note   { min-width: 14rem; color: #6c7b8a; font-size: 0.8rem; }

.erp-availability-check__row--ok      { background: #f8fcf9; }
.erp-availability-check__row--partial { background: #fffaee; }
.erp-availability-check__row--fail    { background: #fdf6f6; }
.erp-availability-check__row--manual  { background: #f6fafd; }

.erp-availability-check__provider {
    background: #f0f4f7;
    border: 1px solid #d9e2eb;
    border-radius: 0.5rem;
    color: #1f5891;
    font-family: ui-monospace, 'SF Mono', 'Cascadia Mono', 'Menlo', monospace;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.15rem 0.5rem;
    white-space: nowrap;
}

.erp-availability-check__source-link,
.erp-availability-check__source-static {
    font-weight: 700;
}

.erp-availability-check__source-link {
    color: #1f5891;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}

.erp-availability-check__source-link:hover,
.erp-availability-check__source-link:focus {
    color: #163f6c;
}

.erp-availability-check__source-static {
    color: #2c4055;
}

.erp-availability-check__muted {
    color: #a3aebb;
}

/* Status badge — icon + label, capsule shape */
.erp-availability-status {
    align-items: center;
    border-radius: 999px;
    display: inline-flex;
    font-size: 0.76rem;
    font-weight: 800;
    gap: 0.35rem;
    letter-spacing: 0.04em;
    padding: 0.3rem 0.7rem;
    text-transform: uppercase;
    white-space: nowrap;
}

.erp-availability-status__icon {
    font-size: 0.9rem;
    line-height: 1;
}

.erp-availability-status--ok      { background: #d8f0e3; border: 1px solid #9bd4b3; color: #156c3b; }
.erp-availability-status--partial { background: #fff4d8; border: 1px solid #e7c569; color: #855c0d; }
.erp-availability-status--fail    { background: #fdecec; border: 1px solid #e7a4a4; color: #8a1f1f; }
.erp-availability-status--manual  { background: #eaf4fb; border: 1px solid #b6d3ec; color: #1f5891; }
.erp-availability-status--none    { background: #f4f7fa; border: 1px solid #d9e2eb; color: #6c7b8a; }


/* ─────────── Unified Archive table (synthesis screens) ─────────── */
.erp-unified-archive {
    background: #ffffff;
    border: 1px solid #d9e2eb;
    border-radius: 0.7rem;
    margin: 0.8rem 0;
    padding: 0.7rem 0.9rem;
}
.erp-unified-archive__toolbar {
    align-items: center;
    color: #2c4055;
    display: flex;
    font-size: 0.85rem;
    gap: 1rem;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}
.erp-unified-archive__filter-label em {
    color: #1f5891;
    font-style: normal;
    font-weight: 800;
    margin-left: 0.25rem;
    text-transform: uppercase;
}
.erp-unified-archive__empty {
    background: #f4f7fa;
    border: 1px dashed #b6c4d2;
    border-radius: 0.5rem;
    color: #6c7b8a;
    font-style: italic;
    padding: 1.2rem;
    text-align: center;
}
.erp-unified-archive__table {
    border-collapse: collapse;
    font-size: 0.84rem;
    width: 100%;
}
.erp-unified-archive__table thead th {
    background: #f7f9fb;
    border-bottom: 1px solid #d9e2eb;
    color: #6c7b8a;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    padding: 0.55rem 0.65rem;
    text-align: left;
    text-transform: uppercase;
}
.erp-unified-archive__table tbody td {
    border-bottom: 1px solid #eef2f5;
    color: #16323f;
    padding: 0.5rem 0.65rem;
    vertical-align: middle;
}
.erp-unified-archive__source-operational {
    background: linear-gradient(180deg, #eaf4fb 0%, #d2e7f4 100%);
    border: 1px solid #b6d3ec;
    border-radius: 999px;
    color: #1f5891;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    padding: 0.15rem 0.55rem;
}
.erp-unified-archive__intro {
    background: #f7fafc;
    border: 1px solid #e1e8ee;
    border-left: 4px solid #16a1b7;
    border-radius: 0.9rem;
    padding: 1rem 1.2rem;
    margin: 0 0 1rem;
    font-size: 0.85rem;
    color: #3a4858;
}
.erp-unified-archive__intro-title {
    font-size: 0.95rem;
    font-weight: 800;
    color: #1f2937;
    margin: 0 0 0.4rem;
    letter-spacing: 0.02em;
}
.erp-unified-archive__intro-body {
    margin: 0 0 0.6rem;
    line-height: 1.45;
}
.erp-unified-archive__intro-metrics {
    background: #ffffff;
    border: 1px solid #d9e3ec;
    border-radius: 0.7rem;
    padding: 0.6rem 0.9rem;
    font-size: 0.8rem;
}
.erp-unified-archive__intro-metrics ul {
    margin: 0.3rem 0 0;
    padding-left: 1.1rem;
}
.erp-unified-archive__intro-metrics li {
    margin: 0.15rem 0;
}
.erp-unified-archive__sort-link {
    color: inherit;
    text-decoration: none;
    display: inline-block;
}
.erp-unified-archive__sort-link:hover {
    color: #16a1b7;
}
.erp-unified-archive__sort-link--active {
    color: #16a1b7;
    font-weight: 800;
}
.erp-unified-archive__pagination {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
}
.erp-unified-archive__pagination .pagination {
    margin: 0;
    flex-wrap: wrap;
}

.erp-unified-archive__source-legacy {
    background: linear-gradient(180deg, #f4f7fa 0%, #e3e8ed 100%);
    border: 1px solid #b6c4d2;
    border-radius: 999px;
    color: #6c7b8a;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    padding: 0.15rem 0.55rem;
}
/* ── Resolve Company & Buyer modal — decision cards (RFQ + CO import) ───────
   Read-only status + diff card shown above the Orchid action controls.
   Palette: success #247b52, warning #d09a24, neutral #69808f. No side-stripes. */
.erp-resolve-card {
    border: 1px solid #e4e9ec;
    border-radius: 1.1rem;
    background: #fdfefe;
    padding: 0.95rem 1.05rem 0.8rem;
    margin: 0.75rem 0 0.35rem;
}
.erp-resolve-card--matched { background: #f3faf6; border-color: #cde7d9; }
.erp-resolve-card--new     { background: #fdf8ed; border-color: #f0e0bd; }

.erp-resolve-card__head {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
    margin-bottom: 0.5rem;
}
.erp-resolve-card__entity {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: #69808f;
}
.erp-resolve-pill {
    font-size: 0.72rem;
    font-weight: 700;
    border-radius: 999px;
    padding: 0.2rem 0.65rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}
.erp-resolve-pill::before {
    content: "";
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: currentColor;
}
.erp-resolve-pill--match { color: #247b52; background: #dcf0e6; }
.erp-resolve-pill--new   { color: #9a6a12; background: #f7ead0; }

.erp-resolve-card__identity {
    display: flex;
    align-items: baseline;
    gap: 0.55rem;
    flex-wrap: wrap;
    margin-bottom: 0.6rem;
}
.erp-resolve-card__title {
    font-size: 1.02rem;
    font-weight: 800;
    color: #16323f;
}
.erp-resolve-card__subtitle { font-size: 0.82rem; color: #69808f; font-weight: 600; }

.erp-resolve-diff {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.82rem;
}
.erp-resolve-diff thead th {
    text-align: left;
    font-size: 0.64rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #8499a6;
    padding: 0.2rem 0.5rem;
    border-bottom: 1px solid #e4e9ec;
}
.erp-resolve-diff tbody td {
    padding: 0.34rem 0.5rem;
    border-bottom: 1px solid #eef2f4;
    color: #2c4350;
    vertical-align: middle;
}
.erp-resolve-diff tbody tr:last-child td { border-bottom: none; }
.erp-resolve-diff__label { font-weight: 700; color: #16323f; white-space: nowrap; }
.erp-resolve-diff tr.is-change td { background: #fbf3df; }
.erp-resolve-diff tr.is-change .erp-resolve-diff__label { color: #9a6a12; }
.erp-resolve-diff__mark { text-align: right; white-space: nowrap; }
.erp-resolve-diff__dot {
    color: #9a6a12;
    font-weight: 800;
    font-size: 0.72rem;
}
.erp-resolve-diff__dot::before {
    content: "●";
    margin-right: 0.3rem;
}
.erp-resolve-diff__same { color: #9fb1bb; font-weight: 600; font-size: 0.72rem; }

.erp-resolve-card__note {
    margin: 0.6rem 0 0;
    font-size: 0.78rem;
    color: #69808f;
}
.erp-resolve-card__note--ok { color: #247b52; }
.erp-resolve-card__note--change { color: #9a6a12; }
