.eam-tool-shell { display: grid; gap: 16px; }
.eam-dropzone {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
  min-height: 210px;
  padding: 28px 20px;
  border: 2px dashed #047857;
  border-radius: 14px;
  background: linear-gradient(180deg, #f0fdf7 0%, #ffffff 100%);
  cursor: pointer;
  transition: border-color 150ms ease, background 150ms ease, transform 150ms ease;
}
.eam-dropzone:hover, .eam-dropzone.is-drag {
  border-color: #065f46;
  background: #e6f9f0;
}
.eam-dropzone input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}
.eam-drop-icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  background: #047857; color: #ffffff;
}
.eam-drop-title { margin: 0; font-size: 19px; font-weight: 800; color: #0b1914; }
.eam-drop-sub { margin: 0; font-size: 14px; color: #3f524a; max-width: 540px; }
.eam-step-strip {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: 10px; background: #eaf0ec; font-size: 13px; color: #0b1914;
}
.eam-steps-inline { display: flex; flex-wrap: wrap; gap: 12px; font-weight: 600; }
.eam-sample-btn {
  position: relative; z-index: 2;
  background: #ffffff; color: #065f46; border: 1px solid #047857;
  border-radius: 8px; padding: 8px 13px; min-height: 40px;
  font-size: 13px; font-weight: 700; cursor: pointer;
}
.eam-sample-btn:hover { background: #d1fae5; }

.eam-summary-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px;
}
.eam-stat-box {
  background: #f4f7f5; border: 1px solid #cfdcd5; border-radius: 10px; padding: 12px 14px;
}
.eam-stat-label { font-size: 12px; font-weight: 600; color: #3f524a; display: block; }
.eam-stat-val { font-size: 18px; font-weight: 800; color: #0b1914; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.eam-stat-ok { color: #047857; }
.eam-stat-risk { color: #b91c1c; }

.eam-action-bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px;
  padding: 14px 16px; border-radius: 12px; background: #ecfdf5; border: 1px solid #6ee7b7;
}
.eam-action-meta { font-size: 14px; color: #065f46; font-weight: 600; }
.eam-action-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.eam-tbtn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 44px; padding: 0 16px; border-radius: 9px;
  font-size: 14px; font-weight: 700; cursor: pointer; border: 1px solid transparent;
  font-family: inherit;
}
.eam-tbtn-primary { background: #047857; color: #ffffff; }
.eam-tbtn-primary:hover { background: #065f46; }
.eam-tbtn-ghost { background: #ffffff; color: #0b1914; border-color: #cfdcd5; }
.eam-tbtn-ghost:hover { border-color: #047857; color: #065f46; }

.eam-file-tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.eam-file-tab {
  min-height: 36px; padding: 4px 11px; border-radius: 8px; font-size: 13px; font-weight: 600;
  border: 1px solid #cfdcd5; background: #f4f7f5; color: #0b1914; cursor: pointer;
}
.eam-file-tab.is-active { background: #047857; color: #ffffff; border-color: #047857; }

.eam-diff-wrap {
  border: 1px solid #cfdcd5; border-radius: 12px; overflow-x: auto; background: #ffffff;
}
.eam-diff-table {
  width: 100%; border-collapse: collapse; font-size: 13px; min-width: 560px;
}
.eam-diff-table th, .eam-diff-table td {
  padding: 10px 12px; text-align: left; border-bottom: 1px solid #e2ebe6; vertical-align: top;
}
.eam-diff-table th { background: #eaf0ec; color: #0b1914; font-weight: 700; }
.eam-diff-val {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px;
  word-break: break-word; max-width: 380px; color: #0b1914;
}
.eam-badge {
  display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 700;
}
.eam-badge-ai { background: #fef2f2; color: #b91c1c; }
.eam-badge-c2pa { background: #fffbeb; color: #92400e; }
.eam-badge-gps { background: #fee2e2; color: #991b1b; }
.eam-badge-exif { background: #e0f2fe; color: #075985; }
.eam-badge-clean { background: #d1fae5; color: #065f46; }

.eam-hash-bar {
  display: grid; gap: 4px; padding: 10px 14px; border-radius: 10px;
  background: #f4f7f5; border: 1px solid #cfdcd5;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; color: #3f524a;
  word-break: break-all;
}
.eam-upsell-bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 16px; border-radius: 12px; background: #fffbeb; border: 1px solid #fcd34d;
  font-size: 14px; color: #78350f;
}
.eam-upsell-bar strong { color: #0b1914; }
.eam-tool-err {
  padding: 12px 14px; border-radius: 10px; background: #fef2f2; border: 1px solid #fca5a5;
  color: #b91c1c; font-size: 14px; font-weight: 600;
}

@media (max-width: 720px) {
  .eam-summary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .eam-dropzone { min-height: 175px; padding: 22px 14px; }
}
