.vendor-matching-info-active .content {
  padding: 18px 22px 24px;
}

.vendor-matching-info-module {
  width: 100%;
}

.vendor-matching-info-page {
  display: grid;
  gap: 14px;
  color: #0c315d;
}

.vendor-matching-hero {
  display: grid;
  grid-template-columns: minmax(300px, .72fr) minmax(650px, 1.28fr);
  align-items: end;
  gap: 24px;
  min-height: 126px;
  padding: 22px 26px;
  overflow: hidden;
  border-radius: 12px;
  background: linear-gradient(118deg, #0b3a70 0%, #0d528e 58%, #1376ad 100%);
  box-shadow: 0 10px 24px rgba(14, 52, 91, .14);
  color: #fff;
}

.vendor-matching-hero > div:first-child > span,
.vendor-matching-list > header span {
  display: block;
  margin-bottom: 7px;
  color: #82c9f4;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
}

.vendor-matching-hero h2 {
  margin: 0 0 7px;
  font-size: 25px;
  line-height: 1.15;
}

.vendor-matching-hero p,
.vendor-matching-list > header p {
  margin: 0;
  color: rgba(235, 247, 255, .86);
  font-size: 13px;
  line-height: 1.5;
}

.vendor-matching-filters {
  display: grid;
  grid-template-columns: minmax(190px, 1fr) minmax(160px, .75fr) minmax(210px, 1fr) 78px;
  align-items: end;
  gap: 10px;
}

.vendor-matching-filters label {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.vendor-matching-filters label > span {
  color: #d9efff;
  font-size: 11px;
  font-weight: 800;
}

.vendor-matching-filters select,
.vendor-matching-filters input {
  width: 100%;
  height: 42px;
  min-width: 0;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, .38);
  border-radius: 8px;
  outline: none;
  background: #fff;
  color: #0b345f;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
}

.vendor-matching-filters select:focus,
.vendor-matching-filters input:focus {
  border-color: #81d5ff;
  box-shadow: 0 0 0 3px rgba(69, 184, 240, .18);
}

.vendor-matching-filters .primary-action {
  height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, .3);
  background: #062d59;
  white-space: nowrap;
}

.vendor-matching-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.vendor-matching-stats article {
  position: relative;
  min-height: 88px;
  padding: 14px 18px 13px 21px;
  overflow: hidden;
  border: 1px solid #d9e5f1;
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 5px 15px rgba(23, 61, 99, .06);
}

.vendor-matching-stats article::before {
  position: absolute;
  inset: 13px auto 13px 8px;
  width: 5px;
  border-radius: 999px;
  background: #287bc1;
  content: "";
}

