/* Parliamentary profiles: shared site typography, a consistent baseline for comparable numbers,
   and a narrow orange accent for the member's own records. */
.mpa {
    --ink: #132b3c;
    --muted: #4e6271;
    --line: #dce3e7;
    --soft: #edf2f5;
    --orange: #dc650f;
    --link: #994000;
    --shadow: 0 3px 7px #10293905, 0 12px 26px -18px #17374c38;
    background: #f5f7f8;
    color: var(--ink);
    font: 15px/1.55 var(--font);
    overflow-wrap: anywhere;
}
.mpa *, .mpa *::before, .mpa *::after { box-sizing: border-box }
.mpa :is(button, input, select, textarea) { font-family: var(--font) }
.mpa [hidden], .mpa dialog:not([open]) { display: none !important }
.mpa .mpa-wrap { width: min(calc(100% - 64px), 1664px); margin-inline: auto }
.mpa h1, .mpa h2, .mpa h3, .mpa p, .mpa dl, .mpa dd, .mpa figure { margin: 0 }
.mpa h1, .mpa h2, .mpa h3 { color: var(--ink); font-family: var(--font); letter-spacing: -.035em; line-height: 1.13 }
.mpa h2 { font-size: clamp(23px, 2.5vw, 32px) }
.mpa h3 { font-size: 21px }
.mpa a { color: var(--ink); text-decoration: none; text-underline-offset: 3px }
.mpa a:hover { color: var(--link); text-decoration: underline }
.mpa :where(a, button, summary, input, select, textarea, [tabindex]):focus-visible { outline: 3px solid #b94c04; outline-offset: 3px }
.mpa :where(h2, h3) > svg { color: var(--orange); vertical-align: -.05em; margin-right: .16em }
.mpa img { max-width: 100% }
.mpa svg { flex: none }
.mpa-mast {
    position: relative;
    isolation: isolate;
    background-color: #f5f7f8;
    background-image: radial-gradient(ellipse 62% 105% at 92% 0%, #fbe9d6 0%, transparent 78%), linear-gradient(#fcfcfa, #f5f7f8);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center;
    padding: 16px 0 0;
}
.mpa-scenery { position: absolute; inset: 0; overflow: hidden; z-index: -1; pointer-events: none }
.mpa-scenery svg { display: block; position: absolute; right: 0; top: -8px; width: min(46vw, 620px); height: auto }
.mpa-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; padding-bottom: 29px }
.mpa-crumbs a { display: inline-flex; align-items: center; gap: 5px }
.mpa-hero { position: relative; isolation: isolate; display: grid; grid-template-columns: 172px minmax(0, 1fr) auto; grid-template-areas: "portrait name tools" "portrait facts tools"; align-items: center; gap: 0 28px; padding-right: 26px }
.mpa-hero::before { content: ""; position: absolute; z-index: -1; inset: 10px 0 0 30px; border-radius: 13px; background: linear-gradient(110deg,#fff 0%,#fffffff7 56%,#ffffffed); box-shadow: var(--shadow); border: 1px solid #e5eaed }
.mpa-portrait { grid-area: portrait; width: 172px; height: 180px; overflow: hidden; border-radius: 13px; background: #dde6eb; box-shadow: 0 4px 15px #112c3f22; display: grid; place-items: center; font: 44px var(--font) }
.mpa-portrait img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 25% }
.mpa-nameplate { grid-area: name; align-self: end; padding-top: 24px }
.mpa-status { display: inline-flex; align-items: center; gap: 5px; padding: 2px 8px; border-radius: 3px; font-size: 11px; line-height: 1.55; color: var(--muted); background: var(--soft); font-weight: 700 }
.mpa-status.is-current { color: #20604c; background: #e5f1e9 }
.mpa-nameplate h1 { font-size: clamp(38px, 4.8vw, 62px); line-height: 1.06; margin: 5px 0; font-weight: 700 }
.mpa-identity { display: flex; align-items: baseline; flex-wrap: wrap; gap: 1px 7px; font-size: clamp(14px,1.4vw,18px) }
.mpa-identity i { color: #82919b; font-style: normal }
.mpa-facts { grid-area: facts; display: flex; gap: 4px 17px; flex-wrap: wrap; color: var(--muted); font-size: 12px; padding: 13px 0 19px }
.mpa-facts > * { display: inline-flex; gap: 5px; align-items: center; color: inherit }
.mpa-facts .mpa-verified { color: #216347 }
.mpa-tools { grid-area: tools; margin-top: 10px; border-left: 1px solid var(--line); padding: 12px 0 12px 24px; min-width: 158px; max-width: 215px }
.mpa-tools .share-card-trigger { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 8px 16px; border: 1px solid #c8d3da; border-radius: 7px; background: #fff; color: var(--ink); box-shadow: 0 2px 5px #15304409; font: 600 14px/1.35 var(--font); cursor: pointer }
.mpa-tools .share-card-trigger:hover { border-color: #d6854b; color: var(--link) }
.mpa-social { display: flex; gap: 4px 10px; flex-wrap: wrap; margin-top: 8px; font-size: 12px }
.mpa-body { padding: 13px 0 28px }
.mpa-summary, .mpa-kpi, .mpa-analysis, .mpa-bio-card, .mpa-commission-card, .mpa-chart-grid > figure {
    border: 1px solid var(--line); background: white; border-radius: 10px; box-shadow: var(--shadow);
}
.mpa-summary { display: grid; grid-template-columns: minmax(160px, 24%) minmax(0,1fr); align-items: center; gap: 24px; padding: 18px 22px }
.mpa-summary h2 { display: flex; align-items: center; font-size: 21px; line-height: 1.22; padding-left: 12px; border-left: 4px solid var(--orange) }
.mpa-summary p { border-left: 1px solid var(--line); padding-left: 23px; font-size: 14px; line-height: 1.6 }
.mpa .mpa-kpis { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; margin: 19px 0 15px }
.mpa-kpi { padding: 16px 17px 12px; min-width: 0; display: grid; grid-template-rows: auto 1fr auto }
.mpa-kpi dt { display: grid; grid-template-columns: 37px minmax(0,1fr); align-items: center; gap: 11px; font-size: 14px; line-height: 1.25; font-weight: 650; max-width: 215px }
.mpa-icon { display: grid; place-items: center; width: 37px; height: 37px; border: 1px solid #f3dfcd; border-radius: 50%; color: #c95c0c; background: #fffaf5 }
.mpa-kpi dd:not(.mpa-stat-source) { padding-left: 48px; margin-top: 4px; font: 700 42px/1.1 var(--font); letter-spacing: -.055em; font-variant-numeric: lining-nums tabular-nums }
.mpa-stat-source { display: flex; align-items: center; flex-wrap: wrap; gap: 2px 8px; color: var(--muted); margin-top: 10px!important; font-size: 11px; line-height: 1.3 }
.mpa-stat-source a, .mpa-chart-source a { display: inline-flex; gap: 3px; align-items: center; font-weight: 600 }
.mpa .mpa-tabs { display: flex; align-items: stretch; border-bottom: 1px solid #cbd6dd; margin: 0 0 22px; scroll-margin-block-start: 84px }
.mpa-tabs a { position: relative; display: flex; justify-content: center; align-items: center; gap: 10px; flex: 1; min-height: 54px; padding: 8px 3px; font-size: 14px; line-height: 1.2; font-weight: 650 }
.mpa-tabs a[aria-current], .mpa-tabs a:hover { color: #994000; text-decoration: none }
.mpa-tabs a[aria-current]::after { content: ""; position: absolute; inset: auto 0 -1px; background: var(--orange); height: 4px; border-radius: 5px 5px 0 0 }
.mpa-analysis, .mpa-bio-card, .mpa-commission-card, .mpa-chart-grid > figure { padding: 22px 24px }
.mpa-scope, .mpa-explain, .mpa-chart-source, .mpx-eyebrow, .mpx-muted, .mpx-source, .mpx-method-note, .mpx-scroll-hint { color: var(--muted) }
.mpa .mpa-scope { margin-top: 5px; font-size: 13px }
.mpa-analysis .mpa-chart { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line) }
.mpa-chart figcaption { font-size: 15px; font-weight: 700; margin-bottom: 12px }
.mpa .mpa-bars { display: grid; gap: 10px }
.mpa-bar-row { display: grid; grid-template-columns: minmax(95px,29%) minmax(0,1fr); align-items: center; gap: 12px; font-size: 13px; line-height: 1.3 }
.mpa-bar-row dd { display: grid; grid-template-columns: minmax(0,1fr) minmax(6.5ch,max-content); gap: 10px; align-items: center; font-variant-numeric: tabular-nums; text-align: right }
.mpa-bar-row strong { white-space: nowrap }
.member-analysis-page .toast:not(.show) { visibility: hidden; opacity: 0; pointer-events: none }
.mpa-track { height: 12px; display: flex; background: #f0f3f5; border-radius: 3px; overflow: hidden }
.mpa-track > span { display: block; background: #aab9c3; border-radius: 3px }
.mpa-own .mpa-track > span { background: linear-gradient(90deg,#f98928,#d6600f) }
.mpa-own dt, .mpa-own strong { font-weight: 750; color: var(--ink) }
.mpa .mpa-chart-source { margin-top: 13px; display: flex; gap: 8px; align-items: center; font-size: 11px }
.mpa .mpa-explain { font-size: 12px; line-height: 1.5; margin-top: 10px }
.mpa .mpx-text-link { display: inline-flex; align-items: center; gap: 7px; color: var(--link); font-weight: 650; font-size: 13px; min-height: 32px }
.mpa-analysis > .mpx-text-link, .mpa :is(.mpa-bio-card, .mpa-commission-card) .mpx-text-link { margin-top: 5px }
.mpa :is(.mpa-bio-card, .mpa-commission-card) h2 { font-size: 24px; margin-bottom: 11px }
.mpa .mpa-bio-card p, .mpa .mpa-commission-card li { font-size: 14px; line-height: 1.65 }
.mpa .mpx-simple-list { padding-left: 19px; margin: 0 }
.mpa-panel, .mpa-panel > * { min-width: 0 }
.mpa .mpx-section, .mpa .mpx-related { margin: 30px 0 0; border-top: 1px solid var(--line); padding-top: 23px }
.mpa .mpx-section-head { display: flex; gap: 10px 18px; flex-wrap: wrap; align-items: baseline; justify-content: space-between; margin-bottom: 12px }
.mpa .mpx-eyebrow, .mpa .mpx-source, .mpa .mpx-method-note, .mpa .mpx-scroll-hint { font-size: 12px; line-height: 1.5 }
.mpa .mpx-muted { font-size: 14px; line-height: 1.6 }
.mpa .mpx-activity-list, .mpa .mpx-timeline { list-style: none; padding: 0 0 0 18px; margin: 12px 0 0 6px; border-left: 1px solid #df9f70 }
.mpa .mpx-activity-list li, .mpa .mpx-timeline li { position: relative; display: grid; grid-template-columns: minmax(108px,18%) minmax(0,1fr); gap: 14px; padding: 15px 18px; border: 1px solid var(--line); border-radius: 7px; background: #fff; margin: 7px 0 }
.mpa .mpx-activity-list li::before, .mpa .mpx-timeline li::before { content: ""; position: absolute; left: -23px; top: 24px; width: 7px; height: 7px; border: 2px solid var(--orange); background: #fff; border-radius: 50% }
.mpa .mpx-activity-meta { display: flex; flex-direction: column; gap: 5px; font-size: 11px; color: var(--muted) }
.mpa .mpx-activity-meta time { font-size: 13px; font-weight: 650; color: var(--ink); font-variant-numeric: tabular-nums }
.mpa .mpx-activity-copy h3 { font-size: 19px; line-height: 1.3 }
.mpa .mpx-activity-copy h3 svg { margin-inline-start: 4px; color: var(--link) }
.mpa .mpx-activity-copy p { margin-top: 5px; font-size: 14px }
.mpa .mpx-activity-copy small { display: block; margin-top: 6px }
.mpa .mpx-topics, .mpa .mpx-related-links { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 12px 0 0; padding: 0 }
.mpa .mpx-topics a, .mpa .mpx-related-links a { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; border: 1px solid #dce3e8; background: #eaf0f3; border-radius: 18px; padding: 6px 12px }
.mpa .mpx-topics span { font-variant-numeric: tabular-nums; color: var(--muted) }
.mpa .mpx-chart-grid, .mpa-chart-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; margin-top: 20px }
.mpa .mpx-table-scroll { overflow: auto; max-width: 100%; background: white; border: 1px solid var(--line); border-radius: 9px }
.mpa .mpx-scorecard { border-collapse: collapse; width: 100%; min-width: 760px; text-align: right; font-size: 14px; font-variant-numeric: tabular-nums }
.mpa .mpx-scorecard caption { text-align: left; font-size: 12px; color: var(--muted); padding: 9px 14px }
.mpa .mpx-scorecard :is(th,td) { padding: 12px; vertical-align: middle; border-bottom: 1px solid var(--line) }
.mpa .mpx-scorecard :is(td,th):first-child, .mpa .mpx-table-source { text-align: left }
.mpa .mpx-scorecard thead th { font-size: 12px; background: var(--soft) }
.mpa .mpx-scorecard .mpx-table-value { color: var(--link); background: #fff8f1; font-size: 22px; font-weight: 650 }
.mpa .mpx-table-source span { display: block; line-height: 1.4; font-size: 11px; color: var(--muted) }
.mpa .mpx-scroll-hint { margin: 10px 0 5px }
.mpa .mpx-signature { margin: 14px 0 3px }
.mpa .mpx-signature > div { display: flex; align-items: center; gap: 18px }
.mpa .mpx-signature small, .mpa .mpx-comparison-insights small { display: block; font-size: 12px; color: var(--muted) }
.mpa .mpx-signature dd { font: 700 30px var(--font) }
.mpa .mpx-comparison-insights p, .mpa .mpx-method-note { margin-top: 14px }
.mpa .mpx-filters { display: flex; align-items: flex-end; gap: 12px; padding: 16px; border: 1px solid var(--line); border-radius: 8px; background: white; flex-wrap: wrap }
.mpa .mpx-filters label { flex: 1 1 125px; font-size: 13px; font-weight: 600; min-width: 0 }
.mpa .mpx-filters :is(input, select) { display: block; width: 100%; min-width: 0; padding: 7px 9px; font: inherit; margin-top: 5px; border-radius: 4px; border: 1px solid #bfccd4; height: 40px; color: var(--ink); background: #fff }
.mpa .mpx-filters button, .mpa .mpx-correction button { min-height: 40px; border-radius: 5px; padding: 8px 16px; background: var(--ink); color: white; border: 0; font-weight: 650; cursor: pointer }
.mpa .mpx-feed-meta { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; color: var(--muted); font-size: 13px; margin-top: 15px }
.mpa .mpx-pagination { display: flex; gap: 4px; margin: 14px 0; flex-wrap: wrap }
.mpa .mpx-pagination a { border: 1px solid var(--line); padding: 7px 11px; border-radius: 4px; background: white }
.mpa .mpx-pagination [aria-current] { color: white; background: var(--ink) }
.mpa .mpx-data-note, .mpa .mpx-empty { padding: 12px 15px; background: #edf2f5; font-size: 13px; margin-top: 11px; border-left: 3px solid #9baebb }
.mpa .mpx-biography-grid { display: grid; grid-template-columns: minmax(0,2fr) minmax(0,1fr); gap: 18px; align-items: start }
.mpa .mpx-biography-prose, .mpa .mpx-biography-facts { padding: 22px; border: 1px solid var(--line); border-radius: 9px; background: white }
.mpa .mpx-biography-prose > h3 { font-size: 24px; margin: 20px 0 10px }
.mpa .mpx-biography-prose > h3:first-child { margin-top: 0 }
.mpa .mpx-biography-prose p { margin-bottom: 10px; line-height: 1.75 }
.mpa .mpx-biography-facts section + section { border-top: 1px solid var(--line); margin-top: 14px; padding-top: 13px }
.mpa .mpx-biography-facts h3 { margin-bottom: 6px }
.mpa .mpx-timeline > li { grid-template-columns: minmax(58px,20%) minmax(0,1fr); gap: 9px; padding: 13px; font-size: 14px }
.mpa .mpx-timeline > li > span { color: var(--muted); font-size: 12px }
.mpa .mpx-commission-list, .mpa .mpx-source-list, .mpa .mpx-record-list { list-style: none; margin: 0; padding: 0 }
.mpa .mpx-commission-list li, .mpa .mpx-source-list li, .mpa .mpx-record-list li { padding: 13px 2px; border-bottom: 1px solid var(--line) }
.mpa .mpx-source-list :is(small, span) { display: block; font-size: 12px; color: var(--muted) }
.mpa .mpx-election-facts { display: flex; gap: 18px; flex-wrap: wrap; margin: 14px 0 }
.mpa .mpx-election-facts dt { color: var(--muted); font-size: 13px }
.mpa .mpx-election-facts dd { font: 700 25px var(--font) }
.mpa .mpx-disclosure summary { cursor: pointer; font-weight: 650; padding-block: 12px }
.mpa .mpx-disclosure-body { padding: 6px 0 16px }
.mpa .mpx-disclosure summary > span { margin-left: 6px; color: var(--muted); font-size: 13px }
.mpa .mpx-community-action { padding: 12px 17px; margin-bottom: 16px; display: flex; align-items: center; justify-content: space-between; gap: 10px; border: 1px solid var(--line); border-radius: 8px; background: white }
.mpa .profile-engagement { background: transparent; margin: 0; padding: 0 }
.mpa .profile-engagement > .container { width: 100%; max-width: none; padding: 0 }
.mpa .profile-comments-stage { padding: 22px; border: 1px solid var(--line); box-shadow: var(--shadow); background: white; border-radius: 9px }
.mpa .profile-comments-stage h2 { font-family: var(--font) }
.mpa .comment-form-footer button { background: var(--ink); color: #fff }
.mpa .mpx-peer-list { list-style: none; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 9px; padding: 0; margin: 12px 0 }
.mpa .mpx-peer-list li { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 7px; padding: 10px 12px; background: #fff }
.mpa .mpx-peer { display: flex; align-items: center; gap: 10px; min-width: 0; flex: 1 }
.mpa .mpx-peer img, .mpa .mpx-peer-initials { flex: none; width: 40px; height: 43px; object-fit: cover; object-position: center top; border-radius: 5px; background: var(--soft); display: grid; place-items: center }
.mpa .mpx-peer strong, .mpa .mpx-peer small { display: block; font-size: 13px; line-height: 1.4 }
.mpa .mpx-peer small { font-size: 11px; color: var(--muted) }
.mpa .mpx-peer-compare { display: grid; place-items: center; min-width: 32px; height: 36px; color: var(--muted) }
.mpa .mpx-peer-compare span { position: absolute; clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden }
.mpa .profile-search-faq .section-heading { margin: 0 0 14px }
.mpa .faq-list { display: grid; gap: 6px }
.mpa .faq-item { padding: 0 14px; margin: 0; border: 1px solid var(--line); border-radius: 6px; background: white }
.mpa .faq-item > summary { font-size: 14px }
.mpa .mpx-correction { display: flex; align-items: center; justify-content: space-between; gap: 13px; padding: 17px 20px; margin: 22px 0 0; border-radius: 8px; background: #102c40; color: white }
.mpa .mpx-correction > span { display: flex; align-items: center; gap: 10px; font-weight: 650 }
.mpa .mpx-correction > span svg { color: #ffa754 }
.mpa .mpx-correction button { background: #ffae6a; color: #34200f; flex: none }
@media (min-width: 1024px) {
    .mpa .mpx-scorecard { min-width: 0 }
    .mpa .mpx-scroll-hint { display: none }
}
@media (max-width: 880px) {
    .mpa .mpa-wrap { width: calc(100% - 40px) }
    .mpa-hero { grid-template-columns: 136px minmax(0,1fr) auto; column-gap: 17px; padding-right: 16px }
    .mpa-portrait { width: 136px; height: 155px }
    .mpa-tools { min-width: 0; padding-left: 15px; max-width: 150px }
    .mpa-kpi { padding: 12px }
    .mpa-kpi dt { grid-template-columns: 29px minmax(0,1fr); gap: 7px; font-size: 13px }
    .mpa-icon { width: 29px; height: 29px }
    .mpa-icon svg { width: 16px; height: 16px }
    .mpa-kpi dd:not(.mpa-stat-source) { padding-left: 36px; font-size: 37px }
    .mpa-analysis, .mpa-bio-card, .mpa-commission-card, .mpa-chart-grid > figure { padding: 17px }
    .mpa .mpx-peer-list { grid-template-columns: repeat(2,minmax(0,1fr)) }
}
@media (max-width: 650px) {
    .mpa .mpa-wrap { width: calc(100% - 28px) }
    .mpa-mast { padding-top: 10px }
    .mpa-scenery svg { width: 64vw }
    .mpa-crumbs { font-size: 11px; padding-bottom: 16px; gap: 5px }
    .mpa-hero { grid-template-columns: 92px minmax(0,1fr); grid-template-areas: "portrait name" "facts facts" "tools tools"; gap: 0 13px; border: 1px solid var(--line); border-radius: 10px; background: #fffffff3; padding: 12px; box-shadow: var(--shadow) }
    .mpa-hero::before { display: none }
    .mpa-portrait { width: 92px; height: 109px; border-radius: 7px }
    .mpa-nameplate { align-self: center; padding: 0 }
    .mpa-nameplate h1 { font-size: clamp(29px,7.9vw,40px); margin: 4px 0 6px }
    .mpa-status { font-size: 10px }
    .mpa-identity { font-size: 13px; line-height: 1.45; gap: 0 5px }
    .mpa-facts { margin-top: 10px; padding: 7px 0 0; border-top: 1px solid var(--line); gap: 3px 10px; font-size: 11px }
    .mpa-tools { border: 0; padding: 0; margin: 8px 0 0; max-width: none; display: flex; gap: 12px; align-items: center; flex-wrap: wrap }
    .mpa-tools .share-card-trigger { min-height: 32px; font-size: 12px; padding: 5px 9px }
    .mpa-social { margin: 0; font-size: 11px }
    .mpa-body { padding-top: 10px; padding-bottom: calc(70px + env(safe-area-inset-bottom, 0px)) }
    .mpa-summary { display: block; padding: 12px 14px }
    .mpa-summary h2 { font-size: 19px; padding-left: 8px }
    .mpa-summary p { font-size: 13px; margin-top: 7px; padding: 0; border: 0; line-height: 1.5 }
    .mpa .mpa-kpis { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; margin: 10px 0 }
    .mpa-kpi { padding: 10px 12px; border-radius: 7px }
    .mpa-kpi dt { font-size: 12px; min-height: 30px }
    .mpa-kpi dd:not(.mpa-stat-source) { font-size: 33px; margin-top: 0 }
    .mpa-stat-source { font-size: 10px; margin-top: 4px!important; gap: 4px }
    .mpa .mpa-tabs { margin-bottom: 14px; scroll-margin-top: 68px }
    .mpa-tabs a { min-width: 0; flex-direction: column; gap: 4px; padding: 6px 1px 9px; font-size: 11px; line-height: 1.2; text-align: center; min-height: 49px }
    .mpa-tabs a svg { width: 16px; height: 16px }
    .mpa .mpx-biography-grid, .mpa-chart-grid { grid-template-columns: minmax(0,1fr); gap: 10px }
    .mpa-bar-row { grid-template-columns: minmax(79px,29%) minmax(0,1fr); gap: 6px; font-size: 12px }
    .mpa-bar-row dd { gap: 5px }
    .mpa .mpx-section, .mpa .mpx-related { margin-top: 22px; padding-top: 17px }
    .mpa .mpx-activity-list { margin-left: 3px; padding-left: 12px }
    .mpa .mpx-activity-list li { display: block; padding: 11px 12px }
    .mpa .mpx-activity-list li::before { left: -17px; top: 17px }
    .mpa .mpx-activity-meta { flex-direction: row; flex-wrap: wrap; gap: 4px 9px; margin-bottom: 5px; align-items: baseline }
    .mpa .mpx-activity-copy h3 { font-size: 17px }
    .mpa .mpx-filters { padding: 12px; gap: 7px }
    .mpa .mpx-filters label:first-of-type { flex-basis: 100% }
    .mpa .mpx-filters button { flex: 1 0 100% }
    .mpa .mpx-biography-prose, .mpa .mpx-biography-facts, .mpa .profile-comments-stage { padding: 15px }
    .mpa .profile-comments-layout, .mpa .comment-form-grid { grid-template-columns: minmax(0,1fr) }
    .mpa .mpx-peer-list { grid-template-columns: 1fr }
    .mpa .mpx-correction { padding: 12px; font-size: 12px; gap: 8px }
    .mpa .mpx-correction button { min-height: 35px; padding: 6px 9px; font-size: 12px }
}
@media (prefers-reduced-motion: no-preference) {
    .mpa-tabs a, .mpa-tools .share-card-trigger, .mpa .mpx-peer-list li { transition: color .16s, border-color .16s, background-color .16s }
    .mpa .mpx-peer-list li:hover { border-color: #cfae90; background: #fffcfa }
}
.mpa .share-card-dialog::backdrop {
    background: rgb(10 28 41 / 66%);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}
.mpa .share-card-dialog { box-shadow: 0 10px 30px #10293930 }
.mpa .mpa-mini-table { min-width: 625px }
.mpa .mpa-mini-table :is(th,td) { white-space: normal; padding: 11px 13px }
@media(max-width:650px) {
    .mpa .mpa-mini-table th:first-child { min-width: 132px }
}
/* Certified election results, first in the overview tab. */
.mpa .mpa-election {
    position: relative;
    margin-top: 28px;
    padding: 32px 28px 24px;
    border: 1px solid #e3e8ee;
    border-radius: 20px;
    background: linear-gradient(135deg, #fff 25%, #fbfcfd 75%, #f4f6f9);
    box-shadow: 0 12px 35px -22px #18344e35;
    scroll-margin-top: 95px;
}
.mpa-election-head { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 18px; position: relative; z-index: 1 }
.mpa .mpa-election h2 { position: relative; padding-left: 24px; font-size: clamp(30px,3.2vw,42px); line-height: 1.12; letter-spacing: -.025em; margin: 0 }
.mpa-election h2::before { content: ""; position: absolute; left: 0; top: 3px; bottom: 2px; width: 7px; border-radius: 3px; background: linear-gradient(#ff941f,#ed690a) }
.mpa .mpa-election-identity { display: flex; flex-wrap: wrap; align-items: center; gap: 7px 10px; padding-left: 24px; margin: 15px 0 0; color: #304e66; font-size: 17px }
.mpa-election-identity > svg { flex: none }
.mpa-election-label { display: inline-flex; align-items: center; gap: 12px; padding: 11px 17px; border: 1px solid #ffdcc1; border-radius: 99px; background: #fff5eb; color: var(--ink); font: 600 16px/1.4 var(--font); max-width: 100% }
.mpa-election-label svg { color: #ec6e0a; flex: none }
.mpa-election-intro { position: relative; margin: 25px 0 29px; min-height: 170px; display: flex; align-items: center }
.mpa-election-copy { position: relative; z-index: 1; width: 100%; border-left: 3px solid #f37c15; padding-left: 23px }
.mpa-election-copy p { text-align: justify; font-size: 16px; line-height: 1.7; margin: 0; color: #263747 }
.mpa-election-copy strong { font-weight: 750; color: #132b3c }
.mpa-election-scenery { position: absolute; inset: -45px -20px -5px auto; width: 39%; background: url("/assets/brand/meclis-cephe.svg") right center / contain no-repeat; opacity: .85; pointer-events: none }
.mpa-election-grid { display: grid; grid-template-columns: 1.18fr 1fr 1.13fr 1fr; gap: 14px; margin: 0 }
.mpa-election-stat { min-width: 0; display: flex; flex-direction: column; position: relative; padding: 20px 17px; border: 1px solid #dfe6ee; border-radius: 14px; background: linear-gradient(145deg,#fff,#fafbfd); box-shadow: 0 5px 15px -10px #1b35463a }
.mpa-election-stat dt { display: flex; align-items: center; gap: 12px; min-height: 44px; font: 700 17px/1.25 var(--font); color: var(--ink) }
.mpa-election-icon { display: grid; place-items: center; flex: 0 0 44px; height: 44px; border-radius: 13px; color: #f0740c; background: linear-gradient(135deg,#fff4e9,#ffede0) }
.mpa-election-stat dd { margin: 0 }
.mpa-election-stat .mpa-election-value { font: 700 clamp(35px,3.3vw,48px)/1.15 var(--font); letter-spacing: -.035em; color: #0f293c; margin: 10px 0 22px; white-space: nowrap }
.mpa-election-value small { font-size: .52em; letter-spacing: -.02em }
.mpa-election-stat .mpa-election-bars, .mpa-election-stat .mpa-election-seats, .mpa-election-stat .mpa-election-change { margin-top: auto }
.mpa-election-bars { display: grid; gap: 8px }
.mpa-election-bars > div { display: grid; grid-template-columns: 34px minmax(0,1fr) 55px; gap: 8px; align-items: center; font-size: 12px; color: #38516a; font-variant-numeric: tabular-nums }
.mpa-election-bars > div > span:last-child { text-align: right }
.mpa-election-track { display: block; height: 9px; background: #e6ebf0; border-radius: 99px; overflow: hidden }
.mpa-election-track i { display: block; height: 100%; background: linear-gradient(90deg,#f58a0a,#f07105); border-radius: inherit }
.mpa-election-bars > div + div i { background: #a7b5c3 }
.mpa-election-seats { display: flex; gap: 4px; flex-wrap: wrap; align-items: flex-end; color: #f57a0c; min-height: 32px }
.mpa-election-seats svg { flex: 0 0 17px; width: 17px; height: 24px }
.mpa-election-seats > span { font-size: 13px; padding-left: 3px; color: #506575 }
.mpa-election-stat .mpa-election-change { align-self: flex-start; display: inline-flex; align-items: center; flex-wrap: wrap; gap: 7px; padding: 7px 11px; border-radius: 99px; background: #edf1f5; color: #263e53; font-size: 12px; line-height: 1.45 }
.mpa-election-change > span[aria-hidden] { font-size: 20px; font-weight: 650; line-height: 1 }
.mpa-election-stat .mpa-election-change.has-change { background: #fff0e6 }
.mpa-election-change.has-change > span { color: #c75a00 }
.mpa .mpa-election-source { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin: 25px 0 22px; color: #51657a; font-size: 13px }
.mpa-election-source > svg { flex: none; margin-right: 3px }
.mpa-election-source a { display: inline-flex; align-items: center; gap: 5px; color: inherit }
.mpa-election-source strong { color: var(--ink) }
.mpa-election-source::after { content: ""; flex: 1; min-width: 20px; margin-left: 14px; border-top: 1px solid #e1e6ed }
.mpa-election-sources { border: 1px solid #d9e1eb; border-radius: 10px; background: #f5f7fa }
.mpa-election-sources summary { display: flex; align-items: center; gap: 14px; min-height: 61px; padding: 14px 21px; cursor: pointer; font: 700 20px/1.3 var(--font); list-style: none }
.mpa-election-sources summary::-webkit-details-marker { display: none }
.mpa-election-sources summary > svg:first-child { color: #ef7608; flex: none }
.mpa-election-sources summary > svg:last-child { margin-left: auto; flex: none; transform: rotate(90deg) }
.mpa-election-sources[open] summary > svg:last-child { transform: rotate(-90deg) }
.mpa-election-sources > div { border-top: 1px solid #e1e6ed; padding: 15px 21px; font-size: 13px; line-height: 1.6 }
.mpa-election-sources a { color: #244d69; text-decoration: underline; text-underline-offset: 3px }
.mpa-election-sources summary:focus-visible { outline: 2px solid #b95d00; outline-offset: 3px; border-radius: 8px }
@media (max-width:1100px) {
    .mpa-election-grid { grid-template-columns: repeat(2,minmax(0,1fr)) }
    .mpa-election-scenery { width: 37%; opacity: .6 }
    .mpa-election-stat .mpa-election-value { font-size: 43px }
}
@media (max-width:650px) {
    .mpa .mpa-election { padding: 20px 15px 16px; border-radius: 13px; margin-top: 22px; scroll-margin-top: 78px }
    .mpa .mpa-election h2 { font-size: 29px; padding-left: 16px }
    .mpa-election h2::before { width: 5px }
    .mpa-election-head { gap: 16px }
    .mpa .mpa-election-identity { padding-left: 16px; margin-top: 11px; gap: 6px 8px; font-size: 14px; line-height: 1.5 }
    .mpa-election-label { padding: 8px 11px; gap: 9px; font-size: 13px; border-radius: 9px }
    .mpa-election-label svg { width: 19px; height: 19px }
    .mpa-election-intro { display: block; margin: 20px 0; min-height: 0 }
    .mpa-election-copy { width: 100%; padding-left: 13px; border-left-width: 2px }
    .mpa-election-copy p { font-size: 14px; line-height: 1.75 }
    .mpa-election-scenery { display: none }
    .mpa-election-grid { gap: 10px }
    .mpa-election-stat { padding: 13px 11px; border-radius: 11px }
    .mpa-election-stat dt { flex-direction: column; align-items: flex-start; gap: 9px; font-size: 15px; min-height: 82px }
    .mpa-election-icon { flex-basis: 35px; width: 35px; height: 35px; border-radius: 10px }
    .mpa-election-icon svg { width: 21px; height: 21px }
    .mpa-election-stat .mpa-election-value { font-size: 33px; margin: 8px 0 17px }
    .mpa-election-stat .mpa-election-delta { font-size: 28px }
    .mpa-election-stat .mpa-election-change { font-size: 11px; gap: 4px; padding: 5px 7px; border-radius: 9px }
    .mpa-election-change svg { width: 12px }
    .mpa-election-bars > div { grid-template-columns: 28px minmax(0,1fr) 43px; gap: 4px; font-size: 10px }
    .mpa-election-track { height: 7px }
    .mpa .mpa-election-source { font-size: 11px; margin: 20px 0 17px }
    .mpa-election-source::after { display: none }
    .mpa-election-sources summary { font-size: 17px; padding: 13px; gap: 10px }
    .mpa-election-sources > div { padding: 12px 13px }
}
@media (max-width:360px) {
    .mpa-election-grid { grid-template-columns: minmax(0,1fr) }
    .mpa-election-stat dt { flex-direction: row; align-items: center; min-height: 35px }
    .mpa-election-stat .mpa-election-value { font-size: 38px }
    .mpa-election-bars > div { font-size: 12px; grid-template-columns: 34px minmax(0,1fr) 52px }
}

.mpa .mpa-reading > .mpa-election { margin: 0 0 28px }

.mpa-term-comparison{margin-top:28px;padding-top:24px;border-top:1px solid #dce5ec}.mpa-term-comparison h3{font-size:22px;line-height:1.3;margin:0 0 9px}.mpa-term-comparison>p{font-size:13px;line-height:1.7;color:#506d81}.mpa-term-comparison table{width:100%;min-width:670px;border-collapse:collapse;font-size:14px;text-align:left;background:#fff}.mpa-term-comparison caption{text-align:left;font-size:12px;color:#506d81;padding:12px 0}.mpa-term-comparison th,.mpa-term-comparison td{padding:16px;border-bottom:1px solid #dfe7ee;font-variant-numeric:tabular-nums}.mpa-term-comparison thead{background:#edf3f7}.mpa-term-comparison th small{display:block;font-size:12px;font-weight:400;margin-top:6px;white-space:nowrap}.mpa-term-difference{background:#fff4e8;font-weight:700}.mpa-term-comparison .mpa-term-note{font-size:12px}.mpa-term-sources{display:flex;flex-wrap:wrap;gap:10px 20px;font-size:12px}.mpa-term-sources a{display:inline-flex;align-items:center;gap:5px;min-height:36px;text-decoration:underline;text-underline-offset:3px}@media(max-width:600px){.mpa-term-comparison h3{font-size:20px}.mpa-term-comparison th,.mpa-term-comparison td{padding:12px}.mpa-term-comparison{margin-top:22px}}

/* Single copies of each component move between the profile rails and the mobile flow. */
.mpa .mpa-layout { display: grid; align-items: start; grid-template-columns: minmax(0, 1fr) }
.mpa :is(.mpa-sidebars, .mpa-guide, .mpa-support) { display: contents }
.mpa .mpa-reading, .mpa .mpa-lower { min-width: 0 }
.mpa .mpa-lower { grid-column: 1 / -1 }
.mpa .mpa-lower:not(:has(> *)) { display: none }

@media (max-width: 767px) {
    .mpa .mpa-summary { order: 1 }
    .mpa .mpa-kpis { order: 2 }
    .mpa .mpa-tabs { order: 3 }
    .mpa :is(.mpa-reading, #meclis-karnesi) { order: 4 }
    .mpa .mpa-chart-grid { order: 5 }
    .mpa .mpa-lower { order: 7; margin-top: 18px }
    .mpa :is(.mpa-bio-card, .mpa-commission-card, .mpx-related) { order: 6; margin-top: 16px }
}

@media (min-width: 768px) {
    .mpa .mpa-body { padding-top: 20px }
    .mpa .mpa-crumbs { padding-bottom: 13px }
    .mpa .mpa-hero { grid-template-columns: 132px minmax(0,1fr) auto; column-gap: 22px }
    .mpa .mpa-portrait { width: 132px; height: 144px }
    .mpa .mpa-nameplate { padding-top: 16px }
    .mpa .mpa-nameplate h1 { font-size: clamp(36px, 3.4vw, 53px) }
    .mpa .mpa-facts { padding-block: 7px 12px }
    .mpa .mpa-layout {
        grid-template-columns: clamp(200px, 21vw, 250px) minmax(0, 1fr);
        gap: 18px;
    }
    .mpa .mpa-sidebars { display: grid; align-content: start; grid-column: 1; grid-row: 1 / span 2; gap: 12px; min-width: 0 }
    .mpa :is(.mpa-reading, .mpa-layout > .mpa-chart-grid) { grid-column: 2 }
    .mpa .mpa-layout > .mpa-chart-grid { margin: 0 }
    .mpa .mpa-tabs { flex-direction: column; margin: 0; padding: 5px; border: 1px solid var(--line); border-radius: 10px; background: white; box-shadow: var(--shadow); scroll-margin-top: 110px }
    .mpa .mpa-tabs a { justify-content: flex-start; padding: 9px 12px; min-height: 41px; border-radius: 6px }
    .mpa .mpa-tabs a[aria-current] { background: #fff3e7 }
    .mpa .mpa-tabs a[aria-current]::after { inset: 10px auto 10px 0; height: auto; width: 3px; border-radius: 3px }
    .mpa .mpa-summary { display: block; padding: 15px 16px }
    .mpa .mpa-summary h2 { font-size: 18px; border-left-width: 3px; padding-left: 9px }
    .mpa .mpa-summary p { padding: 0; border: 0; margin-top: 9px; line-height: 1.55 }
    .mpa :is(.mpa-bio-card, .mpa-commission-card) { padding: 15px 16px }
    .mpa :is(.mpa-bio-card, .mpa-commission-card, .mpx-related) h2 { font-size: 19px; line-height: 1.25; margin-bottom: 7px }
    .mpa .mpa-kpis { grid-template-columns: 1fr; gap: 0; padding-inline: 14px; margin: 0; background: white; border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow) }
    .mpa .mpa-kpi { grid-template: "label value" auto "source value" auto / minmax(0, 1fr) auto; align-items: center; column-gap: 5px; padding: 12px 0; border: 0; border-radius: 0; background: none; box-shadow: none }
    .mpa .mpa-kpi + .mpa-kpi { border-top: 1px solid var(--line) }
    .mpa .mpa-kpi dt { grid-area: label; grid-template-columns: 26px minmax(0,1fr); gap: 7px; font-size: 13px }
    .mpa .mpa-icon { width: 26px; height: 26px }
    .mpa .mpa-icon svg { width: 15px; height: 15px }
    .mpa .mpa-kpi dd:not(.mpa-stat-source) { grid-area: value; padding: 0; margin: 0; font-size: clamp(25px, 2.1vw, 34px) }
    .mpa .mpa-stat-source { grid-area: source; padding-left: 33px; margin-top: 3px!important }
    .mpa .mpx-related { padding: 15px; margin: 0; background: white; border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow) }
    .mpa .mpx-related .mpx-section-head { display: block; margin: 0 }
    .mpa .mpx-related .mpx-text-link { min-height: 27px }
    .mpa .mpx-related .mpx-peer-list { grid-template-columns: 1fr; gap: 0; margin-block: 8px }
    .mpa .mpx-peer-list li { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 8px 0 }
    .mpa .mpx-related-links { gap: 5px }
    .mpa .mpx-related-links a { border-radius: 5px; padding: 4px 7px; font-size: 12px }
    .mpa :is([data-member-panel="genel-bakis"], [data-member-panel="meclis-karnesi"]) .mpa-sidebars { grid-row: 1 }
    .mpa .mpa-layout > #meclis-karnesi { grid-column: 1 / -1; grid-row: 2 }
    .mpa [data-member-panel="meclis-karnesi"] > .mpa-chart-grid { grid-row: 1 }
    .mpa .mpa-reading > .mpa-election { container-type: inline-size; padding: 18px; margin-bottom: 18px; border-radius: 12px }
    .mpa .mpa-election-head { gap: 8px 12px }
    .mpa .mpa-election h2 { padding-left: 13px; font-size: 29px }
    .mpa .mpa-election h2::before { width: 4px }
    .mpa .mpa-election-identity { margin-top: 6px; padding-left: 13px; gap: 3px 7px; font-size: 14px }
    .mpa .mpa-election-identity svg { width: 15px; height: 15px }
    .mpa .mpa-election-actions { gap: 6px; justify-content: flex-start }
    .mpa .mpa-election-label, .mpa .mpa-election-share { padding: 6px 10px; gap: 6px; min-height: 34px; font-size: 12px }
    .mpa .mpa-election-label svg { width: 16px; height: 16px }
    .mpa .mpa-election-intro { margin: 14px 0; min-height: 0 }
    .mpa .mpa-election-copy { padding-left: 11px; border-width: 2px }
    .mpa .mpa-election-copy p { font-size: 14px; line-height: 1.55 }
    .mpa .mpa-election-scenery { display: none }
    .mpa .mpa-election-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px }
    .mpa .mpa-election-stat { padding: 11px; border-radius: 8px; box-shadow: none }
    .mpa .mpa-election-stat dt { min-height: 28px; gap: 6px; font-size: 13px }
    .mpa .mpa-election-icon { flex: 0 0 26px; height: 26px; border-radius: 6px }
    .mpa .mpa-election-icon svg { width: 16px; height: 16px }
    .mpa .mpa-election-stat .mpa-election-value { font-size: 32px; margin: 5px 0 10px }
    .mpa .mpa-election-bars { gap: 3px }
    .mpa .mpa-election-bars > div { grid-template-columns: max-content minmax(0,1fr) max-content; gap: 4px; font-size: 11px }
    .mpa .mpa-election-bars > div > :is(:first-child, :last-child) { white-space: nowrap }
    .mpa .mpa-election-track { height: 6px }
    .mpa .mpa-election-seats { min-height: 20px; gap: 2px }
    .mpa .mpa-election-seats svg { flex-basis: 11px; width: 11px; height: 16px }
    .mpa .mpa-election-change { gap: 4px; padding: 4px 6px; font-size: 11px }
    .mpa .mpa-term-comparison { margin-top: 15px; padding-top: 13px }
    .mpa .mpa-term-comparison h3 { font-size: 19px; margin-bottom: 4px }
    .mpa .mpa-term-comparison table { min-width: 0; font-size: 13px }
    .mpa .mpa-term-comparison :is(caption, th, td) { padding: 7px 9px }
    .mpa .mpa-term-comparison th small { margin-top: 2px }
    .mpa .mpa-term-sources { gap: 2px 12px }
    .mpa .mpa-term-sources a { min-height: 28px }
    .mpa .mpa-election-source { margin: 12px 0 9px; font-size: 12px }
    .mpa .mpa-election-sources summary { min-height: 40px; padding: 8px 12px; font-size: 15px }
    .mpa .mpa-election-sources summary svg { width: 17px; height: 17px }
    .mpa .mpx-biography-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr)) }
    .mpa .profile-comments-layout { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)) }
    @container (min-width: 690px) {
        .mpa .mpa-election-grid { grid-template-columns: repeat(4,minmax(0,1fr)) }
    }
}

@media (min-width: 1440px) {
    .mpa .mpa-layout { grid-template-columns: clamp(220px, 13vw, 248px) minmax(0, 1fr) clamp(280px, 18vw, 320px); gap: 20px }
    .mpa .mpa-sidebars { display: contents }
    .mpa .mpa-guide, .mpa .mpa-support { display: grid; gap: 12px; align-content: start; min-width: 0 }
    .mpa .mpa-guide { grid-column: 1; grid-row: 1 / span 2 }
    .mpa .mpa-support { grid-column: 3; grid-row: 1 }
    .mpa .mpa-reading { grid-row: 1 }
    .mpa :is([data-member-panel="genel-bakis"], [data-member-panel="meclis-karnesi"]) .mpa-guide { grid-row: 1 }
}

/* Below the overview rails, sections share the outer profile edges. */
.mpa .mpa-lower > .mpx-section { margin: 0; padding-block-start: 18px }
.mpa .mpa-lower > .mpx-section + .mpx-section { margin-block-start: 20px }
.mpa .mpa-lower .mpx-section-head { margin-block-end: 8px }
.mpa .mpa-lower #ilgili-konular .mpx-section-head { margin: 0 }
.mpa .mpa-lower #ilgili-konular .mpx-muted { margin-block-start: 4px; font-size: 13px }
.mpa .mpa-lower .mpx-topics { gap: 6px; margin-block: 8px 0 }
.mpa .mpa-lower .mpx-topics a { padding: 5px 10px }

.mpa :is(.mpa-lower, #meclis-karnesi) .mpx-scorecard {
    width: 100%;
    font-variant-numeric: tabular-nums;
    overflow-wrap: normal;
}
.mpa :is(.mpa-lower, #meclis-karnesi) .mpx-scorecard tbody td:nth-child(n+2):nth-child(-n+5) { white-space: nowrap }
.mpa :is(.mpa-lower, #meclis-karnesi) .mpx-scorecard :is(th, td):last-child { text-align: left }
.mpa :is(.mpa-lower, #meclis-karnesi) .mpx-scorecard a { white-space: nowrap }
.mpa :is(.mpa-lower, #meclis-karnesi) .mpx-table-scroll { overscroll-behavior-x: contain }

.mpa .profile-search-faq .faq-list { grid-template-columns: minmax(0, 1fr); gap: 8px 12px; align-items: start }
.mpa .profile-search-faq .faq-item { min-width: 0; border-radius: 8px; padding-inline: 14px }
.mpa .profile-search-faq .faq-item > summary {
    display: flex; align-items: center; justify-content: space-between; gap: 14px;
    min-height: 44px; padding: 9px 0; line-height: 1.45; list-style: none;
}
.mpa .profile-search-faq .faq-item > summary::-webkit-details-marker { display: none }
.mpa .profile-search-faq .faq-item > summary::after {
    content: ""; width: 8px; height: 8px; flex: none; margin-right: 3px;
    border: solid var(--muted); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg);
}
.mpa .profile-search-faq .faq-item[open] > summary::after { transform: rotate(225deg) }
.mpa .profile-search-faq .faq-item > summary:focus-visible { outline-offset: -3px }
.mpa .profile-search-faq .faq-answer { margin: 0; padding: 10px 0 12px; line-height: 1.55 }
.mpa .profile-search-faq .faq-answer .mpx-source { margin-block-start: 6px }

@media (min-width: 768px) {
    .mpa .profile-search-faq .faq-list { grid-template-columns: repeat(2, minmax(0, 1fr)) }
    .mpa .mpa-lower #ilgili-konular {
        display: grid; grid-template-columns: minmax(230px, 33%) minmax(0,1fr);
        align-items: center; gap: 0 22px;
    }
    .mpa .mpa-lower #ilgili-konular .mpx-muted { grid-column: 1 }
    .mpa .mpa-lower #ilgili-konular .mpx-topics { grid-column: 2; grid-row: 1 / span 2; margin: 0 }
    .mpa :is(.mpa-lower, #meclis-karnesi) .mpx-scorecard :is(th,td) { padding: 10px clamp(12px, 1.2vw, 21px) }
    .mpa :is(.mpa-lower, #meclis-karnesi) .mpx-scorecard th:first-child { width: 29% }
    .mpa .mpa-lower .mpx-scorecard thead th:last-child { width: 12% }
    .mpa #meclis-karnesi .mpx-scorecard thead th:last-child { width: 21% }
}

.mpa .mpa-lower .mpa-recent-activities > li { display: block; min-width: 0 }
.mpa .mpa-lower .mpx-activity-meta { flex-direction: row; align-items: baseline; flex-wrap: wrap; gap: 3px 10px; margin-bottom: 6px }
.mpa .mpa-lower .mpa-activity-entry { display: grid; gap: 6px; min-width: 0 }
.mpa .mpa-lower .mpx-activity-copy { min-width: 0; overflow-wrap: anywhere }
.mpa .mpa-lower .mpx-activity-copy h3 { font-size: clamp(17px, 1.25vw, 19px); line-height: 1.4 }
.mpa .mpa-lower a.mpa-activity-entry:hover { text-decoration: none }
.mpa .mpa-lower a.mpa-activity-entry:hover h3,
.mpa .mpa-lower a.mpa-activity-entry:hover .mpa-activity-link { color: var(--link); text-decoration: underline }
.mpa .mpa-lower .mpa-activity-reference { display: flex; align-items: center; flex-wrap: wrap; gap: 2px 12px }
.mpa .mpa-lower :is(.mpa-activity-link, .mpa-activity-toggle) { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 650; color: var(--link) }
.mpa .mpa-lower .mpa-activity-link { min-height: 30px }
.mpa .mpa-lower .mpa-activity-title > summary { display: block; cursor: pointer; list-style: none }
.mpa .mpa-lower .mpa-activity-title > summary::-webkit-details-marker { display: none }
.mpa .mpa-lower .mpa-activity-title:not([open]) h3 { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden }
.mpa .mpa-lower .mpa-activity-toggle { min-height: 28px; font-size: 12px }
.mpa .mpa-lower .mpa-activity-title .mpa-activity-toggle svg { transform: rotate(90deg) }
.mpa .mpa-lower .mpa-activity-title[open] .mpa-activity-toggle svg { transform: rotate(-90deg) }

@media (min-width: 768px) {
    .mpa .mpa-lower .mpa-recent-activities > li {
        display: grid;
        grid-template-columns: clamp(135px, 12vw, 185px) minmax(0, 1fr);
        align-items: start;
        gap: 18px;
    }
    .mpa .mpa-lower .mpx-activity-meta { flex-direction: column; align-items: flex-start; margin: 0 }
    .mpa .mpa-lower .mpa-activity-entry { grid-template-columns: minmax(0, 1fr) 140px; gap: 18px }
    .mpa .mpa-lower .mpa-activity-reference { align-items: flex-start; flex-direction: column; border-left: 1px solid var(--line); padding-left: 14px }
    .mpa .mpa-lower .mpa-activity-title:not([open]) h3 { -webkit-line-clamp: 2 }
}

/* Past mandates use the same surface, edges and typography as the profile. */
.mpa section[aria-labelledby="gecmis-donemler"] {
    margin-block: 18px 8px;
    padding: 20px 22px;
    min-width: 0;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: var(--shadow);
}
.mpa #gecmis-donemler {
    margin: 0 0 16px;
    padding-inline-start: 12px;
    border-inline-start: 3px solid var(--orange);
    font-size: 23px;
    line-height: 1.3;
}
.mpa [aria-labelledby="gecmis-donemler"] .ar-table-scroll {
    max-width: 100%;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    border: 1px solid var(--line);
    border-radius: 8px;
}
.mpa [aria-labelledby="gecmis-donemler"] .ar-table-scroll:focus-visible {
    outline: 2px solid var(--orange);
    outline-offset: 3px;
}
.mpa [aria-labelledby="gecmis-donemler"] .data-table {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
    table-layout: fixed;
    font-size: 14px;
    font-variant-numeric: tabular-nums;
}
.mpa [aria-labelledby="gecmis-donemler"] :is(th, td) {
    padding: 12px 14px;
    text-align: left;
    vertical-align: middle;
    line-height: 1.45;
}
.mpa [aria-labelledby="gecmis-donemler"] thead th {
    background: var(--soft);
    color: var(--muted);
    font-size: 12px;
    font-weight: 650;
    border-bottom: 1px solid var(--line);
}
.mpa [aria-labelledby="gecmis-donemler"] thead th:nth-child(1) { width: 14% }
.mpa [aria-labelledby="gecmis-donemler"] thead th:nth-child(2) { width: 24% }
.mpa [aria-labelledby="gecmis-donemler"] thead th:nth-child(3) { width: 17% }
.mpa [aria-labelledby="gecmis-donemler"] thead th:nth-child(4) { width: 12% }
.mpa [aria-labelledby="gecmis-donemler"] thead th:nth-child(5) { width: 23% }
.mpa [aria-labelledby="gecmis-donemler"] thead th:nth-child(6) { width: 10% }
.mpa [aria-labelledby="gecmis-donemler"] tbody tr + tr > * { border-top: 1px solid var(--line) }
.mpa [aria-labelledby="gecmis-donemler"] tbody tr:nth-child(even) { background: #fafcfd }
.mpa [aria-labelledby="gecmis-donemler"] :is(th, td):nth-child(n+3):nth-child(-n+5) { text-align: right }
.mpa [aria-labelledby="gecmis-donemler"] tbody td:nth-child(n+3):nth-child(-n+5) { font-weight: 650; white-space: nowrap }
.mpa [aria-labelledby="gecmis-donemler"] :is(th, td):last-child { text-align: right; white-space: nowrap }
.mpa [aria-labelledby="gecmis-donemler"] tbody a { display: inline-flex; align-items: center; min-height: 30px; color: var(--link); text-decoration: underline }
@media (max-width: 767px) {
    .mpa section[aria-labelledby="gecmis-donemler"] { margin-block: 12px 4px; padding: 16px 14px }
    .mpa #gecmis-donemler { font-size: 21px; margin-bottom: 12px }
    .mpa [aria-labelledby="gecmis-donemler"] :is(th, td) { padding: 10px 12px }
}
