/* EXIF viewer — page-specific additions to tools.css */

.ev-hero-card { display: grid; gap: 6px; min-width: 230px; }
.ev-hero-card .hero-line:first-child .material-symbols-rounded { color: #e53935; }

.ev-file-list { max-height: 360px; overflow-y: auto; padding: 2px; }
.ev-file-list .file-item { padding: 8px; }
.ev-file-list .file-item__thumb { width: 48px; height: 48px; }

#ev-preview img { border-radius: 4px; }
.ev-thumb { display: grid; place-items: center; padding: 8px; border-radius: 12px; background: var(--surface-container-low-color); }
.ev-thumb img { display: block; max-width: 100%; max-height: 220px; border-radius: 6px; box-shadow: 0 2px 10px rgba(0,0,0,.18); }

.ev-privacy-lead { margin: 0 0 12px; line-height: 1.5; }
#ev-privacy.ev-privacy--clean .ev-privacy-lead { display: flex; align-items: center; gap: 8px; color: #1e8e3e; font-weight: 600; }
[data-theme="dark"] #ev-privacy.ev-privacy--clean .ev-privacy-lead { color: #81c995; }
.ev-findings { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.ev-findings li { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.ev-findings .badge { min-width: 0; }
.ev-finding-text { flex: 1 1 200px; font-size: .875rem; line-height: 1.45; color: var(--text-color-secondary); }
.ev-privacy-cta { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--outline-variant-color); }
.ev-privacy-cta .ts-btn { text-decoration: none; }

#ev-location .tool-card__head .ts-btn { min-height: 36px; padding: 0 10px; font-size: .875rem; }
#ev-location-list { margin-bottom: 16px; }
.ev-map { height: 260px; min-height: 0; margin-bottom: 12px; }
#ev-links { margin-bottom: 4px; }
#ev-location .tool-note a { color: var(--primary-color); }

.ev-section + .ev-section { margin-top: 8px; }
.ev-section__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ev-section__head .meta-group-title { display: flex; align-items: center; gap: 8px; margin: 0; }
.ev-count { min-width: 22px; padding: 1px 7px; border-radius: 999px; background: var(--surface-container-low-color); color: var(--text-color-secondary); font-size: .6875rem; letter-spacing: 0; text-align: center; }
.ev-raw-btn { min-height: 32px; padding: 0 10px; font-size: .8125rem; }
.ev-section .meta-pre { margin-top: 8px; }
.ev-none { padding: 16px; }

@media (max-width: 768px) {
    #ev-work .tool-bar__actions { width: 100%; flex-wrap: nowrap; }
    #ev-work .tool-bar__actions .ts-btn { flex: 1 1 0; min-width: 0; padding: 0 10px; }
    #ev-work .tool-bar__actions .ts-btn span:not(.material-symbols-rounded) { overflow: hidden; text-overflow: ellipsis; }
    .ev-map { height: 220px; }
}
@media (max-width: 520px) {
    /* icon-only secondary actions; the buttons keep their aria-label */
    #ev-copy span:not(.material-symbols-rounded), #ev-json span:not(.material-symbols-rounded) { display: none; }
    #ev-copy, #ev-json { flex: 0 0 48px !important; padding: 0 !important; }
}
.ev-no-location { display: flex; gap: 10px; align-items: flex-start; margin: 0; line-height: 1.5; }
.ev-no-location .material-symbols-rounded { color: var(--text-color-secondary); }
