/* SEN01B5: center-only civic directory. No global shell or voting changes. */
.sen01b5-center{display:grid;gap:1rem;min-width:0}
.sen01b5-hero{padding:1.15rem 1.35rem}
.sen01b5-search{box-shadow:none}
.sen01b5-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr)) auto;align-items:end;gap:.75rem}
.sen01b5-fields label{display:grid;gap:.35rem;font-size:.82rem;font-weight:850;color:var(--pine-dark)}
.sen01b5-fields select{width:100%;min-width:0;min-height:44px;padding:.62rem .65rem;border-radius:13px;border:1px solid var(--line);background:#fff;color:var(--ink)}
.sen01b5-fields select:focus-visible,.sen01b5-reset:focus-visible{outline:3px solid var(--pine-glow);outline-offset:2px}
.sen01b5-reset{min-height:44px;padding:.6rem .85rem;white-space:nowrap}
.sen01b5-privacy,.sen01b5-archive-note{font-size:.81rem;line-height:1.5;color:var(--muted);margin:0}
.sen01b5-privacy{margin-top:.85rem}
.sen01b5-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.8rem;align-items:start}
.sen01b5-representatives-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;align-items:start;min-width:0}
.sen01b5-representatives-col{min-width:0;display:grid;gap:.75rem}
.sen01b5-representatives-col>.representative-card{margin-top:0!important}
.sen01b5-card{display:grid;gap:.6rem;align-content:start;min-width:0;overflow-wrap:anywhere;border-top:4px solid #4b2e83}
.sen01b5-card h3{margin:0;font-size:1.12rem;color:var(--ink)}
.sen01b5-card p{margin:0;font-size:.83rem;line-height:1.5;color:var(--muted)}
.sen01b5-card p strong{color:var(--ink)}
.sen01b5-kicker{font-size:.76rem;font-weight:900;letter-spacing:.02em;color:#513681}
.sen01b5-portrait-fallback{width:68px;height:68px;display:grid;place-items:center;border-radius:15px;background:#efe9f7;color:#513681;font-size:1.15rem;font-weight:900}
.sen01b5-actions{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:.25rem}
.sen01b5-actions a{display:inline-flex;align-items:center;min-height:40px;padding:.5rem .7rem;border-radius:12px;border:1px solid #d8c9ec;background:#f8f5fd;color:#432975;font-size:.78rem;font-weight:850;text-decoration:none}
.sen01b5-actions a:hover{text-decoration:underline}
.sen01b5-card-note{border-top:1px solid #ddcfee;padding-top:.65rem;color:#5d4680!important}
.sen01b5-pending{background:#fcf9f1;border-top-color:#9b7522}
.sen01b5-report{display:grid;gap:.2rem;border-top:1px solid var(--line);padding-top:.6rem;font-size:.82rem}
.sen01b5-representatives-col .federal-representative-card{margin-top:0!important}
.ptp-n06-links [aria-current="page"]{box-shadow:inset 0 0 0 2px #6744a3;background:#efe7f8;color:#352056}
@media(max-width:1160px){.sen01b5-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.sen01b5-card-grid>:last-child{grid-column:1 / -1}}
@media(max-width:950px){.sen01b5-representatives-grid{grid-template-columns:1fr}.sen01b5-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.sen01b5-reset{grid-column:1/-1}}
@media(max-width:640px){.sen01b5-card-grid{grid-template-columns:1fr}.sen01b5-card-grid>:last-child{grid-column:auto}.sen01b5-fields{grid-template-columns:1fr}.sen01b5-reset{grid-column:auto;width:100%}.sen01b5-center .rep-media{height:200px;min-height:200px;max-height:200px}}
@media(prefers-reduced-motion:reduce){.sen01b5-center *{scroll-behavior:auto}}

/* SEN01B5H: uncropped House portraits; scoped only to My Representatives. */
.sen01b5-center[data-sen01b5-mode="representatives"] .rep-media {
  height: 232px;
  min-height: 232px;
  max-height: 232px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #edf3ef, #ffffff);
}
.sen01b5-center[data-sen01b5-mode="representatives"] .rep-media img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  object-position: center center;
}
/* Review-approved Senate photos are locally hosted and term-scoped. */
.sen01b5-card .sen01b5-approved-portrait {
  width: clamp(96px, 10vw, 132px);
  height: 142px;
  max-width: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
  border-radius: 12px;
  border: 1px solid #d8e2da;
  background: #f3f7f4;
}
@media (max-width: 640px) {
  .sen01b5-center[data-sen01b5-mode="representatives"] .rep-media {
    height: 208px;
    min-height: 208px;
    max-height: 208px;
  }
  .sen01b5-card .sen01b5-approved-portrait { width: 116px; height: 142px; }
}
/* SEN01B5H_END */
