.map-page .map-entity-panel {
    margin-top: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border-subtle, rgba(0, 0, 0, 0.08));
}

.map-entity-list {
    list-style: none;
    margin: 0.5rem 0 0;
    padding: 0;
    max-height: 280px;
    overflow: auto;
}

.map-entity-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.45rem 0.35rem;
    border-bottom: 1px solid var(--border-subtle, rgba(0, 0, 0, 0.06));
}

.map-entity-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    font-size: 0.82rem;
}

.map-entity-body strong {
    font-size: 0.85rem;
    word-break: break-all;
}

.map-entity-pos {
    color: var(--text-muted, #666);
    font-family: ui-monospace, monospace;
    font-size: 0.75rem;
}

.map-entity-tag {
    font-size: 0.7rem;
    color: var(--accent, #2563eb);
}

.map-entity-tag.muted {
    color: var(--text-muted, #888);
}

.map-entity-tools {
    margin-top: 0.35rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.map-entity-search {
    width: 100%;
}

.map-entity-delete-btn {
    align-self: flex-start;
    font-size: 0.75rem;
    color: hsl(0 55% 45%);
    border-color: hsl(0 60% 88%);
}

.map-entity-delete-btn:hover {
    color: hsl(0 65% 40%);
    border-color: hsl(0 60% 75%);
    background: hsl(0 86% 97%);
}

.map-entity-hash-row {
    display: flex;
    align-items: baseline;
    gap: 0.35rem;
    flex-wrap: wrap;
}

.map-entity-hash-label {
    font-size: 0.68rem;
    color: var(--text-muted, #888);
    letter-spacing: 0.02em;
}

.map-entity-hash {
    font-family: ui-monospace, monospace;
    font-size: 0.82rem;
    word-break: break-all;
}

.map-entity-empty {
    padding: 0.5rem 0.25rem;
    font-size: 0.8rem;
    color: var(--text-muted, #888);
    list-style: none;
}

.map-entity-focus-btn {
    flex-shrink: 0;
    font-size: 0.72rem;
}
