/* Vera campaign badges and compact mobile profiles — Nov 17, 2026 */
.rmf275-tab.rmf275-appeal,
.rmf275-campaign-type.is-appeal {
 background:linear-gradient(145deg,#36b83e,#087b48)!important;
 color:#fff!important;
}
.rmf275-tab.rmf275-match,
.rmf275-campaign-type.is-match {
 background:linear-gradient(145deg,#ffe02a,#f4b500)!important;
 color:#2b320c!important;
}
.rmf275-tab.rmf275-match:focus-visible,
.rmf275-tab.rmf275-appeal:focus-visible {outline:3px solid #174b42!important;outline-offset:3px!important;}
.vera-campaign-heart {object-fit:contain;flex:none;display:block;max-width:100%;}
.vera-profile-campaign-markers {display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap;margin:8px 0 7px;}
.vera-profile-campaign-markers .vera-campaign-heart {width:63px;height:auto;}
.vera-profile-campaign-marker-stack {display:flex;flex-direction:column;align-items:flex-start;gap:5px;}
.vera-profile-campaign-marker-stack .rmf275-campaign-type {font:700 12px/1.25 system-ui;padding:7px 10px;}
.vera-story-campaign-heart {display:inline-block;width:47px;height:auto;vertical-align:middle;margin-right:7px;}
.vera-profile-identity-line {display:contents;}
.vera-profile-mobile-site {display:none!important;}

@media (min-width:1100px){
 #results .result-card.rmf275-card {position:relative!important;overflow:visible!important;}
 #results .result-card.rmf275-card > .rmf275-tabs {
  box-sizing:border-box!important;position:absolute!important;
  left:1px!important;right:auto!important;top:50%!important;bottom:auto!important;
  transform:translate(-100%,-50%)!important;
  display:flex!important;flex-direction:column!important;align-items:flex-end!important;
  justify-content:center!important;width:44px!important;min-width:44px!important;max-width:44px!important;
  gap:5px!important;margin:0!important;padding:0!important;z-index:10!important;
 }
 #results .result-card.rmf275-card > .rmf275-tabs .vera-campaign-heart {
  width:44px!important;height:auto!important;align-self:center!important;margin:0 0 2px!important;
 }
 #results .result-card.rmf275-card > .rmf275-tabs > .rmf275-tab {
  box-sizing:border-box!important;position:relative!important;
  width:44px!important;min-width:44px!important;max-width:44px!important;
  height:128px!important;min-height:128px!important;max-height:128px!important;
  margin:0!important;padding:9px 9px!important;
  writing-mode:vertical-rl!important;transform:rotate(180deg)!important;
  border-radius:0 9px 9px 0!important;text-align:center!important;
  font:700 11px/1.25 system-ui!important;box-shadow:none!important;
 }
}
@media (min-width:651px) and (max-width:1099px){
 #results .result-card.rmf275-card>.rmf275-tabs {display:flex!important;align-items:center!important;gap:9px!important;}
 #results .rmf275-tabs .vera-campaign-heart {width:58px!important;height:auto!important;}
 #results .rmf275-tabs .rmf275-tab {writing-mode:horizontal-tb!important;transform:none!important;border-radius:8px!important;}
}
@media (max-width:650px) {
 #results .result-card.rmf275-card>.rmf275-tabs {align-items:center!important;gap:7px!important;}
 #results .rmf275-tabs .vera-campaign-heart {width:58px!important;height:auto!important;}
 #results .rmf275-tabs .rmf275-tab {border-radius:8px!important;}
}

@media (max-width:700px) {
 #profile-dialog .dialog-top {padding-top:8px!important;padding-bottom:8px!important;}
 #profile-dialog .dialog-content {padding-top:10px!important;}
 #profile-dialog .profile-head,
 #main .profile-head {padding-top:0!important;padding-bottom:8px!important;margin-bottom:11px!important;}
 #profile-dialog .profile-head>.eyebrow,
 #main .profile-head>.eyebrow {margin:0 0 4px!important;}
 #profile-dialog .profile-head>h1,
 #main .profile-head>h1 {margin:0 0 8px!important;line-height:1.14!important;font-size:clamp(26px,6.6vw,33px)!important;}
 #profile-dialog .vera-profile-identity-line,
 #main .vera-profile-identity-line {display:flex!important;align-items:flex-start!important;gap:10px!important;width:100%!important;margin:4px 0 6px!important;justify-content:space-between!important;}
 #profile-dialog .profile-head .vera-profile-identity-line>.tags.vera-center-tags,
 #main .profile-head .vera-profile-identity-line>.tags {
   display:flex!important;flex-direction:column!important;flex-wrap:nowrap!important;
   justify-content:flex-start!important;align-items:flex-start!important;text-align:left!important;
   gap:5px!important;margin:0!important;min-width:0!important;flex:1 1 0!important;
 }
 #profile-dialog .vera-profile-identity-line>.tags .tag,
 #main .vera-profile-identity-line>.tags .tag {
   white-space:normal!important;text-align:left!important;line-height:1.3!important;
 }
 #profile-dialog .profile-head .vera-profile-mobile-site,
 #main .profile-head .vera-profile-mobile-site {
   box-sizing:border-box!important;display:inline-flex!important;align-items:center!important;
   justify-content:center!important;flex:0 0 106px!important;width:106px!important;max-width:106px!important;
   min-height:44px!important;padding:9px 10px!important;margin:0!important;
   border-radius:9px!important;background:#174b42!important;color:#fff!important;
   font:700 14px/1.25 system-ui!important;text-decoration:none!important;text-align:center!important;
 }
 #profile-dialog .profile-head .profile-links>.vera-profile-site-original,
 #main .profile-head .profile-links>.vera-profile-site-original {display:none!important;}
 #profile-dialog .profile-head .profile-links:has(>.vera-profile-site-original:only-child),
 #main .profile-head .profile-links:has(>.vera-profile-site-original:only-child) {display:none!important;}
 #profile-dialog .profile-head .profile-links,
 #main .profile-head .profile-links {margin:2px 0 0!important;gap:6px!important;}
 #profile-dialog .vera-profile-campaign-markers,
 #main .vera-profile-campaign-markers {justify-content:flex-start!important;margin:5px 0 5px!important;gap:5px!important;}
 #profile-dialog .vera-profile-campaign-markers .vera-campaign-heart,
 #main .vera-profile-campaign-markers .vera-campaign-heart {width:55px!important;}
 #profile-dialog .vera-about-counties,
 #main .vera-about-counties {margin:3px 0 4px!important;line-height:1.35!important;}
 #profile-dialog .profile-section,
 #main .profile-section {padding-bottom:14px!important;margin-bottom:17px!important;}
 #profile-dialog .profile-section .vera-about-counties:last-child,
 #main .profile-section .vera-about-counties:last-child {margin-bottom:3px!important;}
}