/* Composição parlamentar compartilhada pelos cinco modelos do portal. */
.public-mandatos {
    --reader-scale: 1;
    --m-ink: var(--ink);
    --m-muted: #52654e;
    --m-warm: #825232;
    --m-line: color-mix(in srgb, var(--mint) 40%, #dadfd4);
}
.public-mandatos :is(input,select,summary):focus-visible { outline: 3px solid #a54f2a!important; outline-offset: 4px; }
.public-mandatos [hidden] { display: none!important; }
.public-mandatos .eyebrow { font: 700 .72rem/1.5 Marés,sans-serif; letter-spacing: .13em; color: var(--m-muted); }
.m-breadcrumb { padding-top: 25px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.m-public-label { display: flex; align-items: center; gap: 8px; font-size: .72rem; letter-spacing: .13em; color: var(--m-muted); white-space: nowrap; }
.m-public-label>i { width: 5px; height: 5px; background: #7a9467; border-radius: 50%; box-shadow: 0 0 0 4px #e9efdf; }
.m-hero { display: grid; grid-template-columns: 1.45fr 1fr; gap: 60px; align-items: center; padding-block: 45px 43px; min-height: 315px; }
.m-hero-copy>.eyebrow { display: flex; align-items: center; gap: 8px; color: var(--m-warm); margin-bottom: 20px; }
.m-hero-copy>.eyebrow>i { width: 6px; height: 6px; border-radius: 50%; background: #d59e76; }
.m-hero h1 { font-size: clamp(3.4rem,5.1vw,4.8rem); line-height: 1.02; letter-spacing: -.058em; }
.m-hero h1>span { color: var(--m-muted); white-space: normal; }
.m-hero h1>span:after { height: .09em; background: #eab591; bottom: .04em; opacity: .8; }
.m-hero-deck { margin-top: 23px; color: var(--m-muted); font-size: calc(.99rem * var(--reader-scale)); line-height: 1.8; max-width: 560px; }
.m-hero aside { justify-self: end; width: 100%; max-width: 360px; }
.m-era-art { padding: 21px 24px 17px; border: 1px solid #d5dfcb; border-radius: 16px; position: relative; background: #f1f4eb; }
.m-era-art:before { content: ''; position: absolute; left: -9px; top: 19px; bottom: 19px; width: 8px; background: #d6e1cc; border-radius: 8px 0 0 8px; border: 1px solid #c4d1b7; }
.era-label { display: flex; align-items: center; justify-content: space-between; font-size: .72rem; letter-spacing: .12em; color: var(--m-muted); margin-bottom: 18px; }
.era-label>i { width: 6px; height: 6px; border-radius: 50%; background: #d0a07b; }
.era-line { display: flex; align-items: center; gap: 18px; border-top: 1px solid #dde4d3; padding: 11px 0; color: var(--m-muted); }
.era-line>span { font-size: .72rem; letter-spacing: .1em; min-width: 50px; }
.era-line>strong { font: 600 1.6rem/1.3 MarésDisplay,sans-serif; letter-spacing: -.045em; }
.era-line>strong>i { font-style: normal; font-weight: 400; color: var(--m-muted); margin-inline: 5px; }
.era-line.current { color: var(--m-ink); padding-top: 2px; border-top: 0; }
.era-line.current>span { color: var(--m-ink); background: #e0ead5; padding: 4px 6px; border-radius: 5px; min-width: 50px; text-align: center; }
.m-era-art>p { font-size: .72rem; color: var(--m-muted); border-top: 1px solid #dde4d3; padding-top: 13px; margin-top: 3px; }
.m-orbit-art { width: 235px; height: 180px; position: relative; margin: 0 auto 5px; }
.m-orbit { position: absolute; border: 1px solid #d6dfcd; border-radius: 50%; left: 50%; top: 50%; transform: translate(-50%,-50%); }
.orbit-a { width: 100px; height: 100px; }
.orbit-b { width: 152px; height: 152px; }
.orbit-c { width: 220px; height: 176px; border-style: dashed; }
.m-orbit-center { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 73px; height: 73px; border-radius: 23px; background: #dfe8d6; display: grid; place-items: center; border: 1px solid #c8d6bc; box-shadow: 0 9px 0 #e7ecdf; }
.m-orbit-center .bi { width: 34px; height: 34px; color: var(--m-muted); }
.orbit-point { position: absolute; width: 11px; height: 11px; border-radius: 50%; background: #d0a07b; box-shadow: 0 0 0 5px #f7f7f2; }
.orbit-point.p1 { top: 22px; left: 65px; }
.orbit-point.p2 { right: 8px; top: 75px; background: #a2b591; width: 8px; height: 8px; }
.orbit-point.p3 { bottom: 35px; left: 48px; background: #94ad86; }
.orbit-point.p4 { bottom: 8px; right: 61px; width: 7px; height: 7px; background: #c1ceaf; }
.m-period-label { text-align: center; border-top: 1px solid #dae4cf; padding-top: 13px; max-width: 270px; margin: auto; }
.m-period-label>span { font-size: .72rem; letter-spacing: .12em; color: var(--m-muted); display: flex; align-items: center; justify-content: center; gap: 7px; }
.m-period-label>span>i { width: 5px; height: 5px; border-radius: 50%; background: #7b9b6b; }
.m-period-label>strong { display: block; font: 700 1.75rem/1.5 MarésDisplay,sans-serif; letter-spacing: -.045em; color: var(--m-muted); margin-top: 5px; }
.m-desk-art { padding: 0 21px; text-align: center; }
.m-desk-label { font-size: .72rem; letter-spacing: .13em; color: var(--m-muted); margin-bottom: 24px; }
.m-desk-crest { width: 75px; height: 75px; margin: auto; display: grid; place-items: center; background: #e3ebda; border: 1px solid #c8d8bb; border-radius: 50%; box-shadow: 0 0 0 11px #f0f3e9; }
.m-desk-crest .bi { width: 37px; height: 37px; color: var(--m-muted); }
.desk-line { height: 20px; border-bottom: 3px solid #97af85; margin-top: 17px; position: relative; }
.desk-line:after { content: ''; position: absolute; height: 7px; left: 13px; right: 13px; top: 20px; border: 1px solid #c1d1b1; border-top: 0; border-radius: 0 0 5px 5px; }
.desk-seats { display: flex; justify-content: space-around; margin-top: 22px; padding-inline: 19px; }
.desk-seats>i { width: 33px; height: 24px; border: 1px solid #b8caa7; background: #e2ead7; border-radius: 7px; }
.m-desk-art>p { margin-top: 25px; font-size: .72rem; color: var(--m-muted); }
.m-committee-art { height: 230px; position: relative; }
.committee-art-center { width: 86px; height: 86px; border: 1px solid #cbdac0; border-radius: 50%; background: #e2ead8; display: grid; place-items: center; position: absolute; top: 48px; left: 50%; transform: translateX(-50%); box-shadow: 0 0 0 17px #eff3e8,0 0 0 18px #dbe4d1; }
.committee-art-center .bi { width: 40px; height: 40px; color: var(--m-muted); }
.committee-art-topic { position: absolute; display: flex; align-items: center; gap: 7px; background: #fbfcf7; border: 1px solid #dce5d2; padding: 10px 12px; border-radius: 10px; font-size: .72rem; color: var(--m-muted); box-shadow: 0 3px 0 #e8eddf; }
.committee-art-topic .bi { width: 18px; height: 18px; }
.topic-a { left: 0; top: 21px; }
.topic-b { right: 0; top: 42px; }
.topic-c { left: 29px; bottom: 47px; }
.m-committee-art>p { position: absolute; bottom: 3px; left: 0; right: 0; text-align: center; font-size: .72rem; color: var(--m-muted); }
.m-search { padding-top: 28px; }
.m-search-panel { border: 1px solid var(--m-line); border-radius: 17px; padding: 21px 23px 24px; background: #fff; }
.m-search-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 21px; }
.m-search-heading h2 { display: flex; align-items: center; gap: 9px; font: 600 .83rem/1.5 Marés,sans-serif; letter-spacing: 0; color: var(--m-ink); }
.m-search-heading h2>.bi { width: 17px; height: 17px; color: var(--m-muted); }
.m-reset { display: flex; align-items: center; gap: 8px; color: var(--m-muted); font-size: .72rem; min-height: 30px; padding: 0; }
.m-reset>.bi { width: 14px; height: 14px; }
.m-reset:hover { color: var(--m-warm); }
.m-form { display: grid; grid-template-columns: minmax(160px,1.2fr) minmax(180px,1.5fr) minmax(135px,1fr) minmax(160px,1.1fr) auto; gap: 13px; align-items: end; }
.m-form-legislaturas { grid-template-columns: minmax(200px,2fr) minmax(200px,1fr) auto; }
.m-form-mesa-diretora { grid-template-columns: minmax(220px,1fr) minmax(220px,1.5fr) auto; }
.m-form-comissoes { grid-template-columns: 1fr 1.7fr 1fr auto; }
.m-field { display: grid; gap: 9px; min-width: 0; color: var(--m-muted); font-size: calc(.72rem * var(--reader-scale)); font-weight: 600; line-height: 1.4; }
.m-field>input, .m-field>select { width: 100%; min-width: 0; min-height: 46px; border: 1px solid #dbe4d2; border-radius: 9px; background: #f9fbf5; padding: 12px; color: var(--m-ink); font-size: calc(.78rem * var(--reader-scale)); font-weight: 400; line-height: 1.5; }
.m-field>input::placeholder { color: var(--m-muted); }
.m-field>input:hover, .m-field>select:hover { border-color: #b3c5a1; }
.m-field>input:focus, .m-field>select:focus { background: white; }
.m-search-button { min-height: 46px; display: flex; align-items: center; justify-content: center; gap: 14px; padding: 13px 20px; border-radius: 9px; background: var(--teal); color: var(--on-primary); font-size: .75rem; font-weight: 600; }
.m-search-button>.bi { width: 17px; height: 17px; }
.m-search-button:hover { background: #3c6650; transform: translateY(-1px); }
.m-filter-context { min-height: 42px; padding: 13px 2px; color: var(--m-muted); font-size: .72rem; line-height: 1.6; }
.m-results { padding-top: 22px; }
.m-results-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 19px; }
.m-results-heading .eyebrow { font-size: .72rem; margin-bottom: 9px; }
.m-results-heading h2 { font-size: 2rem; line-height: 1.2; letter-spacing: -.045em; color: var(--m-ink); }
.m-result-count { display: inline-flex; align-items: center; justify-content: center; background: #eaf0e1; color: var(--m-muted); border: 1px solid #dbe5cf; padding: 5px 10px; border-radius: 30px; font-size: .72rem; line-height: 1.5; white-space: nowrap; }
.m-results-tools { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 24px; }
.m-results-tools>p { font-size: .73rem; line-height: 1.7; color: var(--m-muted); max-width: 710px; }
.m-sort { display: flex; align-items: center; gap: 9px; font-size: .72rem; color: var(--m-muted); white-space: nowrap; }
.m-sort select { max-width: 100%; border: 1px solid #dbe4d2; background: #f9fbf6; border-radius: 8px; padding: 9px 11px; min-height: 37px; color: var(--m-muted); font-size: .72rem; }
.m-results-list { min-width: 0; }
.m-results-legislaturas { display: grid; gap: 19px; grid-template-columns: repeat(3,minmax(0,1fr)); }
.m-legislature-card { background: white; border: 1px solid var(--m-line); border-radius: 16px; padding: 26px; position: relative; overflow: hidden; min-width: 0; }
.m-legislature-card:after { content: ''; position: absolute; right: -35px; top: -35px; width: 130px; height: 130px; border: 1px solid #e6ecdf; border-radius: 50%; pointer-events: none; }
.m-legislature-card.is-current { background: #edf3e4; border-color: #c3d2b6; box-shadow: inset 0 3px #8da77b; }
.m-legislature-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: .72rem; color: var(--m-muted); margin-bottom: 25px; position: relative; z-index: 1; }
.m-legislature-card h3 { font-size: 1.65rem; line-height: 1.25; color: var(--m-ink); letter-spacing: -.045em; max-width: 260px; }
.m-legislature-card>p { font-size: .78rem; line-height: 1.75; color: var(--m-muted); margin-top: 15px; }
.m-legislature-dates { display: flex; gap: 8px; align-items: center; color: var(--m-muted); font-size: .72rem; line-height: 1.6; margin-top: 12px; }
.m-legislature-dates .bi { width: 15px; height: 15px; }
.m-legislature-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-top: 25px; padding-block: 21px; border-top: 1px solid #dae3cf; border-bottom: 1px solid #dae3cf; }
.m-legislature-stats>div { display: grid; gap: 6px; min-width: 0; }
.m-legislature-stats strong { font: 700 1.75rem/1 MarésDisplay,sans-serif; letter-spacing: -.04em; color: var(--m-muted); }
.m-legislature-stats span { font-size: .72rem; line-height: 1.5; color: var(--m-muted); }
.m-card-links { display: flex; gap: 8px 16px; align-items: center; flex-wrap: wrap; margin-top: 19px; }
.m-inline-link { display: inline-flex; align-items: center; gap: 8px; font-size: .72rem; line-height: 1.5; font-weight: 600; color: var(--m-muted); min-height: 30px; padding: 3px 0; }
.m-inline-link>.bi { width: 16px; height: 16px; }
.m-inline-link:hover { color: var(--m-warm); }
.m-card-links .m-inline-link { font-size: .72rem; }
.m-button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; font-size: .75rem; font-weight: 600; padding: 12px 18px; min-height: 43px; border-radius: 9px; background: var(--teal); color: var(--on-primary); line-height: 1.5; }
.m-button:hover { background: #38614d; transform: translateY(-2px); }
.m-button .bi { width: 17px; height: 17px; }
.m-badge { display: inline-flex; align-items: center; gap: 6px; border: 1px solid #dbe4d2; background: #edf3e6; border-radius: 30px; padding: 4px 8px; font-size: .72rem; line-height: 1.45; font-weight: 600; color: var(--m-muted); max-width: 100%; overflow-wrap: anywhere; }
.m-badge[data-tone=current] { background: #e0ecd5; border-color: #ceddbe; color: var(--m-ink); }
.m-badge[data-tone=muted] { background: #f0f2ec; border-color: #e1e5da; color: var(--m-muted); }
.m-badge[data-tone=amber] { background: #f9eadb; border-color: #ecd5bd; color: var(--m-warm); }
.m-results-vereadores { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 23px; }
.m-member-card { min-width: 0; background: #fff; border: 1px solid var(--m-line); border-radius: 17px; padding: 13px; transition: transform .3s,box-shadow .3s,border-color .3s; overflow: hidden; }
.m-member-card:hover { transform: translateY(-4px); border-color: #bfceb2; box-shadow: 0 14px 30px #183b4609; }
.m-member-photo { display: block; aspect-ratio: 1.35; overflow: hidden; border-radius: 10px; background: #e3e9df; position: relative; }
.m-member-photo>img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transition: transform .5s; }
.m-member-card:hover .m-member-photo>img { transform: scale(1.025); }
.m-avatar-fallback { display: grid; place-items: center; width: 100%; height: 100%; background: #dbe5d2; color: var(--m-muted); font: 700 3.5rem/1 MarésDisplay,sans-serif; letter-spacing: -.07em; }
.m-avatar-fallback:after { content: ''; position: absolute; width: 70%; height: 70%; border: 1px solid #c6d5b9; border-radius: 50%; opacity: .7; }
.m-member-body { padding: 19px 11px 6px; }
.m-member-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 11px; }
.m-member-name { font-size: 1.65rem; color: var(--m-ink); line-height: 1.16; letter-spacing: -.04em; }
.m-member-name a:hover { color: var(--m-muted); }
.m-member-role { font-size: .72rem; color: var(--m-muted); margin-top: 9px; line-height: 1.7; }
.m-member-meta { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: .72rem; line-height: 1.6; color: var(--m-muted); margin-top: 12px; }
.m-member-meta .bi { width: 14px; height: 14px; }
.m-member-link { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid #e0e7d7; padding-block: 15px 6px; margin-top: 17px; font-size: .72rem; color: var(--m-muted); font-weight: 600; }
.m-member-link>.bi { width: 18px; height: 18px; }
.m-board-banner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 21px 25px; background: #e9efdf; border: 1px solid #d3dfc7; border-radius: 15px; margin-bottom: 20px; }
.m-board-banner :is(h2,h3) { font-size: 1.5rem; line-height: 1.2; color: var(--m-ink); }
.m-board-banner p { font-size: .76rem; line-height: 1.65; color: var(--m-muted); margin-top: 8px; }
.m-board-banner>.m-badge { flex-shrink: 0; }
.m-board-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 19px; }
.m-board-card { min-width: 0; border: 1px solid #dae4d0; background: white; border-radius: 17px; padding: 23px; display: flex; flex-direction: column; align-items: center; text-align: center; position: relative; }
.m-board-role { font-size: .72rem; color: var(--m-muted); letter-spacing: .02em; margin-bottom: 19px; font-weight: 600; }
.m-board-photo { display: block; width: 123px; height: 123px; border-radius: 50%; background: #e7eddf; overflow: hidden; border: 5px solid #edf2e7; }
.m-board-photo>img { width: 100%; height: 100%; object-fit: cover; }
.m-board-photo .m-avatar-fallback { font-size: 2.2rem; position: relative; }
.m-board-body h3 { font-size: 1.5rem; line-height: 1.2; letter-spacing: -.04em; color: var(--m-ink); margin-top: 16px; }
.m-board-body>span { display: block; color: var(--m-muted); font-size: .72rem; margin-top: 8px; }
.m-board-body .m-inline-link { margin-top: 13px; font-size: .72rem; justify-content: center; }
.m-board-card.is-president { grid-column: 1/-1; display: grid; grid-template-columns: 145px 1fr; grid-template-rows: auto 1fr; align-items: center; text-align: left; column-gap: 28px; padding: 29px 35px; background: #e9efdf; border-color: #c4d4b6; overflow: hidden; }
.m-board-card.is-president:after { content: ''; position: absolute; width: 200px; height: 200px; border: 1px solid #cbd9bb; border-radius: 50%; right: 32px; bottom: -100px; pointer-events: none; box-shadow: 0 0 0 22px #e9efdf,0 0 0 23px #d7e2ca; }
.m-board-card.is-president .m-board-role { grid-column: 2; margin-bottom: 3px; position: relative; z-index: 1; text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; }
.m-board-card.is-president .m-board-photo { grid-column: 1; grid-row: 1/3; width: 145px; height: 145px; border-color: #d8e3cb; }
.m-board-card.is-president .m-board-body { grid-column: 2; grid-row: 2; position: relative; z-index: 1; }
.m-board-card.is-president h3 { font-size: 2.15rem; margin-top: 3px; }
.m-board-card.is-president .m-inline-link { justify-content: flex-start; }
.m-results-comissoes { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.m-committee-card { background: #fff; border: 1px solid #dce4d3; border-radius: 16px; padding: 25px; min-width: 0; display: flex; flex-direction: column; transition: border-color .2s,box-shadow .2s; }
.m-committee-card:hover { border-color: #bacfa8; box-shadow: 0 8px 25px #183b4607; }
.m-committee-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 23px; }
.m-acronym { font: 700 .85rem/1 MarésDisplay,sans-serif; letter-spacing: -.02em; border: 1px solid #d5e2c9; background: #edf3e4; color: var(--m-muted); padding: 11px 13px; min-width: 54px; border-radius: 9px; text-align: center; }
.m-committee-card h3 { font-size: 1.6rem; line-height: 1.18; color: var(--m-ink); letter-spacing: -.035em; max-width: 390px; }
.m-committee-summary { font-size: .8rem; line-height: 1.75; color: var(--m-muted); margin-top: 14px; }
.m-committee-members { display: flex; gap: 13px; align-items: center; margin-top: auto; padding-top: 23px; color: var(--m-muted); font-size: .72rem; line-height: 1.6; }
.m-avatar-stack { display: flex; padding-left: 0; }
.m-avatar-stack img, .m-avatar-stack .m-avatar-fallback { position: relative; width: 36px; height: 36px; object-fit: cover; border: 3px solid #fff; border-radius: 50%; margin-left: -8px; font-size: .72rem; }
.m-avatar-stack>:first-child { margin-left: 0; }
.m-avatar-stack .m-avatar-fallback:after { display: none; }
.m-committee-bottom { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 23px; padding-top: 17px; border-top: 1px solid #e0e8d7; font-size: .72rem; color: var(--m-muted); }
.m-inline-button { display: inline-flex; align-items: center; gap: 13px; font-size: .73rem; font-weight: 600; color: var(--m-muted); min-height: 36px; padding: 0; }
.m-inline-button>.bi { width: 17px; height: 17px; }
.m-inline-button:hover { color: var(--m-warm); }
.m-empty, .m-inline-empty { padding: 39px 25px; text-align: center; border: 1px solid #dbe4d0; background: #edf2e5; border-radius: 15px; color: var(--m-muted); font-size: .84rem; line-height: 1.7; }
.m-empty>.bi { width: 33px; height: 33px; color: var(--m-muted); margin-bottom: 16px; }
.m-empty h3 { font-size: 1.8rem; color: var(--m-ink); }
.m-empty p { font-size: .85rem; margin-top: 12px; line-height: 1.7; }
.m-empty .m-button { margin-top: 23px; }
.m-inline-empty h3 { font-size: 1.5rem; margin-bottom: 12px; }
.m-inline-empty>p { margin-top: 8px; }
.m-data-note { display: flex; gap: 9px; align-items: flex-start; margin-top: 27px; font-size: .72rem; line-height: 1.7; color: var(--m-muted); }
.m-data-note .bi { width: 15px; height: 15px; margin-top: 1px; }
.m-bottom { display: flex; align-items: center; gap: 19px; border-top: 1px solid var(--m-line); padding-block: 32px; margin-top: 33px; }
.m-bottom-icon { width: 48px; height: 48px; border-radius: 50%; background: #e6eeda; display: grid; place-items: center; color: var(--m-muted); flex-shrink: 0; }
.m-bottom h2 { font-size: 1.55rem; color: var(--m-ink); letter-spacing: -.04em; }
.m-bottom p { font-size: .75rem; color: var(--m-muted); margin-top: 8px; line-height: 1.7; }
.m-bottom>.m-inline-link { margin-left: auto; white-space: nowrap; }
.profile-hero { display: grid; grid-template-columns: 265px minmax(0,1fr); grid-template-rows: 1fr auto; column-gap: 48px; row-gap: 21px; padding-top: 37px; padding-bottom: 39px; align-items: start; }
.profile-portrait { grid-column: 1; grid-row: 1/3; position: relative; min-width: 0; }
.profile-portrait>img { width: 100%; aspect-ratio: 1/1.07; object-fit: cover; object-position: center; border-radius: 17px; background: #dce6d4; border: 1px solid #d6dfce; }
.profile-portrait>.m-avatar-fallback { height: auto; aspect-ratio: 1/1.07; position: relative; border-radius: 17px; font-size: 5rem; }
.profile-photo-note { display: block; margin-top: 10px; font-size: .72rem; color: var(--m-muted); text-align: center; line-height: 1.5; }
.profile-identity { grid-column: 2; min-width: 0; padding-top: 3px; }
.profile-identity>.eyebrow { color: var(--m-warm); font-size: .72rem; margin-bottom: 12px; }
.profile-identity h1 { font-size: clamp(2.7rem,4.1vw,3.9rem); line-height: 1.06; letter-spacing: -.05em; color: var(--m-ink); overflow-wrap: anywhere; }
.profile-subtitle { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; font-size: .82rem; color: var(--m-muted); line-height: 1.6; margin-top: 13px; }
.profile-summary { font-size: calc(.92rem * var(--reader-scale)); line-height: 1.75; color: var(--m-muted); margin-top: 15px; max-width: 690px; }
.profile-badges { display: flex; gap: 7px; align-items: center; flex-wrap: wrap; margin-top: 17px; }
.profile-hero-actions { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; margin-top: 19px; }
.profile-hero-actions button { display: flex; align-items: center; gap: 8px; font-size: .72rem; color: var(--m-muted); min-height: 37px; }
.profile-hero-actions .bi { width: 15px; height: 15px; }
.profile-hero-actions .m-inline-link { font-size: .72rem; }
.profile-stats { grid-column: 2; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 23px; border-top: 1px solid #dbe4d1; padding-top: 20px; width: 100%; align-self: end; }
.profile-stats>div { display: flex; align-items: center; gap: 12px; min-width: 0; }
.profile-stats strong { font: 700 2rem/1 MarésDisplay,sans-serif; color: var(--m-muted); letter-spacing: -.05em; }
.profile-stats span { font-size: .72rem; line-height: 1.5; color: var(--m-muted); max-width: 110px; }
.profile-content { padding-top: 25px; padding-bottom: 45px; }
.profile-context { display: flex; justify-content: space-between; align-items: center; gap: 20px; color: var(--m-muted); font-size: .72rem; line-height: 1.7; margin-bottom: 21px; }
.profile-context>span { display: flex; gap: 8px; align-items: flex-start; }
.profile-context .bi { width: 14px; height: 14px; margin-top: 2px; }
.profile-context>.m-inline-link { font-size: .72rem; white-space: nowrap; }
.profile-tabs { display: flex; align-items: center; gap: 0; border: 1px solid #d9e4ce; background: #edf3e5; border-radius: 12px; padding: 6px; width: fit-content; max-width: 100%; margin-bottom: 33px; }
.profile-tabs>button { display: flex; justify-content: center; align-items: center; gap: 9px; padding: 13px 24px; border-radius: 8px; font-size: .78rem; white-space: nowrap; min-height: 46px; color: var(--m-muted); }
.profile-tabs>button>.bi { width: 17px; height: 17px; }
.profile-tabs>button[aria-selected=true] { background: #fff; color: var(--m-ink); box-shadow: 0 2px 7px #364b2210; font-weight: 600; }
.profile-tabs>button:hover { color: var(--m-ink); }
.profile-panel { outline-offset: 7px; min-width: 0; }
.profile-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.profile-section-heading .eyebrow { font-size: .72rem; margin-bottom: 9px; }
.profile-section-heading h2 { font-size: 2.1rem; color: var(--m-ink); line-height: 1.2; letter-spacing: -.045em; }
.profile-panel-deck { font-size: .83rem; color: var(--m-muted); line-height: 1.7; margin-top: 13px; }
.m-proposal-form { margin-top: 25px; margin-bottom: 25px; padding: 20px; border: 1px solid #dce5d2; background: #fff; border-radius: 13px; grid-template-columns: 1.1fr 1.5fr 1.1fr 1fr auto; gap: 12px; }
.m-proposal-form .m-field { font-size: .72rem; }
.m-proposal-form :is(input,select) { font-size: .73rem; }
.m-proposal-form .m-search-button { font-size: .72rem; }
.profile-proposals { display: grid; gap: 13px; }
.m-proposal-row { border: 1px solid #dce5d3; border-radius: 13px; background: #fff; padding: 21px 24px; position: relative; min-width: 0; transition: border-color .2s; }
.m-proposal-row:hover { border-color: #bacfa9; }
.m-proposal-top { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.m-proposal-top>code { font: 600 .76rem/1.5 ui-monospace,SFMono-Regular,Consolas,monospace; color: var(--m-muted); }
.m-proposal-top>span:not(.m-badge) { font-size: .72rem; color: var(--m-muted); }
.m-proposal-top .m-badge { margin-left: auto; }
.m-proposal-row h3 { font-size: calc(1.1rem * var(--reader-scale)); line-height: 1.45; color: var(--m-ink); letter-spacing: -.023em; max-width: 960px; }
.m-proposal-open { padding: 0; font: inherit; letter-spacing: inherit; color: inherit; text-align: left; line-height: inherit; }
.m-proposal-open:hover { color: var(--m-warm); }
.m-proposal-bottom { display: flex; align-items: center; gap: 15px; flex-wrap: wrap; margin-top: 16px; color: var(--m-muted); font-size: .72rem; }
.m-proposal-bottom .bi { width: 14px; height: 14px; }
.m-proposal-bottom>button:last-child, .m-proposal-bottom>.m-inline-link { margin-left: auto; display: flex; align-items: center; gap: 7px; font-size: .72rem; }
.profile-history-layout { display: grid; grid-template-columns: minmax(250px,.9fr) minmax(0,1.5fr); gap: 55px; margin-top: 32px; align-items: start; }
.profile-column-heading { font: 600 .88rem/1.5 Marés,sans-serif; letter-spacing: 0; color: var(--m-muted); padding-bottom: 17px; border-bottom: 1px solid #dce6d1; margin-bottom: 24px; }
.m-timeline-entry { display: grid; grid-template-columns: 14px minmax(0,1fr); gap: 20px; padding-bottom: 29px; position: relative; min-width: 0; }
.m-timeline-entry:before { content: ''; position: absolute; left: 5px; top: 14px; bottom: 0; width: 1px; background: #d4e0c7; }
.m-timeline-entry:last-child:before { display: none; }
.m-timeline-marker { width: 11px; height: 11px; margin-top: 7px; border: 2px solid #bdcfae; border-radius: 50%; background: #f7f7f2; position: relative; z-index: 1; }
.m-timeline-entry.is-current .m-timeline-marker { background: #658853; border-color: #658853; box-shadow: 0 0 0 5px #e7efde; }
.m-timeline-content h3 { font-size: 1.5rem; color: var(--m-ink); line-height: 1.25; }
.m-timeline-content>.m-badge { margin-top: 11px; }
.m-timeline-content>p, .m-timeline-meta { font-size: .73rem; color: var(--m-muted); line-height: 1.75; margin-top: 9px; }
.m-timeline-content>.m-inline-link { font-size: .72rem; margin-top: 8px; }
.m-function-group { padding: 22px 23px; border: 1px solid #dce5d2; background: #fff; border-radius: 14px; margin-bottom: 15px; }
.m-function-group>h3 { font-size: 1.2rem; color: var(--m-ink); line-height: 1.3; margin-bottom: 17px; }
.m-function-row { display: flex; gap: 13px; padding: 15px 0; border-top: 1px solid #e6ecde; }
.m-function-row>.bi { width: 20px; height: 20px; color: var(--m-muted); margin-top: 2px; }
.m-function-row strong { display: block; font-size: .83rem; color: var(--m-muted); line-height: 1.5; }
.m-function-row p { font-size: .76rem; color: var(--m-muted); margin-top: 5px; line-height: 1.65; }
.m-function-row small { display: block; font-size: .72rem; color: var(--m-muted); margin-top: 6px; line-height: 1.6; }
.m-function-row .m-inline-link { font-size: .72rem; margin-top: 8px; }
.profile-about { display: grid; grid-template-columns: 1.45fr 1fr; gap: 50px; margin-top: 27px; align-items: start; }
.profile-bio>h3, .profile-contact>h3 { font: 600 .9rem/1.5 Marés,sans-serif; letter-spacing: 0; color: var(--m-muted); margin-bottom: 18px; }
.profile-bio>p { font-size: calc(.94rem * var(--reader-scale)); line-height: 1.9; color: var(--m-muted); margin-bottom: 17px; }
.m-topic-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.m-topic-tags span { font-size: .72rem; color: var(--m-muted); background: #eaf1e1; border: 1px solid #d8e5cc; padding: 6px 11px; border-radius: 30px; }
.profile-contact { padding: 25px; border: 1px solid #d8e3ce; background: #edf3e5; border-radius: 15px; }
.profile-contact>p { font-size: .8rem; color: var(--m-muted); line-height: 1.8; }
.m-info-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
.m-info-grid dl { padding: 13px 0; margin: 0; border-bottom: 1px solid #dbe5cf; }
.m-info-grid dt { font-size: .72rem; color: var(--m-muted); margin-bottom: 5px; }
.m-info-grid dd { font-size: .79rem; color: var(--m-muted); line-height: 1.6; margin: 0; overflow-wrap: anywhere; }
.public-mandatos .m-detail-dialog { width: min(870px,calc(100% - 48px)); max-width: 870px; max-height: calc(100dvh - 72px); padding: 0; border-radius: 21px; background: #f8f9f3; border: 1px solid #d5dfca; overflow: hidden; color: var(--m-ink); }
.m-detail-dialog[open] { display: flex; flex-direction: column; }
.m-dialog-heading { padding: 27px 30px 23px; display: flex; gap: 25px; align-items: flex-start; flex-shrink: 0; border-bottom: 1px solid #dde5d2; }
.m-dialog-heading>div { min-width: 0; flex: 1; }
.m-dialog-heading .eyebrow { font-size: .72rem; color: var(--m-warm); margin-bottom: 12px; }
.m-dialog-heading h2 { font-size: 1.8rem; line-height: 1.22; color: var(--m-ink); letter-spacing: -.04em; overflow-wrap: anywhere; }
.m-dialog-heading .bi-button { background: #e8efde; color: var(--m-muted); width: 40px; min-width: 40px; height: 40px; }
.m-dialog-heading .bi-button .bi { width: 19px; height: 19px; }
.m-dialog-body { overflow: auto; overscroll-behavior: contain; min-height: 0; padding: 24px 30px 30px; scrollbar-width: thin; scrollbar-color: #b8cfa2 #eff4e6; }
.m-dialog-meta { display: flex; align-items: center; gap: 9px 17px; flex-wrap: wrap; font-size: .73rem; color: var(--m-muted); line-height: 1.7; margin-bottom: 24px; }
.m-dialog-meta .bi { width: 15px; height: 15px; }
.m-dialog-section+.m-dialog-section { margin-top: 27px; border-top: 1px solid #dce6d1; padding-top: 25px; }
.m-dialog-section>h3 { font-size: 1.35rem; color: var(--m-ink); line-height: 1.25; margin-bottom: 14px; }
.m-dialog-section>p, .m-dialog-section>ul, .m-document-copy p { font-size: calc(.88rem * var(--reader-scale)); line-height: 1.85; color: var(--m-muted); }
.m-dialog-section>ul { padding-left: 22px; margin-block: 10px; }
.m-dialog-section li+li { margin-top: 8px; }
.m-committee-roster { display: grid; gap: 10px; }
.m-roster-member { display: flex; gap: 14px; align-items: center; padding: 15px; background: #fff; border: 1px solid #dce7d1; border-radius: 11px; }
.m-roster-member>img, .m-roster-member>.m-avatar-fallback { width: 51px; height: 51px; border-radius: 50%; object-fit: cover; font-size: 1.1rem; position: relative; }
.m-roster-member .m-avatar-fallback:after { display: none; }
.m-roster-member>div { min-width: 0; flex: 1; }
.m-roster-member strong { display: block; font-size: .88rem; line-height: 1.5; color: var(--m-ink); }
.m-roster-member span { display: block; font-size: .72rem; color: var(--m-muted); margin-top: 4px; line-height: 1.5; }
.m-roster-member>.bi { width: 17px; height: 17px; color: var(--m-muted); }
.m-roster-member:hover { border-color: #bed4aa; background: #fcfef7; }
.m-document-copy p+p { margin-top: 16px; }
.m-document-history ol { padding-left: 20px; font-size: .8rem; color: var(--m-muted); line-height: 1.8; }
.m-document-history li { padding-bottom: 13px; }
.m-document-history time { display: block; font-size: .72rem; color: var(--m-muted); margin-bottom: 3px; }
.m-document-history strong { display: block; color: var(--m-muted); }
.m-dialog-footer { display: flex; align-items: center; justify-content: space-between; gap: 17px; padding: 14px 25px; border-top: 1px solid #dce6d1; flex-shrink: 0; background: #f0f4e9; color: var(--m-muted); font-size: .72rem; }
.m-dialog-footer .m-inline-link { font-size: .72rem; }
.public-mandatos.reduce-motion * { animation: none!important; transition: none!important; scroll-behavior: auto!important; }
.m-committee-title-button { font: inherit; line-height: inherit; letter-spacing: inherit; color: inherit; padding: 0; text-align: left; }
.m-committee-title-button:hover { color: var(--m-muted); }
.m-avatar-stack>span { display: block; width: 36px; height: 36px; margin-left: -8px; position: relative; }
.m-avatar-stack>span:first-child { margin-left: 0; }
.m-avatar-stack>span>img, .m-avatar-stack>span>.m-avatar-fallback { margin: 0; width: 36px; height: 36px; }
.m-committee-members>span>small { display: block; font-size: .72rem; color: var(--m-muted); margin-top: 3px; }
.m-board-role { display: flex; align-items: center; justify-content: center; gap: 7px; }
.m-board-role .bi { width: 16px; height: 16px; }
.m-board-card.is-president .m-board-role { justify-content: flex-start; }
.m-board-body>p { font-size: .72rem; line-height: 1.6; color: var(--m-muted); margin-top: 7px; }
.m-roster-member .m-roster-photo { display: block; margin: 0; }
.m-roster-photo { width: 51px; height: 51px; border-radius: 50%; flex: 0 0 51px; overflow: hidden; position: relative; }
.m-roster-photo>img { width: 100%; height: 100%; object-fit: cover; }
.m-roster-photo>.m-avatar-fallback { display: grid; place-items: center; margin: 0; width: 100%; height: 100%; font-size: 1.1rem; line-height: 1; }
.m-roster-member small { font-size: .72rem; line-height: 1.6; color: var(--m-muted); display: block; margin-top: 5px; }
.m-dialog-intro { font-size: calc(.88rem * var(--reader-scale)); line-height: 1.85; color: var(--m-muted); margin-bottom: 24px; }
.m-proposition-title { font-size: 1.3rem; line-height: 1.4; letter-spacing: -.02em; margin-bottom: 18px; color: var(--m-muted); }
.m-info-grid { padding: 0; margin: 0; }
.m-info-grid>div { padding: 11px 0; border-bottom: 1px solid #dbe5cf; }
.m-info-grid dt { margin-bottom: 5px; }
.m-contact-empty { margin-top: 19px; font-size: .76rem!important; }
.m-function-row>span>.bi { width: 20px; height: 20px; color: var(--m-muted); margin-top: 2px; }
.m-timeline-content>div>.m-badge { margin-top: 9px; }
.m-timeline-note { font-size: .72rem!important; color: var(--m-muted)!important; }
.m-proposal-top>.m-proposal-code { font: 600 .76rem/1.5 ui-monospace,SFMono-Regular,Consolas,monospace; color: var(--m-muted); }
.m-proposal-bottom>span:first-child { display: flex; align-items: center; gap: 6px; }
.m-card-links>.m-button { font-size: .72rem; padding: 10px 13px; min-height: 38px; gap: 9px; }
@media (min-width:1600px) {
    .m-hero { padding-block: 52px; }
    .m-member-photo { aspect-ratio: 1.4; }
    .m-member-body { padding-inline: 15px; }
    .m-member-name { font-size: 1.85rem; }
}
@media (max-width:1180px) {
    .m-hero { gap: 35px; grid-template-columns: 1.45fr 1fr; }
    .m-form { gap: 10px; grid-template-columns: 1.2fr 1.3fr 1fr 1.1fr auto; }
    .m-form-legislaturas { grid-template-columns: 1.8fr 1fr auto; }
    .m-form-mesa-diretora { grid-template-columns: 1fr 1.6fr auto; }
    .m-form-comissoes { grid-template-columns: 1.2fr 1.5fr 1fr auto; }
    .m-search-button { padding-inline: 16px; }
    .m-member-name { font-size: 1.5rem; }
    .m-legislature-card { padding: 22px; }
    .m-card-links { gap: 8px 11px; }
    .profile-hero { grid-template-columns: 240px minmax(0,1fr); column-gap: 34px; }
    .m-proposal-form { grid-template-columns: 1fr 1.3fr 1fr 1fr auto; }
    .m-field>select, .m-field>input { font-size: .74rem; padding-inline: 10px; }
}
@media (max-width:1000px) {
    .m-hero { padding-block: 33px; gap: 26px; }
    .m-hero h1 { font-size: 3.6rem; }
    .m-hero aside { max-width: 305px; }
    .m-hero-deck { font-size: .94rem; }
    .m-form-vereadores, .m-proposal-form { grid-template-columns: 1fr 1fr; }
    .m-form-vereadores .m-search-button, .m-proposal-form .m-search-button { grid-column: 2; min-width: 140px; justify-self: end; }
    .m-form-comissoes { grid-template-columns: 1fr 1fr; }
    .m-results-vereadores { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .m-results-legislaturas { grid-template-columns: 1fr; }
    .m-legislature-card { display: grid; grid-template-columns: 1.2fr 1fr; column-gap: 30px; padding: 25px; }
    .m-legislature-heading { grid-column: 1/-1; margin-bottom: 15px; }
    .m-legislature-card h3 { font-size: 1.85rem; }
    .m-legislature-dates { grid-column: 1; }
    .m-legislature-card>p { grid-column: 1; }
    .m-legislature-stats { grid-column: 2; grid-row: 2/5; margin-top: 0; align-self: center; }
    .m-card-links { grid-column: 1/-1; margin-top: 20px; gap: 20px; }
    .m-board-card { padding: 21px 15px; }
    .m-board-photo { width: 105px; height: 105px; }
    .m-board-body h3 { font-size: 1.3rem; }
    .profile-hero { grid-template-columns: 205px minmax(0,1fr); column-gap: 29px; }
    .profile-identity h1 { font-size: 3.15rem; }
    .profile-summary { font-size: .87rem; }
    .profile-stats { gap: 10px; }
    .profile-stats strong { font-size: 1.7rem; }
    .profile-stats span { font-size: .72rem; }
    .profile-history-layout { gap: 30px; grid-template-columns: 1fr 1.4fr; }
    .profile-about { gap: 30px; grid-template-columns: 1.3fr 1fr; }
    .m-results-heading h2 { font-size: 1.8rem; }
    .m-committee-card h3 { font-size: 1.42rem; }
    .m-results-tools>p { max-width: 75%; }
}
@media (max-width:760px) {
    .m-breadcrumb { padding-top: 20px; }
    .m-public-label { display: none; }
    .m-hero { grid-template-columns: 1fr; padding-block: 32px 30px; gap: 0; min-height: 0; }
    .m-hero aside { display: none; }
    .m-hero h1 { font-size: clamp(2.85rem,8.7vw,3.8rem); }
    .m-hero-copy>.eyebrow { font-size: .72rem; margin-bottom: 17px; }
    .m-hero-deck { font-size: calc(.94rem * var(--reader-scale)); line-height: 1.7; margin-top: 20px; }
    .desktop-break { display: none; }
    .m-search { padding-top: 23px; }
    .m-search-panel { padding: 18px 17px 20px; border-radius: 14px; }
    .m-search-heading { gap: 12px; align-items: flex-start; margin-bottom: 19px; }
    .m-search-heading h2 { font-size: .78rem; }
    .m-reset { font-size: .72rem; white-space: nowrap; gap: 5px; }
    .m-reset>.bi { display: none; }
    .m-form { grid-template-columns: 1fr 1fr; gap: 15px 12px; }
    .m-form-legislaturas { grid-template-columns: 1fr; }
    .m-form-legislaturas .m-search-button { justify-self: stretch; }
    .m-form-mesa-diretora { grid-template-columns: 1fr; }
    .m-form-vereadores .m-field:nth-child(1), .m-form-vereadores .m-field:nth-child(2) { grid-column: 1/-1; }
    .m-form-vereadores .m-search-button, .m-proposal-form .m-search-button { grid-column: 1/-1; justify-self: stretch; }
    .m-form-comissoes .m-field:nth-child(1), .m-form-comissoes .m-field:nth-child(2) { grid-column: 1/-1; }
    .m-field { font-size: calc(.72rem * var(--reader-scale)); gap: 8px; }
    .m-field>input, .m-field>select { font-size: calc(.77rem * var(--reader-scale)); min-height: 46px; padding: 12px 10px; }
    .m-search-button { font-size: .75rem; }
    .m-filter-context { font-size: .72rem; min-height: 40px; padding-block: 12px; }
    .m-results { padding-top: 19px; }
    .m-results-heading { align-items: flex-end; gap: 15px; }
    .m-results-heading h2 { font-size: 1.7rem; max-width: 300px; }
    .m-results-heading .eyebrow { font-size: .72rem; letter-spacing: .1em; }
    .m-result-count { font-size: .72rem; padding: 4px 8px; }
    .m-results-tools { align-items: flex-start; gap: 15px; }
    .m-results-tools>p { font-size: .72rem; max-width: 100%; }
    .m-sort>span { display: none; }
    .m-sort select { font-size: .72rem; max-width: 115px; padding: 8px; }
    .m-results-vereadores { gap: 14px; }
    .m-member-card { padding: 9px; border-radius: 14px; }
    .m-member-photo { aspect-ratio: 1/1.02; }
    .m-member-body { padding: 15px 5px 4px; }
    .m-member-name { font-size: 1.25rem; }
    .m-member-tags { gap: 5px; margin-bottom: 10px; }
    .m-badge { font-size: .72rem; padding: 4px 7px; }
    .m-member-role { font-size: .72rem; line-height: 1.6; }
    .m-member-meta { font-size: .72rem; gap: 6px; }
    .m-member-link { font-size: .72rem; padding-top: 13px; margin-top: 13px; }
    .m-member-link>.bi { width: 15px; height: 15px; }
    .m-avatar-fallback { font-size: 2.6rem; }
    .m-results-comissoes { grid-template-columns: 1fr; gap: 16px; }
    .m-committee-card { padding: 21px; }
    .m-committee-card h3 { font-size: 1.55rem; }
    .m-committee-summary { font-size: .78rem; }
    .m-committee-top { margin-bottom: 20px; }
    .m-board-banner { padding: 18px 20px; align-items: flex-start; flex-direction: column; gap: 13px; }
    .m-board-banner :is(h2,h3) { font-size: 1.4rem; }
    .m-board-banner p { font-size: .72rem; }
    .m-board-grid { grid-template-columns: 1fr; gap: 14px; }
    .m-board-card { display: grid; grid-template-columns: 87px minmax(0,1fr); grid-template-rows: auto 1fr; gap: 0 19px; padding: 20px; text-align: left; align-items: center; }
    .m-board-role { grid-column: 2; grid-row: 1; margin-bottom: 3px; font-size: .72rem; }
    .m-board-photo { grid-column: 1; grid-row: 1/3; width: 87px; height: 87px; border-width: 4px; }
    .m-board-body { grid-column: 2; grid-row: 2; }
    .m-board-body h3 { font-size: 1.3rem; margin-top: 3px; }
    .m-board-body>span { font-size: .72rem; margin-top: 6px; }
    .m-board-body .m-inline-link { justify-content: flex-start; font-size: .72rem; margin-top: 8px; }
    .m-board-card.is-president { grid-template-columns: 100px minmax(0,1fr); padding: 23px 20px; gap: 0 19px; }
    .m-board-card.is-president .m-board-photo { width: 100px; height: 100px; }
    .m-board-card.is-president h3 { font-size: 1.5rem; }
    .m-board-card.is-president .m-board-role { font-size: .72rem; }
    .m-board-card.is-president:after { display: none; }
    .m-data-note { font-size: .72rem; margin-top: 23px; }
    .m-bottom { align-items: flex-start; gap: 14px; flex-wrap: wrap; padding-block: 26px; }
    .m-bottom-icon { width: 40px; height: 40px; }
    .m-bottom h2 { font-size: 1.25rem; line-height: 1.25; }
    .m-bottom p { font-size: .72rem; max-width: 260px; }
    .m-bottom>.m-inline-link { margin-left: 54px; font-size: .72rem; }
    .m-bottom>div:nth-child(2) { flex: 1; }
    .profile-hero { grid-template-columns: 115px minmax(0,1fr); gap: 18px 21px; padding-block: 28px; }
    .profile-portrait { grid-row: 1; align-self: start; }
    .profile-portrait>img, .profile-portrait>.m-avatar-fallback { aspect-ratio: 1/1.15; border-radius: 13px; }
    .profile-portrait>.m-avatar-fallback { font-size: 2.4rem; }
    .profile-photo-note { font-size: .72rem; margin-top: 8px; }
    .profile-identity { padding-top: 0; }
    .profile-identity>.eyebrow { font-size: .72rem; letter-spacing: .1em; margin-bottom: 9px; }
    .profile-identity h1 { font-size: 2rem; line-height: 1.06; }
    .profile-subtitle { font-size: .72rem; margin-top: 10px; gap: 6px; }
    .profile-summary { font-size: .78rem; line-height: 1.7; margin-top: 12px; }
    .profile-badges { margin-top: 12px; gap: 5px; }
    .profile-hero-actions { margin-top: 10px; gap: 6px 13px; }
    .profile-hero-actions :is(button,.m-inline-link) { font-size: .72rem; min-height: 32px; }
    .profile-stats { grid-column: 1/-1; padding-top: 20px; gap: 10px; margin-top: 2px; }
    .profile-stats strong { font-size: 1.8rem; }
    .profile-stats span { font-size: .72rem; }
    .profile-stats>div { gap: 9px; }
    .profile-content { padding-top: 21px; padding-bottom: 35px; }
    .profile-context { font-size: .72rem; gap: 15px; align-items: flex-start; }
    .profile-context>.m-inline-link { font-size: .72rem; min-height: 0; gap: 5px; }
    .profile-context>.m-inline-link .bi { width: 13px; height: 13px; }
    .profile-context>span .bi { width: 13px; height: 13px; }
    .profile-tabs { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); width: 100%; padding: 5px; margin-bottom: 26px; }
    .profile-tabs>button { padding: 11px 8px; font-size: .72rem; line-height: 1.5; white-space: normal; min-height: 49px; gap: 7px; }
    .profile-tabs>button .bi { width: 16px; height: 16px; }
    .profile-section-heading h2 { font-size: 1.7rem; }
    .profile-section-heading .eyebrow { font-size: .72rem; }
    .profile-panel-deck { font-size: .75rem; line-height: 1.7; }
    .m-proposal-form { padding: 17px; gap: 14px 12px; }
    .m-proposal-form>.m-field:nth-child(1), .m-proposal-form>.m-field:nth-child(2) { grid-column: 1/-1; }
    .m-proposal-row { padding: 18px; }
    .m-proposal-top { gap: 7px 10px; }
    .m-proposal-top>code { font-size: .72rem; }
    .m-proposal-top>span:not(.m-badge) { font-size: .72rem; }
    .m-proposal-top>.m-badge { margin-left: 0; font-size: .72rem; }
    .m-proposal-row h3 { font-size: calc(1.03rem * var(--reader-scale)); line-height: 1.5; }
    .m-proposal-bottom { font-size: .72rem; gap: 10px; }
    .m-proposal-bottom>button:last-child, .m-proposal-bottom>.m-inline-link { font-size: .72rem; }
    .profile-history-layout { grid-template-columns: 1fr; gap: 15px; margin-top: 27px; }
    .profile-column-heading { font-size: .82rem; margin-bottom: 21px; }
    .m-timeline-content h3 { font-size: 1.4rem; }
    .m-function-group { padding: 20px; }
    .m-function-row strong { font-size: .8rem; }
    .m-function-row p { font-size: .73rem; }
    .profile-about { grid-template-columns: 1fr; gap: 19px; }
    .profile-bio>p { font-size: calc(.89rem * var(--reader-scale)); }
    .profile-contact { padding: 22px; }
    .public-mandatos .m-detail-dialog { width: calc(100% - 28px); max-height: calc(100dvh - 28px); border-radius: 16px; }
    .m-dialog-heading { padding: 22px 19px 20px; gap: 12px; }
    .m-dialog-heading h2 { font-size: 1.5rem; }
    .m-dialog-heading .eyebrow { font-size: .72rem; letter-spacing: .1em; }
    .m-dialog-heading .bi-button { width: 35px; min-width: 35px; height: 35px; }
    .m-dialog-body { padding: 20px 19px 23px; }
    .m-dialog-meta { font-size: .72rem; gap: 8px 12px; margin-bottom: 21px; }
    .m-dialog-section>h3 { font-size: 1.25rem; }
    .m-dialog-section>p, .m-dialog-section>ul, .m-document-copy p { font-size: calc(.83rem * var(--reader-scale)); }
    .m-dialog-footer { padding: 12px 18px; font-size: .72rem; }
    .m-dialog-footer .m-inline-link { font-size: .72rem; }
    .m-roster-member { padding: 12px; gap: 11px; }
    .m-roster-member>img, .m-roster-member>.m-avatar-fallback { width: 43px; height: 43px; }
    .m-roster-member strong { font-size: .8rem; }
    .m-roster-member span { font-size: .72rem; }
}
@media (max-width:480px) {
    .m-results-vereadores { grid-template-columns: 1fr; gap: 19px; }
    .m-member-card { padding: 12px; }
    .m-member-photo { aspect-ratio: 1.3; }
    .m-member-body { padding: 19px 10px 6px; }
    .m-member-name { font-size: 1.75rem; }
    .m-member-role { font-size: .74rem; }
    .m-member-meta { font-size: .72rem; }
    .m-member-tags .m-badge { font-size: .72rem; }
    .m-member-link { font-size: .75rem; padding-top: 15px; margin-top: 17px; }
    .m-legislature-card { display: block; padding: 23px; }
    .m-legislature-card h3 { font-size: 1.8rem; }
    .m-legislature-stats { margin-top: 22px; }
    .m-card-links { margin-top: 18px; gap: 14px; }
    .m-results-tools { flex-direction: column; gap: 11px; margin-bottom: 19px; }
    .m-sort { align-self: flex-end; }
    .m-sort>span { display: block; font-size: .72rem; }
    .m-sort select { max-width: 145px; }
    .m-results-heading h2 { font-size: 1.6rem; }
    .m-results-heading .eyebrow { font-size: .72rem; }
    .m-result-count { font-size: .72rem; }
    .profile-hero { grid-template-columns: 95px minmax(0,1fr); column-gap: 17px; }
    .profile-identity h1 { font-size: 1.75rem; }
    .profile-summary { font-size: .74rem; }
    .profile-identity>.eyebrow { font-size: .72rem; letter-spacing: .08em; }
    .profile-photo-note { font-size: .72rem; }
    .profile-stats { gap: 8px; }
    .profile-stats>div { display: block; }
    .profile-stats strong { display: block; margin-bottom: 7px; font-size: 1.85rem; }
    .profile-stats span { display: block; max-width: 95px; font-size: .72rem; }
    .profile-context>.m-inline-link { display: none; }
    .profile-tabs>button { padding: 9px 5px; font-size: .72rem; flex-direction: column; gap: 5px; }
    .profile-tabs>button .bi { width: 17px; height: 17px; }
    .profile-section-heading h2 { font-size: 1.6rem; }
    .m-board-card.is-president { grid-template-columns: 82px minmax(0,1fr); gap: 0 15px; padding: 20px 16px; }
    .m-board-card.is-president .m-board-photo { width: 82px; height: 82px; }
    .m-board-card.is-president h3 { font-size: 1.4rem; }
    .m-board-card { grid-template-columns: 75px minmax(0,1fr); gap: 0 15px; padding: 18px; }
    .m-board-photo { width: 75px; height: 75px; }
    .m-board-body h3 { font-size: 1.25rem; }
    .m-search-heading { flex-wrap: wrap; gap: 5px; }
    .m-reset { margin-left: auto; font-size: .72rem; }
    .m-committee-bottom { gap: 10px; }
    .m-inline-button { font-size: .72rem; gap: 8px; }
}
@media (max-width:390px) {
    .m-hero h1 { font-size: 2.85rem; }
    .m-hero-deck { font-size: .89rem; }
    .m-hero-copy>.eyebrow { font-size: .72rem; }
    .m-search-panel { padding: 17px 14px; }
    .m-field { font-size: .72rem; }
    .m-field>input, .m-field>select { font-size: .72rem; }
    .m-results-heading h2 { font-size: 1.45rem; }
    .m-results-heading .eyebrow { font-size: .72rem; }
    .m-result-count { font-size: .72rem; }
    .m-member-photo { aspect-ratio: 1.15; }
    .m-member-name { font-size: 1.65rem; }
    .m-card-links { gap: 10px; }
    .m-card-links .m-inline-link { font-size: .72rem; }
    .m-legislature-stats span { font-size: .72rem; }
    .profile-hero { grid-template-columns: 77px minmax(0,1fr); column-gap: 14px; }
    .profile-identity h1 { font-size: 1.6rem; }
    .profile-identity>.eyebrow { font-size: .72rem; }
    .profile-summary { font-size: .72rem; }
    .profile-subtitle { font-size: .72rem; }
    .profile-hero-actions :is(button,.m-inline-link) { font-size: .72rem; }
    .profile-hero-actions .bi { width: 13px; height: 13px; }
    .profile-stats span { font-size: .72rem; }
    .m-proposal-form { padding: 15px 13px; gap: 13px 10px; }
    .m-proposal-form .m-field { font-size: .72rem; }
    .m-proposal-form :is(select,input) { font-size: .72rem; }
    .m-proposal-row { padding: 16px; }
    .m-proposal-top>code { font-size: .72rem; }
    .m-proposal-top>span:not(.m-badge) { font-size: .72rem; }
    .m-proposal-row h3 { font-size: calc(.98rem * var(--reader-scale)); }
    .m-committee-card { padding: 19px; }
    .m-committee-card h3 { font-size: 1.4rem; }
    .m-dialog-heading h2 { font-size: 1.35rem; }
    .m-dialog-heading .eyebrow { font-size: .72rem; }
    .m-dialog-heading { padding: 20px 16px 17px; }
    .m-dialog-body { padding: 18px 16px 21px; }
    .m-dialog-footer>span { max-width: 145px; }
    .m-roster-member strong { font-size: .76rem; }
    .m-roster-member span { font-size: .72rem; }
}
/* O paginador e seus formulários são compartilhados com as consultas públicas. */
.public-mandatos .pagination-footer,
.public-mandatos :is(.page-context, .pagination, .page-size-field, .page-numbers) {
    display: flex; align-items: center; flex-wrap: wrap; gap: .6rem;
}
.public-mandatos .pagination-footer {
    justify-content: space-between; margin-block: 1.5rem; padding-block: 1rem;
    border-top: 1px solid var(--m-line); color: var(--muted); font-size: .85rem;
}
.public-mandatos .page-context { gap: 1rem; }
.public-mandatos .page-size-field .bi { display: none; }
.public-mandatos .page-size-field select, .public-mandatos .page-step, .public-mandatos .page-numbers > :is(span[aria-current],a) {
    min-height: 40px; padding: .45rem .75rem; border-radius: .5rem;
    display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
    border: 1px solid var(--m-line); background: #fff; color: var(--m-ink);
}
.public-mandatos .page-step:disabled { color: var(--muted); background: transparent; }
.public-mandatos .page-numbers > span[aria-current] { background: var(--teal); color: var(--on-primary); }
.public-mandatos main :is(input, select) { font-size: max(.875rem, 1em); }
.public-mandatos main { overflow-wrap: anywhere; }
@media print {
    .public-mandatos .pagination-footer { display: none; }
    .m-search, .m-results-tools, .m-bottom, .profile-tabs, .profile-hero-actions, .m-proposal-form, .profile-context { display: none!important; }
    .public-mandatos .container { width: 100%!important; max-width: none!important; }
    .m-hero { padding-block: 15px; display: block; min-height: 0; }
    .m-hero aside { display: none; }
    .m-hero h1 { font-size: 28pt; }
    .m-hero-deck { font-size: 11pt; margin-top: 12px; }
    .m-results { padding-top: 20px; }
    .m-member-card, .m-legislature-card, .m-committee-card, .m-board-card, .m-proposal-row { break-inside: avoid; border-color: #bbb; box-shadow: none; }
    .m-results-vereadores { grid-template-columns: repeat(3,1fr); gap: 14px; }
    .m-results-comissoes { grid-template-columns: 1fr 1fr; }
    .m-member-photo { aspect-ratio: 1.2; }
    .m-data-note { color: #555!important; }
    .profile-hero { grid-template-columns: 140px 1fr; gap: 15px 25px; padding-top: 15px; }
    .profile-identity h1 { font-size: 28pt; }
    .profile-stats strong { font-size: 20pt; }
    .profile-summary { font-size: 11pt; }
    .profile-content { padding-top: 15px; }
    .profile-panel[hidden] { display: none!important; }
    .public-mandatos :is(.m-member-name,.m-proposal-row h3,.profile-bio>p) { color: #222!important; }
}
