.profile-pair{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px;align-items:start}
.profile-pair>.panel{min-width:0}.profile-pair .profile-map .map-layout,.profile-pair .map-summary{grid-template-columns:minmax(0,1fr)}
.portrait-figure{margin:0}.portrait-svg{width:100%;height:auto;max-width:560px;display:block}
.portrait-row{font-size:15px;font-weight:600;fill:#26352e}.portrait-state,.portrait-tick{font-size:13px;fill:#52665c}
.portrait-lane{stroke:#dfe7df;stroke-width:1}.portrait-hit{fill:transparent}
.portrait-mark{fill:#174d40;stroke:#174d40;stroke-width:2}.portrait-hollow{fill:#fff}
.portrait-legend{display:flex;flex-wrap:wrap;gap:8px 16px;font-size:.9rem;margin-top:8px}.portrait-key{width:16px;height:16px;margin-right:6px;vertical-align:-3px}
.portrait-meta{color:#52665c;font-size:.87rem}.portrait-area summary,.portrait-table summary{cursor:pointer;font-weight:700;padding:.8rem 0}
.profile-portrait ul{padding-left:20px}.profile-portrait li{margin:8px 0;overflow-wrap:anywhere}.profile-portrait h4{margin:10px 0 4px}
.portrait-correct summary{cursor:pointer;padding:10px 0;text-decoration:underline}.portrait-correct form{display:grid;gap:8px;margin:8px 0}
.profile-portrait select,.profile-portrait textarea{width:100%;max-width:100%;font-size:1rem}.profile-portrait select,.profile-portrait button{min-height:44px}
.portrait-check{display:flex;gap:10px;align-items:flex-start}.portrait-check input{width:24px;height:24px;flex:none}
.portrait-guidance{background:#f0f4ed;border-radius:14px;padding:14px 18px;margin:18px 0}
.portrait-table table{width:100%;border-collapse:collapse;font-size:.92rem}.portrait-table th,.portrait-table td{text-align:left;vertical-align:top;padding:8px 6px;border-bottom:1px solid #e3e9e3;overflow-wrap:anywhere}
.profile-portrait :is(summary,button,select,textarea,input):focus-visible{outline:3px solid #174d40;outline-offset:2px}
.portrait-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
@media(max-width:1000px){.profile-pair{grid-template-columns:minmax(0,1fr)}}
@media(max-width:600px){.portrait-row{font-size:24px}.portrait-state,.portrait-tick{font-size:20px}}
@media(forced-colors:active){.portrait-mark{fill:CanvasText;stroke:CanvasText}.portrait-hollow{fill:Canvas}.portrait-row,.portrait-state,.portrait-tick{fill:CanvasText}}
