.ms-ie-overlay{
  position:fixed;
  inset:0;
  z-index:1800;
  display:grid;
  place-items:center;
  padding:24px;
  background:rgba(32,39,62,.26);
  backdrop-filter:blur(3px)
}
.ms-ie-modal{
  width:min(1060px,96vw);
  max-height:92vh;
  overflow:auto;
  border:1px solid #e1e4ed;
  border-radius:16px;
  background:#fff;
  box-shadow:0 25px 70px rgba(30,37,65,.19)
}
.ms-ie-header{
  min-height:72px;
  padding:16px 18px;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:20px;
  border-bottom:1px solid #eceef3
}
.ms-ie-header h2{
  margin:0;
  font-size:18px
}
.ms-ie-header p{
  margin:5px 0 0;
  color:#858ea0;
  font-size:10px
}
.ms-ie-close{
  width:34px;
  height:34px;
  border:1px solid #e4e7ee;
  border-radius:9px;
  background:#fff;
  color:#697287;
  font-size:18px
}
.ms-ie-tabs{
  padding:10px 16px 0;
  display:grid;
  grid-template-columns:1fr 1fr
}
.ms-ie-tab{
  height:39px;
  border:1px solid #e2e5ed;
  background:#f8f9fc;
  color:#687185;
  font-size:10.5px;
  font-weight:700
}
.ms-ie-tab:first-child{
  border-radius:9px 0 0 9px
}
.ms-ie-tab:last-child{
  border-radius:0 9px 9px 0
}
.ms-ie-tab.active{
  background:#fff;
  color:#5752d0;
  box-shadow:inset 0 -2px 0 #6861e5
}
.ms-ie-body{
  padding:16px
}
.ms-ie-section{
  padding:14px;
  border:1px solid #e6e9f0;
  border-radius:11px;
  background:#fff
}
.ms-ie-section+.ms-ie-section{
  margin-top:10px
}
.ms-ie-section-title{
  display:flex;
  align-items:center;
  gap:8px;
  margin-bottom:9px
}
.ms-ie-step{
  width:22px;
  height:22px;
  flex:0 0 22px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:#625ce1;
  color:#fff;
  font-size:9px;
  font-weight:800
}
.ms-ie-section-title strong{
  font-size:11px
}
.ms-ie-dropzone{
  min-height:125px;
  border:1px dashed #aaa6eb;
  border-radius:10px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:7px;
  background:#fbfaff;
  color:#737b90;
  text-align:center
}
.ms-ie-dropzone.is-dragover{
  background:#f1efff;
  border-color:#625ce1
}
.ms-ie-dropzone button,
.ms-ie-primary,
.ms-ie-secondary{
  height:37px;
  padding:0 13px;
  border-radius:9px;
  font-size:10px;
  font-weight:700
}
.ms-ie-dropzone button,
.ms-ie-primary{
  border:0;
  background:linear-gradient(135deg,#7067ec,#5856d7);
  color:#fff
}
.ms-ie-secondary{
  border:1px solid #dfe3eb;
  background:#fff;
  color:#535c70
}
.ms-ie-filemeta{
  color:#9aa2b1;
  font-size:9px
}
.ms-ie-grid2{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px
}
.ms-ie-field{
  display:flex;
  flex-direction:column;
  gap:5px
}
.ms-ie-field label{
  color:#697386;
  font-size:9px;
  font-weight:650
}
.ms-ie-field select,
.ms-ie-field input{
  min-height:37px;
  padding:0 9px;
  border:1px solid #dfe3eb;
  border-radius:8px;
  background:#fff;
  color:#444d61;
  font-size:9.5px
}
.ms-ie-multiselect{position:relative;border:1px solid #dfe3eb;border-radius:8px;background:#fff;font-size:9.5px}
.ms-ie-multiselect summary{min-height:35px;padding:0 9px;display:flex;align-items:center;cursor:pointer;color:#444d61}
.ms-ie-multiselect[open] summary{border-bottom:1px solid #edf0f4}
.ms-ie-multiselect>input{width:calc(100% - 12px);min-height:30px;margin:6px;padding:0 8px;border:1px solid #e1e4eb;border-radius:6px}
.ms-ie-multiselect>div{max-height:170px;overflow:auto;padding:3px 6px 7px}
.ms-ie-key-option{display:flex;align-items:center;gap:6px;padding:5px 3px;color:#50596d}
.ms-ie-key-option small{color:#8b93a3}
.ms-ie-normalizations{margin:0;padding:8px;border:1px solid #dfe3eb;border-radius:8px;display:flex;flex-wrap:wrap;gap:6px 12px;color:#5c667a;font-size:9px}
.ms-ie-normalizations legend{padding:0 4px;color:#697386;font-weight:650}
.ms-ie-import-summary,.ms-ie-protected-note{margin-top:10px;padding:9px 10px;border-radius:8px;background:#f7f7fc;color:#596277;font-size:9px;line-height:1.6}
.ms-ie-protected-note{border:1px solid #efc979;background:#fff9eb;color:#795c19}
.ms-ie-mapping{
  width:100%;
  border-collapse:collapse
}
.ms-ie-mapping th,
.ms-ie-mapping td{
  padding:7px 8px;
  border-bottom:1px solid #edf0f4;
  font-size:9px;
  text-align:left
}
.ms-ie-mapping th{
  color:#6c7589;
  background:#fafbfe
}
.ms-ie-mapping select{
  width:100%;
  height:32px;
  border:1px solid #dfe3eb;
  border-radius:7px;
  background:#fff;
  font-size:9px
}
.ms-ie-ok{
  color:#20a567;
  font-weight:800
}
.ms-ie-warn{
  color:#e59527;
  font-weight:800
}
.ms-ie-preview-wrap{
  overflow:auto;
  max-height:220px;
  border:1px solid #e9ebf1;
  border-radius:8px
}
.ms-ie-preview{
  width:max-content;
  min-width:100%;
  border-collapse:collapse
}
.ms-ie-preview th,
.ms-ie-preview td{
  padding:6px 8px;
  border-bottom:1px solid #edf0f4;
  font-size:8.5px;
  white-space:nowrap
}
.ms-ie-preview th{
  background:#f8f9fc;
  color:#667086
}
.ms-ie-checks{
  display:grid;
  gap:7px
}
.ms-ie-check{
  display:flex;
  align-items:center;
  gap:7px;
  color:#5c667a;
  font-size:9.5px
}
.ms-ie-footer{
  min-height:65px;
  padding:12px 16px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  border-top:1px solid #eceef3;
  background:#fbfcfe
}
.ms-ie-status{
  flex:1;
  color:#7f8899;
  font-size:9px
}
.ms-ie-status.error{
  color:#c74f59
}
.ms-ie-status.success{
  color:#21875a
}
.ms-ie-progress{
  height:14px;
  margin-top:6px;
  overflow:hidden;
  border-radius:99px;
  background:#edf0f5
}
.ms-ie-progress-detail{display:grid;grid-template-columns:auto auto;gap:3px 14px;margin-top:7px;font-size:11px;color:#626d80}.ms-ie-progress-detail strong{font-size:12px;color:#26334a}.ms-ie-progress-detail [data-ie-progress-counters]{grid-column:1/-1}
.ms-ie-progress>span{
  height:100%;
  display:block;
  width:0;
  background:linear-gradient(90deg,#7067ec,#51a1e9);
  transition:width .15s ease
}
.ms-ie-export-format{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:9px
}
.ms-ie-format{
  min-height:75px;
  padding:11px;
  border:1px solid #e2e5ed;
  border-radius:10px;
  background:#fff;
  text-align:left
}
.ms-ie-format.active{
  border-color:#8179e8;
  background:#f7f6ff;
  box-shadow:0 0 0 2px rgba(112,103,236,.07)
}
.ms-ie-format strong{
  display:block;
  color:#414a5f;
  font-size:10px
}
.ms-ie-format span{
  display:block;
  margin-top:4px;
  color:#9199aa;
  font-size:8.5px
}
.ms-ie-report{
  max-height:180px;
  overflow:auto;
  margin-top:10px;
  border:1px solid #e7eaf0;
  border-radius:8px
}
.ms-ie-report-row{
  padding:6px 8px;
  border-bottom:1px solid #edf0f4;
  display:flex;
  justify-content:space-between;
  gap:10px;
  font-size:8.5px
}
.ms-ie-report-row.error{
  color:#b64d57
}
.ms-ie-hidden{
  display:none!important
}
@media(max-width:760px){
  .ms-ie-grid2{grid-template-columns:1fr}
  .ms-ie-export-format{grid-template-columns:1fr}
  .ms-ie-overlay{padding:8px}
}

/* === V3-006A IMPORT READABILITY START === */

/* ----------------------------------------------------------
   MAIN MODAL
   ---------------------------------------------------------- */

.ms-ie-modal{
  width:min(1180px,97vw)
}

.ms-ie-header h2{
  font-size:22px
}

.ms-ie-header p{
  font-size:13px
}

.ms-ie-tab{
  font-size:14px
}


/* ----------------------------------------------------------
   SECTION HEADERS
   ---------------------------------------------------------- */

.ms-ie-step{
  width:27px;
  height:27px;
  flex-basis:27px;

  font-size:13px
}

.ms-ie-section-title{
  gap:10px
}

.ms-ie-section-title strong{
  font-size:15px
}


/* ----------------------------------------------------------
   FILE DROP AREA
   ---------------------------------------------------------- */

.ms-ie-dropzone{
  min-height:165px;

  gap:9px
}

.ms-ie-dropzone > strong{
  color:#555f76;

  font-size:20px;
  font-weight:800;

  line-height:1.2
}

.ms-ie-dropzone > .ms-ie-filemeta:not([data-ie-filename]){
  font-size:13px
}

.ms-ie-dropzone button{
  min-height:46px;

  padding:0 22px;

  font-size:15px;
  font-weight:800
}


/* Selected file is intentionally very prominent */

[data-ie-filename]{
  width:100%;

  margin-top:3px;

  display:flex;
  flex-direction:column;

  align-items:center;
  justify-content:center;

  gap:4px;

  color:#252d43;

  text-align:center
}

.ms-ie-selected-file{
  display:inline-flex;
  align-items:center;
  justify-content:center;

  gap:9px
}

.ms-ie-selected-file-name{
  max-width:720px;

  overflow:hidden;

  color:#172039;

  font-size:19px;
  font-weight:850;

  line-height:1.2;

  text-overflow:ellipsis;
  white-space:nowrap
}

.ms-ie-selected-file-check{
  width:25px;
  height:25px;

  flex:0 0 25px;

  display:inline-grid;
  place-items:center;

  border-radius:50%;

  background:#19ad69;

  color:#fff;

  font-size:16px;
  font-weight:900;

  box-shadow:
    0 3px 8px
    rgba(25,173,105,.18)
}

.ms-ie-selected-file-meta{
  color:#8993a8;

  font-size:13px;
  font-weight:650
}


/* ----------------------------------------------------------
   FORM FIELDS
   ---------------------------------------------------------- */

.ms-ie-field{
  gap:7px
}

.ms-ie-field label{
  font-size:13px;
  font-weight:720
}

.ms-ie-field select,
.ms-ie-field input{
  min-height:43px;

  padding:0 12px;

  font-size:13px
}


/* ----------------------------------------------------------
   MAPPING TABLE
   ---------------------------------------------------------- */

.ms-ie-mapping th{
  padding:10px 10px;

  color:#5d687f;

  font-size:13px;
  font-weight:800
}

.ms-ie-mapping td{
  padding:9px 10px;

  color:#30394e;

  font-size:13px;
  font-weight:560
}

.ms-ie-mapping select{
  height:40px;

  padding:0 10px;

  color:#252d40;

  font-size:13px;
  font-weight:620
}

.ms-ie-ok,
.ms-ie-warn{
  font-size:17px
}


/* ----------------------------------------------------------
   IMPORT OPTIONS / CHECKS
   ---------------------------------------------------------- */

.ms-ie-check{
  gap:9px;

  font-size:13px
}

.ms-ie-check input{
  width:17px;
  height:17px
}


/* ----------------------------------------------------------
   PREVIEW
   ---------------------------------------------------------- */

.ms-ie-preview th{
  padding:9px 10px;

  font-size:12.5px;
  font-weight:800
}

.ms-ie-preview td{
  padding:8px 10px;

  font-size:12.5px
}


/* ----------------------------------------------------------
   EXPORT
   ---------------------------------------------------------- */

.ms-ie-format strong{
  font-size:14px
}

.ms-ie-format span{
  font-size:12px
}


/* ----------------------------------------------------------
   REPORT / STATUS
   ---------------------------------------------------------- */

.ms-ie-report-row{
  padding:8px 10px;

  font-size:12px
}

.ms-ie-status{
  font-size:12px;
  font-weight:600
}

.ms-ie-primary,
.ms-ie-secondary{
  min-height:42px;

  padding:0 16px;

  font-size:13px
}


/* ----------------------------------------------------------
   MOBILE
   ---------------------------------------------------------- */

@media(max-width:760px){

  .ms-ie-selected-file-name{
    max-width:75vw;

    font-size:17px
  }

  .ms-ie-dropzone > strong{
    font-size:18px
  }

}

/* === V3-006A IMPORT READABILITY END === */

/* === V3-006B COMPACT MAPPING START === */

/*
 * Compact rows without reducing the typography
 * approved in V3-006A.
 */

.ms-ie-mapping th{
  height:34px;
  padding:5px 10px
}

.ms-ie-mapping td{
  height:42px;
  padding:3px 10px
}

.ms-ie-mapping select{
  height:34px;
  min-height:34px;
  padding-top:0;
  padding-bottom:0
}

.ms-ie-mapping tbody tr{
  height:42px
}

.ms-ie-mapping td:last-child{
  width:34px;
  padding-left:4px;
  padding-right:4px;
  text-align:center
}

/* === V3-006B COMPACT MAPPING END === */

/* Canonical Products workbook plan inside the existing Import/Export modal. */
.ms-ie-master-counts{display:flex;flex-wrap:wrap;gap:12px;margin:10px 0}
[data-ie-products-master-plan] details{margin:8px 0;border:1px solid var(--ms-border-color,#d0d5dd);border-radius:6px;padding:8px}
[data-ie-products-master-plan] summary{cursor:pointer;font-weight:600;overflow-wrap:anywhere}
.ms-ie-master-table{max-width:100%;overflow:auto;max-height:400px}
.ms-ie-master-table td{white-space:normal;min-width:70px;overflow-wrap:anywhere}


/* OMNIA_PRODUCTS_MASTER_PREVIEW_R2 */
.ms-pmr{display:grid;gap:16px;margin:16px 0;color:#19324f}
.ms-pmr-header{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}
.ms-pmr-header h3{font-size:21px;margin:0 0 5px;font-weight:750}
.ms-pmr-header p{margin:0;color:#64748b;font-size:13px}
.ms-pmr-warning{background:#fff1f0;color:#b42332;border-radius:20px;padding:7px 12px;font-size:12px;font-weight:700}
.ms-pmr-cards{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}
.ms-pmr-card{padding:15px;border:1px solid #dce5f1;background:#f6f9fd;border-radius:12px;display:grid;gap:7px}
.ms-pmr-card span{font-size:12px;color:#52647b;font-weight:600}
.ms-pmr-card strong{font-size:25px;line-height:1.1;font-variant-numeric:tabular-nums}
.ms-pmr-new strong{color:#087a54}
.ms-pmr-update strong{color:#3159c9}
.ms-pmr-conflict strong{color:#b42332}
.ms-pmr-policy{padding:10px 13px;border-radius:9px;background:#f3f6fc;color:#50627b;font-size:12px}
.ms-pmr h4{margin:0;font-size:15px}
.ms-pmr-families{display:grid;gap:7px}
.ms-pmr-family{border:1px solid #d9e3f0;border-radius:10px;background:#fff;overflow:hidden}
.ms-pmr-family>summary{list-style:none;display:flex;align-items:center;gap:12px;padding:13px 15px;cursor:pointer}
.ms-pmr-family>summary::-webkit-details-marker{display:none}
.ms-pmr-family[open]>summary{background:#f5f8fe;border-bottom:1px solid #d9e3f0}
.ms-pmr-family-name{font-weight:700;flex:1;min-width:110px}
.ms-pmr-family-stats{display:flex;flex-wrap:wrap;gap:12px;font-size:12px;color:#5b6c82}
.ms-pmr-family-stats .ms-pmr-conflict{color:#b42332;font-weight:700}
.ms-pmr-chevron{font-size:20px;color:#71819a}
.ms-pmr-family[open] .ms-pmr-chevron{transform:rotate(180deg)}
.ms-pmr-detail{padding:12px}
.ms-pmr-detail-tools{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:12px}
.ms-pmr-detail-tools label{display:grid;gap:4px;font-size:12px;font-weight:650;flex:1;min-width:160px}
.ms-pmr-detail-tools input,.ms-pmr-detail-tools select{min-height:36px;border:1px solid #cbd7e6;border-radius:7px;padding:7px;background:#fff;max-width:100%}
.ms-pmr-table-scroll{overflow:auto;max-height:390px}
.ms-pmr-table{width:100%;min-width:720px}
.ms-pmr-table td{white-space:normal;overflow-wrap:anywhere}
.ms-pmr-table tr[hidden]{display:none}
.ms-pmr-status{font-weight:700;font-size:11px}
.ms-pmr-change{display:grid;gap:2px;margin-bottom:6px;font-size:12px}
.ms-pmr-change span{overflow-wrap:anywhere}
@media(max-width:850px){
 .ms-pmr-cards{grid-template-columns:repeat(3,minmax(0,1fr))}
 .ms-pmr-family>summary{flex-wrap:wrap}
}
@media(max-width:520px){
 .ms-pmr-cards{grid-template-columns:repeat(2,minmax(0,1fr))}
 .ms-pmr-header h3{font-size:18px}
 .ms-pmr-family-stats{width:100%;order:3}
 .ms-pmr-card strong{font-size:22px}
}
