/* Find photo location — page-specific additions to tools.css */

.fl-hero-card { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); display: grid; gap: 4px; min-width: 220px; }
.tool-hero--location .hero-pin { top: 46%; }

.fl-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.fl-map-card { padding: 6px; }
.fl-map-card .tool-map { height: min(520px, 62vh); min-height: 300px; border-radius: 14px; }

.fl-export { display: inline-flex; gap: 8px; }
.fl-list { max-height: 640px; overflow-y: auto; padding: 2px; }
.fl-list .file-item { align-items: flex-start; }
.fl-list .file-item__meta { white-space: normal; line-height: 1.4; }
.fl-num {
    display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; margin-inline-end: 2px; border-radius: 999px;
    background: #e53935; color: #fff; font-size: .75rem; font-weight: 700; vertical-align: 1px;
}
.fl-num.is-muted { background: var(--outline-color); }
.file-item.is-active .fl-num:not(.is-muted) { background: #0b57d0; }
.fl-missing { color: var(--text-color-secondary); }

.fl-detail-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.fl-detail-name { min-width: 0; display: grid; gap: 6px; justify-items: start; }
.fl-detail-name strong { overflow-wrap: anywhere; }
.fl-kv { margin-bottom: 14px; }
.fl-actions { margin-bottom: 12px; }
.fl-credit { margin: -6px 0 12px; }

.fl-help .tool-card__body p, .fl-help .tool-card__body li { line-height: 1.55; font-size: .9375rem; }
.fl-help .tool-card__body ul { margin: 0 0 12px; padding-inline-start: 1.25rem; display: grid; gap: 6px; }
.fl-help .ts-btn { white-space: normal; text-align: start; min-height: 48px; padding: 8px 18px; text-decoration: none; }
.fl-reason { padding: 10px 12px; border-radius: 12px; background: #fff4e5; color: #4a2800; font-weight: 500; }
[data-theme="dark"] .fl-reason { background: #3a2a12; color: #ffdcb0; }
.fl-external-note { padding: 0 4px; }

@media (max-width: 768px) {
    .tool-bar__actions > .ts-btn { flex: 1 1 auto; }
    .fl-export { flex: 1 1 auto; }
    .fl-export .ts-btn { flex: 1 1 auto; }
    .fl-map-card .tool-map { height: 340px; min-height: 0; }
}
#fl-details .fl-external-note { margin: -8px 16px 16px; }
