.mc-wrap * { box-sizing: border-box; }
  .mc-wrap { font-family: 'DM Sans', system-ui, sans-serif; color: #1a1a1a; padding: 1rem 0; }
  .mc-wrap .tabs { display: flex; gap: 6px; margin-bottom: 1.5rem; flex-wrap: wrap; }
  .mc-wrap .tab { padding: 6px 16px; border: 1px solid #ddd; border-radius: 8px; background: transparent; cursor: pointer; font-size: 13px; color: #555; font-family: inherit; }
  .mc-wrap .tab.active { background: #fff; color: #1a1a1a; border-color: #aaa; }
  .mc-wrap .card { background: #fff; border: 1px solid #e5e5e5; border-radius: 12px; padding: 1.5rem; margin-bottom: 1rem; }
  .mc-wrap .row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
  @media (max-width: 640px) { .mc-wrap .row-2 { grid-template-columns: 1fr; } .mc-wrap .metrics { grid-template-columns: 1fr 1fr !important; } }
  .mc-wrap label.field-label { display: block; font-size: 12px; color: #666; margin-bottom: 6px; }
  .mc-wrap textarea, .mc-wrap input[type=text], .mc-wrap select { width: 100%; font-family: inherit; font-size: 13px; border: 1px solid #ddd; border-radius: 8px; padding: 8px 12px; background: #fafafa; color: #1a1a1a; }
  .mc-wrap textarea { height: 130px; resize: vertical; }
  .mc-wrap textarea:focus, .mc-wrap input:focus, .mc-wrap select:focus { outline: none; border-color: #888; background: #fff; }
  .mc-wrap .mode-tabs { display: flex; gap: 4px; margin-bottom: 8px; }
  .mc-wrap .mode-tab { padding: 3px 10px; font-size: 12px; border: 1px solid #ddd; border-radius: 6px; background: transparent; cursor: pointer; color: #666; font-family: inherit; }
  .mc-wrap .mode-tab.active { background: #f0f0f0; color: #1a1a1a; border-color: #aaa; }
  .mc-wrap .upload-area { border: 1.5px dashed #ccc; border-radius: 8px; padding: 20px; text-align: center; font-size: 13px; color: #888; cursor: pointer; }
  .mc-wrap .upload-area:hover { background: #f5f5f5; }
  .mc-wrap .upload-area span { font-size: 11px; display: block; margin-top: 4px; }
  .mc-wrap .hint { font-size: 12px; color: #888; margin-bottom: 1rem; }
  .mc-wrap .actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
  .mc-wrap button.btn { padding: 8px 20px; border: 1px solid #ccc; border-radius: 8px; background: transparent; cursor: pointer; font-size: 14px; color: #1a1a1a; font-family: inherit; }
  .mc-wrap button.btn:hover { background: #f0f0f0; }
  .mc-wrap button.btn-primary { background: #1a1a1a; color: #fff; border-color: #1a1a1a; }
  .mc-wrap button.btn-primary:hover { background: #333; }
  .mc-wrap button.btn-sm { padding: 4px 12px; font-size: 12px; }
  .mc-wrap .metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 1.5rem; }
  .mc-wrap .metric { background: #f7f6f3; border-radius: 8px; padding: 12px 14px; }
  .mc-wrap .metric-val { font-size: 24px; font-weight: 600; }
  .mc-wrap .metric-lbl { font-size: 11px; color: #888; margin-top: 2px; }
  .mc-wrap .progress { height: 3px; background: #e5e5e5; border-radius: 2px; overflow: hidden; margin-bottom: 6px; }
  .mc-wrap .progress-bar { height: 100%; background: #1a1a1a; border-radius: 2px; transition: width 0.3s; }
  .mc-wrap .filter-bar { display: flex; gap: 8px; align-items: center; margin-bottom: 1rem; flex-wrap: wrap; }
  .mc-wrap .filter-bar select { width: auto; }
  .mc-wrap table { width: 100%; border-collapse: collapse; font-size: 12px; table-layout: fixed; }
  .mc-wrap th { text-align: left; padding: 8px 10px; font-size: 11px; color: #888; font-weight: 500; border-bottom: 1px solid #eee; }
  .mc-wrap td { padding: 8px 10px; border-bottom: 1px solid #f0f0f0; vertical-align: top; word-break: break-word; }
  .mc-wrap tr:last-child td { border-bottom: none; }
  .mc-wrap tr:hover td { background: #fafafa; }
  .mc-wrap .col-url { width: 20%; } .mc-wrap .col-status { width: 10%; } .mc-wrap .col-title { width: 18%; }
  .mc-wrap .col-h1 { width: 14%; } .mc-wrap .col-canon { width: 14%; } .mc-wrap .col-links { width: 10%; } .mc-wrap .col-content { width: 14%; }
  .mc-wrap .badge { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 500; }
  .mc-wrap .badge-ok { background: #e6f4ea; color: #2d6a4f; }
  .mc-wrap .badge-warn { background: #fff3cd; color: #856404; }
  .mc-wrap .badge-err { background: #fde8e8; color: #a32d2d; }
  .mc-wrap .badge-info { background: #e8f0fe; color: #1a56db; }
  .mc-wrap .diff-cell { display: flex; flex-direction: column; gap: 2px; }
  .mc-wrap .diff-old { font-size: 11px; color: #999; }
  .mc-wrap .diff-new { font-size: 11px; }
  .mc-wrap .diff-new.changed { color: #a32d2d; font-weight: 500; }
  .mc-wrap .diff-new.ok { color: #2d6a4f; }
  .mc-wrap .overflow-wrap { overflow-x: auto; }

  /* Archiwum styles */
  .mc-wrap .arch-input-row { display: flex; gap: 8px; align-items: flex-end; margin-bottom: 1rem; flex-wrap: wrap; }
  .mc-wrap .arch-input-row input[type=text] { flex: 1; min-width: 200px; }
  .mc-wrap .arch-result { margin-top: 1.5rem; }
  .mc-wrap .arch-meta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1.5rem; }
  @media (max-width: 640px) { .mc-wrap .arch-meta-grid { grid-template-columns: 1fr; } }
  .mc-wrap .arch-meta-card { background: #f7f6f3; border-radius: 10px; padding: 1rem; }
  .mc-wrap .arch-meta-card h4 { font-size: 12px; color: #888; font-weight: 500; margin-bottom: 10px; }
  .mc-wrap .arch-meta-row { display: flex; justify-content: space-between; gap: 8px; padding: 5px 0; border-bottom: 1px solid #eee; font-size: 12px; }
  .mc-wrap .arch-meta-row:last-child { border-bottom: none; }
  .mc-wrap .arch-meta-label { color: #888; flex-shrink: 0; }
  .mc-wrap .arch-meta-val { text-align: right; word-break: break-word; font-size: 11px; }
  .mc-wrap .arch-meta-val.changed { color: #a32d2d; font-weight: 500; }
  .mc-wrap .arch-meta-val.ok { color: #2d6a4f; }
  .mc-wrap .arch-screenshots { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1.5rem; }
  @media (max-width: 640px) { .mc-wrap .arch-screenshots { grid-template-columns: 1fr; } }
  .mc-wrap .arch-screenshot-wrap { border: 1px solid #e5e5e5; border-radius: 10px; overflow: hidden; }
  .mc-wrap .arch-screenshot-label { padding: 8px 12px; font-size: 11px; color: #888; background: #f7f6f3; border-bottom: 1px solid #eee; display: flex; justify-content: space-between; align-items: center; }
  .mc-wrap .arch-screenshot-label a { font-size: 11px; color: #1a56db; text-decoration: none; }
  .mc-wrap .arch-iframe { width: 100%; height: 400px; border: none; background: #f0f0f0; display: block; }
  .mc-wrap .arch-diff-section { margin-bottom: 1rem; }
  .mc-wrap .arch-diff-section h4 { font-size: 12px; color: #888; font-weight: 500; margin-bottom: 8px; }
  .mc-wrap .arch-diff-text { background: #f7f6f3; border-radius: 8px; padding: 10px 14px; font-size: 12px; line-height: 1.6; }
  .mc-wrap .diff-added { background: #e6f4ea; color: #2d6a4f; border-radius: 3px; padding: 0 3px; }
  .mc-wrap .diff-removed { background: #fde8e8; color: #a32d2d; border-radius: 3px; padding: 0 3px; text-decoration: line-through; }
  .mc-wrap .arch-info-box { background: #e8f0fe; border-radius: 8px; padding: 10px 14px; font-size: 12px; color: #1a56db; margin-bottom: 1rem; }
  .mc-wrap .sim-bar-wrap { margin-top: 8px; }
  .mc-wrap .sim-bar-bg { height: 6px; background: #e5e5e5; border-radius: 3px; overflow: hidden; }
  .mc-wrap .sim-bar-fill { height: 100%; border-radius: 3px; transition: width 0.5s; }