/* WFM ortak stiller */
.wfm-map { width: 100%; height: 100%; border-radius: 8px; z-index: 0; }
.wfm-pin-wrap { background: transparent; border: none; }
.wfm-pin {
    width: 28px; height: 28px; border-radius: 50%;
    background: var(--pin); color: #fff; border: 2px solid #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,.45);
    display: flex; align-items: center; justify-content: center;
    font: 600 12px/1 system-ui, sans-serif;
}
.wfm-pin-pulse { animation: wfm-pulse 1.8s infinite; }
@keyframes wfm-pulse {
    0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--pin) 60%, transparent); }
    70% { box-shadow: 0 0 0 12px transparent; }
    100% { box-shadow: 0 0 0 0 transparent; }
}

.wfm-signature {
    width: 100%; height: 180px; border: 1px dashed #9e9e9e; border-radius: 8px;
    background: #fff; touch-action: none; display: block;
}

.wfm-thumbs { display: flex; flex-wrap: wrap; gap: 8px; }
.wfm-thumb { position: relative; width: 96px; height: 96px; border-radius: 8px; overflow: hidden; background: #eee; }
.wfm-thumb img { width: 100%; height: 100%; object-fit: cover; }
.wfm-thumb .wfm-thumb-badge {
    position: absolute; left: 4px; bottom: 4px; font-size: 10px; padding: 1px 6px;
    border-radius: 10px; background: rgba(0,0,0,.6); color: #fff;
}
.wfm-thumb .wfm-thumb-remove { position: absolute; top: 0; right: 0; }

.wfm-timeline { list-style: none; margin: 0; padding: 0 0 0 12px; border-left: 2px solid #e0e0e0; }
.wfm-timeline li { position: relative; padding: 0 0 14px 14px; }
.wfm-timeline li::before {
    content: ''; position: absolute; left: -19px; top: 4px; width: 12px; height: 12px;
    border-radius: 50%; background: var(--dot, #1976d2); border: 2px solid #fff;
}

.wfm-type-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; border-radius: 10px; color: #fff; flex-shrink: 0;
}
.wfm-type-icon .material-icons { font-size: 20px; }

.wfm-kpi { padding: 16px; height: 100%; }
.wfm-kpi .wfm-kpi-value { font-size: 2rem; font-weight: 600; line-height: 1.1; }

.wfm-bars { display: flex; align-items: flex-end; gap: 10px; height: 160px; padding-top: 8px; }
.wfm-bars .wfm-bar-col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; height: 100%; justify-content: flex-end; }
.wfm-bars .wfm-bar-pair { display: flex; gap: 3px; align-items: flex-end; width: 100%; justify-content: center; flex: 1; }
.wfm-bars .wfm-bar { width: 40%; max-width: 22px; border-radius: 4px 4px 0 0; min-height: 2px; }
.wfm-bars .wfm-bar-label { font-size: 11px; color: #757575; }

.wfm-field-card { cursor: pointer; border-left: 4px solid var(--accent, #1976d2); }
.wfm-bottom-actions {
    position: sticky; bottom: 0; z-index: 5; padding: 12px 0;
    background: var(--mud-palette-background);
}
.wfm-clickable { cursor: pointer; }
.wfm-offline-banner { position: sticky; top: 0; z-index: 10; }
