.profile-map .map-layout{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:24px;align-items:start}
.map-figure{margin:0}.map-svg{width:100%;height:auto;max-width:520px;display:block;touch-action:pan-y;user-select:none}
.map-ring,.map-spoke{fill:none;stroke:#dfe7df;stroke-width:1}
.map-scale{font-size:14px;fill:#52665c}.map-label{font-size:16px;fill:#3d4b44}.map-label-selected{font-weight:700;fill:#174d40}
.map-current{fill:rgba(23,77,64,.2);stroke:#174d40;stroke-width:2}
.map-dot{fill:#174d40;stroke:#fff;stroke-width:1.5}.map-dot-setback{fill:#9b3d1f}
.map-target-line{stroke:#b5651d;stroke-width:2;stroke-dasharray:6 4}
.map-handle-hit{fill:transparent}.map-handle-dot{fill:#b5651d;stroke:#fff;stroke-width:2}
.map-handle-editable{cursor:grab;touch-action:none}.map-handle-editable:active{cursor:grabbing}
.map-handle:focus{outline:none}.map-handle:focus-visible .map-handle-dot{stroke:#174d40;stroke-width:4}
.map-legend{display:flex;flex-wrap:wrap;gap:14px;font-size:.9rem;margin-top:8px}.map-key{display:inline-block;width:14px;height:14px;border-radius:50%;margin-right:6px;vertical-align:-2px}.map-key-current{background:#174d40}.map-key-target{background:#b5651d}
.map-table{width:100%;border-collapse:collapse;font-size:.92rem}.map-table caption{text-align:left;font-weight:600;margin-bottom:6px}.map-table th,.map-table td{padding:8px 6px;border-bottom:1px solid #e3e9e3;text-align:left;vertical-align:top;overflow-wrap:anywhere}
.map-badge{display:inline-block;background:#fbe9e2;color:#7a2e14;border-radius:999px;padding:2px 10px;font-size:.85rem}
.map-meta{color:#5d6d65;font-size:.85rem}.map-scan{background:#f0f4ed;border-radius:12px;padding:10px 14px}
.map-form fieldset{border:0;padding:0;margin:20px 0 0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.map-form legend{font-weight:700;margin-bottom:6px}.map-form .meta{grid-column:1/-1}
.map-form label{display:flex;flex-direction:column;gap:6px}.map-form select{min-height:44px;font-size:1rem}
.map-form select:focus-visible,.map-form button:focus-visible,.profile-map a:focus-visible,.profile-map button:focus-visible{outline:3px solid #174d40;outline-offset:2px}
.profile-map button{min-height:44px}.map-preview{font-weight:600;color:#174d40}
.map-focus{background:#e8f0e8;border:1px solid #c9d9cd;border-radius:18px;padding:18px;margin:20px 0}
.map-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:20px}.map-summary ul,.map-timeline ol{padding-left:20px}.map-summary li,.map-timeline li{margin:6px 0;overflow-wrap:anywhere}
@media(max-width:720px){.profile-map .map-layout,.map-summary,.map-form fieldset{grid-template-columns:1fr}.map-label{font-size:16px}}

.map-focus p{white-space:pre-line}.map-form{min-width:0}.map-form select{width:100%;max-width:100%;min-width:0}.map-timeline summary{cursor:pointer;font-weight:700;padding:1rem 0}.map-table{table-layout:fixed}.map-table th,.map-table td{word-break:normal}.map-table th:first-child{width:27%}

.map-stage-details{margin-top:20px}.map-stage-details summary{font-weight:700;cursor:pointer;padding:1rem 0}.map-table th small{text-transform:none;letter-spacing:normal;font-weight:400;font-size:.95rem;line-height:1.5}
@media(max-width:720px){.map-table{display:block;table-layout:auto}.map-table thead,.map-table caption{display:none}.map-table tbody,.map-table tr,.map-table th,.map-table td{display:block;width:auto!important}.map-table tr{padding:12px 0;border-bottom:1px solid #dfe7df}.map-table th,.map-table td{border:0;padding:5px 0;overflow-wrap:break-word}.map-table td:before{content:attr(data-label) ": ";font-weight:600}.map-table th{text-transform:none;letter-spacing:normal;font-size:1rem}}
