/* Selected leadership uses one connected explanation and approved office sections. */
.remaining-review .area-map-card.variant-hero-map>img{padding:12px}
.remaining-review .remaining-selection-diagram{border:1px solid var(--area-line);border-top:5px solid var(--area-gold);background:#fff}
.remaining-review .remaining-selection-flow{list-style:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin:0;padding:36px 36px 32px;gap:54px;counter-reset:none}
.remaining-review .remaining-selection-flow>li{position:relative;min-width:0}
.remaining-review .remaining-selection-flow>li:not(:last-child)::after{content:'→';position:absolute;right:-40px;top:40px;font-size:2rem;color:var(--area-teal)}
.remaining-review .remaining-selection-art{height:122px;display:grid;place-items:center;margin-bottom:22px;color:var(--area-navy);background:linear-gradient(180deg,#fff,#eef4f1)}
.remaining-review .remaining-selection-art svg{height:112px;width:180px;max-width:100%}
.remaining-review .remaining-selection-flow>li:last-child .remaining-selection-art{background:linear-gradient(180deg,#fff,#f8f1df)}
.remaining-review .remaining-selection-flow h3{font-size:1.2rem;line-height:1.3;margin:0 0 14px;color:var(--area-navy)}
.remaining-review .remaining-selection-flow p{font-size:.9rem;line-height:1.65;margin:0;color:var(--area-muted)}
.remaining-review .remaining-selection-footer{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:22px 36px;background:var(--area-navy);color:#fff}
.remaining-review .remaining-selection-footer p{margin:0;display:flex;align-items:center;flex-wrap:wrap;gap:10px 22px}
.remaining-review .remaining-selection-footer strong{font-size:1.2rem}
.remaining-review .remaining-selection-footer p span{color:#d6e3e6;font-size:.83rem}
.remaining-review .remaining-selection-footer a{color:#f2ce83;font-size:.83rem;white-space:nowrap;font-weight:750}
.remaining-review .officeholder-facts{grid-template-columns:repeat(3,minmax(0,1fr))}
.remaining-review .remaining-service-dates{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:24px 0}
.remaining-review .remaining-service-dates article{background:#edf4f1;border-top:4px solid var(--area-teal);padding:20px;display:flex;flex-direction:column;gap:9px}
.remaining-review .remaining-service-dates article:last-child{background:#f7f0de;border-top-color:var(--area-gold)}
.remaining-review .remaining-service-dates p{margin:0;font-size:.69rem;text-transform:uppercase;letter-spacing:.07em;font-weight:800;color:var(--area-muted)}
.remaining-review .remaining-service-dates strong{font:1.6rem/1.2 Georgia,serif;color:var(--area-navy)}
.remaining-review .remaining-service-dates article>span{font-size:.75rem;color:var(--area-muted)}
.remaining-review .remaining-service-dates a{font-size:.73rem;color:var(--area-teal);font-weight:750;margin-top:auto;padding-top:6px}
.remaining-review .remaining-history{margin-top:28px}
.remaining-review .remaining-history.is-empty{background:#f0f2f1;border-color:#d4dada}
.remaining-review .remaining-history.is-empty summary{background:#ecefef}
.remaining-review .remaining-history.is-empty strong,.remaining-review .remaining-history.is-empty label>span{color:#63747d}
.remaining-review .remaining-history.is-empty select{background:#e8eceb;color:#6e7e85;border-color:#ccd4d4;cursor:not-allowed}
.remaining-review .remaining-history .officeholder-history-controls{margin-top:0}
.remaining-review .remaining-history .trustee-result-table{margin-top:22px;min-height:128px;background:#f4f5f4}
.remaining-review .remaining-history table{width:100%;color:#6e7e85}
.remaining-review .remaining-history caption{padding:14px 16px;text-align:left;font-size:.75rem;color:#63747d}
.remaining-review .remaining-history th{background:#e8eceb;color:#63747d;font-size:.72rem}
.remaining-review .mayor-related-members{margin-top:40px}
.remaining-review .mayor-related-members>h3{font:1.85rem/1.2 Georgia,serif;margin:0 0 22px;color:var(--area-navy)}
.remaining-review .mayor-colleague-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.remaining-review .mayor-colleague{display:grid;grid-template-columns:100px minmax(0,1fr);gap:20px;padding:20px;background:#fff;border:1px solid var(--area-line);text-decoration:none;color:var(--area-navy)}
.remaining-review .mayor-colleague>img{width:100px;height:125px;object-fit:cover;object-position:center top}
.remaining-review .mayor-colleague>div{display:flex;flex-direction:column;align-items:start;min-width:0}
.remaining-review .mayor-colleague>div>span{font-size:.68rem;text-transform:uppercase;letter-spacing:.04em;color:var(--area-muted);font-weight:750;line-height:1.5}
.remaining-review .mayor-colleague h4{font:1.65rem/1.2 Georgia,serif;margin:12px 0;color:var(--area-navy)}
.remaining-review .mayor-colleague strong{margin-top:auto;font-size:.75rem;color:var(--area-teal)}
.remaining-review .mayor-colleague:hover,.remaining-review .mayor-colleague:focus-visible{border-color:var(--area-teal);background:#f2f7f5}
@media(max-width:900px){.remaining-review .remaining-selection-flow{gap:36px;padding:28px}.remaining-review .remaining-selection-flow>li:not(:last-child)::after{right:-29px;font-size:1.6rem}.remaining-review .officeholder-facts{grid-template-columns:1fr}.remaining-review .remaining-service-dates{grid-template-columns:1fr}.remaining-review .mayor-colleague-grid{grid-template-columns:1fr}}
@media(max-width:620px){.remaining-review .remaining-selection-flow{grid-template-columns:1fr;gap:50px;padding:26px 22px}.remaining-review .remaining-selection-flow>li{display:grid;grid-template-columns:100px minmax(0,1fr);column-gap:18px}.remaining-review .remaining-selection-art{grid-row:1/3;height:110px;align-self:center;margin:0}.remaining-review .remaining-selection-flow h3{font-size:1rem}.remaining-review .remaining-selection-flow p{font-size:.82rem}.remaining-review .remaining-selection-flow>li:not(:last-child)::after{content:'↓';top:auto;right:auto;left:39px;bottom:-39px}.remaining-review .remaining-selection-footer{padding:22px;align-items:start;flex-direction:column;gap:16px}.remaining-review .remaining-history .officeholder-history-body{padding:16px 12px}.remaining-review .remaining-history th{white-space:normal;padding:12px 9px}.remaining-review .mayor-colleague{grid-template-columns:80px minmax(0,1fr);gap:16px;padding:16px}.remaining-review .mayor-colleague>img{width:80px;height:100px}.remaining-review .mayor-colleague h4{font-size:1.4rem}}

.remaining-review .remaining-selection-footer{align-items:start;flex-direction:column;gap:16px}
.remaining-review .remaining-selection-footer p{font-size:.9rem;line-height:1.7;display:block;max-width:100ch}
.remaining-review .remaining-selection-footer a{white-space:normal}
.remaining-review .school-stat-grid,.remaining-review .trustee-stat-grid{grid-template-columns:repeat(var(--stat-count,3),minmax(0,1fr))}
.remaining-review .school-stat-grid article,.remaining-review .trustee-stat-grid article{text-align:center}
.remaining-review .school-stat-grid strong,.remaining-review .trustee-stat-grid strong{display:block}
.remaining-review .remaining-table{margin-top:20px;min-height:130px;border:1px solid var(--area-line);background:#fff;max-width:100%}
.remaining-review .remaining-table.is-empty{color:#6e7e85;background:#f1f3f2}
.remaining-review .remaining-table table{width:100%;font-size:.82rem;border-collapse:collapse}
.remaining-review .remaining-table th,.remaining-review .remaining-table td{padding:16px;text-align:left;border-bottom:1px solid var(--area-line);min-width:90px}
.remaining-review .remaining-table th{background:#e8edec}
.remaining-review .remaining-table caption{padding:16px;text-align:left;font-weight:700;font-size:.8rem}
.remaining-review .remaining-table td a{color:var(--area-teal);font-weight:700}
.remaining-review .remaining-subheading{font:1.8rem/1.2 Georgia,serif;margin:36px 0 20px}
.remaining-review .remaining-record-rows{border-top:4px solid var(--area-gold);background:white;border-bottom:1px solid var(--area-line)}
.remaining-review .remaining-record-rows article{display:grid;grid-template-columns:minmax(0,1fr) minmax(180px,.33fr);align-items:center;gap:32px;padding:26px;border-bottom:1px solid var(--area-line)}
.remaining-review .remaining-record-rows h3{font-size:1.22rem;line-height:1.4;margin:0 0 12px}
.remaining-review .remaining-record-rows p{font-size:.94rem;color:var(--area-muted);line-height:1.7;margin:0;max-width:90ch}
.remaining-review .remaining-record-rows a{color:var(--area-teal);font-weight:750;font-size:.87rem}
.remaining-review .remaining-members{border-top:4px solid var(--area-gold);background:white}
.remaining-review .remaining-member{display:grid;grid-template-columns:88px minmax(0,1fr) minmax(130px,.3fr) auto;gap:24px;padding:24px;border:1px solid var(--area-line);align-items:center}
.remaining-review .remaining-member>img,.remaining-review .remaining-member>.variant-portrait-fallback{width:88px;height:108px;object-fit:cover;object-position:top}
.remaining-review .remaining-member h3{font:1.75rem/1.2 Georgia,serif;margin:8px 0}
.remaining-review .remaining-member p{margin:0;color:var(--area-muted);font-size:.88rem}
.remaining-review .remaining-member dl{margin:0;font-size:.8rem}
.remaining-review .remaining-member dt{font-weight:700;color:var(--area-muted);margin-bottom:8px}
.remaining-review .remaining-member dd{margin:0;min-height:1.2em}
.remaining-review .remaining-member>a{font-size:.8rem;color:var(--area-teal);font-weight:700}
.remaining-review .remaining-service-dates article strong{min-height:1.3em}
.remaining-review .remaining-service-dates article.is-empty{background:#edf0ee;border-top-color:#aebdbb}
.remaining-review .remaining-race-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));margin-top:24px;gap:24px;border-top:1px solid var(--area-line);padding-top:20px}
.remaining-review .remaining-race-facts dt{font-size:.72rem;font-weight:700;color:var(--area-muted)}
.remaining-review .remaining-race-facts dd{margin:8px 0;min-height:1.8em}
.remaining-review .trustee-election-card.is-empty,.remaining-review .trustee-candidates.is-empty{background:#f0f3f1;min-height:230px}
.remaining-review .trustee-election-card h4{font:1.65rem/1.2 Georgia,serif;margin:15px 0}
.remaining-review .remaining-empty-picker{padding:20px 0;color:#697e83;font-size:.8rem}
.remaining-review .remaining-empty-picker select{background:#e8eceb;min-width:160px;min-height:40px;border:1px solid #b9c8c8;margin-left:16px}
.remaining-review .remaining-meeting .meeting-date-badge{min-width:150px;min-height:90px}
.remaining-review .remaining-meeting .meeting-facts dd{min-height:1.5em}
.remaining-review .remaining-meeting .remaining-table{margin:0 28px 24px;max-width:calc(100% - 56px)}
.remaining-review .news-card-media.is-office-outline img{object-fit:contain;padding:24px}
@media(max-width:850px){.remaining-review .school-stat-grid,.remaining-review .trustee-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.remaining-review .remaining-member{grid-template-columns:80px minmax(0,1fr);gap:16px}.remaining-review .remaining-member dl{grid-column:2}.remaining-review .remaining-member>a{grid-column:2}.remaining-review .remaining-member>img,.remaining-review .remaining-member>.variant-portrait-fallback{width:80px;height:100px;grid-row:1/4}}
@media(max-width:620px){.remaining-review .remaining-record-rows article{grid-template-columns:1fr;gap:18px;padding:22px}.remaining-review .remaining-member h3{font-size:1.45rem}.remaining-review .remaining-table th,.remaining-review .remaining-table td{padding:12px;font-size:.75rem}.remaining-review .remaining-meeting .remaining-table{margin:0 16px 22px;max-width:calc(100% - 32px)}.remaining-review .remaining-empty-picker select{margin-left:0;display:block;margin-top:8px}}
.remaining-review .officeholder-facts{grid-template-columns:repeat(var(--fact-count,3),minmax(0,1fr))}
@media(max-width:900px){.remaining-review .officeholder-facts{grid-template-columns:1fr}}
@media(max-width:850px){.remaining-review .school-stat-grid:has(>article:nth-child(3):last-child)>article:last-child{grid-column:1/-1}.remaining-review .trustee-stat-grid:has(>article:nth-child(3):last-child)>article:last-child{grid-column:1/-1}}
/* A single appointed executive keeps hiring and employment in one section. */
[data-variant-id="riverside-city-manager"] .manager-employment-part{margin-top:28px}
[data-variant-id="riverside-city-manager"] .manager-employment-part+.manager-employment-part{margin-top:36px}
[data-variant-id="riverside-city-manager"] .manager-employment-links{display:flex;flex-direction:column;gap:16px}
[data-variant-id="riverside-city-manager"] .manager-employment-part .remaining-table{margin-top:0;border-top:0}
[data-variant-id="riverside-city-manager"] .manager-legacy-anchor{display:block;scroll-margin-top:135px}

/* Keep an external arrow with the last word without preventing label wrapping. */
.remaining-review .remaining-link-tail{display:inline-block;white-space:nowrap}
[data-variant-id="riverside-city-manager"] .manager-employment-part .remaining-record-rows article{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}
[data-variant-id="riverside-city-manager"] .manager-employment-links{min-width:0}
@media(max-width:850px){[data-variant-id="riverside-city-manager"] .manager-employment-part .remaining-record-rows article{grid-template-columns:1fr;gap:20px}}

/* Riverside's charter details extend the existing records-row treatment. */
[data-variant-id="riverside-city-manager"] .manager-authority{margin-top:40px}
[data-variant-id="riverside-city-manager"] .manager-authority>h3{font-size:1.7rem;line-height:1.3;margin:0 0 14px}
[data-variant-id="riverside-city-manager"] .manager-power:not(:last-child){border-bottom:1px solid var(--area-line)}
[data-variant-id="riverside-city-manager"] .manager-power>summary{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:64px;padding:16px 26px;cursor:pointer;list-style:none}
[data-variant-id="riverside-city-manager"] .manager-power>summary::-webkit-details-marker{display:none}
[data-variant-id="riverside-city-manager"] .manager-power h4{font-size:1.06rem;line-height:1.5;margin:0}
[data-variant-id="riverside-city-manager"] .manager-power>summary:hover{background:#f4f7f6;color:var(--area-teal)}
[data-variant-id="riverside-city-manager"] .manager-power>summary:focus-visible{outline:2px solid var(--area-teal);outline-offset:-3px}
[data-variant-id="riverside-city-manager"] .manager-power-body{display:grid;grid-template-columns:minmax(0,1fr) minmax(180px,.33fr);align-items:start;gap:32px;padding:0 26px 26px}
@media(max-width:620px){[data-variant-id="riverside-city-manager"] .manager-power>summary{padding:16px 22px}[data-variant-id="riverside-city-manager"] .manager-power-body{grid-template-columns:1fr;gap:18px;padding:0 22px 22px}}
[data-variant-id="riverside-city-manager"] .manager-authority p+p{margin-top:12px}
[data-variant-id="riverside-city-manager"] .manager-authority-links{display:flex;flex-direction:column;align-items:flex-start;gap:14px;min-width:0}

/* Soft elevation for pictured cards and the current portrait; News keeps its own treatment. */
[data-variant-id="riverside-city-manager"] :is(
  #services .school-duty,
  #records .office-record-card,
  #officeholder .officeholder-portrait > img,
  #officeholder .officeholder-portrait > .variant-portrait-fallback
){box-shadow:0 6px 18px rgba(8,47,73,.10)}

/* Give hierarchy images a definite square grid track so intrinsic SVG heights cannot overflow. */
[data-variant-id="riverside-city-manager"][data-hierarchy-style="panel"] .area-layer-map {
  height:52px;
  grid-template:minmax(0,1fr) / minmax(0,1fr);
}
[data-variant-id="riverside-city-manager"][data-hierarchy-style="panel"] .area-layer-map img {
  min-width:0;
  min-height:0;
}

/* Connected history/process overviews retain the approved layout with direct records. */
.remaining-review .remaining-selection-flow .remaining-selection-source{margin-top:14px;font-size:.8rem;line-height:1.5}
.remaining-review .remaining-selection-source a{color:var(--area-teal);font-weight:750}
@media(max-width:620px){.remaining-review .remaining-selection-flow .remaining-selection-source{grid-column:2}}

/* Missing official headshots retain the approved vote colors with name initials. */
.measure-u-vote-initials{display:grid;place-items:center;width:100%;height:100%;font-size:1.35rem;font-weight:800;color:var(--area-navy);background:#e4edef}
body[data-variant-id="hemet-measure-u"] .meeting-note-links .meeting-source-link{max-width:100%}
body[data-variant-id="hemet-measure-u"] .meeting-source-link{white-space:normal}
body[data-variant-id="hemet-measure-u"] .remaining-oversight td{vertical-align:top}

body[data-variant-id="hemet-measure-u"] .meeting-vote-photo .measure-u-vote-initials{color:var(--area-navy)!important;font-size:1.15rem!important}
body[data-variant-id="hemet-measure-u"] .meeting-vote-people{grid-template-columns:repeat(6,minmax(0,1fr))}
@media(max-width:900px){body[data-variant-id="hemet-measure-u"] .meeting-vote-people{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:480px){body[data-variant-id="hemet-measure-u"] .meeting-vote-people{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Scheduled committee meeting: the shared meeting facts and calendar treatment. */
body[data-variant-id="hemet-measure-u"] .measure-u-next-meeting{display:block;margin:0 0 28px;padding:24px 28px;border-top:4px solid var(--area-gold)}
body[data-variant-id="hemet-measure-u"] .measure-u-next-heading{display:flex;align-items:center;gap:12px;margin-bottom:18px}
body[data-variant-id="hemet-measure-u"] .measure-u-next-heading h3{margin:0;color:var(--area-navy);font-size:1.12rem}
body[data-variant-id="hemet-measure-u"] .measure-u-next-heading .public-meeting-icon{flex:none}
body[data-variant-id="hemet-measure-u"] .measure-u-next-meeting .meeting-facts{grid-template-columns:1.1fr .55fr 1.5fr;border:0;background:transparent}
body[data-variant-id="hemet-measure-u"] .measure-u-next-meeting .meeting-facts>div{padding:0 22px}
body[data-variant-id="hemet-measure-u"] .measure-u-next-meeting .meeting-facts>div:first-child{padding-left:0}
body[data-variant-id="hemet-measure-u"] .measure-u-next-meeting dt{font-size:.65rem}
body[data-variant-id="hemet-measure-u"] .measure-u-next-meeting dd{font-size:.88rem}
body[data-variant-id="hemet-measure-u"] .measure-u-next-meeting dd span{display:block;font-size:.78rem;font-weight:500;color:var(--area-muted);margin-top:4px}
body[data-variant-id="hemet-measure-u"] .measure-u-next-links{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px;margin-top:20px}
body[data-variant-id="hemet-measure-u"] .measure-u-next-links p{margin:0;font-size:.72rem;color:var(--area-muted)}
body[data-variant-id="hemet-measure-u"] .measure-u-next-links a{font-size:.8rem;font-weight:800;color:var(--area-teal)}
@media(max-width:700px){body[data-variant-id="hemet-measure-u"] .measure-u-next-meeting{padding:20px}body[data-variant-id="hemet-measure-u"] .measure-u-next-meeting .meeting-facts{grid-template-columns:1fr;gap:16px}body[data-variant-id="hemet-measure-u"] .measure-u-next-meeting .meeting-facts>div{padding:0;border:0}}

/* Verified member photos retain the approved roster and voting dimensions. */
body[data-variant-id="hemet-measure-u"] .remaining-member>.measure-u-member-photo{display:block;width:88px;height:108px;overflow:hidden;box-shadow:0 4px 12px rgba(8,47,73,.12)}
body[data-variant-id="hemet-measure-u"] .measure-u-member-photo img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
body[data-variant-id="hemet-measure-u"] :is(.measure-u-member-photo,.meeting-vote-photo) img[src*="tammy-chennault.jpg"]{transform:scale(1.7);transform-origin:45% 95%}

/* Keep the hero panel behind the image so its shadow follows the boundary. */
body:is([data-variant-id="hemet-measure-u"],[data-variant-id="desert-healthcare"]) .area-map-card.variant-hero-map{background:#eef3f4}
body:is([data-variant-id="hemet-measure-u"],[data-variant-id="desert-healthcare"]) .area-map-card.variant-hero-map>img{background:transparent}

/* The approved portrait vote component retains initials if no photo is available. */
body[data-variant-id="planning-commission-district-1"] .commission-vote-initials{display:flex;align-items:center;justify-content:center;font-weight:800;color:var(--area-navy)}

/* Specialty offices use the approved municipal election cards and history layout. */
.specialty-office-elections .trustee-election-card h4{font-family:Georgia,"Times New Roman",serif;font-size:1.7rem;margin:9px 0 12px}
.specialty-office-elections .specialty-race-facts{margin:20px 0 0;display:grid;gap:14px}
.specialty-office-elections .specialty-race-facts>div{display:grid;grid-template-columns:120px 1fr;gap:14px;border-top:1px solid var(--area-line);padding-top:12px}
.specialty-office-elections .specialty-race-facts dt{color:var(--area-muted);font-size:.8rem}
.specialty-office-elections .specialty-race-facts dd{margin:0;min-height:1.25em;font-size:.86rem;font-weight:750}
.specialty-office-elections .trustee-upcoming .trustee-candidates{min-height:230px}
.specialty-office-elections .trustee-election-card:not(a){cursor:default;transform:none}
@media(max-width:600px){.specialty-office-elections .trustee-upcoming .trustee-candidates{min-height:140px}}

.specialty-office-elections .election-history-controls select{min-width:0;padding:8px 38px 8px 11px;font-family:Arial;font-size:.76rem;font-weight:750}
.specialty-office-elections .trustee-past-event{border:0}