.vendor-matching-stats article.is-green::before { background: #16a077; }
.vendor-matching-stats article.is-violet::before { background: #7958cb; }
.vendor-matching-stats article.is-amber::before { background: #e99b26; }

.vendor-matching-stats span,
.vendor-matching-stats small {
  display: block;
  overflow: hidden;
  color: #68809a;
  font-size: 11px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vendor-matching-stats strong {
  display: block;
  margin: 3px 0 2px;
  overflow: hidden;
  color: #07386c;
  font-size: 20px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vendor-matching-list {
  overflow: hidden;
  border: 1px solid #d7e4f0;
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(22, 59, 96, .06);
}

.vendor-matching-list > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 76px;
  padding: 14px 20px;
  border-bottom: 1px solid #dce7f1;
  background: #fff;
}

.vendor-matching-list > header span {
  margin-bottom: 3px;
  color: #2c82bd;
}

.vendor-matching-list > header h3 {
  margin: 0 0 3px;
  color: #0a386a;
  font-size: 17px;
}

.vendor-matching-list > header h3 small {
  margin-left: 5px;
  color: #637d97;
  font-size: 12px;
  font-weight: 700;
}

.vendor-matching-list > header p {
  color: #70869c;
  font-size: 12px;
}

.vendor-matching-list > header > strong {
  flex: 0 0 auto;
  padding: 7px 12px;
  border-radius: 999px;
  background: #eef6ff;
  color: #0c65a6;
  font-size: 13px;
}

.vendor-matching-list-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.vendor-matching-list-actions > button {
  min-height: 36px;
  padding: 7px 12px;
  white-space: nowrap;
}

.vendor-matching-list-actions > button b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 19px;
  height: 19px;
  margin-left: 6px;
  padding: 0 5px;
  border-radius: 999px;
  background: #e6f1fb;
  color: #17639c;
  font-size: 10px;
}

.vendor-matching-list-actions > strong {
  flex: 0 0 auto;
  padding: 7px 12px;
  border-radius: 999px;
  background: #eef6ff;
  color: #0c65a6;
  font-size: 13px;
}

.vendor-matching-empty-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  padding: 0 11px;
  border: 1px solid #cad9e8;
  border-radius: 6px;
  background: #fff;
  color: #3f5d79;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.vendor-matching-empty-toggle input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: #0b63a4;
}

.vendor-matching-table-wrap {
  max-width: 100%;
  min-height: 280px;
  overflow: auto;
  background: #fff;
  scrollbar-color: #9fb2c6 #eef3f8;
}

.vendor-matching-table {
  isolation: isolate;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  color: #13395e;
  font-size: 12px;
}

.vendor-matching-table th,
.vendor-matching-table td {
  height: 48px;
  padding: 8px 10px;
  overflow: hidden;
  border-right: 1px solid #d7e3ef;
  border-bottom: 1px solid #d7e3ef;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vendor-matching-table thead th {
  position: sticky;
  z-index: 6;
  top: 0;
  height: 56px;
  padding: 7px 8px;
  border-color: #32689c;
  background: #0b477f;
  color: #fff;
  font-weight: 800;
}

.vendor-matching-table thead th small,
.vendor-matching-table thead th span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vendor-matching-table thead th small {
  margin-bottom: 3px;
  color: #9ed7fb;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .07em;
}

.vendor-matching-table thead th span {
  font-size: 11px;
}

.vendor-matching-table th.is-certificate {
  background: #725216;
}

.vendor-matching-table th.is-certificate small {
  color: #ffe09a;
}

.vendor-matching-table tbody tr:nth-child(even) td {
  background: #f8fbfe;
}

.vendor-matching-table tbody tr:hover td {
  background: #edf7ff;
}

.vendor-matching-table td.is-primary-sn strong,
.vendor-matching-table td.is-certificate {
  color: #0569a9;
  font-weight: 800;
}

.vendor-matching-table td.is-certificate {
  background: #fffaf0;
}

.vendor-matching-table tbody tr:nth-child(even) td.is-certificate {
  background: #fff7e7;
}

.vendor-matching-table .is-empty {
  color: #aebdca;
}

.vendor-matching-table .is-sticky-no {
  position: sticky !important;
  z-index: 4;
  left: 0;
  background-clip: padding-box;
  box-shadow: inset -1px 0 #d7e3ef;
}

.vendor-matching-table .is-sticky-sn {
  position: sticky !important;
  z-index: 4;
  left: var(--vendor-matching-sn-left, 56px);
  background-clip: padding-box;
  box-shadow: 4px 0 8px rgba(15, 51, 85, .12), inset -1px 0 #d7e3ef;
}

.vendor-matching-table thead .is-sticky-no,
.vendor-matching-table thead .is-sticky-sn {
  z-index: 10;
  background: #073765;
}

.vendor-matching-table tbody .is-sticky-no,
.vendor-matching-table tbody .is-sticky-sn {
  background: #fff;
}

.vendor-matching-table tbody tr:nth-child(even) .is-sticky-no,
.vendor-matching-table tbody tr:nth-child(even) .is-sticky-sn {
  background: #f8fbfe;
}

.vendor-matching-table tbody tr:hover .is-sticky-no,
.vendor-matching-table tbody tr:hover .is-sticky-sn {
  background: #edf7ff;
}

.vendor-matching-empty-cell {
  height: 160px !important;
  color: #758ba1;
}

.vendor-matching-empty,
.vendor-matching-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 360px;
  padding: 40px;
  border: 1px solid #d7e4f0;
  border-radius: 11px;
  background: #fff;
  color: #6f8498;
  text-align: center;
}

.vendor-matching-empty > span {
  color: #2c82bd;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .15em;
}

.vendor-matching-empty h3 {
  margin: 0;
  color: #123e69;
}

.vendor-matching-empty p {
  margin: 0;
}

.vendor-matching-empty.is-inside {
  min-height: 250px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.vendor-matching-dialog {
  width: min(920px, calc(100vw - 32px));
  max-width: 920px;
  max-height: calc(100vh - 40px);
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 12px;
  box-shadow: 0 24px 70px rgba(8, 38, 70, .28);
}

.vendor-matching-dialog::backdrop {
  background: rgba(8, 29, 52, .56);
  backdrop-filter: blur(2px);
}

.vendor-matching-dialog > form {
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 40px);
  overflow: hidden;
  background: #fff;
}

.vendor-matching-dialog > form > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 19px 22px 17px;
  border-bottom: 1px solid #dbe6f0;
  background: linear-gradient(120deg, #f8fbff, #edf6ff);
}

.vendor-matching-dialog > form > header span {
  color: #2478b4;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .14em;
}

.vendor-matching-dialog > form > header h3 {
  margin: 4px 0;
  color: #0d3a68;
  font-size: 20px;
}

.vendor-matching-dialog > form > header p {
  margin: 0;
  color: #6a8095;
  font-size: 12px;
}

.vendor-matching-dialog > form > header > button {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid #cbd9e7;
  border-radius: 50%;
  background: #fff;
  color: #2b5277;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.vendor-matching-dialog > form > footer {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding: 13px 20px 16px;
  border-top: 1px solid #e0e8f0;
  background: #fff;
}

.vendor-matching-dialog > form > footer button {
  min-width: 104px;
  min-height: 39px;
}

.vendor-matching-column-dialog {
  width: min(760px, calc(100vw - 32px));
}

.vendor-matching-column-tools {
  display: flex;
  gap: 7px;
  padding: 12px 18px 8px;
}

.vendor-matching-column-tools button {
  min-height: 34px;
  padding: 6px 11px;
}

.vendor-matching-column-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  min-height: 180px;
  max-height: min(470px, calc(100vh - 240px));
  padding: 8px 18px 18px;
  overflow: auto;
}

