/* BroodWeb Malware Scanner v2 — Admin Styles */
:root {
  --wmt-bg:        #0f1117;
  --wmt-surface:   #1a1d27;
  --wmt-surface2:  #22263a;
  --wmt-border:    #2d3148;
  --wmt-text:      #e2e8f0;
  --wmt-muted:     #8892a4;
  --wmt-accent:    #6366f1;
  --wmt-accent2:   #818cf8;
  --wmt-danger:    #ef4444;
  --wmt-warn:      #f59e0b;
  --wmt-success:   #22c55e;
  --wmt-info:      #38bdf8;
  --wmt-high:      #dc2626;
  --wmt-medium:    #d97706;
  --wmt-low:       #3b82f6;
  --wmt-radius:    10px;
  --wmt-font:      -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --wmt-mono:      ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', monospace;
  --wmt-shadow:    0 4px 24px rgba(0,0,0,.45);
}

/* ── Layout ─────────────────────────────────────── */
.wmt-wrap {
  font-family: var(--wmt-font);
  color: var(--wmt-text);
  max-width: 1280px;
  padding: 0 0 60px 0;
  margin-top: 20px;
}
.wmt-wrap * { box-sizing: border-box; }

/* ── Header ─────────────────────────────────────── */
.wmt-header {
  background: linear-gradient(135deg, #1e1b4b 0%, #1a1d27 60%, #0f172a 100%);
  border: 1px solid var(--wmt-border);
  border-radius: var(--wmt-radius);
  padding: 28px 32px;
  margin-bottom: 24px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  position: relative;
  overflow: hidden;
}
.wmt-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 50%, rgba(99,102,241,.12) 0%, transparent 70%);
  pointer-events: none;
}
.wmt-header__logo {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}
.wmt-header__icon {
  font-size: 40px;
  filter: drop-shadow(0 0 12px rgba(99,102,241,.5));
}
.wmt-header h1 {
  font-family: var(--wmt-font);
  font-size: 26px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 4px;
  line-height: 1.1;
}
.wmt-header__version {
  font-size: 12px;
  color: var(--wmt-accent2);
  font-family: var(--wmt-mono);
  background: rgba(99,102,241,.15);
  padding: 2px 8px;
  border-radius: 100px;
}
.wmt-header__desc {
  color: var(--wmt-muted);
  font-size: 14px;
  margin: 8px 0 0;
  max-width: 640px;
  line-height: 1.6;
}

/* ── Tabs ────────────────────────────────────────── */
.wmt-tabs {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--wmt-border);
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.wmt-tab {
  text-decoration: none;
  color: var(--wmt-muted);
  font-size: 13.5px;
  font-weight: 500;
  padding: 10px 18px;
  border-radius: 8px 8px 0 0;
  transition: all .18s;
  border: 1px solid transparent;
  border-bottom: none;
  position: relative;
  bottom: -1px;
}
.wmt-tab:hover { color: var(--wmt-text); background: var(--wmt-surface2); }
.wmt-tab--active {
  color: var(--wmt-accent2);
  background: var(--wmt-surface);
  border-color: var(--wmt-border);
  border-bottom-color: var(--wmt-surface);
}

/* ── Cards ───────────────────────────────────────── */
.wmt-card {
  background: var(--wmt-surface);
  border: 1px solid var(--wmt-border);
  border-radius: var(--wmt-radius);
  padding: 28px 32px;
  margin-bottom: 24px;
}
.wmt-card__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--wmt-text);
  margin: 0 0 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--wmt-border);
}
.wmt-section-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--wmt-text);
  margin: 0 0 16px;
}

