/* Explore SEQ people directory (/people/) and the fuller public profile, brief 11 (27 Nov 2026).
   Loaded on the profile page frame only while the brief 11 switch shows the new version, after prof.css. */

[hidden] { display: none !important; }

/* ------------------------------------------------------------ the directory */
.es-ppl { padding: 56px 0 104px; }
.es-ppl__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; margin: 0 0 22px; }
.es-ppl__search { display: flex; flex: 1 1 340px; max-width: 540px; gap: 10px; margin: 0; }
.es-ppl__q { flex: 1; min-width: 0; height: 48px; padding: 0 18px; border: 0; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line-2); font: 500 16px/1 var(--font-body); color: var(--text); -webkit-appearance: none; appearance: none; }
.es-ppl__q:focus { outline: 3px solid var(--accent); outline-offset: 2px; }
.es-ppl .btn.es-ppl__go { flex: none; height: 48px; padding: 0 24px; border-radius: 14px; font-size: 16px; }
.es-ppl__sort { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.es-ppl__sortl { margin-right: 4px; font: 700 12px/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.es-ppl__chip { display: inline-flex; align-items: center; justify-content: center; height: 48px; padding: 0 20px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line-2); font: 600 15px/1 var(--font-body); color: var(--text); text-decoration: none; transition: background .2s, color .2s; }
.es-ppl__chip:hover { background: var(--alt-2); }
.es-ppl__chip.is-on { background: var(--ink); color: #fff; box-shadow: none; }
.es-ppl__chip:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.es-ppl__sum { margin: 0 0 22px; font: 600 15.5px/1.4 var(--font-body); color: var(--muted); }
.es-ppl__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.es-ppl__li { min-width: 0; margin: 0; padding: 0; }
.es-ppl__card { display: flex; flex-direction: column; gap: 14px; height: 100%; padding: 24px; background: #fff; border-radius: var(--radius-md); color: inherit; text-decoration: none; box-shadow: 0 1px 0 rgba(18, 34, 44, .04), 0 22px 40px -30px rgba(18, 34, 44, .4); transition: transform .25s, box-shadow .25s; }
.es-ppl__card:hover { transform: translateY(-3px); box-shadow: 0 1px 0 rgba(18, 34, 44, .04), 0 28px 44px -28px rgba(18, 34, 44, .5); }
.es-ppl__card:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.es-ppl__top { display: flex; align-items: center; gap: 16px; min-width: 0; }
.es-ppl__top .es-prof-av { width: 64px; height: 64px; }
.es-ppl__id { display: grid; justify-items: start; gap: 8px; min-width: 0; }
.es-ppl__name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; max-width: 100%; font: 700 20px/1.15 var(--font-heading); letter-spacing: -.02em; color: var(--ink); overflow-wrap: break-word; word-break: break-word; }
.es-ppl__since { margin-top: auto; font: 500 14.5px/1.35 var(--font-body); color: var(--muted); }
.es-ppl__counts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 0; padding-top: 14px; border-top: 1px solid var(--line); }
.es-ppl__counts span { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 999px; background: var(--alt); font: 600 13.5px/1 var(--font-body); color: var(--text); white-space: nowrap; }
.es-ppl__counts .is-none { background: transparent; box-shadow: inset 0 0 0 1.5px var(--line-2); color: var(--muted); }

.es-ppl__pg { margin: 40px 0 0; }
.es-ppl__pg ul { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
.es-ppl__pg li { margin: 0; padding: 0; }
.es-ppl__pgb, .es-ppl__pgn { display: inline-flex; align-items: center; justify-content: center; min-width: 46px; height: 46px; padding: 0 18px; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line-2); font: 600 15.5px/1 var(--font-body); color: var(--text); text-decoration: none; transition: background .2s, color .2s; }
.es-ppl__pgn { padding: 0; border-radius: 50%; width: 46px; }
a.es-ppl__pgb:hover, a.es-ppl__pgn:hover { background: var(--alt-2); }
.es-ppl__pgn.is-cur { background: var(--ink); color: #fff; box-shadow: none; }
.es-ppl__pgb.is-off { opacity: .45; }
.es-ppl__pg a:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.es-ppl__gap { min-width: 20px; text-align: center; color: var(--muted); }

.es-ppl__empty { display: flex; align-items: center; gap: 22px; max-width: 760px; margin: 12px 0 0; padding: 30px 32px; border-radius: var(--radius-md); background-color: #fff; background-image: repeating-linear-gradient(135deg, rgba(235, 227, 212, .55) 0 2px, transparent 2px 14px); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.es-ppl__emptyico, .es-prof-empty__ico { flex: none; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--ink); color: var(--accent); }
.es-ppl .es-ppl__empty h2 { margin: 0 0 6px; font: 700 clamp(22px, 2.4vw, 26px)/1.15 var(--font-heading); letter-spacing: -.025em; }
.es-ppl__bar + .es-ppl__empty { margin-top: 30px; }
.es-ppl__empty p { margin: 0; font: 500 16px/1.5 var(--font-body); color: var(--muted); }
.es-ppl__empty p + p { margin-top: 16px; }
.es-ppl__empty .btn { height: 48px; }

/* the site resets margin-bottom on headings and paragraphs with !important */
.es-ppl__sum { margin-bottom: 22px !important; }
.es-ppl__empty h2 { margin-bottom: 6px !important; }
.es-ppl__empty p { margin-bottom: 0 !important; }
.es-ppl__empty p + p { margin-top: 16px; }

/* ------------------------------------------------------------ the profile */
.es-prof--b11 .es-prof-grid { align-items: start; }
.es-prof--b11 .es-prof-stack { display: grid; gap: 28px; min-width: 0; }
.es-prof--b11 .es-prof-top { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 28px; align-items: stretch; min-width: 0; }
.es-prof--b11 .es-prof-top--solo { grid-template-columns: minmax(0, 1fr); }
.es-prof--b11 .es-prof-top__map { display: flex; min-width: 0; }
.es-prof--b11 .es-prof-top__map .es-prof-sec--map { display: flex; flex-direction: column; flex: 1 1 auto; min-width: 0; }
.es-prof--b11 .es-prof-top__map .es-prof-lmap { flex: 1 1 auto; height: auto; min-height: 380px; }
.es-prof--b11 .es-prof-pairs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; align-items: stretch; }
.es-prof--b11 .es-prof-pairs.is-odd > :last-child { grid-column: 1 / -1; }
/* badges: an even grid with real gaps (they used to wrap one per line in a narrow column) */
.es-prof--b11 .es-prof-badges--grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
.es-prof--b11 .es-prof-badges--grid .es-prof-badge { align-items: center; min-height: 46px; padding: 9px 14px; border-radius: 14px; line-height: 1.25; }
/* photos: three across, tidy edges */
.es-prof--b11 .es-prof-photos--b11 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.es-prof--b11 .es-prof-photos--b11 li { min-width: 0; }
.es-prof--b11 .es-prof-photos--b1 { grid-template-columns: minmax(0, 1fr); }
.es-prof--b11 .es-prof-photos--b1 a { aspect-ratio: 16 / 9; }
.es-prof--b11 .es-prof-photos--b2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.es-prof--b11 .es-prof-photos--b2 li:last-child:nth-child(odd):not(:first-child) { grid-column: 1 / -1; }
.es-prof--b11 .es-prof-photos--b2 li:last-child:nth-child(odd):not(:first-child) a { aspect-ratio: 8 / 3; }
.es-prof--b11 .es-prof-photos--b11 li:first-child { grid-column: auto; grid-row: auto; }
.es-prof--b11 .es-prof-photos--b11 a { aspect-ratio: 4 / 3; }
.es-prof--b11 .es-prof-photos--b11 img { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; }
.es-prof--b11 .es-prof-photos--b11 span { font-size: 13px; }
.es-prof--b11 .es-prof-photos--wide { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.es-prof-more { margin: 20px 0 0; text-align: center; }
.es-prof-more .btn { height: 48px; min-width: 180px; border-radius: 999px; }
.es-prof--b11 .es-prof-sec--empty { display: flex; align-items: center; justify-content: center; gap: 22px; text-align: left; padding: 40px 34px; }
.es-prof--b11 .es-prof-sec--empty h3 { margin: 0 0 6px; }
.es-prof--b11 .es-prof-sec--empty .es-prof-empty { max-width: 34em; }
.es-prof-cond { display: inline-flex; align-items: center; height: 26px; padding: 0 12px; border-radius: 999px; background: var(--action-tint); color: var(--action); font: 700 13px/1 var(--font-body); }
.es-prof--b11 .es-prof-item .es-prof-item__on { margin: 0; }
.es-prof--b11 .es-prof-item p + p { margin-top: 6px; }
.es-prof--b11 .es-prof-item { padding: 16px 0; }
.es-prof--b11 .es-prof-item:first-child { padding-top: 0; }
.es-prof--b11 .es-prof-item:last-child { padding-bottom: 0; }
/* the Passport card: numbers and region chips only (the street map above already shows the places) */
.es-prof--b11 .es-prof-sec--pp .es-prof-pp__stats { gap: 18px 32px; }
.es-prof--b11 .es-prof-sec--pp .es-prof-regions { gap: 8px; }
.es-prof--b11 .es-prof-sec--pp .es-prof-regions li { padding: 7px 14px; }
/* hero numbers: tidy rows of equal tiles */
.es-prof-hero__stats--b11 { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(112px, 1fr)); gap: 12px; }
.es-prof-hero__stats--b11 li { min-width: 0; }
.es-prof-hero__stats--b11 li:last-child:nth-child(3n+2) { grid-column: span 2; }
.es-prof--b11 .es-prof-sec h3 { flex-wrap: wrap; }

.es-prof--b11 .es-prof-item p { margin-bottom: 0 !important; }
.es-prof--b11 .es-prof-item p + p { margin-top: 6px; }
.es-prof--b11 .es-prof-sec--empty h3 { margin-bottom: 6px !important; }
.es-prof--b11 .es-prof-sec--empty p { margin-bottom: 0 !important; }

@media (max-width: 1149px) {
  .es-ppl__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
  .es-prof--b11 .es-prof-top { grid-template-columns: minmax(0, 1fr) 330px; }
  .es-prof--b11 .es-prof-photos--wide { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .es-prof--b11 .es-prof-grid { grid-template-columns: minmax(0, 1fr); }
  .es-prof--b11 .es-prof-side { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); align-items: start; }
  .es-prof--b11 .es-prof-side .es-prof-sec--pp { grid-column: 1 / -1; }
  .es-prof--b11 .es-prof-badges--grid { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
}
@media (max-width: 900px) {
  .es-ppl__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .es-prof--b11 .es-prof-top { grid-template-columns: minmax(0, 1fr); }
  .es-prof--b11 .es-prof-top__map .es-prof-lmap { min-height: 320px; }
  .es-prof--b11 .es-prof-pairs { grid-template-columns: minmax(0, 1fr); }
  .es-prof--b11 .es-prof-pairs.is-odd > :last-child { grid-column: auto; }
}
@media (max-width: 700px) {
  .es-ppl { padding: 32px 0 64px; }
  .es-ppl__bar { gap: 14px; }
  .es-ppl__search { flex-basis: 100%; max-width: none; }
  .es-ppl__sort { width: 100%; }
  .es-ppl__chip { flex: 1 1 auto; }
  .es-ppl__sortl { display: none; }
  .es-ppl__grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .es-ppl__card { padding: 20px; }
  .es-ppl__empty { flex-direction: column; align-items: flex-start; padding: 24px 22px; }
  .es-ppl__pgb { padding: 0 16px; }
  .es-prof--b11 .es-prof-photos--b11 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .es-prof--b11 .es-prof-stack, .es-prof--b11 .es-prof-top, .es-prof--b11 .es-prof-pairs { gap: 20px; }
  .es-prof--b11 .es-prof-top__map .es-prof-lmap { min-height: 300px; }
  .es-prof--b11 .es-prof-photos--b1 { grid-template-columns: minmax(0, 1fr); }
  .es-prof--b11 .es-prof-side { grid-template-columns: minmax(0, 1fr); }
  .es-prof--b11 .es-prof-badges--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .es-prof--b11 .es-prof-sec--empty { flex-direction: column; align-items: flex-start; padding: 24px 22px; }
}
@media (max-width: 520px) {
  .es-prof-hero__stats--b11 { grid-template-columns: repeat(var(--m, 2), minmax(0, 1fr)); }
  .es-prof-hero__stats--b11 { gap: 8px; }
  .es-prof-hero__stats--b11 li { padding: 13px 12px; }
  .es-prof-more .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .es-ppl__card { transition: none; } }

/* ===== margin-bottom copies (generated by mirror_comm.py): the site's reset forces margin-bottom:0 !important on h1-h3, p, ul and ol, so every gap this sheet sets is repeated here as !important. Re-run after editing the rules above. ===== */
.es-ppl__bar{margin-bottom:22px!important}
.es-ppl__search{margin-bottom:0!important}
.es-ppl__sum{margin-bottom:22px!important}
.es-ppl__grid{margin-bottom:0!important}
.es-ppl__li{margin-bottom:0!important}
.es-ppl__pg{margin-bottom:0!important}
.es-ppl__pg ul{margin-bottom:0!important}
.es-ppl__pg li{margin-bottom:0!important}
.es-ppl__empty{margin-bottom:0!important}
.es-ppl .es-ppl__empty h2{margin-bottom:6px!important}
.es-ppl__empty p{margin-bottom:0!important}
.es-ppl__sum{margin-bottom:22px!important}
.es-ppl__empty h2{margin-bottom:6px!important}
.es-ppl__empty p{margin-bottom:0!important}
.es-prof-more{margin-bottom:0!important}
.es-prof--b11 .es-prof-sec--empty h3{margin-bottom:6px!important}
.es-prof--b11 .es-prof-item .es-prof-item__on{margin-bottom:0!important}
.es-prof--b11 .es-prof-item p{margin-bottom:0!important}
.es-prof--b11 .es-prof-sec--empty h3{margin-bottom:6px!important}
.es-prof--b11 .es-prof-sec--empty p{margin-bottom:0!important}