.vendor-matching-column-list label {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  padding: 9px 10px;
  border: 1px solid #dbe5ef;
  border-radius: 7px;
  background: #fbfdff;
  cursor: pointer;
}

.vendor-matching-column-list input {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: #1269a8;
}

.vendor-matching-column-list label > span {
  display: grid;
  min-width: 0;
  color: #173e65;
  font-size: 12px;
  font-weight: 800;
}

.vendor-matching-column-list small {
  overflow: hidden;
  margin-top: 2px;
  color: #8293a5;
  font-size: 9px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vendor-matching-import-meta,
.vendor-matching-delete-target {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 15px 20px 0;
}

.vendor-matching-import-meta > div,
.vendor-matching-delete-target > div {
  display: grid;
  gap: 3px;
  padding: 11px 13px;
  border: 1px solid #dbe6f0;
  border-radius: 8px;
  background: #f8fbfe;
}

.vendor-matching-import-meta span,
.vendor-matching-delete-target span {
  color: #71849a;
  font-size: 10px;
  font-weight: 800;
}

.vendor-matching-import-meta strong,
.vendor-matching-delete-target strong {
  overflow: hidden;
  color: #123e69;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vendor-matching-import-meta small {
  color: #7f91a3;
  font-size: 10px;
}

.vendor-matching-import-form {
  display: grid;
  grid-template-columns: 1fr 155px 1.35fr 92px;
  align-items: end;
  gap: 10px;
  padding: 15px 20px 12px;
}

.vendor-matching-import-form label,
.vendor-matching-delete-form label {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.vendor-matching-import-form label > span,
.vendor-matching-delete-form label > span {
  color: #4a637c;
  font-size: 11px;
  font-weight: 800;
}

.vendor-matching-import-form input,
.vendor-matching-delete-form input,
.vendor-matching-delete-form textarea {
  width: 100%;
  min-width: 0;
  min-height: 39px;
  padding: 8px 10px;
  border: 1px solid #cbd9e6;
  border-radius: 6px;
  background: #fff;
  color: #153a5e;
  font: inherit;
  font-size: 12px;
}

.vendor-matching-import-form button {
  min-height: 39px;
  padding: 7px 10px;
}

.vendor-matching-preview {
  min-height: 145px;
  max-height: min(350px, calc(100vh - 420px));
  margin: 0 20px;
  padding: 13px;
  overflow: auto;
  border: 1px solid #d7e3ee;
  border-radius: 8px;
  background: #f8fbfe;
}

.vendor-matching-preview > p:first-child {
  margin: 43px 0;
  color: #72869a;
  font-size: 12px;
  text-align: center;
}

.vendor-matching-preview-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.vendor-matching-preview-summary > div {
  display: grid;
  gap: 2px;
  padding: 10px;
  border: 1px solid #cfe0ee;
  border-radius: 7px;
  background: #fff;
}

.vendor-matching-preview-summary span { color: #70859a; font-size: 10px; font-weight: 800; }
.vendor-matching-preview-summary strong { color: #0e4f82; font-size: 16px; }
.vendor-matching-preview-summary.has-error strong { color: #bd3434; }

.vendor-matching-preview-error {
  margin: 10px 0 0 !important;
  padding: 9px 10px;
  border-radius: 6px;
  background: #fff0f0;
  color: #b62f2f !important;
  text-align: left !important;
}

.vendor-matching-preview-note {
  margin: 9px 0 0;
  color: #7a6a34;
  font-size: 11px;
}

.vendor-matching-duplicate-dialog {
  width: min(1080px, calc(100vw - 32px));
  max-width: 1080px;
}

.vendor-matching-duplicate-body {
  display: grid;
  gap: 12px;
  min-height: 230px;
  padding: 16px 20px;
  overflow: hidden;
}

.vendor-matching-duplicate-alert {
  display: grid;
  gap: 4px;
  padding: 11px 13px;
  border: 1px solid #f0c9c9;
  border-radius: 8px;
  background: #fff4f4;
}

.vendor-matching-duplicate-alert strong {
  color: #ae2828;
  font-size: 14px;
}

.vendor-matching-duplicate-alert span,
.vendor-matching-duplicate-more {
  color: #7c4e4e;
  font-size: 11px;
}

.vendor-matching-duplicate-table-wrap {
  max-height: min(470px, calc(100vh - 310px));
  overflow: auto;
  border: 1px solid #d7e3ee;
  border-radius: 8px;
}

.vendor-matching-duplicate-table-wrap table {
  width: 100%;
  min-width: 850px;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
}

.vendor-matching-duplicate-table-wrap th {
  position: sticky;
  top: 0;
  z-index: 1;
  padding: 10px 9px;
  border-right: 1px solid rgba(255, 255, 255, .22);
  background: #0c4f84;
  color: #fff;
  font-size: 11px;
  text-align: center;
}

.vendor-matching-duplicate-table-wrap th:nth-child(1) { width: 100px; }
.vendor-matching-duplicate-table-wrap th:nth-child(2) { width: 150px; }
.vendor-matching-duplicate-table-wrap th:nth-child(3) { width: 220px; }
.vendor-matching-duplicate-table-wrap th:nth-child(4) { width: 110px; }

.vendor-matching-duplicate-table-wrap td {
  padding: 10px 9px;
  border-right: 1px solid #dbe5ee;
  border-bottom: 1px solid #dbe5ee;
  color: #254866;
  font-size: 11px;
  text-align: center;
  overflow-wrap: anywhere;
}

.vendor-matching-duplicate-table-wrap td.is-value {
  color: #9e2929;
  font-weight: 800;
}

.vendor-matching-duplicate-table-wrap td small {
  display: block;
  margin-top: 3px;
  color: #7f91a4;
}

.vendor-matching-duplicate-scope {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 68px;
  min-height: 24px;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 900;
}

.vendor-matching-duplicate-scope.is-file {
  background: #fff0df;
  color: #aa5a09;
}

.vendor-matching-duplicate-scope.is-lot {
  background: #f0eaff;
  color: #6441ad;
}

.vendor-matching-duplicate-more {
  margin: 0;
  text-align: right;
}

.vendor-matching-preview-fields {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 10px;
}

.vendor-matching-preview-fields span {
  display: inline-flex;
  gap: 5px;
  padding: 5px 7px;
  border-radius: 5px;
  background: #e9f3fb;
  color: #215d8b;
  font-size: 10px;
  font-weight: 800;
}

.vendor-matching-preview-fields small { color: #7692a8; font-size: 9px; }
.vendor-matching-preview-sample { margin: 10px 0 0; color: #506a82; font-size: 11px; }
.vendor-matching-preview-sample strong { margin-right: 5px; color: #173f66; }

.vendor-matching-skip {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 10px 20px 13px;
  color: #4b637a;
  font-size: 11px;
  font-weight: 800;
}

.vendor-matching-skip input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: #1169a8;
}

.vendor-matching-import-modes {
  display: flex; gap: 6px; margin: 14px 20px 0; padding: 4px;
  border: 1px solid #cfdeed; border-radius: 10px; background: #edf4fa;
}
.vendor-matching-import-modes button {
  flex: 1; min-height: 40px; padding: 8px 12px; border: 0; border-radius: 7px;
  font: inherit; font-size: 13px; font-weight: 700; color: #42617d; background: transparent; cursor: pointer; word-break: keep-all;
}
.vendor-matching-import-modes button[aria-current="page"] { background: #123e68; color: #fff; }
.vendor-matching-import-modes button:disabled { opacity: .4; cursor: default; }
.vendor-matching-fill-file { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: end; gap: 10px; padding: 0 20px 14px; }
.vendor-matching-fill-file label { display: grid; gap: 6px; min-width: 0; color: #42617d; font-size: 12px; font-weight: 700; }
.vendor-matching-fill-file input { width: 100%; min-width: 0; padding: 8px; border: 1px solid #cfdeed; border-radius: 7px; }
.vendor-matching-fill-help { color: #496580; font-size: 12px; line-height: 1.6; }
.vendor-matching-fill-table-wrap { max-height: 330px; overflow: auto; border: 1px solid #d9e5f0; border-radius: 8px; }
.vendor-matching-fill-table { width: 100%; min-width: 730px; table-layout: fixed; border-collapse: separate; border-spacing: 0; font-size: 12px; text-align: center; }
.vendor-matching-fill-table th { position: sticky; top: 0; z-index: 1; padding: 10px 8px; color: #fff; background: #173f68; }
.vendor-matching-fill-table td { padding: 9px 8px; border-bottom: 1px solid #e0e9f2; overflow-wrap: anywhere; white-space: normal; }
.vendor-matching-fill-table .is-blank { color: #8494a4; }
.vendor-matching-fill-table .is-fill { color: #156448; background: #eff9f3; }
.vendor-matching-fill-pagination { display: flex; align-items: center; gap: 9px; padding-top: 10px; font-size: 12px; }
.vendor-matching-fill-pagination > span:first-child { margin-right: auto; }
.vendor-matching-fill-pagination button { padding: 5px 12px; min-height: 32px; border: 1px solid #d3e0ed; border-radius: 6px; background: #fff; color: #1e4a71; cursor: pointer; }
.vendor-matching-fill-unmatched { margin-top: 12px; font-size: 12px; color: #896325; }
.vendor-matching-fill-unmatched summary { cursor: pointer; }
.vendor-matching-fill-unmatched > div { display: grid; gap: 5px; max-height: 160px; overflow: auto; padding: 10px; }
.vendor-matching-fill-empty { padding: 20px 0; color: #59748c; text-align: center; }
.vendor-matching-change-options { display: grid; gap: 12px; padding: 0 20px 16px; }
.vendor-matching-change-options fieldset { min-width: 0; margin: 0; padding: 10px 12px; border: 1px solid #cbdcec; border-radius: 9px; }
.vendor-matching-change-options legend { padding: 0 5px; color: #173f68; font-size: 13px; font-weight: 700; }
.vendor-matching-change-options legend small { font-size: 11px; font-weight: 400; }
.vendor-matching-change-fields { display: grid; grid-template-columns: repeat(auto-fit,minmax(145px,1fr)); gap: 7px 12px; max-height: 115px; overflow: auto; }
.vendor-matching-change-fields label { display: flex; align-items: center; gap: 7px; color: #294e70; font-size: 12px; cursor: pointer; min-width: 0; }
.vendor-matching-change-fields input { flex: 0 0 auto; width: 16px; height: 16px; margin: 0; accent-color: #1265a3; }
.vendor-matching-change-reason { display: grid; gap: 6px; color: #294e70; font-size: 12px; font-weight: 700; }
.vendor-matching-change-reason input { width: 100%; min-width: 0; min-height: 38px; padding: 8px 10px; border: 1px solid #cbdcec; border-radius: 7px; }
.vendor-matching-fill-table .is-before { color: #785647; background: #fff5ee; }

.vendor-matching-delete-dialog {
  width: min(680px, calc(100vw - 32px));
}

.vendor-matching-delete-target {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.vendor-matching-delete-form {
  display: grid;
  gap: 12px;
  padding: 15px 20px 18px;
}

.vendor-matching-delete-form textarea {
  min-height: 82px;
  resize: vertical;
}

.vendor-matching-delete-form small {
  color: #7d8c9c;
  font-size: 10px;
}

.vendor-matching-delete-form small b {
  color: #bd3434;
}

.vendor-matching-loading {
  gap: 13px;
}

.vendor-matching-loading span {
  width: 30px;
  height: 30px;
  border: 3px solid #d8e8f5;
  border-top-color: #0b6cae;
  border-radius: 50%;
  animation: vendor-matching-spin .8s linear infinite;
}

@keyframes vendor-matching-spin { to { transform: rotate(360deg); } }

@media (max-width: 1280px) {
  .vendor-matching-hero { grid-template-columns: 1fr; align-items: stretch; }
  .vendor-matching-filters { grid-template-columns: 1fr 1fr 1fr 78px; }
  .vendor-matching-list > header { align-items: flex-start; }
  .vendor-matching-list-actions { flex-wrap: wrap; }
}

@media (max-width: 900px) {
  .vendor-matching-info-active .content { padding: 12px; }
  .vendor-matching-hero { padding: 18px; }
  .vendor-matching-filters { grid-template-columns: 1fr 1fr; }
  .vendor-matching-filters .is-search { grid-column: 1 / -1; }
  .vendor-matching-filters .primary-action { grid-column: 1 / -1; }
  .vendor-matching-stats { grid-template-columns: 1fr 1fr; }
  .vendor-matching-list > header { align-items: stretch; flex-direction: column; }
  .vendor-matching-list-actions { width: 100%; justify-content: flex-start; }
  .vendor-matching-list-actions > strong { margin-left: auto; }
  .vendor-matching-column-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vendor-matching-import-form { grid-template-columns: 1fr 1fr; }
  .vendor-matching-import-form .is-file { grid-column: 1 / 2; }
  .vendor-matching-delete-target { grid-template-columns: 1fr; }
  .vendor-matching-dialog > form { overflow: auto; }
  .vendor-matching-preview { max-height: none; }
}

@media (max-width: 560px) {
  .vendor-matching-list-actions > button,
  .vendor-matching-empty-toggle { flex: 1 1 calc(50% - 6px); justify-content: center; }
  .vendor-matching-list-actions > strong { margin-left: 0; }
  .vendor-matching-column-list { grid-template-columns: 1fr; }
  .vendor-matching-import-meta,
  .vendor-matching-import-form,
  .vendor-matching-preview-summary { grid-template-columns: 1fr; }
  .vendor-matching-fill-dialog .vendor-matching-preview-summary { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .vendor-matching-import-form .is-file { grid-column: auto; }
  .vendor-matching-dialog > form > footer button { flex: 1 1 0; min-width: 0; }
}
