.hp-control .hp-inline-form {
    margin-bottom: 20px;
    padding: 18px;
    border: 1px solid #dce8e3;
    border-radius: 14px;
    background: #f5fbf8;
}
.hp-control .hp-sticky { position: sticky; top: 96px; }
.hp-products-table-widget { min-height: 520px; }
body.hp-control .modal-content { border: 0 !important; border-radius: 18px; color: #1f2937 !important; background: #fff !important; box-shadow: 0 24px 80px rgba(14, 23, 38, .28); }
body.hp-control .modal-content .modal-header { align-items: flex-start; }
body.hp-control .modal-content .modal-header, body.hp-control .modal-content .modal-body, body.hp-control .modal-content .modal-footer { background: #fff !important; }
body.hp-control .modal-content .modal-header, body.hp-control .modal-content .modal-footer { border-color: #e9ecef !important; }
body.hp-control .modal-content .modal-title, body.hp-control .modal-content .form-label, body.hp-control .modal-content .form-check-label { color: #1b3f34 !important; }
body.hp-control .modal-content .modal-title { font-weight: 800; letter-spacing: 0; }
body.hp-control .modal-content p { color: inherit !important; letter-spacing: 0; }
body.hp-control .modal-content .form-control, body.hp-control .modal-content .form-select { border-color: #dce8e3 !important; color: #1f2937 !important; background: #fff !important; }
body.hp-control .modal-content .form-control:focus, body.hp-control .modal-content .form-select:focus { border-color: #17745b !important; box-shadow: 0 0 0 .2rem rgba(23, 116, 91, .12); }
body.hp-control .modal .text-muted { color: #6c757d !important; }
body.hp-control .modal-content .modal-header .btn-close { background: transparent var(--bs-btn-close-bg) center / 1em auto no-repeat !important; filter: none !important; opacity: .75; }
.hp-control .hp-status-list { display: grid; gap: 12px; }
.hp-status-row { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 12px 0; border-bottom: 1px solid #edf1f4; }
.hp-status-row:last-child { border-bottom: 0; }
.hp-status-dot { width: 10px; height: 10px; border-radius: 50%; background: #e2a03f; }
.hp-status-dot.ok { background: #17745b; }
.hp-request-actions { display: flex; justify-content: flex-end; gap: 6px; }
.hp-request-actions button { min-width: 36px; }
.hp-status-pill { display: inline-flex; padding: 5px 9px; border-radius: 999px; font-size: 11px; font-weight: 800; }
.hp-status-pill.active, .hp-status-pill.approved { color: #12634d; background: #e5f6ef; }
.hp-status-pill.pending { color: #8a630e; background: #fff4d6; }
.hp-status-pill.suspended, .hp-status-pill.rejected { color: #9d3025; background: #fde9e6; }
.hp-product-thumb { width: 44px; height: 44px; margin-right: 10px; border-radius: 10px; object-fit: cover; background: #e8f6f0; }
.hp-product-cell { display: flex; align-items: center; min-width: 210px; }
.hp-product-photo-field { margin: 14px 0 16px; }
.hp-product-photo-picker { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 12px; align-items: center; padding: 12px; border: 1px solid #dce8e3; border-radius: 14px; background: #f8fcfa; }
.hp-product-photo-preview { display: grid; place-items: center; width: 92px; height: 92px; overflow: hidden; border-radius: 14px; color: #6d837b; background: #e8f6f0; font-size: 12px; font-weight: 800; text-align: center; }
.hp-product-photo-preview img { width: 100%; height: 100%; object-fit: cover; }
.hp-pos-lines { display: grid; gap: 10px; }
.hp-pos-line { display: grid; grid-template-columns: minmax(220px, 1fr) 110px 130px 40px; gap: 10px; align-items: end; padding: 12px; border-radius: 12px; background: #f6f8fa; }
.hp-pos-total { display: flex; align-items: center; justify-content: flex-end; gap: 20px; margin: 25px 0 15px; }
.hp-pos-total strong { color: #17745b; font-size: 28px; }
.hp-rule-card { margin-bottom: 10px; padding: 14px; border: 1px solid #e5ebef; border-radius: 12px; }
.hp-rule-card strong, .hp-rule-card span { display: block; }
.hp-rule-card span { color: #7a8796; font-size: 12px; }
.hp-control [data-request-filter] { max-width: 220px; }
.hp-control .table td { vertical-align: middle; }
body.dark .hp-control .hp-inline-form, body.dark .hp-pos-line { border-color: #33454b; background: #1b2e34; }
body.dark .hp-status-row, body.dark .hp-rule-card { border-color: #33454b; }
@media (max-width: 767px) {
    .hp-control .hp-sticky { position: static; }
    .hp-pos-line { grid-template-columns: 1fr 90px 40px; }
    .hp-pos-line [data-line-price] { display: none; }
}
@media (max-width: 575px) {
    .hp-product-photo-picker { grid-template-columns: 1fr; }
    .hp-product-photo-preview { width: 100%; height: 180px; }
}
