/* Shared pain map, isolated from general button styles. */
.body-map{margin-top:14px;padding:12px;background:#f5f8f7;border:1px solid #dce7e3;border-radius:10px;color:#29484b}.body-map [hidden]{display:none!important}.body-map .bm-tabs{display:flex;gap:5px;background:#e7eeeb;padding:4px;border-radius:8px}.body-map .bm-tabs button{flex:1;border:0;border-radius:6px;padding:9px 7px;background:transparent;color:#526e6c;font-size:12px;font-weight:700;cursor:pointer;min-height:40px}.body-map .bm-tabs button[aria-pressed=true]{background:white;color:#286b70;box-shadow:0 1px 4px #193e3b15}.bm-instruction{margin:10px 0;color:#687e7b;font-size:11px;line-height:1.5}.bm-figure{display:block;width:min(100%,174px);height:auto;max-height:none;margin:0 auto;overflow:visible}.bm-figure text{font:12px Arial,sans-serif;fill:#7d9189}.bm-figure .bm-zone{fill:#e7ede9;stroke:#8d9e96;stroke-width:1.1;stroke-linejoin:round;cursor:pointer;transition:fill .12s}.bm-figure .bm-zone:hover{fill:#ccddd5;stroke:#438984}.bm-figure .bm-zone:focus-visible{outline:none;stroke:#215e64;stroke-width:2.2}.bm-figure .bm-zone.is-selected{fill:#cb6e64;stroke:#a35b53}.bm-figure .bm-zone.is-selected:hover{fill:#b65b52}.bm-list-label{display:block;font-size:11px;color:#687e7b;margin-top:8px}.bm-list-label select{display:block;width:100%;min-width:0;margin-top:5px;border:1px solid #dce7e3;border-radius:7px;padding:10px;background:white;color:#29484b;font-size:12px}.bm-selected{display:flex;gap:6px;flex-wrap:wrap;margin-top:12px}.body-map .bm-chip{display:inline-flex;align-items:center;gap:8px;max-width:100%;background:#fbeae6;border:1px solid #e7b7ad;border-radius:6px;padding:7px 9px;font-size:11px;color:#92483f;min-height:34px;line-height:1.4}.bm-chip span{font-size:16px}.bm-empty{font-size:11px;line-height:1.5;color:#687e7b}.pain-detail-text{margin-top:10px;font-size:12px;line-height:1.5}.pain-region-tags{display:flex;flex-wrap:wrap;gap:5px;margin-top:8px}.pain-region-tags span{font-size:11px;padding:5px 8px;border-radius:5px;background:#fbeae6;color:#92483f}.body-map:has(svg[role=img]) .bm-zone{cursor:default}

.bm-anatomy{fill:none;stroke:#97a69e;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}.bm-figure .bm-zone:focus{outline:none;stroke:#215e64;stroke-width:2.2}
