/* MTC Integrada v0.6.6 — Mapa corporal de dor: somente visualização e interface */
.painmap066{--pm-teal:#155e55;--pm-line:#d8e8e2;--pm-bg:#f6faf8;font-size:13px}
.painmap066 *{box-sizing:border-box}
.painmap066 .pm-intro{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin-bottom:16px}
.painmap066 .pm-intro h3{font-size:19px;margin:0 0 4px;color:#153f38}
.painmap066 .pm-intro p{font-size:12px;margin:0;line-height:1.6;color:#637e74}
.painmap066 .pm-stat{border:1px solid var(--pm-line);background:var(--pm-bg);border-radius:11px;padding:10px 15px;color:#1b6c5d;font-weight:800;white-space:nowrap}
.pm-figures{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.pm-figure{border:1px solid var(--pm-line);border-radius:16px;background:linear-gradient(180deg,#f8fcfa,#eff7f3);padding:12px;min-width:0;text-align:center}
.pm-figure h4{font-size:14px;color:#164f45;margin:0 0 5px}
.pm-figure p{font-size:11px;color:#71877f;margin:0 0 8px}
.pm-art{display:block;margin:0 auto;width:100%;max-width:270px;height:auto;overflow:visible;touch-action:manipulation}
.pm-art [data-pain-region]{cursor:crosshair;stroke:#7dada0;stroke-width:1.45;transition:filter .15s,stroke .15s}
.pm-art [data-pain-region]:hover,.pm-art [data-pain-region]:focus-visible{stroke:#116959;stroke-width:2.7;filter:brightness(.97)}
.pm-art [data-pain-region]:focus-visible{outline:2px solid #17a183;outline-offset:2px}
.pm-art .pm-anatomical-line{fill:none;stroke:#8ead9f;stroke-width:1.1;opacity:.72;pointer-events:none}
.pm-art .pm-marker{cursor:pointer;outline:none}
.pm-art .pm-marker .pm-hit{fill:transparent}
.pm-art .pm-marker:hover .pm-ring,.pm-art .pm-marker:focus-visible .pm-ring{stroke:#0c6150;stroke-width:3}
.pm-art .pm-marker-text{fill:white;font-size:10px;font-weight:900;pointer-events:none;text-anchor:middle;dominant-baseline:middle}
.pm-legend{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin:9px 0 13px;color:#55756b;font-size:11px}
.pm-legend span{display:flex;align-items:center;gap:6px}
.pm-dot{display:inline-block;width:11px;height:11px;border-radius:100%;border:1px solid rgba(0,0,0,.12)}
.pm-actions{display:flex;flex-wrap:wrap;align-items:center;gap:9px;margin:13px 0}
.pm-muted{color:#6b847c;font-size:12px;line-height:1.65}
.pm-list{margin-top:16px;border-top:1px solid var(--pm-line);padding-top:14px}
.pm-list h3,.pm-history h3{font-size:16px;margin:0 0 12px;color:#244d43}
.pm-list-item{border:1px solid var(--pm-line);border-radius:12px;background:#fff;padding:12px;margin:9px 0;display:flex;align-items:center;justify-content:space-between;gap:10px}
.pm-list-item strong{font-size:13px;color:#173e36}
.pm-list-item p{margin:5px 0 0;color:#5f7970;font-size:11px;line-height:1.55}
.pm-list-item .pm-list-buttons{display:flex;gap:6px;flex-wrap:wrap}
.pm-intensity{display:inline-flex;border-radius:99px;min-width:31px;height:31px;align-items:center;justify-content:center;font-size:13px;font-weight:850;color:white;padding:0 7px}
.pm-empty{background:#f7faf8;border:1px dashed #c9dfd5;padding:18px;border-radius:12px;color:#607a70;text-align:center;font-size:12px}
.pm-history{margin-top:20px;border-top:1px solid var(--pm-line);padding-top:18px}
.pm-history table{border-collapse:collapse;width:100%;font-size:11px}
.pm-history td,.pm-history th{padding:9px 6px;border-bottom:1px solid #e2ede7;text-align:left;vertical-align:top}
.pm-history th{color:#486d61;font-weight:800}
.pm-history .pm-scroller{overflow-x:auto}
.pm-compare-controls{display:grid;grid-template-columns:1fr 1fr auto;gap:10px;align-items:end;margin:14px 0}
.pm-compare-controls label{font-size:11px;color:#42665a;font-weight:800}
.pm-compare-controls select{width:100%;min-height:40px;background:white;border:1px solid #cddfd8;border-radius:8px;padding:6px}
.pm-tag{display:inline-flex;background:#eaf5ef;color:#216c59;border-radius:99px;font-size:10px;padding:4px 8px;font-weight:800}
.pm-modal066 .pm-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.pm-modal066 label{display:block;color:#34594e;font-weight:780;font-size:12px;margin:0 0 6px}
.pm-modal066 input,.pm-modal066 select,.pm-modal066 textarea{width:100%;border:1px solid #caddd4;border-radius:9px;padding:10px;background:#fff;color:#204b40;font:inherit}
.pm-modal066 textarea{min-height:74px}
.pm-modal066 .pm-field{margin-bottom:12px;min-width:0}
.pm-modal066 .pm-wide{grid-column:1/-1}
.pm-modal066 .pm-extra{border:1px solid #dbeae3;border-radius:10px;padding:12px 13px;margin:12px 0}
.pm-modal066 .pm-extra summary{cursor:pointer;color:#225f50;font-weight:800;margin-bottom:9px}
.pm-modal066 .pm-range{display:flex;align-items:center;gap:13px}
.pm-modal066 .pm-range input{flex:1;accent-color:#177864;padding:0;border:0}
.pm-modal066 .pm-range output{min-width:41px;background:#e8f4ee;border-radius:8px;padding:10px 7px;text-align:center;color:#176355;font-weight:850}
.pm-modal066 .pm-modal-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:15px}
.pm-modal066 .pm-note{font-size:11px;color:#7d8174;line-height:1.65;margin-top:11px}
.pm-compare066{font-size:12px}
.pm-compare066 .pm-compare-stat{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin:14px 0}
.pm-compare066 .pm-compare-stat div{border:1px solid #dceae3;border-radius:11px;padding:10px;background:#f8fbf9}
.pm-compare066 .pm-compare-stat strong{display:block;font-size:19px;color:#195f52}
.pm-compare066 .pm-compare-stat small{font-size:10px;color:#687e76}
.pm-compare066 table{width:100%;border-collapse:collapse;font-size:11px}
.pm-compare066 td,.pm-compare066 th{padding:8px 7px;border-bottom:1px solid #e1ede6;text-align:left}
.pm-compare066 th{color:#376758}
.pm-card-summary{border:1px solid #d9e9e2;border-radius:13px;background:#f7faf9;padding:15px;margin:14px 0}
.pm-card-summary h3{margin:0 0 9px;color:#174f43}
.pm-card-summary .pm-kpis{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin:8px 0;color:#4a7165;font-size:12px}
.pm-card-summary button{margin-top:7px}
.pm-snapshot-images{display:grid;grid-template-columns:1fr 1fr;gap:12px;max-width:650px;margin:16px auto}
.pm-snapshot-images svg{width:100%;max-width:230px}
.pm-snapshot-images .pm-figure{padding:9px}
@media(max-width:760px){.pm-figures{gap:8px}.pm-figure{padding:8px}.pm-figure h4{font-size:12px}.pm-compare-controls{grid-template-columns:1fr 1fr}.pm-compare-controls button{grid-column:1/-1}}
@media(max-width:530px){.pm-figures{grid-template-columns:1fr 1fr;gap:7px}.pm-figure{padding:6px}.pm-art{max-width:190px}.pm-list-item{align-items:flex-start;flex-direction:column}.pm-modal066 .pm-form-grid{grid-template-columns:1fr}.pm-compare066 .pm-compare-stat{grid-template-columns:1fr 1fr}.pm-snapshot-images{gap:7px}}
@media print{.pm-actions,.pm-list-buttons,.pm-navigation,.pm-compare-controls{display:none!important}}