/* ── Forms ───────────────────────────────────────── */
.wmt-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}
@media (max-width: 860px) { .wmt-form-grid { grid-template-columns: 1fr; } }
.wmt-form-group { display: flex; flex-direction: column; gap: 8px; }
.wmt-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--wmt-muted);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.wmt-input {
  background: var(--wmt-surface2);
  border: 1px solid var(--wmt-border);
  color: var(--wmt-text);
  border-radius: 8px;
  padding: 9px 13px;
  font-size: 14px;
  font-family: var(--wmt-font);
  transition: border .18s;
  width: 100%;
}
.wmt-input:focus { outline: none; border-color: var(--wmt-accent); box-shadow: 0 0 0 3px rgba(99,102,241,.18); }
.wmt-help { font-size: 12.5px; color: var(--wmt-muted); margin: 0; line-height: 1.5; }
.wmt-checkbox-group { display: flex; flex-direction: column; gap: 10px; }
.wmt-checkbox { display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: 14px; color: var(--wmt-text); }
.wmt-checkbox input[type=checkbox] { width: 16px; height: 16px; accent-color: var(--wmt-accent); cursor: pointer; flex-shrink: 0; }
.wmt-scan-actions { display: flex; gap: 12px; align-items: center; margin-top: 8px; }

/* ── Buttons ─────────────────────────────────────── */
.wmt-btn {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--wmt-font); font-size: 14px; font-weight: 600;
  padding: 9px 18px; border-radius: 8px; border: none; cursor: pointer;
  transition: all .18s; text-decoration: none; white-space: nowrap;
}
.wmt-btn--primary   { background: var(--wmt-accent); color: #fff; }
.wmt-btn--primary:hover { background: var(--wmt-accent2); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(99,102,241,.4); }
.wmt-btn--secondary { background: var(--wmt-surface2); color: var(--wmt-text); border: 1px solid var(--wmt-border); }
.wmt-btn--secondary:hover { border-color: var(--wmt-accent); color: var(--wmt-accent2); }
.wmt-btn--ghost     { background: transparent; color: var(--wmt-muted); border: 1px solid var(--wmt-border); }
.wmt-btn--ghost:hover { color: var(--wmt-text); border-color: var(--wmt-text); }
.wmt-btn--danger    { background: rgba(239,68,68,.15); color: var(--wmt-danger); border: 1px solid rgba(239,68,68,.3); }
.wmt-btn--danger:hover { background: rgba(239,68,68,.25); }
.wmt-btn--success   { background: rgba(34,197,94,.15); color: var(--wmt-success); border: 1px solid rgba(34,197,94,.3); }
.wmt-btn--success:hover { background: rgba(34,197,94,.25); }
.wmt-btn--view      { background: rgba(56,189,248,.12); color: var(--wmt-info); border: 1px solid rgba(56,189,248,.25); }
.wmt-btn--view:hover { background: rgba(56,189,248,.22); }
.wmt-btn--sm        { font-size: 12px; padding: 5px 11px; border-radius: 6px; }
.wmt-btn__icon      { font-size: 16px; }
.wmt-btn:disabled   { opacity: .45; cursor: not-allowed; transform: none !important; }

/* ── Progress ────────────────────────────────────── */
.wmt-progress-wrap {
  background: var(--wmt-surface2);
  border: 1px solid var(--wmt-border);
  border-radius: var(--wmt-radius);
  padding: 20px 24px;
  margin-top: 20px;
}
.wmt-progress-label {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 14px; font-weight: 600; margin-bottom: 10px;
}
#wmt-progress-pct { color: var(--wmt-accent2); font-family: var(--wmt-mono); }
.wmt-progress-bar {
  height: 10px; background: var(--wmt-surface); border-radius: 100px;
  overflow: hidden; border: 1px solid var(--wmt-border);
}
.wmt-progress-fill {
  height: 100%; width: 0%; background: linear-gradient(90deg, var(--wmt-accent), var(--wmt-info));
  border-radius: 100px; transition: width .3s ease;
}
.wmt-progress-fill--indeterminate {
  width: 38%;
  background: linear-gradient(90deg, var(--wmt-danger), #fb7185, #fca5a5);
  animation: wmt-indeterminate-slide 1.2s ease-in-out infinite;
}
.wmt-progress-stats { margin-top: 8px; font-size: 12px; color: var(--wmt-muted); font-family: var(--wmt-mono); }

@keyframes wmt-indeterminate-slide {
  0% { transform: translateX(-110%); }
  50% { transform: translateX(85%); }
  100% { transform: translateX(220%); }
}

/* ── Summary cards ───────────────────────────────── */
.wmt-summary-cards {
  display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 24px;
}
.wmt-stat-card {
  background: var(--wmt-surface2); border: 1px solid var(--wmt-border);
  border-radius: var(--wmt-radius); padding: 16px 20px; min-width: 160px;
}
.wmt-stat-card--danger { border-color: rgba(239,68,68,.35); background: rgba(239,68,68,.07); }
.wmt-stat-card--warn   { border-color: rgba(245,158,11,.35); background: rgba(245,158,11,.07); }
.wmt-stat-card__label  { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .07em; color: var(--wmt-muted); margin-bottom: 6px; }
.wmt-stat-card__value  { font-size: 26px; font-weight: 700; color: var(--wmt-text); font-family: var(--wmt-mono); line-height: 1; }
.wmt-stat-card--danger .wmt-stat-card__value { color: var(--wmt-danger); }
.wmt-stat-card--warn   .wmt-stat-card__value { color: var(--wmt-warn); }

/* ── Filter bar ──────────────────────────────────── */
.wmt-filter-bar {
  display: flex; gap: 12px; align-items: center; flex-wrap: wrap;
  margin-bottom: 16px; padding: 14px 16px;
  background: var(--wmt-surface2); border: 1px solid var(--wmt-border); border-radius: 8px;
}
.wmt-filter-search { flex: 1; min-width: 200px; }
.wmt-filter-risk, .wmt-filter-cat { width: 200px; }
.wmt-filter-count { font-size: 12px; color: var(--wmt-muted); font-family: var(--wmt-mono); white-space: nowrap; margin-left: auto; }

/* ── Report toolbar ──────────────────────────────── */
.wmt-report-toolbar {
  display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px;
}
.wmt-toolbar-actions { display: flex; gap: 8px; }

/* ── Results table ───────────────────────────────── */
.wmt-table-wrap { overflow-x: auto; border-radius: 10px; border: 1px solid var(--wmt-border); background: var(--wmt-surface); box-shadow: inset 0 1px 0 rgba(255,255,255,.02); }
.wmt-table {
  width: 100%; border-collapse: collapse; font-size: 13.5px;
}
.wmt-table thead th {
  background: #171b2a; color: #dbe4f3; font-size: 11px;
  font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
  padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--wmt-border);
}
.wmt-table tbody tr { border-bottom: 1px solid var(--wmt-border); transition: background .14s; background: #111523; }
.wmt-table tbody tr:nth-child(even) { background: #151a29; }
.wmt-table tbody tr:last-child { border-bottom: none; }
.wmt-table tbody tr:hover { background: #1b2236; }
.wmt-table td { padding: 14px 16px; vertical-align: top; color: #eef3fb; }
.wmt-table tr[data-whitelisted="1"] { opacity: .45; }

/* Score badges */
.wmt-score {
  display: inline-block; min-width: 36px; text-align: center;
  border-radius: 100px; padding: 3px 10px; font-weight: 700;
  font-family: var(--wmt-mono); font-size: 13px;
}
.wmt-score--critical { background: #4a1018; color: #ffe4e6; border: 1px solid #ef4444; }
.wmt-score--high   { background: #4b160e; color: #ffe7d5; border: 1px solid #f97316; }
.wmt-score--medium { background: #4a3510; color: #fff3c4; border: 1px solid #f59e0b; }
.wmt-score--low    { background: #102c4a; color: #dbeafe; border: 1px solid #60a5fa; }

/* Category badge */
.wmt-category-badge {
  display: inline-block; font-size: 11px; font-weight: 700; padding: 4px 10px;
  border-radius: 999px; background: #1a2235; color: #e7eefb;
  border: 1px solid #35415f; font-family: var(--wmt-mono); white-space: nowrap; letter-spacing: .02em;
}
.wmt-category-badge--core { background:#1b2942; border-color:#335b9b; }
.wmt-category-badge--plugin { background:#1f2438; border-color:#545f87; }
.wmt-category-badge--theme { background:#1f2e26; border-color:#3c8b63; }
.wmt-category-badge--upload { background:#362615; border-color:#d97706; }
.wmt-category-badge--mu-plugin { background:#31204a; border-color:#8b5cf6; }
.wmt-category-badge--root-or-other { background:#2d2331; border-color:#a855f7; }

/* Path cell */
.wmt-path-cell code.wmt-file-path {
  font-family: var(--wmt-mono); font-size: 12px; color: #c7d2fe;
  background: rgba(99,102,241,.10); border: 1px solid rgba(99,102,241,.18);
  padding: 3px 6px; border-radius: 6px; word-break: break-all; display: inline-block;
}

/* Findings list */
.wmt-findings { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 4px; }
.wmt-findings li {
  font-size: 12.5px; padding: 6px 10px; border-radius: 8px;
  border: 1px solid transparent; font-weight: 600; line-height: 1.45;
}
.wmt-finding--critical { color: #ffe4e6; background: #43131a; border-color: #ef4444; }
.wmt-finding--high     { color: #fff4cc; background: #4a3510; border-color: #f59e0b; }
.wmt-finding--medium   { color: #dbeafe; background: #142c46; border-color: #60a5fa; }
.wmt-finding--low      { color: #e5e7eb; background: #232a3c; border-color: #4b5563; }

/* Actions cell */
.wmt-actions { white-space: nowrap; }
.wmt-actions .wmt-btn { margin-right: 4px; }

/* ── Badge ───────────────────────────────────────── */
.wmt-badge {
  display: inline-block; font-size: 10px; font-weight: 700; padding: 2px 7px;
  border-radius: 100px; margin-left: 6px; vertical-align: middle;
}
.wmt-badge--latest      { background: rgba(99,102,241,.2); color: var(--wmt-accent2); border: 1px solid rgba(99,102,241,.35); }
.wmt-badge--whitelisted { background: rgba(34,197,94,.15); color: var(--wmt-success); border: 1px solid rgba(34,197,94,.3); }

/* ── History ─────────────────────────────────────── */
.wmt-history-list { display: flex; flex-direction: column; gap: 12px; margin-top: 20px; }
.wmt-history-item {
  background: var(--wmt-surface2); border: 1px solid var(--wmt-border);
  border-radius: 8px; padding: 16px 20px;
}
.wmt-history-item--latest { border-color: rgba(99,102,241,.4); }
.wmt-history-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.wmt-history-date { font-size: 13px; font-family: var(--wmt-mono); color: var(--wmt-muted); }
.wmt-history-stats { display: flex; gap: 20px; flex-wrap: wrap; margin-bottom: 12px; }
.wmt-stat { font-size: 13px; color: var(--wmt-muted); }
.wmt-stat strong { color: var(--wmt-text); font-weight: 700; }
.wmt-stat--warn strong { color: var(--wmt-warn); }
.wmt-stat--danger strong { color: var(--wmt-danger); }
.wmt-delta { font-size: 11px; font-weight: 700; padding: 2px 7px; border-radius: 100px; margin-left: 4px; }
.wmt-delta--up   { background: rgba(239,68,68,.15); color: var(--wmt-danger); }
.wmt-delta--down { background: rgba(34,197,94,.15); color: var(--wmt-success); }
.wmt-delta--same { background: var(--wmt-surface); color: var(--wmt-muted); }
.wmt-history-report { margin-top: 16px; border-top: 1px solid var(--wmt-border); padding-top: 16px; }

/* Trend sparkline */
.wmt-history-trend { margin-bottom: 24px; }
#wmt-trend-chart { height: 80px; width: 100%; }

/* ── Empty states ────────────────────────────────── */
.wmt-empty {
  color: var(--wmt-muted); font-size: 14px; text-align: center;
  padding: 32px 20px; background: var(--wmt-surface2); border-radius: 8px;
  border: 1px dashed var(--wmt-border);
}

/* ── Notices ─────────────────────────────────────── */
.wmt-notice {
  padding: 12px 16px; border-radius: 8px; font-size: 14px; margin-bottom: 16px;
  border: 1px solid;
}
.wmt-notice--success { background: #dff7e7; border-color: #86efac; color: #14532d; }
.wmt-notice--error   { background: #fee2e2; border-color: #fca5a5; color: #7f1d1d; }

.wmt-core-restore-form {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.wmt-core-restore-card {
  margin-top: 28px;
}

.wmt-report + .wmt-core-restore-card {
  margin-top: 32px;
}

.wmt-settings-inline-actions {
  margin-top: 8px;
}

.wmt-progress-wrap--restore {
  margin-top: 16px;
  background: rgba(239, 68, 68, .07);
  border-color: rgba(239, 68, 68, .2);
}

/* ── File viewer modal ───────────────────────────── */
#wmt-modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.75);
  z-index: 99998; display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(4px);
}
#wmt-modal {
  background: var(--wmt-surface); border: 1px solid var(--wmt-border);
  border-radius: var(--wmt-radius); width: 90vw; max-width: 1000px;
  max-height: 85vh; display: flex; flex-direction: column;
  box-shadow: var(--wmt-shadow);
}
#wmt-modal-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 20px; border-bottom: 1px solid var(--wmt-border);
}
#wmt-modal-title { font-size: 14px; font-family: var(--wmt-mono); color: var(--wmt-accent2); font-weight: 600; }
#wmt-modal-close {
  background: none; border: none; color: var(--wmt-muted); font-size: 22px;
  cursor: pointer; padding: 0 4px; line-height: 1;
}
#wmt-modal-close:hover { color: var(--wmt-text); }
#wmt-modal-body {
  overflow: auto; padding: 16px 20px; flex: 1;
  background: #0d1117; border-radius: 0 0 var(--wmt-radius) var(--wmt-radius);
}
#wmt-modal-content {
  font-family: var(--wmt-mono); font-size: 12.5px; line-height: 1.7;
  color: #c9d1d9; white-space: pre-wrap; word-break: break-all;
  margin: 0;
}
mark.wmt-hl {
  background: rgba(239,68,68,.3); color: #fca5a5;
  border-radius: 3px; padding: 1px 2px;
}

/* ── DB preview ──────────────────────────────────── */
code.wmt-db-preview {
  font-family: var(--wmt-mono); font-size: 11px; color: var(--wmt-muted);
  white-space: pre-wrap; word-break: break-all; display: block; max-width: 300px;
}

/* ── Whitelist add ───────────────────────────────── */
.wmt-whitelist-add { padding-top: 20px; border-top: 1px solid var(--wmt-border); }

/* ── Toast ───────────────────────────────────────── */
#wmt-toast {
  position: fixed; bottom: 24px; right: 24px; z-index: 99999;
  background: var(--wmt-surface); border: 1px solid var(--wmt-border);
  border-radius: 10px; padding: 14px 20px; font-size: 14px;
  box-shadow: var(--wmt-shadow); display: none; max-width: 340px;
  animation: wmtFadeUp .25s ease;
}
#wmt-toast.wmt-toast--success { border-color: rgba(34,197,94,.4); color: #86efac; }
#wmt-toast.wmt-toast--error   { border-color: rgba(239,68,68,.4); color: #fca5a5; }
@keyframes wmtFadeUp { from { opacity:0; transform:translateY(10px); } to { opacity:1; transform:none; } }

/* ── Report wrapper ──────────────────────────────── */
.wmt-report { animation: wmtFadeIn .3s ease; }
@keyframes wmtFadeIn { from { opacity:0; transform:translateY(8px); } to { opacity:1; transform:none; } }


.wmt-filter-bar .wmt-input, .wmt-filter-bar select.wmt-input { background:#f8fafc; color:#0f172a; border-color:#94a3b8; }
.wmt-filter-bar .wmt-input::placeholder { color:#64748b; }
.wmt-filter-bar .wmt-input:focus { border-color:#2563eb; box-shadow:0 0 0 3px rgba(37,99,235,.18); }
.wmt-actions .wmt-btn { min-width: 34px; justify-content:center; }
.wmt-actions .wmt-btn--danger { color:#fecaca; background:#4a1018; border-color:#ef4444; }
.wmt-actions .wmt-btn--view { color:#dbeafe; background:#14314b; border-color:#38bdf8; }
.wmt-actions .wmt-btn--ghost { color:#dcfce7; background:#15351f; border-color:#22c55e; }
.wmt-filter-count { color:#cbd5e1; }

/* ── Table usability upgrades ───────────────────── */
.wmt-table-wrap {
  max-height: 72vh;
  overflow: auto;
}
.wmt-table thead th {
  position: sticky;
  top: 0;
  z-index: 5;
  box-shadow: 0 1px 0 var(--wmt-border), 0 8px 16px rgba(10,14,24,.18);
}
.wmt-findings-cell {
  min-width: 280px;
}
.wmt-findings-disclosure {
  display: block;
}
.wmt-findings-disclosure summary {
  list-style: none;
}
.wmt-findings-disclosure summary::-webkit-details-marker {
  display: none;
}
.wmt-findings-summary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid #314056;
  background: #182133;
  color: #f8fafc;
  font-weight: 700;
  font-size: 12px;
}
.wmt-findings-summary:hover {
  background: #1e2940;
  border-color: #4f6b95;
}
.wmt-findings-summary::before {
  content: '▸';
  color: #cbd5e1;
  transition: transform .16s ease;
}
.wmt-findings-disclosure[open] .wmt-findings-summary::before {
  transform: rotate(90deg);
}
.wmt-findings-summary__label {
  letter-spacing: .02em;
}
.wmt-findings-summary__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: #0f172a;
  border: 1px solid #475569;
  color: #f8fafc;
  font-family: var(--wmt-mono);
  font-size: 11px;
}
.wmt-findings-disclosure .wmt-findings {
  margin-top: 10px;
}

/* ── Better mobile spacing ──────────────────────── */
@media (max-width: 960px) {
  .wmt-wrap {
    padding-right: 12px;
  }
  .wmt-header {
    padding: 22px 18px;
    gap: 16px;
    flex-direction: column;
  }
  .wmt-card {
    padding: 20px 16px;
  }
  .wmt-summary-cards {
    gap: 12px;
  }
  .wmt-stat-card {
    min-width: calc(50% - 6px);
    flex: 1 1 calc(50% - 6px);
  }
  .wmt-filter-bar {
    padding: 12px;
    gap: 10px;
  }
  .wmt-filter-search,
  .wmt-filter-risk,
  .wmt-filter-cat {
    width: 100%;
    min-width: 100%;
    flex: 1 1 100%;
  }
  .wmt-filter-count {
    margin-left: 0;
    width: 100%;
  }
  .wmt-report-toolbar {
    align-items: stretch;
    gap: 12px;
    flex-direction: column;
  }
  .wmt-toolbar-actions {
    flex-wrap: wrap;
  }
}

@media (max-width: 640px) {
  .wmt-wrap {
    margin-top: 12px;
  }
  .wmt-header h1 {
    font-size: 22px;
  }
  .wmt-card,
  .wmt-history-item,
  .wmt-progress-wrap {
    padding: 16px 14px;
  }
  .wmt-stat-card {
    min-width: 100%;
    flex: 1 1 100%;
  }
  .wmt-table {
    font-size: 12.5px;
  }
  .wmt-table thead th,
  .wmt-table td {
    padding: 12px 10px;
  }
  .wmt-findings-cell {
    min-width: 220px;
  }
  .wmt-actions {
    min-width: 126px;
  }
}
