/* Visual-only catalogue and request modal skin.
 * Existing forms, button ids, classes, callbacks, security and API untouched.
 * Scoped to normal Hits Request: Alexandra's alternate search mode stays unchanged. */
body:has(.rpm-request-catalog-view:not([hidden])) {
  color:#191830 !important;
  background:linear-gradient(165deg,#fffafd 0%,#fff5fb 100%) !important;
  font-family:Inter,Arial,sans-serif !important;
  padding:17px !important;
}
.rpm-request-catalog-view .search-align-right {margin-bottom:15px !important;}
.rpm-request-catalog-view #search-form {max-width:none !important;}
.rpm-request-catalog-view .search-tabs {gap:8px !important;margin-bottom:13px !important;}
.rpm-request-catalog-view .search-tabs .tab {
  flex:1 1 0;
  color:#51455d !important;background:#fff2f9 !important;
  border:1px solid #f5d6e7 !important;border-radius:11px !important;
  min-height:42px !important;font-weight:750 !important;
}
.rpm-request-catalog-view .search-tabs .tab:hover {
  color:#dc006d !important;border-color:#ec89ba !important;
  background:#ffe4f1 !important;
}
.rpm-request-catalog-view .search-tabs .tab.active {
  color:#fff !important;border-color:#e90079 !important;
  background:linear-gradient(120deg,#ff168d,#d60071) !important;
  box-shadow:0 8px 20px rgba(228,9,119,.17) !important;
}
.rpm-request-catalog-view .search-form-box {
  border:1px solid #f6d5e7 !important;border-radius:15px !important;
  background:#fff !important;padding:10px !important;
  box-shadow:0 7px 19px rgba(179,44,111,.07) !important;
}
.rpm-request-catalog-view #search-input {
  color:#222039 !important;background:#fffbfe !important;
  border:1px solid #e7d7e4 !important;border-radius:11px !important;
}
.rpm-request-catalog-view #search-input::placeholder {color:#88839a !important;}
.rpm-request-catalog-view #search-input:focus {
  border-color:#ed3b94 !important;background:#fff !important;
  box-shadow:0 0 0 3px rgba(238,26,130,.10) !important;
}
.rpm-request-catalog-view .search-form-box button[type="submit"],
.rpm-request-catalog-view .request-btn:not(:disabled) {
  color:#fff !important;border-color:#e60077 !important;
  background:linear-gradient(130deg,#ff188a,#d50074) !important;
  box-shadow:0 6px 18px rgba(235,0,122,.14) !important;
}
.rpm-request-catalog-view .suggestions {
  background:#fff !important;border-color:#f1b8d5 !important;
  color:#27223a !important;box-shadow:0 16px 30px rgba(156,30,93,.12) !important;
}
.rpm-request-catalog-view .suggestions div {
  background:#fff !important;color:#302a45 !important;border-color:#f6e5ee !important;
}
.rpm-request-catalog-view .suggestions div:hover {
  background:#ffeff8 !important;color:#c50067 !important;
}
.rpm-request-catalog-view .rpm-alexandra-catalog-switch a {
  color:#db006e !important;text-decoration-color:#e98bbb !important;
  font-weight:700;
}
.rpm-request-catalog-view .table-wrapper {max-width:none !important;}
.rpm-request-catalog-view table {border-spacing:0 8px !important;}
.rpm-request-catalog-view table th {
  color:#716b84 !important;background:transparent !important;
  border:0 !important;letter-spacing:.10em !important;
}
.rpm-request-catalog-view table tr:not(:first-child),
.rpm-request-catalog-view table tr:not(:first-child):hover {
  background:#fff !important;
  box-shadow:0 4px 12px rgba(162,37,96,.055) !important;
}
.rpm-request-catalog-view table tr:not(:first-child):hover {
  background:#fff0f8 !important;
  box-shadow:0 8px 17px rgba(162,37,96,.1) !important;
}
.rpm-request-catalog-view table td {
  border-top:1px solid #f4dfeb !important;
  border-bottom:1px solid #f4dfeb !important;
  background:transparent !important;
  color:#343047 !important;
  font-size:13px !important;
}
.rpm-request-catalog-view table td:first-child {
  border-left:1px solid #f4dfeb !important;color:#19172f !important;
}
.rpm-request-catalog-view table td:nth-child(2) {color:#55506b !important;}
.rpm-request-catalog-view table td:last-child {border-right:1px solid #f4dfeb !important;}
.rpm-request-catalog-view .label-new-vert {
  color:#c00069 !important;border-color:#f2bbd5 !important;
  background:#fff0f8 !important;
}
.rpm-request-catalog-view .request-btn:disabled {
  background:#f6edf3 !important;border-color:#e9dbe4 !important;
  color:#898092 !important;box-shadow:none !important;
}
.rpm-request-catalog-view .pagination a {
  color:#a40062 !important;background:#fff !important;
  border:1px solid #f1c8dc !important;
}
.rpm-request-catalog-view .pagination a:hover,
.rpm-request-catalog-view .pagination a.active {
  color:#fff !important;background:#e60079 !important;
  border-color:#e60079 !important;
}

/* Modal: skin only; never change modal display, position, form or submit. */
body:has(.rpm-request-catalog-view:not([hidden])) .modal-bg {
  background:rgba(25,12,31,.57) !important;
}
body:has(.rpm-request-catalog-view:not([hidden])) .modal {
  color:#19172e !important;background:linear-gradient(160deg,#fff,#fff4fa) !important;
  border:1px solid #f3bfda !important;border-radius:22px !important;
  box-shadow:0 28px 72px rgba(69,16,52,.30) !important;
}
body:has(.rpm-request-catalog-view:not([hidden])) .modal h3 {
  color:#14142e !important;font-weight:850 !important;
}
body:has(.rpm-request-catalog-view:not([hidden])) .close-btn {
  color:#645b72 !important;background:#fff2f9 !important;
  border-color:#f4cce1 !important;
}
body:has(.rpm-request-catalog-view:not([hidden])) .close-btn:hover {
  color:#d70072 !important;background:#ffe4f2 !important;
}
body:has(.rpm-request-catalog-view:not([hidden])) .cc_request_form label {
  color:#343046 !important;
}
body:has(.rpm-request-catalog-view:not([hidden])) .modal .form-control {
  background:#fff !important;color:#272239 !important;
  border:1px solid #e7d9e7 !important;
}
body:has(.rpm-request-catalog-view:not([hidden])) .modal input[readonly] {
  color:#413951 !important;
}
body:has(.rpm-request-catalog-view:not([hidden])) .cc_request_form [data-type="result"] {
  color:#a90059 !important;
}
body:has(.rpm-request-catalog-view:not([hidden])) .rpm-mg-owner-test {
  color:#252035;
}
body:has(.rpm-request-catalog-view:not([hidden])) .rpm-mg-mode {
  border-color:#f0cce0;background:#fff9fd;color:#352a43;
}
body:has(.rpm-request-catalog-view:not([hidden])) .rpm-mg-mode.is-active {
  color:#d30074;background:#fff0f8;border-color:#eb4d9a;
}
@media(max-width:680px) {
  body:has(.rpm-request-catalog-view:not([hidden])) {padding:10px !important;}
  .rpm-request-catalog-view .search-tabs {flex-wrap:wrap;}
  .rpm-request-catalog-view .search-tabs .tab {
    min-width:0;min-height:40px !important;
    font-size:11px !important;padding:7px 4px !important;
  }
  .rpm-request-catalog-view .search-form-box {padding:7px !important;}
  .rpm-request-catalog-view #search-input {font-size:13px !important;}
  .rpm-request-catalog-view table td {padding:10px 7px !important;font-size:11px !important;}
  .rpm-request-catalog-view table th {padding:0 6px 6px !important;font-size:9px !important;}
}
