.whxe-card { --whxe-primary: #2563eb; padding: 24px; margin: 0 0 16px; border: 1px solid #ececee; border-radius: 16px; background: #fff; color: #18181b; }
.whxe-head, .whxe-dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.whxe-head h3, .whxe-dialog-head h3 { margin: 4px 0 8px; color: #18181b; font-size: 24px; font-weight: 700; letter-spacing: -.5px; }
.whxe-eyebrow { color: #64748b; font-size: 10px; letter-spacing: 1.4px; font-weight: 700; }
.whxe-source { color: #667982; font-size: 12px; overflow-wrap: anywhere; }
.whxe-toolbar { display: flex; gap: 8px; flex-wrap: wrap; }
.whxe-import { background: #2563eb !important; border-color: #2563eb !important; color: #fff !important; font-weight: 700; }
.whxe-import:hover { background: #1d4ed8 !important; }
.whxe-import:disabled { opacity: .45; cursor: not-allowed; }
.whxe-stats { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); margin: 24px 0 20px; border: 1px solid #dce3e8; border-radius: 8px; overflow: hidden; }
.whxe-stats > div { display: flex; flex-direction: column; gap: 4px; padding: 15px 20px; border-right: 1px solid #dce3e8; background: #f7f9f8; }
.whxe-stats > div:last-child { border: 0; }
.whxe-stats strong { font-size: 25px; font-weight: 650; line-height: 1.2; font-variant-numeric: tabular-nums; }
.whxe-stats span { color: #60727a; font-size: 12px; }
.whxe-stats .whxe-stat-missing { background: #fff2f0; color: #a92626; }
.whxe-stat-missing span { color: #a92626; }
.whxe-filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.whxe-filters input, .whxe-filters select { min-height: 38px; padding: 8px 11px; border: 1px solid #cbd5d9; border-radius: 6px; background: #fff; color: #263b43; font: inherit; font-size: 13px; }
.whxe-filters input { flex: 1; min-width: 180px; max-width: 380px; }
.whxe-card :focus-visible, .whxe-dialog :focus-visible { outline: 2px solid #2563eb; outline-offset: 3px; }
.whxe-scroll { min-width: 0; max-width: 100%; max-height: 66vh; overflow: auto; border: 1px solid #dce3e8; border-radius: 7px; }
.whxe-table { border-collapse: separate; border-spacing: 0; width: 100%; min-width: 1120px; font-size: 12px; }
.whxe-table th, .whxe-table td { padding: 10px 12px; border-bottom: 1px solid #e5e9ec; vertical-align: middle; text-align: left; }
.whxe-table thead th { position: sticky; top: 0; z-index: 3; color: #40575f; font-size: 11px; font-weight: 650; background: #f4f7f7; white-space: nowrap; }
.whxe-table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.whxe-table .whxe-closing { background: #f8fafc; }
.whxe-table .whxe-current { background: #edf4f9; font-weight: 650; }
.whxe-table tbody tr:hover td { background: #f5f8f8; }
.whxe-code { min-width: 110px; white-space: nowrap; }
.whxe-product { min-width: 230px; max-width: 340px; overflow-wrap: anywhere; }
.whxe-result { min-width: 150px; max-width: 230px; font-size: 11px; }
.whxe-group th { background: #eef2ff; color: #334155; padding: 12px; border-top: 1px solid #dce3f5; border-left: 3px solid #2563eb; }
.whxe-group span { margin-left: 12px; color: #64748b; font-weight: 400; font-size: 11px; }
.whxe-total td { font-size: 11px; color: #566c72; font-weight: 600; background: #f8faf9; }
.whxe-table .whxe-row-error td { background: #fff2f0; color: #9e2424; }
.whxe-table .whxe-row-error:hover td { background: #ffe7e4; }
.whxe-row-error .whxe-code { border-left: 3px solid #c43d3d; }
.whxe-diff { color: #9b610b; font-weight: 600; }
.whxe-issue { color: #aa2929; font-weight: 550; }
.whxe-ok { color: #287056; }
.whxe-error { color: #b32929; font-size: 13px; padding: 10px 0; }
.whxe-error:empty { display: none; }
.whxe-overlay { position: fixed; inset: 0; z-index: 10010; display: grid; place-items: center; background: rgba(18,35,41,.6); padding: 20px; }
.whxe-dialog { width: min(1380px,100%); max-width: 100%; min-width: 0; max-height: 94vh; box-sizing: border-box; display: flex; flex-direction: column; min-height: 0; background: #fff; border-radius: 16px; border-top: 3px solid #2563eb; padding: 24px; box-shadow: 0 24px 64px rgba(15,23,42,.24); }
.whxe-dialog-head { flex-wrap: nowrap; }
.whxe-dialog-head button { border: 0; background: transparent; color: #64748b; cursor: pointer; font-size: 28px; padding: 8px; }
.whxe-dialog .whxe-stats { flex-shrink: 0; margin: 20px 0 16px; }
.whxe-preview-table { flex: 1; min-width: 0; min-height: 100px; display: flex; }
.whxe-preview-table .whxe-scroll { width: 100%; max-height: none; }
.whxe-actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; padding-top: 16px; flex-wrap: wrap; }
.whxe-actions > span { margin-right: auto; color: #60727a; font-size: 12px; }
.whxe-operational { margin-top: 18px; }
.whxe-matrix-scroll { width: 100%; }
.whxe-matrix-section h4 { margin: 0; padding: 16px; background: #eef2ff; color: #334155; font-size: 14px; border-left: 3px solid #2563eb; }
.whxe-matrix { min-width: 1020px; }
.whxe-matrix thead th { position: static; }
.whxe-matrix .whxe-product { min-width: 200px; max-width: 300px; }
.whxe-matrix .whxe-source-diff td { background: #fff8e8; color: #87550b; }
.whxe-matrix .whxe-missing-cell { font-weight: 700; }
.whxe-scope-status { margin-top: 12px; color: #60727a; font-size: 12px; }
.whxe-operational > summary { cursor: pointer; padding: 14px 0; font-size: 14px; font-weight: 600; color: #40575f; }
@media (max-width: 760px) {
  .whxe-card { padding: 14px; }
  .whxe-head h3, .whxe-dialog-head h3 { font-size: 22px; }
  .whxe-stats { grid-template-columns: repeat(2,minmax(0,1fr)); margin: 18px 0; }
  .whxe-stats > div { padding: 12px 14px; }
  .whxe-stats > div:nth-child(2) { border-right: 0; }
  .whxe-stats > div:nth-child(-n+2) { border-bottom: 1px solid #dce3e8; }
  .whxe-stats strong { font-size: 22px; }
  .whxe-filters input { max-width: none; width: 100%; }
  .whxe-filters select { flex: 1; min-width: 135px; max-width: 100%; }
  .whxe-overlay { padding: 6px; }
  .whxe-dialog { padding: 14px; max-height: 98dvh; }
  .whxe-actions > span { width: 100%; }
  .whxe-toolbar .wh-btn, .whxe-actions .wh-btn { min-height: 40px; }
}
