/* ============================================================
   EXIF Metadata Viewer & Remover — a hero uploader (after="summary")
   over a form: GPS warning, strip card, verified diff and one section
   per metadata group (styles/components/form.css + uploader.css).
   Only the title tile, the tag flag, the GPS alert row, the method
   radios, the diff verdict + chips and the about copy are the page's own.
   The disclosure control is styles/components/disclosure.css. All local
   selectors are prefixed .ex-.
   ============================================================ */

.ex-title-icon {
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(145deg, #34c759, #0a84ff);
}

/* ---------- metadata rows ---------- */
.ex-row__key { font-family: var(--mono); font-size: 11px; }
.ex-row__val { color: var(--text); }

/* The "sensitive" flag is a styles/components/tag.css pill after the key. */
.ex-flag { margin-inline-start: 7px; }

/* ---------- GPS / location ---------- */
.ex-gps__head {
  color: var(--danger);
  background: var(--danger-soft);
  border-start-start-radius: inherit;
  border-start-end-radius: inherit;
}
.ex-gps__head svg { flex-shrink: 0; }
.ex-gps__title { color: inherit; font-weight: 600; }

/* ---------- empty (already clean) ---------- */
.ex-empty__icon { color: var(--success); }

/* ---------- strip method radios (options modal) ---------- */
.ex-radio {
  align-items: flex-start;
  cursor: pointer;
}
.ex-radio input[type="radio"] { margin-top: 2px; flex-shrink: 0; }
.ex-radio:has(input:disabled) { cursor: not-allowed; opacity: 0.55; }

.ex-radio__text { display: flex; flex-direction: column; gap: var(--space-1); }
.ex-radio__text strong {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
}
.ex-radio__text em {
  font-style: normal;
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.45;
  letter-spacing: -0.005em;
}

/* ---------- before/after diff ---------- */
.ex-diff__verdict {
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: -0.005em;
}
.ex-diff__verdict--ok { color: var(--success); }
.ex-diff__verdict--warn { color: var(--warning); }

.ex-diff__removed-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.ex-chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1);
}
.ex-chip {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-dim);
  background: var(--bg-fill);
  border-radius: var(--radius-pill);
  padding: 3px 10px;
  letter-spacing: -0.005em;
  text-decoration: line-through;
  text-decoration-color: var(--text-quaternary);
}

/* ---------- about / disclosure ---------- */
.ex-about p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.55;
  letter-spacing: -0.005em;
}
.ex-about strong { color: var(--text-dim); }
